swagger.yaml 854 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagedetailpath:
  126. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  127. type: string
  128. imagepath:
  129. description: 图片
  130. type: string
  131. imagetype:
  132. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  133. type: integer
  134. isshow:
  135. description: 是否展示 - 0:不展示 1:展示
  136. type: integer
  137. marketid:
  138. description: 市场ID
  139. type: integer
  140. modifierid:
  141. description: 操作人
  142. type: integer
  143. sort:
  144. description: 排序
  145. type: integer
  146. title:
  147. description: 标题
  148. type: string
  149. trademode:
  150. description: 交易模式
  151. type: integer
  152. updatedate:
  153. description: 修改时间
  154. type: string
  155. url:
  156. description: 链接(地址或商品ID)
  157. type: string
  158. urltype:
  159. description: 链接类型 - 1:直接地址 2:商品ID
  160. type: integer
  161. required:
  162. - configid
  163. type: object
  164. common.QueryNoticeRsp:
  165. properties:
  166. auditoruserid:
  167. description: 审核人
  168. type: integer
  169. auditremark:
  170. description: 审核备注
  171. type: string
  172. audittime:
  173. description: 审核日期
  174. type: string
  175. autoid:
  176. description: 自增ID
  177. type: integer
  178. content:
  179. description: 内容
  180. type: string
  181. createtime:
  182. description: 创建时间
  183. type: string
  184. creatorid:
  185. description: 建仓人
  186. type: integer
  187. endtime:
  188. description: 结束时间
  189. type: string
  190. istop:
  191. description: 是否置顶 - 0:不置顶 1:置顶
  192. type: integer
  193. msgiconurl:
  194. description: 消息图标Url
  195. type: string
  196. msgtype:
  197. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  198. type: integer
  199. publisher:
  200. description: 消息发布者
  201. type: string
  202. readed:
  203. description: 是否已读
  204. type: boolean
  205. scheduletime:
  206. description: 计划发送时间
  207. type: string
  208. sendtype:
  209. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  210. type: integer
  211. sentstatus:
  212. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  213. type: integer
  214. title:
  215. description: 标题
  216. type: string
  217. userid:
  218. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  219. type: integer
  220. required:
  221. - autoid
  222. type: object
  223. common.QueryProvincesAndCitiesRsp:
  224. properties:
  225. cities:
  226. description: 市
  227. items:
  228. $ref: '#/definitions/models.Division'
  229. type: array
  230. province:
  231. $ref: '#/definitions/models.Division'
  232. description: 省
  233. type: object
  234. common.QueryTableDefineRsp:
  235. properties:
  236. columns:
  237. description: 列头信息数组
  238. items:
  239. $ref: '#/definitions/models.Tablecolumnconfig'
  240. type: array
  241. remark:
  242. description: Remark
  243. type: string
  244. tabelmenu:
  245. description: 列表菜单
  246. type: string
  247. tablekey:
  248. description: 列表Key
  249. type: string
  250. tablename:
  251. description: 列表名称
  252. type: string
  253. tabletype:
  254. description: 列表类型 - 1:管理端 2:终端
  255. type: integer
  256. required:
  257. - tablekey
  258. type: object
  259. common.QueryTraderMenuRsp:
  260. properties:
  261. OperationMenu:
  262. description: 功能菜单
  263. items:
  264. $ref: '#/definitions/models.OperationPrimaryMenu'
  265. type: array
  266. QuoteMenu:
  267. description: 报价牌分类菜单
  268. items:
  269. $ref: '#/definitions/models.QuotePrimaryMenu'
  270. type: array
  271. type: object
  272. cptrade.Cptradepositioncancel:
  273. properties:
  274. accountid:
  275. description: 申请人账户ID
  276. type: integer
  277. applystatus:
  278. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  279. type: integer
  280. applytime:
  281. description: 申请时间
  282. type: string
  283. cancelid:
  284. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  285. type: integer
  286. cancelqty:
  287. description: 注销数量
  288. type: integer
  289. createtime:
  290. description: 创建时间
  291. type: string
  292. creatorid:
  293. description: 创建人ID
  294. type: integer
  295. creatorname:
  296. description: 创建人
  297. type: string
  298. goodscode:
  299. description: 订单商品代码
  300. type: string
  301. goodsid:
  302. description: 商品ID
  303. type: integer
  304. goodsname:
  305. description: 订单商品名称
  306. type: string
  307. goodunit:
  308. description: 报价单位
  309. type: string
  310. handlestatus:
  311. description: 处理状态
  312. type: integer
  313. marketid:
  314. description: 市场ID
  315. type: integer
  316. marketname:
  317. description: 市场名称
  318. type: string
  319. tradedate:
  320. description: 交易日(yyyyMMdd)
  321. type: string
  322. userid:
  323. description: 申请人ID
  324. type: integer
  325. required:
  326. - cancelid
  327. type: object
  328. cptrade.Cptradepresaleapply:
  329. properties:
  330. accountid:
  331. description: 申请人账户ID
  332. type: integer
  333. applyid:
  334. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  335. type: integer
  336. applyremark:
  337. description: 申请备注
  338. type: string
  339. applystatus:
  340. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  341. type: integer
  342. applytime:
  343. description: 申请时间
  344. type: string
  345. attachmenturl:
  346. description: 附件地址
  347. type: string
  348. endtime:
  349. description: 预售结束时间
  350. type: string
  351. goodscode:
  352. description: 商品代码
  353. type: string
  354. goodsid:
  355. description: 商品ID
  356. type: integer
  357. goodsname:
  358. description: 商品名称
  359. type: string
  360. goodunit:
  361. description: 报价单位
  362. type: string
  363. handlestatus:
  364. description: 处理状态
  365. type: integer
  366. marketid:
  367. description: 预售市场ID
  368. type: integer
  369. marketname:
  370. description: 预售市场名称
  371. type: string
  372. presaleqty:
  373. description: 预售数量
  374. type: integer
  375. relatedgoodscode:
  376. description: 关联交易合约代码
  377. type: string
  378. relatedgoodsid:
  379. description: 关联交易合约ID
  380. type: integer
  381. relatedgoodsname:
  382. description: 关联交易合约名称
  383. type: string
  384. starttime:
  385. description: 预售开始时间
  386. type: string
  387. tradedate:
  388. description: 交易日(yyyyMMdd)
  389. type: string
  390. trademode:
  391. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  392. type: integer
  393. userid:
  394. description: 申请人ID
  395. type: integer
  396. required:
  397. - applyid
  398. type: object
  399. cptrade.Cptradeusergoodsdata:
  400. properties:
  401. EnabledQty:
  402. description: 可用量
  403. type: integer
  404. GoodsCode:
  405. description: 订单商品代码
  406. type: string
  407. GoodsName:
  408. description: 订单商品名称
  409. type: string
  410. WRStandardCode:
  411. description: 仓单标准代码
  412. type: string
  413. WRStandardName:
  414. description: 仓单标准名称
  415. type: string
  416. accountid:
  417. description: 账户ID
  418. type: integer
  419. cancelqty:
  420. description: 注销量
  421. type: integer
  422. curpresaleqty:
  423. description: 当前预售量
  424. type: integer
  425. deliveryqty:
  426. description: 交割量
  427. type: integer
  428. freezeamount:
  429. description: 冻结金额
  430. type: number
  431. goodsid:
  432. description: 商品ID
  433. type: integer
  434. goodunit:
  435. description: 报价单位
  436. type: string
  437. hasspotfreeze:
  438. description: 是否有现货冻结 - 0:否 1:有
  439. type: integer
  440. inqty:
  441. description: 转入量(总数量)
  442. type: integer
  443. marketid:
  444. description: 市场ID
  445. type: integer
  446. presaledamount:
  447. description: 已预售总金额
  448. type: integer
  449. presaledqty:
  450. description: 已预售量
  451. type: integer
  452. userid:
  453. description: 用户ID
  454. type: integer
  455. wrstandardid:
  456. description: 仓单标准ID
  457. type: integer
  458. required:
  459. - accountid
  460. - goodsid
  461. type: object
  462. cptrade.QueryCPTradeMyBidRsp:
  463. properties:
  464. accountid:
  465. description: 账户ID[报价币种]
  466. type: integer
  467. goodsid:
  468. description: 商品ID
  469. type: integer
  470. goodunit:
  471. description: 报价单位
  472. type: string
  473. marketid:
  474. description: 市场ID
  475. type: integer
  476. orderid:
  477. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  478. type: integer
  479. orderprice:
  480. description: 委托价格
  481. type: number
  482. orderqty:
  483. description: 委托数量
  484. type: integer
  485. ordertime:
  486. description: 委托时间
  487. type: string
  488. ordertotalprice:
  489. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  490. type: number
  491. ordertotalweight:
  492. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  493. type: integer
  494. totaltotalprice:
  495. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  496. type: number
  497. tradeprice:
  498. description: 成交价格
  499. type: number
  500. tradeqty:
  501. description: 成交数量
  502. type: integer
  503. required:
  504. - accountid
  505. - goodsid
  506. - marketid
  507. - orderid
  508. - orderqty
  509. - ordertime
  510. - tradeprice
  511. - tradeqty
  512. type: object
  513. cptrade.QueryCPTradeOrderDetailRsq:
  514. properties:
  515. accountid:
  516. description: 账户ID[报价币种]
  517. type: integer
  518. buildtype:
  519. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  520. type: integer
  521. buyorsell:
  522. description: 买卖 - 0:买 1:卖
  523. type: integer
  524. cancelorderid:
  525. description: 撤单单号(撤单时填写)
  526. type: integer
  527. cancelqty:
  528. description: 撤单数量
  529. type: integer
  530. clientordertime:
  531. description: 客户端委托时间
  532. type: string
  533. clientticket:
  534. description: 客户端流水号
  535. type: string
  536. clienttype:
  537. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  538. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  539. type: integer
  540. closeexchagechargevalue:
  541. description: 平仓交易所手续费设置值
  542. type: number
  543. closefeealgorithm:
  544. description: 平仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. closefreezecharge:
  547. description: 平仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. closememberchargevalue:
  550. description: 平仓会员手续费设置值
  551. type: number
  552. closeqty:
  553. description: 平仓数量(先建后平操作 需要记录)
  554. type: integer
  555. closetradeqty:
  556. description: 平仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. closeunfreezecharge:
  559. description: 平仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. delistingtype:
  562. description: 摘牌类型 - 1:价格最优 2:点选成交
  563. type: integer
  564. freezecharge:
  565. description: 冻结手续费
  566. type: number
  567. freezemargin:
  568. description: 冻结保证金(冻结交易金额)
  569. type: number
  570. gcaccountid:
  571. description: 账户ID[合约币种]
  572. type: integer
  573. goodsid:
  574. description: 商品ID
  575. type: integer
  576. isconfirmexercise:
  577. description: 是否确认行权- 0:否 1:是
  578. type: integer
  579. ispreexercise:
  580. description: 是否预申报- 0:否 1:是
  581. type: integer
  582. listingselecttype:
  583. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  584. type: integer
  585. marginalgorithm:
  586. description: 保证金收取方式 1:比率 2:固定
  587. type: integer
  588. marginvalue:
  589. description: 即市保证金设置值
  590. type: number
  591. marketid:
  592. description: 市场ID
  593. type: integer
  594. marketmaxsub:
  595. description: 市价最大偏移范围
  596. type: number
  597. memberuserid:
  598. description: 所属会员UserID
  599. type: integer
  600. openexchagechargevalue:
  601. description: 建仓交易所手续费设置值
  602. type: number
  603. openfeealgorithm:
  604. description: 建仓手续费收取方式 1:比率 2:固定
  605. type: integer
  606. openfreezecharge:
  607. description: 开仓冻结手续费(先建后平操作,需要记录)
  608. type: number
  609. openmemberchargevalue:
  610. description: 建仓会员手续费设置值
  611. type: number
  612. openqty:
  613. description: 开仓数量(先建后平操作,需要记录)
  614. type: integer
  615. opentradeqty:
  616. description: 开仓成交数量(先建后平操作,需要记录)
  617. type: integer
  618. openunfreezecharge:
  619. description: 开仓解冻手续费(先建后平操作,需要记录)
  620. type: number
  621. operatetype:
  622. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  623. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  624. 15:管理端协议转让
  625. type: integer
  626. operatorid:
  627. description: 登录账号(LoginID)
  628. type: integer
  629. optiontype:
  630. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  631. type: integer
  632. orderprice:
  633. description: 委托价格
  634. type: number
  635. orderqty:
  636. description: 委托数量
  637. type: integer
  638. ordersrc:
  639. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  640. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  641. type: integer
  642. orderstatus:
  643. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  644. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  645. 16:成交失败违约(荷兰式竞拍专用)
  646. type: integer
  647. ordertime:
  648. description: 委托时间
  649. type: string
  650. preexerciseprice:
  651. description: 预申报价格
  652. type: number
  653. premium:
  654. description: 权利金
  655. type: number
  656. preorderid:
  657. description: 关联预埋单号(止盈止损单时填写)
  658. type: integer
  659. pricemode:
  660. description: '取价方式 - 1:市价 2: 限价'
  661. type: integer
  662. quoteid:
  663. description: 报价单ID
  664. type: integer
  665. relatedid:
  666. description: 关联单号(交割单)
  667. type: integer
  668. retcode:
  669. description: 错误代码
  670. type: integer
  671. sessionid:
  672. description: 会话ID
  673. type: integer
  674. strorderid:
  675. description: 委托单号
  676. type: string
  677. tradedate:
  678. description: 交易日(yyyyMMdd)
  679. type: string
  680. tradeproperty:
  681. description: 交易属性
  682. type: integer
  683. tradeqty:
  684. description: 成交数量
  685. type: integer
  686. unfreezecharge:
  687. description: 解冻手续费
  688. type: number
  689. unfreezemargin:
  690. description: 解冻保证金
  691. type: number
  692. updatetime:
  693. description: 更新时间
  694. type: string
  695. uuid:
  696. description: 发起端唯一id
  697. type: string
  698. validtime:
  699. description: 有效期限
  700. type: string
  701. validtype:
  702. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  703. type: integer
  704. volumetype:
  705. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  706. type: integer
  707. required:
  708. - accountid
  709. - buildtype
  710. - buyorsell
  711. - goodsid
  712. - marketid
  713. - memberuserid
  714. - operatetype
  715. - orderqty
  716. - ordertime
  717. - pricemode
  718. - strorderid
  719. - tradedate
  720. - validtype
  721. type: object
  722. cptrade.QueryMyCPTradeGoodsRsp:
  723. properties:
  724. accountid:
  725. description: 卖方账户ID
  726. type: integer
  727. agreeunit:
  728. description: 合约单位
  729. type: number
  730. applyid:
  731. description: 关联申请ID
  732. type: integer
  733. attachmenturl:
  734. description: 附件地址
  735. type: string
  736. createtime:
  737. description: 创建时间
  738. type: string
  739. currencyid:
  740. description: 报价货币ID
  741. type: integer
  742. decimalplace:
  743. description: 报价小数位
  744. type: integer
  745. endtime:
  746. description: 预售结束时间
  747. type: string
  748. floorprice:
  749. description: 底价[大宗式竞拍]
  750. type: number
  751. goodscode:
  752. description: 商品代码(预售)
  753. type: string
  754. goodsdetail:
  755. description: 详情[大宗]
  756. type: string
  757. goodsid:
  758. description: 商品ID(自增ID SEQ_GOODS)
  759. type: integer
  760. goodsname:
  761. description: 商品名称(预售)
  762. type: string
  763. goodunit:
  764. description: 报价单位
  765. type: string
  766. goodunitid:
  767. description: 报价单位ID
  768. type: integer
  769. marketid:
  770. description: 所属市场ID
  771. type: integer
  772. marketname:
  773. description: 预售市场名称
  774. type: string
  775. presaledamount:
  776. description: 已预售总金额(预售结束时更新)
  777. type: number
  778. presaledqty:
  779. description: 已预售量(预售结束时更新)
  780. type: integer
  781. presalemode:
  782. description: 预售模式 - 1:一口价 2:大宗式竞拍
  783. type: integer
  784. presaleqty:
  785. description: 预售数量
  786. type: integer
  787. refprice:
  788. description: 参考价格[一口价]
  789. type: number
  790. relatedgoodscode:
  791. description: 商品代码(订单)
  792. type: string
  793. relatedgoodsid:
  794. description: 关联交易合约ID
  795. type: integer
  796. relatedgoodsname:
  797. description: 商品名称(订单)
  798. type: string
  799. relatedmarketid:
  800. description: 关联交易合约市场ID
  801. type: integer
  802. sellstatus:
  803. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  804. type: integer
  805. startprice:
  806. description: 起拍价[大宗式竞拍]
  807. type: number
  808. starttime:
  809. description: 预售开始时间
  810. type: string
  811. tradedate:
  812. description: 交易日(yyyyMMdd)
  813. type: string
  814. tradeprice:
  815. description: 成交价[大宗]
  816. type: number
  817. userid:
  818. description: 卖方用户ID
  819. type: integer
  820. required:
  821. - goodscode
  822. - goodsid
  823. - goodsname
  824. - marketid
  825. - relatedgoodscode
  826. - relatedgoodsname
  827. type: object
  828. cptrade.QueryPresaleGoodsExRsp:
  829. properties:
  830. attachmenturl:
  831. description: 附件地址
  832. type: string
  833. createtime:
  834. description: 创建时间
  835. type: string
  836. endtime:
  837. description: 预售结束时间
  838. type: string
  839. floorprice:
  840. description: 底价[大宗式竞拍]
  841. type: number
  842. goodsdetail:
  843. description: 详情[大宗]
  844. type: string
  845. goodsid:
  846. description: 商品ID(预售)
  847. type: integer
  848. goodunit:
  849. description: 报价单位
  850. type: string
  851. marketid:
  852. description: 预售市场ID - 根据预售模式选择市场
  853. type: integer
  854. presaledamount:
  855. description: 已预售总金额(预售结束时更新)
  856. type: number
  857. presaledqty:
  858. description: 已预售量(预售结束时更新)
  859. type: integer
  860. presalemode:
  861. description: 预售模式 - 1:一口价 2:大宗式竞拍
  862. type: integer
  863. presaleqty:
  864. description: 预售数量
  865. type: integer
  866. refprice:
  867. description: 参考价格[一口价]
  868. type: number
  869. relatedgoodsid:
  870. description: 关联交易合约ID
  871. type: integer
  872. relatedmarketid:
  873. description: 关联交易合约市场ID
  874. type: integer
  875. sellstatus:
  876. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  877. type: integer
  878. startprice:
  879. description: 起拍价[大宗式竞拍]
  880. type: number
  881. starttime:
  882. description: 预售开始时间
  883. type: string
  884. tradedate:
  885. description: 交易日(yyyyMMdd)
  886. type: string
  887. tradeprice:
  888. description: 成交价[大宗]
  889. type: number
  890. required:
  891. - goodsid
  892. type: object
  893. delivery.QueryDeliveryRelationRsp:
  894. properties:
  895. begindate:
  896. description: 起始日期(yyyyMMdd)
  897. type: string
  898. buytemplateid:
  899. description: 买履约计划模板ID
  900. type: integer
  901. deliverygoodscode:
  902. description: 品种代码
  903. type: string
  904. deliverygoodsid:
  905. description: 交割商品
  906. type: integer
  907. deliverygoodsname:
  908. description: 品种名称
  909. type: string
  910. deliverymode:
  911. description: 交割方式 - 1:点选式 2:申报式
  912. type: integer
  913. deliverypricerule:
  914. description: 交割价规则- 1:行情价 2:建仓价
  915. type: integer
  916. deliverytype:
  917. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  918. type: integer
  919. enddate:
  920. description: 结束日期(yyyyMMdd)
  921. type: string
  922. enumdicname:
  923. description: 品类单位名称
  924. type: string
  925. goodscode:
  926. description: 商品代码
  927. type: string
  928. goodsid:
  929. description: 交易合约ID
  930. type: integer
  931. goodsname:
  932. description: 商品名称
  933. type: string
  934. marketid:
  935. description: 市场ID
  936. type: integer
  937. mindeliveryqty:
  938. description: 最小交割系数(K)
  939. type: integer
  940. p2deliveryprice:
  941. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  942. type: number
  943. p2deliveryratio:
  944. description: P2合约系数(p)
  945. type: integer
  946. p2goodsid:
  947. description: P2合约ID
  948. type: integer
  949. p2pricemode:
  950. description: P2合约价格方式 - 1:商品价 2:固定值
  951. type: integer
  952. pdeliveryprice:
  953. description: P合约价格(商品价时填写0,固定值时填写固定值)
  954. type: number
  955. pdeliveryratio:
  956. description: P合约系数(n)
  957. type: integer
  958. pgoodscode:
  959. description: p合约代码
  960. type: string
  961. pgoodsid:
  962. description: P合约ID
  963. type: integer
  964. ppricemode:
  965. description: P合约价格方式 - 1:商品价 2:固定值
  966. type: integer
  967. rratio:
  968. description: 兑换系数(R)
  969. type: integer
  970. rratio1:
  971. description: 兑换系数(交易合约)(R1)
  972. type: integer
  973. rratio2:
  974. description: 兑换系数(仓单标准)(R2)
  975. type: integer
  976. selltemplateid:
  977. description: 卖履约计划模板ID
  978. type: integer
  979. wrstandardid:
  980. description: 仓单标准ID
  981. type: integer
  982. xdeliveryratio:
  983. description: 交易合约系数(m)
  984. type: integer
  985. required:
  986. - begindate
  987. - enddate
  988. - goodsid
  989. - mindeliveryqty
  990. - xdeliveryratio
  991. type: object
  992. ermcp.ExposureDetailRsp:
  993. properties:
  994. areauserid:
  995. description: 机构ID
  996. type: integer
  997. changeQty:
  998. description: 套保变动量
  999. type: number
  1000. contracttype:
  1001. description: 现货合同类型 - 1:采购 -1:销售
  1002. type: integer
  1003. convertfactor:
  1004. description: 标仓系数
  1005. type: number
  1006. convertratio:
  1007. description: 套保系数
  1008. type: number
  1009. createtime:
  1010. description: 时间
  1011. type: string
  1012. enumdicname:
  1013. description: 现货商品单位名称
  1014. type: string
  1015. logtype:
  1016. description: 类型 - 1:套保计划 2:现货合同
  1017. type: integer
  1018. middlegoodsId:
  1019. description: 套保商品id
  1020. type: integer
  1021. middlegoodscode:
  1022. description: 套保商品代码
  1023. type: string
  1024. middlegoodsname:
  1025. description: 套保商品名称
  1026. type: string
  1027. qty:
  1028. description: 数量
  1029. type: number
  1030. relateNo:
  1031. description: 现货合同/套保计划编号
  1032. type: string
  1033. wrstandardcode:
  1034. description: 现货商品代码
  1035. type: string
  1036. wrstandardid:
  1037. description: 现货商品ID
  1038. type: integer
  1039. wrstandardname:
  1040. description: 现货商品名称
  1041. type: string
  1042. type: object
  1043. ermcp.ExposureHedgePosDetailRsp:
  1044. properties:
  1045. buyorsell:
  1046. description: 买卖方向 0-买 1-卖
  1047. type: integer
  1048. channelbuildtype:
  1049. description: 开平方向 1-建仓 2-平仓
  1050. type: integer
  1051. goodscode:
  1052. description: 商品代码
  1053. type: string
  1054. goodsname:
  1055. description: 商品名称
  1056. type: string
  1057. hedgegoodsid:
  1058. description: 商品id
  1059. type: integer
  1060. tradeqty:
  1061. description: 数量(成交数量)
  1062. type: integer
  1063. tradetime:
  1064. description: 时间(成交时间)
  1065. type: string
  1066. type: object
  1067. ermcp.ExposureHedgePositionRsp:
  1068. properties:
  1069. accountid:
  1070. description: 资金账号[外部母账户]
  1071. type: integer
  1072. curbuyposition:
  1073. description: 期末买头寸
  1074. type: integer
  1075. cursellposition:
  1076. description: 期末卖头寸
  1077. type: integer
  1078. curtdbuyposition:
  1079. description: 期末今日买头寸
  1080. type: integer
  1081. curtdsellposition:
  1082. description: 期末今日卖头寸
  1083. type: integer
  1084. curydbuyposition:
  1085. description: 期末上日买头寸
  1086. type: integer
  1087. curydsellposition:
  1088. description: 期末上日卖头寸
  1089. type: integer
  1090. decreaseqty:
  1091. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1092. type: integer
  1093. fretdbuyposition:
  1094. description: 冻结今日买头寸
  1095. type: integer
  1096. fretdsellposition:
  1097. description: 冻结今日卖头寸
  1098. type: integer
  1099. freydbuyposition:
  1100. description: 冻结上日买头寸
  1101. type: integer
  1102. freydsellposition:
  1103. description: 冻结上日卖头寸
  1104. type: integer
  1105. goodscode:
  1106. description: 商品代码
  1107. type: string
  1108. goodsid:
  1109. description: 商品id
  1110. type: integer
  1111. goodsname:
  1112. description: 商品名称
  1113. type: string
  1114. hedgeaccountcode:
  1115. description: 对冲账号
  1116. type: string
  1117. hedgegoodsid:
  1118. description: 对冲合约ID
  1119. type: integer
  1120. increaseqty:
  1121. description: 增加数量 = 期末买头寸 - 期初买头寸
  1122. type: integer
  1123. marketid:
  1124. description: 市场ID
  1125. type: integer
  1126. relateduserid:
  1127. description: 关联用户id
  1128. type: integer
  1129. totalcurqty:
  1130. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1131. type: integer
  1132. totalydqty:
  1133. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1134. type: integer
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. ydbuyposition:
  1139. description: 期初买头寸
  1140. type: integer
  1141. ydsellposition:
  1142. description: 期初卖头寸
  1143. type: integer
  1144. type: object
  1145. ermcp.ExposureSpotDetailRsp:
  1146. properties:
  1147. contracttype:
  1148. description: 合同类型 1-采购 -1-销售
  1149. type: integer
  1150. createtime:
  1151. description: 创建时间
  1152. type: string
  1153. enumdicname:
  1154. description: 现货商品单位名称
  1155. type: string
  1156. logtype:
  1157. description: 记录类型 1-套保 2-现货合同
  1158. type: integer
  1159. qty:
  1160. description: 数量
  1161. type: number
  1162. recordname:
  1163. description: 类型名称
  1164. type: string
  1165. relatedid:
  1166. description: 套保计划ID/现货合同ID
  1167. type: string
  1168. relatedno:
  1169. description: 编号
  1170. type: string
  1171. strtime:
  1172. description: 时间
  1173. type: string
  1174. wrstandardcode:
  1175. description: 现货商品代码
  1176. type: string
  1177. wrstandardname:
  1178. description: 现货商品名称
  1179. type: string
  1180. type: object
  1181. ermcp.ExposureSpotRsp:
  1182. properties:
  1183. areauserid:
  1184. description: 所属机构
  1185. type: integer
  1186. decreaseqty:
  1187. description: 减少数量=-(销售已定价数量+采购计划数量)
  1188. type: number
  1189. increaseqty:
  1190. description: 增加数量=销售计划数量+采购已定价数量
  1191. type: number
  1192. oritoalspotqty:
  1193. description: 昨日数量
  1194. type: number
  1195. totalspotqty:
  1196. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1197. type: number
  1198. updatetime:
  1199. description: 更新时间
  1200. type: string
  1201. wrstandardcode:
  1202. description: 现货品种代码
  1203. type: string
  1204. wrstandardid:
  1205. description: 现货商品ID
  1206. type: integer
  1207. wrstandardname:
  1208. description: 现货品种
  1209. type: string
  1210. type: object
  1211. ermcp.HisExposureRsp:
  1212. properties:
  1213. data:
  1214. description: 历史敞口
  1215. items:
  1216. $ref: '#/definitions/models.ErmcpHisExposure'
  1217. type: array
  1218. enumdicname:
  1219. description: 单位名称
  1220. type: string
  1221. middlegoodscode:
  1222. description: 套保品种代码
  1223. type: string
  1224. middlegoodsid:
  1225. description: 套保品种ID
  1226. type: integer
  1227. middlegoodsname:
  1228. description: 套保品种名称
  1229. type: string
  1230. type: object
  1231. ermcp.PendingAuditCntRsp:
  1232. properties:
  1233. areastockqty:
  1234. description: '待审核数量: 库存申请'
  1235. type: integer
  1236. businessdjqty:
  1237. description: '待审核数量: 点价'
  1238. type: integer
  1239. businessfpqty:
  1240. description: '待审核数量: 发票'
  1241. type: integer
  1242. businessjsqty:
  1243. description: '待审核数量: 结算'
  1244. type: integer
  1245. businesskxqty:
  1246. description: '待审核数量: 款项'
  1247. type: integer
  1248. hedgeplanqty:
  1249. description: '待审核数量: 套保计划'
  1250. type: integer
  1251. spotcontractqty:
  1252. description: '待审核数量: 现货合同'
  1253. type: integer
  1254. userqty:
  1255. description: '待审核数量: 用户'
  1256. type: integer
  1257. type: object
  1258. ermcp.QryAvalidGPRsp:
  1259. properties:
  1260. goodsgroupid:
  1261. description: 期货品种id
  1262. type: integer
  1263. goodsgroupname:
  1264. description: 期货品种名称
  1265. type: string
  1266. goodunitid:
  1267. description: 品种单位id
  1268. type: integer
  1269. goodunitname:
  1270. description: 品种单位名称
  1271. type: string
  1272. outergroupcode:
  1273. description: 期货品种代码
  1274. type: string
  1275. type: object
  1276. ermcp.QryBusinessDjRsp:
  1277. properties:
  1278. amount:
  1279. description: 点价金额=(点价价格+升贴水)*点价数量
  1280. type: number
  1281. applyid:
  1282. description: 申请人
  1283. type: string
  1284. applyname:
  1285. description: 申请人名称
  1286. type: string
  1287. applystatus:
  1288. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1289. type: integer
  1290. applytime:
  1291. description: 申请时间
  1292. type: string
  1293. attachurl:
  1294. description: 附件
  1295. type: string
  1296. auditid:
  1297. description: 审核人ID
  1298. type: string
  1299. auditname:
  1300. description: 审核人名称
  1301. type: string
  1302. auditremark:
  1303. description: 审核备注
  1304. type: string
  1305. audittime:
  1306. description: 审核时间
  1307. type: string
  1308. buyusername:
  1309. description: 采购方名称
  1310. type: string
  1311. contractno:
  1312. description: 合同编号
  1313. type: string
  1314. contractstatus:
  1315. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1316. type: integer
  1317. contracttype:
  1318. description: 现货合同类型 - 1:采购 -1:销售
  1319. type: integer
  1320. deliverygoodscode:
  1321. description: 现货品种代码
  1322. type: string
  1323. deliverygoodsid:
  1324. description: 现货商品ID
  1325. type: integer
  1326. deliverygoodsname:
  1327. description: 现货品种名称
  1328. type: string
  1329. enumdicname:
  1330. description: 单位名称
  1331. type: string
  1332. goodscode:
  1333. description: 点价合约
  1334. type: string
  1335. goodsname:
  1336. description: 商品名称
  1337. type: string
  1338. operateapplyid:
  1339. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1340. type: string
  1341. operateapplytype:
  1342. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1343. type: integer
  1344. pricedPrice:
  1345. description: 点价价格(非必填)
  1346. type: number
  1347. pricedQty:
  1348. description: 点价数量(非必填)
  1349. type: number
  1350. pricemove:
  1351. description: 升贴水
  1352. type: number
  1353. pricetype:
  1354. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1355. type: integer
  1356. relatedid:
  1357. description: 现货合同ID
  1358. type: string
  1359. sellusername:
  1360. description: 销售方名字
  1361. type: string
  1362. userid:
  1363. description: 用户ID
  1364. type: integer
  1365. wrstandardcode:
  1366. description: 品类代码
  1367. type: string
  1368. wrstandardid:
  1369. description: 品类id
  1370. type: integer
  1371. wrstandardname:
  1372. description: 品类名称
  1373. type: string
  1374. type: object
  1375. ermcp.QryBussinessFpRsp:
  1376. properties:
  1377. applyid:
  1378. description: 申请人
  1379. type: string
  1380. applyname:
  1381. description: 申请人名称
  1382. type: string
  1383. applystatus:
  1384. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1385. type: integer
  1386. applytime:
  1387. description: 申请时间
  1388. type: string
  1389. attachurl:
  1390. description: 附件
  1391. type: string
  1392. auditid:
  1393. description: 审核人ID
  1394. type: string
  1395. auditname:
  1396. description: 审核人名称
  1397. type: string
  1398. auditremark:
  1399. description: 审核备注
  1400. type: string
  1401. audittime:
  1402. description: 审核时间
  1403. type: string
  1404. buyusername:
  1405. description: 采购方名称
  1406. type: string
  1407. contractno:
  1408. description: 合同编号
  1409. type: string
  1410. contractstatus:
  1411. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1412. type: integer
  1413. contracttype:
  1414. description: 现货合同类型 - 1:采购 -1:销售
  1415. type: integer
  1416. deliverygoodscode:
  1417. description: 现货品种代码
  1418. type: string
  1419. deliverygoodsid:
  1420. description: 现货商品ID
  1421. type: integer
  1422. deliverygoodsname:
  1423. description: 现货品种名称
  1424. type: string
  1425. enumdicname:
  1426. description: 单位名称
  1427. type: string
  1428. goodscode:
  1429. description: 点价合约
  1430. type: string
  1431. goodsname:
  1432. description: 商品名称
  1433. type: string
  1434. invoiceamount:
  1435. description: 已开收票金额(销售为开票,采购为收票)
  1436. type: number
  1437. operateapplyid:
  1438. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1439. type: string
  1440. operateapplytype:
  1441. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1442. type: integer
  1443. pricemove:
  1444. description: 升贴水
  1445. type: number
  1446. pricetype:
  1447. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1448. type: integer
  1449. relatedid:
  1450. description: 现货合同ID
  1451. type: string
  1452. sellusername:
  1453. description: 销售方名字
  1454. type: string
  1455. userid:
  1456. description: 用户ID
  1457. type: integer
  1458. wrstandardcode:
  1459. description: 品类代码
  1460. type: string
  1461. wrstandardid:
  1462. description: 品类id
  1463. type: integer
  1464. wrstandardname:
  1465. description: 品类名称
  1466. type: string
  1467. type: object
  1468. ermcp.QryBussinessJsExRsp:
  1469. properties:
  1470. applyid:
  1471. description: 申请人
  1472. type: string
  1473. applyname:
  1474. description: 申请人名称
  1475. type: string
  1476. applystatus:
  1477. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1478. type: integer
  1479. applytime:
  1480. description: 申请时间
  1481. type: string
  1482. attachurl:
  1483. description: 附件
  1484. type: string
  1485. auditid:
  1486. description: 审核人ID
  1487. type: string
  1488. auditname:
  1489. description: 审核人名称
  1490. type: string
  1491. auditremark:
  1492. description: 审核备注
  1493. type: string
  1494. audittime:
  1495. description: 审核时间
  1496. type: string
  1497. buyusername:
  1498. description: 采购方名称
  1499. type: string
  1500. contractno:
  1501. description: 合同编号
  1502. type: string
  1503. contractstatus:
  1504. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1505. type: integer
  1506. contracttype:
  1507. description: 现货合同类型 - 1:采购 -1:销售
  1508. type: integer
  1509. deliverygoodscode:
  1510. description: 现货品种代码
  1511. type: string
  1512. deliverygoodsid:
  1513. description: 现货商品ID
  1514. type: integer
  1515. deliverygoodsname:
  1516. description: 现货品种名称
  1517. type: string
  1518. enumdicname:
  1519. description: 单位名称
  1520. type: string
  1521. goodscode:
  1522. description: 点价合约
  1523. type: string
  1524. goodsname:
  1525. description: 商品名称
  1526. type: string
  1527. operateapplyid:
  1528. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1529. type: string
  1530. operateapplytype:
  1531. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1532. type: integer
  1533. pricemove:
  1534. description: 升贴水
  1535. type: number
  1536. pricetype:
  1537. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1538. type: integer
  1539. reckontype:
  1540. description: 结算类型
  1541. type: string
  1542. reckonvalue:
  1543. description: 值
  1544. type: number
  1545. relatedid:
  1546. description: 现货合同ID
  1547. type: string
  1548. sellusername:
  1549. description: 销售方名字
  1550. type: string
  1551. userid:
  1552. description: 用户ID
  1553. type: integer
  1554. wrstandardcode:
  1555. description: 品类代码
  1556. type: string
  1557. wrstandardid:
  1558. description: 品类id
  1559. type: integer
  1560. wrstandardname:
  1561. description: 品类名称
  1562. type: string
  1563. type: object
  1564. ermcp.QryBussinessJsRsp:
  1565. properties:
  1566. addmargin:
  1567. description: 追加保证金(非必填)
  1568. type: number
  1569. applyid:
  1570. description: 申请人
  1571. type: string
  1572. applyname:
  1573. description: 申请人名称
  1574. type: string
  1575. applystatus:
  1576. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1577. type: integer
  1578. applytime:
  1579. description: 申请时间
  1580. type: string
  1581. attachurl:
  1582. description: 附件
  1583. type: string
  1584. auditid:
  1585. description: 审核人ID
  1586. type: string
  1587. auditname:
  1588. description: 审核人名称
  1589. type: string
  1590. auditremark:
  1591. description: 审核备注
  1592. type: string
  1593. audittime:
  1594. description: 审核时间
  1595. type: string
  1596. buyusername:
  1597. description: 采购方名称
  1598. type: string
  1599. contractno:
  1600. description: 合同编号
  1601. type: string
  1602. contractstatus:
  1603. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1604. type: integer
  1605. contracttype:
  1606. description: 现货合同类型 - 1:采购 -1:销售
  1607. type: integer
  1608. decmargin:
  1609. description: 减少保证金(非必填)
  1610. type: number
  1611. deliverygoodscode:
  1612. description: 现货品种代码
  1613. type: string
  1614. deliverygoodsid:
  1615. description: 现货商品ID
  1616. type: integer
  1617. deliverygoodsname:
  1618. description: 现货品种名称
  1619. type: string
  1620. enumdicname:
  1621. description: 单位名称
  1622. type: string
  1623. goodscode:
  1624. description: 点价合约
  1625. type: string
  1626. goodsname:
  1627. description: 商品名称
  1628. type: string
  1629. operateapplyid:
  1630. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1631. type: string
  1632. operateapplytype:
  1633. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1634. type: integer
  1635. pricemove:
  1636. description: 升贴水
  1637. type: number
  1638. pricetype:
  1639. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1640. type: integer
  1641. reckonadjustamount:
  1642. description: 结算调整金额(非必填)
  1643. type: number
  1644. reckonosamount:
  1645. description: 结算溢短金额(非必填)
  1646. type: number
  1647. reckonotheramount:
  1648. description: 结算其他费用(非必填)
  1649. type: number
  1650. reckonrealqty:
  1651. description: 结算实际数量(非必填)
  1652. type: number
  1653. relatedid:
  1654. description: 现货合同ID
  1655. type: string
  1656. sellusername:
  1657. description: 销售方名字
  1658. type: string
  1659. userid:
  1660. description: 用户ID
  1661. type: integer
  1662. wrstandardcode:
  1663. description: 品类代码
  1664. type: string
  1665. wrstandardid:
  1666. description: 品类id
  1667. type: integer
  1668. wrstandardname:
  1669. description: 品类名称
  1670. type: string
  1671. type: object
  1672. ermcp.QryBussinessKxRsp:
  1673. properties:
  1674. applyid:
  1675. description: 申请人
  1676. type: string
  1677. applyname:
  1678. description: 申请人名称
  1679. type: string
  1680. applystatus:
  1681. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1682. type: integer
  1683. applytime:
  1684. description: 申请时间
  1685. type: string
  1686. attachurl:
  1687. description: 附件
  1688. type: string
  1689. auditid:
  1690. description: 审核人ID
  1691. type: string
  1692. auditname:
  1693. description: 审核人名称
  1694. type: string
  1695. auditremark:
  1696. description: 审核备注
  1697. type: string
  1698. audittime:
  1699. description: 审核时间
  1700. type: string
  1701. buyusername:
  1702. description: 采购方名称
  1703. type: string
  1704. contractno:
  1705. description: 合同编号
  1706. type: string
  1707. contractstatus:
  1708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1709. type: integer
  1710. contracttype:
  1711. description: 现货合同类型 - 1:采购 -1:销售
  1712. type: integer
  1713. deductamount:
  1714. description: 退款(非必填)
  1715. type: number
  1716. deliverygoodscode:
  1717. description: 现货品种代码
  1718. type: string
  1719. deliverygoodsid:
  1720. description: 现货商品ID
  1721. type: integer
  1722. deliverygoodsname:
  1723. description: 现货品种名称
  1724. type: string
  1725. enumdicname:
  1726. description: 单位名称
  1727. type: string
  1728. goodscode:
  1729. description: 点价合约
  1730. type: string
  1731. goodsname:
  1732. description: 商品名称
  1733. type: string
  1734. kxtype:
  1735. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1736. type: integer
  1737. operateapplyid:
  1738. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1739. type: string
  1740. operateapplytype:
  1741. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1742. type: integer
  1743. payamount:
  1744. description: 收付款(非必填)
  1745. type: number
  1746. pricemove:
  1747. description: 升贴水
  1748. type: number
  1749. pricetype:
  1750. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1751. type: integer
  1752. relatedid:
  1753. description: 现货合同ID
  1754. type: string
  1755. sellusername:
  1756. description: 销售方名字
  1757. type: string
  1758. userid:
  1759. description: 用户ID
  1760. type: integer
  1761. wrstandardcode:
  1762. description: 品类代码
  1763. type: string
  1764. wrstandardid:
  1765. description: 品类id
  1766. type: integer
  1767. wrstandardname:
  1768. description: 品类名称
  1769. type: string
  1770. type: object
  1771. ermcp.QryGGCovertCfgRsp:
  1772. properties:
  1773. convertratio:
  1774. description: 折算系数
  1775. type: number
  1776. destgoodsgroupid:
  1777. description: 目标品种ID
  1778. type: integer
  1779. dstcode:
  1780. description: 目录品种代码
  1781. type: string
  1782. dstexchangecode:
  1783. description: 目标期货交易所
  1784. type: string
  1785. dstname:
  1786. description: 目标品种名称
  1787. type: string
  1788. dstunitid:
  1789. description: 目标品种单位ID
  1790. type: integer
  1791. dstunitidname:
  1792. description: 目标品种单位名称
  1793. type: string
  1794. modifytime:
  1795. description: 修改时间
  1796. type: string
  1797. srccode:
  1798. description: 源品种代码
  1799. type: string
  1800. srcexchangecode:
  1801. description: 源期货交易所
  1802. type: string
  1803. srcgoodsgroupid:
  1804. description: 源品种ID
  1805. type: integer
  1806. srcname:
  1807. description: 源品种名称
  1808. type: string
  1809. srcunitid:
  1810. description: 源品种单位ID
  1811. type: integer
  1812. srcunitidname:
  1813. description: 源品种单位名称
  1814. type: string
  1815. type: object
  1816. ermcp.QryMGChangeLogRsp:
  1817. properties:
  1818. aftervalue:
  1819. description: 变更后
  1820. type: number
  1821. applyid:
  1822. description: 操作人
  1823. type: integer
  1824. applyname:
  1825. description: 操作人名称
  1826. type: string
  1827. applysrc:
  1828. description: 操作来源 - 1:管理端 2:终端
  1829. type: integer
  1830. beforevalue:
  1831. description: 变更前
  1832. type: number
  1833. changelogtype:
  1834. description: 变更流水类型 - 1:套保比率变更
  1835. type: integer
  1836. handlestatus:
  1837. description: 处理状态
  1838. type: integer
  1839. logdatetime:
  1840. description: 流水日期
  1841. type: string
  1842. logid:
  1843. description: 流水ID
  1844. type: integer
  1845. logremark:
  1846. description: 流水备注
  1847. type: string
  1848. middlegoodsid:
  1849. description: 套保品种ID
  1850. type: integer
  1851. tradedate:
  1852. description: 交易日(yyyyMMdd)
  1853. type: string
  1854. updatetime:
  1855. description: 更新时间
  1856. type: string
  1857. type: object
  1858. ermcp.QryMiddleGoodsDetailRsp:
  1859. properties:
  1860. cvList:
  1861. description: 期货品种折算列表
  1862. items:
  1863. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1864. type: array
  1865. mg:
  1866. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1867. description: 套保品种基本信息
  1868. wrcList:
  1869. description: 现货品种列表(现货商品折算配置)
  1870. items:
  1871. $ref: '#/definitions/models.WRSConverTDetail'
  1872. type: array
  1873. type: object
  1874. ermcp.QryMiddleGoodsRsp:
  1875. properties:
  1876. areauserid:
  1877. description: 机构用户ID
  1878. type: integer
  1879. createtime:
  1880. description: 修改时间
  1881. type: string
  1882. enumdicname:
  1883. description: 单位名称
  1884. type: string
  1885. evaluateratio:
  1886. description: 估价系数
  1887. type: number
  1888. goodsgroupid:
  1889. description: 关联期货品种ID
  1890. type: integer
  1891. goodsunitid:
  1892. description: 单位ID
  1893. type: integer
  1894. isvalid:
  1895. description: 状态 0-无效(停用) 1-有效(正常)
  1896. type: integer
  1897. middlegoodscode:
  1898. description: 套保品种代码
  1899. type: string
  1900. middlegoodsid:
  1901. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1902. type: integer
  1903. middlegoodsname:
  1904. description: 套保品种名称
  1905. type: string
  1906. modifytime:
  1907. description: 修改时间
  1908. type: string
  1909. needarbitrageratio:
  1910. description: 套利比例
  1911. type: number
  1912. needhedgeratio:
  1913. description: 套保比率
  1914. type: number
  1915. qtydecimalplace:
  1916. description: 数量小数位
  1917. type: integer
  1918. relatedgoodsid:
  1919. description: 关联交易商品ID
  1920. type: integer
  1921. relatedgoodstype:
  1922. description: 关联商品类型 - 1:期货合约 2:现货品种
  1923. type: integer
  1924. remark:
  1925. description: 备注
  1926. type: string
  1927. type: object
  1928. ermcp.QryOPLogRsp:
  1929. properties:
  1930. aftervalue:
  1931. description: 变更后
  1932. type: number
  1933. applyid:
  1934. description: 操作人ID
  1935. type: string
  1936. applyname:
  1937. description: 操作人名称
  1938. type: string
  1939. beforevalue:
  1940. description: 变更前
  1941. type: number
  1942. biztype:
  1943. description: 业务类型 - 1:套保计划 2:现货合同
  1944. type: integer
  1945. contracttype:
  1946. description: 现货合同类型 - 1:采购 -1:销售
  1947. type: integer
  1948. logvalue:
  1949. description: 数值
  1950. type: number
  1951. operatelogtype:
  1952. description: 操作流水类型
  1953. type: integer
  1954. operatelogtypedesc:
  1955. description: 操作流水类型名称
  1956. type: string
  1957. relatedid:
  1958. description: 现货合同ID\套保计划
  1959. type: string
  1960. updatetime:
  1961. description: 更新时间
  1962. type: string
  1963. type: object
  1964. ermcp.QryUserInfoRsp:
  1965. properties:
  1966. address:
  1967. description: 通讯地址
  1968. type: string
  1969. attachment1:
  1970. description: 附件1
  1971. type: string
  1972. audittime:
  1973. description: 审核时间
  1974. type: string
  1975. cardbackphotourl:
  1976. description: 证件反面图片地址
  1977. type: string
  1978. cardfrontphotourl:
  1979. description: 证件正面图片地址
  1980. type: string
  1981. cardnum:
  1982. description: 证件号码
  1983. type: string
  1984. cardtype:
  1985. description: 证件类型
  1986. type: integer
  1987. cardtypename:
  1988. description: 证件类型名称
  1989. type: string
  1990. cityid:
  1991. description: 市
  1992. type: integer
  1993. contactname:
  1994. description: 联系人
  1995. type: string
  1996. countryid:
  1997. description: 国家
  1998. type: integer
  1999. createtime:
  2000. description: 创建时间
  2001. type: string
  2002. customername:
  2003. description: 企业名称
  2004. type: string
  2005. districtid:
  2006. description: 区域
  2007. type: integer
  2008. email:
  2009. description: 邮件
  2010. type: string
  2011. legalpersonname:
  2012. description: 法人姓名(企业)
  2013. type: string
  2014. memberuserid:
  2015. description: 所属机构ID
  2016. type: integer
  2017. mobile:
  2018. description: 手机号码
  2019. type: string
  2020. modifytime:
  2021. description: 修改时间
  2022. type: string
  2023. nickname:
  2024. description: 昵称
  2025. type: string
  2026. provinceid:
  2027. description: 省
  2028. type: integer
  2029. remark:
  2030. description: 备注
  2031. type: string
  2032. status:
  2033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2034. type: integer
  2035. statusdesc:
  2036. description: 账户状态中文描述
  2037. type: string
  2038. taxpayernum:
  2039. description: 纳税人识别号
  2040. type: string
  2041. telphone:
  2042. description: 联系电话
  2043. type: string
  2044. userid:
  2045. description: 用户ID
  2046. type: integer
  2047. userinfotype:
  2048. description: 客户类型
  2049. type: string
  2050. type: object
  2051. ermcp.QryWarehouseRsp:
  2052. properties:
  2053. address:
  2054. description: 详细地址
  2055. type: string
  2056. areauserid:
  2057. description: 所属机构
  2058. type: integer
  2059. autoid:
  2060. description: 自增ID(仓库ID)
  2061. type: integer
  2062. cityid:
  2063. description: 市
  2064. type: integer
  2065. contactname:
  2066. description: 联系人
  2067. type: string
  2068. contactnum:
  2069. description: 联系电话
  2070. type: string
  2071. countryid:
  2072. description: 国家
  2073. type: integer
  2074. createtime:
  2075. description: 创建时间
  2076. type: string
  2077. districtid:
  2078. description: 区
  2079. type: integer
  2080. hasvideo:
  2081. description: 是否有视频 - 0:无 1:有
  2082. type: integer
  2083. provinceid:
  2084. description: 省
  2085. type: integer
  2086. remark:
  2087. description: 审核备注
  2088. type: string
  2089. videourl:
  2090. description: 视频地址
  2091. type: string
  2092. warehousecode:
  2093. description: 仓库代码
  2094. type: string
  2095. warehousename:
  2096. description: 仓库名称
  2097. type: string
  2098. warehousestatus:
  2099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2100. type: integer
  2101. warehousetype:
  2102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2103. type: integer
  2104. type: object
  2105. ermcp.QueryErmcpTradePositionRsp:
  2106. properties:
  2107. agreeunit:
  2108. description: 合约单位
  2109. type: number
  2110. buyorsell:
  2111. description: 方向 - 0:买 1:卖
  2112. type: integer
  2113. curpositionqty:
  2114. description: 持仓(总仓数量, 期末头寸)
  2115. type: integer
  2116. curtdposition:
  2117. description: 今仓数量(期末今日头寸)
  2118. type: integer
  2119. curtdpositionenabled:
  2120. description: 今仓可用
  2121. type: integer
  2122. decimalplace:
  2123. description: 报价小数位
  2124. type: integer
  2125. enableqty:
  2126. description: 可用(总仓可用)
  2127. type: integer
  2128. exexchangename:
  2129. description: 外部交易所名称
  2130. type: string
  2131. exexehangecode:
  2132. description: 外部交易所代码
  2133. type: string
  2134. exexehangeid:
  2135. description: 外部交易所id
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. last:
  2147. description: 现价
  2148. type: number
  2149. marketid:
  2150. description: 所属市场ID
  2151. type: integer
  2152. openaverageprice:
  2153. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2154. type: number
  2155. opencost:
  2156. description: 开仓成本
  2157. type: number
  2158. openpl:
  2159. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2160. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2161. type: number
  2162. outgoodscode:
  2163. description: 商品代码(外部)
  2164. type: string
  2165. positionaverageprice:
  2166. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2167. type: number
  2168. positioncost:
  2169. description: 持仓成本
  2170. type: number
  2171. positionpl:
  2172. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2173. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2174. type: number
  2175. positionplrate:
  2176. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2177. type: number
  2178. usedmargin:
  2179. description: 占用保证金
  2180. type: number
  2181. type: object
  2182. ermcp.RealtimeExposurePositionRsp:
  2183. properties:
  2184. accountid:
  2185. description: 资金账号(只有外部账号才有值, 内部账号是根据userid汇总的)
  2186. type: integer
  2187. agreeunit:
  2188. description: 合约单位
  2189. type: string
  2190. areauserid:
  2191. description: 所属机构id
  2192. type: integer
  2193. convertratio:
  2194. description: 期货品种系数(折算系数)
  2195. type: number
  2196. 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. middlegoodsid:
  2218. description: 套保商品id
  2219. type: integer
  2220. ydqty:
  2221. description: 昨日持仓
  2222. type: integer
  2223. type: object
  2224. ermcp.RealtimeExposureRsp:
  2225. properties:
  2226. AreaUserID:
  2227. description: 所属机构
  2228. type: integer
  2229. BuyFutureQty:
  2230. description: 买入期货数量
  2231. type: number
  2232. BuyPlanQty:
  2233. description: 采购计划数量
  2234. type: number
  2235. BuyPricedQty:
  2236. description: 采购合同已定价数量
  2237. type: number
  2238. MiddleGoodsCode:
  2239. description: 套保品种代码
  2240. type: string
  2241. MiddleGoodsHedgeRatio:
  2242. description: 套保比例
  2243. type: number
  2244. MiddleGoodsID:
  2245. description: 套保品种
  2246. type: integer
  2247. MiddleGoodsName:
  2248. description: 套保品种名称
  2249. type: string
  2250. NeedHedgeExposoure:
  2251. description: 应套保敞口(套保敞口)
  2252. type: number
  2253. NeedHedgeRatio:
  2254. description: 应套保敞口比例
  2255. type: number
  2256. OriBuyFutureQty:
  2257. description: 期初买入期货数量
  2258. type: number
  2259. OriBuyPlanQty:
  2260. description: 期初采购计划数量
  2261. type: number
  2262. OriBuyPricedQty:
  2263. description: 期初采购合同已定价数量
  2264. type: number
  2265. OriSellFutureQty:
  2266. description: 期初卖出期货数量
  2267. type: number
  2268. OriSellPlanQty:
  2269. description: 期初销售计划数量
  2270. type: number
  2271. OriSellPricedQty:
  2272. description: 期初销售合同已定价数量
  2273. type: number
  2274. OriTotalSpotQty:
  2275. description: 期初现货总量
  2276. type: number
  2277. SellFutureQty:
  2278. description: 卖出期货数量
  2279. type: number
  2280. SellPlanQty:
  2281. description: 销售计划数量
  2282. type: number
  2283. SellPricedQty:
  2284. description: 销售合同已定价数量
  2285. type: number
  2286. TotalExposure:
  2287. description: 总敞口 平安:净敞口
  2288. type: number
  2289. TotalFutureQty:
  2290. description: 期货总量 平安:保值净持仓量
  2291. type: number
  2292. TotalHedgeRatio:
  2293. description: 敞口比例
  2294. type: number
  2295. TotalNeedHedgeQty:
  2296. description: 应套保总量(现货应套保总量)
  2297. type: number
  2298. TotalSpotQty:
  2299. description: 现货总量 平安:采销定价净值
  2300. type: number
  2301. arbitrageqty:
  2302. description: 套利量
  2303. type: number
  2304. diffArbitrageQty:
  2305. description: 套利变动量
  2306. type: number
  2307. diffExposoureQty:
  2308. description: 变动量(套保敞口)
  2309. type: number
  2310. diffFutuQty:
  2311. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2312. type: number
  2313. diffHedgeQty:
  2314. description: 套保变动量
  2315. type: number
  2316. diffQty:
  2317. description: 变动量(总敞口) 平安:净敞口今日变动
  2318. type: number
  2319. diffSpotHedgeQty:
  2320. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2321. type: number
  2322. diffSpotQty:
  2323. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2324. type: number
  2325. enumdicname:
  2326. description: 单位名称
  2327. type: string
  2328. hedgeqty:
  2329. description: 套保量
  2330. type: number
  2331. needarbitrageqty:
  2332. description: 应套利量
  2333. type: number
  2334. needarbitrageratio:
  2335. description: 套利比例
  2336. type: number
  2337. needhedgeqty:
  2338. description: 应套保量
  2339. type: number
  2340. oriarbitrageqty:
  2341. description: 期初套利量
  2342. type: number
  2343. orihedgeqty:
  2344. description: 期初套保量
  2345. type: number
  2346. orineedhedgeexposoure:
  2347. description: 期初套保敞口
  2348. type: number
  2349. oritotalexposure:
  2350. description: 期初总敞口
  2351. type: number
  2352. oritotalfutureqty:
  2353. description: 期初期货总量
  2354. type: number
  2355. oritotalneedhedgeqty:
  2356. description: 期初现货应套保量
  2357. type: number
  2358. type: object
  2359. erms2.QueryArbitrageStrategyRsp:
  2360. properties:
  2361. applybasis:
  2362. description: 申请基差
  2363. type: number
  2364. asapplyid:
  2365. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2366. type: string
  2367. asname:
  2368. description: 策略名称
  2369. type: string
  2370. asno:
  2371. description: 策略编号
  2372. type: string
  2373. basischangepl:
  2374. description: 基差变动损益[结算更新]
  2375. type: number
  2376. biztype:
  2377. description: 业务类型 - 1:正向套利 -1:反向套利
  2378. type: integer
  2379. closetradedate:
  2380. description: 完结交易日(yyyyMMdd)
  2381. type: string
  2382. curbasis:
  2383. description: 当前基差[结算更新]
  2384. type: number
  2385. deliverygoodsid:
  2386. description: 现货品种ID
  2387. type: integer
  2388. futureavgprice:
  2389. description: 期货建仓均价
  2390. type: number
  2391. futurecloseamount:
  2392. description: 期货平仓金额
  2393. type: number
  2394. futurecloseqty:
  2395. description: 期货平仓数量
  2396. type: number
  2397. futureopenamount:
  2398. description: 期货开仓金额
  2399. type: number
  2400. futureopenqty:
  2401. description: 期货开仓数量
  2402. type: number
  2403. futurepl:
  2404. description: 期货总盈亏[结算更新]
  2405. type: number
  2406. futureqty:
  2407. description: 期货持仓数量
  2408. type: number
  2409. futurequote:
  2410. description: 期货额度
  2411. type: number
  2412. goodsgroupid:
  2413. description: 期货品种ID
  2414. type: integer
  2415. marketid:
  2416. description: 市场ID
  2417. type: integer
  2418. netexposure:
  2419. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2420. type: number
  2421. netexposurepl:
  2422. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2423. type: number
  2424. netexposurerate:
  2425. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2426. type: number
  2427. openbasis:
  2428. description: 建仓基差
  2429. type: number
  2430. pricedspotqty:
  2431. description: 已定价现货数量
  2432. type: number
  2433. pricedspotqtynotax:
  2434. description: 已定价现货不含税数量
  2435. type: number
  2436. remark:
  2437. description: 备注
  2438. type: string
  2439. spotavgprice:
  2440. description: 现货均价
  2441. type: number
  2442. spotbuyamount:
  2443. description: 现货采购金额
  2444. type: number
  2445. spotbuyqty:
  2446. description: 现货采购数量
  2447. type: number
  2448. spotpl:
  2449. description: 现货总盈亏[结算更新]
  2450. type: number
  2451. spotquota:
  2452. description: 现货额度
  2453. type: number
  2454. spotsellamount:
  2455. description: 现货销售金额
  2456. type: number
  2457. spotsellqty:
  2458. description: 现货销售数量
  2459. type: number
  2460. spotusedquota:
  2461. description: 现货占用资金
  2462. type: number
  2463. strategystatus:
  2464. description: 策略状态 - 0:未结束 1:已结束
  2465. type: integer
  2466. totalpl:
  2467. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2468. type: number
  2469. tradedate:
  2470. description: 交易日(yyyyMMdd)
  2471. type: string
  2472. updatetime:
  2473. description: 更新时间
  2474. type: string
  2475. usedquota:
  2476. description: 已占用资金
  2477. type: number
  2478. userid:
  2479. description: 所属机构
  2480. type: integer
  2481. required:
  2482. - asapplyid
  2483. type: object
  2484. erms2.QueryInnerTradeDetailRsp:
  2485. properties:
  2486. accountid:
  2487. description: 账号ID
  2488. type: integer
  2489. agreeunit:
  2490. description: 合约单位
  2491. type: number
  2492. asapplyid:
  2493. description: 策略申请ID
  2494. type: integer
  2495. asname:
  2496. description: 策略名称
  2497. type: string
  2498. asno:
  2499. description: 策略编号
  2500. type: string
  2501. buyorsell:
  2502. description: 方向 - 0:买 1:卖
  2503. type: integer
  2504. channelbuildtype:
  2505. description: 委托单据类型 0:无 1:建仓 2:平仓
  2506. type: integer
  2507. closetype:
  2508. description: 平仓方式 - 0:无 1:平今 2:平昨
  2509. type: integer
  2510. decimalplace:
  2511. description: 报价小数位
  2512. type: integer
  2513. detailtype:
  2514. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2515. type: integer
  2516. exexchangecode:
  2517. description: 外部交易所代码
  2518. type: string
  2519. exexchangename:
  2520. description: 外部交易所名称
  2521. type: string
  2522. goodscode:
  2523. description: 商品代码(合约)
  2524. type: string
  2525. goodsgroupid:
  2526. description: 商品组ID(品种ID)
  2527. type: integer
  2528. goodsgroupname:
  2529. description: 商品组名称(品种)
  2530. type: string
  2531. goodsid:
  2532. description: 商品ID
  2533. type: integer
  2534. goodsname:
  2535. description: 商品名称(合约)
  2536. type: string
  2537. goodunit:
  2538. description: 报价单位
  2539. type: string
  2540. marketid:
  2541. description: 市场ID
  2542. type: integer
  2543. orderid:
  2544. description: 委托单号
  2545. type: string
  2546. outgoodscode:
  2547. description: 商品代码(外部)
  2548. type: string
  2549. relatedouttradeid:
  2550. description: 关联外部成交单ID
  2551. type: string
  2552. remark:
  2553. description: 备注
  2554. type: string
  2555. spotcontractid:
  2556. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2557. type: integer
  2558. spotcontractno:
  2559. description: 现货合同编号
  2560. type: string
  2561. tradeid:
  2562. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2563. type: string
  2564. tradeprice:
  2565. description: 成交价格
  2566. type: number
  2567. tradeqty:
  2568. description: 成交数量
  2569. type: integer
  2570. tradetime:
  2571. description: 成交时间
  2572. type: string
  2573. updatetime:
  2574. description: 更新时间
  2575. type: string
  2576. required:
  2577. - asapplyid
  2578. - buyorsell
  2579. - goodscode
  2580. - goodsgroupid
  2581. - goodsgroupname
  2582. - goodsname
  2583. - tradeid
  2584. type: object
  2585. erms2.QuerySpotContractRsp:
  2586. properties:
  2587. accountid:
  2588. description: 资金账户ID
  2589. type: integer
  2590. areauserid:
  2591. description: 所属机构
  2592. type: integer
  2593. closedate:
  2594. description: 终止日期
  2595. type: string
  2596. closeremark:
  2597. description: 结束备注
  2598. type: string
  2599. closetradedate:
  2600. description: 完结交易日(yyyyMMdd)
  2601. type: string
  2602. closetype:
  2603. description: 终止类型 - 1:违约 2:提前终止
  2604. type: integer
  2605. contractamount:
  2606. description: 合同金额
  2607. type: number
  2608. contractattachment:
  2609. description: 合同附件
  2610. type: string
  2611. contractno:
  2612. description: 现货合同编号
  2613. type: string
  2614. contractqty:
  2615. description: 合同数量(数值) (用于计算)
  2616. type: number
  2617. contractqtychar:
  2618. description: 合同数量\已订价数量 (用于显示)
  2619. type: string
  2620. contractstatus:
  2621. description: 合同状态 - 0:未结束 1:已结束
  2622. type: integer
  2623. contracttype:
  2624. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2625. type: integer
  2626. customeraccountid:
  2627. description: 客户资金账户ID
  2628. type: integer
  2629. customeruserid:
  2630. description: 客户ID
  2631. type: integer
  2632. deliverygoodsdesc:
  2633. description: 品种说明
  2634. type: string
  2635. deliverygoodsid:
  2636. description: 现货品种ID
  2637. type: integer
  2638. handlestatus:
  2639. description: 处理状态
  2640. type: integer
  2641. invoiceatt:
  2642. description: 发票附件
  2643. type: string
  2644. invoicedatetime:
  2645. description: 开收票更新时间
  2646. type: string
  2647. invoiceopentime:
  2648. description: 开票时间
  2649. type: string
  2650. invoiceremark:
  2651. description: 发票备注
  2652. type: string
  2653. invoicestatus:
  2654. description: 开收票状态 - 0:未开票 1:已开票
  2655. type: integer
  2656. lastdate:
  2657. description: 交货时间
  2658. type: string
  2659. marketid:
  2660. description: 市场ID
  2661. type: integer
  2662. paydatetime:
  2663. description: 收付款更新时间
  2664. type: string
  2665. payremark:
  2666. description: 收付款备注
  2667. type: string
  2668. paystatus:
  2669. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2670. type: integer
  2671. positionqty:
  2672. description: 头寸数量 - 合同数量去小数部分
  2673. type: integer
  2674. producttype:
  2675. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2676. type: integer
  2677. relatedqty:
  2678. description: 已关联数量
  2679. type: number
  2680. relatedstatus:
  2681. description: 关联完结状态 - 0:未结束 1:已结束
  2682. type: integer
  2683. remark:
  2684. description: 备注
  2685. type: string
  2686. signdate:
  2687. description: 签订日期
  2688. type: string
  2689. spotcontractid:
  2690. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2691. type: string
  2692. spotdatetime:
  2693. description: 收发货更新时间
  2694. type: string
  2695. spotprice:
  2696. description: 价格
  2697. type: number
  2698. spotremark:
  2699. description: 收发货备注
  2700. type: string
  2701. spotstatus:
  2702. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2703. type: integer
  2704. tradedate:
  2705. description: 交易日(yyyyMMdd)
  2706. type: string
  2707. userid:
  2708. description: 业务员用户ID
  2709. type: integer
  2710. warehouseid:
  2711. description: 仓库ID
  2712. type: integer
  2713. wrfactortypeid:
  2714. description: 仓单要素类型ID
  2715. type: integer
  2716. wrstandardid:
  2717. description: 仓单标准ID(SEQ_WRSTANDARD)
  2718. type: integer
  2719. required:
  2720. - spotcontractid
  2721. type: object
  2722. erms3.AddErms2ASApplyReq:
  2723. properties:
  2724. applybasis:
  2725. description: 申请基差
  2726. type: number
  2727. applystatus:
  2728. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2729. type: integer
  2730. asapplyid:
  2731. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2732. type: integer
  2733. asname:
  2734. description: 策略名称
  2735. type: string
  2736. asno:
  2737. description: 策略编号
  2738. type: string
  2739. auditid:
  2740. description: 审核人
  2741. type: integer
  2742. auditremark:
  2743. description: 审核备注
  2744. type: string
  2745. audittime:
  2746. description: 审核时间
  2747. type: string
  2748. biztype:
  2749. description: 业务类型 - 1:正向套利 2:反向套利
  2750. type: integer
  2751. createtime:
  2752. description: 创建时间
  2753. type: string
  2754. creatorid:
  2755. description: 创建人
  2756. type: integer
  2757. deliverygoodsid:
  2758. description: 现货品种ID
  2759. type: integer
  2760. futurequote:
  2761. description: 期货额度
  2762. type: number
  2763. goodsgroupid:
  2764. description: 期货品种ID
  2765. type: integer
  2766. marketid:
  2767. description: 市场ID
  2768. type: integer
  2769. remark:
  2770. description: 备注
  2771. type: string
  2772. spotquota:
  2773. description: 现货额度
  2774. type: number
  2775. tradedate:
  2776. description: 交易日(yyyyMMdd)
  2777. type: string
  2778. userid:
  2779. description: 所属机构
  2780. type: integer
  2781. required:
  2782. - asapplyid
  2783. type: object
  2784. erms3.AddErms2SpotTradeApplyReq:
  2785. properties:
  2786. applyjsondetail:
  2787. description: 申请明细(JSON)
  2788. type: string
  2789. applystatus:
  2790. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2791. type: integer
  2792. areauserid:
  2793. description: 所属机构
  2794. type: integer
  2795. auditid:
  2796. description: 审核人
  2797. type: integer
  2798. auditremark:
  2799. description: 审核备注
  2800. type: string
  2801. audittime:
  2802. description: 审核时间
  2803. type: string
  2804. createtime:
  2805. description: 创建时间
  2806. type: string
  2807. creatorid:
  2808. description: 创建人
  2809. type: integer
  2810. deliverygoodsid:
  2811. description: 现货品种ID
  2812. type: integer
  2813. futureaccountid:
  2814. description: 期货资金账户
  2815. type: integer
  2816. goodsgroupid:
  2817. description: 期货品种
  2818. type: integer
  2819. marketid:
  2820. description: 市场ID
  2821. type: integer
  2822. remark:
  2823. description: 备注
  2824. type: string
  2825. spotaccountid:
  2826. description: 现货资金账户
  2827. type: integer
  2828. spottradeid:
  2829. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2830. type: integer
  2831. spottradename:
  2832. description: 业务名称
  2833. type: string
  2834. spottradeno:
  2835. description: 业务编号
  2836. type: string
  2837. tradedate:
  2838. description: 交易日(yyyyMMdd)
  2839. type: string
  2840. wrstandardid:
  2841. description: 仓单标准ID
  2842. type: integer
  2843. required:
  2844. - spottradeid
  2845. type: object
  2846. erms3.AddSpotContractApplyReq:
  2847. properties:
  2848. accountid:
  2849. description: 资金账户ID
  2850. type: integer
  2851. areauserid:
  2852. description: 所属机构
  2853. type: integer
  2854. contractattachment:
  2855. description: 合同附件
  2856. type: string
  2857. contractno:
  2858. description: 现货合同编号
  2859. type: string
  2860. contracttype:
  2861. description: 现货合同类型 - 1:采购 -1:销售
  2862. type: integer
  2863. creatorid:
  2864. description: 申请人
  2865. type: integer
  2866. customeraccountid:
  2867. description: 客户资金账户ID
  2868. type: integer
  2869. customeruserid:
  2870. description: 客户ID
  2871. type: integer
  2872. details:
  2873. description: 明细
  2874. items:
  2875. $ref: '#/definitions/erms3.SoptContractDetail'
  2876. type: array
  2877. orimargin:
  2878. description: 初始保证金
  2879. type: number
  2880. remark:
  2881. description: 备注
  2882. type: string
  2883. signdate:
  2884. description: 签订日期
  2885. type: string
  2886. required:
  2887. - accountid
  2888. - areauserid
  2889. - contractno
  2890. - contracttype
  2891. - customeraccountid
  2892. - customeruserid
  2893. - details
  2894. - orimargin
  2895. - signdate
  2896. type: object
  2897. erms3.AddSpotContractApplyRsp:
  2898. properties:
  2899. contractno:
  2900. description: 现货合同编号
  2901. type: string
  2902. spotcontractid:
  2903. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2904. type: integer
  2905. required:
  2906. - contractno
  2907. type: object
  2908. erms3.AddUserInfoApplyReq:
  2909. properties:
  2910. accountid:
  2911. description: 交易系统帐号Id (加密存储)
  2912. type: integer
  2913. areacode:
  2914. description: 机构代码
  2915. type: string
  2916. areaid:
  2917. description: 机构Id
  2918. type: integer
  2919. attachment1:
  2920. description: 附件1
  2921. type: string
  2922. attachment2:
  2923. description: 附件2
  2924. type: string
  2925. attachment3:
  2926. description: 附件3
  2927. type: string
  2928. attachment4:
  2929. description: 附件4
  2930. type: string
  2931. attachment5:
  2932. description: 附件5
  2933. type: string
  2934. auditedby:
  2935. description: 审核人
  2936. type: string
  2937. auditime:
  2938. description: 审核时间
  2939. type: string
  2940. auditsrc:
  2941. description: 审核来源 - 1:管理端 2:终端
  2942. type: integer
  2943. bankaccount:
  2944. description: 银行帐号 (加密存储)
  2945. type: string
  2946. bankaccountname:
  2947. description: 收款人名称
  2948. type: string
  2949. bankcardbackphotourl:
  2950. description: 银行卡背面照地址
  2951. type: string
  2952. bankcardfrontphotourl:
  2953. description: 银行卡正面照地址
  2954. type: string
  2955. bankid:
  2956. description: 银行编码
  2957. type: string
  2958. bankname:
  2959. description: 银行名称
  2960. type: string
  2961. bankpictureurl:
  2962. description: 银行卡正面地址
  2963. type: string
  2964. biznature:
  2965. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2966. type: integer
  2967. bizscope:
  2968. description: 企业经营范围(企业)
  2969. type: string
  2970. biztype:
  2971. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2972. type: integer
  2973. brokerid:
  2974. description: 经纪人ID(加密存储)
  2975. type: string
  2976. cardaddress:
  2977. description: 证件地址 (加密存储)
  2978. type: string
  2979. cardbackphotourl:
  2980. description: 背面证件照地址
  2981. type: string
  2982. cardfrontphotourl:
  2983. description: 正面证件照地址
  2984. type: string
  2985. cardnum:
  2986. description: 证件号码 (加密存储)
  2987. type: string
  2988. cardtype:
  2989. description: 证件类型
  2990. type: integer
  2991. cityid:
  2992. description: 市
  2993. type: integer
  2994. company:
  2995. description: 公司(个人)
  2996. type: string
  2997. contactcardbackphotourl:
  2998. description: 联系人证件背面图片地址
  2999. type: string
  3000. contactcardfrontphotourl:
  3001. description: 联系人证件正面图片地址
  3002. type: string
  3003. contactname:
  3004. description: 联系人
  3005. type: string
  3006. countryid:
  3007. description: 国家
  3008. type: integer
  3009. createtime:
  3010. description: 开户申请时间
  3011. type: string
  3012. cusbankid:
  3013. description: 签约类型
  3014. type: string
  3015. cusbankname:
  3016. description: 签约类型名称
  3017. type: string
  3018. customername:
  3019. description: 客户名称(企业名称)
  3020. type: string
  3021. districtid:
  3022. description: 地区
  3023. type: integer
  3024. email:
  3025. description: Email地址(加密存储)
  3026. type: string
  3027. halfbodyphotourl:
  3028. description: 半身照地址
  3029. type: string
  3030. headurl:
  3031. description: 头像地址
  3032. type: string
  3033. ipaddress:
  3034. description: IP地址
  3035. type: string
  3036. isvalidate:
  3037. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3038. type: string
  3039. legalcardbackphotourl:
  3040. description: 法人身份证背面照地址
  3041. type: string
  3042. legalcardfrontphotourl:
  3043. description: 法人身份证正面照地址
  3044. type: string
  3045. legalpersonname:
  3046. description: 法人姓名(企业)
  3047. type: string
  3048. logincode:
  3049. description: 登录帐号 (加密存储)
  3050. type: string
  3051. memberareaid:
  3052. description: 所属会员ID
  3053. type: integer
  3054. mobile2:
  3055. description: 手机号码[明文-尚志]
  3056. type: string
  3057. mobilephone:
  3058. description: 手机号码 (加密存储)
  3059. type: string
  3060. modifiedby:
  3061. description: 修改人帐号
  3062. type: integer
  3063. modifiedtime:
  3064. description: 修改时间
  3065. type: string
  3066. nickname:
  3067. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3068. type: string
  3069. openmode:
  3070. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3071. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3072. type: integer
  3073. otherurl:
  3074. description: 其它图片地址[使用分号分隔]
  3075. type: string
  3076. postalcode:
  3077. description: 邮政编码
  3078. type: string
  3079. provinceid:
  3080. description: 省
  3081. type: integer
  3082. proxystatementurl:
  3083. description: 授权委托书
  3084. type: string
  3085. qq:
  3086. description: QQ(加密存储
  3087. type: string
  3088. referral:
  3089. description: 推荐人编码
  3090. type: string
  3091. remark:
  3092. description: 备注
  3093. type: string
  3094. removebeforestatus:
  3095. description: REMOVEBEFORESTATUS
  3096. type: integer
  3097. sex:
  3098. description: 性别 - 0:女 1:男
  3099. type: integer
  3100. signedstatus:
  3101. description: 账户一号签签约状态
  3102. type: integer
  3103. signpdfurl:
  3104. description: 签约pdf文件
  3105. type: string
  3106. subbranch:
  3107. description: 开户支行
  3108. type: string
  3109. taxpayernum:
  3110. description: 纳税人识别号
  3111. type: string
  3112. telphone:
  3113. description: 联系电话(加密存储)
  3114. type: string
  3115. userid:
  3116. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3117. type: integer
  3118. userinfotype:
  3119. description: 用户信息类型 - 1:个人 2:企业
  3120. type: integer
  3121. username:
  3122. description: 用户姓名
  3123. type: string
  3124. userstate:
  3125. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3126. type: integer
  3127. usertype:
  3128. description: 用户类型 - 1:投资者 2:机构
  3129. type: integer
  3130. videourl:
  3131. description: 视频地址
  3132. type: string
  3133. wechat:
  3134. description: 微信号 (加密存储)
  3135. type: string
  3136. required:
  3137. - userid
  3138. type: object
  3139. erms3.CustomerInfo:
  3140. properties:
  3141. accountids:
  3142. description: 资金账户ID列表
  3143. items:
  3144. type: integer
  3145. type: array
  3146. customername:
  3147. description: 名称(企业名称)
  3148. type: string
  3149. mobile:
  3150. description: 手机号码
  3151. type: string
  3152. userid:
  3153. description: 用户ID
  3154. type: integer
  3155. required:
  3156. - userid
  3157. type: object
  3158. erms3.ModifyUserInfoApplyReq:
  3159. properties:
  3160. accountid:
  3161. description: 交易系统帐号Id (加密存储)
  3162. type: integer
  3163. areacode:
  3164. description: 机构代码
  3165. type: string
  3166. areaid:
  3167. description: 机构Id
  3168. type: integer
  3169. attachment1:
  3170. description: 附件1
  3171. type: string
  3172. attachment2:
  3173. description: 附件2
  3174. type: string
  3175. attachment3:
  3176. description: 附件3
  3177. type: string
  3178. attachment4:
  3179. description: 附件4
  3180. type: string
  3181. attachment5:
  3182. description: 附件5
  3183. type: string
  3184. auditedby:
  3185. description: 审核人
  3186. type: string
  3187. auditime:
  3188. description: 审核时间
  3189. type: string
  3190. auditsrc:
  3191. description: 审核来源 - 1:管理端 2:终端
  3192. type: integer
  3193. bankaccount:
  3194. description: 银行帐号 (加密存储)
  3195. type: string
  3196. bankaccountname:
  3197. description: 收款人名称
  3198. type: string
  3199. bankcardbackphotourl:
  3200. description: 银行卡背面照地址
  3201. type: string
  3202. bankcardfrontphotourl:
  3203. description: 银行卡正面照地址
  3204. type: string
  3205. bankid:
  3206. description: 银行编码
  3207. type: string
  3208. bankname:
  3209. description: 银行名称
  3210. type: string
  3211. bankpictureurl:
  3212. description: 银行卡正面地址
  3213. type: string
  3214. biznature:
  3215. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3216. type: integer
  3217. bizscope:
  3218. description: 企业经营范围(企业)
  3219. type: string
  3220. biztype:
  3221. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3222. type: integer
  3223. brokerid:
  3224. description: 经纪人ID(加密存储)
  3225. type: string
  3226. cardaddress:
  3227. description: 证件地址 (加密存储)
  3228. type: string
  3229. cardbackphotourl:
  3230. description: 背面证件照地址
  3231. type: string
  3232. cardfrontphotourl:
  3233. description: 正面证件照地址
  3234. type: string
  3235. cardnum:
  3236. description: 证件号码 (加密存储)
  3237. type: string
  3238. cardtype:
  3239. description: 证件类型
  3240. type: integer
  3241. cityid:
  3242. description: 市
  3243. type: integer
  3244. company:
  3245. description: 公司(个人)
  3246. type: string
  3247. contactcardbackphotourl:
  3248. description: 联系人证件背面图片地址
  3249. type: string
  3250. contactcardfrontphotourl:
  3251. description: 联系人证件正面图片地址
  3252. type: string
  3253. contactname:
  3254. description: 联系人
  3255. type: string
  3256. countryid:
  3257. description: 国家
  3258. type: integer
  3259. createtime:
  3260. description: 开户申请时间
  3261. type: string
  3262. cusbankid:
  3263. description: 签约类型
  3264. type: string
  3265. cusbankname:
  3266. description: 签约类型名称
  3267. type: string
  3268. customername:
  3269. description: 客户名称(企业名称)
  3270. type: string
  3271. districtid:
  3272. description: 地区
  3273. type: integer
  3274. email:
  3275. description: Email地址(加密存储)
  3276. type: string
  3277. halfbodyphotourl:
  3278. description: 半身照地址
  3279. type: string
  3280. headurl:
  3281. description: 头像地址
  3282. type: string
  3283. ipaddress:
  3284. description: IP地址
  3285. type: string
  3286. isvalidate:
  3287. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3288. type: string
  3289. legalcardbackphotourl:
  3290. description: 法人身份证背面照地址
  3291. type: string
  3292. legalcardfrontphotourl:
  3293. description: 法人身份证正面照地址
  3294. type: string
  3295. legalpersonname:
  3296. description: 法人姓名(企业)
  3297. type: string
  3298. logincode:
  3299. description: 登录帐号 (加密存储)
  3300. type: string
  3301. memberareaid:
  3302. description: 所属会员ID
  3303. type: integer
  3304. mobile2:
  3305. description: 手机号码[明文-尚志]
  3306. type: string
  3307. mobilephone:
  3308. description: 手机号码 (加密存储)
  3309. type: string
  3310. modifiedby:
  3311. description: 修改人帐号
  3312. type: integer
  3313. modifiedtime:
  3314. description: 修改时间
  3315. type: string
  3316. nickname:
  3317. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3318. type: string
  3319. openmode:
  3320. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3321. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3322. type: integer
  3323. otherurl:
  3324. description: 其它图片地址[使用分号分隔]
  3325. type: string
  3326. postalcode:
  3327. description: 邮政编码
  3328. type: string
  3329. provinceid:
  3330. description: 省
  3331. type: integer
  3332. proxystatementurl:
  3333. description: 授权委托书
  3334. type: string
  3335. qq:
  3336. description: QQ(加密存储
  3337. type: string
  3338. referral:
  3339. description: 推荐人编码
  3340. type: string
  3341. remark:
  3342. description: 备注
  3343. type: string
  3344. removebeforestatus:
  3345. description: REMOVEBEFORESTATUS
  3346. type: integer
  3347. sex:
  3348. description: 性别 - 0:女 1:男
  3349. type: integer
  3350. signedstatus:
  3351. description: 账户一号签签约状态
  3352. type: integer
  3353. signpdfurl:
  3354. description: 签约pdf文件
  3355. type: string
  3356. subbranch:
  3357. description: 开户支行
  3358. type: string
  3359. taxpayernum:
  3360. description: 纳税人识别号
  3361. type: string
  3362. telphone:
  3363. description: 联系电话(加密存储)
  3364. type: string
  3365. userid:
  3366. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3367. type: integer
  3368. userinfotype:
  3369. description: 用户信息类型 - 1:个人 2:企业
  3370. type: integer
  3371. username:
  3372. description: 用户姓名
  3373. type: string
  3374. userstate:
  3375. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3376. type: integer
  3377. usertype:
  3378. description: 用户类型 - 1:投资者 2:机构
  3379. type: integer
  3380. videourl:
  3381. description: 视频地址
  3382. type: string
  3383. wechat:
  3384. description: 微信号 (加密存储)
  3385. type: string
  3386. required:
  3387. - userid
  3388. type: object
  3389. erms3.QryAuditContractRsp:
  3390. properties:
  3391. accountid:
  3392. description: 交易员ID
  3393. type: string
  3394. applystatus:
  3395. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3396. type: integer
  3397. curdeliveryqty:
  3398. description: 未交收量
  3399. type: integer
  3400. customername:
  3401. description: 采购方ID
  3402. type: string
  3403. deliverygoodsid:
  3404. description: 品种ID
  3405. type: string
  3406. deliveryqty:
  3407. description: 交收量
  3408. type: integer
  3409. enumdicname:
  3410. description: 单位名称
  3411. type: string
  3412. matchaccountid:
  3413. description: 业务员ID
  3414. type: string
  3415. matchcustomername:
  3416. description: 销售方ID
  3417. type: string
  3418. pricedqty:
  3419. description: 定价量
  3420. type: number
  3421. signdate:
  3422. description: 签订日期
  3423. type: string
  3424. spotcontractid:
  3425. description: 合同ID
  3426. type: string
  3427. totaldqty:
  3428. description: 合同量
  3429. type: number
  3430. unpricedqty:
  3431. description: 未定价量
  3432. type: number
  3433. wrstandardname:
  3434. description: 商品名称
  3435. type: string
  3436. required:
  3437. - matchcustomername
  3438. - spotcontractid
  3439. type: object
  3440. erms3.QryPendingBizRsp:
  3441. properties:
  3442. accountid:
  3443. description: 现货账户
  3444. type: string
  3445. areaname:
  3446. description: 所属部门
  3447. type: string
  3448. bizid:
  3449. description: 业务ID
  3450. type: string
  3451. bizname:
  3452. description: 业务名称
  3453. type: string
  3454. status:
  3455. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3456. type: integer
  3457. type:
  3458. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3459. type: integer
  3460. type: object
  3461. erms3.QueryBusinessInfoRsp:
  3462. properties:
  3463. businessid:
  3464. description: 业务ID.
  3465. type: integer
  3466. buyamount:
  3467. description: 采购额.
  3468. type: number
  3469. buyqty:
  3470. description: 采购量.
  3471. type: string
  3472. futurepl:
  3473. description: 期货盈亏.
  3474. type: number
  3475. futureqty:
  3476. description: 期货敞口.
  3477. type: string
  3478. goodsid:
  3479. description: 商品名称/商品代码.
  3480. type: string
  3481. hedgingqty:
  3482. description: 套保量.
  3483. type: string
  3484. sellamount:
  3485. description: 销售额.
  3486. type: number
  3487. sellqty:
  3488. description: 销售量.
  3489. type: string
  3490. spotmarketvalue:
  3491. description: 现货市值.
  3492. type: number
  3493. spotpl:
  3494. description: 浮动权益.
  3495. type: number
  3496. spotqty:
  3497. description: 现货量.
  3498. type: string
  3499. statu:
  3500. description: 状态,0-未结束 1-已结束.
  3501. type: integer
  3502. totalpl:
  3503. description: 总盈亏.
  3504. type: number
  3505. totalqty:
  3506. description: 总敞口.
  3507. type: string
  3508. type:
  3509. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3510. type: integer
  3511. type: object
  3512. erms3.QuerySpotContractAppleFormRsp:
  3513. properties:
  3514. goodses:
  3515. description: 合约列表
  3516. items:
  3517. $ref: '#/definitions/models.GoodsIDAndName'
  3518. type: array
  3519. oppositeusers:
  3520. description: 对方账号列表
  3521. items:
  3522. $ref: '#/definitions/erms3.CustomerInfo'
  3523. type: array
  3524. ouruser:
  3525. $ref: '#/definitions/erms3.CustomerInfo'
  3526. description: 我方账号
  3527. warehouseinfos:
  3528. description: 仓库信息列表
  3529. items:
  3530. $ref: '#/definitions/models.Warehouseinfo'
  3531. type: array
  3532. wrstandards:
  3533. description: 仓单标准列表
  3534. items:
  3535. $ref: '#/definitions/models.WRStandardInfo'
  3536. type: array
  3537. type: object
  3538. erms3.QuerySpotContractInfoRsp:
  3539. properties:
  3540. accountid:
  3541. description: 表示交易员ID.
  3542. type: integer
  3543. curdeliveryqty:
  3544. description: 表示未交收量.
  3545. type: number
  3546. customername:
  3547. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3548. type: string
  3549. deliverygoodsid:
  3550. description: 表示品种ID.
  3551. type: string
  3552. deliveryqty:
  3553. description: 表示交收量.
  3554. type: number
  3555. matchaccountid:
  3556. description: 表示业务员ID.
  3557. type: integer
  3558. matchcustomername:
  3559. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3560. type: string
  3561. priceqty:
  3562. description: 表示定价量.
  3563. type: number
  3564. relatedbizid:
  3565. description: 表示业务ID.
  3566. type: string
  3567. signdate:
  3568. description: 表示签订日期.
  3569. type: string
  3570. spotcontractid:
  3571. description: 合同ID
  3572. type: string
  3573. status:
  3574. description: 表示状态,0-履约中 1-已完成.
  3575. type: integer
  3576. totalqty:
  3577. description: 表示合同量.
  3578. type: number
  3579. unpricedqty:
  3580. description: 表示未定价量.
  3581. type: number
  3582. wrstandardname:
  3583. description: 表示商品ID.
  3584. type: string
  3585. type: object
  3586. erms3.QueryUserInfoAppliesRsp:
  3587. properties:
  3588. biznature:
  3589. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3590. type: integer
  3591. contactname:
  3592. description: 联系人
  3593. type: string
  3594. createtime:
  3595. description: 开户申请时间
  3596. type: string
  3597. userid:
  3598. description: 用户ID(自增ID)
  3599. type: integer
  3600. userinfotype:
  3601. description: 用户信息类型 - 1:个人 2:企业
  3602. type: integer
  3603. username:
  3604. description: 用户姓名
  3605. type: string
  3606. userstate:
  3607. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3608. type: integer
  3609. required:
  3610. - userid
  3611. type: object
  3612. erms3.QueryUserInfosRsp:
  3613. properties:
  3614. biznature:
  3615. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3616. type: integer
  3617. contactname:
  3618. description: 联系人
  3619. type: string
  3620. customername:
  3621. description: 客户名称(企业名称)
  3622. type: string
  3623. userid:
  3624. description: 用户ID
  3625. type: integer
  3626. userinfotype:
  3627. description: 用户信息类型 - 1:个人 2:企业
  3628. type: integer
  3629. userstatus:
  3630. description: 用户状态 - 1:正常 2:注销
  3631. type: integer
  3632. required:
  3633. - userid
  3634. type: object
  3635. erms3.SoptContractDetail:
  3636. properties:
  3637. deliverygoodsdesc:
  3638. description: 现货品种说明
  3639. type: string
  3640. deliverygoodsid:
  3641. description: 现货品种ID
  3642. type: integer
  3643. deliverygoodsname:
  3644. description: 现货品种名称
  3645. type: string
  3646. pointdesc:
  3647. description: 点价描述
  3648. type: string
  3649. producttype:
  3650. description: 产品类型 1:标准仓单 2:等标 3:非标
  3651. type: integer
  3652. producttypename:
  3653. description: 产品类型名称
  3654. type: string
  3655. spotPointOrderVoList:
  3656. description: 点价列表
  3657. items:
  3658. $ref: '#/definitions/erms3.SpotPointOrder'
  3659. type: array
  3660. spotPriceOrderList:
  3661. description: 定价列表
  3662. items:
  3663. $ref: '#/definitions/erms3.SpotPriceOrder'
  3664. type: array
  3665. unitname:
  3666. description: 单位名称
  3667. type: string
  3668. warehouseid:
  3669. description: 仓库ID
  3670. type: integer
  3671. warehousename:
  3672. description: 仓库名称
  3673. type: string
  3674. wrstandardid:
  3675. description: 交易标的ID
  3676. type: integer
  3677. wrstandardname:
  3678. description: 交易标的名称
  3679. type: string
  3680. required:
  3681. - deliverygoodsid
  3682. - producttype
  3683. - unitname
  3684. - warehouseid
  3685. - wrstandardid
  3686. - wrstandardname
  3687. type: object
  3688. erms3.SpotPointOrder:
  3689. properties:
  3690. basic:
  3691. description: 基差
  3692. type: number
  3693. deliveryenddate:
  3694. description: 交收结束日期
  3695. type: string
  3696. deliverystartdate:
  3697. description: 交收开始日期
  3698. type: string
  3699. enddate:
  3700. description: 点价结束日期
  3701. type: string
  3702. goodsid:
  3703. description: 商品ID
  3704. type: integer
  3705. goodsname:
  3706. description: 商品名称
  3707. type: string
  3708. qty:
  3709. description: 数量
  3710. type: number
  3711. startdate:
  3712. description: 点价开始日期
  3713. type: string
  3714. required:
  3715. - basic
  3716. - goodsid
  3717. - qty
  3718. type: object
  3719. erms3.SpotPriceOrder:
  3720. properties:
  3721. amount:
  3722. description: 金额
  3723. type: number
  3724. deliveryenddate:
  3725. description: 交收结束日期
  3726. type: string
  3727. deliverystartdate:
  3728. description: 交收开始日期
  3729. type: string
  3730. price:
  3731. description: 价格
  3732. type: number
  3733. qty:
  3734. description: 数量
  3735. type: number
  3736. required:
  3737. - amount
  3738. - price
  3739. - qty
  3740. type: object
  3741. hsby.GetHsbyMyCountRsp:
  3742. properties:
  3743. myCouponCount:
  3744. description: 我的优惠卷数量
  3745. type: integer
  3746. myOrderDetailListingCount:
  3747. description: 我的订单求购中数量
  3748. type: integer
  3749. myOrderDetailPreCount:
  3750. description: 我的订单抢购中数量
  3751. type: integer
  3752. myPackageUnReceiveCount:
  3753. description: 我的包裹待收货数量
  3754. type: integer
  3755. myPackageUnSendCount:
  3756. description: 我的包裹待发货数量
  3757. type: integer
  3758. myPayOrderCount:
  3759. description: 我的订单待付款数量
  3760. type: integer
  3761. type: object
  3762. hsby.QueryProvincesAndCitiesRsp:
  3763. properties:
  3764. cities:
  3765. description: 市
  3766. items:
  3767. $ref: '#/definitions/models.Division'
  3768. type: array
  3769. province:
  3770. $ref: '#/definitions/models.Division'
  3771. description: 省
  3772. type: object
  3773. models.Arearole:
  3774. properties:
  3775. createtime:
  3776. description: 创建时间
  3777. type: string
  3778. creatorid:
  3779. description: 创建人ID
  3780. type: integer
  3781. fromuserid:
  3782. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3783. type: integer
  3784. isreturnscore:
  3785. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3786. type: integer
  3787. modifierid:
  3788. description: 修改人ID
  3789. type: integer
  3790. modifytime:
  3791. description: 修改时间
  3792. type: string
  3793. orgtype:
  3794. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3795. type: integer
  3796. outuserid:
  3797. description: 外部账户[场外期权做市商]
  3798. type: string
  3799. parentuserid:
  3800. description: 上级组织机构(组织机构)
  3801. type: integer
  3802. roletype:
  3803. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3804. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3805. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3806. type: integer
  3807. rootuserid:
  3808. description: 顶级组织机构用户ID(组织机构)
  3809. type: integer
  3810. shoppassword:
  3811. description: 商城店铺登陆密码(商城店铺角色使用)
  3812. type: string
  3813. sublevelpath:
  3814. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3815. type: string
  3816. suborgtype:
  3817. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3818. type: integer
  3819. tradeaccountid:
  3820. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3821. type: integer
  3822. transurl:
  3823. description: 物流地址(物流机构)
  3824. type: string
  3825. userid:
  3826. description: 机构用户ID其他做市关系,都设置为 1
  3827. type: integer
  3828. required:
  3829. - roletype
  3830. - userid
  3831. type: object
  3832. models.Clientfixedadconfig:
  3833. properties:
  3834. adsort:
  3835. description: 排序
  3836. type: integer
  3837. adtype:
  3838. description: 广告位类型 - 1:新品抢购(HSBY)
  3839. type: integer
  3840. areauserid:
  3841. description: 所属机构ID
  3842. type: integer
  3843. createdate:
  3844. description: 创建时间
  3845. type: string
  3846. creatorid:
  3847. description: 创建人
  3848. type: integer
  3849. imagepath:
  3850. description: 图片
  3851. type: string
  3852. isshow:
  3853. description: 是否展示 - 0:不展示 1:展示
  3854. type: integer
  3855. modifierid:
  3856. description: 操作人
  3857. type: integer
  3858. recsize:
  3859. description: 推荐尺寸
  3860. type: string
  3861. title:
  3862. description: 标题
  3863. type: string
  3864. updatedate:
  3865. description: 更新时间
  3866. type: string
  3867. urlcontent:
  3868. description: 链接(地址或商品ID)
  3869. type: string
  3870. urltype:
  3871. description: 链接类型 - 1:直接地址 2:商品ID
  3872. type: integer
  3873. required:
  3874. - adsort
  3875. - adtype
  3876. type: object
  3877. models.DgFactoryItem:
  3878. properties:
  3879. dgfactoryitemid:
  3880. description: 选择项ID(SEQ_DGFACTORYITEM)
  3881. type: integer
  3882. dgfactoryitemtypeid:
  3883. description: 要素项类型
  3884. type: integer
  3885. dgfactoryitemvalue:
  3886. description: 要素项值(类型为仓库时填写仓库名称)
  3887. type: string
  3888. orderindex:
  3889. description: 顺序
  3890. type: integer
  3891. type: object
  3892. models.Division:
  3893. properties:
  3894. autoid:
  3895. description: 自增ID
  3896. type: integer
  3897. divisioncode:
  3898. description: 行政代码
  3899. type: string
  3900. divisionlevel:
  3901. description: 行政级别
  3902. type: string
  3903. divisionname:
  3904. description: 行政名称
  3905. type: string
  3906. modifierid:
  3907. description: 修改人
  3908. type: integer
  3909. modifytime:
  3910. description: 修改时间
  3911. type: string
  3912. parentcode:
  3913. description: 上级行政代码
  3914. type: string
  3915. pathname:
  3916. description: 路径名称
  3917. type: string
  3918. postcode:
  3919. description: 邮政编码
  3920. type: string
  3921. separablename:
  3922. description: 可拆分的全称
  3923. type: string
  3924. shortcode:
  3925. description: 地区简码
  3926. type: string
  3927. required:
  3928. - autoid
  3929. - divisioncode
  3930. type: object
  3931. models.Enumdicitem:
  3932. properties:
  3933. autoid:
  3934. description: 自增ID
  3935. type: integer
  3936. bankmappedvalue:
  3937. description: 银行服务对应值
  3938. type: string
  3939. enumdiccode:
  3940. description: 所属枚举代码
  3941. type: string
  3942. enumdicid:
  3943. description: 所属枚举ID
  3944. type: integer
  3945. enumdicname:
  3946. description: 枚举项名称
  3947. type: string
  3948. enumitemname:
  3949. description: 枚举项值
  3950. type: integer
  3951. enumitemstatus:
  3952. description: 枚举项状态 - 1.启用 2.不启用
  3953. type: integer
  3954. enumitemvalue:
  3955. description: 通用值 - [币种通用简写]
  3956. type: string
  3957. param1:
  3958. description: 参数1[币种:币种小数位]
  3959. type: string
  3960. param2:
  3961. description: 参数1[币种:币种显示单位]
  3962. type: string
  3963. remark:
  3964. description: 备注
  3965. type: string
  3966. required:
  3967. - autoid
  3968. - enumdiccode
  3969. - enumdicid
  3970. - enumitemname
  3971. type: object
  3972. models.Ermcp2hedgeditem:
  3973. properties:
  3974. accountName:
  3975. description: 套期主体
  3976. type: string
  3977. applyid:
  3978. description: 申请人
  3979. type: integer
  3980. applysrc:
  3981. description: 申请来源 - 1:管理端 2:终端
  3982. type: integer
  3983. areauserid:
  3984. description: 企业ID
  3985. type: integer
  3986. auditid:
  3987. description: 审核人
  3988. type: integer
  3989. auditremark:
  3990. description: 审核备注
  3991. type: string
  3992. auditsrc:
  3993. description: 审核来源 - 1:管理端 2:终端
  3994. type: integer
  3995. audittime:
  3996. description: 审核时间
  3997. type: string
  3998. audittradedate:
  3999. description: 审核交易日(yyyyMMdd)
  4000. type: string
  4001. createtime:
  4002. description: 申请时间
  4003. type: string
  4004. curprice:
  4005. description: 当前市场价
  4006. type: number
  4007. curstock:
  4008. description: 期末库存量 = 采购总量 - 销售总量
  4009. type: number
  4010. deliverygoodsid:
  4011. description: 现货品种ID
  4012. type: integer
  4013. enddate:
  4014. description: 完成日期
  4015. type: string
  4016. endtradedate:
  4017. description: 完成交易日
  4018. type: string
  4019. enumdicname:
  4020. description: 单位
  4021. type: string
  4022. exeamount:
  4023. description: 执行市价总额
  4024. type: number
  4025. exeavgprice:
  4026. description: 执行市场均价= 执行市价总额 / 执行现货量
  4027. type: number
  4028. execontractamount:
  4029. description: 执行定价总额
  4030. type: number
  4031. exeqty:
  4032. description: 执行现货量
  4033. type: number
  4034. exerestamount:
  4035. description: 执行剩余市价总额【现货贸易】
  4036. type: number
  4037. futurefloatpl:
  4038. description: 期货浮动损益
  4039. type: number
  4040. futurehedgepl:
  4041. description: 期货实际损益
  4042. type: number
  4043. futurehedgeplchange:
  4044. description: 期货实际损益变动
  4045. type: number
  4046. futurepl:
  4047. description: 期货套期损益
  4048. type: number
  4049. futureplchange:
  4050. description: 期货套期损益变动
  4051. type: number
  4052. hedgeamount:
  4053. description: 套期市价总额
  4054. type: number
  4055. hedgecontractamount:
  4056. description: 套期定价总额 【定价采购合同】【现货贸易】
  4057. type: number
  4058. hedgeditemid:
  4059. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4060. type: string
  4061. hedgeditemname:
  4062. description: 项目名称
  4063. type: string
  4064. hedgeditemnum:
  4065. description: 项目编号
  4066. type: string
  4067. hedgeditemstatus:
  4068. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4069. type: integer
  4070. hedgedtype:
  4071. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4072. type: integer
  4073. hedgeqty:
  4074. description: 套期现货量
  4075. type: number
  4076. hedgerate:
  4077. description: 套保比率
  4078. type: number
  4079. hedgerestamount:
  4080. description: 套期剩余市价总额【现货贸易】
  4081. type: number
  4082. hedgesumpl:
  4083. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4084. type: number
  4085. middlegoodslist:
  4086. description: 套期商品列表
  4087. items:
  4088. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4089. type: array
  4090. oriavgprice:
  4091. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4092. type: number
  4093. orifuturehedgepl:
  4094. description: 期初期货实际损益
  4095. type: number
  4096. orifuturepl:
  4097. description: 期初期货套期损益
  4098. type: number
  4099. orispothedgepl:
  4100. description: 期初现货实际损益
  4101. type: number
  4102. orispotpl:
  4103. description: 期初现货套期损益
  4104. type: number
  4105. planenddate:
  4106. description: 计划结束日期
  4107. type: string
  4108. planstartdate:
  4109. description: 计划开始日期
  4110. type: string
  4111. remark:
  4112. description: 备注
  4113. type: string
  4114. spotbookamount:
  4115. description: 现货账面总额
  4116. type: number
  4117. spotfloatpl:
  4118. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4119. type: number
  4120. spothedgepl:
  4121. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4122. type: number
  4123. spothedgeplchange:
  4124. description: 现货实际损益变动
  4125. type: number
  4126. spotpl:
  4127. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4128. type: number
  4129. spotplchange:
  4130. description: 现货套期损益变动
  4131. type: number
  4132. spottradepl:
  4133. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4134. type: number
  4135. sumobspl:
  4136. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4137. type: number
  4138. tradeuserid:
  4139. description: 交易用户ID
  4140. type: integer
  4141. unexeqty:
  4142. description: 未执行现货量 = 套期现货量 - 执行现货量
  4143. type: number
  4144. updatetime:
  4145. description: 更新时间
  4146. type: string
  4147. vatpl:
  4148. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4149. type: number
  4150. vatrate:
  4151. description: 增值税
  4152. type: number
  4153. wrstandardid:
  4154. description: 现货商品ID
  4155. type: integer
  4156. wrstandardname:
  4157. description: 商品名称
  4158. type: string
  4159. type: object
  4160. models.Ermcp2hedgeditemspot:
  4161. properties:
  4162. areauserid:
  4163. description: 企业ID
  4164. type: integer
  4165. createtime:
  4166. description: 创建时间
  4167. type: string
  4168. customeruserid:
  4169. description: 对手方 【3:采购合同 4:销售合同】
  4170. type: integer
  4171. deliverygoodsid:
  4172. description: 现货品种ID
  4173. type: integer
  4174. enumdicname:
  4175. description: 单位
  4176. type: string
  4177. hedgeditemid:
  4178. description: 被套期项目ID
  4179. type: string
  4180. hedgeditemspotid:
  4181. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4182. type: string
  4183. hedgedtype:
  4184. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4185. type: integer
  4186. hedgeplanno:
  4187. description: 计划编号
  4188. type: string
  4189. oriavgprice:
  4190. description: 期初市场价[当初市场价]
  4191. type: number
  4192. relatedamount:
  4193. description: 市价总额 = 关联数量 * 期初市场价
  4194. type: number
  4195. relatedhedgeplanid:
  4196. description: 关联计划ID 【1:采购计划 2:销售计划】
  4197. type: integer
  4198. relatedqty:
  4199. description: 关联数量[数量]
  4200. type: number
  4201. relatedspotcontractid:
  4202. description: 关联合同ID 【3:采购合同 4:销售合同】
  4203. type: integer
  4204. relatedtype:
  4205. description: 关联类型 - 1:套期关联 2:执行关联
  4206. type: integer
  4207. spotgoodsbrandid:
  4208. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4209. type: integer
  4210. spotpricedamount:
  4211. description: 定价总额
  4212. type: number
  4213. spotpricedavgprice:
  4214. description: 现货均价 = 定价总额 / 关联数量
  4215. type: number
  4216. spottype:
  4217. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4218. type: integer
  4219. tradeuserid:
  4220. description: 交易用户ID
  4221. type: integer
  4222. wrstandardid:
  4223. description: 现货商品ID
  4224. type: integer
  4225. wrstandardname:
  4226. description: 现货商品
  4227. type: string
  4228. required:
  4229. - hedgeditemid
  4230. type: object
  4231. models.Ermcp2hedgeditemspotDetail:
  4232. properties:
  4233. accountName:
  4234. description: 对手方
  4235. type: string
  4236. areauserid:
  4237. description: 企业ID
  4238. type: integer
  4239. brandname:
  4240. description: 品牌
  4241. type: string
  4242. contractno:
  4243. description: 合同编号
  4244. type: string
  4245. createtime:
  4246. description: 创建时间
  4247. type: string
  4248. customeruserid:
  4249. description: 对手方 【3:采购合同 4:销售合同】
  4250. type: integer
  4251. deliverygoodsid:
  4252. description: 现货品种ID
  4253. type: integer
  4254. enumdicname:
  4255. description: 单位
  4256. type: string
  4257. hedgeditemid:
  4258. description: 被套期项目ID
  4259. type: string
  4260. hedgeditemspotid:
  4261. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4262. type: string
  4263. hedgedtype:
  4264. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4265. type: integer
  4266. oriavgprice:
  4267. description: 期初市场价[当初市场价]
  4268. type: number
  4269. relatedamount:
  4270. description: 市价总额 = 关联数量 * 期初市场价
  4271. type: number
  4272. relatedhedgeplanid:
  4273. description: 关联计划ID 【1:采购计划 2:销售计划】
  4274. type: integer
  4275. relatedqty:
  4276. description: 关联数量[数量]
  4277. type: number
  4278. relatedspotcontractid:
  4279. description: 关联合同ID 【3:采购合同 4:销售合同】
  4280. type: integer
  4281. relatedtype:
  4282. description: 关联类型 - 1:套期关联 2:执行关联
  4283. type: integer
  4284. spotgoodsbrandid:
  4285. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4286. type: integer
  4287. spotpricedamount:
  4288. description: 定价总额[金额]
  4289. type: number
  4290. spotpricedavgprice:
  4291. description: 现货均价 = 定价总额 / 关联数量
  4292. type: number
  4293. spottype:
  4294. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4295. type: integer
  4296. tradeuserid:
  4297. description: 交易用户ID
  4298. type: integer
  4299. wrstandardid:
  4300. description: 现货商品ID
  4301. type: integer
  4302. wrstandardname:
  4303. description: 现货商品
  4304. type: string
  4305. required:
  4306. - hedgeditemid
  4307. type: object
  4308. models.Ermcp2himiddlegoods:
  4309. properties:
  4310. futurehedgeqty:
  4311. description: 期货持仓套期量
  4312. type: number
  4313. hedgeditemid:
  4314. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4315. type: integer
  4316. hiexpsoure:
  4317. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4318. type: number
  4319. middlegoodscode:
  4320. description: 套保商品代码
  4321. type: string
  4322. middlegoodsid:
  4323. description: 套保品种ID
  4324. type: integer
  4325. middlegoodsname:
  4326. description: 套保商品名称
  4327. type: string
  4328. unexehedgeqty:
  4329. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4330. type: number
  4331. required:
  4332. - hedgeditemid
  4333. - middlegoodsid
  4334. type: object
  4335. models.Ermcp3AreaSpot:
  4336. properties:
  4337. areauserid:
  4338. description: 所属机构
  4339. type: integer
  4340. convertratio:
  4341. description: 套保系数
  4342. type: number
  4343. decreaseqty:
  4344. description: 减少数量=-(销售已定价数量+采购计划数量)
  4345. type: number
  4346. enumdicname:
  4347. description: 单位名称
  4348. type: string
  4349. increaseqty:
  4350. description: 增加数量=销售计划数量+采购已定价数量
  4351. type: number
  4352. oritoalspotqty:
  4353. description: 昨日数量
  4354. type: number
  4355. totalspotqty:
  4356. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4357. type: number
  4358. unitid:
  4359. description: 现货商品单位id
  4360. type: integer
  4361. updatetime:
  4362. description: 更新时间
  4363. type: string
  4364. wrstandardcode:
  4365. description: 现货商品代码
  4366. type: string
  4367. wrstandardid:
  4368. description: 现货商品ID(SEQ_WRSTANDARD)
  4369. type: integer
  4370. wrstandardname:
  4371. description: 现货商品名称
  4372. type: string
  4373. type: object
  4374. models.Ermcp3AreaSpotDetail:
  4375. properties:
  4376. contracttype:
  4377. description: 合同类型 1-采购 -1-销售
  4378. type: integer
  4379. createtime:
  4380. description: 创建时间
  4381. type: string
  4382. enumdicname:
  4383. description: 现货商品单位名称
  4384. type: string
  4385. logtype:
  4386. description: 记录类型 1-套保 2-现货合同
  4387. type: integer
  4388. qty:
  4389. description: 数量
  4390. type: number
  4391. recordname:
  4392. description: 类型名称
  4393. type: string
  4394. relatedid:
  4395. description: 套保计划ID/现货合同ID
  4396. type: string
  4397. relatedno:
  4398. description: 编号
  4399. type: string
  4400. strtime:
  4401. description: 时间
  4402. type: string
  4403. wrstandardcode:
  4404. description: 现货商品代码
  4405. type: string
  4406. wrstandardid:
  4407. description: 现货商品ID(SEQ_WRSTANDARD)
  4408. type: integer
  4409. wrstandardname:
  4410. description: 现货商品名称
  4411. type: string
  4412. type: object
  4413. models.Ermcp3AreaSpotPLReport:
  4414. properties:
  4415. accountid:
  4416. description: 期货账户ID (作废, 默认为0)
  4417. type: integer
  4418. accountname:
  4419. description: 机构名称
  4420. type: string
  4421. actualpl:
  4422. description: 现货损益
  4423. type: number
  4424. areauserid:
  4425. description: 所属机构\交易用户ID
  4426. type: integer
  4427. begindate:
  4428. description: 开始交易日
  4429. type: string
  4430. biztype:
  4431. description: 业务类型 - 1:套保 2:套利
  4432. type: integer
  4433. brandname:
  4434. description: 品牌名称
  4435. type: string
  4436. curamount:
  4437. description: 期末额
  4438. type: number
  4439. curaverageprice:
  4440. description: 期末均价
  4441. type: number
  4442. curbuyamount:
  4443. description: 期末采购总额
  4444. type: number
  4445. curbuyqty:
  4446. description: 期末采购总量
  4447. type: number
  4448. curmarketvalue:
  4449. description: 参考市值(期末市值)
  4450. type: number
  4451. curqty:
  4452. description: 期末量
  4453. type: number
  4454. currencyid:
  4455. description: 结算币种ID【原值】
  4456. type: integer
  4457. currencyname:
  4458. description: 币种名称
  4459. type: string
  4460. cursellamount:
  4461. description: 期末销售总额
  4462. type: number
  4463. cursellqty:
  4464. description: 期末销售总量
  4465. type: number
  4466. curspotprice:
  4467. description: 参考市价(最新价)
  4468. type: number
  4469. cycletime:
  4470. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4471. type: string
  4472. cycletype:
  4473. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4474. type: integer
  4475. deliverygoodscode:
  4476. description: 现货品种代码
  4477. type: string
  4478. deliverygoodsid:
  4479. description: 现货品种ID
  4480. type: integer
  4481. deliverygoodsname:
  4482. description: 现货品种名称
  4483. type: string
  4484. enddate:
  4485. description: 结束交易日
  4486. type: string
  4487. enumdicname:
  4488. description: 现货品种单位名称(作废)
  4489. type: string
  4490. floatpl:
  4491. description: 浮动损益
  4492. type: number
  4493. goodsunitid:
  4494. description: 现货品种单位id(作废)
  4495. type: integer
  4496. oriamount:
  4497. description: 期初额
  4498. type: number
  4499. oriaverageprice:
  4500. description: 期初均价
  4501. type: number
  4502. oribuyamount:
  4503. description: 期初采购总额
  4504. type: number
  4505. oribuyqty:
  4506. description: 期初采购总量
  4507. type: number
  4508. oriqty:
  4509. description: 期初量
  4510. type: number
  4511. orisellamount:
  4512. description: 期初销售总额
  4513. type: number
  4514. orisellqty:
  4515. description: 期初销售总量
  4516. type: number
  4517. reckondate:
  4518. description: 日照时期(yyyyMMdd)
  4519. type: string
  4520. spotgoodsbrandid:
  4521. description: 现货品牌ID
  4522. type: integer
  4523. todaybuyamount:
  4524. description: 今日采购额(今采购额)
  4525. type: number
  4526. todaybuyaverageprice:
  4527. description: 今日采购均价
  4528. type: number
  4529. todaybuyqty:
  4530. description: 今日采购量(今采购量)
  4531. type: number
  4532. todayinqty:
  4533. description: 今日入库量(今入库量)
  4534. type: number
  4535. todayoutqty:
  4536. description: 今日出库量(今出库量)
  4537. type: number
  4538. todaysellamount:
  4539. description: 今日销售额(今销售额)
  4540. type: number
  4541. todaysellaverageprice:
  4542. description: 今日销售均价
  4543. type: number
  4544. todaysellqty:
  4545. description: 今日销售量(今销售量)
  4546. type: number
  4547. unitid:
  4548. description: 品类单位id
  4549. type: integer
  4550. unitidname:
  4551. description: 品类单位名称
  4552. type: string
  4553. updatetime:
  4554. description: 更新时间
  4555. type: string
  4556. wrfactortypeid:
  4557. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4558. type: integer
  4559. wrstandardcode:
  4560. description: 现货商品(品类)代码
  4561. type: string
  4562. wrstandardid:
  4563. description: 现货品类ID
  4564. type: integer
  4565. wrstandardname:
  4566. description: 现货商品(品类)名称
  4567. type: string
  4568. type: object
  4569. models.Ermcp3AreaStock:
  4570. properties:
  4571. brandname:
  4572. description: 品牌名称
  4573. type: string
  4574. curstock:
  4575. description: 期末库存量(今日量)
  4576. type: number
  4577. deliverygoodscode:
  4578. description: 现货品种代码
  4579. type: string
  4580. deliverygoodsid:
  4581. description: 现货品种id
  4582. type: integer
  4583. deliverygoodsname:
  4584. description: 现货品种名称
  4585. type: string
  4586. enumdicname:
  4587. description: 单位名称
  4588. type: string
  4589. goodsunitid:
  4590. description: 现货商品单位id
  4591. type: integer
  4592. oristock:
  4593. description: 期初库存量(昨日量)
  4594. type: number
  4595. spotgoodsbrandid:
  4596. description: 现货品牌ID
  4597. type: integer
  4598. todaybuyinqty:
  4599. description: 今日采购入库量
  4600. type: number
  4601. todayproduceinqty:
  4602. description: 今日生产入库量
  4603. type: number
  4604. todayproduceoutqty:
  4605. description: 今日生产出库量
  4606. type: number
  4607. todayselloutqty:
  4608. description: 今日销售出库量
  4609. type: number
  4610. unitid:
  4611. description: 单位id
  4612. type: integer
  4613. updatetime:
  4614. description: 更新时间
  4615. type: string
  4616. userid:
  4617. description: 机构ID
  4618. type: integer
  4619. username:
  4620. description: 机构名称
  4621. type: string
  4622. warehousecode:
  4623. description: 仓库代码
  4624. type: string
  4625. warehouseinfoid:
  4626. description: 仓库ID
  4627. type: string
  4628. warehousename:
  4629. description: 仓库名称
  4630. type: string
  4631. warehousetype:
  4632. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4633. type: integer
  4634. wrstandardcode:
  4635. description: 品类代码
  4636. type: string
  4637. wrstandardid:
  4638. description: 品类ID
  4639. type: string
  4640. wrstandardname:
  4641. description: 品类名称
  4642. type: string
  4643. required:
  4644. - userid
  4645. type: object
  4646. models.Ermcp3AreaStockApply:
  4647. properties:
  4648. applyid:
  4649. description: 申请人
  4650. type: integer
  4651. applyname:
  4652. description: 申请人名称
  4653. type: string
  4654. applyremark:
  4655. description: 申请备注
  4656. type: string
  4657. applysrc:
  4658. description: 申请来源 - 1:管理端 2:终端
  4659. type: integer
  4660. applystatus:
  4661. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4662. type: integer
  4663. applytime:
  4664. description: 申请时间
  4665. type: string
  4666. auditid:
  4667. description: 审核人
  4668. type: integer
  4669. auditname:
  4670. description: 审核人名称
  4671. type: string
  4672. auditremark:
  4673. description: 审核备注
  4674. type: string
  4675. auditsrc:
  4676. description: 审核来源 - 1:管理端 2:终端
  4677. type: integer
  4678. audittime:
  4679. description: 审核时间
  4680. type: string
  4681. audittradedate:
  4682. description: 审核交易日(yyyyMMdd)
  4683. type: string
  4684. brandname:
  4685. description: 品牌名称
  4686. type: string
  4687. buynickname:
  4688. description: 采购方昵称
  4689. type: string
  4690. buyuserid:
  4691. description: 采购方userid
  4692. type: integer
  4693. buyusername:
  4694. description: 采购方名称
  4695. type: string
  4696. contractno:
  4697. description: 合同编号
  4698. type: string
  4699. contractqty:
  4700. description: 合同量
  4701. type: number
  4702. contracttype:
  4703. description: 现货合同类型 - 1:采购 -1:销售
  4704. type: integer
  4705. deliverygoodscode:
  4706. description: 现货品种代码
  4707. type: string
  4708. deliverygoodsid:
  4709. description: 现货品种id
  4710. type: integer
  4711. deliverygoodsname:
  4712. description: 现货品种名称
  4713. type: string
  4714. detailjson:
  4715. description: 明细数据
  4716. type: string
  4717. enumdicname:
  4718. description: 现货商品单位名称
  4719. type: string
  4720. inoutapplyid:
  4721. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4722. type: string
  4723. inouttype:
  4724. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4725. type: integer
  4726. pricetype:
  4727. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4728. type: integer
  4729. qty:
  4730. description: 数量
  4731. type: number
  4732. sellnickname:
  4733. description: 销售方昵称
  4734. type: string
  4735. selluserid:
  4736. description: 销售方userid
  4737. type: integer
  4738. sellusername:
  4739. description: 销售方名称
  4740. type: string
  4741. spotcontractid:
  4742. description: 关联现货合同ID
  4743. type: string
  4744. spotgoodsbrandid:
  4745. description: 现货品牌ID
  4746. type: integer
  4747. unitid:
  4748. description: 单位id
  4749. type: integer
  4750. userid:
  4751. description: 机构ID
  4752. type: integer
  4753. warehousecode:
  4754. description: 仓库代码
  4755. type: string
  4756. warehouseinfoid:
  4757. description: 现货仓库ID
  4758. type: string
  4759. warehousename:
  4760. description: 仓库名称
  4761. type: string
  4762. warehousetype:
  4763. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4764. type: integer
  4765. wrstandardcode:
  4766. description: 品类代码
  4767. type: string
  4768. wrstandardid:
  4769. description: 品类ID
  4770. type: integer
  4771. wrstandardname:
  4772. description: 品类名称
  4773. type: string
  4774. type: object
  4775. models.Ermcp3AreaStockApplySum:
  4776. properties:
  4777. brandname:
  4778. description: 品牌名称
  4779. type: string
  4780. inouttype:
  4781. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4782. type: integer
  4783. spotcontractid:
  4784. description: 关联现货合同ID
  4785. type: string
  4786. spotgoodsbrandid:
  4787. description: 品牌id
  4788. type: integer
  4789. totalqty:
  4790. description: 总数量
  4791. type: number
  4792. wrstandardid:
  4793. description: 品类id
  4794. type: integer
  4795. wrstandardname:
  4796. description: 品类名称
  4797. type: string
  4798. type: object
  4799. models.Ermcp3AreaStockReportEx:
  4800. properties:
  4801. begindate:
  4802. description: 开始交易日
  4803. type: string
  4804. brandname:
  4805. description: 品牌名称
  4806. type: string
  4807. curstock:
  4808. description: 期末库存量
  4809. type: number
  4810. cycletime:
  4811. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4812. type: string
  4813. cycletype:
  4814. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4815. type: integer
  4816. deliverygoodscode:
  4817. description: 现货品种代码
  4818. type: string
  4819. deliverygoodsid:
  4820. description: 现货品种id
  4821. type: integer
  4822. deliverygoodsname:
  4823. description: 现货品种名称
  4824. type: string
  4825. diffqty:
  4826. description: 库存变化量 = 期末 - 期初
  4827. type: number
  4828. enddate:
  4829. description: 结束交易日
  4830. type: string
  4831. enumdicname:
  4832. description: 单位名称
  4833. type: string
  4834. goodsunitid:
  4835. description: 现货单位id
  4836. type: integer
  4837. oristock:
  4838. description: 期初库存量
  4839. type: number
  4840. reckondate:
  4841. description: 日照时期(yyyyMMdd)
  4842. type: string
  4843. spotgoodsbrandid:
  4844. description: 现货品牌ID
  4845. type: integer
  4846. todaybuyinqty:
  4847. description: 今采购入库量
  4848. type: number
  4849. todayproduceinqty:
  4850. description: 今内部入库量
  4851. type: number
  4852. todayproduceoutqty:
  4853. description: 今内部出库量
  4854. type: number
  4855. todayselloutqty:
  4856. description: 今销售出库量
  4857. type: number
  4858. unbuyinqty:
  4859. description: 采购未入库量(数据库未找到相关字段?)
  4860. type: number
  4861. unitid:
  4862. description: 品类单位id
  4863. type: integer
  4864. unselloutqty:
  4865. description: 销售未出库量(数据库未找到相关字段?)
  4866. type: number
  4867. updatetime:
  4868. description: 更新时间
  4869. type: string
  4870. userid:
  4871. description: 机构ID
  4872. type: integer
  4873. username:
  4874. description: 机构名称
  4875. type: string
  4876. warehousecode:
  4877. description: 仓库代码
  4878. type: string
  4879. warehouseinfoid:
  4880. description: 仓库ID
  4881. type: string
  4882. warehousename:
  4883. description: 仓库名称
  4884. type: string
  4885. warehousetype:
  4886. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4887. type: integer
  4888. wrstandardcode:
  4889. description: 品类代码
  4890. type: string
  4891. wrstandardid:
  4892. description: 品类ID
  4893. type: integer
  4894. wrstandardname:
  4895. description: 品类名称
  4896. type: string
  4897. type: object
  4898. models.Ermcp3ArealSumPL:
  4899. properties:
  4900. accountname:
  4901. description: 机构名称
  4902. type: string
  4903. areauserid:
  4904. description: 所属机构\交易用户ID
  4905. type: integer
  4906. begindate:
  4907. description: 开始交易日
  4908. type: string
  4909. currencyid:
  4910. description: 结算币种ID
  4911. type: integer
  4912. currencyname:
  4913. description: 币种名称
  4914. type: string
  4915. cycletime:
  4916. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4917. type: string
  4918. cycletype:
  4919. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4920. type: integer
  4921. enddate:
  4922. description: 结束交易日
  4923. type: string
  4924. enumdicname:
  4925. description: 单位名称(套保品种)
  4926. type: string
  4927. futureactualpl:
  4928. description: 期货损益
  4929. type: number
  4930. futurefloatpl:
  4931. description: 期货浮动损益
  4932. type: number
  4933. futurespotratio:
  4934. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4935. type: number
  4936. goodsunitid:
  4937. description: 套保品种单位id
  4938. type: integer
  4939. hedgeexposurepl:
  4940. description: 套保敞口损益
  4941. type: number
  4942. middlegoodscode:
  4943. description: 套保品种代码
  4944. type: string
  4945. middlegoodsid:
  4946. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4947. type: integer
  4948. middlegoodsname:
  4949. description: 套保品种名称
  4950. type: string
  4951. reckondate:
  4952. description: 日照时期(yyyyMMdd)
  4953. type: string
  4954. spotactualpl:
  4955. description: 现货损益
  4956. type: number
  4957. spotfloatpl:
  4958. description: 现货浮动损益
  4959. type: number
  4960. sumactualpl:
  4961. description: 实际损益 = (ActualPL + FutureActualPL)
  4962. type: number
  4963. sumpl:
  4964. description: 总敞口损益 | 汇总损益
  4965. type: number
  4966. totalfutureqty:
  4967. description: 期货头寸总量
  4968. type: number
  4969. totalneedhedgeqty:
  4970. description: 应套保总量
  4971. type: number
  4972. totalspotqty:
  4973. description: 现货头寸总量
  4974. type: number
  4975. updatetime:
  4976. description: 更新时间
  4977. type: string
  4978. type: object
  4979. models.Ermcp3Brand:
  4980. properties:
  4981. areauserid:
  4982. description: 用户id
  4983. type: integer
  4984. brandid:
  4985. description: 品牌id
  4986. type: integer
  4987. brandname:
  4988. description: 品牌名称
  4989. type: string
  4990. deliverygoodsid:
  4991. description: 品种ID
  4992. type: integer
  4993. isvalid:
  4994. description: 是否有效
  4995. type: integer
  4996. type: object
  4997. models.Ermcp3Contract:
  4998. properties:
  4999. accountid:
  5000. description: 期货账户id
  5001. type: string
  5002. amount:
  5003. description: 金额 [1:一口价、3:暂定价]
  5004. type: number
  5005. attachment:
  5006. description: 附件
  5007. type: string
  5008. auditremark:
  5009. description: 审核意见
  5010. type: string
  5011. audittime:
  5012. description: 审核时间
  5013. type: string
  5014. biztype:
  5015. description: 业务类型 1-套保 2-套利
  5016. type: integer
  5017. brandname:
  5018. description: 品牌名称
  5019. type: string
  5020. buynickname:
  5021. description: 销售方昵称
  5022. type: string
  5023. buyuserid:
  5024. description: 采购方ID
  5025. type: integer
  5026. buyusername:
  5027. description: 采购方名称
  5028. type: string
  5029. contracctstatus:
  5030. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5031. type: integer
  5032. contractmargin:
  5033. description: 合同保证金
  5034. type: number
  5035. contractno:
  5036. description: 现货合同编号
  5037. type: string
  5038. contracttype:
  5039. description: 现货合同类型 - 1:采购 -1:销售
  5040. type: integer
  5041. convertfactor:
  5042. description: 标仓系数(品类)
  5043. type: number
  5044. createtime:
  5045. description: 创建时间
  5046. type: string
  5047. currencyid:
  5048. description: 币种id
  5049. type: integer
  5050. currencyname:
  5051. description: 币种名称
  5052. type: string
  5053. deliveryenddate:
  5054. description: 交收期(结束)
  5055. type: string
  5056. deliverygoodscode:
  5057. description: 现货品种代码
  5058. type: string
  5059. deliverygoodsid:
  5060. description: 现货品种ID
  5061. type: integer
  5062. deliverygoodsname:
  5063. description: 现货品种名称
  5064. type: string
  5065. deliverystartdate:
  5066. description: 交收期(开始)
  5067. type: string
  5068. enddate:
  5069. description: 点价结束日期 [2:点价 3:暂定价]
  5070. type: string
  5071. enumdicname:
  5072. description: 单位名称
  5073. type: string
  5074. goodscode:
  5075. description: 点价合约代码
  5076. type: string
  5077. goodsid:
  5078. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5079. type: integer
  5080. goodsname:
  5081. description: 点价商品名称
  5082. type: string
  5083. margin:
  5084. description: 当前保证金
  5085. type: number
  5086. meruserid:
  5087. description: 跟单员id
  5088. type: integer
  5089. meruserlogincode:
  5090. description: 跟单员登录代码
  5091. type: string
  5092. merusername:
  5093. description: 跟单员名称
  5094. type: string
  5095. pointdesc:
  5096. description: 点价备注
  5097. type: string
  5098. price:
  5099. description: 价格\暂定价 [1:一口价、3:暂定价]
  5100. type: number
  5101. pricemove:
  5102. description: 升贴水 [2:点价 3:暂定价]
  5103. type: number
  5104. pricetype:
  5105. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5106. type: integer
  5107. producttype:
  5108. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5109. type: integer
  5110. qty:
  5111. description: 数量
  5112. type: number
  5113. remark:
  5114. description: 备注
  5115. type: string
  5116. saleuserid:
  5117. description: 业务员id
  5118. type: integer
  5119. saleuserlogincode:
  5120. description: 业务员登录代码
  5121. type: string
  5122. saleusername:
  5123. description: 业务员名称
  5124. type: string
  5125. sellnickname:
  5126. description: 采购方昵称
  5127. type: string
  5128. selluserid:
  5129. description: 销售方ID
  5130. type: integer
  5131. sellusername:
  5132. description: 销售方名称
  5133. type: string
  5134. spotcontractid:
  5135. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5136. type: string
  5137. spotgoodsbrandid:
  5138. description: 现货品牌ID(DGFactoryItem表的ID)
  5139. type: integer
  5140. spotgoodsdesc:
  5141. description: 商品型号
  5142. type: string
  5143. startdate:
  5144. description: 点价开始日期 [2:点价 3:暂定价]
  5145. type: string
  5146. subjectid:
  5147. description: 交易主体ID
  5148. type: integer
  5149. subjectname:
  5150. description: 交易主体名称
  5151. type: string
  5152. tradeuserid:
  5153. description: 交易员id
  5154. type: integer
  5155. tradeuserlogincode:
  5156. description: 交易员登录代码
  5157. type: string
  5158. tradeusername:
  5159. description: 交易员名称
  5160. type: string
  5161. unitid:
  5162. description: 单位id(取品类上的单位id)
  5163. type: integer
  5164. updatetime:
  5165. description: 更新时间
  5166. type: string
  5167. userid:
  5168. description: 所属机构ID
  5169. type: integer
  5170. vatrate:
  5171. description: 增值税率
  5172. type: number
  5173. wrstandardcode:
  5174. description: 品类代码
  5175. type: string
  5176. wrstandardid:
  5177. description: 品类ID
  5178. type: integer
  5179. wrstandardname:
  5180. description: 品类名称
  5181. type: string
  5182. type: object
  5183. models.Ermcp3ContractMiddleGoodsCfg:
  5184. properties:
  5185. agreeunit:
  5186. description: 合约乘数
  5187. type: number
  5188. convertratio:
  5189. description: 期货品种系数
  5190. type: number
  5191. covertqty:
  5192. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5193. type: integer
  5194. middlegoodsid:
  5195. description: 套保品种ID
  5196. type: integer
  5197. middlegoodspricedqty3:
  5198. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5199. example: "0"
  5200. type: string
  5201. pendingpricedqty:
  5202. description: 待点价量
  5203. example: "0"
  5204. type: string
  5205. relatedmiddlegoodsqty:
  5206. description: 已关联量(套保品种-期货)
  5207. example: "0"
  5208. type: string
  5209. spotcontractid:
  5210. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5211. type: string
  5212. type: object
  5213. models.Ermcp3ExposureContractDetail:
  5214. properties:
  5215. biztype:
  5216. description: 业务类型 1-套保 2-套利
  5217. type: integer
  5218. brandname:
  5219. description: 品牌名称
  5220. type: string
  5221. buyuserid:
  5222. description: 采购方id
  5223. type: integer
  5224. buyusername:
  5225. description: 采购方名称
  5226. type: string
  5227. contractno:
  5228. description: 合同编号
  5229. type: string
  5230. contracttype:
  5231. description: 现货合同类型 - 1:采购 -1:销售
  5232. type: integer
  5233. convertfactor:
  5234. description: 标仓系数
  5235. type: number
  5236. convertratio:
  5237. description: 折算系数(套保品种)
  5238. type: number
  5239. curqty:
  5240. description: 今定价量
  5241. type: number
  5242. deliverygoodscode:
  5243. description: 现货品种代码
  5244. type: string
  5245. deliverygoodsid:
  5246. description: 现货品种id
  5247. type: integer
  5248. deliverygoodsname:
  5249. description: 现货品种名称
  5250. type: string
  5251. diffhedgeqty:
  5252. description: 套保变动量
  5253. type: number
  5254. diffneedhedgeqty:
  5255. description: 应套保变动量
  5256. type: number
  5257. diffqty:
  5258. description: 套保品种今变动量
  5259. type: number
  5260. enumdicname:
  5261. description: 单位名称
  5262. type: string
  5263. mgunitname:
  5264. description: 套保品种单位名称
  5265. type: string
  5266. middlegoodscode:
  5267. description: 套保品种代码
  5268. type: string
  5269. middlegoodsid:
  5270. description: 套保品种id
  5271. type: integer
  5272. middlegoodsname:
  5273. description: 套保品种名称
  5274. type: string
  5275. needarbitrageratio:
  5276. description: 应套利比例
  5277. type: number
  5278. needhedgeratio:
  5279. description: 应套保比例
  5280. type: number
  5281. pricedqty:
  5282. description: 已定价量
  5283. type: number
  5284. qty:
  5285. description: 合同量
  5286. type: number
  5287. reckondate:
  5288. description: 交易日(reckondate)
  5289. type: string
  5290. selluserid:
  5291. description: 销售方id
  5292. type: integer
  5293. sellusername:
  5294. description: 销售方名称
  5295. type: string
  5296. spotcontractid:
  5297. description: 合同id
  5298. type: string
  5299. todaypricedqty:
  5300. description: 今定价量
  5301. type: number
  5302. tradedate:
  5303. description: 交易日
  5304. type: string
  5305. unitid:
  5306. description: 品类单位id
  5307. type: integer
  5308. userid:
  5309. description: 机构id
  5310. type: integer
  5311. username:
  5312. description: 交易用户
  5313. type: string
  5314. wrstandardcode:
  5315. description: 现货商品代码
  5316. type: string
  5317. wrstandardid:
  5318. description: 现货商品id
  5319. type: integer
  5320. wrstandardname:
  5321. description: 现货商品名称
  5322. type: string
  5323. type: object
  5324. models.Ermcp3ExposureDetail:
  5325. properties:
  5326. areauserid:
  5327. description: 机构ID
  5328. type: integer
  5329. changeQty:
  5330. description: 套保变动量
  5331. type: number
  5332. contracttype:
  5333. description: 现货合同类型 - 1:采购 -1:销售
  5334. type: integer
  5335. convertfactor:
  5336. description: 标仓系数
  5337. type: number
  5338. convertratio:
  5339. description: 折算系数
  5340. type: number
  5341. createtime:
  5342. description: 时间
  5343. type: string
  5344. enumdicname:
  5345. description: 现货商品单位名称
  5346. type: string
  5347. logtype:
  5348. description: 类型 - 1:套保计划 2:现货合同
  5349. type: integer
  5350. mgunitid:
  5351. description: 套保品种单位id
  5352. type: integer
  5353. mgunitidname:
  5354. description: 套保品种单位名称
  5355. type: string
  5356. middlegoodsId:
  5357. description: 套保商品id
  5358. type: integer
  5359. middlegoodscode:
  5360. description: 套保商品代码
  5361. type: string
  5362. middlegoodsname:
  5363. description: 套保商品名称
  5364. type: string
  5365. qty:
  5366. description: 数量
  5367. type: number
  5368. relateNo:
  5369. description: 现货合同/套保计划编号
  5370. type: string
  5371. unitid:
  5372. description: 现货商品单位id
  5373. type: integer
  5374. wrstandardcode:
  5375. description: 现货商品代码
  5376. type: string
  5377. wrstandardid:
  5378. description: 现货商品ID(SEQ_WRSTANDARD)
  5379. type: integer
  5380. wrstandardname:
  5381. description: 现货商品名称
  5382. type: string
  5383. type: object
  5384. models.Ermcp3ExposureFutuDetail:
  5385. properties:
  5386. accountid:
  5387. description: 交易账户id
  5388. type: integer
  5389. accountname:
  5390. description: 交易账户
  5391. type: string
  5392. begindate:
  5393. description: 开始交易日
  5394. type: string
  5395. buyorsell:
  5396. description: 方向 0-买 1-卖
  5397. type: integer
  5398. diffmgqty:
  5399. description: 套保品种今变化量
  5400. type: number
  5401. diffneedqty:
  5402. description: 应套保总量变化量
  5403. type: number
  5404. difftradeqty:
  5405. description: 交易品种今变化量
  5406. type: number
  5407. enddate:
  5408. description: 结束交易日
  5409. type: string
  5410. enumdicname:
  5411. description: 单位名称
  5412. type: string
  5413. goodscode:
  5414. description: 商品代码
  5415. type: string
  5416. goodsid:
  5417. description: 商品id
  5418. type: integer
  5419. goodsname:
  5420. description: 商品名称
  5421. type: string
  5422. holdqty:
  5423. description: 期末持仓量
  5424. type: number
  5425. middlegoodscode:
  5426. description: 套保商品代码
  5427. type: string
  5428. middlegoodsid:
  5429. description: 套保商品id
  5430. type: integer
  5431. middlegoodsname:
  5432. description: 套保商品名称
  5433. type: string
  5434. oriholdqty:
  5435. description: 期初持仓量
  5436. type: number
  5437. reckondate:
  5438. description: 交易日(RECKONDATE)
  5439. type: string
  5440. todaycloseqty:
  5441. description: 今平仓量
  5442. type: number
  5443. todayopenqty:
  5444. description: 今开仓量
  5445. type: number
  5446. tradedate:
  5447. description: 交易日(RECKONDATE)
  5448. type: string
  5449. username:
  5450. description: 用户名称(交易用户)
  5451. type: string
  5452. type: object
  5453. models.Ermcp3ExposureHedgeplanDetail:
  5454. properties:
  5455. biztype:
  5456. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5457. type: integer
  5458. changqty:
  5459. description: 应套保总量变化量
  5460. type: number
  5461. contracttype:
  5462. description: 计划类型 - 1:采购 -1:销售
  5463. type: integer
  5464. convertratio:
  5465. description: 折算系数(套保品种)
  5466. type: number
  5467. deliverygoodscode:
  5468. description: 现货商品代码
  5469. type: string
  5470. deliverygoodsid:
  5471. description: 现货商品id
  5472. type: integer
  5473. deliverygoodsname:
  5474. description: 现货商吕名称
  5475. type: string
  5476. dgunitid:
  5477. description: 现货商品单位id
  5478. type: integer
  5479. dgunitidname:
  5480. description: 单位名称(现货商品)
  5481. type: string
  5482. diffqty:
  5483. description: 套保品种今变动量
  5484. type: number
  5485. enumdicname:
  5486. description: 单位名称(品类)
  5487. type: string
  5488. hedgeplanid:
  5489. description: 套保计划id
  5490. type: string
  5491. hedgeplanno:
  5492. description: 套保计划名称
  5493. type: string
  5494. hedgeplanstatus:
  5495. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5496. type: integer
  5497. mgunitidname:
  5498. description: 单位名称(套保商品)
  5499. type: string
  5500. middlegoodscode:
  5501. description: 套保品种代码
  5502. type: string
  5503. middlegoodsid:
  5504. description: 套保品种id
  5505. type: integer
  5506. middlegoodsname:
  5507. description: 套保品种名称
  5508. type: string
  5509. needarbitrageratio:
  5510. description: 应套利比例
  5511. type: number
  5512. needhedgeratio:
  5513. description: 应套保比例
  5514. type: number
  5515. pricedqty:
  5516. description: 已定价量
  5517. type: number
  5518. qty:
  5519. description: 合同量
  5520. type: number
  5521. reckondate:
  5522. description: 交易日(reckondate)
  5523. type: string
  5524. tradedate:
  5525. description: 交易日(登记日)
  5526. type: string
  5527. unitid:
  5528. description: 品类单位id
  5529. type: integer
  5530. userid:
  5531. description: 机构id
  5532. type: integer
  5533. wrstandardcode:
  5534. description: 品类代码
  5535. type: string
  5536. wrstandardid:
  5537. description: 品类id
  5538. type: integer
  5539. wrstandardname:
  5540. description: 品类名称
  5541. type: string
  5542. type: object
  5543. models.Ermcp3ExposureParamChLog:
  5544. properties:
  5545. accountid:
  5546. description: 期货账户ID (作废, 默认为0)
  5547. type: integer
  5548. aftervalue:
  5549. description: 应套保\套利量变更后(调整后应套保总量)
  5550. type: number
  5551. areauserid:
  5552. description: 所属机构\交易用户ID
  5553. type: integer
  5554. beforevalue:
  5555. description: 应套保\套利量变更前(调整前应套保总量)
  5556. type: number
  5557. begindate:
  5558. description: 开始交易日
  5559. type: string
  5560. changelogtype:
  5561. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5562. type: integer
  5563. curvalue:
  5564. description: 当前套保\套利量(套保总量|套利总量)
  5565. type: number
  5566. diffvalue:
  5567. description: 应套保总量变化量
  5568. type: number
  5569. enddate:
  5570. description: 结束交易日
  5571. type: string
  5572. logdatetime:
  5573. description: 流水日期
  5574. type: string
  5575. logid:
  5576. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5577. type: string
  5578. middlegoodscode:
  5579. description: 套保品种代码
  5580. type: string
  5581. middlegoodsid:
  5582. description: 套保品种
  5583. type: integer
  5584. middlegoodsname:
  5585. description: 套保品种名称
  5586. type: string
  5587. paramaftervalue:
  5588. description: 参数变更后(调整后参数值)
  5589. type: number
  5590. parambeforevalue:
  5591. description: 参数变更前(调整前参数值)
  5592. type: number
  5593. reckondate:
  5594. description: 交易日(reckondate)
  5595. type: string
  5596. tradedate:
  5597. description: 交易日(yyyyMMdd)
  5598. type: string
  5599. type: object
  5600. models.Ermcp3ExpourseReport:
  5601. properties:
  5602. accountid:
  5603. description: 期货账户ID (作废, 默认为0)
  5604. type: integer
  5605. accountname:
  5606. description: 机构名称
  5607. type: string
  5608. arbitrageqty:
  5609. description: 套利量
  5610. type: number
  5611. areauserid:
  5612. description: 所属机构\交易用户ID
  5613. type: integer
  5614. begindate:
  5615. description: 开始交易日
  5616. type: string
  5617. buyfutureqty:
  5618. description: 买入期货数量
  5619. type: number
  5620. buyplanqty:
  5621. description: 采购计划数量
  5622. type: number
  5623. buypricedqty:
  5624. description: 采购合同已定价数量
  5625. type: number
  5626. cycletime:
  5627. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5628. type: string
  5629. cycletype:
  5630. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5631. type: integer
  5632. diffexposure:
  5633. description: 变动量(套保敞口)
  5634. type: number
  5635. difffutuqty:
  5636. description: 变动量(期货)
  5637. type: number
  5638. diffhedgeqty:
  5639. description: 变动量(现货应套保总量)
  5640. type: number
  5641. diffmgqtya:
  5642. description: 套保变动量
  5643. type: number
  5644. diffmgqtyb:
  5645. description: 套利变动量
  5646. type: number
  5647. diffneedqty:
  5648. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5649. type: number
  5650. diffqty:
  5651. description: 变动量(总敞口)
  5652. type: number
  5653. diffspotqty:
  5654. description: 变动量(现货) | 除税变动量
  5655. type: number
  5656. enddate:
  5657. description: 结束交易日
  5658. type: string
  5659. enumdicname:
  5660. description: 单位名称
  5661. type: string
  5662. hedgeqty:
  5663. description: 套保量
  5664. type: number
  5665. mgneedhedgeratio:
  5666. description: 套保比例(套保品的)
  5667. type: number
  5668. middlegoodsid:
  5669. description: 套保品种ID
  5670. type: integer
  5671. middlegoodsname:
  5672. description: 套保商品名称
  5673. type: string
  5674. middlgoodscode:
  5675. description: 套保商品代码
  5676. type: string
  5677. needarbitrageqty:
  5678. description: 应套利量
  5679. type: number
  5680. needarbitrageratio:
  5681. description: 套利比例(套保品的)
  5682. type: number
  5683. needhedgeexposoure:
  5684. description: 应套保敞口(套保敞口)
  5685. type: number
  5686. needhedgeqty:
  5687. description: 应套保量
  5688. type: number
  5689. needhedgeratio:
  5690. description: 应套保敞口比例
  5691. type: number
  5692. needqty:
  5693. description: 应套总量 = 应套保量 + 应套利量
  5694. type: number
  5695. oriarbitrageqty:
  5696. description: 期初套利量
  5697. type: number
  5698. oribuyfutureqty:
  5699. description: 期初买入期货数量
  5700. type: number
  5701. oribuyplanqty:
  5702. description: 期初采购计划数量
  5703. type: number
  5704. oribuypricedqty:
  5705. description: 期初采购合同已定价数量
  5706. type: number
  5707. orihedgeqty:
  5708. description: 期初套保量
  5709. type: number
  5710. orineedarbitrageqty:
  5711. description: 期初应套利量
  5712. type: number
  5713. orineedhedgeexposoure:
  5714. description: 期初应套保敞口
  5715. type: number
  5716. orineedhedgeqty:
  5717. description: 期初应套保量
  5718. type: number
  5719. orisellfutureqty:
  5720. description: 期初卖出期货数量
  5721. type: number
  5722. orisellplanqty:
  5723. description: 期初销售计划数量
  5724. type: number
  5725. orisellpricedqty:
  5726. description: 期初销售合同已定价数量
  5727. type: number
  5728. oritotalexposure:
  5729. description: 期初实时总敞口
  5730. type: number
  5731. oritotalfutureqty:
  5732. description: 期初期货头寸总量
  5733. type: number
  5734. oritotalneedhedgeqty:
  5735. description: 期初应套保总量
  5736. type: number
  5737. oritotalspotqty:
  5738. description: 期初现货头寸总量
  5739. type: number
  5740. reckondate:
  5741. description: 日照时期(yyyyMMdd)
  5742. type: string
  5743. sellfutureqty:
  5744. description: 卖出期货数量
  5745. type: number
  5746. sellplanqty:
  5747. description: 销售计划数量
  5748. type: number
  5749. sellpricedqty:
  5750. description: 销售合同已定价数量
  5751. type: number
  5752. totalexposure:
  5753. description: 实时总敞口(总敞口)
  5754. type: number
  5755. totalfutureqty:
  5756. description: 期货头寸总量(期货总量)
  5757. type: number
  5758. totalhedgeratio:
  5759. description: 敞口比例
  5760. type: number
  5761. totalneedhedgeqty:
  5762. description: 应套保总量(现货应套保总量)
  5763. type: number
  5764. totalspotqty:
  5765. description: 现货头寸总量 | 除税总量
  5766. type: number
  5767. unitid:
  5768. description: 单位id
  5769. type: integer
  5770. updatetime:
  5771. description: 更新时间
  5772. type: string
  5773. type: object
  5774. models.Ermcp3FinanceReport:
  5775. properties:
  5776. accountname:
  5777. description: 机构名称
  5778. type: string
  5779. areauserid:
  5780. description: 所属机构\交易用户ID
  5781. type: integer
  5782. begindate:
  5783. description: 开始交易日
  5784. type: string
  5785. biztype:
  5786. description: 业务类型 - 1:套保 2:套利
  5787. type: integer
  5788. brandname:
  5789. description: 品牌名称
  5790. type: string
  5791. buypreinvoicedamount:
  5792. description: 采购预收票额(预收票额)
  5793. type: number
  5794. buyprepaidamount:
  5795. description: 采购预付款额(预付货款额)
  5796. type: number
  5797. buytodayinvoiceamount:
  5798. description: 采购今收票额(今收票额)
  5799. type: number
  5800. buytodayrefundamount:
  5801. description: 采购今收退款额(今收退款额)
  5802. type: number
  5803. buytodaysettleamount:
  5804. description: 采购今付款额(今付货款额)
  5805. type: number
  5806. buyuninvoicedamount:
  5807. description: 采购应收票额(应收票额)
  5808. type: number
  5809. buyunpaidamount:
  5810. description: 采购应付款额(应付货款额)
  5811. type: number
  5812. currencyid:
  5813. description: 结算币种ID
  5814. type: integer
  5815. currencyname:
  5816. description: 币种名称
  5817. type: string
  5818. cycletime:
  5819. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5820. type: string
  5821. cycletype:
  5822. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5823. type: integer
  5824. deliverygoodscode:
  5825. description: 现货品种代码
  5826. type: string
  5827. deliverygoodsid:
  5828. description: 现货品种ID
  5829. type: integer
  5830. deliverygoodsname:
  5831. description: 现货品种名称
  5832. type: string
  5833. enddate:
  5834. description: 结束交易日
  5835. type: string
  5836. reckondate:
  5837. description: 日照时期(yyyyMMdd)
  5838. type: string
  5839. sellpreinvoicedamount:
  5840. description: 销售预开票额(预开票额)
  5841. type: number
  5842. sellprepaidamount:
  5843. description: 销售预收款额(预收货款额)
  5844. type: number
  5845. selltodayinvoiceamount:
  5846. description: 销售今开票额(今开票额)
  5847. type: number
  5848. selltodayrefundamount:
  5849. description: 销售今付退款额(今付退款额)
  5850. type: number
  5851. selltodaysettleamount:
  5852. description: 销售今收款额(今收货款额)
  5853. type: number
  5854. selluninvoicedamount:
  5855. description: 销售应开票额(应开票额)
  5856. type: number
  5857. sellunpaidamount:
  5858. description: 销售应收款额(应收货款额)
  5859. type: number
  5860. spotgoodsbrandid:
  5861. description: 现货品牌ID
  5862. type: integer
  5863. todaypaysum:
  5864. description: 今付款合计
  5865. type: number
  5866. todayreceivesum:
  5867. description: 今收款合计
  5868. type: number
  5869. updatetime:
  5870. description: 更新时间
  5871. type: string
  5872. wrfactortypeid:
  5873. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5874. type: integer
  5875. wrstandardcode:
  5876. description: 品类代码
  5877. type: string
  5878. wrstandardid:
  5879. description: 现货商品ID
  5880. type: integer
  5881. wrstandardname:
  5882. description: 品类名称
  5883. type: string
  5884. type: object
  5885. models.Ermcp3GoodsGroup:
  5886. properties:
  5887. agreeunit:
  5888. description: 合约单位
  5889. type: number
  5890. areauserid:
  5891. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5892. type: integer
  5893. canshort:
  5894. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5895. type: integer
  5896. closepricemode:
  5897. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5898. type: integer
  5899. createtime:
  5900. description: 创建时间
  5901. type: string
  5902. creatorid:
  5903. description: 创建人
  5904. type: integer
  5905. currencyid:
  5906. description: 报价货币ID
  5907. type: integer
  5908. decimalplace:
  5909. description: 报价小数位
  5910. type: integer
  5911. enumdicname:
  5912. description: 单位名称
  5913. type: string
  5914. exchangefullname:
  5915. description: 交易所全称
  5916. type: string
  5917. excludecfg:
  5918. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5919. type: integer
  5920. exexchangecode:
  5921. description: 交易所代码
  5922. type: string
  5923. exexchangeid:
  5924. description: 外部交易所ID[通道交易]
  5925. type: integer
  5926. exexchangename:
  5927. description: 交易所名称
  5928. type: string
  5929. goodsgroupid:
  5930. description: 商品组ID(自增ID)
  5931. type: integer
  5932. goodsgroupname:
  5933. description: 商品组名称
  5934. type: string
  5935. goodsgroupstatus:
  5936. description: 商品组状态 - 1:正常 2:注销
  5937. type: integer
  5938. goodunitid:
  5939. description: 报价单位ID
  5940. type: integer
  5941. groupcategroyid:
  5942. description: 品种分类ID
  5943. type: integer
  5944. innerdealmode:
  5945. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5946. type: integer
  5947. marketid:
  5948. description: 所属市场ID
  5949. type: integer
  5950. modifierid:
  5951. description: 修改人
  5952. type: integer
  5953. modifytime:
  5954. description: 修改时间
  5955. type: string
  5956. outerdealmode:
  5957. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5958. type: integer
  5959. outergroupcode:
  5960. description: 外部商品组代码[通道交易]
  5961. type: string
  5962. quoteminunit:
  5963. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5964. type: integer
  5965. quotesourcegroupid:
  5966. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5967. type: integer
  5968. syncgoodsqty:
  5969. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5970. type: integer
  5971. required:
  5972. - areauserid
  5973. type: object
  5974. models.Ermcp3HPMiddleGoods:
  5975. properties:
  5976. biztype:
  5977. description: 业务类型 1:套保 2:套利
  5978. type: integer
  5979. contracttype:
  5980. description: 合同类型 1:采购 -1:销售
  5981. type: integer
  5982. convertratio:
  5983. description: 折算系数
  5984. type: number
  5985. customername:
  5986. description: 对手手名称
  5987. type: string
  5988. customeruserid:
  5989. description: 对手id
  5990. type: integer
  5991. enumdicname:
  5992. description: 现货单位名称
  5993. type: string
  5994. hedgeplanid:
  5995. description: 计划id
  5996. type: string
  5997. hedgeplanno:
  5998. description: 计划编号
  5999. type: string
  6000. middlegoodsid:
  6001. description: 套保品种ID
  6002. type: integer
  6003. middlegoodsplanqty3:
  6004. description: 应套保计划量
  6005. type: number
  6006. needhedgeratio:
  6007. description: 套保比例
  6008. type: number
  6009. pricedqty:
  6010. description: 已定价量
  6011. type: number
  6012. relatedmiddlegoodsqty:
  6013. description: 已关联量(套保品种)(期货)
  6014. type: number
  6015. unitid:
  6016. description: 现货单位id
  6017. type: integer
  6018. userid:
  6019. description: 用户id
  6020. type: integer
  6021. vatrate:
  6022. description: 增值税率
  6023. type: number
  6024. wrstandardcode:
  6025. description: 现货商品代码
  6026. type: string
  6027. wrstandardid:
  6028. description: 现货商品id
  6029. type: integer
  6030. wrstandardname:
  6031. description: 现货商品名称
  6032. type: string
  6033. type: object
  6034. models.Ermcp3HedgePlan:
  6035. properties:
  6036. accountid:
  6037. description: 资金账号
  6038. type: integer
  6039. areauserid:
  6040. description: 用户ID
  6041. type: integer
  6042. auditid:
  6043. description: 审核id
  6044. type: integer
  6045. auditname:
  6046. description: 审核人名称
  6047. type: string
  6048. auditremark:
  6049. description: 审核备注
  6050. type: string
  6051. auditsrc:
  6052. description: 审核来源 1-管理端 2-终端
  6053. type: integer
  6054. audittime:
  6055. description: 审核时间
  6056. type: string
  6057. contracttype:
  6058. description: 计划类型 - 1:采购 -1:销售
  6059. type: integer
  6060. convertfactor:
  6061. description: 标仓系数
  6062. type: number
  6063. createtime:
  6064. description: 创建时间
  6065. type: string
  6066. currencyid:
  6067. description: 币种id
  6068. type: integer
  6069. currencyname:
  6070. description: 币种名称
  6071. type: string
  6072. deliverygoodscode:
  6073. description: 现货品种代码
  6074. type: string
  6075. deliverygoodsid:
  6076. description: 现货品种ID
  6077. type: integer
  6078. deliverygoodsname:
  6079. description: 现货品种名称
  6080. type: string
  6081. enumdicname:
  6082. description: 单位名称(现货商品)
  6083. type: string
  6084. hedgeplanid:
  6085. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6086. type: string
  6087. hedgeplanno:
  6088. description: 套保计划编号(名称)
  6089. type: string
  6090. hedgeplanstatus:
  6091. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6092. type: integer
  6093. planqty:
  6094. description: 计划数量
  6095. type: number
  6096. plantime:
  6097. description: 计划时间
  6098. type: string
  6099. producttype:
  6100. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6101. type: integer
  6102. remark:
  6103. description: 备注
  6104. type: string
  6105. spotgoodsdesc:
  6106. description: 商品型号
  6107. type: string
  6108. taaccountname:
  6109. description: 资金账号名称
  6110. type: string
  6111. tradeuserid:
  6112. description: 交易用户id
  6113. type: integer
  6114. tradeusername:
  6115. description: 交易用户名称
  6116. type: string
  6117. unitid:
  6118. description: 单位id(现货商品)
  6119. type: integer
  6120. updatetime:
  6121. description: 更新时间
  6122. type: string
  6123. vatrate:
  6124. description: 增值税率
  6125. type: number
  6126. wrstandardcode:
  6127. description: 品类代码
  6128. type: string
  6129. wrstandardid:
  6130. description: 品类id
  6131. type: integer
  6132. wrstandardname:
  6133. description: 品类名称
  6134. type: string
  6135. wrunitid:
  6136. description: 品类单位id
  6137. type: integer
  6138. wrunitidame:
  6139. description: 品类单位名称
  6140. type: string
  6141. type: object
  6142. models.Ermcp3InnerTradeLink:
  6143. properties:
  6144. accountid:
  6145. description: 期货账号代码 | 资金账号ID
  6146. type: integer
  6147. buyorsell:
  6148. description: 方向 - 0:买 1:卖
  6149. type: integer
  6150. channelbuildtype:
  6151. description: 委托单据类型 0:无 1:建仓 2:平仓
  6152. type: integer
  6153. currencyid:
  6154. description: 币种id
  6155. type: integer
  6156. currencyname:
  6157. description: 结算币种 名称
  6158. type: string
  6159. goodscode:
  6160. description: 商品代码
  6161. type: string
  6162. goodsid:
  6163. description: 商品ID
  6164. type: integer
  6165. goodsname:
  6166. description: 商品名称
  6167. type: string
  6168. outtradeid:
  6169. description: 外部成交单号
  6170. type: string
  6171. taname:
  6172. description: 期货账户名称
  6173. type: string
  6174. tradeid:
  6175. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6176. type: string
  6177. tradeprice:
  6178. description: 成交价格
  6179. type: number
  6180. tradeqty:
  6181. description: 期货成交数量
  6182. type: integer
  6183. tradetime:
  6184. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6185. type: string
  6186. username:
  6187. description: 用户名称
  6188. type: string
  6189. type: object
  6190. models.Ermcp3OutTradeLink:
  6191. properties:
  6192. buyorsell:
  6193. description: 买卖方向 - 0:买 1:卖
  6194. type: integer
  6195. channelbuildtype:
  6196. description: 开平标志- 0:无 1:建仓 2:平仓
  6197. type: integer
  6198. currencyname:
  6199. description: 币种名称
  6200. type: string
  6201. exexchangecode:
  6202. description: 交易所代码
  6203. type: string
  6204. exexchangename:
  6205. description: 交易所名称
  6206. type: string
  6207. goodscode:
  6208. description: 合约代码
  6209. type: string
  6210. goodsid:
  6211. description: 合约id
  6212. type: integer
  6213. goodsname:
  6214. description: 合约名称
  6215. type: string
  6216. hasinnerorder:
  6217. description: 是否有内部单关联 - 0:无 1:有
  6218. type: integer
  6219. hedgeaccountcode:
  6220. description: 外部账号 | 对冲账号
  6221. type: string
  6222. outtradeid:
  6223. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6224. type: string
  6225. tradeprice:
  6226. description: 成交价格
  6227. type: number
  6228. tradeqty:
  6229. description: 成交数量
  6230. type: integer
  6231. tradetime:
  6232. description: 成交时间
  6233. type: string
  6234. type: object
  6235. models.Ermcp3PaAreaAuditCfg:
  6236. properties:
  6237. areauserid:
  6238. description: 用户ID
  6239. type: integer
  6240. buyinauditflag:
  6241. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6242. type: integer
  6243. costratioauditflag:
  6244. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6245. type: integer
  6246. customerauditflag:
  6247. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6248. type: integer
  6249. deliveryauditflag:
  6250. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6251. type: integer
  6252. invoiceauditflag:
  6253. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6254. type: integer
  6255. mgneedhedgeratioauditflag:
  6256. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6257. type: integer
  6258. moneyauditflag:
  6259. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6260. type: integer
  6261. operatorid:
  6262. description: 操作人
  6263. type: integer
  6264. operatorsrc:
  6265. description: 操作来源 - 1:管理端 2:终端
  6266. type: integer
  6267. pointpriceauditflag:
  6268. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6269. type: integer
  6270. produceinauditflag:
  6271. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6272. type: integer
  6273. produceoutauditflag:
  6274. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6275. type: integer
  6276. selloutauditflag:
  6277. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6278. type: integer
  6279. sgconvertratioauditflag:
  6280. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6281. type: integer
  6282. sgvtaratioauditflag:
  6283. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6284. type: integer
  6285. spotcontractauditflag:
  6286. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6287. type: integer
  6288. updatetime:
  6289. description: 更新时间
  6290. type: string
  6291. type: object
  6292. models.Ermcp3PaAreaSubject:
  6293. properties:
  6294. areauserid:
  6295. description: 所属机构
  6296. type: integer
  6297. canmodify:
  6298. description: 是否可修改 - 0:否 1:是
  6299. type: integer
  6300. createtime:
  6301. description: 创建时间
  6302. type: string
  6303. creatorid:
  6304. description: 创建人ID
  6305. type: string
  6306. creatorsrc:
  6307. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6308. type: integer
  6309. modifierid:
  6310. description: 修改人
  6311. type: string
  6312. modifiersrc:
  6313. description: 修改人来源 - 1:管理端 2:终端
  6314. type: integer
  6315. modifytime:
  6316. description: 修改时间
  6317. type: string
  6318. parentsubjectid:
  6319. description: 上级主体ID
  6320. type: string
  6321. remark:
  6322. description: 备注
  6323. type: string
  6324. subjectid:
  6325. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6326. type: integer
  6327. subjectname:
  6328. description: 主体名称
  6329. type: string
  6330. subjectstatus:
  6331. description: '主体状态 - 1:正常 2: 停用'
  6332. type: integer
  6333. subjecttype:
  6334. description: 主体类型 - 1:交易主体 2:业务部门
  6335. type: integer
  6336. type: object
  6337. models.Ermcp3PaTradeLink:
  6338. properties:
  6339. accountid:
  6340. description: 期货账户代码 | 账号ID
  6341. type: integer
  6342. agreeunit:
  6343. description: 合约乘数
  6344. type: number
  6345. buyorsell:
  6346. description: 方向 - 0:买 1:卖
  6347. type: integer
  6348. channelbuildtype:
  6349. description: 委托单据类型 0:无 1:建仓 2:平仓
  6350. type: integer
  6351. charge:
  6352. description: 手续费
  6353. type: number
  6354. closepl:
  6355. description: 平仓盈亏
  6356. type: number
  6357. closetype:
  6358. description: 平仓方式 - 0:无 1:平今 2:平昨
  6359. type: integer
  6360. convertratio:
  6361. description: 折算系数
  6362. type: number
  6363. enumdicname:
  6364. description: 单位名称
  6365. type: string
  6366. executeprice:
  6367. description: 执行价 [期权]
  6368. type: integer
  6369. goodscode:
  6370. description: 合约代码
  6371. type: string
  6372. goodsgroupid:
  6373. description: 对冲品种ID[期货合约商品组ID]
  6374. type: integer
  6375. goodsid:
  6376. description: 商品ID
  6377. type: integer
  6378. goodsname:
  6379. description: 合约名称
  6380. type: string
  6381. goodunitid:
  6382. description: 单位id
  6383. type: integer
  6384. hedgeflag:
  6385. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6386. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6387. type: integer
  6388. marketid:
  6389. description: 市场ID
  6390. type: integer
  6391. middlegoodsid:
  6392. description: 套保品种ID
  6393. type: integer
  6394. middlegoodsqty:
  6395. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6396. type: number
  6397. optioncode:
  6398. description: 期权代码 [期权]
  6399. type: string
  6400. ordertype:
  6401. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6402. type: integer
  6403. ordertypename:
  6404. description: 订单类型
  6405. type: string
  6406. parentaccountid:
  6407. description: 所属母账户
  6408. type: integer
  6409. premium:
  6410. description: 权利金 [期权]
  6411. type: number
  6412. relatedlot:
  6413. description: 已关联数量(已关联数量手) | db:关联手数
  6414. type: number
  6415. relatedouttradeid:
  6416. description: 关联外部成交单ID
  6417. type: string
  6418. relatedqty:
  6419. description: 关联数量
  6420. type: number
  6421. spotcontractid:
  6422. description: 现货合同ID [4:套期保值\10\11]
  6423. type: string
  6424. taname:
  6425. description: 期货账户名称
  6426. type: string
  6427. tradeamount:
  6428. description: 成交金额(账户)
  6429. type: number
  6430. tradedate:
  6431. description: 交易日(yyyyMMdd)
  6432. type: string
  6433. tradeid:
  6434. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6435. type: string
  6436. tradelot:
  6437. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6438. type: integer
  6439. tradeprice:
  6440. description: 成交价格
  6441. type: number
  6442. tradetime:
  6443. description: 时间 | db:成交时间
  6444. type: string
  6445. tradetype:
  6446. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6447. type: integer
  6448. userid:
  6449. description: 所属机构 - 所属母账户的UserID
  6450. type: string
  6451. username:
  6452. description: 用户名称
  6453. type: string
  6454. type: object
  6455. models.Ermcp3ParamChangeApp:
  6456. properties:
  6457. aftervalue:
  6458. description: 变更后
  6459. type: number
  6460. applicationid:
  6461. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6462. type: string
  6463. applyid:
  6464. description: 申请人
  6465. type: string
  6466. applyname:
  6467. description: 申请人名称(代码)
  6468. type: string
  6469. applyremark:
  6470. description: 申请备注
  6471. type: string
  6472. applysrc:
  6473. description: 申请来源 - 1:管理端 2:终端
  6474. type: integer
  6475. applystatus:
  6476. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6477. type: integer
  6478. applytime:
  6479. description: 申请时间
  6480. type: string
  6481. areauserid:
  6482. description: 所属机构用户ID
  6483. type: integer
  6484. auditid:
  6485. description: 审核人
  6486. type: string
  6487. auditname:
  6488. description: 审核人名称(代码)
  6489. type: string
  6490. auditremark:
  6491. description: 审核备注
  6492. type: string
  6493. auditsrc:
  6494. description: 审核来源 - 1:管理端 2:终端
  6495. type: integer
  6496. audittime:
  6497. description: 审核时间
  6498. type: string
  6499. audittradedate:
  6500. description: 审核交易日(yyyyMMdd)
  6501. type: string
  6502. beforevalue:
  6503. description: 变更前
  6504. type: number
  6505. deliverygoodscode:
  6506. description: 品种代码
  6507. type: string
  6508. deliverygoodsid:
  6509. description: 品种id
  6510. type: integer
  6511. deliverygoodsname:
  6512. description: 品种名称
  6513. type: string
  6514. middlegoodscode:
  6515. description: 套保品种代码
  6516. type: string
  6517. middlegoodsid:
  6518. description: 套保品种ID [ParamChangeType = 2,3,4]
  6519. type: integer
  6520. middlegoodsname:
  6521. description: 套保品种名称
  6522. type: string
  6523. operatetype:
  6524. description: 操作类型 - 1:新增 2:修改
  6525. type: integer
  6526. paramchangetype:
  6527. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6528. type: integer
  6529. wrstandardcode:
  6530. description: 现货商品代码
  6531. type: string
  6532. wrstandardid:
  6533. description: 现货商品ID [ParamChangeType = 1,2,3]
  6534. type: integer
  6535. wrstandardname:
  6536. description: 现货商品名称
  6537. type: string
  6538. type: object
  6539. models.Ermcp3RootUserAccount:
  6540. properties:
  6541. accountname:
  6542. description: 账户名称(机构名称)
  6543. type: string
  6544. accountstatus:
  6545. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6546. type: integer
  6547. applysrc:
  6548. description: 申请来源 - 1:管理端 2:终端
  6549. type: integer
  6550. auditremark:
  6551. description: 审核备注
  6552. type: string
  6553. auditsrc:
  6554. description: 审核来源 - 1:管理端 2:终端
  6555. type: integer
  6556. audittime:
  6557. description: 审核时间
  6558. type: string
  6559. audituserid:
  6560. description: 审核人
  6561. type: integer
  6562. broker:
  6563. description: 所属经纪人ID
  6564. type: integer
  6565. canceltime:
  6566. description: 销户时间
  6567. type: string
  6568. canceluserid:
  6569. description: 销户人
  6570. type: integer
  6571. canrecommend:
  6572. description: 是否可推荐 - 0:不可 1;可
  6573. type: integer
  6574. createtime:
  6575. description: 创建时间
  6576. type: string
  6577. creatorid:
  6578. description: 创建人
  6579. type: integer
  6580. hasauth:
  6581. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6582. type: integer
  6583. isanonymous:
  6584. description: 是否匿名下单 - 0:否 1:是
  6585. type: integer
  6586. maxinvestornum:
  6587. description: 最大用户数(经纪会员下投资者个数)
  6588. type: integer
  6589. memberuserid:
  6590. description: 所属会员ID
  6591. type: integer
  6592. modifierid:
  6593. description: 修改人
  6594. type: integer
  6595. modifyremark:
  6596. description: 变更备注
  6597. type: string
  6598. modifystatus:
  6599. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6600. type: integer
  6601. modifytime:
  6602. description: 修改时间
  6603. type: string
  6604. nickname:
  6605. description: 昵称
  6606. type: string
  6607. parenttopuser:
  6608. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6609. type: string
  6610. parentuserid:
  6611. description: 所属机构ID
  6612. type: integer
  6613. reckonaccountid:
  6614. description: 默认结算资金账号ID(机构分润使用) 作废
  6615. type: integer
  6616. refercount:
  6617. description: 推荐总人数
  6618. type: integer
  6619. refereeuserid:
  6620. description: 推荐人ID
  6621. type: integer
  6622. refernum:
  6623. description: 推荐码
  6624. type: string
  6625. rootuserid:
  6626. description: 根用户ID
  6627. type: integer
  6628. subaccountlevel:
  6629. description: 子账户层数
  6630. type: integer
  6631. subarealevelpath:
  6632. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6633. type: string
  6634. userid:
  6635. description: 用户ID
  6636. type: integer
  6637. usertype:
  6638. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6639. type: integer
  6640. type: object
  6641. models.Ermcp3SCMiddleGoods:
  6642. properties:
  6643. biztype:
  6644. description: 业务类型 1:套保 2:套利
  6645. type: integer
  6646. contractno:
  6647. description: 合同编号
  6648. type: string
  6649. contracttype:
  6650. description: 合同类型 1:采购 -1:销售
  6651. type: integer
  6652. convertratio:
  6653. description: 折算系数
  6654. type: number
  6655. customername:
  6656. description: 对手手名称
  6657. type: string
  6658. customeruserid:
  6659. description: 对手id
  6660. type: integer
  6661. deliverygoodscode:
  6662. description: 现货品种代码
  6663. type: string
  6664. deliverygoodsid:
  6665. description: 现货品种ID
  6666. type: integer
  6667. deliverygoodsname:
  6668. description: 现货品种名称
  6669. type: string
  6670. enumdicname:
  6671. description: 现货单位名称
  6672. type: string
  6673. middlegoodsid:
  6674. description: 套保品种ID
  6675. type: integer
  6676. middlegoodspricedqty3:
  6677. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6678. type: number
  6679. needhedgeratio:
  6680. description: 套保比例
  6681. type: number
  6682. pricedqty:
  6683. description: 已定价量
  6684. type: number
  6685. relatedmiddlegoodsqty:
  6686. description: 已关联量(套保品种)(期货)
  6687. type: number
  6688. spotcontractid:
  6689. description: 合同编号
  6690. type: string
  6691. unitid:
  6692. description: 现货单位id
  6693. type: integer
  6694. userid:
  6695. description: 用户id
  6696. type: integer
  6697. vatrate:
  6698. description: 增值税率
  6699. type: number
  6700. wrstandardcode:
  6701. description: 现货商品代码
  6702. type: string
  6703. wrstandardid:
  6704. description: 现货商品id
  6705. type: integer
  6706. wrstandardname:
  6707. description: 现货商品名称
  6708. type: string
  6709. type: object
  6710. models.Ermcp3SCMiddleGoodsReport:
  6711. properties:
  6712. begindate:
  6713. description: 开始交易日
  6714. type: string
  6715. contractno:
  6716. description: 合同编号
  6717. type: string
  6718. contracttype:
  6719. description: 合同类型 1:采购 -1:销售
  6720. type: integer
  6721. convertratio:
  6722. description: 折算系数
  6723. type: number
  6724. cycletime:
  6725. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6726. type: string
  6727. cycletype:
  6728. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6729. type: integer
  6730. deliverygoodscode:
  6731. description: 品种代码
  6732. type: string
  6733. deliverygoodsid:
  6734. description: 现货品种ID
  6735. type: integer
  6736. deliverygoodsname:
  6737. description: 品种名称
  6738. type: string
  6739. diffprice:
  6740. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6741. type: number
  6742. diffqty:
  6743. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6744. type: number
  6745. enddate:
  6746. description: 结束交易日
  6747. type: string
  6748. hedgeplanqty:
  6749. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6750. type: number
  6751. matchname:
  6752. description: 交易对手方(个人:用户名称 企业:简称)
  6753. type: string
  6754. matchnickname:
  6755. description: 交易对手方昵称
  6756. type: string
  6757. middlegoodscode:
  6758. description: 套保品种代码
  6759. type: string
  6760. middlegoodsid:
  6761. description: 套保品种ID
  6762. type: integer
  6763. middlegoodsname:
  6764. description: 套保品种名称
  6765. type: string
  6766. middlegoodspricedqty:
  6767. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6768. type: number
  6769. middlegoodspricedqty2:
  6770. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6771. type: number
  6772. middlegoodspricedqty3:
  6773. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6774. type: number
  6775. needhedgeratio:
  6776. description: 套保系数
  6777. type: number
  6778. pricedamount:
  6779. description: 已定价额(现货)
  6780. type: number
  6781. pricedamount2:
  6782. description: 已定价额(现货-基价额)
  6783. type: number
  6784. pricedqty:
  6785. description: 已定价量(现货)
  6786. type: number
  6787. reckondate:
  6788. description: 日照时期(yyyyMMdd)
  6789. type: string
  6790. relatedmiddlegoodsamount:
  6791. description: 已关联额(期货)
  6792. type: number
  6793. relatedmiddlegoodsqty:
  6794. description: 已关联量(套保品种)(期货)
  6795. type: number
  6796. spotcontractid:
  6797. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6798. type: string
  6799. todayavgfutuprice:
  6800. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6801. type: number
  6802. todayavgprice:
  6803. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6804. type: number
  6805. todayavgprice2:
  6806. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6807. type: number
  6808. todaypricedamount:
  6809. description: 今日定价额(现货)
  6810. type: number
  6811. todaypricedamount2:
  6812. description: 今日定价额(现货-基价额)
  6813. type: number
  6814. todaypricedqty:
  6815. description: 今日定价量(现货)
  6816. type: number
  6817. todayrelatedfutureqty:
  6818. description: 今日关联量(期货)
  6819. type: number
  6820. todayrelatedmiddlegoodsamount:
  6821. description: 今日关联额(期货)
  6822. type: number
  6823. todayrelatedmiddlegoodsqty:
  6824. description: 今日关联量(套保品-期货)
  6825. type: number
  6826. updatetime:
  6827. description: 更新时间
  6828. type: string
  6829. userid:
  6830. description: 合同所属用户id
  6831. type: integer
  6832. vatrate:
  6833. description: 增值税率
  6834. type: number
  6835. wrstandardcode:
  6836. description: 商品(品类) 代码
  6837. type: string
  6838. wrstandardid:
  6839. description: 现货商品ID
  6840. type: integer
  6841. wrstandardname:
  6842. description: 商品(品类) 名称
  6843. type: string
  6844. type: object
  6845. models.Ermcp3SellBuyContract:
  6846. properties:
  6847. accountid:
  6848. description: 期货账户id
  6849. type: string
  6850. accountname:
  6851. description: 账户名称
  6852. type: string
  6853. attachment:
  6854. description: 附件
  6855. type: string
  6856. audittime:
  6857. description: 审核时间
  6858. type: string
  6859. bizsubjectid:
  6860. description: 归属业务部门ID - SubjectID
  6861. type: integer
  6862. biztype:
  6863. description: 业务类型 1-套保 2-套利
  6864. type: integer
  6865. brandname:
  6866. description: 品牌名称
  6867. type: string
  6868. contracctstatus:
  6869. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6870. type: integer
  6871. contractmargin:
  6872. description: 合同保证金
  6873. type: number
  6874. contractno:
  6875. description: 合同编号
  6876. type: string
  6877. contracttype:
  6878. description: 合同类型 1-采购, -1-销售
  6879. type: integer
  6880. convertfactor:
  6881. description: 标仓系数(品类)
  6882. type: number
  6883. createtime:
  6884. description: 创建时间
  6885. type: string
  6886. currencyid:
  6887. description: 币种id
  6888. type: integer
  6889. currencyname:
  6890. description: 币种名称
  6891. type: string
  6892. daikaiamount:
  6893. description: 应收(开)票额 | 未收票额
  6894. type: number
  6895. deliveryenddate:
  6896. description: 交割结束日
  6897. type: string
  6898. deliverygoodscode:
  6899. description: 现货品种代码
  6900. type: string
  6901. deliverygoodsid:
  6902. description: 现货商品ID
  6903. type: integer
  6904. deliverygoodsname:
  6905. description: 现货品种名称
  6906. type: string
  6907. deliverystartdate:
  6908. description: 交割开始日
  6909. type: string
  6910. enddate:
  6911. description: 点价结束日
  6912. type: string
  6913. enumdicname:
  6914. description: 单位名称
  6915. type: string
  6916. goodscode:
  6917. description: 点价商品代码
  6918. type: string
  6919. goodsgroupid:
  6920. description: 点价商品组id
  6921. type: integer
  6922. goodsid:
  6923. description: 点价商品ID
  6924. type: integer
  6925. goodsname:
  6926. description: 点价商品名称
  6927. type: string
  6928. invoiceamount:
  6929. description: 已开票额
  6930. type: number
  6931. loanamount:
  6932. description: 贷款总额=已定价额+调整金额
  6933. type: number
  6934. margin:
  6935. description: 保证金
  6936. type: number
  6937. meruserid:
  6938. description: 跟单员id
  6939. type: integer
  6940. meruserlogincode:
  6941. description: 跟单员登录代码
  6942. type: string
  6943. merusername:
  6944. description: 跟单员名称
  6945. type: string
  6946. nickname:
  6947. description: 账户昵称
  6948. type: string
  6949. orireckonrealqty:
  6950. description: 应交收量
  6951. type: number
  6952. payamount:
  6953. description: 已收付额(收款或付款)
  6954. type: number
  6955. preinvoiceamount:
  6956. description: 预收(开)票额
  6957. type: number
  6958. prepayamount:
  6959. description: 预收付额
  6960. type: number
  6961. price:
  6962. description: 价格
  6963. type: number
  6964. pricedamount:
  6965. description: 已定价额
  6966. type: number
  6967. pricedavg:
  6968. description: 已点均价
  6969. type: number
  6970. pricedqty:
  6971. description: 已定价量
  6972. type: number
  6973. pricemove:
  6974. description: 升贴水
  6975. type: number
  6976. pricetype:
  6977. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6978. type: integer
  6979. producttype:
  6980. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6981. type: integer
  6982. qty:
  6983. description: 合同量
  6984. type: number
  6985. reckonadjustamount:
  6986. description: 调整金额
  6987. type: number
  6988. reckonedamount:
  6989. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6990. type: number
  6991. reckonotheramount:
  6992. description: 其它费用
  6993. type: number
  6994. reckonrealqty:
  6995. description: 已交收量
  6996. type: number
  6997. remark:
  6998. description: 备注
  6999. type: string
  7000. saleuserid:
  7001. description: 业务员id
  7002. type: integer
  7003. saleuserlogincode:
  7004. description: 业务员登录代码
  7005. type: string
  7006. saleusername:
  7007. description: 业务员名称
  7008. type: string
  7009. spotcontractid:
  7010. description: 合同ID
  7011. type: string
  7012. spotgoodsbrandid:
  7013. description: 现货品牌ID(DGFactoryItem表的ID)
  7014. type: integer
  7015. spotgoodsdesc:
  7016. description: 商品型号(商品规格)
  7017. type: string
  7018. startdate:
  7019. description: 点价开始日
  7020. type: string
  7021. subjectid:
  7022. description: 交易主体ID
  7023. type: integer
  7024. subjectname:
  7025. description: 交易主体名称
  7026. type: string
  7027. totalamount:
  7028. description: 合计总额
  7029. type: number
  7030. tradeuserid:
  7031. description: 交易员id
  7032. type: integer
  7033. tradeuserlogincode:
  7034. description: 交易员登录代码
  7035. type: string
  7036. tradeusername:
  7037. description: 交易员名称
  7038. type: string
  7039. unpayamount:
  7040. description: 应收付款额(应支付或应收款) | 未付款额
  7041. type: number
  7042. unpricedqty:
  7043. description: 未定价量
  7044. type: number
  7045. unsureqty:
  7046. description: 未确定量 | 未交收量
  7047. type: number
  7048. userid:
  7049. description: 机构ID
  7050. type: integer
  7051. vatrate:
  7052. description: 增值税率
  7053. type: number
  7054. wrstandardcode:
  7055. description: 品类代码
  7056. type: string
  7057. wrstandardid:
  7058. description: 品类ID
  7059. type: integer
  7060. wrstandardname:
  7061. description: 品类名称
  7062. type: string
  7063. type: object
  7064. models.Ermcp3SpotGoodsPrice:
  7065. properties:
  7066. areauserid:
  7067. description: 所属机构id
  7068. type: integer
  7069. brandname:
  7070. description: 品牌名称
  7071. type: string
  7072. currencyid:
  7073. description: 报价货币ID
  7074. type: integer
  7075. currencyname:
  7076. description: 币种名称
  7077. type: string
  7078. deliverygoodscode:
  7079. description: 现货商品代码
  7080. type: string
  7081. deliverygoodsid:
  7082. description: 现货商品id
  7083. type: integer
  7084. deliverygoodsname:
  7085. description: 现货商品名称
  7086. type: string
  7087. enumdicname:
  7088. description: 现货商品单位名称
  7089. type: string
  7090. gbenumdicname:
  7091. description: 品类单位名称
  7092. type: string
  7093. gmunitid:
  7094. description: 品类单位id
  7095. type: integer
  7096. isvalid:
  7097. description: 是否有效 - 0:无效 1:有效
  7098. type: integer
  7099. operateid:
  7100. description: 最后操作人
  7101. type: integer
  7102. operatesrc:
  7103. description: 最后操作来源 - 1:管理端 2:终端
  7104. type: integer
  7105. operatetime:
  7106. description: 最后操作时间
  7107. type: string
  7108. operatorname:
  7109. description: 操作人名称
  7110. type: string
  7111. spotgoodsbrandid:
  7112. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7113. type: integer
  7114. spotgoodsprice:
  7115. description: 现货价格
  7116. type: number
  7117. tradedate:
  7118. description: 交易日(yyyyMMdd)
  7119. type: string
  7120. unitid:
  7121. description: 现货商品单位id
  7122. type: integer
  7123. wrstandardcode:
  7124. description: 品类代码
  7125. type: string
  7126. wrstandardid:
  7127. description: 现货品类ID(通用则为0)
  7128. type: integer
  7129. wrstandardname:
  7130. description: 品类名称
  7131. type: string
  7132. type: object
  7133. models.Ermcp3SpotGoodsPriceLog:
  7134. properties:
  7135. areauserid:
  7136. description: 所属机构id
  7137. type: integer
  7138. brandname:
  7139. description: 品牌名称
  7140. type: string
  7141. currencyid:
  7142. description: 报价货币ID
  7143. type: integer
  7144. deliverygoodscode:
  7145. description: 现货商品代码
  7146. type: string
  7147. deliverygoodsid:
  7148. description: 现货商品id
  7149. type: integer
  7150. deliverygoodsname:
  7151. description: 现货商品名称
  7152. type: string
  7153. enumdicname:
  7154. description: 现货商品单位名称
  7155. type: string
  7156. gbenumdicname:
  7157. description: 品类单位名称
  7158. type: string
  7159. gmunitid:
  7160. description: 品类单位id
  7161. type: integer
  7162. logid:
  7163. description: 日志id
  7164. type: integer
  7165. operateid:
  7166. description: 最后操作人
  7167. type: integer
  7168. operatesrc:
  7169. description: 最后操作来源 - 1:管理端 2:终端
  7170. type: integer
  7171. operatetime:
  7172. description: 最后操作时间
  7173. type: string
  7174. operatorname:
  7175. description: 操作人名称
  7176. type: string
  7177. spotgoodsbrandid:
  7178. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7179. type: integer
  7180. spotgoodsprice:
  7181. description: 现货价格
  7182. type: number
  7183. tradedate:
  7184. description: 交易日(yyyyMMdd)
  7185. type: string
  7186. unitid:
  7187. description: 现货商品单位id
  7188. type: integer
  7189. wrstandardcode:
  7190. description: 品类代码
  7191. type: string
  7192. wrstandardid:
  7193. description: 现货品类ID(通用则为0)
  7194. type: integer
  7195. wrstandardname:
  7196. description: 品类名称
  7197. type: string
  7198. type: object
  7199. models.Ermcp3SubTaaccount:
  7200. properties:
  7201. accountid:
  7202. description: 资金账户ID
  7203. type: integer
  7204. parentaccountcode:
  7205. description: 所属根账号代码(母账号代码)
  7206. type: string
  7207. parentaccountid:
  7208. description: 所属根账号(母账号)
  7209. type: integer
  7210. taname:
  7211. description: 资金账号名称
  7212. type: string
  7213. tradestatus:
  7214. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7215. type: integer
  7216. username:
  7217. description: 交易用户
  7218. type: string
  7219. type: object
  7220. models.Ermcp3TaFutuReDataReport:
  7221. properties:
  7222. accountid:
  7223. description: 交易账户
  7224. type: integer
  7225. accountname:
  7226. description: 交易账号名称
  7227. type: string
  7228. agreeunit:
  7229. description: 商品合约单位
  7230. type: number
  7231. begindate:
  7232. description: 开始交易日
  7233. type: string
  7234. buyorsell:
  7235. description: 持仓方向
  7236. type: integer
  7237. charge:
  7238. description: 手续费
  7239. type: number
  7240. closeavgprice:
  7241. description: 平仓均价
  7242. type: number
  7243. closepl:
  7244. description: 平仓损益
  7245. type: number
  7246. currencyid:
  7247. description: 结算币种ID
  7248. type: integer
  7249. currencyname:
  7250. description: 币种名称
  7251. type: string
  7252. cycletime:
  7253. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7254. type: string
  7255. cycletype:
  7256. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7257. type: integer
  7258. enddate:
  7259. description: 结束交易日
  7260. type: string
  7261. enumdicname:
  7262. description: 单位名称
  7263. type: string
  7264. floatpl:
  7265. description: 浮动损益
  7266. type: number
  7267. goodscode:
  7268. description: 交易合约代码
  7269. type: string
  7270. goodsgroupid:
  7271. description: 交易品种
  7272. type: integer
  7273. goodsgroupname:
  7274. description: 交易品种名称
  7275. type: string
  7276. goodsgroupspotqty:
  7277. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7278. type: number
  7279. goodsid:
  7280. description: 交易合约
  7281. type: integer
  7282. goodsname:
  7283. description: 交易合约名称
  7284. type: string
  7285. goodunitid:
  7286. description: 交易合约单位id
  7287. type: integer
  7288. holdamount:
  7289. description: 期末持仓额
  7290. type: number
  7291. holdqty:
  7292. description: 期末持仓量
  7293. type: number
  7294. lastholdamount:
  7295. description: 当前持仓额
  7296. type: number
  7297. lastprice:
  7298. description: 最新价
  7299. type: number
  7300. middlegoodsid:
  7301. description: 套保品种id
  7302. type: integer
  7303. middlegoodsname:
  7304. description: 套保商品名称
  7305. type: string
  7306. middlegoodsqty:
  7307. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7308. type: number
  7309. middlgoodscode:
  7310. description: 套保商品代码
  7311. type: string
  7312. openamount:
  7313. description: 期末开仓额
  7314. type: number
  7315. openavgprice:
  7316. description: 开仓均价
  7317. type: number
  7318. oriholdamount:
  7319. description: 期初持仓额
  7320. type: number
  7321. oriholdqty:
  7322. description: 期初持仓量
  7323. type: number
  7324. oriopenamount:
  7325. description: 期初开仓额
  7326. type: number
  7327. outergroupcode:
  7328. description: 交易品种代码
  7329. type: string
  7330. qtydecimalplace:
  7331. description: 成交量小数位
  7332. type: integer
  7333. reckondate:
  7334. description: 日照时期(yyyyMMdd)
  7335. type: string
  7336. reckonholdamount:
  7337. description: 结算持仓额
  7338. type: number
  7339. reckonpl:
  7340. description: 结算损益
  7341. type: number
  7342. reckonpl2:
  7343. description: 结算逐笔盈亏
  7344. type: number
  7345. reckonprice:
  7346. description: 结算价
  7347. type: number
  7348. relateduserid:
  7349. description: 账户关联用户ID
  7350. type: integer
  7351. todaycloseamount:
  7352. description: 今平仓额
  7353. type: number
  7354. todaycloseqty:
  7355. description: 今平仓量
  7356. type: number
  7357. todaygoodsgroupspotqty:
  7358. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7359. type: number
  7360. todaymiddlegoodsqty:
  7361. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7362. type: number
  7363. todayopenamount:
  7364. description: 今开仓额
  7365. type: number
  7366. todayopenqty:
  7367. description: 今开仓量
  7368. type: number
  7369. userid:
  7370. description: 账户所属用户ID
  7371. type: integer
  7372. type: object
  7373. models.Ermcp3TradeLinkDetail:
  7374. properties:
  7375. accountid:
  7376. description: 资金账号
  7377. type: integer
  7378. agreeunit:
  7379. description: 合约乘数
  7380. type: number
  7381. areauserid:
  7382. description: 所属机构
  7383. type: string
  7384. bizsubjectid:
  7385. description: 归属业务部门ID - SubjectID
  7386. type: string
  7387. buyorsell:
  7388. description: 方向 - 0:买 1:卖
  7389. type: integer
  7390. channelbuildtype:
  7391. description: 委托单据类型 0:无 1:建仓 2:平仓
  7392. type: integer
  7393. contractno:
  7394. description: 现货编号 (合同编号)
  7395. type: string
  7396. convertratio:
  7397. description: 折算系数
  7398. type: number
  7399. createtime:
  7400. description: 关联时间 | 创建时间
  7401. type: string
  7402. creatorid:
  7403. description: 创建人ID
  7404. type: string
  7405. creatorsrc:
  7406. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7407. type: integer
  7408. enumdicname:
  7409. description: 单位名称
  7410. type: string
  7411. goodscode:
  7412. description: 合约代码
  7413. type: string
  7414. goodsgroupid:
  7415. description: 对冲品种ID[期货合约商品组ID]
  7416. type: integer
  7417. goodsid:
  7418. description: 商品ID
  7419. type: integer
  7420. goodsname:
  7421. description: 合约名称
  7422. type: string
  7423. hedgeflag:
  7424. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7425. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7426. type: integer
  7427. linkdetailid:
  7428. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7429. type: string
  7430. linkstatus:
  7431. description: 关联状态 - 1:成功 2:失败 3:解绑
  7432. type: integer
  7433. middlegoodscode:
  7434. description: 套保品种代码
  7435. type: string
  7436. middlegoodsid:
  7437. description: 套保品种ID
  7438. type: integer
  7439. middlegoodsname:
  7440. description: 套保品种名称
  7441. type: string
  7442. relatedlot:
  7443. description: 关联手数
  7444. type: number
  7445. relatedmode:
  7446. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7447. type: integer
  7448. relatedqty:
  7449. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7450. type: number
  7451. retcode:
  7452. description: 返回码
  7453. type: integer
  7454. saleuserid:
  7455. description: 业务员ID
  7456. type: string
  7457. spotcontractid:
  7458. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7459. type: string
  7460. taname:
  7461. description: 期货账户
  7462. type: string
  7463. tradedate:
  7464. description: 关联交易日(yyyyMMdd)
  7465. type: string
  7466. tradeid:
  7467. description: 期货订单号 | 内部成交单ID
  7468. type: string
  7469. tradelot:
  7470. description: 成交数量 | 成交手数
  7471. type: integer
  7472. tradeprice:
  7473. description: 成交价格
  7474. type: number
  7475. tradetime:
  7476. description: 期货成交时间
  7477. type: string
  7478. tradetradedate:
  7479. description: 成交交易日(yyyyMMdd)
  7480. type: string
  7481. username:
  7482. description: 用户名称
  7483. type: string
  7484. type: object
  7485. models.Ermcp3Wrstandard:
  7486. properties:
  7487. areauserid:
  7488. description: 所属机构
  7489. type: integer
  7490. cantrade:
  7491. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7492. type: integer
  7493. convertfactor:
  7494. description: 标仓系数
  7495. type: number
  7496. createtime:
  7497. description: 创建时间
  7498. type: string
  7499. creatorid:
  7500. description: 创建人
  7501. type: integer
  7502. deliverygoodsid:
  7503. description: 现货品种ID
  7504. type: integer
  7505. enumdicname:
  7506. description: 品类单位名称
  7507. type: string
  7508. isvalid:
  7509. description: 是否有效 0-无效(停用) 1-有效(正常)
  7510. type: integer
  7511. minivalue:
  7512. description: 最小变动值
  7513. type: integer
  7514. minivaluedp:
  7515. description: 最小变动值小数位
  7516. type: integer
  7517. realminivalue:
  7518. description: 实际最小变动值
  7519. type: integer
  7520. realminivaluedp:
  7521. description: 实际最小变动值小数位
  7522. type: integer
  7523. remark:
  7524. description: 备注
  7525. type: string
  7526. unitid:
  7527. description: 品类单位ID
  7528. type: integer
  7529. updatetime:
  7530. description: 更新时间
  7531. type: string
  7532. wrstandardcode:
  7533. description: 品类代码
  7534. type: string
  7535. wrstandardid:
  7536. description: 品类ID(SEQ_WRSTANDARD)
  7537. type: integer
  7538. wrstandardname:
  7539. description: 品类名称
  7540. type: string
  7541. type: object
  7542. models.Ermcp8HedgeditemReport:
  7543. properties:
  7544. accountName:
  7545. description: 套期主体
  7546. type: string
  7547. areauserid:
  7548. description: 企业ID
  7549. type: integer
  7550. curprice:
  7551. description: '[当日现货市场价]当前市场价'
  7552. type: number
  7553. cycletime:
  7554. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  7555. 全(0)【原值】
  7556. type: string
  7557. cycletype:
  7558. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  7559. type: integer
  7560. enumdicname:
  7561. description: 单位
  7562. type: string
  7563. exeamount:
  7564. description: '[执行现货金额]执行市价总额'
  7565. type: number
  7566. exeavgprice:
  7567. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7568. type: number
  7569. exeqty:
  7570. description: '[执行数量]执行现货量'
  7571. type: number
  7572. futurehedgepl:
  7573. description: 期货实际损益
  7574. type: number
  7575. futurehedgeplchange:
  7576. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7577. type: number
  7578. futurepl:
  7579. description: 期货套期损益
  7580. type: number
  7581. futureplchange:
  7582. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7583. type: number
  7584. hedgeamount:
  7585. description: '[套期现货金额]套期市价总额'
  7586. type: number
  7587. hedgeditemnum:
  7588. description: 项目编号,模糊查询
  7589. type: string
  7590. hedgeditemstatus:
  7591. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7592. type: integer
  7593. hedgedtype:
  7594. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7595. type: integer
  7596. hedgeqty:
  7597. description: '[套期数量]套期现货量'
  7598. type: number
  7599. oriavgprice:
  7600. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7601. type: number
  7602. orifuturehedgepl:
  7603. description: 期初期货实际损益
  7604. type: number
  7605. orifuturepl:
  7606. description: 期初期货套期损益
  7607. type: number
  7608. orispothedgepl:
  7609. description: 期初现货实际损益
  7610. type: number
  7611. orispotpl:
  7612. description: 期初现货套期损益
  7613. type: number
  7614. planenddate:
  7615. description: 计划结束日期
  7616. type: string
  7617. planstartdate:
  7618. description: 计划开始日期
  7619. type: string
  7620. spothedgepl:
  7621. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7622. type: number
  7623. spothedgeplchange:
  7624. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7625. type: number
  7626. spotpl:
  7627. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7628. type: number
  7629. spotplchange:
  7630. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7631. type: number
  7632. tradeuserid:
  7633. description: 交易用户ID
  7634. type: integer
  7635. unexeqty:
  7636. description: 未执行现货量 = 套期现货量 - 执行现货量
  7637. type: number
  7638. userid:
  7639. description: 用户ID
  7640. type: integer
  7641. wrstandardcode:
  7642. description: 现货品类代码
  7643. type: string
  7644. wrstandardid:
  7645. description: 现货商品ID
  7646. type: integer
  7647. wrstandardname:
  7648. description: '[现货商品]现货品类名称'
  7649. type: string
  7650. required:
  7651. - cycletime
  7652. - userid
  7653. type: object
  7654. models.ErmcpBizGroupEx:
  7655. properties:
  7656. acclist:
  7657. description: 账号列表
  7658. items:
  7659. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7660. type: array
  7661. bizgroupid:
  7662. description: 业务分组id
  7663. type: integer
  7664. biztype:
  7665. description: 业务类型 1-套保 2-套利
  7666. type: integer
  7667. wrlist:
  7668. description: 现货商品表
  7669. items:
  7670. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7671. type: array
  7672. type: object
  7673. models.ErmcpBizGroupSpotGoods:
  7674. properties:
  7675. areauserid:
  7676. description: 所属机构id
  7677. type: integer
  7678. bizgroupid:
  7679. description: 分组id
  7680. type: integer
  7681. biztype:
  7682. description: 业务类型 1-套保 2-套利
  7683. type: integer
  7684. deliverygoodscode:
  7685. description: 现货商品代码
  7686. type: string
  7687. deliverygoodsid:
  7688. description: 现货商品id
  7689. type: integer
  7690. deliverygoodsname:
  7691. description: 现货商品名称
  7692. type: string
  7693. unitid:
  7694. description: 现货商品单位id
  7695. type: integer
  7696. type: object
  7697. models.ErmcpBizGroupTaAccount:
  7698. properties:
  7699. accountid:
  7700. description: 账号id
  7701. type: integer
  7702. accountname:
  7703. description: 账号名称
  7704. type: string
  7705. areauserid:
  7706. description: 所属机构id
  7707. type: integer
  7708. bizgroupid:
  7709. description: 业务分组id
  7710. type: integer
  7711. ismain:
  7712. description: 是否主账号 1-是 0-否
  7713. type: integer
  7714. type: object
  7715. models.ErmcpDGFactoryItem:
  7716. properties:
  7717. areauserid:
  7718. description: 用户id
  7719. type: integer
  7720. deliverygoodsid:
  7721. description: 现货品种ID
  7722. type: integer
  7723. dgfactoryitemid:
  7724. description: 选择项ID(SEQ_DGFACTORYITEM)
  7725. type: integer
  7726. dgfactoryitemtypeid:
  7727. description: 要素项类型
  7728. type: integer
  7729. dgfactoryitemvalue:
  7730. description: 要素项值(类型为仓库时填写仓库名称)
  7731. type: string
  7732. isvalid:
  7733. description: 是否有效 - 0:无效 1:有效
  7734. type: integer
  7735. orderindex:
  7736. description: 顺序
  7737. type: integer
  7738. warehouseid:
  7739. description: 仓库ID(类型为仓库时填写)
  7740. type: integer
  7741. type: object
  7742. models.ErmcpDeliveryGoods:
  7743. properties:
  7744. agreeunit:
  7745. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7746. type: integer
  7747. areauserid:
  7748. description: 所属机构
  7749. type: integer
  7750. auditflag:
  7751. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7752. type: integer
  7753. categoryid:
  7754. description: 类别ID(SEQ_WRCATEGORY)
  7755. type: integer
  7756. deliverygoodscode:
  7757. description: 现货品种代码
  7758. type: string
  7759. deliverygoodsid:
  7760. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7761. type: integer
  7762. deliverygoodsname:
  7763. description: 现货品种名称
  7764. type: string
  7765. deliverygoodstype:
  7766. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7767. type: integer
  7768. dgstatus:
  7769. description: 品种状态 - 作废 - 0:未激活 1:正常
  7770. type: integer
  7771. enumdicname:
  7772. description: 现货品种单位名称
  7773. type: string
  7774. goodsunitid:
  7775. description: 现货品种单位ID
  7776. type: integer
  7777. isvalid:
  7778. description: 是否有效 - 0:无效 1:有效
  7779. type: integer
  7780. qtydecimalplace:
  7781. description: 成交量小数位
  7782. type: integer
  7783. remark:
  7784. description: 备注
  7785. type: string
  7786. standardqty:
  7787. description: 标准数量(库位数量) [标准品特有]
  7788. type: integer
  7789. standardqtyrange:
  7790. description: 标准数量偏差范围 [标准品特有]
  7791. type: integer
  7792. type: object
  7793. models.ErmcpFuturesCompany:
  7794. properties:
  7795. brokerid:
  7796. description: 经纪公司代码
  7797. type: string
  7798. channeladdress:
  7799. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7800. type: string
  7801. channelid:
  7802. description: 对冲渠道ID
  7803. type: string
  7804. createtime:
  7805. description: 创建时间
  7806. type: string
  7807. creatorid:
  7808. description: 创建人
  7809. type: string
  7810. fcid:
  7811. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7812. type: integer
  7813. fcname:
  7814. description: 期货公司名称
  7815. type: string
  7816. isvalid:
  7817. description: 是否有效 - 0:无效 1:有效
  7818. type: integer
  7819. mhpaddress:
  7820. description: MHP服务地址(IP:Port)
  7821. type: string
  7822. riskrulegroupid:
  7823. description: 风控规则组ID
  7824. type: string
  7825. tradefeetmpid:
  7826. description: 手续费模板ID[TradeConfigTmpType为2]
  7827. type: string
  7828. trademargintmpid:
  7829. description: 保证金模板ID [TradeConfigTmpType为1]
  7830. type: string
  7831. traderatetmpid:
  7832. description: 汇率模板ID[TradeConfigTmpType为3]
  7833. type: string
  7834. updatetime:
  7835. description: 更新时间
  7836. type: string
  7837. updatorid:
  7838. description: 更新人
  7839. type: string
  7840. type: object
  7841. models.ErmcpGGConvertCfg:
  7842. properties:
  7843. convertratio:
  7844. description: 折算系数
  7845. type: number
  7846. destgoodsgroupid:
  7847. description: 目标品种ID
  7848. type: integer
  7849. dstcode:
  7850. description: 目录品种代码
  7851. type: string
  7852. dstexchangecode:
  7853. description: 目标期货交易所
  7854. type: string
  7855. dstname:
  7856. description: 目标品种名称
  7857. type: string
  7858. dstunitid:
  7859. description: 目标品种单位ID
  7860. type: integer
  7861. dstunitidname:
  7862. description: 目标品种单位名称
  7863. type: string
  7864. modifytime:
  7865. description: 修改时间
  7866. type: string
  7867. srccode:
  7868. description: 源品种代码
  7869. type: string
  7870. srcexchangecode:
  7871. description: 源期货交易所
  7872. type: string
  7873. srcgoodsgroupid:
  7874. description: 源品种ID
  7875. type: integer
  7876. srcname:
  7877. description: 源品种名称
  7878. type: string
  7879. srcunitid:
  7880. description: 源品种单位ID
  7881. type: integer
  7882. srcunitidname:
  7883. description: 源品种单位名称
  7884. type: string
  7885. type: object
  7886. models.ErmcpGoods:
  7887. properties:
  7888. agreeunit:
  7889. description: 合约单位
  7890. type: number
  7891. areauserid:
  7892. description: 所属机构
  7893. type: integer
  7894. auditaccountid:
  7895. description: 审核操作员账号
  7896. type: integer
  7897. audittime:
  7898. description: 审核时间
  7899. type: string
  7900. cancelaccountid:
  7901. description: 注销操作员账号
  7902. type: integer
  7903. canceltime:
  7904. description: 注销时间
  7905. type: string
  7906. closepricemode:
  7907. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7908. type: integer
  7909. closepriceparam:
  7910. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7911. type: number
  7912. createtime:
  7913. description: 创建时间
  7914. type: string
  7915. creatorid:
  7916. description: 创建人
  7917. type: integer
  7918. currencyid:
  7919. description: 报价货币ID
  7920. type: integer
  7921. cutmode:
  7922. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7923. type: integer
  7924. decimalplace:
  7925. description: 报价小数位
  7926. type: integer
  7927. delistingdate:
  7928. description: 商品退市时间(状态:退市) -- 已作废
  7929. type: string
  7930. delistingmode:
  7931. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7932. type: integer
  7933. deliveryflag:
  7934. description: 交割标志 - 0:不可交割 1:可交割
  7935. type: integer
  7936. enumdicname:
  7937. description: 单位名称
  7938. type: string
  7939. forceclosemode:
  7940. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7941. type: integer
  7942. forceclosevalue:
  7943. description: 定期强平参数 [收益权]
  7944. type: integer
  7945. goodscode:
  7946. description: 商品代码(内部)
  7947. type: string
  7948. goodscurrencyid:
  7949. description: 合约货币ID
  7950. type: integer
  7951. goodsgroupid:
  7952. description: 所属商品组ID
  7953. type: integer
  7954. goodsid:
  7955. description: 商品ID(自增ID SEQ_GOODS)
  7956. type: integer
  7957. goodsname:
  7958. description: 商品名称
  7959. type: string
  7960. goodsquotetype:
  7961. description: '合约报价类型: 1-直接报价 2-间接报价'
  7962. type: integer
  7963. goodsstatus:
  7964. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7965. type: integer
  7966. goodstradetype:
  7967. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7968. type: integer
  7969. goodunitid:
  7970. description: 报价单位ID
  7971. type: integer
  7972. hasquoter:
  7973. description: 是否有报价商 - 0:无报价商 1:有报价商
  7974. type: integer
  7975. hqprotecttime:
  7976. description: 行情保护时间(秒)
  7977. type: integer
  7978. innerdealmode:
  7979. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7980. type: integer
  7981. isbuylimited:
  7982. description: 是否限制建仓量 - 0:不限制 1:限制
  7983. type: integer
  7984. isvisible:
  7985. description: 游客是否可见 - 0:不可见 1:可见
  7986. type: integer
  7987. lasttradedate:
  7988. description: 最后交易日期(状态:待退市)
  7989. type: string
  7990. listingdate:
  7991. description: 交易开始日期
  7992. type: string
  7993. marketid:
  7994. description: 所属市场ID
  7995. type: integer
  7996. modifierid:
  7997. description: 修改人
  7998. type: integer
  7999. modifystatus:
  8000. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8001. type: integer
  8002. modifytime:
  8003. description: 修改时间
  8004. type: string
  8005. outerdealmode:
  8006. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8007. type: integer
  8008. outgoodscode:
  8009. description: 商品代码(外部)
  8010. type: string
  8011. pictureurl:
  8012. description: 商品图片
  8013. type: string
  8014. qtydecimalplace:
  8015. description: 成交量小数位
  8016. type: integer
  8017. quotegear:
  8018. description: 行情档位(1-10)
  8019. type: integer
  8020. quoteminunit:
  8021. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8022. type: integer
  8023. quoteshowtype:
  8024. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8025. type: integer
  8026. quoteshowtypeinterval:
  8027. description: 行情报价间隔时间(秒)(成交价时为0)
  8028. type: integer
  8029. relatedgoodsid:
  8030. description: 关联参考商品ID
  8031. type: integer
  8032. remark:
  8033. description: 备注
  8034. type: string
  8035. trademode:
  8036. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8037. 21:竞拍-大宗式 22:受托竞价
  8038. type: integer
  8039. required:
  8040. - goodscode
  8041. - goodsid
  8042. - goodsname
  8043. - marketid
  8044. type: object
  8045. models.ErmcpGoodsBrand:
  8046. properties:
  8047. areauserid:
  8048. description: 所属机构
  8049. type: integer
  8050. brandid:
  8051. description: BrandID(SEQ_SPOTGOODSBRAND)
  8052. type: integer
  8053. brandname:
  8054. description: 品牌名称
  8055. type: string
  8056. createtime:
  8057. description: 创建时间
  8058. type: string
  8059. creatorid:
  8060. description: 创建人
  8061. type: integer
  8062. creatorsrc:
  8063. description: 创建人来源 - 1:管理端 2:终端
  8064. type: integer
  8065. deliverygoodsid:
  8066. description: 现货品种ID
  8067. type: integer
  8068. isvalid:
  8069. description: 是否有效 - 0:无效 1:有效
  8070. type: integer
  8071. updatetime:
  8072. description: 更新时间
  8073. type: string
  8074. updatorid:
  8075. description: 更新人
  8076. type: integer
  8077. updatorsrc:
  8078. description: 更新人来源 - 1:管理端 2:终端
  8079. type: integer
  8080. wrstandardid:
  8081. description: 现货商品ID
  8082. type: integer
  8083. type: object
  8084. models.ErmcpGoodsModel:
  8085. properties:
  8086. areauserid:
  8087. description: 所属机构
  8088. type: integer
  8089. convertfactor:
  8090. description: 标仓系数
  8091. type: number
  8092. createtime:
  8093. description: 创建时间
  8094. type: string
  8095. creatorid:
  8096. description: 创建人
  8097. type: integer
  8098. creatorsrc:
  8099. description: 创建人来源 - 1:管理端 2:终端
  8100. type: integer
  8101. deliverygoodsid:
  8102. description: 现货品种ID
  8103. type: integer
  8104. isvalid:
  8105. description: 是否有效 - 0:无效 1:有效
  8106. type: integer
  8107. modelid:
  8108. description: ModelID(SEQ_SPOTGOODSMODEL)
  8109. type: integer
  8110. modelname:
  8111. description: 型号名称
  8112. type: string
  8113. updatetime:
  8114. description: 更新时间
  8115. type: string
  8116. updatorid:
  8117. description: 更新人
  8118. type: integer
  8119. updatorsrc:
  8120. description: 更新人来源 - 1:管理端 2:终端
  8121. type: integer
  8122. wrstandardid:
  8123. description: 现货商品ID
  8124. type: integer
  8125. type: object
  8126. models.ErmcpHisExposure:
  8127. properties:
  8128. needhedgeexposoure:
  8129. description: 应套保敞口
  8130. type: number
  8131. reckondate:
  8132. description: 日照时期(yyyyMMdd)
  8133. type: string
  8134. totalexposure:
  8135. description: 总敞口
  8136. type: number
  8137. type: object
  8138. models.ErmcpLoginTaAccount:
  8139. properties:
  8140. accountid:
  8141. description: 账号id
  8142. type: integer
  8143. accountname:
  8144. description: 账号名称
  8145. type: string
  8146. type: object
  8147. models.ErmcpLoginUser:
  8148. properties:
  8149. acclist:
  8150. description: 关联资金账号
  8151. items:
  8152. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8153. type: array
  8154. accountname:
  8155. description: 用户名称
  8156. type: string
  8157. clientroleid:
  8158. description: 角色id(usertype=2)
  8159. type: integer
  8160. createtime:
  8161. description: 创建时间
  8162. type: string
  8163. logincode:
  8164. description: 登录代码
  8165. type: string
  8166. loginid:
  8167. description: 登录id(LOGINID)
  8168. type: integer
  8169. loginname:
  8170. description: 登录名称(loginaccount表中的accountname字段)
  8171. type: string
  8172. loginstatus:
  8173. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8174. type: integer
  8175. memberuserid:
  8176. description: 所属会员id
  8177. type: integer
  8178. mobile:
  8179. description: 手机号
  8180. type: string
  8181. modifytime:
  8182. description: 修改时间
  8183. type: string
  8184. password:
  8185. description: 密码(不可解密)
  8186. type: string
  8187. rolename:
  8188. description: 角色名称
  8189. type: string
  8190. rolestatus:
  8191. description: 角色状态 1-启用 2-停用
  8192. type: integer
  8193. roletype:
  8194. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8195. type: string
  8196. userid:
  8197. description: 用户id
  8198. type: integer
  8199. usertype:
  8200. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8201. type: integer
  8202. type: object
  8203. models.ErmcpLoginUserEx:
  8204. properties:
  8205. accountstatus:
  8206. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8207. type: integer
  8208. mobile:
  8209. description: 手机号
  8210. type: string
  8211. querytype:
  8212. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8213. type: integer
  8214. roleid:
  8215. description: 角色id(交易账户->用户id)
  8216. type: integer
  8217. rolename:
  8218. description: 角色名称(交易账户->用户名称)
  8219. type: string
  8220. userlist:
  8221. description: 用户列表
  8222. items:
  8223. $ref: '#/definitions/models.ErmcpLoginUser'
  8224. type: array
  8225. usertype:
  8226. description: 用户类型 2-机构 7-企业成员(云平台)
  8227. type: integer
  8228. type: object
  8229. models.ErmcpMiddleGoodsModel:
  8230. properties:
  8231. areauserid:
  8232. description: 机构用户ID
  8233. type: integer
  8234. createtime:
  8235. description: 修改时间
  8236. type: string
  8237. enumdicname:
  8238. description: 单位名称
  8239. type: string
  8240. evaluateratio:
  8241. description: 估价系数
  8242. type: number
  8243. goodsgroupid:
  8244. description: 关联期货品种ID
  8245. type: integer
  8246. goodsunitid:
  8247. description: 单位ID
  8248. type: integer
  8249. isvalid:
  8250. description: 状态 0-无效(停用) 1-有效(正常)
  8251. type: integer
  8252. middlegoodscode:
  8253. description: 套保品种代码
  8254. type: string
  8255. middlegoodsid:
  8256. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8257. type: integer
  8258. middlegoodsname:
  8259. description: 套保品种名称
  8260. type: string
  8261. modifytime:
  8262. description: 修改时间
  8263. type: string
  8264. needarbitrageratio:
  8265. description: 套利比例
  8266. type: number
  8267. needhedgeratio:
  8268. description: 套保比率
  8269. type: number
  8270. qtydecimalplace:
  8271. description: 数量小数位
  8272. type: integer
  8273. relatedgoodsid:
  8274. description: 关联交易商品ID
  8275. type: integer
  8276. relatedgoodstype:
  8277. description: 关联商品类型 - 1:期货合约 2:现货品种
  8278. type: integer
  8279. remark:
  8280. description: 备注
  8281. type: string
  8282. type: object
  8283. models.ErmcpMiddlegoodsRelateGoods:
  8284. properties:
  8285. agreeunit:
  8286. description: 合约乘数
  8287. type: number
  8288. convertratio:
  8289. description: 折算系数
  8290. type: number
  8291. enumdicname:
  8292. description: 单位名称(交易商品)
  8293. type: string
  8294. goodscode:
  8295. description: 交易商品代码
  8296. type: string
  8297. goodsgroupid:
  8298. description: 交易品种id
  8299. type: integer
  8300. goodsid:
  8301. description: 商品Id
  8302. type: integer
  8303. goodsname:
  8304. description: 交易商品名称
  8305. type: string
  8306. goodunitid:
  8307. description: 交易商品单位id
  8308. type: integer
  8309. middlegoodsid:
  8310. description: 套保商品id
  8311. type: integer
  8312. middlegoodsname:
  8313. description: 套保商品名称
  8314. type: string
  8315. middlegoodsswcode:
  8316. description: 套保商品代码
  8317. type: string
  8318. needarbitrageratio:
  8319. description: 应套利比例
  8320. type: number
  8321. needhedgeratio:
  8322. description: 应套保比例
  8323. type: number
  8324. type: object
  8325. models.ErmcpRole:
  8326. properties:
  8327. areauserid:
  8328. description: 所属机构
  8329. type: integer
  8330. autoid:
  8331. description: 角色ID(自增ID)
  8332. type: integer
  8333. modifierid:
  8334. description: 修改人(创建人)
  8335. type: integer
  8336. modifiername:
  8337. description: 修改人名称
  8338. type: string
  8339. modifytime:
  8340. description: 修改时间(创建时间)
  8341. type: string
  8342. rolename:
  8343. description: 角色名称
  8344. type: string
  8345. rolestatus:
  8346. description: 角色状态 - 1:启用 2:停用
  8347. type: integer
  8348. roletype:
  8349. description: 角色类型 - 1- 管理端 2- 交易端
  8350. type: integer
  8351. type: object
  8352. models.ErmcpRoleMenu:
  8353. properties:
  8354. iconame:
  8355. description: 菜单图标
  8356. type: string
  8357. ishadrole:
  8358. description: 是否有权限
  8359. type: boolean
  8360. menutype:
  8361. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8362. type: integer
  8363. parentcode:
  8364. description: 上级资源代码
  8365. type: string
  8366. remark:
  8367. description: 菜单备注
  8368. type: string
  8369. resourcecode:
  8370. description: 菜单代码
  8371. type: string
  8372. resourcelevel:
  8373. description: 级别
  8374. type: integer
  8375. resourcename:
  8376. description: 菜单名称
  8377. type: string
  8378. roleid:
  8379. description: 角色id
  8380. type: integer
  8381. sort:
  8382. description: 排序
  8383. type: integer
  8384. url:
  8385. description: URL
  8386. type: string
  8387. userid:
  8388. description: 用户id
  8389. type: integer
  8390. type: object
  8391. models.ErmcpRoleMenuEx:
  8392. properties:
  8393. menu:
  8394. $ref: '#/definitions/models.ErmcpRoleMenu'
  8395. description: 父级菜单
  8396. subMenu:
  8397. description: 子级菜单
  8398. items:
  8399. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8400. type: array
  8401. type: object
  8402. models.ErmcpSpotContractModelEx:
  8403. properties:
  8404. accountName:
  8405. description: 套期主体
  8406. type: string
  8407. amount:
  8408. description: 金额 [1:一口价、3:暂定价]
  8409. type: number
  8410. attachment:
  8411. description: 附件
  8412. type: string
  8413. auditremark:
  8414. description: 审核意见
  8415. type: string
  8416. audittime:
  8417. description: 审核时间
  8418. type: string
  8419. avgprice:
  8420. description: 定价均价 = 已定价金额 / 已定价量
  8421. type: number
  8422. brandname:
  8423. description: 品牌名称
  8424. type: string
  8425. buyuserid:
  8426. description: 采购方ID
  8427. type: integer
  8428. buyusername:
  8429. description: 采购方名称
  8430. type: string
  8431. contracctstatus:
  8432. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8433. type: integer
  8434. contractmargin:
  8435. description: 合同保证金
  8436. type: number
  8437. contractno:
  8438. description: '[合同编号]现货合同编号'
  8439. type: string
  8440. contracttype:
  8441. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8442. type: integer
  8443. convertfactor:
  8444. description: 标仓系数
  8445. type: number
  8446. createtime:
  8447. description: 创建时间
  8448. type: string
  8449. customername:
  8450. description: 对手方
  8451. type: string
  8452. customeruserid:
  8453. description: 客户ID
  8454. type: integer
  8455. deliveryenddate:
  8456. description: 交收期(结束)
  8457. type: string
  8458. deliverygoodscode:
  8459. description: 现货品种代码
  8460. type: string
  8461. deliverygoodsid:
  8462. description: 现货品种ID
  8463. type: integer
  8464. deliverygoodsname:
  8465. description: 现货品种名称
  8466. type: string
  8467. deliverystartdate:
  8468. description: 交收期(开始)
  8469. type: string
  8470. enddate:
  8471. description: 点价结束日期 [2:点价 3:暂定价]
  8472. type: string
  8473. enumdicname:
  8474. description: 单位名称
  8475. type: string
  8476. goodscode:
  8477. description: 点价合约代码
  8478. type: string
  8479. goodsid:
  8480. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  8481. type: integer
  8482. goodsname:
  8483. description: 点价商品名称
  8484. type: string
  8485. isrelated:
  8486. description: 是否已关联计划项目 - 0:否 1:是
  8487. type: integer
  8488. isrelated2:
  8489. description: 是否已关联现货项目 - 0:否 1:是
  8490. type: integer
  8491. margin:
  8492. description: 当前保证金
  8493. type: number
  8494. modelname:
  8495. description: 型号名称
  8496. type: string
  8497. price:
  8498. description: 价格\暂定价 [1:一口价、3:暂定价]
  8499. type: number
  8500. pricedamount:
  8501. description: 已定价金额 = (点价价格+升贴水) * 数量
  8502. type: number
  8503. pricedqty:
  8504. description: 已定价量
  8505. type: number
  8506. pricemove:
  8507. description: 升贴水 [2:点价 3:暂定价]
  8508. type: number
  8509. pricetype:
  8510. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  8511. type: integer
  8512. producttype:
  8513. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  8514. type: integer
  8515. qty:
  8516. description: '[合同数量]数量'
  8517. type: number
  8518. remark:
  8519. description: 备注
  8520. type: string
  8521. selluserid:
  8522. description: 销售方ID
  8523. type: integer
  8524. sellusername:
  8525. description: 销售方名称
  8526. type: string
  8527. spotamount:
  8528. description: 合同现货金额 [不含升贴水]
  8529. type: number
  8530. spotavgprice:
  8531. description: 现货均价 = 合同现货金额 / 已定价量
  8532. type: number
  8533. spotcontractid:
  8534. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  8535. type: string
  8536. spotgoodsbrandid:
  8537. description: 现货品牌ID
  8538. type: integer
  8539. spotgoodsdesc:
  8540. description: 商品型号
  8541. type: string
  8542. spotgoodsmodelid:
  8543. description: 现货型号ID
  8544. type: integer
  8545. startdate:
  8546. description: 点价开始日期 [2:点价 3:暂定价]
  8547. type: string
  8548. tradeuserid:
  8549. description: 交易用户ID
  8550. type: integer
  8551. unpricedqty:
  8552. description: 未定价量 = 合同数量 - 已定价量
  8553. type: number
  8554. updatetime:
  8555. description: 更新时间
  8556. type: string
  8557. userid:
  8558. description: 机构ID
  8559. type: integer
  8560. wrstandardcode:
  8561. description: 现货商品代码
  8562. type: string
  8563. wrstandardid:
  8564. description: 现货商品ID
  8565. type: integer
  8566. wrstandardname:
  8567. description: '[现货商品]现货商品名称'
  8568. type: string
  8569. type: object
  8570. models.ErmcpTaAccount:
  8571. properties:
  8572. accountid:
  8573. description: 账户id
  8574. type: integer
  8575. accountname:
  8576. description: 账户名称
  8577. type: string
  8578. currencyid:
  8579. description: 币种id
  8580. type: integer
  8581. hedgeaccountcode:
  8582. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8583. type: string
  8584. ismain:
  8585. description: 是否主账户 0-否 1-是
  8586. type: integer
  8587. parentaccountid:
  8588. description: 父账户id
  8589. type: integer
  8590. relateduserid:
  8591. description: 关联userid
  8592. type: integer
  8593. tradefeetmpid:
  8594. description: 手续费模板id
  8595. type: integer
  8596. tradefeetmpname:
  8597. description: 手续费模板名称
  8598. type: string
  8599. trademargintmpid:
  8600. description: 保证金模板id
  8601. type: integer
  8602. trademargintmpname:
  8603. description: 保证金模板名称
  8604. type: string
  8605. traderatetmpid:
  8606. description: 汇率模板id
  8607. type: integer
  8608. traderatetmpname:
  8609. description: 汇率模板名称
  8610. type: string
  8611. tradestatus:
  8612. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8613. type: integer
  8614. userid:
  8615. description: 用户id
  8616. type: integer
  8617. type: object
  8618. models.ErmcpTaAccountEx:
  8619. properties:
  8620. mainAcc:
  8621. $ref: '#/definitions/models.ErmcpTaAccountM'
  8622. description: 主账号
  8623. subacclist:
  8624. description: 子账号列表
  8625. items:
  8626. $ref: '#/definitions/models.ErmcpTaAccount'
  8627. type: array
  8628. type: object
  8629. models.ErmcpTaAccountInfo:
  8630. properties:
  8631. accountid:
  8632. description: 资金账户ID
  8633. type: integer
  8634. accountname:
  8635. description: 账户名称
  8636. type: string
  8637. balance:
  8638. description: 期初余额
  8639. type: number
  8640. capitalbalance:
  8641. description: 本金余额[外部子账户实际出入金余额]
  8642. type: number
  8643. closepl:
  8644. description: 今日平仓盈亏
  8645. type: number
  8646. creditdecrease:
  8647. description: 今日授信减少
  8648. type: number
  8649. creditincrease:
  8650. description: 今日授信增加
  8651. type: number
  8652. curdebt:
  8653. description: 期末欠款
  8654. type: number
  8655. currencyid:
  8656. description: 货币ID
  8657. type: integer
  8658. currentbalance:
  8659. description: 期末余额
  8660. type: number
  8661. freezecharge:
  8662. description: 手续费冻结
  8663. type: number
  8664. freezemargin:
  8665. description: 冻结保证金
  8666. type: number
  8667. fromaccountid:
  8668. description: 所属上级账户
  8669. type: integer
  8670. inamount:
  8671. description: 今日入金金额(包括三方入金)
  8672. type: number
  8673. ismain:
  8674. description: 是否母账号 0:不是母账户 1:是母账户
  8675. type: integer
  8676. mortgagecredit:
  8677. description: 授信金额
  8678. type: number
  8679. oridebt:
  8680. description: 期初欠款
  8681. type: number
  8682. orifreezecharge:
  8683. description: 期初手续费冻结
  8684. type: number
  8685. orifreezemargin:
  8686. description: 期初冻结保证金
  8687. type: number
  8688. orimortgagecredit:
  8689. description: 期初授信金额
  8690. type: number
  8691. oriothercredit:
  8692. description: 期初其它授信金额
  8693. type: number
  8694. oriotherfreezemargin:
  8695. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8696. type: number
  8697. orioutamountfreeze:
  8698. description: 期初出金冻结
  8699. type: number
  8700. oriusedmargin:
  8701. description: 期初占用保证金
  8702. type: number
  8703. othercredit:
  8704. description: 其它授信金额
  8705. type: number
  8706. othercreditdecrease:
  8707. description: 今日其它授信减少
  8708. type: number
  8709. othercreditincrease:
  8710. description: 今日其它授信增加
  8711. type: number
  8712. otherfreezemargin:
  8713. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8714. type: number
  8715. outamount:
  8716. description: 今日出金金额(包括三方出金)
  8717. type: number
  8718. outamountfreeze:
  8719. description: 出金冻结
  8720. type: number
  8721. outthreshold:
  8722. description: 出金阈值
  8723. type: number
  8724. parentaccountid:
  8725. description: 所属根账号
  8726. type: integer
  8727. paycharge:
  8728. description: 今日手续费支出
  8729. type: number
  8730. relateduserid:
  8731. description: 关联用户
  8732. type: integer
  8733. signstatus:
  8734. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8735. type: integer
  8736. sublevelpath:
  8737. description: 账号层级路径(逗号分隔,首尾加逗号)
  8738. type: string
  8739. taaccounttype:
  8740. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8741. type: integer
  8742. thirdinamount:
  8743. description: 今日三方入金
  8744. type: number
  8745. thirdoutamount:
  8746. description: 今日三方出金
  8747. type: number
  8748. tradestatus:
  8749. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8750. type: integer
  8751. transferamount:
  8752. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8753. type: number
  8754. usedmargin:
  8755. description: 占用保证金
  8756. type: number
  8757. userid:
  8758. description: 用户ID
  8759. type: integer
  8760. type: object
  8761. models.ErmcpTaAccountM:
  8762. properties:
  8763. accountid:
  8764. description: 账户id
  8765. type: integer
  8766. accountname:
  8767. description: 账户名称
  8768. type: string
  8769. currencyid:
  8770. description: 币种id
  8771. type: integer
  8772. fcid:
  8773. description: 期货公司id
  8774. type: integer
  8775. fcname:
  8776. description: 期货公司代码
  8777. type: string
  8778. hedgeaccountcode:
  8779. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8780. type: string
  8781. ismain:
  8782. description: 是否主账户 0-否 1-是
  8783. type: integer
  8784. parentaccountid:
  8785. description: 父账户id
  8786. type: integer
  8787. relateduserid:
  8788. description: 关联userid
  8789. type: integer
  8790. tradefeetmpid:
  8791. description: 手续费模板id
  8792. type: integer
  8793. tradefeetmpname:
  8794. description: 手续费模板名称
  8795. type: string
  8796. trademargintmpid:
  8797. description: 保证金模板id
  8798. type: integer
  8799. trademargintmpname:
  8800. description: 保证金模板名称
  8801. type: string
  8802. traderatetmpid:
  8803. description: 汇率模板id
  8804. type: integer
  8805. traderatetmpname:
  8806. description: 汇率模板名称
  8807. type: string
  8808. tradestatus:
  8809. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8810. type: integer
  8811. userid:
  8812. description: 用户id
  8813. type: integer
  8814. type: object
  8815. models.ErmcpTradeConfigTMP:
  8816. properties:
  8817. areauserid:
  8818. description: 所属机构
  8819. type: integer
  8820. basiccurrencyid:
  8821. description: 基本币种ID[汇率] - 目标币种
  8822. type: integer
  8823. mainaccountid:
  8824. description: 主账户ID
  8825. type: integer
  8826. modifierid:
  8827. description: 修改人
  8828. type: integer
  8829. remark:
  8830. description: 备注
  8831. type: string
  8832. tradeconfigtmpid:
  8833. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8834. type: integer
  8835. tradeconfigtmpname:
  8836. description: 交易配置模板名称
  8837. type: string
  8838. tradeconfigtmptype:
  8839. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8840. type: integer
  8841. updatetime:
  8842. description: 更新时间
  8843. type: string
  8844. type: object
  8845. models.Ermcpjrlinkpos:
  8846. properties:
  8847. areauserid:
  8848. description: 所属企业
  8849. type: integer
  8850. averageprice:
  8851. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  8852. type: number
  8853. closepl:
  8854. description: 总平仓盈亏 [期货损益]
  8855. type: number
  8856. executeprice:
  8857. description: 执行价 - 1:期货单 为 0
  8858. type: integer
  8859. futurehedgeqty:
  8860. description: 期货套期量
  8861. type: number
  8862. goodsid:
  8863. description: 期货合约
  8864. type: integer
  8865. middlegoodscode:
  8866. description: 套保商品代码
  8867. type: string
  8868. middlegoodsname:
  8869. description: 套保商品名称
  8870. type: string
  8871. netqty:
  8872. description: 净头寸
  8873. type: number
  8874. optioncode:
  8875. description: 期权代码
  8876. type: string
  8877. ordertype:
  8878. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  8879. type: integer
  8880. reckonpl:
  8881. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  8882. type: number
  8883. spotcontractid:
  8884. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  8885. type: string
  8886. todayfutureclosepl:
  8887. description: 今日平仓盈亏
  8888. type: number
  8889. totalbuyamount:
  8890. description: 买金额 [期货]
  8891. type: number
  8892. totalbuyholdamount:
  8893. description: 买持仓总金额[期货]
  8894. type: number
  8895. totalbuyqty:
  8896. description: 买数量
  8897. type: number
  8898. totalcharge:
  8899. description: 手续费
  8900. type: number
  8901. totalpremium:
  8902. description: 权利金 [期权]
  8903. type: number
  8904. totalsellamount:
  8905. description: 卖金额 [期货]
  8906. type: number
  8907. totalsellholdamount:
  8908. description: 卖持仓总金额[期货]
  8909. type: number
  8910. totalsellqty:
  8911. description: 卖数量
  8912. type: number
  8913. updatetime:
  8914. description: 更新时间
  8915. type: string
  8916. required:
  8917. - spotcontractid
  8918. type: object
  8919. models.Ermcppatradelinkdetail:
  8920. properties:
  8921. agreeunit:
  8922. description: 合约乘数
  8923. type: number
  8924. amount:
  8925. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  8926. type: number
  8927. areauserid:
  8928. description: 所属机构
  8929. type: integer
  8930. bizsubjectid:
  8931. description: 归属业务部门ID - SubjectID
  8932. type: integer
  8933. buyorsell:
  8934. description: 方向 - 0:买 1:卖
  8935. type: integer
  8936. convertratio:
  8937. description: 品种系数
  8938. type: number
  8939. createtime:
  8940. description: 创建时间
  8941. type: string
  8942. creatorid:
  8943. description: 创建人ID
  8944. type: integer
  8945. creatorsrc:
  8946. description: 创建人来源 - 1:管理端 2:终端 3:交易
  8947. type: integer
  8948. goodsgroupid:
  8949. description: 对冲品种ID[期货合约商品组ID]
  8950. type: integer
  8951. goodsid:
  8952. description: 商品ID
  8953. type: integer
  8954. hedgeditemid:
  8955. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  8956. type: integer
  8957. hedgeflag:
  8958. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  8959. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  8960. type: integer
  8961. linkdetailid:
  8962. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  8963. type: string
  8964. linkstatus:
  8965. description: 关联状态 - 1:成功 2:失败 3:解绑
  8966. type: integer
  8967. middlegoodsid:
  8968. description: 套保品种ID
  8969. type: integer
  8970. name:
  8971. description: 账户名/子账户
  8972. type: string
  8973. optioncode:
  8974. description: '[期货合约]期权代码 [期权]'
  8975. type: string
  8976. ordertype:
  8977. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  8978. type: integer
  8979. relatedlot:
  8980. description: '[数量]关联手数'
  8981. type: number
  8982. relatedmode:
  8983. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  8984. type: integer
  8985. relatedqty:
  8986. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  8987. type: number
  8988. retcode:
  8989. description: 返回码
  8990. type: integer
  8991. saleuserid:
  8992. description: 业务员ID
  8993. type: integer
  8994. tradedate:
  8995. description: 关联交易日(yyyyMMdd)
  8996. type: string
  8997. tradeid:
  8998. description: '[成交单号]内部成交单ID'
  8999. type: string
  9000. tradelot:
  9001. description: 成交手数
  9002. type: integer
  9003. tradeprice:
  9004. description: '[价格]成交价格'
  9005. type: number
  9006. tradetime:
  9007. description: 日期时间
  9008. type: string
  9009. tradetradedate:
  9010. description: 成交交易日(yyyyMMdd)
  9011. type: string
  9012. required:
  9013. - hedgeditemid
  9014. type: object
  9015. models.Externalexchange:
  9016. properties:
  9017. autoid:
  9018. description: AutoID - SEQ_EXTERNALEXCHANGE
  9019. type: integer
  9020. exchangefullname:
  9021. description: 外部交易所全称
  9022. type: string
  9023. exexchangecode:
  9024. description: 外部交易所代码
  9025. type: string
  9026. exexchangename:
  9027. description: 外部交易所名称(简称)
  9028. type: string
  9029. ismarketprice:
  9030. description: 是否支持市价 - 0:不支持 1:支持
  9031. type: integer
  9032. quotegear:
  9033. description: 行情档位(1-10)
  9034. type: integer
  9035. showbrokerflag:
  9036. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9037. type: integer
  9038. updatetime:
  9039. description: 更新时间
  9040. type: string
  9041. required:
  9042. - autoid
  9043. type: object
  9044. models.Funcmenulist:
  9045. properties:
  9046. iconame:
  9047. description: 菜单图标
  9048. type: string
  9049. menutype:
  9050. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9051. type: integer
  9052. parentcode:
  9053. description: 上级资源代码
  9054. type: string
  9055. remark:
  9056. description: 备注
  9057. type: string
  9058. resourcecode:
  9059. description: 资源代码
  9060. type: string
  9061. resourcelevel:
  9062. description: 级别 1-一级 2-二级 3-三级 4-四级
  9063. type: integer
  9064. resourcename:
  9065. description: 资源名
  9066. type: string
  9067. sort:
  9068. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9069. type: integer
  9070. url:
  9071. description: URL
  9072. type: string
  9073. required:
  9074. - resourcecode
  9075. type: object
  9076. models.Goods:
  9077. properties:
  9078. agreeunit:
  9079. description: 合约单位
  9080. type: number
  9081. areauserid:
  9082. description: 所属机构
  9083. type: integer
  9084. auditaccountid:
  9085. description: 审核操作员账号
  9086. type: integer
  9087. audittime:
  9088. description: 审核时间
  9089. type: string
  9090. cancelaccountid:
  9091. description: 注销操作员账号
  9092. type: integer
  9093. canceltime:
  9094. description: 注销时间
  9095. type: string
  9096. closepricemode:
  9097. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9098. type: integer
  9099. closepriceparam:
  9100. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9101. type: number
  9102. createtime:
  9103. description: 创建时间
  9104. type: string
  9105. creatorid:
  9106. description: 创建人
  9107. type: integer
  9108. currencyid:
  9109. description: 报价货币ID
  9110. type: integer
  9111. cutmode:
  9112. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9113. type: integer
  9114. decimalplace:
  9115. description: 报价小数位
  9116. type: integer
  9117. delistingdate:
  9118. description: 商品退市时间(状态:退市) -- 已作废
  9119. type: string
  9120. delistingmode:
  9121. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9122. type: integer
  9123. deliveryflag:
  9124. description: 交割标志 - 0:不可交割 1:可交割
  9125. type: integer
  9126. forceclosemode:
  9127. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9128. type: integer
  9129. forceclosevalue:
  9130. description: 定期强平参数 [收益权]
  9131. type: integer
  9132. goodscode:
  9133. description: 商品代码(内部)
  9134. type: string
  9135. goodscurrencyid:
  9136. description: 合约货币ID
  9137. type: integer
  9138. goodsgroupid:
  9139. description: 所属商品组ID
  9140. type: integer
  9141. goodsid:
  9142. description: 商品ID(自增ID SEQ_GOODS)
  9143. type: integer
  9144. goodsname:
  9145. description: 商品名称
  9146. type: string
  9147. goodsquotetype:
  9148. description: '合约报价类型: 1-直接报价 2-间接报价'
  9149. type: integer
  9150. goodsstatus:
  9151. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9152. type: integer
  9153. goodstradetype:
  9154. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9155. type: integer
  9156. goodunitid:
  9157. description: 报价单位ID
  9158. type: integer
  9159. hasquoter:
  9160. description: 是否有报价商 - 0:无报价商 1:有报价商
  9161. type: integer
  9162. hqprotecttime:
  9163. description: 行情保护时间(秒)
  9164. type: integer
  9165. innerdealmode:
  9166. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9167. type: integer
  9168. isbuylimited:
  9169. description: 是否限制建仓量 - 0:不限制 1:限制
  9170. type: integer
  9171. isvisible:
  9172. description: 游客是否可见 - 0:不可见 1:可见
  9173. type: integer
  9174. lasttradedate:
  9175. description: 最后交易日期(状态:待退市)
  9176. type: string
  9177. listingdate:
  9178. description: 交易开始日期
  9179. type: string
  9180. marketid:
  9181. description: 所属市场ID
  9182. type: integer
  9183. modifierid:
  9184. description: 修改人
  9185. type: integer
  9186. modifystatus:
  9187. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9188. type: integer
  9189. modifytime:
  9190. description: 修改时间
  9191. type: string
  9192. outerdealmode:
  9193. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9194. type: integer
  9195. outgoodscode:
  9196. description: 商品代码(外部)
  9197. type: string
  9198. pictureurl:
  9199. description: 商品图片
  9200. type: string
  9201. qtydecimalplace:
  9202. description: 成交量小数位
  9203. type: integer
  9204. quotegear:
  9205. description: 行情档位(1-10)
  9206. type: integer
  9207. quoteminunit:
  9208. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9209. type: integer
  9210. quoteshowtype:
  9211. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9212. type: integer
  9213. quoteshowtypeinterval:
  9214. description: 行情报价间隔时间(秒)(成交价时为0)
  9215. type: integer
  9216. remark:
  9217. description: 备注
  9218. type: string
  9219. required:
  9220. - goodscode
  9221. - goodsid
  9222. - goodsname
  9223. - marketid
  9224. type: object
  9225. models.GoodsIDAndName:
  9226. properties:
  9227. goodscode:
  9228. description: 商品代码(内部)
  9229. type: string
  9230. goodsid:
  9231. description: 商品ID(自增ID SEQ_GOODS)
  9232. type: integer
  9233. goodsname:
  9234. description: 商品名称
  9235. type: string
  9236. marketid:
  9237. description: 所属市场ID
  9238. type: integer
  9239. required:
  9240. - goodscode
  9241. - goodsid
  9242. - goodsname
  9243. - marketid
  9244. type: object
  9245. models.Goodsgroup:
  9246. properties:
  9247. agreeunit:
  9248. description: 合约单位
  9249. type: number
  9250. canshort:
  9251. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9252. type: integer
  9253. closepricemode:
  9254. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9255. type: integer
  9256. closepriceparam:
  9257. description: 强平最新价浮动比例 - 方式为2时使用
  9258. type: number
  9259. createtime:
  9260. description: 创建时间
  9261. type: string
  9262. creatorid:
  9263. description: 创建人
  9264. type: integer
  9265. currencyid:
  9266. description: 报价货币ID
  9267. type: integer
  9268. decimalplace:
  9269. description: 报价小数位
  9270. type: integer
  9271. exercisetype:
  9272. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9273. type: integer
  9274. exexchangeid:
  9275. description: 外部交易所ID[通道交易]
  9276. type: integer
  9277. goodsgroupid:
  9278. description: 商品组ID(自增ID)
  9279. type: integer
  9280. goodsgroupname:
  9281. description: 商品组名称
  9282. type: string
  9283. goodsgroupstatus:
  9284. description: 商品组状态 - 1:正常 2:注销
  9285. type: integer
  9286. goodunitid:
  9287. description: 报价单位ID
  9288. type: integer
  9289. innerdealmode:
  9290. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9291. type: integer
  9292. isbuylimited:
  9293. description: 是否限制建仓量 - 0:不限制 1:限制
  9294. type: integer
  9295. marketid:
  9296. description: 所属市场ID
  9297. type: integer
  9298. modifierid:
  9299. description: 修改人
  9300. type: integer
  9301. modifytime:
  9302. description: 修改时间
  9303. type: string
  9304. outerdealmode:
  9305. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9306. type: integer
  9307. outergroupcode:
  9308. description: 外部商品组代码[通道交易]
  9309. type: string
  9310. premiumdecimalplace:
  9311. description: 权利金小数位[场外期权]
  9312. type: integer
  9313. premiumspreadalgorithm:
  9314. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9315. type: integer
  9316. premiumspreadvalue:
  9317. description: 权利金点差值[场外期权]
  9318. type: number
  9319. qtydecimalplace:
  9320. description: 成交量小数位
  9321. type: integer
  9322. quotegear:
  9323. description: 行情档位(1-10)
  9324. type: integer
  9325. quoteminunit:
  9326. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9327. type: integer
  9328. quoterid:
  9329. description: 报价商ID[场外期权]
  9330. type: integer
  9331. quotesourcegroupid:
  9332. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9333. type: integer
  9334. syncgoodsqty:
  9335. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9336. type: integer
  9337. required:
  9338. - goodsgroupid
  9339. - goodsgroupname
  9340. - goodsgroupstatus
  9341. - marketid
  9342. type: object
  9343. models.Goodssortbypreposition:
  9344. properties:
  9345. goodscode:
  9346. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9347. type: string
  9348. goodsgroupcode:
  9349. description: 品种代码
  9350. type: string
  9351. prepositionqty:
  9352. description: 昨持仓量
  9353. type: integer
  9354. sortindex:
  9355. description: 排序
  9356. type: integer
  9357. tradedate:
  9358. description: 交易日
  9359. type: string
  9360. updatetime:
  9361. description: 更新时间
  9362. type: string
  9363. required:
  9364. - goodscode
  9365. - tradedate
  9366. type: object
  9367. models.Hedgeinnerholderdetail:
  9368. properties:
  9369. accountid:
  9370. description: 账号ID
  9371. type: integer
  9372. buyorsell:
  9373. description: 方向 - 0:买 1:卖
  9374. type: integer
  9375. freezeqty:
  9376. description: 冻结数量 - 按单平使用
  9377. type: integer
  9378. goodsid:
  9379. description: 商品ID
  9380. type: integer
  9381. holderamount:
  9382. description: 持仓金额 [商品币种]
  9383. type: number
  9384. holderdays:
  9385. description: 剩余冻结天数
  9386. type: integer
  9387. holderprice:
  9388. description: 持仓价格
  9389. type: number
  9390. holderqty:
  9391. description: 持仓数量
  9392. type: integer
  9393. marketid:
  9394. description: 市场ID
  9395. type: integer
  9396. openprice:
  9397. description: 建仓价格
  9398. type: number
  9399. openqty:
  9400. description: 建仓数量
  9401. type: integer
  9402. parentaccountid:
  9403. description: 所属母账户
  9404. type: integer
  9405. releaseamount:
  9406. description: 释放持仓金额[商品币种]
  9407. type: number
  9408. tradeamount:
  9409. description: 成交金额[账户]
  9410. type: number
  9411. tradedate:
  9412. description: 交易日(yyyyMMdd)
  9413. type: string
  9414. tradeid:
  9415. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9416. type: string
  9417. tradetime:
  9418. description: 交易时间
  9419. type: string
  9420. required:
  9421. - buyorsell
  9422. - tradeid
  9423. type: object
  9424. models.Hedgemarketopenlog:
  9425. properties:
  9426. accountid:
  9427. description: 资金账号[外部母账户]
  9428. type: integer
  9429. fcname:
  9430. description: 期货公司名称
  9431. type: string
  9432. handlestatus:
  9433. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9434. type: integer
  9435. marketid:
  9436. description: 市场ID
  9437. type: integer
  9438. status:
  9439. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9440. type: integer
  9441. tradedate:
  9442. description: 交易日(yyyyMMdd)
  9443. type: string
  9444. updatetime:
  9445. description: 更新时间
  9446. type: string
  9447. required:
  9448. - accountid
  9449. type: object
  9450. models.HsbyBuyMyPayOrder:
  9451. properties:
  9452. agreeunit:
  9453. description: 合约单位
  9454. type: number
  9455. buyaccountid:
  9456. description: 买方账号ID[报价币种]
  9457. type: integer
  9458. buyorderid:
  9459. description: 买方委托单号
  9460. type: string
  9461. createtime:
  9462. description: 创建时间
  9463. type: string
  9464. currencysign:
  9465. description: 货币符号
  9466. type: string
  9467. decimalplace:
  9468. description: 报价小数位
  9469. type: integer
  9470. goodscode:
  9471. description: 商品代码(内部)
  9472. type: string
  9473. goodsid:
  9474. description: 商品ID
  9475. type: integer
  9476. goodsname:
  9477. description: 商品名称
  9478. type: string
  9479. marketid:
  9480. description: 市场ID
  9481. type: integer
  9482. offamount:
  9483. description: 优惠金额
  9484. type: number
  9485. originalamount:
  9486. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  9487. type: number
  9488. payamount:
  9489. description: 支付金额 = TradeAmount + TradeCharge
  9490. type: number
  9491. payflag:
  9492. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9493. type: integer
  9494. paylimitedtime:
  9495. description: 支付期限
  9496. type: string
  9497. paytime:
  9498. description: 付款时间
  9499. type: string
  9500. picurls1:
  9501. description: 预售商品介绍图片[多张用逗号分隔]
  9502. type: string
  9503. picurls2:
  9504. description: 挂牌商品介绍图片[多张用逗号分隔]
  9505. type: string
  9506. sellaccountid:
  9507. description: 卖方账号ID[报价币种]
  9508. type: integer
  9509. sellorderid:
  9510. description: 卖方委托单号
  9511. type: string
  9512. tradeamount:
  9513. description: 成交金额
  9514. type: number
  9515. tradecharge:
  9516. description: 成交手续费(买方)
  9517. type: number
  9518. tradedate:
  9519. description: 交易日(yyyyMMdd)
  9520. type: string
  9521. tradeid:
  9522. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9523. type: string
  9524. trademode:
  9525. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9526. 21:竞拍-大宗式 22:受托竞价
  9527. type: integer
  9528. tradeprice:
  9529. description: 成交价格
  9530. type: number
  9531. tradeqty:
  9532. description: 成交数量
  9533. type: integer
  9534. vendorname1:
  9535. description: 预售商品供应商名称
  9536. type: string
  9537. vendorname2:
  9538. description: 挂牌商品供应商名称
  9539. type: string
  9540. required:
  9541. - goodscode
  9542. - goodsname
  9543. - tradeid
  9544. - trademode
  9545. type: object
  9546. models.HsbyBuyMyTradeDetail:
  9547. properties:
  9548. accountid:
  9549. description: 账户ID[报价币种]
  9550. type: integer
  9551. agreeunit:
  9552. description: 合约单位
  9553. type: number
  9554. amount:
  9555. description: 金额 = 价格 * 数量 * 合约单位
  9556. type: number
  9557. buyorsell:
  9558. description: 买卖 - 0:买 1:卖
  9559. type: integer
  9560. currencysign:
  9561. description: 货币符号
  9562. type: string
  9563. decimalplace:
  9564. description: 报价小数位
  9565. type: integer
  9566. goodscode:
  9567. description: 商品代码(内部)
  9568. type: string
  9569. goodsid:
  9570. description: 商品ID
  9571. type: integer
  9572. goodsname:
  9573. description: 商品名称
  9574. type: string
  9575. marketid:
  9576. description: 市场ID
  9577. type: integer
  9578. orderamount:
  9579. description: 委托金额
  9580. type: number
  9581. orderid:
  9582. description: 单号(成交单号)
  9583. type: string
  9584. picurls1:
  9585. description: 预售商品介绍图片[多张用逗号分隔]
  9586. type: string
  9587. picurls2:
  9588. description: 挂牌商品介绍图片[多张用逗号分隔]
  9589. type: string
  9590. price:
  9591. description: 价格
  9592. type: number
  9593. qty:
  9594. description: 数量
  9595. type: integer
  9596. time:
  9597. description: 时间
  9598. type: string
  9599. trademode:
  9600. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9601. 21:竞拍-大宗式 22:受托竞价
  9602. type: integer
  9603. vendorname1:
  9604. description: 预售商品供应商名称
  9605. type: string
  9606. vendorname2:
  9607. description: 挂牌商品供应商名称
  9608. type: string
  9609. required:
  9610. - accountid
  9611. - buyorsell
  9612. - goodscode
  9613. - goodsid
  9614. - goodsname
  9615. - marketid
  9616. - orderid
  9617. - qty
  9618. - time
  9619. - trademode
  9620. type: object
  9621. models.HsbyGoodsOrderDetail:
  9622. properties:
  9623. buyorsell:
  9624. description: 买卖 - 0:买 1:卖
  9625. type: integer
  9626. currencysign:
  9627. description: 货币符号
  9628. type: string
  9629. customername:
  9630. description: 客户名称(企业名称),已脱敏
  9631. type: string
  9632. enableqty:
  9633. description: 可用数量
  9634. type: integer
  9635. goodunit:
  9636. description: 报价单位
  9637. type: string
  9638. orderid:
  9639. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9640. type: string
  9641. orderprice:
  9642. description: 委托价格
  9643. type: number
  9644. ordertime:
  9645. description: 委托时间
  9646. type: string
  9647. required:
  9648. - buyorsell
  9649. - orderid
  9650. - ordertime
  9651. type: object
  9652. models.HsbyListingGoodsDetail:
  9653. properties:
  9654. agreeunit:
  9655. description: 合约单位
  9656. type: number
  9657. buymaxqty:
  9658. description: 购买上限 [71] - 0为不限
  9659. type: integer
  9660. currency:
  9661. description: 货币
  9662. type: string
  9663. currencysign:
  9664. description: 货币符号
  9665. type: string
  9666. decimalplace:
  9667. description: 报价小数位
  9668. type: integer
  9669. desccityid:
  9670. description: 目的地(市)ID
  9671. type: integer
  9672. descprovinceid:
  9673. description: 目的地(省)ID
  9674. type: integer
  9675. goodscode:
  9676. description: 商品代码(内部)
  9677. type: string
  9678. goodsdesc:
  9679. description: 商品详情
  9680. type: string
  9681. goodsid:
  9682. description: 商品ID(自增ID SEQ_GOODS)
  9683. type: integer
  9684. goodsname:
  9685. description: 商品名称
  9686. type: string
  9687. goodsprice:
  9688. description: 商品价格
  9689. type: number
  9690. hotindex:
  9691. description: 景点热度
  9692. type: integer
  9693. last:
  9694. description: 现价
  9695. type: number
  9696. limitdown:
  9697. description: 跌停价
  9698. type: number
  9699. limitup:
  9700. description: 涨停价
  9701. type: number
  9702. lotsize:
  9703. description: 手数最小变动单位
  9704. type: integer
  9705. marketid:
  9706. description: 所属市场ID
  9707. type: integer
  9708. picurls:
  9709. description: 介绍图片[多张用逗号分隔]
  9710. type: string
  9711. quoteminunit:
  9712. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9713. type: integer
  9714. stepvalue:
  9715. description: 价格最小变动单位
  9716. type: number
  9717. trademode:
  9718. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9719. 21:竞拍-大宗式 22:受托竞价
  9720. type: integer
  9721. vendorattr:
  9722. description: 供应商附件(多张,逗号分隔)
  9723. type: string
  9724. vendorname:
  9725. description: 供应商名称
  9726. type: string
  9727. vendorphone:
  9728. description: 供应商客服电话
  9729. type: string
  9730. videourls:
  9731. description: 介绍视频[多张用逗号分隔]
  9732. type: string
  9733. required:
  9734. - goodscode
  9735. - goodsid
  9736. - goodsname
  9737. - marketid
  9738. - trademode
  9739. type: object
  9740. models.HsbyMarketGoods:
  9741. properties:
  9742. accountid:
  9743. description: 账户ID[报价币种]
  9744. type: integer
  9745. agreeunit:
  9746. description: 合约单位
  9747. type: number
  9748. buyorsell:
  9749. description: 买卖 - 0:买 1:卖
  9750. type: integer
  9751. categoryid:
  9752. description: 类别ID(WRCATEGORY)
  9753. type: integer
  9754. currency:
  9755. description: 货币
  9756. type: string
  9757. currencysign:
  9758. description: 货币符号
  9759. type: string
  9760. customername:
  9761. description: 卖家名称
  9762. type: string
  9763. decimalplace:
  9764. description: 报价小数位
  9765. type: integer
  9766. goodscode:
  9767. description: 商品代码(内部)
  9768. type: string
  9769. goodsid:
  9770. description: 商品ID
  9771. type: integer
  9772. goodsname:
  9773. description: 商品名称
  9774. type: string
  9775. goodsprice:
  9776. description: 商品价格
  9777. type: number
  9778. hascoupon:
  9779. description: 是否可用优惠卷
  9780. type: boolean
  9781. hotindex:
  9782. description: 景点热度
  9783. type: integer
  9784. marketid:
  9785. description: 市场ID
  9786. type: integer
  9787. orderid:
  9788. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9789. type: string
  9790. orderprice:
  9791. description: 委托价格
  9792. type: number
  9793. orderstatus:
  9794. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9795. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9796. 16:成交失败违约(荷兰式竞拍专用)
  9797. type: integer
  9798. picurls:
  9799. description: 介绍图片[多张用逗号分隔]
  9800. type: string
  9801. quoteminunit:
  9802. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9803. type: integer
  9804. sellUserID:
  9805. description: 卖方UserID
  9806. type: integer
  9807. trademode:
  9808. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9809. 21:竞拍-大宗式 22:受托竞价
  9810. type: integer
  9811. videourls:
  9812. description: 介绍视频[多张用逗号分隔]
  9813. type: string
  9814. required:
  9815. - accountid
  9816. - buyorsell
  9817. - goodscode
  9818. - goodsid
  9819. - goodsname
  9820. - marketid
  9821. - orderid
  9822. - trademode
  9823. type: object
  9824. models.HsbyMarketGoodsDetail:
  9825. properties:
  9826. accountid:
  9827. description: 账户ID[报价币种]
  9828. type: integer
  9829. agreeunit:
  9830. description: 合约单位
  9831. type: number
  9832. buymaxqty:
  9833. description: 购买上限 [71] - 0为不限
  9834. type: integer
  9835. buyorsell:
  9836. description: 买卖 - 0:买 1:卖
  9837. type: integer
  9838. cancelqty:
  9839. description: 撤单数量
  9840. type: integer
  9841. categoryid:
  9842. description: 类别ID(WRCATEGORY)
  9843. type: integer
  9844. currency:
  9845. description: 货币
  9846. type: string
  9847. currencysign:
  9848. description: 货币符号
  9849. type: string
  9850. customername:
  9851. description: 卖家名称
  9852. type: string
  9853. decimalplace:
  9854. description: 报价小数位
  9855. type: integer
  9856. goodscode:
  9857. description: 商品代码(内部)
  9858. type: string
  9859. goodsdesc:
  9860. description: 商品详情
  9861. type: string
  9862. goodsid:
  9863. description: 商品ID
  9864. type: integer
  9865. goodsname:
  9866. description: 商品名称
  9867. type: string
  9868. goodsprice:
  9869. description: 商品价格
  9870. type: number
  9871. hotindex:
  9872. description: 景点热度
  9873. type: integer
  9874. lotsize:
  9875. description: 手数最小变动单位
  9876. type: integer
  9877. marketid:
  9878. description: 市场ID
  9879. type: integer
  9880. orderid:
  9881. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9882. type: string
  9883. orderprice:
  9884. description: 委托价格
  9885. type: number
  9886. orderqty:
  9887. description: 委托数量
  9888. type: integer
  9889. orderstatus:
  9890. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9891. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9892. 16:成交失败违约(荷兰式竞拍专用)
  9893. type: integer
  9894. picurls:
  9895. description: 介绍图片[多张用逗号分隔]
  9896. type: string
  9897. quoteminunit:
  9898. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9899. type: integer
  9900. sellUserID:
  9901. description: 卖方UserID
  9902. type: integer
  9903. trademode:
  9904. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9905. 21:竞拍-大宗式 22:受托竞价
  9906. type: integer
  9907. tradeqty:
  9908. description: 成交数量
  9909. type: integer
  9910. vendorattr:
  9911. description: 供应商附件(多张,逗号分隔)
  9912. type: string
  9913. vendorname:
  9914. description: 供应商名称
  9915. type: string
  9916. vendorphone:
  9917. description: 供应商客服电话
  9918. type: string
  9919. videourls:
  9920. description: 介绍视频[多张用逗号分隔]
  9921. type: string
  9922. required:
  9923. - accountid
  9924. - buyorsell
  9925. - goodscode
  9926. - goodsid
  9927. - goodsname
  9928. - marketid
  9929. - orderid
  9930. - orderqty
  9931. - trademode
  9932. type: object
  9933. models.HsbyMarketInfo:
  9934. properties:
  9935. marketid:
  9936. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9937. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9938. type: integer
  9939. marketname:
  9940. description: 市场名称
  9941. type: string
  9942. marketstatus:
  9943. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9944. type: integer
  9945. trademode:
  9946. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9947. 21:竞拍-大宗式 22:受托竞价
  9948. type: integer
  9949. required:
  9950. - marketid
  9951. - marketstatus
  9952. - trademode
  9953. type: object
  9954. models.HsbyMyGoods:
  9955. properties:
  9956. accountid:
  9957. description: 账号Id
  9958. type: integer
  9959. agreeunit:
  9960. description: 合约单位
  9961. type: number
  9962. buyaverageprice:
  9963. description: 持仓均价
  9964. type: number
  9965. buycurholderamount:
  9966. description: 买当前持仓总金额[商品币种]
  9967. type: number
  9968. buycurpositionqty:
  9969. description: 买当前持仓总数量
  9970. type: integer
  9971. buymaxqty:
  9972. description: 购买上限 [71] - 0为不限
  9973. type: integer
  9974. currencysign:
  9975. description: 货币符号
  9976. type: string
  9977. decimalplace:
  9978. description: 报价小数位
  9979. type: integer
  9980. enableqty:
  9981. description: 可用数量
  9982. type: integer
  9983. goodscode:
  9984. description: 商品代码(内部)
  9985. type: string
  9986. goodsid:
  9987. description: 商品Id
  9988. type: integer
  9989. goodsname:
  9990. description: 商品名称
  9991. type: string
  9992. goodsprice:
  9993. description: 商品价格
  9994. type: number
  9995. goodsstatus:
  9996. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9997. type: integer
  9998. last:
  9999. description: 现价(仅使用于挂牌点选)
  10000. type: number
  10001. limitdown:
  10002. description: 跌停价(仅使用于挂牌点选)
  10003. type: number
  10004. limitup:
  10005. description: 涨停价(仅使用于挂牌点选)
  10006. type: number
  10007. lotsize:
  10008. description: 手数最小变动单位
  10009. type: integer
  10010. marketid:
  10011. description: 所属市场ID
  10012. type: integer
  10013. picurls:
  10014. description: 介绍图片[多张用逗号分隔]
  10015. type: string
  10016. quoteminunit:
  10017. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10018. type: integer
  10019. stepvalue:
  10020. description: 价格最小变动单位
  10021. type: number
  10022. trademode:
  10023. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10024. 21:竞拍-大宗式 22:受托竞价
  10025. type: integer
  10026. required:
  10027. - accountid
  10028. - goodscode
  10029. - goodsid
  10030. - goodsname
  10031. - marketid
  10032. - trademode
  10033. type: object
  10034. models.HsbyMyPackage:
  10035. properties:
  10036. accountid:
  10037. description: 账户ID
  10038. type: integer
  10039. address:
  10040. description: 提货人详细地址
  10041. type: string
  10042. agreeunit:
  10043. description: 合约单位
  10044. type: number
  10045. amount:
  10046. description: 提货金额
  10047. type: number
  10048. auditer:
  10049. description: 审核人
  10050. type: integer
  10051. audittime:
  10052. description: 审核时间
  10053. type: string
  10054. averageprice:
  10055. description: 均价
  10056. type: number
  10057. cardnum:
  10058. description: 提货人证件号码
  10059. type: string
  10060. cardtypeid:
  10061. description: 提货人证件类型
  10062. type: integer
  10063. checkremark:
  10064. description: 审核备注
  10065. type: string
  10066. currencysign:
  10067. description: 货币符号
  10068. type: string
  10069. decimalplace:
  10070. description: 报价小数位
  10071. type: integer
  10072. goodscode:
  10073. description: 商品代码(内部)
  10074. type: string
  10075. goodsid:
  10076. description: 商品ID
  10077. type: integer
  10078. goodsname:
  10079. description: 商品名称
  10080. type: string
  10081. handlestatus:
  10082. description: 处理状态
  10083. type: integer
  10084. marketid:
  10085. description: 市场ID
  10086. type: integer
  10087. phonenum:
  10088. description: 提货人联系方式
  10089. type: string
  10090. picurls:
  10091. description: 介绍图片[多张用逗号分隔]
  10092. type: string
  10093. qty:
  10094. description: 提货数量
  10095. type: number
  10096. recivername:
  10097. description: 提货人姓名
  10098. type: string
  10099. reqtime:
  10100. description: 更新时间
  10101. type: string
  10102. takemode:
  10103. description: 提货方式 - 2:自提 3:配送
  10104. type: integer
  10105. takeorderid:
  10106. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10107. type: string
  10108. takeorderstatus:
  10109. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10110. type: integer
  10111. takeremark:
  10112. description: 提货备注
  10113. type: string
  10114. tradedate:
  10115. description: 交易日(yyyyMMdd)
  10116. type: string
  10117. trademode:
  10118. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10119. 21:竞拍-大宗式 22:受托竞价
  10120. type: integer
  10121. userid:
  10122. description: 用户ID
  10123. type: integer
  10124. vendorname:
  10125. description: 供应商名称
  10126. type: string
  10127. required:
  10128. - goodscode
  10129. - goodsname
  10130. - takeorderid
  10131. - trademode
  10132. type: object
  10133. models.HsbyPreGoods:
  10134. properties:
  10135. agreeunit:
  10136. description: 合约单位
  10137. type: number
  10138. currency:
  10139. description: 货币
  10140. type: string
  10141. currencysign:
  10142. description: 货币符号
  10143. type: string
  10144. decimalplace:
  10145. description: 报价小数位
  10146. type: integer
  10147. desccityid:
  10148. description: 目的地(市)
  10149. type: integer
  10150. descprovinceid:
  10151. description: 目的地(省)
  10152. type: integer
  10153. enableqty:
  10154. description: 剩余数量
  10155. type: integer
  10156. goodscode:
  10157. description: 商品代码(内部)
  10158. type: string
  10159. goodsid:
  10160. description: 商品ID(自增ID SEQ_GOODS)
  10161. type: integer
  10162. goodsname:
  10163. description: 商品名称
  10164. type: string
  10165. goodsstatus:
  10166. description: 商品状态- 2:未上市 3:上市
  10167. type: integer
  10168. lasttradedate:
  10169. description: 最后交易日期(状态:待退市)
  10170. type: string
  10171. listingdate:
  10172. description: 交易开始日期
  10173. type: string
  10174. marketid:
  10175. description: 所属市场ID
  10176. type: integer
  10177. picurls:
  10178. description: 介绍图片[多张用逗号分隔]
  10179. type: string
  10180. presaledqty:
  10181. description: 已预售量(预售结束时更新)
  10182. type: integer
  10183. presaleqty:
  10184. description: 预售数量
  10185. type: integer
  10186. quoteminunit:
  10187. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10188. type: integer
  10189. refprice:
  10190. description: 参考价格[一口价]
  10191. type: number
  10192. relatedgoodsid:
  10193. description: 关联交易合约ID
  10194. type: integer
  10195. trademode:
  10196. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10197. 21:竞拍-大宗式 22:受托竞价
  10198. type: integer
  10199. videourls:
  10200. description: 介绍视频[多张用逗号分隔]
  10201. type: string
  10202. required:
  10203. - goodscode
  10204. - goodsid
  10205. - goodsname
  10206. - marketid
  10207. - trademode
  10208. type: object
  10209. models.HsbyPreGoodsDetail:
  10210. properties:
  10211. agreeunit:
  10212. description: 合约单位
  10213. type: number
  10214. buymaxqty:
  10215. description: 购买上限 [71] - 0为不限
  10216. type: integer
  10217. currency:
  10218. description: 货币
  10219. type: string
  10220. currencysign:
  10221. description: 货币符号
  10222. type: string
  10223. customername:
  10224. description: 发行单位
  10225. type: string
  10226. decimalplace:
  10227. description: 报价小数位
  10228. type: integer
  10229. desccityid:
  10230. description: 目的地(市)ID
  10231. type: integer
  10232. descprovinceid:
  10233. description: 目的地(省)ID
  10234. type: integer
  10235. enableqty:
  10236. description: 剩余数量
  10237. type: integer
  10238. goodscode:
  10239. description: 商品代码(内部)
  10240. type: string
  10241. goodsdesc:
  10242. description: 商品详情
  10243. type: string
  10244. goodsid:
  10245. description: 商品ID(自增ID SEQ_GOODS)
  10246. type: integer
  10247. goodsname:
  10248. description: 商品名称
  10249. type: string
  10250. goodsstatus:
  10251. description: 商品状态- 2:未上市 3:上市
  10252. type: integer
  10253. goodunit:
  10254. description: 报价单位
  10255. type: string
  10256. lasttradedate:
  10257. description: 最后交易日期(状态:待退市)
  10258. type: string
  10259. listingdate:
  10260. description: 交易开始日期
  10261. type: string
  10262. lotsize:
  10263. description: 手数最小变动单位
  10264. type: integer
  10265. marketid:
  10266. description: 所属市场ID
  10267. type: integer
  10268. picurls:
  10269. description: 介绍图片[多张用逗号分隔]
  10270. type: string
  10271. presaledqty:
  10272. description: 已预售量(预售结束时更新)
  10273. type: integer
  10274. presaleqty:
  10275. description: 预售数量
  10276. type: integer
  10277. quoteminunit:
  10278. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10279. type: integer
  10280. refprice:
  10281. description: 参考价格[一口价]
  10282. type: number
  10283. relatedgoodsid:
  10284. description: 关联交易合约ID
  10285. type: integer
  10286. stepvalue:
  10287. description: 价格最小变动单位
  10288. type: number
  10289. trademode:
  10290. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10291. 21:竞拍-大宗式 22:受托竞价
  10292. type: integer
  10293. vendorattr:
  10294. description: 供应商附件(多张,逗号分隔)
  10295. type: string
  10296. vendorname:
  10297. description: 供应商名称
  10298. type: string
  10299. vendorphone:
  10300. description: 供应商客服电话
  10301. type: string
  10302. videourls:
  10303. description: 介绍视频[多张用逗号分隔]
  10304. type: string
  10305. required:
  10306. - goodscode
  10307. - goodsid
  10308. - goodsname
  10309. - marketid
  10310. - trademode
  10311. type: object
  10312. models.HsbySellCollectionOrder:
  10313. properties:
  10314. agreeunit:
  10315. description: 合约单位
  10316. type: number
  10317. buyaccountid:
  10318. description: 买方账号ID[报价币种]
  10319. type: integer
  10320. buyorderid:
  10321. description: 买方委托单号
  10322. type: string
  10323. createtime:
  10324. description: 创建时间
  10325. type: string
  10326. currencysign:
  10327. description: 货币符号
  10328. type: string
  10329. decimalplace:
  10330. description: 报价小数位
  10331. type: integer
  10332. goodscode:
  10333. description: 商品代码(内部)
  10334. type: string
  10335. goodsid:
  10336. description: 商品ID
  10337. type: integer
  10338. goodsname:
  10339. description: 商品名称
  10340. type: string
  10341. marketid:
  10342. description: 市场ID
  10343. type: integer
  10344. offamount:
  10345. description: 优惠金额
  10346. type: number
  10347. payamount:
  10348. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10349. type: number
  10350. payflag:
  10351. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10352. type: integer
  10353. paylimitedtime:
  10354. description: 支付期限
  10355. type: string
  10356. paytime:
  10357. description: 付款时间
  10358. type: string
  10359. picurls:
  10360. description: 商品介绍图片[多张用逗号分隔]
  10361. type: string
  10362. sellaccountid:
  10363. description: 卖方账号ID[报价币种]
  10364. type: integer
  10365. sellorderid:
  10366. description: 卖方委托单号
  10367. type: string
  10368. tradeamount:
  10369. description: 成交金额
  10370. type: number
  10371. tradecharge:
  10372. description: 成交手续费(买方)
  10373. type: number
  10374. tradedate:
  10375. description: 交易日(yyyyMMdd)
  10376. type: string
  10377. tradeid:
  10378. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10379. type: string
  10380. trademode:
  10381. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10382. 21:竞拍-大宗式 22:受托竞价
  10383. type: integer
  10384. tradeprice:
  10385. description: 成交价格
  10386. type: number
  10387. tradeqty:
  10388. description: 成交数量
  10389. type: integer
  10390. required:
  10391. - goodscode
  10392. - goodsname
  10393. - tradeid
  10394. - trademode
  10395. type: object
  10396. models.HsbySellMyDetail:
  10397. properties:
  10398. accountid:
  10399. description: 账户ID[报价币种]
  10400. type: integer
  10401. agreeunit:
  10402. description: 合约单位
  10403. type: number
  10404. buyorsell:
  10405. description: 买卖 - 0:买 1:卖
  10406. type: integer
  10407. currencysign:
  10408. description: 货币符号
  10409. type: string
  10410. decimalplace:
  10411. description: 报价小数位
  10412. type: integer
  10413. goodscode:
  10414. description: 商品代码(内部)
  10415. type: string
  10416. goodsid:
  10417. description: 商品ID
  10418. type: integer
  10419. goodsname:
  10420. description: 商品名称
  10421. type: string
  10422. marketid:
  10423. description: 市场ID
  10424. type: integer
  10425. orderid:
  10426. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10427. type: string
  10428. ordertype:
  10429. description: 单据类型:0 - 发布中, 1 - 已完成
  10430. type: integer
  10431. picurls:
  10432. description: 介绍图片[多张用逗号分隔]
  10433. type: string
  10434. price:
  10435. description: 价格
  10436. type: number
  10437. qty:
  10438. description: 数量
  10439. type: integer
  10440. time:
  10441. description: 时间
  10442. type: string
  10443. trademode:
  10444. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10445. 21:竞拍-大宗式 22:受托竞价
  10446. type: integer
  10447. vendorname:
  10448. description: 供应商名称
  10449. type: string
  10450. required:
  10451. - accountid
  10452. - buyorsell
  10453. - goodscode
  10454. - goodsid
  10455. - goodsname
  10456. - marketid
  10457. - orderid
  10458. - time
  10459. - trademode
  10460. type: object
  10461. models.HsbyTopGoods:
  10462. properties:
  10463. agreeunit:
  10464. description: 合约单位
  10465. type: number
  10466. currency:
  10467. description: 货币
  10468. type: string
  10469. currencysign:
  10470. description: 货币符号
  10471. type: string
  10472. decimalplace:
  10473. description: 报价小数位
  10474. type: integer
  10475. desccityid:
  10476. description: 目的地(市)
  10477. type: integer
  10478. descprovinceid:
  10479. description: 目的地(省)
  10480. type: integer
  10481. goodscode:
  10482. description: 商品代码(内部)
  10483. type: string
  10484. goodsid:
  10485. description: 商品ID(自增ID SEQ_GOODS)
  10486. type: integer
  10487. goodsname:
  10488. description: 商品名称
  10489. type: string
  10490. hotindex:
  10491. description: 景点热度
  10492. type: integer
  10493. last:
  10494. description: 现价
  10495. type: number
  10496. marketid:
  10497. description: 所属市场ID
  10498. type: integer
  10499. picurls:
  10500. description: 介绍图片[多张用逗号分隔]
  10501. type: string
  10502. quoteminunit:
  10503. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10504. type: integer
  10505. trademode:
  10506. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10507. 21:竞拍-大宗式 22:受托竞价
  10508. type: integer
  10509. videourls:
  10510. description: 介绍视频[多张用逗号分隔]
  10511. type: string
  10512. required:
  10513. - goodscode
  10514. - goodsid
  10515. - goodsname
  10516. - marketid
  10517. - trademode
  10518. type: object
  10519. models.HybsMyBuyOrderDetail:
  10520. properties:
  10521. accountid:
  10522. description: 账户ID[报价币种]
  10523. type: integer
  10524. agreeunit:
  10525. description: 合约单位
  10526. type: number
  10527. buyorsell:
  10528. description: 买卖 - 0:买 1:卖
  10529. type: integer
  10530. cancelqty:
  10531. description: 撤单数量
  10532. type: integer
  10533. currencysign:
  10534. description: 货币符号
  10535. type: string
  10536. decimalplace:
  10537. description: 报价小数位
  10538. type: integer
  10539. goodscode:
  10540. description: 商品代码(内部)
  10541. type: string
  10542. goodsid:
  10543. description: 商品ID
  10544. type: integer
  10545. goodsname:
  10546. description: 商品名称
  10547. type: string
  10548. listingselecttype:
  10549. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10550. type: integer
  10551. marketid:
  10552. description: 市场ID
  10553. type: integer
  10554. mybuystatus:
  10555. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  10556. type: integer
  10557. orderamount:
  10558. description: 委托金额
  10559. type: number
  10560. orderid:
  10561. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10562. type: string
  10563. orderprice:
  10564. description: 委托价格
  10565. type: number
  10566. orderqty:
  10567. description: 委托数量
  10568. type: integer
  10569. orderstatus:
  10570. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10571. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10572. 16:成交失败违约(荷兰式竞拍专用)
  10573. type: integer
  10574. ordertime:
  10575. description: 委托时间
  10576. type: string
  10577. picurls1:
  10578. description: 预售商品介绍图片[多张用逗号分隔]
  10579. type: string
  10580. picurls2:
  10581. description: 挂牌商品介绍图片[多张用逗号分隔]
  10582. type: string
  10583. trademode:
  10584. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10585. 21:竞拍-大宗式 22:受托竞价
  10586. type: integer
  10587. tradeqty:
  10588. description: 成交数量
  10589. type: integer
  10590. vendorname1:
  10591. description: 预售商品供应商名称
  10592. type: string
  10593. vendorname2:
  10594. description: 挂牌商品供应商名称
  10595. type: string
  10596. required:
  10597. - accountid
  10598. - buyorsell
  10599. - goodscode
  10600. - goodsid
  10601. - goodsname
  10602. - marketid
  10603. - orderid
  10604. - orderqty
  10605. - ordertime
  10606. - trademode
  10607. type: object
  10608. models.InternalEnableTradeDetail:
  10609. properties:
  10610. areauserid:
  10611. description: 企业ID
  10612. type: integer
  10613. deliverygoodscode:
  10614. description: 现货品种代码
  10615. type: string
  10616. deliverygoodsid:
  10617. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10618. type: integer
  10619. deliverygoodsname:
  10620. description: 现货品种名称
  10621. type: string
  10622. futurehedgeqty:
  10623. description: '[已关联数量]期货持仓套期量'
  10624. type: number
  10625. goodsid:
  10626. description: 期货合约ID
  10627. type: integer
  10628. hedgeditemnum:
  10629. description: 项目编号
  10630. type: string
  10631. unexehedgeqty:
  10632. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10633. type: number
  10634. unexespotqty:
  10635. description: 未执行现货量
  10636. type: number
  10637. wrstandardcode:
  10638. description: 现货品类代码
  10639. type: string
  10640. wrstandardid:
  10641. description: 现货品类ID(SEQ_WRSTANDARD)
  10642. type: integer
  10643. wrstandardname:
  10644. description: 现货品类名称
  10645. type: string
  10646. required:
  10647. - areauserid
  10648. - goodsid
  10649. type: object
  10650. models.InternalUncorrelatedTradeDetail:
  10651. properties:
  10652. accountid:
  10653. description: 账号ID
  10654. type: integer
  10655. accountname:
  10656. description: 套期主体
  10657. type: string
  10658. agreeunit:
  10659. description: 合约乘数
  10660. type: number
  10661. areauserid:
  10662. description: 所属机构
  10663. type: integer
  10664. bizsubjectid:
  10665. description: 归属业务部门ID - SubjectID
  10666. type: integer
  10667. buyorsell:
  10668. description: 方向 - 0:买 1:卖
  10669. type: integer
  10670. channelbuildtype:
  10671. description: 委托单据类型 0:无 1:建仓 2:平仓
  10672. type: integer
  10673. convertratio:
  10674. description: 品种系数
  10675. type: number
  10676. createtime:
  10677. description: 创建时间
  10678. type: string
  10679. creatorid:
  10680. description: 创建人ID
  10681. type: integer
  10682. creatorsrc:
  10683. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10684. type: integer
  10685. enableqty:
  10686. description: 项目可关联手数 = 成交手数 - 关联数量
  10687. type: number
  10688. goodscode:
  10689. description: 合约代码
  10690. type: string
  10691. goodsgroupid:
  10692. description: 对冲品种ID[期货合约商品组ID]
  10693. type: integer
  10694. goodsid:
  10695. description: 商品ID
  10696. type: integer
  10697. goodsname:
  10698. description: 合约名称
  10699. type: string
  10700. hedgeditemid:
  10701. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10702. type: integer
  10703. hedgeflag:
  10704. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10705. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10706. type: integer
  10707. linkdetailid:
  10708. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10709. type: string
  10710. linkstatus:
  10711. description: 关联状态 - 1:成功 2:失败 3:解绑
  10712. type: integer
  10713. middlegoodsid:
  10714. description: 套保品种ID
  10715. type: integer
  10716. relatedlot:
  10717. description: '[数量]关联手数'
  10718. type: number
  10719. relatedmode:
  10720. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10721. type: integer
  10722. relatedqty:
  10723. description: '[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio'
  10724. type: number
  10725. retcode:
  10726. description: 返回码
  10727. type: integer
  10728. saleuserid:
  10729. description: 业务员ID
  10730. type: integer
  10731. tradedate:
  10732. description: 关联交易日(yyyyMMdd)
  10733. type: string
  10734. tradeid:
  10735. description: 成交单号
  10736. type: string
  10737. tradelot:
  10738. description: 成交手数
  10739. type: integer
  10740. tradeprice:
  10741. description: 成交价
  10742. type: number
  10743. tradetime:
  10744. description: 成交时间
  10745. type: string
  10746. tradetradedate:
  10747. description: 成交交易日(yyyyMMdd)
  10748. type: string
  10749. type: object
  10750. models.Loginaccount:
  10751. properties:
  10752. accountname:
  10753. description: 账户名称
  10754. type: string
  10755. canoutin:
  10756. description: 是否可出入金 - 0:不可 1:可
  10757. type: integer
  10758. clientroleid:
  10759. description: 终端角色ID
  10760. type: integer
  10761. haslogined:
  10762. description: 是否已登录 - 0:未登录 1:已登录
  10763. type: integer
  10764. hasupdatedpwd:
  10765. description: 是否已更改密码 - 0:未修改 1:已修改
  10766. type: integer
  10767. lastloginip:
  10768. description: 最新登录地址
  10769. type: string
  10770. lastloginmode:
  10771. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10772. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10773. type: integer
  10774. lastloginremark:
  10775. description: 最新登录描述
  10776. type: string
  10777. lastlogintime:
  10778. description: 最新登录时间
  10779. type: string
  10780. logincode:
  10781. description: 登录代码
  10782. type: string
  10783. loginfailnum:
  10784. description: 连续登录失败次数(登录成功时清零)
  10785. type: integer
  10786. loginid:
  10787. description: 登陆账号
  10788. type: integer
  10789. loginport:
  10790. description: 最新登录端口
  10791. type: integer
  10792. loginstatus:
  10793. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10794. type: integer
  10795. loginusertype:
  10796. description: 登录账号类型 - 1:投资者 2:机构交易员
  10797. type: integer
  10798. mobile:
  10799. description: 手机号码(加密存储)
  10800. type: string
  10801. modifierid:
  10802. description: 修改人
  10803. type: integer
  10804. modifysrc:
  10805. description: 审核来源 - 1:管理端 2:终端
  10806. type: integer
  10807. modifytime:
  10808. description: 修改时间
  10809. type: string
  10810. password:
  10811. description: 登陆密码
  10812. type: string
  10813. pwdwrongcount:
  10814. description: 密码错误次数
  10815. type: integer
  10816. relateduserid:
  10817. description: 关联用户ID(机构)
  10818. type: integer
  10819. taaccountrighttype:
  10820. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10821. type: integer
  10822. unfreezetime:
  10823. description: 账户解冻时间
  10824. type: string
  10825. userid:
  10826. description: 用户ID
  10827. type: integer
  10828. required:
  10829. - loginid
  10830. type: object
  10831. models.MainAccountInfo:
  10832. properties:
  10833. accountid:
  10834. description: 账号id
  10835. type: integer
  10836. accountname:
  10837. description: 账号名称(taaccount表中的名称)
  10838. type: string
  10839. appid:
  10840. description: AppID
  10841. type: string
  10842. authcode:
  10843. description: 授权码
  10844. type: string
  10845. brokerid:
  10846. description: 经纪商id
  10847. type: string
  10848. fcid:
  10849. description: 期货公司id
  10850. type: integer
  10851. fcname:
  10852. description: 期货公司代码
  10853. type: string
  10854. hedgeaccountcode:
  10855. description: 外部账号代码(主账号登录代码)
  10856. type: string
  10857. hedgeaccountpwd:
  10858. description: 密码
  10859. type: string
  10860. ismain:
  10861. description: 是否主账号
  10862. type: integer
  10863. relateduserid:
  10864. description: 关联用户id
  10865. type: integer
  10866. userid:
  10867. description: 关联用户id
  10868. type: integer
  10869. type: object
  10870. models.Market:
  10871. properties:
  10872. auctionwrtype:
  10873. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10874. type: integer
  10875. canacceptquote:
  10876. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10877. type: integer
  10878. cangoodsexercise:
  10879. description: '[期权]是否可现货行权- 0:否 1:是'
  10880. type: integer
  10881. cangoodsexercisetype:
  10882. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10883. type: integer
  10884. canmanualquotestrike:
  10885. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10886. type: integer
  10887. canmutistage:
  10888. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10889. type: integer
  10890. canpreexercise:
  10891. description: '[期权]是否可预申报- 0:否 1:是'
  10892. type: integer
  10893. clearinterval:
  10894. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10895. type: integer
  10896. contracttmp:
  10897. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10898. type: string
  10899. exchareaid:
  10900. description: 所属交易所,可以没有
  10901. type: integer
  10902. goodstype:
  10903. description: 商品类型 - 1:交易商品 2:仓单商品
  10904. type: integer
  10905. hasrebate:
  10906. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10907. type: integer
  10908. hastradecredit:
  10909. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10910. type: integer
  10911. haswr:
  10912. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10913. type: integer
  10914. isdeductmargin:
  10915. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10916. type: integer
  10917. isrecordsource:
  10918. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10919. type: integer
  10920. isreleasemargin:
  10921. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10922. type: integer
  10923. marginformula:
  10924. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10925. type: integer
  10926. marginformula2:
  10927. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10928. type: integer
  10929. marketid:
  10930. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10931. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10932. type: integer
  10933. marketname:
  10934. description: 市场名称
  10935. type: string
  10936. marketserviceid:
  10937. description: 市场服务ID
  10938. type: integer
  10939. marketstatus:
  10940. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10941. type: integer
  10942. markettype:
  10943. description: 市场类型- 1:非交易服务 2:交易服务
  10944. type: integer
  10945. matchermode:
  10946. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10947. type: integer
  10948. openmethod:
  10949. description: 开盘模式 - 0 自动 1手动
  10950. type: integer
  10951. otcuserid:
  10952. description: 场外期权做市商[场外期权]
  10953. type: integer
  10954. outersynctime:
  10955. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10956. type: string
  10957. pendingflag:
  10958. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10959. type: integer
  10960. pendingtime:
  10961. description: 待开市时间[通道交易-对冲](HH:mm)
  10962. type: string
  10963. performancetempid:
  10964. description: 履约计划模板ID - 作废
  10965. type: integer
  10966. premiumquotemode:
  10967. description: 权利金报价方式 - 1:自动 2:手动
  10968. type: integer
  10969. rebateratio:
  10970. description: 返利比率[竞价式]
  10971. type: number
  10972. reckonorder:
  10973. description: 结算顺序
  10974. type: integer
  10975. reckonpricealgorithm:
  10976. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10977. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10978. type: integer
  10979. reckonpriceparam:
  10980. description: 结算价参数
  10981. type: integer
  10982. reckontime:
  10983. description: 结算时间[通道交易-对冲](HH:mm)
  10984. type: string
  10985. roleprioritytype:
  10986. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10987. type: integer
  10988. selllistingauditflag:
  10989. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10990. type: integer
  10991. trademarkettype:
  10992. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10993. type: integer
  10994. trademode:
  10995. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10996. 21:竞拍-大宗式 22:受托竞价
  10997. type: integer
  10998. tradeproperty:
  10999. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11000. 8:场外期权
  11001. type: integer
  11002. tradetype:
  11003. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11004. type: integer
  11005. required:
  11006. - marketid
  11007. - marketstatus
  11008. - openmethod
  11009. - reckonpricealgorithm
  11010. - trademode
  11011. - tradeproperty
  11012. type: object
  11013. models.Marketrun:
  11014. properties:
  11015. afternexttradedate:
  11016. description: 下下交易日
  11017. type: string
  11018. clearquoteflag:
  11019. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11020. type: integer
  11021. lastreckondate:
  11022. description: 最新交易日(结算成功)
  11023. type: string
  11024. machinedate:
  11025. description: 机器时间
  11026. type: string
  11027. manualflag:
  11028. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11029. type: integer
  11030. marketid:
  11031. description: 市场ID
  11032. type: integer
  11033. nexttradedate:
  11034. description: 下一交易日
  11035. type: string
  11036. pretradedate:
  11037. description: 上一交易日
  11038. type: string
  11039. reckonflag:
  11040. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11041. type: integer
  11042. runstatus:
  11043. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11044. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11045. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11046. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11047. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11048. 62.今日免清算
  11049. type: integer
  11050. sectionid:
  11051. description: 时间段号[多时段时用]
  11052. type: integer
  11053. tradedate:
  11054. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11055. type: string
  11056. tradedate2:
  11057. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11058. type: string
  11059. updatetime:
  11060. description: 更新时间
  11061. type: string
  11062. required:
  11063. - marketid
  11064. - nexttradedate
  11065. - reckonflag
  11066. - runstatus
  11067. - tradedate
  11068. - tradedate2
  11069. type: object
  11070. models.Messageboard:
  11071. properties:
  11072. contactnum:
  11073. description: 联系电话
  11074. type: string
  11075. createtime:
  11076. description: 创建时间
  11077. type: string
  11078. message:
  11079. description: 留言信息
  11080. type: string
  11081. messageboardid:
  11082. description: 留言簿ID(SEQ_MessageBoard)
  11083. type: integer
  11084. userid:
  11085. description: 用户ID
  11086. type: integer
  11087. required:
  11088. - messageboardid
  11089. type: object
  11090. models.MyCoupon:
  11091. properties:
  11092. accountid:
  11093. description: 资金账户ID
  11094. type: integer
  11095. areauserid:
  11096. description: 所属机构
  11097. type: integer
  11098. conditionvalue:
  11099. description: 条件阈值(可为0)
  11100. type: number
  11101. couponcategroy:
  11102. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11103. type: integer
  11104. couponname:
  11105. description: 优惠券名称
  11106. type: string
  11107. coupontypeid:
  11108. description: 优惠券类型ID
  11109. type: string
  11110. couponvalue:
  11111. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11112. type: number
  11113. curfreezeqty:
  11114. description: 期末冻结数量
  11115. type: integer
  11116. curqty:
  11117. description: 期末数量
  11118. type: integer
  11119. isgeneral:
  11120. description: 是否通用券 - 0:否 1:是
  11121. type: integer
  11122. isunusable:
  11123. description: 是否不可用
  11124. type: boolean
  11125. limitedflag:
  11126. description: 是否指定商品 - 0:不限 1:限制
  11127. type: integer
  11128. limitedgoodsids:
  11129. description: 指定商品IDs[逗号分隔,前后加逗号]
  11130. type: string
  11131. orifreezeqty:
  11132. description: 期初冻结数量
  11133. type: integer
  11134. oriqty:
  11135. description: 期初数量
  11136. type: integer
  11137. reasontype:
  11138. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11139. type: integer
  11140. todaydecrease:
  11141. description: 今日减少
  11142. type: integer
  11143. todayincrease:
  11144. description: 今日增加
  11145. type: integer
  11146. userid:
  11147. description: 用户ID
  11148. type: integer
  11149. userscope:
  11150. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11151. type: string
  11152. required:
  11153. - accountid
  11154. - coupontypeid
  11155. type: object
  11156. models.MyCouponHold:
  11157. properties:
  11158. accountid:
  11159. description: 资金账户ID
  11160. type: integer
  11161. conditionvalue:
  11162. description: 条件阈值(可为0)
  11163. type: number
  11164. couponcategroy:
  11165. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11166. type: integer
  11167. couponholdid:
  11168. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11169. type: string
  11170. couponname:
  11171. description: 优惠券名称
  11172. type: string
  11173. coupontypeid:
  11174. description: 优惠券类型ID - SEQ_COUPONTYPE
  11175. type: string
  11176. couponvalue:
  11177. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11178. type: number
  11179. createtime:
  11180. description: 创建时间
  11181. type: string
  11182. enddate:
  11183. description: 结束日期
  11184. type: string
  11185. giveapplyid:
  11186. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11187. type: integer
  11188. holdstatus:
  11189. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11190. type: integer
  11191. isgeneral:
  11192. description: 是否通用券 - 0:否 1:是
  11193. type: integer
  11194. limitedflag:
  11195. description: 是否指定商品 - 0:不限 1:限制
  11196. type: integer
  11197. limitedgoodsids:
  11198. description: 指定商品IDs[逗号分隔]
  11199. type: string
  11200. qty:
  11201. description: 数量(按1平铺)
  11202. type: integer
  11203. startdate:
  11204. description: 开始日期
  11205. type: string
  11206. userid:
  11207. description: 用户ID
  11208. type: integer
  11209. userscope:
  11210. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11211. type: string
  11212. required:
  11213. - couponholdid
  11214. type: object
  11215. models.MyUsedCoupon:
  11216. properties:
  11217. accountid:
  11218. description: 资金账户ID(买方)
  11219. type: integer
  11220. conditionvalue:
  11221. description: 条件阈值(可为0)
  11222. type: number
  11223. couponcategroy:
  11224. description: 种类 - 1:现金券 2:折扣券
  11225. type: integer
  11226. couponname:
  11227. description: 优惠券名称
  11228. type: string
  11229. coupontypeid:
  11230. description: 优惠券类型ID(买方)
  11231. type: string
  11232. couponvalue:
  11233. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11234. type: number
  11235. createtime:
  11236. description: 创建时间
  11237. type: string
  11238. goodsid:
  11239. description: 商品ID
  11240. type: integer
  11241. handlestatus:
  11242. description: 处理状态
  11243. type: integer
  11244. marketid:
  11245. description: 市场ID
  11246. type: integer
  11247. offamount:
  11248. description: 优惠金额
  11249. type: number
  11250. orderid:
  11251. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11252. type: string
  11253. sellaccountid:
  11254. description: 资金账户ID(卖方)
  11255. type: integer
  11256. tradeamount:
  11257. description: 成交金额
  11258. type: number
  11259. tradeid:
  11260. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11261. type: string
  11262. usedqty:
  11263. description: 使用数量
  11264. type: integer
  11265. required:
  11266. - coupontypeid
  11267. - orderid
  11268. type: object
  11269. models.OperationPrimaryMenu:
  11270. properties:
  11271. Children:
  11272. description: 二级功能菜单
  11273. items:
  11274. $ref: '#/definitions/models.OperationSecondaryMenu'
  11275. type: array
  11276. Key:
  11277. description: 菜单KEY
  11278. type: string
  11279. Label:
  11280. description: 菜单标题
  11281. type: string
  11282. type: object
  11283. models.OperationSecondaryMenu:
  11284. properties:
  11285. Key:
  11286. description: 菜单KEY
  11287. type: string
  11288. Label:
  11289. description: 菜单标题
  11290. type: string
  11291. TabList:
  11292. description: 三级功能菜单
  11293. items:
  11294. $ref: '#/definitions/models.OperationTabMenu'
  11295. type: array
  11296. type: object
  11297. models.OperationTabMenu:
  11298. properties:
  11299. Key:
  11300. description: 菜单KEY
  11301. type: string
  11302. Label:
  11303. description: 菜单标题
  11304. type: string
  11305. type: object
  11306. models.QhjAccountOutInApply:
  11307. properties:
  11308. accountcode:
  11309. description: 资金账号
  11310. type: string
  11311. accountname:
  11312. description: 用户名称(名称)
  11313. type: string
  11314. accountpwd:
  11315. description: 资金密码
  11316. type: string
  11317. accountticket:
  11318. description: 最新账户服务流水号
  11319. type: string
  11320. amount:
  11321. description: 金额
  11322. type: number
  11323. applyremark:
  11324. description: 申请备注
  11325. type: string
  11326. applystatus:
  11327. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11328. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11329. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11330. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11331. type: integer
  11332. auditid:
  11333. description: 审核人
  11334. type: integer
  11335. audittime:
  11336. description: 审核时间
  11337. type: string
  11338. bank_apply_ticket:
  11339. description: 银行申请流水
  11340. type: string
  11341. bankaccountname:
  11342. description: 银行账户名
  11343. type: string
  11344. bankaccountno:
  11345. description: 银行卡号
  11346. type: string
  11347. bankid:
  11348. description: 银行编号
  11349. type: string
  11350. bankticket:
  11351. description: 银行流水
  11352. type: string
  11353. branchbankid:
  11354. description: 银行支行号
  11355. type: string
  11356. branchbankname:
  11357. description: 银行支行名称
  11358. type: string
  11359. capamountout:
  11360. description: 出金(劣后本金) - 外部子账户
  11361. type: number
  11362. certificatephotourl:
  11363. description: 凭证地址
  11364. type: string
  11365. charge:
  11366. description: 手续费
  11367. type: number
  11368. checkerrorflag:
  11369. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11370. type: integer
  11371. currency:
  11372. description: 币种
  11373. type: string
  11374. cusbankid:
  11375. description: 托管银行编号
  11376. type: string
  11377. exchticket:
  11378. description: 银行服务流水号
  11379. type: string
  11380. executetype:
  11381. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11382. 7:外部子账户:入金 8:外部子账户:出金'
  11383. type: integer
  11384. extendinfo:
  11385. description: 扩展信息
  11386. type: string
  11387. extoperateid:
  11388. description: 交易服务流水号
  11389. type: integer
  11390. infamount:
  11391. description: 劣后金额(自有)
  11392. type: number
  11393. logincode:
  11394. description: 登录账号(账号)
  11395. type: string
  11396. netaddr:
  11397. description: 调转网址
  11398. type: string
  11399. priamount:
  11400. description: 优先金额(授信)
  11401. type: number
  11402. reauditid:
  11403. description: 复审人
  11404. type: integer
  11405. reauditremark:
  11406. description: 复审备注
  11407. type: string
  11408. reaudittime:
  11409. description: 复审时间
  11410. type: string
  11411. relatedorderid:
  11412. description: 三方关联ID
  11413. type: string
  11414. remark:
  11415. description: 备注
  11416. type: string
  11417. remark2:
  11418. description: 备注(失败原因)
  11419. type: string
  11420. soucreamount:
  11421. description: 原始出入金金额
  11422. type: number
  11423. soucrecurrencyid:
  11424. description: 原始出入金币种
  11425. type: integer
  11426. tradedate:
  11427. description: 交易日(yyyyMMdd)
  11428. type: string
  11429. updatetime:
  11430. description: 更新时间(申请时间)
  11431. type: string
  11432. userid:
  11433. description: 用户id
  11434. type: integer
  11435. userinfotype:
  11436. description: 账户类型 1-个人 2-企业
  11437. type: integer
  11438. type: object
  11439. models.QhjAgreementChangeLog:
  11440. properties:
  11441. agreementcontent:
  11442. description: 协议内容
  11443. type: string
  11444. agreementfrequency:
  11445. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11446. type: integer
  11447. agreementid:
  11448. description: 协议ID
  11449. type: integer
  11450. agreementname:
  11451. description: 协议名称
  11452. type: string
  11453. agreementno:
  11454. description: 协议编号
  11455. type: string
  11456. agreementtype:
  11457. description: 协议类型 - 1:注册 2:登录 3:交易
  11458. type: integer
  11459. agreementversion:
  11460. description: 协议版本号
  11461. type: integer
  11462. logid:
  11463. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  11464. type: integer
  11465. reviserid:
  11466. description: 修改人
  11467. type: integer
  11468. revisersrc:
  11469. description: 修改来源 - 1:管理端 2:终端
  11470. type: integer
  11471. updatetime:
  11472. description: 更新时间
  11473. type: string
  11474. type: object
  11475. models.QhjAgreementConfig:
  11476. properties:
  11477. agreementcontent:
  11478. description: 协议内容
  11479. type: string
  11480. agreementfrequency:
  11481. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11482. type: integer
  11483. agreementid:
  11484. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  11485. type: integer
  11486. agreementname:
  11487. description: 协议名称
  11488. type: string
  11489. agreementno:
  11490. description: 协议编号
  11491. type: string
  11492. agreementtype:
  11493. description: 协议类型 - 1:注册 2:登录 3:交易
  11494. type: integer
  11495. agreementversion:
  11496. description: 协议版本号(从1开始每次修改加1)
  11497. type: integer
  11498. createtime:
  11499. description: 创建时间
  11500. type: string
  11501. creatorid:
  11502. description: 创建人
  11503. type: integer
  11504. creatorsrc:
  11505. description: 创建来源 - 1:管理端 2:终端
  11506. type: integer
  11507. isvalid:
  11508. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  11509. type: integer
  11510. reviserid:
  11511. description: 修改人
  11512. type: integer
  11513. revisersrc:
  11514. description: 修改来源 - 1:管理端 2:终端
  11515. type: integer
  11516. updatetime:
  11517. description: 更新时间
  11518. type: string
  11519. type: object
  11520. models.QhjAreaFinanceConfig:
  11521. properties:
  11522. additionalratio:
  11523. description: 追加款比例
  11524. type: number
  11525. advanceratio:
  11526. description: 预付款比例
  11527. type: number
  11528. alarmratio:
  11529. description: 告警比例
  11530. type: number
  11531. consumptiondirectreward:
  11532. description: 消费直推奖励值
  11533. type: number
  11534. consumptionenabled:
  11535. description: 是否启用消费奖励 - 0:不启用 1:启用
  11536. type: integer
  11537. consumptionindirectreward:
  11538. description: 消费间推奖励值
  11539. type: number
  11540. consumptionmodel:
  11541. description: 消费奖励方式 - 1:比率 2:固定
  11542. type: integer
  11543. customerservicenum:
  11544. description: 客服电话
  11545. type: string
  11546. dayinterestrate:
  11547. description: 日利率
  11548. type: number
  11549. disableconsumptiontips:
  11550. description: 关闭消费奖励提示
  11551. type: string
  11552. modifierid:
  11553. description: 修改人ID
  11554. type: integer
  11555. modifysrc:
  11556. description: 审核来源 - 1:管理端 2:终端
  11557. type: integer
  11558. modifytime:
  11559. description: 修改时间
  11560. type: string
  11561. promotionvalue:
  11562. description: 推广奖励值(固定)
  11563. type: number
  11564. scoreconfigvalue1:
  11565. description: 提货积分配置1
  11566. type: integer
  11567. scoreconfigvalue2:
  11568. description: 提货积分配置2
  11569. type: integer
  11570. userid:
  11571. description: 机构用户ID其他做市关系,都设置为 1
  11572. type: integer
  11573. username:
  11574. description: 用户名称
  11575. type: string
  11576. type: object
  11577. models.QhjBankAccountSign:
  11578. properties:
  11579. accountcode:
  11580. description: 资金账号
  11581. type: string
  11582. accountname:
  11583. description: 资金账号对应的账号名(UserName)
  11584. type: string
  11585. accountname2:
  11586. description: 资金账号对应的账号名(UserName) - 密文
  11587. type: string
  11588. accounttype:
  11589. description: 账户类型(UserType)
  11590. type: integer
  11591. applicationtime:
  11592. description: 最后一次更新的时间
  11593. type: string
  11594. applyexchticket:
  11595. description: 申请流水
  11596. type: string
  11597. auditid:
  11598. description: 审核人
  11599. type: integer
  11600. audittime:
  11601. description: 审核时间
  11602. type: string
  11603. bankaccountname:
  11604. description: 签约银行卡账号名
  11605. type: string
  11606. bankaccountname2:
  11607. description: 签约银行卡账号名 - 密文
  11608. type: string
  11609. bankaccountno:
  11610. description: 银行卡号
  11611. type: string
  11612. bankaccountno2:
  11613. description: 银行卡号 - 密文
  11614. type: string
  11615. bankaccounttype:
  11616. description: 银行账户类型 - 1-对私; 2-对公
  11617. type: integer
  11618. bankcardtype:
  11619. description: 银行卡类型
  11620. type: integer
  11621. bankchildaccount:
  11622. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  11623. type: string
  11624. bankcity:
  11625. description: 开户行城市
  11626. type: string
  11627. bankid:
  11628. description: 签约银行ID
  11629. type: string
  11630. bankname:
  11631. description: 签约银行名称
  11632. type: string
  11633. bankprovince:
  11634. description: 开户行省份
  11635. type: string
  11636. branchbankid:
  11637. description: 签约银行支行号
  11638. type: string
  11639. branchbankname:
  11640. description: 签约银行支行名称
  11641. type: string
  11642. cardno:
  11643. description: 证件号码
  11644. type: string
  11645. cardno2:
  11646. description: 证件号码 - 密文
  11647. type: string
  11648. cardtype:
  11649. description: 证件类型
  11650. type: string
  11651. currency:
  11652. description: 币种
  11653. type: string
  11654. cusbankid:
  11655. description: 托管银行编号
  11656. type: string
  11657. direct:
  11658. description: 方向(可以判断那方先发起的签约)
  11659. type: integer
  11660. exchticket:
  11661. description: 最后一次签约成功的流水号
  11662. type: string
  11663. extendinfo:
  11664. description: 扩展信息(JSON字符串)
  11665. type: string
  11666. mobilephone:
  11667. description: 手机号
  11668. type: string
  11669. mobilephone2:
  11670. description: 手机号 - 密文
  11671. type: string
  11672. netaddr:
  11673. description: 调转网址
  11674. type: string
  11675. relateduserid:
  11676. description: 关联使用者userid
  11677. type: integer
  11678. signstatus:
  11679. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  11680. 10:审核拒绝 11:换签待审核
  11681. type: integer
  11682. updatetime:
  11683. description: 更新时间(签解约更新时间)
  11684. type: string
  11685. type: object
  11686. models.QhjBankInfo:
  11687. properties:
  11688. bankid:
  11689. description: 银行ID
  11690. type: string
  11691. bankname:
  11692. description: 银行名称
  11693. type: string
  11694. clearbankno:
  11695. description: 清算系统银行编号
  11696. type: string
  11697. orderindex:
  11698. description: 排序顺序
  11699. type: integer
  11700. status:
  11701. description: 状态 - 0:正常 1:注销
  11702. type: integer
  11703. type: object
  11704. models.QhjBrokerApply:
  11705. properties:
  11706. applicantid:
  11707. description: 申请人
  11708. type: integer
  11709. applysrc:
  11710. description: 申请来源 - 1:管理端 2:终端
  11711. type: integer
  11712. applystatus:
  11713. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11714. type: integer
  11715. applytime:
  11716. description: 申请时间
  11717. type: string
  11718. auditorid:
  11719. description: 审核人
  11720. type: integer
  11721. auditremark:
  11722. description: 审核备注
  11723. type: string
  11724. auditsrc:
  11725. description: 审核来源 - 1:管理端 2:终端
  11726. type: integer
  11727. audittime:
  11728. description: 审核时间
  11729. type: string
  11730. audittradedate:
  11731. description: 审核交易日(yyyyMMdd)
  11732. type: string
  11733. brokerapplyid:
  11734. description: 申请ID(SEQ_BROKERAPPLY)
  11735. type: integer
  11736. cardbackphotourl:
  11737. description: 证件背面图片地址
  11738. type: string
  11739. cardfrontphotourl:
  11740. description: 证件正面图片地址
  11741. type: string
  11742. cardnum:
  11743. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11744. type: string
  11745. customername:
  11746. description: 姓名
  11747. type: string
  11748. logincode:
  11749. description: 登录代码
  11750. type: string
  11751. mobile:
  11752. description: 手机号码
  11753. type: string
  11754. parentuserid:
  11755. description: 所属机构id
  11756. type: integer
  11757. parentusername:
  11758. description: 所属机构名称
  11759. type: string
  11760. refereeuserid:
  11761. description: 推荐人id(经纪人)
  11762. type: integer
  11763. refernum:
  11764. description: 推荐码
  11765. type: string
  11766. remark:
  11767. description: 备注
  11768. type: string
  11769. subarealevelpath:
  11770. description: 层级路径
  11771. type: string
  11772. tradedate:
  11773. description: 交易日(yyyyMMdd)
  11774. type: string
  11775. userid:
  11776. description: 申请人用户ID
  11777. type: integer
  11778. userinfotype:
  11779. description: 用户类型 1-个人 2-企业
  11780. type: integer
  11781. username:
  11782. description: 用户名称
  11783. type: string
  11784. type: object
  11785. models.QhjBrokerApplyEx:
  11786. properties:
  11787. applylist:
  11788. description: 经纪人申请记录(只返回最新一条)
  11789. items:
  11790. $ref: '#/definitions/models.QhjBrokerApply'
  11791. type: array
  11792. canrecommend:
  11793. description: 是否经纪人 0-不是 1-是
  11794. type: integer
  11795. refernum:
  11796. description: 推荐码
  11797. type: string
  11798. userid:
  11799. description: 用户id
  11800. type: integer
  11801. userinfotype:
  11802. description: 用户类型 1-个人 2-企业
  11803. type: integer
  11804. type: object
  11805. models.QhjBrokerRewardLog:
  11806. properties:
  11807. accountid:
  11808. description: 资金账号ID
  11809. type: integer
  11810. createtime:
  11811. description: 创建时间(时间)
  11812. type: string
  11813. handlestatus:
  11814. description: 处理状态
  11815. type: integer
  11816. logid:
  11817. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11818. type: string
  11819. marketid:
  11820. description: 市场ID
  11821. type: integer
  11822. mmaccountid:
  11823. description: 做市商资金账号ID
  11824. type: string
  11825. mmuserid:
  11826. description: 做市商用户ID
  11827. type: string
  11828. rewardamount:
  11829. description: 奖励金额
  11830. type: number
  11831. rewardmodel:
  11832. description: 消费奖励方式 - 1:比率 2:固定
  11833. type: integer
  11834. rewardtype:
  11835. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  11836. type: integer
  11837. rewardvalue:
  11838. description: 配置奖励值
  11839. type: number
  11840. srcamount:
  11841. description: 成交金额 [消费奖励] (金额)
  11842. type: number
  11843. srcgoodsid:
  11844. description: 来源商品ID [消费奖励]
  11845. type: string
  11846. srctime:
  11847. description: 来源时间 (成交时间) [消费奖励]
  11848. type: string
  11849. srctradeid:
  11850. description: 来源成交单ID [消费奖励] - 排除提货成交
  11851. type: string
  11852. srcuserid:
  11853. description: 来源用户ID(推广账户)
  11854. type: string
  11855. srcusername:
  11856. description: 推广账户名称
  11857. type: string
  11858. tradedate:
  11859. description: 交易日(yyyyMMdd)
  11860. type: string
  11861. userid:
  11862. description: 经纪人用户ID
  11863. type: integer
  11864. type: object
  11865. models.QhjContract:
  11866. properties:
  11867. contractconfirmtime:
  11868. description: 合同确认时间(时间)
  11869. type: string
  11870. currisklevel:
  11871. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11872. type: integer
  11873. decimalplace:
  11874. description: 商品报价小数位
  11875. type: integer
  11876. enumdicname:
  11877. description: 单位名称
  11878. type: string
  11879. goodscode:
  11880. description: 商品代码
  11881. type: string
  11882. goodsid:
  11883. description: 商品ID [5:融资单]
  11884. type: integer
  11885. goodsname:
  11886. description: 商品名称
  11887. type: string
  11888. goodunitid:
  11889. description: 商品单位id
  11890. type: integer
  11891. initmargin:
  11892. description: 初始保证金(首付款)
  11893. type: number
  11894. lenderamount:
  11895. description: 贷款金额(总额|订单总额)
  11896. type: number
  11897. marginratio:
  11898. description: 保证金比率(首付比例)
  11899. type: number
  11900. payamount:
  11901. description: 已付(已付货款)
  11902. type: number
  11903. reckonrecovermargin:
  11904. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11905. type: number
  11906. recoveredmargin:
  11907. description: 已追缴保证金
  11908. type: number
  11909. remainamount:
  11910. description: 合同剩余金额(融资额)
  11911. type: number
  11912. scfcontractid:
  11913. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11914. type: string
  11915. scfcontractstatus:
  11916. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11917. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11918. type: integer
  11919. scfcontracttype:
  11920. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11921. type: integer
  11922. totalinterest:
  11923. description: 已计总利息(利息)
  11924. type: number
  11925. tradeprice:
  11926. description: 成交价格(成本价格)
  11927. type: number
  11928. userid:
  11929. description: 用户ID
  11930. type: integer
  11931. username:
  11932. description: 用户名称
  11933. type: string
  11934. wrqty:
  11935. description: 仓单数量(数量)
  11936. type: number
  11937. type: object
  11938. models.QhjContractLog:
  11939. properties:
  11940. amount:
  11941. description: 支付金额
  11942. type: number
  11943. amounttype:
  11944. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  11945. type: integer
  11946. logid:
  11947. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11948. type: string
  11949. remainamount:
  11950. description: 剩余货款
  11951. type: number
  11952. scfcontractid:
  11953. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11954. type: integer
  11955. updatetime:
  11956. description: 更新时间
  11957. type: string
  11958. type: object
  11959. models.QhjCusBankSignBankEx:
  11960. properties:
  11961. banklst:
  11962. description: 银行列表
  11963. items:
  11964. $ref: '#/definitions/models.QhjBankInfo'
  11965. type: array
  11966. canallot:
  11967. description: 是否支持跨行调拨 - 0:不支持 1:支持
  11968. type: integer
  11969. canallotquery:
  11970. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  11971. type: integer
  11972. canbindcard:
  11973. description: 是否可绑卡与解卡 - 0:不可 1:可以
  11974. type: integer
  11975. caninamount:
  11976. description: 是否可入金 - 0:不可 1:可以
  11977. type: integer
  11978. caninamount2:
  11979. description: 是否可入金(网银端) - 0:不可 1:可以
  11980. type: integer
  11981. canmodifybankcard:
  11982. description: 是否可修改银行卡号 - 0:不可 1:可以
  11983. type: integer
  11984. canmodifyphone:
  11985. description: 是否可修改手机号 - 0:不可 1:可以
  11986. type: integer
  11987. canmodifysigninfo:
  11988. description: 是否可修改签约信息 - 0:不可 1:可以
  11989. type: integer
  11990. canoutamount:
  11991. description: 是否可出金 - 0:不可 1:可以
  11992. type: integer
  11993. canoutamount2:
  11994. description: 是否可出金(网银端) - 0:不可 1:可以
  11995. type: integer
  11996. canrelease:
  11997. description: 是否可解约 - 0:不可 1:可以
  11998. type: integer
  11999. canrelease2:
  12000. description: 是否可解约(网银端) - 0:不可 1:可以
  12001. type: integer
  12002. cansign:
  12003. description: 是否可签约 - 0:不可 1:可以
  12004. type: integer
  12005. cansign2:
  12006. description: 是否可签约(网银端) - 0:不可 1:可以
  12007. type: integer
  12008. currency:
  12009. description: 币种
  12010. type: string
  12011. cusbankid:
  12012. description: 托管银行编号(对应清算中心TRAN_NO)
  12013. type: string
  12014. cusbankname:
  12015. description: 银行业务名称
  12016. type: string
  12017. cusbankshortname:
  12018. description: 银行业务简称
  12019. type: string
  12020. exchbankid:
  12021. description: 交易所开户银行ID
  12022. type: string
  12023. exchpaybankaccname:
  12024. description: 交易所支出结算账户户名
  12025. type: string
  12026. exchpaybankaccno:
  12027. description: 交易所支出结算账户
  12028. type: string
  12029. isneedcheck:
  12030. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12031. type: integer
  12032. isneedclear:
  12033. description: 是否需要清算 - 0:不需要 1:需要
  12034. type: integer
  12035. lastcheckstatus:
  12036. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12037. type: integer
  12038. lastchecktime:
  12039. description: 最后对账时间
  12040. type: string
  12041. lastclearstatus:
  12042. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12043. type: integer
  12044. lastcleartime:
  12045. description: 最后清算时间
  12046. type: string
  12047. lastsignintime:
  12048. description: 最后签到时间
  12049. type: string
  12050. lastsignouttime:
  12051. description: 最后签退时间
  12052. type: string
  12053. riskinfo:
  12054. description: 签约风险提示书
  12055. type: string
  12056. signstatus:
  12057. description: 当前签到/签退状态 - 1:签到 2:签退
  12058. type: integer
  12059. tradedate:
  12060. description: 交易日(yyyyMMdd)
  12061. type: string
  12062. updatetime:
  12063. description: 当前签到/签退更新时间
  12064. type: string
  12065. type: object
  12066. models.QhjCustomer:
  12067. properties:
  12068. address:
  12069. description: 通讯地址
  12070. type: string
  12071. attachment1:
  12072. description: 附件1
  12073. type: string
  12074. attachment2:
  12075. description: 附件2
  12076. type: string
  12077. audittime:
  12078. description: 审核时间
  12079. type: string
  12080. cardbackphotourl:
  12081. description: 证件反面图片地址
  12082. type: string
  12083. cardfrontphotourl:
  12084. description: 证件正面图片地址
  12085. type: string
  12086. cardnum:
  12087. description: 证件号码
  12088. type: string
  12089. cardtype:
  12090. description: 证件类型
  12091. type: integer
  12092. cardtypename:
  12093. description: 证件类型名称
  12094. type: string
  12095. cityid:
  12096. description: 市
  12097. type: integer
  12098. cityname:
  12099. description: 城市名称
  12100. type: string
  12101. contactname:
  12102. description: 联系人
  12103. type: string
  12104. countryid:
  12105. description: 国家
  12106. type: integer
  12107. countryname:
  12108. description: 国家名称
  12109. type: string
  12110. createtime:
  12111. description: 创建时间
  12112. type: string
  12113. customername:
  12114. description: 客户名称
  12115. type: string
  12116. districtid:
  12117. description: 区域
  12118. type: integer
  12119. districtname:
  12120. description: 地区名称
  12121. type: string
  12122. email:
  12123. description: 邮件
  12124. type: string
  12125. legalpersonname:
  12126. description: 法人姓名(企业)
  12127. type: string
  12128. logincode:
  12129. description: 登录账号(代码)
  12130. type: string
  12131. memberuserid:
  12132. description: 所属机构ID(所属会员)
  12133. type: integer
  12134. memberusername:
  12135. description: 所属会员名称
  12136. type: string
  12137. mobile:
  12138. description: 手机号码
  12139. type: string
  12140. modifytime:
  12141. description: 修改时间
  12142. type: string
  12143. nickname:
  12144. description: 昵称
  12145. type: string
  12146. parentuserid:
  12147. description: 上级机构(所属机构)
  12148. type: integer
  12149. parentusername:
  12150. description: 所属机构名称
  12151. type: string
  12152. provinceid:
  12153. description: 省
  12154. type: integer
  12155. provincename:
  12156. description: 省名称
  12157. type: string
  12158. proxystatementurl:
  12159. description: 授权委托书
  12160. type: string
  12161. remark:
  12162. description: 备注
  12163. type: string
  12164. status:
  12165. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12166. type: integer
  12167. statusdesc:
  12168. description: 账户状态中文描述
  12169. type: string
  12170. taxpayernum:
  12171. description: 纳税人识别号
  12172. type: string
  12173. telphone:
  12174. description: 联系电话
  12175. type: string
  12176. userid:
  12177. description: 用户ID
  12178. type: integer
  12179. userinfotype:
  12180. description: 客户类型 1-个人 2-企业
  12181. type: integer
  12182. username:
  12183. description: 用户名称
  12184. type: string
  12185. type: object
  12186. models.QhjCustomerSignLog:
  12187. properties:
  12188. agreementcontent:
  12189. description: 协议内容
  12190. type: string
  12191. agreementid:
  12192. description: 协议ID
  12193. type: integer
  12194. agreementname:
  12195. description: 协议名称
  12196. type: string
  12197. agreementno:
  12198. description: 协议编号
  12199. type: string
  12200. agreementtype:
  12201. description: 协议类型 - 1:注册 2:登录 3:交易
  12202. type: integer
  12203. agreementversion:
  12204. description: 协议版本号
  12205. type: integer
  12206. createtime:
  12207. description: 创建时间
  12208. type: string
  12209. goodscode:
  12210. description: 商品代码
  12211. type: string
  12212. goodsid:
  12213. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12214. type: integer
  12215. goodsname:
  12216. description: 商品名称
  12217. type: string
  12218. logid:
  12219. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  12220. type: integer
  12221. nodetype:
  12222. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12223. type: integer
  12224. signadressurl:
  12225. description: 签约文件地址
  12226. type: string
  12227. signtimestamp:
  12228. description: 签约状态时间戳
  12229. type: string
  12230. userid:
  12231. description: 客户ID
  12232. type: integer
  12233. username:
  12234. description: 客户名称
  12235. type: string
  12236. type: object
  12237. models.QhjCustomerSignStatus:
  12238. properties:
  12239. createtime:
  12240. description: 创建时间
  12241. type: string
  12242. goodscode:
  12243. description: 商品代码
  12244. type: string
  12245. goodsid:
  12246. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12247. type: integer
  12248. goodsname:
  12249. description: 商品名称
  12250. type: string
  12251. nodetype:
  12252. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  12253. type: integer
  12254. signtimestamp:
  12255. description: 签约状态时间戳
  12256. type: string
  12257. tradedate:
  12258. description: 创建交易日(yyyyMMdd)
  12259. type: string
  12260. updatetime:
  12261. description: 更新时间
  12262. type: string
  12263. userid:
  12264. description: 客户ID
  12265. type: integer
  12266. username:
  12267. description: 客户名称
  12268. type: string
  12269. type: object
  12270. models.QhjMgrAccountOutInApply:
  12271. properties:
  12272. accountcode:
  12273. description: 资金账号
  12274. type: string
  12275. accountname:
  12276. description: 用户名称(名称)
  12277. type: string
  12278. accountpwd:
  12279. description: 资金密码
  12280. type: string
  12281. accountticket:
  12282. description: 最新账户服务流水号
  12283. type: string
  12284. amount:
  12285. description: 金额
  12286. type: number
  12287. applyremark:
  12288. description: 申请备注
  12289. type: string
  12290. applystatus:
  12291. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12292. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12293. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12294. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12295. type: integer
  12296. auditid:
  12297. description: 审核人
  12298. type: integer
  12299. audittime:
  12300. description: 审核时间
  12301. type: string
  12302. bank_apply_ticket:
  12303. description: 银行申请流水
  12304. type: string
  12305. bankaccountname:
  12306. description: 银行账户名
  12307. type: string
  12308. bankaccountno:
  12309. description: 银行卡号
  12310. type: string
  12311. bankid:
  12312. description: 银行编号
  12313. type: string
  12314. bankname:
  12315. description: 银行名称
  12316. type: string
  12317. bankticket:
  12318. description: 银行流水
  12319. type: string
  12320. branchbankid:
  12321. description: 银行支行号
  12322. type: string
  12323. branchbankname:
  12324. description: 银行支行名称
  12325. type: string
  12326. capamountout:
  12327. description: 出金(劣后本金) - 外部子账户
  12328. type: number
  12329. certificatephotourl:
  12330. description: 凭证地址
  12331. type: string
  12332. charge:
  12333. description: 手续费
  12334. type: number
  12335. checkerrorflag:
  12336. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12337. type: integer
  12338. currency:
  12339. description: 币种
  12340. type: string
  12341. cusbankid:
  12342. description: 托管银行编号
  12343. type: string
  12344. exchticket:
  12345. description: 银行服务流水号
  12346. type: string
  12347. executetype:
  12348. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12349. 7:外部子账户:入金 8:外部子账户:出金'
  12350. type: integer
  12351. extendinfo:
  12352. description: 扩展信息
  12353. type: string
  12354. extoperateid:
  12355. description: 交易服务流水号
  12356. type: integer
  12357. infamount:
  12358. description: 劣后金额(自有)
  12359. type: number
  12360. logincode:
  12361. description: 登录账号(账号)
  12362. type: string
  12363. netaddr:
  12364. description: 调转网址
  12365. type: string
  12366. priamount:
  12367. description: 优先金额(授信)
  12368. type: number
  12369. reauditid:
  12370. description: 复审人
  12371. type: integer
  12372. reauditremark:
  12373. description: 复审备注
  12374. type: string
  12375. reaudittime:
  12376. description: 复审时间
  12377. type: string
  12378. relatedorderid:
  12379. description: 三方关联ID
  12380. type: string
  12381. remark:
  12382. description: 备注
  12383. type: string
  12384. remark2:
  12385. description: 备注(失败原因)
  12386. type: string
  12387. soucreamount:
  12388. description: 原始出入金金额
  12389. type: number
  12390. soucrecurrencyid:
  12391. description: 原始出入金币种
  12392. type: integer
  12393. tradedate:
  12394. description: 交易日(yyyyMMdd)
  12395. type: string
  12396. updatetime:
  12397. description: 更新时间(申请时间)
  12398. type: string
  12399. userid:
  12400. description: 用户id
  12401. type: integer
  12402. userinfotype:
  12403. description: 账户类型 1-个人 2-企业
  12404. type: integer
  12405. type: object
  12406. models.QhjMgrBrokerApply:
  12407. properties:
  12408. applicantid:
  12409. description: 申请人
  12410. type: integer
  12411. applysrc:
  12412. description: 申请来源 - 1:管理端 2:终端
  12413. type: integer
  12414. applystatus:
  12415. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12416. type: integer
  12417. applytime:
  12418. description: 申请时间
  12419. type: string
  12420. auditorid:
  12421. description: 审核人
  12422. type: integer
  12423. auditremark:
  12424. description: 审核备注
  12425. type: string
  12426. auditsrc:
  12427. description: 审核来源 - 1:管理端 2:终端
  12428. type: integer
  12429. audittime:
  12430. description: 审核时间
  12431. type: string
  12432. audittradedate:
  12433. description: 审核交易日(yyyyMMdd)
  12434. type: string
  12435. brokerapplyid:
  12436. description: 申请ID(SEQ_BROKERAPPLY)
  12437. type: integer
  12438. cardbackphotourl:
  12439. description: 证件背面图片地址
  12440. type: string
  12441. cardfrontphotourl:
  12442. description: 证件正面图片地址
  12443. type: string
  12444. cardnum:
  12445. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12446. type: string
  12447. customername:
  12448. description: 姓名
  12449. type: string
  12450. filterstatus:
  12451. description: 筛选条件
  12452. type: string
  12453. logincode:
  12454. description: 登录代码
  12455. type: string
  12456. mobile:
  12457. description: 手机号码
  12458. type: string
  12459. parentuserid:
  12460. description: 所属机构id
  12461. type: integer
  12462. parentusername:
  12463. description: 所属机构名称
  12464. type: string
  12465. refereeuserid:
  12466. description: 推荐人id(经纪人)
  12467. type: integer
  12468. refernum:
  12469. description: 推荐码
  12470. type: string
  12471. remark:
  12472. description: 备注
  12473. type: string
  12474. subarealevelpath:
  12475. description: 层级路径
  12476. type: string
  12477. tradedate:
  12478. description: 交易日(yyyyMMdd)
  12479. type: string
  12480. userid:
  12481. description: 申请人用户ID
  12482. type: integer
  12483. userinfotype:
  12484. description: 用户类型 1-个人 2-企业
  12485. type: integer
  12486. username:
  12487. description: 用户名称
  12488. type: string
  12489. type: object
  12490. models.QhjMgrBrokerRewardReport:
  12491. properties:
  12492. createtime:
  12493. description: 创建时间(注册时间)
  12494. type: string
  12495. cycletime:
  12496. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  12497. type: string
  12498. cycletype:
  12499. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  12500. type: integer
  12501. directtotalnum:
  12502. description: 直推总人数【期末】
  12503. type: integer
  12504. indirecttotalnum:
  12505. description: 间推总人数【期末】
  12506. type: integer
  12507. mobile:
  12508. description: 电话号码
  12509. type: string
  12510. refereeuserid:
  12511. description: 推荐人id(经纪人id)
  12512. type: integer
  12513. refereeusername:
  12514. description: 推荐人名称(经纪人) 上级经纪人名称
  12515. type: string
  12516. refernum:
  12517. description: 推荐码
  12518. type: string
  12519. subarealevelpath:
  12520. description: 用户层级路径
  12521. type: string
  12522. todayrewardamount:
  12523. description: 奖励总金额【汇总】
  12524. type: number
  12525. updatetime:
  12526. description: 更新时间
  12527. type: string
  12528. userid:
  12529. description: 经纪人用户ID
  12530. type: integer
  12531. userinfotype:
  12532. description: 用户类型 1-个人 2-企业
  12533. type: integer
  12534. username:
  12535. description: 用户名称
  12536. type: string
  12537. type: object
  12538. models.QhjMgrContract:
  12539. properties:
  12540. contractconfirmtime:
  12541. description: 合同确认时间(时间)
  12542. type: string
  12543. currisklevel:
  12544. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12545. type: integer
  12546. decimalplace:
  12547. description: 商品报价小数位
  12548. type: integer
  12549. enumdicname:
  12550. description: 单位名称
  12551. type: string
  12552. goodscode:
  12553. description: 商品代码
  12554. type: string
  12555. goodsid:
  12556. description: 商品ID [5:融资单]
  12557. type: integer
  12558. goodsname:
  12559. description: 商品名称
  12560. type: string
  12561. goodunitid:
  12562. description: 商品单位id
  12563. type: integer
  12564. initmargin:
  12565. description: 初始保证金(首付款)
  12566. type: number
  12567. lenderamount:
  12568. description: 贷款金额(总额|订单总额)
  12569. type: number
  12570. logincode:
  12571. description: 账号(登录代码)
  12572. type: string
  12573. marginratio:
  12574. description: 保证金比率(首付比例)
  12575. type: number
  12576. mobile:
  12577. description: 电话号码(用户资料里的电话)
  12578. type: string
  12579. payamount:
  12580. description: 已付(已付货款)
  12581. type: number
  12582. reckonrecovermargin:
  12583. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12584. type: number
  12585. recoveredmargin:
  12586. description: 已追缴保证金
  12587. type: number
  12588. remainamount:
  12589. description: 合同剩余金额(融资额)
  12590. type: number
  12591. scfcontractid:
  12592. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12593. type: string
  12594. scfcontractstatus:
  12595. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12596. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12597. type: integer
  12598. scfcontracttype:
  12599. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12600. type: integer
  12601. totalinterest:
  12602. description: 已计总利息(利息)
  12603. type: number
  12604. tradedate:
  12605. description: 交易日
  12606. type: string
  12607. tradeprice:
  12608. description: 成交价格(成本价格)
  12609. type: number
  12610. userid:
  12611. description: 用户ID
  12612. type: integer
  12613. userinfotype:
  12614. description: 用户类型 1-个人 2-企业
  12615. type: integer
  12616. username:
  12617. description: 用户名称
  12618. type: string
  12619. wrqty:
  12620. description: 仓单数量(数量)
  12621. type: number
  12622. type: object
  12623. models.QhjMgrCustomer:
  12624. properties:
  12625. address:
  12626. description: 通讯地址
  12627. type: string
  12628. attachment1:
  12629. description: 附件1
  12630. type: string
  12631. audittime:
  12632. description: 审核时间
  12633. type: string
  12634. birthday:
  12635. description: 生日
  12636. type: string
  12637. brokerid:
  12638. description: 所属客户经理id
  12639. type: integer
  12640. brokername:
  12641. description: 所属客户经理名称
  12642. type: string
  12643. cardbackphotourl:
  12644. description: 证件反面图片地址
  12645. type: string
  12646. cardfrontphotourl:
  12647. description: 证件正面图片地址
  12648. type: string
  12649. cardnum:
  12650. description: 证件号码
  12651. type: string
  12652. cardtype:
  12653. description: 证件类型
  12654. type: integer
  12655. cardtypename:
  12656. description: 证件类型名称
  12657. type: string
  12658. cityid:
  12659. description: 市
  12660. type: integer
  12661. cityname:
  12662. description: 城市名称
  12663. type: string
  12664. contactname:
  12665. description: 联系人
  12666. type: string
  12667. countryid:
  12668. description: 国家
  12669. type: integer
  12670. countryname:
  12671. description: 国家名称
  12672. type: string
  12673. createtime:
  12674. description: 创建时间
  12675. type: string
  12676. customername:
  12677. description: 客户名称
  12678. type: string
  12679. districtid:
  12680. description: 区域
  12681. type: integer
  12682. districtname:
  12683. description: 地区名称
  12684. type: string
  12685. email:
  12686. description: 邮件
  12687. type: string
  12688. legalpersonname:
  12689. description: 法人姓名(企业)
  12690. type: string
  12691. logincode:
  12692. description: 登录账号(代码)
  12693. type: string
  12694. memberuserid:
  12695. description: 所属机构ID(所属会员)
  12696. type: integer
  12697. memberusername:
  12698. description: 所属会员名称
  12699. type: string
  12700. mobile:
  12701. description: 手机号码
  12702. type: string
  12703. modifytime:
  12704. description: 修改时间
  12705. type: string
  12706. nickname:
  12707. description: 昵称
  12708. type: string
  12709. parentuserid:
  12710. description: 上级机构(所属机构)
  12711. type: integer
  12712. parentusername:
  12713. description: 所属机构名称
  12714. type: string
  12715. provinceid:
  12716. description: 省
  12717. type: integer
  12718. provincename:
  12719. description: 省名称
  12720. type: string
  12721. proxystatementurl:
  12722. description: 授权委托书
  12723. type: string
  12724. querytype:
  12725. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  12726. type: integer
  12727. remark:
  12728. description: 备注
  12729. type: string
  12730. sex:
  12731. description: 性别 0-女 1-男
  12732. type: integer
  12733. status:
  12734. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  12735. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  12736. type: integer
  12737. statusdesc:
  12738. description: 账户状态中文描述
  12739. type: string
  12740. taxpayernum:
  12741. description: 纳税人识别号
  12742. type: string
  12743. telphone:
  12744. description: 联系电话
  12745. type: string
  12746. userid:
  12747. description: 用户ID
  12748. type: integer
  12749. userinfotype:
  12750. description: 客户类型 1-个人 2-企业
  12751. type: integer
  12752. username:
  12753. description: 用户名称
  12754. type: string
  12755. type: object
  12756. models.QhjMgrPickGoods:
  12757. properties:
  12758. enumdicname:
  12759. description: 单位名称(提货商品)
  12760. type: string
  12761. goodsid:
  12762. description: 商品id
  12763. type: integer
  12764. imageaddress:
  12765. description: 图片
  12766. type: string
  12767. modifierid:
  12768. description: 修改人
  12769. type: integer
  12770. modifiername:
  12771. description: 修改人名称
  12772. type: string
  12773. modifysrc:
  12774. description: 修改来源 - 1:管理端 2:终端
  12775. type: integer
  12776. pickupgoodsagreeunit:
  12777. description: 合约乘数
  12778. type: number
  12779. pickupgoodsdesc:
  12780. description: 描述
  12781. type: string
  12782. pickupgoodsid:
  12783. description: 提货商品ID
  12784. type: string
  12785. pickupgoodsname:
  12786. description: 提货商品名称
  12787. type: string
  12788. pickupgoodsstatus:
  12789. description: 状态 - 1:正常 2:停用 3:注销
  12790. type: integer
  12791. pickupgoodsunitid:
  12792. description: 单位ID
  12793. type: integer
  12794. pickupratio:
  12795. description: 提货系数
  12796. type: number
  12797. preparedays:
  12798. description: 备货期(天)
  12799. type: integer
  12800. remark:
  12801. description: 备注
  12802. type: string
  12803. updatetime:
  12804. description: 更新时间
  12805. type: string
  12806. type: object
  12807. models.QhjMgrPositionRsp:
  12808. properties:
  12809. accountid:
  12810. description: 账号Id
  12811. type: integer
  12812. accountname:
  12813. description: 用户名称
  12814. type: string
  12815. agreeunit:
  12816. description: 合约乘数
  12817. type: number
  12818. averageprice:
  12819. description: 均价
  12820. type: number
  12821. avialqty:
  12822. description: 可用数量
  12823. type: number
  12824. decimalplace:
  12825. description: 报价小数位
  12826. type: integer
  12827. enumdicname:
  12828. description: 单位名称(商品)
  12829. type: string
  12830. frozenqty:
  12831. description: 冻结数量
  12832. type: number
  12833. goodscode:
  12834. description: 商品代码(内部)
  12835. type: string
  12836. goodsid:
  12837. description: 商品Id
  12838. type: integer
  12839. goodsname:
  12840. description: 商品名称
  12841. type: string
  12842. goodunitid:
  12843. description: 报价单位ID
  12844. type: integer
  12845. holderamount:
  12846. description: 金额
  12847. type: number
  12848. holderqty:
  12849. description: 持有数量
  12850. type: number
  12851. holdertype:
  12852. description: 持仓类别 - 1:单边持仓 2:双边持仓
  12853. type: integer
  12854. logincode:
  12855. description: 登录代码(账户)
  12856. type: string
  12857. marketid:
  12858. description: 市场id
  12859. type: integer
  12860. qtydecimalplace:
  12861. description: 成交量小数位
  12862. type: integer
  12863. trademode:
  12864. description: 交易模式
  12865. type: integer
  12866. userid:
  12867. description: 用户id
  12868. type: integer
  12869. userinfotype:
  12870. description: 账户类型 1-个人 2-企业
  12871. type: integer
  12872. type: object
  12873. models.QhjMgrSubArea:
  12874. properties:
  12875. accountname:
  12876. description: 账户名称(机构名称)
  12877. type: string
  12878. memberuserid:
  12879. description: 所属会员ID
  12880. type: integer
  12881. parenttopuser:
  12882. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12883. type: string
  12884. parentuserid:
  12885. description: 所属机构ID
  12886. type: integer
  12887. rootuserid:
  12888. description: 根用户ID
  12889. type: string
  12890. subaccountlevel:
  12891. description: 子账户层数
  12892. type: integer
  12893. subarealevelpath:
  12894. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12895. type: string
  12896. userid:
  12897. description: 用户ID
  12898. type: integer
  12899. usertype:
  12900. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12901. type: integer
  12902. type: object
  12903. models.QhjMgrTradeDetailRsp:
  12904. properties:
  12905. accountid:
  12906. description: 资金账号
  12907. type: integer
  12908. accountname:
  12909. description: 用户名称
  12910. type: string
  12911. agreeunit:
  12912. description: 合约乘数
  12913. type: number
  12914. buyorsell:
  12915. description: 成交类型(方向) 0:买 1:卖
  12916. type: integer
  12917. decimalplace:
  12918. description: 报价小数位
  12919. type: integer
  12920. enumdicname:
  12921. description: 单位名称(商品)
  12922. type: string
  12923. goodscode:
  12924. description: 商品代码(内部)
  12925. type: string
  12926. goodsid:
  12927. description: 商品id
  12928. type: integer
  12929. goodsname:
  12930. description: 商品名称
  12931. type: string
  12932. goodunitid:
  12933. description: 报价单位ID
  12934. type: integer
  12935. logincode:
  12936. description: 登录代码(账户)
  12937. type: string
  12938. marketid:
  12939. description: 市场id
  12940. type: integer
  12941. orderid:
  12942. description: 关联委托单号
  12943. type: string
  12944. qtydecimalplace:
  12945. description: 成交量小数位
  12946. type: integer
  12947. tradeamount:
  12948. description: 金额
  12949. type: number
  12950. tradedate:
  12951. description: 交易日
  12952. type: string
  12953. tradeid:
  12954. description: 成交单号
  12955. type: string
  12956. trademode:
  12957. description: 交易模式
  12958. type: integer
  12959. tradeprice:
  12960. description: 价格
  12961. type: number
  12962. tradeqty:
  12963. description: 数量
  12964. type: number
  12965. tradetime:
  12966. description: 成交时间
  12967. type: string
  12968. userid:
  12969. description: 用户id
  12970. type: integer
  12971. userinfotype:
  12972. description: 账户类型 1-个人 2-企业
  12973. type: integer
  12974. type: object
  12975. models.QhjMgrTradeOrderDetailRsp:
  12976. properties:
  12977. accountid:
  12978. description: 资金账号
  12979. type: integer
  12980. accountname:
  12981. description: 用户名称
  12982. type: string
  12983. agreeunit:
  12984. description: 合约乘数
  12985. type: number
  12986. amount:
  12987. description: 金额
  12988. type: number
  12989. decimalplace:
  12990. description: 报价小数位
  12991. type: integer
  12992. enumdicname:
  12993. description: 单位名称(商品)
  12994. type: string
  12995. goodscode:
  12996. description: 商品代码(内部)
  12997. type: string
  12998. goodsid:
  12999. description: 商品id
  13000. type: integer
  13001. goodsname:
  13002. description: 商品名称
  13003. type: string
  13004. goodunitid:
  13005. description: 报价单位ID
  13006. type: integer
  13007. logincode:
  13008. description: 登录代码(账户)
  13009. type: string
  13010. marketid:
  13011. description: 市场id
  13012. type: integer
  13013. orderid:
  13014. description: 关联委托单号
  13015. type: string
  13016. orderprice:
  13017. description: 价格
  13018. type: number
  13019. orderqty:
  13020. description: 数量
  13021. type: number
  13022. orderstatus:
  13023. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13024. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13025. 16:成交失败违约(荷兰式竞拍专用)
  13026. type: integer
  13027. ordertime:
  13028. description: 委托时间
  13029. type: string
  13030. qtydecimalplace:
  13031. description: 成交量小数位
  13032. type: integer
  13033. tradedate:
  13034. description: 交易日
  13035. type: string
  13036. trademode:
  13037. description: 交易模式
  13038. type: integer
  13039. userid:
  13040. description: 用户id
  13041. type: integer
  13042. userinfotype:
  13043. description: 账户类型 1-个人 2-企业
  13044. type: integer
  13045. type: object
  13046. models.QhjMgrTradePayOrder:
  13047. properties:
  13048. accountname:
  13049. description: 用户名称
  13050. type: string
  13051. advanceratio:
  13052. description: 首付比率
  13053. type: number
  13054. agreeunit:
  13055. description: 合约乘数
  13056. type: number
  13057. buyaccountid:
  13058. description: 买方账号ID[报价币种]
  13059. type: integer
  13060. buyorderid:
  13061. description: 买方委托单号(关联单号)
  13062. type: string
  13063. createtime:
  13064. description: 创建时间
  13065. type: string
  13066. decimalplace:
  13067. description: 报价小数位
  13068. type: integer
  13069. enumdicname:
  13070. description: 单位名称(商品)
  13071. type: string
  13072. goodscode:
  13073. description: 商品代码(内部)
  13074. type: string
  13075. goodsid:
  13076. description: 商品ID
  13077. type: integer
  13078. goodsname:
  13079. description: 商品名称
  13080. type: string
  13081. goodunitid:
  13082. description: 报价单位ID
  13083. type: integer
  13084. logincode:
  13085. description: 登录代码(账户)
  13086. type: string
  13087. marketid:
  13088. description: 市场id
  13089. type: integer
  13090. offamount:
  13091. description: 优惠金额
  13092. type: number
  13093. operatetype:
  13094. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13095. type: integer
  13096. payamount:
  13097. description: 支付金额(金额)
  13098. type: number
  13099. payflag:
  13100. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13101. type: integer
  13102. paylimitedtime:
  13103. description: 支付期限
  13104. type: string
  13105. paytime:
  13106. description: 付款时间
  13107. type: string
  13108. qtydecimalplace:
  13109. description: 成交量小数位
  13110. type: integer
  13111. sellaccountid:
  13112. description: 卖方账号ID[报价币种]
  13113. type: integer
  13114. sellorderid:
  13115. description: 卖方委托单号
  13116. type: string
  13117. tradeamount:
  13118. description: 成交金额(优惠后金额)
  13119. type: number
  13120. tradecharge:
  13121. description: 成交手续费(买方)
  13122. type: number
  13123. tradedate:
  13124. description: 交易日(yyyyMMdd)
  13125. type: string
  13126. tradeid:
  13127. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13128. type: string
  13129. trademode:
  13130. description: 交易模式
  13131. type: integer
  13132. tradeprice:
  13133. description: 成交价格(价格)
  13134. type: number
  13135. tradeqty:
  13136. description: 成交数量(数量)
  13137. type: number
  13138. tradetime:
  13139. description: 成交时间
  13140. type: string
  13141. userid:
  13142. description: 用户id
  13143. type: integer
  13144. userinfotype:
  13145. description: 账户类型 1-个人 2-企业
  13146. type: integer
  13147. type: object
  13148. models.QhjMyTeamEx:
  13149. properties:
  13150. accountname:
  13151. description: 用户名称
  13152. type: string
  13153. accountstatus:
  13154. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13155. type: integer
  13156. createtime:
  13157. description: 创建时间
  13158. type: string
  13159. mobile:
  13160. description: 手机号码
  13161. type: string
  13162. refereeuserid:
  13163. description: 推荐人id
  13164. type: integer
  13165. refernum:
  13166. description: 推荐码
  13167. type: string
  13168. subList:
  13169. items:
  13170. $ref: '#/definitions/models.QhjMyTeamEx'
  13171. type: array
  13172. userid:
  13173. description: 用户id
  13174. type: integer
  13175. userinfotype:
  13176. description: 用户类型 1-个人 2-企业
  13177. type: integer
  13178. type: object
  13179. models.QhjNodeAgreementConfig:
  13180. properties:
  13181. agreementcontent:
  13182. description: 协议内容
  13183. type: string
  13184. agreementid:
  13185. description: 协议ID
  13186. type: integer
  13187. agreementname:
  13188. description: 协议名称
  13189. type: string
  13190. agreementno:
  13191. description: 协议编号
  13192. type: string
  13193. agreementtype:
  13194. description: 协议类型 - 1:注册 2:登录 3:交易
  13195. type: integer
  13196. agreementversion:
  13197. description: 协议版本号
  13198. type: integer
  13199. configid:
  13200. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13201. type: integer
  13202. createtime:
  13203. description: 创建时间
  13204. type: string
  13205. goodsid:
  13206. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13207. type: integer
  13208. nodetype:
  13209. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13210. type: integer
  13211. type: object
  13212. models.QhjParentAreaList:
  13213. properties:
  13214. accountname:
  13215. description: 账户名称(机构名称)
  13216. type: string
  13217. userid:
  13218. description: 用户ID
  13219. type: integer
  13220. usertype:
  13221. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13222. type: integer
  13223. type: object
  13224. models.QhjPayOrder:
  13225. properties:
  13226. advanceratio:
  13227. description: 首付比率
  13228. type: number
  13229. buyaccountid:
  13230. description: 买方账号ID[报价币种]
  13231. type: integer
  13232. buyorderid:
  13233. description: 买方委托单号
  13234. type: string
  13235. createtime:
  13236. description: 创建时间
  13237. type: string
  13238. decimalplace:
  13239. description: 商品报价小数位
  13240. type: integer
  13241. enumdicname:
  13242. description: 单位名称
  13243. type: string
  13244. goodscode:
  13245. description: 商品代码
  13246. type: string
  13247. goodsid:
  13248. description: 商品ID
  13249. type: integer
  13250. goodsname:
  13251. description: 商品名称
  13252. type: string
  13253. goodunitid:
  13254. description: 商品单位id
  13255. type: integer
  13256. marketid:
  13257. description: 市场ID
  13258. type: integer
  13259. offamount:
  13260. description: 优惠金额
  13261. type: number
  13262. operatetype:
  13263. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13264. type: integer
  13265. payamount:
  13266. description: 支付金额
  13267. type: number
  13268. payflag:
  13269. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13270. type: integer
  13271. paylimitedtime:
  13272. description: 支付期限
  13273. type: string
  13274. paytime:
  13275. description: 付款时间
  13276. type: string
  13277. qtydecimalplace:
  13278. description: 成交量小数位
  13279. type: integer
  13280. sellaccountid:
  13281. description: 卖方账号ID[报价币种]
  13282. type: integer
  13283. sellorderid:
  13284. description: 卖方委托单号
  13285. type: string
  13286. tradeamount:
  13287. description: 成交金额(优惠后金额)
  13288. type: number
  13289. tradecharge:
  13290. description: 成交手续费(买方)
  13291. type: number
  13292. tradedate:
  13293. description: 交易日(yyyyMMdd)
  13294. type: string
  13295. tradeid:
  13296. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13297. type: string
  13298. tradeprice:
  13299. description: 成交价格
  13300. type: number
  13301. tradeqty:
  13302. description: 成交数量
  13303. type: number
  13304. type: object
  13305. models.QhjPickArea:
  13306. properties:
  13307. address:
  13308. description: 详细地址
  13309. type: string
  13310. cityid:
  13311. description: 市
  13312. type: integer
  13313. cityname:
  13314. description: 城市名称
  13315. type: string
  13316. countryid:
  13317. description: 国家
  13318. type: integer
  13319. countryname:
  13320. description: 国家名称
  13321. type: string
  13322. districtid:
  13323. description: 地区
  13324. type: integer
  13325. districtname:
  13326. description: 地区名称
  13327. type: string
  13328. fromuserid:
  13329. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  13330. type: integer
  13331. fromusername:
  13332. description: 所属机构名称
  13333. type: string
  13334. provinceid:
  13335. description: 省
  13336. type: integer
  13337. provincename:
  13338. description: 省名称
  13339. type: string
  13340. suborgtype:
  13341. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  13342. type: integer
  13343. userid:
  13344. description: 机构用户ID 其他做市关系,都设置为 1
  13345. type: integer
  13346. username:
  13347. description: 机构用户名称(门店门称)
  13348. type: string
  13349. type: object
  13350. models.QhjPickGoods:
  13351. properties:
  13352. enumdicname:
  13353. description: 单位名称(提货商品)
  13354. type: string
  13355. goodsid:
  13356. description: 商品id
  13357. type: integer
  13358. imageaddress:
  13359. description: 图片
  13360. type: string
  13361. modifierid:
  13362. description: 修改人
  13363. type: integer
  13364. modifiername:
  13365. description: 修改人名称
  13366. type: string
  13367. modifysrc:
  13368. description: 修改来源 - 1:管理端 2:终端
  13369. type: integer
  13370. pickupgoodsagreeunit:
  13371. description: 合约乘数
  13372. type: number
  13373. pickupgoodsdesc:
  13374. description: 描述
  13375. type: string
  13376. pickupgoodsid:
  13377. description: 提货商品ID
  13378. type: string
  13379. pickupgoodsname:
  13380. description: 提货商品名称
  13381. type: string
  13382. pickupgoodsstatus:
  13383. description: 状态 - 1:正常 2:停用 3:注销
  13384. type: integer
  13385. pickupgoodsunitid:
  13386. description: 单位ID
  13387. type: integer
  13388. pickupratio:
  13389. description: 提货系数
  13390. type: number
  13391. preparedays:
  13392. description: 备货期(天)
  13393. type: integer
  13394. remark:
  13395. description: 备注
  13396. type: string
  13397. updatetime:
  13398. description: 更新时间
  13399. type: string
  13400. type: object
  13401. models.QhjRSTriggerLog:
  13402. properties:
  13403. accountid:
  13404. description: 用户资金账户
  13405. type: integer
  13406. accountname:
  13407. description: 账号名称(ACCOUNTID对应的名称)
  13408. type: string
  13409. currencyid:
  13410. description: 币种id
  13411. type: integer
  13412. currencyname:
  13413. description: 币种名称
  13414. type: string
  13415. decimalplace:
  13416. description: 商品报价小数位
  13417. type: integer
  13418. enumdicname:
  13419. description: 单位名称
  13420. type: string
  13421. goodscode:
  13422. description: 定投商品代码
  13423. type: string
  13424. goodsid:
  13425. description: 定投商品ID
  13426. type: integer
  13427. goodsname:
  13428. description: 定投商品名称
  13429. type: string
  13430. goodunitid:
  13431. description: 定投商品单位id
  13432. type: integer
  13433. logid:
  13434. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  13435. type: string
  13436. logincode:
  13437. description: 账号(登录代码)
  13438. type: string
  13439. qtydecimalplace:
  13440. description: 成交量小数位
  13441. type: integer
  13442. regularlycycle:
  13443. description: 定投频率 - 1:每周 2:每月
  13444. type: integer
  13445. regularlycyclevalue:
  13446. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13447. type: string
  13448. regularlymode:
  13449. description: 定投方式 - 1:按数量 2:按金额
  13450. type: integer
  13451. regularlymodevalue:
  13452. description: 定投方式值 - 数量或金额
  13453. type: number
  13454. regularlystrategyid:
  13455. description: 定投策略ID
  13456. type: integer
  13457. retcode:
  13458. description: 错误码
  13459. type: string
  13460. tradeid:
  13461. description: 成交单ID
  13462. type: string
  13463. triggeramount:
  13464. description: 触发金额
  13465. type: number
  13466. triggerqty:
  13467. description: 触发数量
  13468. type: number
  13469. triggerstatus:
  13470. description: 触发状态 - 1:成功 2:失败
  13471. type: integer
  13472. triggertime:
  13473. description: 触发时间
  13474. type: string
  13475. triggertradedate:
  13476. description: 触发交易日
  13477. type: string
  13478. userid:
  13479. description: 所属用户ID
  13480. type: integer
  13481. userinfotype:
  13482. description: 用户类型 1-个人 2-企业
  13483. type: integer
  13484. username:
  13485. description: 用户名称(userid对应的名称)
  13486. type: string
  13487. type: object
  13488. models.QhjRStrategy:
  13489. properties:
  13490. accountid:
  13491. description: 用户资金账户
  13492. type: integer
  13493. accountname:
  13494. description: 账号名称(ACCOUNTID对应的名称)
  13495. type: string
  13496. currencyid:
  13497. description: 币种id
  13498. type: integer
  13499. currencyname:
  13500. description: 币种名称
  13501. type: string
  13502. decimalplace:
  13503. description: 商品报价小数位
  13504. type: integer
  13505. enumdicname:
  13506. description: 单位名称
  13507. type: string
  13508. goodscode:
  13509. description: 定投商品代码
  13510. type: string
  13511. goodsid:
  13512. description: 定投商品ID
  13513. type: integer
  13514. goodsname:
  13515. description: 定投商品名称
  13516. type: string
  13517. goodunitid:
  13518. description: 定投商品单位id
  13519. type: integer
  13520. lasteffecttradedate:
  13521. description: 最新生效交易日
  13522. type: string
  13523. laststoptradedate:
  13524. description: 最新暂停交易日
  13525. type: string
  13526. lasttriggertradedate:
  13527. description: 最新触发交易日
  13528. type: string
  13529. logincode:
  13530. description: 账号(登录代码)
  13531. type: string
  13532. nexttriggeramount:
  13533. description: 下次触发金额
  13534. type: number
  13535. nexttriggerdate:
  13536. description: 下次触发日期
  13537. type: string
  13538. nexttriggerqty:
  13539. description: 下次触发数量 [按小数位放大值]
  13540. type: number
  13541. qtydecimalplace:
  13542. description: 成交量小数位
  13543. type: integer
  13544. regularlycycle:
  13545. description: 定投频率 - 1:每周 2:每月
  13546. type: integer
  13547. regularlycyclevalue:
  13548. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13549. type: string
  13550. regularlymode:
  13551. description: 定投方式 - 1:按数量 2:按金额
  13552. type: integer
  13553. regularlymodevalue:
  13554. description: 定投方式值 - 数量或金额
  13555. type: number
  13556. regularlystrategyid:
  13557. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  13558. type: integer
  13559. regularlystrategystatus:
  13560. description: 策略状态 - 1:正常 2:暂停 3:终止
  13561. type: integer
  13562. remark:
  13563. description: 备注
  13564. type: string
  13565. triggersuccesstimes:
  13566. description: 累计定投成功次数
  13567. type: string
  13568. triggertotalamount:
  13569. description: 累计定投金额(成功)
  13570. type: number
  13571. triggertotalqty:
  13572. description: 累计定投数量(成功) [按小数位放大值]
  13573. type: number
  13574. triggertotaltimes:
  13575. description: 累计定投总次数
  13576. type: string
  13577. updatesrc:
  13578. description: 更新来源 - 1:管理端 2:终端
  13579. type: integer
  13580. updatetime:
  13581. description: 更新时间
  13582. type: string
  13583. updatorid:
  13584. description: 更新人
  13585. type: string
  13586. userid:
  13587. description: 所属用户ID
  13588. type: integer
  13589. userinfotype:
  13590. description: 用户类型 1-个人 2-企业
  13591. type: integer
  13592. username:
  13593. description: 用户名称(userid对应的名称)
  13594. type: string
  13595. type: object
  13596. models.QhjReckonPriceLog:
  13597. properties:
  13598. decimalplace:
  13599. description: 商品报价小数位
  13600. type: integer
  13601. goodscode:
  13602. description: 商品代码
  13603. type: string
  13604. goodsid:
  13605. description: 商品ID
  13606. type: integer
  13607. goodsname:
  13608. description: 商品名称
  13609. type: string
  13610. lastreckonprice:
  13611. description: 上日结算价
  13612. type: number
  13613. nextdnlimitprice:
  13614. description: 下个交易日跌停价
  13615. type: number
  13616. nexttrade:
  13617. description: 下个交易日
  13618. type: string
  13619. nextuplimitprice:
  13620. description: 下个交易日涨停价
  13621. type: number
  13622. reckonprice:
  13623. description: 今日结算价(定投价)
  13624. type: number
  13625. reckontime:
  13626. description: 结算时间
  13627. type: string
  13628. totalholderqty:
  13629. description: 总持仓数
  13630. type: integer
  13631. totalstock:
  13632. description: 总库存
  13633. type: integer
  13634. tradedate:
  13635. description: 交易日
  13636. type: string
  13637. updowncount:
  13638. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  13639. type: integer
  13640. updownflag:
  13641. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  13642. type: integer
  13643. updownrate:
  13644. description: 今日涨跌幅
  13645. type: number
  13646. updownrate_2d:
  13647. description: 连续两日涨跌幅
  13648. type: number
  13649. updownrate_3d:
  13650. description: 连续三日涨跌幅
  13651. type: number
  13652. type: object
  13653. models.QhjScoreLog:
  13654. properties:
  13655. accountid:
  13656. description: 账户ID
  13657. type: integer
  13658. createtime:
  13659. description: 创建时间(时间)
  13660. type: string
  13661. goodsid:
  13662. description: 商品ID
  13663. type: integer
  13664. hasuploaded:
  13665. description: 是否已同步(千海金) 0:未同步 1;已同步
  13666. type: integer
  13667. logid:
  13668. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13669. type: string
  13670. marketid:
  13671. description: 市场ID
  13672. type: integer
  13673. relatedamount:
  13674. description: 关联金额
  13675. type: number
  13676. relatedorderid:
  13677. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  13678. type: string
  13679. scoreconfigvalue1:
  13680. description: 积分配置1
  13681. type: integer
  13682. scoreconfigvalue2:
  13683. description: 积分配置1
  13684. type: integer
  13685. scoretype:
  13686. description: 积分类型 - 1:提货积分
  13687. type: integer
  13688. scorevalue:
  13689. description: 积分
  13690. type: number
  13691. tradedate:
  13692. description: 交易日(yyyyMMdd)
  13693. type: string
  13694. uploadedtime:
  13695. description: 同步时间
  13696. type: string
  13697. userid:
  13698. description: 用户ID
  13699. type: integer
  13700. type: object
  13701. models.QhjSiteColumnDetail:
  13702. properties:
  13703. author:
  13704. description: 作者
  13705. type: string
  13706. brief:
  13707. description: 简介
  13708. type: string
  13709. columnid:
  13710. description: 所属栏目
  13711. type: integer
  13712. context:
  13713. description: 内容
  13714. type: string
  13715. coverimage:
  13716. description: 封面图片
  13717. type: string
  13718. creaedate:
  13719. description: 创建时间
  13720. type: string
  13721. creatorid:
  13722. description: 创建人
  13723. type: integer
  13724. hits:
  13725. description: 点击数
  13726. type: integer
  13727. id:
  13728. description: ID(SEQ_SITE_COLUMNDETAIL)
  13729. type: integer
  13730. isshow:
  13731. description: 是否展示 - 0:不展示 1:展示
  13732. type: integer
  13733. istop:
  13734. description: 是否置顶 - 0:不置 1:置顶
  13735. type: integer
  13736. modifierid:
  13737. description: 操作人
  13738. type: integer
  13739. publishdate:
  13740. description: 发布日期
  13741. type: string
  13742. status:
  13743. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  13744. type: integer
  13745. title:
  13746. description: 标题
  13747. type: string
  13748. updatedate:
  13749. description: 修改时间
  13750. type: string
  13751. userid:
  13752. description: 用户ID(默认为0, 核心为为机构用户ID)
  13753. type: integer
  13754. username:
  13755. description: 用户名称
  13756. type: string
  13757. type: object
  13758. models.QhjTeamOrder:
  13759. properties:
  13760. accountid:
  13761. description: 账户ID[报价币种]
  13762. type: integer
  13763. accountname:
  13764. description: 账户名称
  13765. type: string
  13766. agreeunit:
  13767. description: 合约乘数
  13768. type: number
  13769. buyorsell:
  13770. description: 方向 - 0:买 1:卖
  13771. type: integer
  13772. decimalplace:
  13773. description: 报价小数位
  13774. type: integer
  13775. enumdicname:
  13776. description: 单位名称
  13777. type: string
  13778. goodscode:
  13779. description: 商品代码(内部)
  13780. type: string
  13781. goodsid:
  13782. description: 商品ID
  13783. type: integer
  13784. goodsname:
  13785. description: 商品名称
  13786. type: string
  13787. goodunitid:
  13788. description: 报价单位ID
  13789. type: integer
  13790. marketid:
  13791. description: 市场ID
  13792. type: integer
  13793. marketname:
  13794. description: 市场名称
  13795. type: string
  13796. qtydecimalplace:
  13797. description: 成交量小数位
  13798. type: integer
  13799. refereeuserid:
  13800. description: 推荐人ID
  13801. type: integer
  13802. tradeamount:
  13803. description: 成交金额[账户币种,用于所有权]
  13804. type: number
  13805. tradedate:
  13806. description: 交易日(yyyyMMdd)
  13807. type: string
  13808. trademode:
  13809. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13810. 21:竞拍-大宗式 22:受托竞价
  13811. type: integer
  13812. tradeprice:
  13813. description: 成交价格
  13814. type: number
  13815. tradeqty:
  13816. description: 成交数量
  13817. type: number
  13818. tradetime:
  13819. description: 成交时间
  13820. type: string
  13821. userid:
  13822. description: 用户ID
  13823. type: integer
  13824. type: object
  13825. models.QhjTradeGoodsPickup:
  13826. properties:
  13827. accountid:
  13828. description: 账户ID
  13829. type: integer
  13830. address:
  13831. description: 提货人详细地址
  13832. type: string
  13833. amount:
  13834. description: 提货金额
  13835. type: number
  13836. artradedate:
  13837. description: 自动收货交易日(yyyyMMdd)
  13838. type: string
  13839. auditer:
  13840. description: 审核人
  13841. type: integer
  13842. auditsrc:
  13843. description: 更新来源 - 1:管理端 2:终端
  13844. type: integer
  13845. audittime:
  13846. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  13847. type: string
  13848. audittradedate:
  13849. description: 审核交易日(yyyyMMdd)
  13850. type: string
  13851. cardnum:
  13852. description: 提货人证件号码
  13853. type: string
  13854. cardtypeid:
  13855. description: 提货人证件类型
  13856. type: integer
  13857. checkremark:
  13858. description: 审核备注
  13859. type: string
  13860. cityid:
  13861. description: 市
  13862. type: integer
  13863. cityname:
  13864. description: 城市名称
  13865. type: string
  13866. confirmtime:
  13867. description: 取货时间 或 收货时间
  13868. type: string
  13869. countryid:
  13870. description: 国家
  13871. type: integer
  13872. countryname:
  13873. description: 国家名称
  13874. type: string
  13875. decimalplace:
  13876. description: 商品报价小数位
  13877. type: integer
  13878. districtid:
  13879. description: 地区
  13880. type: integer
  13881. districtname:
  13882. description: 地区名称
  13883. type: string
  13884. enumdicname:
  13885. description: 单位名称(提货商品)
  13886. type: string
  13887. expresscompany:
  13888. description: 物流公司
  13889. type: string
  13890. expressnum:
  13891. description: 物流单号
  13892. type: string
  13893. goodsagreeunit:
  13894. description: 交易商品乘数
  13895. type: number
  13896. goodscode:
  13897. description: 商品代码
  13898. type: string
  13899. goodsid:
  13900. description: 商品ID
  13901. type: integer
  13902. goodsname:
  13903. description: 商品名称
  13904. type: string
  13905. goodsqty:
  13906. description: 交易商品手数(69模式按成交量小数位放大取整)
  13907. type: number
  13908. handlestatus:
  13909. description: 处理状态
  13910. type: integer
  13911. logincode:
  13912. description: 账号(登录代码, 有可能为空)
  13913. type: string
  13914. marketid:
  13915. description: 市场ID
  13916. type: integer
  13917. phonenum:
  13918. description: 提货人联系方式
  13919. type: string
  13920. pickupgoodsagreeunit:
  13921. description: 提货商品合约乘数
  13922. type: number
  13923. pickupgoodsid:
  13924. description: 提货商品ID
  13925. type: string
  13926. pickupgoodsname:
  13927. description: 提货商品名称
  13928. type: string
  13929. pickupgoodsqty:
  13930. description: 提货商品手数(数量)
  13931. type: number
  13932. pickupgoodsunitid:
  13933. description: 单位ID(提货商品)
  13934. type: integer
  13935. pickupratio:
  13936. description: 提货系数
  13937. type: number
  13938. preparedays:
  13939. description: 备货期(天)-提货单明细表
  13940. type: integer
  13941. provinceid:
  13942. description: 省
  13943. type: integer
  13944. provincename:
  13945. description: 省名称
  13946. type: string
  13947. qty:
  13948. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  13949. type: number
  13950. qtydecimalplace:
  13951. description: 商品数量小数位
  13952. type: integer
  13953. recivername:
  13954. description: 提货人姓名
  13955. type: string
  13956. reqtime:
  13957. description: 提货申请时间
  13958. type: string
  13959. storeuserid:
  13960. description: 门店用户ID (千海金)
  13961. type: integer
  13962. storeusername:
  13963. description: 门店用户名称
  13964. type: string
  13965. takemode:
  13966. description: 提货方式 - 2:自提 3:配送(邮寄)
  13967. type: integer
  13968. takeorderid:
  13969. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  13970. type: string
  13971. takeorderstatus:
  13972. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  13973. 7:已拒绝 8:已撤销
  13974. type: integer
  13975. takeremark:
  13976. description: 提货备注
  13977. type: string
  13978. tradedate:
  13979. description: 交易日(yyyyMMdd)
  13980. type: string
  13981. updatetime:
  13982. description: 更新时间
  13983. type: string
  13984. userid:
  13985. description: 用户ID
  13986. type: integer
  13987. userinfotype:
  13988. description: 客户类型 1-个人 2-企业
  13989. type: integer
  13990. username:
  13991. description: 用户名称
  13992. type: string
  13993. type: object
  13994. models.QhjUserNodeCfgAndStatus:
  13995. properties:
  13996. agreementcontent:
  13997. description: 协议内容
  13998. type: string
  13999. agreementid:
  14000. description: 协议ID
  14001. type: integer
  14002. agreementname:
  14003. description: 协议名称
  14004. type: string
  14005. agreementno:
  14006. description: 协议编号
  14007. type: string
  14008. agreementtype:
  14009. description: 协议类型 - 1:注册 2:登录 3:交易
  14010. type: integer
  14011. agreementversion:
  14012. description: 协议版本号
  14013. type: integer
  14014. configid:
  14015. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14016. type: integer
  14017. createtime:
  14018. description: 创建时间
  14019. type: string
  14020. goodsid:
  14021. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14022. type: integer
  14023. nodetype:
  14024. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14025. type: integer
  14026. signtimestamp:
  14027. description: 签约状态时间戳(最近一次)
  14028. type: string
  14029. tradedate:
  14030. description: 签约交易日(yyyyMMdd)
  14031. type: string
  14032. userid:
  14033. description: 客户ID
  14034. type: integer
  14035. type: object
  14036. models.Qhjgoodsex:
  14037. properties:
  14038. canfinance:
  14039. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14040. type: integer
  14041. canregularlybuy:
  14042. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14043. type: integer
  14044. defaulttradeuserid:
  14045. description: 默认交易用户ID
  14046. type: integer
  14047. deliverygoodsid:
  14048. description: 现货品种ID
  14049. type: integer
  14050. goodsid:
  14051. description: 商品ID(自增ID SEQ_GOODS)
  14052. type: integer
  14053. minamount:
  14054. description: 最小购买金额
  14055. type: number
  14056. regularlybuyminamount:
  14057. description: 定投最小金额
  14058. type: number
  14059. regularlybuyminqty:
  14060. description: 定投最小数量
  14061. type: number
  14062. spotgoodsbrandid:
  14063. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14064. type: integer
  14065. visibilityforenterprise:
  14066. description: 企业客户是否可见 - 0:不可见 1:可见
  14067. type: integer
  14068. visibilityforpersonal:
  14069. description: 个人客户是否可见 - 0:不可见 1:可见
  14070. type: integer
  14071. wrstandardid:
  14072. description: 现货商品ID
  14073. type: integer
  14074. type: object
  14075. models.QueryErrorInfosRsp:
  14076. properties:
  14077. description:
  14078. description: 异常描述
  14079. type: string
  14080. errorcode:
  14081. description: 异常代码
  14082. type: string
  14083. errorid:
  14084. description: 异常ID
  14085. type: integer
  14086. modulecode:
  14087. description: 所属模块
  14088. type: string
  14089. operatecode:
  14090. description: 所属操作
  14091. type: string
  14092. rownumber:
  14093. description: 行号
  14094. type: string
  14095. required:
  14096. - errorid
  14097. type: object
  14098. models.QueryHedgeOrderDetailRsp:
  14099. properties:
  14100. accountid:
  14101. description: 账户ID
  14102. type: integer
  14103. buyorsell:
  14104. description: 买卖 - 0:买 1:卖
  14105. type: integer
  14106. cancellogincode:
  14107. description: 撤单人
  14108. type: string
  14109. channelbuildtype:
  14110. description: 开平标志 - 0:无 1:建仓 2:平仓
  14111. type: integer
  14112. channelinnerorderstatus:
  14113. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14114. 9:全部成交
  14115. type: integer
  14116. channeloperatetype:
  14117. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14118. type: integer
  14119. closetype:
  14120. description: 平仓方式 - 0:无 1:平今 2:平昨
  14121. type: integer
  14122. curexchangerate:
  14123. description: 当前汇率
  14124. type: number
  14125. decimalplace:
  14126. description: 商品报价小数位
  14127. type: integer
  14128. exchangefullname:
  14129. description: 外部交易所全称
  14130. type: string
  14131. goodscode:
  14132. description: 商品代码(内部)
  14133. type: string
  14134. goodsid:
  14135. description: 商品ID
  14136. type: integer
  14137. goodsname:
  14138. description: 商品名称
  14139. type: string
  14140. marketid:
  14141. description: 市场ID
  14142. type: integer
  14143. openfreezemargin:
  14144. description: 冻结保证金(冻结交易金额)
  14145. type: number
  14146. orderid:
  14147. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14148. type: string
  14149. orderlogincode:
  14150. description: 委托人
  14151. type: string
  14152. orderprice:
  14153. description: 委托价格(账户)
  14154. type: number
  14155. orderqty:
  14156. description: 委托数量
  14157. type: integer
  14158. ordertime:
  14159. description: 委托时间
  14160. type: string
  14161. pricemode:
  14162. description: '取价方式 - 1:市价 2: 限价'
  14163. type: integer
  14164. tradedate:
  14165. description: 交易日(yyyyMMdd)
  14166. type: string
  14167. tradeqty:
  14168. description: 成交数量
  14169. type: integer
  14170. type: object
  14171. models.QueryHedgeTradeDetailRsp:
  14172. properties:
  14173. accountid:
  14174. description: 账号ID
  14175. type: integer
  14176. buyorsell:
  14177. description: 方向 - 0:买 1:卖
  14178. type: integer
  14179. channelbuildtype:
  14180. description: 委托单据类型 0:无 1:建仓 2:平仓
  14181. type: integer
  14182. closecharge:
  14183. description: 平仓手续费(账户)
  14184. type: number
  14185. closecharge2:
  14186. description: 平仓手续费(商品)
  14187. type: number
  14188. closepl:
  14189. description: 平仓盈亏(账户)
  14190. type: number
  14191. closepl2:
  14192. description: 平仓盈亏(商品)
  14193. type: number
  14194. closepl3:
  14195. description: 平仓盈亏(账户)(逐笔)
  14196. type: number
  14197. closepl4:
  14198. description: 平仓盈亏(商品)(逐笔)
  14199. type: number
  14200. closetype:
  14201. description: 平仓方式 - 0:无 1:平今 2:平昨
  14202. type: integer
  14203. curexchangerate:
  14204. description: 当前汇率
  14205. type: number
  14206. decimalplace:
  14207. description: 商品报价小数位
  14208. type: integer
  14209. exchangefullname:
  14210. description: 外部交易所全称
  14211. type: string
  14212. goodscode:
  14213. description: 商品代码(内部)
  14214. type: string
  14215. goodsid:
  14216. description: 商品ID
  14217. type: integer
  14218. goodsname:
  14219. description: 商品名称
  14220. type: string
  14221. marketid:
  14222. description: 市场ID
  14223. type: integer
  14224. opencharge:
  14225. description: 建仓手续费(账户)
  14226. type: number
  14227. opencharge2:
  14228. description: 建仓手续费(商品)
  14229. type: number
  14230. orderid:
  14231. description: 委托单号
  14232. type: string
  14233. orderlogincode:
  14234. description: 委托人
  14235. type: string
  14236. tradeamount:
  14237. description: 成交金额(账户)
  14238. type: number
  14239. tradedate:
  14240. description: 交易日(yyyyMMdd)
  14241. type: string
  14242. tradeid:
  14243. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14244. type: string
  14245. tradeprice:
  14246. description: 成交价格
  14247. type: number
  14248. tradeqty:
  14249. description: 成交数量
  14250. type: integer
  14251. tradetime:
  14252. description: 成交时间
  14253. type: string
  14254. tradetype:
  14255. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  14256. type: integer
  14257. type: object
  14258. models.QuotePrimaryMenu:
  14259. properties:
  14260. Index:
  14261. description: 序号
  14262. type: integer
  14263. Key:
  14264. description: 键名
  14265. type: string
  14266. Name:
  14267. description: 菜单名称
  14268. type: string
  14269. SubMenus:
  14270. description: 子菜单
  14271. items:
  14272. $ref: '#/definitions/models.QuoteSecondaryMenu'
  14273. type: array
  14274. SubTitleType:
  14275. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  14276. type: integer
  14277. TradeModes:
  14278. description: 包含市场交易类型
  14279. type: string
  14280. type: object
  14281. models.QuoteSecondaryMenu:
  14282. properties:
  14283. ExExchangeCode:
  14284. description: 外部交易所代码
  14285. type: string
  14286. ExExchangeID:
  14287. description: 外部交易所ID
  14288. type: integer
  14289. GoodsGroupIDs:
  14290. description: 商品组ID列表
  14291. items:
  14292. type: integer
  14293. type: array
  14294. Index:
  14295. description: 序号
  14296. type: integer
  14297. MarketID:
  14298. description: 市场ID
  14299. type: integer
  14300. MenuTitle:
  14301. description: 菜单标题(市场名称或外部交易所名称)
  14302. type: string
  14303. TradeMode:
  14304. description: 交易模式
  14305. type: integer
  14306. type: object
  14307. models.RelatedTaAccount:
  14308. properties:
  14309. accountid:
  14310. description: 资金账户ID
  14311. type: integer
  14312. type: object
  14313. models.RoleMenu:
  14314. properties:
  14315. hasright:
  14316. description: 是否有权限 0-没有权限 1-有权限
  14317. type: integer
  14318. iconame:
  14319. description: 菜单图标
  14320. type: string
  14321. menutype:
  14322. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  14323. type: integer
  14324. parentcode:
  14325. description: 上级资源代码
  14326. type: string
  14327. remark:
  14328. description: 菜单备注
  14329. type: string
  14330. resourcecode:
  14331. description: 菜单代码
  14332. type: string
  14333. resourcelevel:
  14334. description: 级别
  14335. type: integer
  14336. resourcename:
  14337. description: 菜单名称
  14338. type: string
  14339. roleid:
  14340. description: 角色id
  14341. type: integer
  14342. sort:
  14343. description: 排序
  14344. type: integer
  14345. subMenu:
  14346. description: 子级菜单(结构同上层一样, swag解析不出来)
  14347. items:
  14348. $ref: '#/definitions/models.RoleMenu'
  14349. type: array
  14350. url:
  14351. description: URL
  14352. type: string
  14353. userid:
  14354. description: 用户id
  14355. type: integer
  14356. type: object
  14357. models.SearchGoods:
  14358. properties:
  14359. goodscode:
  14360. description: 商品代码(内部)
  14361. type: string
  14362. goodsid:
  14363. description: 商品ID(自增ID SEQ_GOODS)
  14364. type: integer
  14365. goodsname:
  14366. description: 商品名称
  14367. type: string
  14368. marketid:
  14369. description: 所属市场ID
  14370. type: integer
  14371. marketname:
  14372. description: 市场名称
  14373. type: string
  14374. trademode:
  14375. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14376. 21:竞拍-大宗式 22:受托竞价
  14377. type: integer
  14378. required:
  14379. - goodscode
  14380. - goodsid
  14381. - goodsname
  14382. - marketid
  14383. - trademode
  14384. type: object
  14385. models.Systemparam:
  14386. properties:
  14387. loginid:
  14388. description: 更新用户账号,登录账号
  14389. type: string
  14390. modifyflag:
  14391. description: 修改标志0 不允许修改 1 允许修改
  14392. type: integer
  14393. paramcode:
  14394. description: 参数代码
  14395. type: string
  14396. paramname:
  14397. description: 参数名
  14398. type: string
  14399. paramtype:
  14400. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  14401. type: integer
  14402. paramvalue:
  14403. description: 参数值
  14404. type: string
  14405. paramvalue2:
  14406. description: 参数值(CLOB)
  14407. type: string
  14408. regexpress:
  14409. description: 正则表达式
  14410. type: string
  14411. remark:
  14412. description: 备注
  14413. type: string
  14414. serverip:
  14415. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  14416. type: string
  14417. showflag:
  14418. description: 是否显示0 不显示 1 显示
  14419. type: integer
  14420. updatetime:
  14421. description: 更新时间
  14422. type: string
  14423. userid:
  14424. description: 更新用户ID
  14425. type: integer
  14426. required:
  14427. - paramcode
  14428. type: object
  14429. models.Szdz3convertconfig:
  14430. properties:
  14431. canin:
  14432. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  14433. type: integer
  14434. canout:
  14435. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  14436. type: integer
  14437. converttype:
  14438. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14439. 6:交易转花生米(不设置)
  14440. type: integer
  14441. createtime:
  14442. description: 创建时间
  14443. type: string
  14444. creatorid:
  14445. description: 创建人
  14446. type: integer
  14447. daymaxvalue:
  14448. description: 当日最大转入限制
  14449. type: number
  14450. freezedays:
  14451. description: 冻结天数 [5:花生米转交易]
  14452. type: integer
  14453. innergoodsid:
  14454. description: 内部商品ID[交易]
  14455. type: integer
  14456. inratio:
  14457. description: 目标值
  14458. type: integer
  14459. modifierid:
  14460. description: 修改人
  14461. type: integer
  14462. modifytime:
  14463. description: 修改时间
  14464. type: string
  14465. outergoodscode:
  14466. description: 外部商品代码[JD\PD]
  14467. type: string
  14468. outratio:
  14469. description: 源值
  14470. type: integer
  14471. pddecimalplace:
  14472. description: PD小数位
  14473. type: integer
  14474. timemaxvalue:
  14475. description: 单次最大转入限制
  14476. type: number
  14477. timeminvalue:
  14478. description: 单次最小转入限制
  14479. type: number
  14480. required:
  14481. - converttype
  14482. - innergoodsid
  14483. - outergoodscode
  14484. type: object
  14485. models.Szdz3searchwhitelist:
  14486. properties:
  14487. createtime:
  14488. description: 创建时间
  14489. type: string
  14490. creatorid:
  14491. description: 创建人
  14492. type: integer
  14493. modifierid:
  14494. description: 修改人
  14495. type: integer
  14496. modifytime:
  14497. description: 修改时间
  14498. type: string
  14499. userid:
  14500. description: 用户ID
  14501. type: integer
  14502. required:
  14503. - userid
  14504. type: object
  14505. models.TBGoods:
  14506. properties:
  14507. agreeunit:
  14508. description: 合约乘数
  14509. type: number
  14510. enumdicname:
  14511. description: 单位名称
  14512. type: string
  14513. goodscode:
  14514. description: 商品代码(内部)
  14515. type: string
  14516. goodsid:
  14517. description: 商品ID(自增ID SEQ_GOODS)
  14518. type: integer
  14519. goodsname:
  14520. description: 商品名称
  14521. type: string
  14522. type: object
  14523. models.TBGoodsGroup:
  14524. properties:
  14525. GDLST:
  14526. description: 商品列表
  14527. items:
  14528. $ref: '#/definitions/models.TBGoods'
  14529. type: array
  14530. convertratio:
  14531. description: 折算系数
  14532. type: number
  14533. enumdicname:
  14534. description: 单位名称
  14535. type: string
  14536. exexchangecode:
  14537. description: 交易所代码
  14538. type: string
  14539. exexchangename:
  14540. description: 交易所名称
  14541. type: string
  14542. goodsgroupid:
  14543. description: 商品组ID(自增ID)
  14544. type: integer
  14545. goodsgroupname:
  14546. description: 商品组名称
  14547. type: string
  14548. goodunitid:
  14549. description: 报价单位ID
  14550. type: integer
  14551. type: object
  14552. models.TBMiddleGoods:
  14553. properties:
  14554. GPLST:
  14555. description: 期货品种列表
  14556. items:
  14557. $ref: '#/definitions/models.TBGoodsGroup'
  14558. type: array
  14559. WDLST:
  14560. description: 商品信息列表(现货品类)
  14561. items:
  14562. $ref: '#/definitions/models.TBWrstandard'
  14563. type: array
  14564. areauserid:
  14565. description: 机构用户ID
  14566. type: integer
  14567. enumdicname:
  14568. description: 单位名称
  14569. type: string
  14570. goodsunitid:
  14571. description: 套保品种单位id
  14572. type: integer
  14573. middlegoodscode:
  14574. description: 套保品种代码
  14575. type: string
  14576. middlegoodsid:
  14577. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  14578. type: integer
  14579. middlegoodsname:
  14580. description: 套保品种名称
  14581. type: string
  14582. needarbitrageratio:
  14583. description: 套利比率
  14584. type: number
  14585. needhedgeratio:
  14586. description: 套保比率
  14587. type: number
  14588. type: object
  14589. models.TBWrstandard:
  14590. properties:
  14591. convertratio:
  14592. description: 折算系数
  14593. type: number
  14594. deliverygoodsname:
  14595. description: 品种名称
  14596. type: string
  14597. enumdicname:
  14598. description: 单位名称
  14599. type: string
  14600. vatrate:
  14601. description: 增值税率
  14602. type: number
  14603. wrstandardcode:
  14604. description: 现货商品代码
  14605. type: string
  14606. wrstandardid:
  14607. description: 现货商品ID(SEQ_WRSTANDARD)
  14608. type: integer
  14609. wrstandardname:
  14610. description: 现货商品名称
  14611. type: string
  14612. type: object
  14613. models.Taaccount:
  14614. properties:
  14615. accountflag:
  14616. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  14617. type: integer
  14618. accountid:
  14619. description: 资金账户ID
  14620. type: integer
  14621. accountname:
  14622. description: 账户名称
  14623. type: string
  14624. balance:
  14625. description: 期初余额
  14626. type: number
  14627. capitalbalance:
  14628. description: 本金余额[外部子账户实际出入金余额]
  14629. type: number
  14630. changeflag:
  14631. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  14632. type: integer
  14633. changetime:
  14634. description: 账户状态变更时间
  14635. type: string
  14636. closepl:
  14637. description: 今日平仓盈亏
  14638. type: number
  14639. creditdecrease:
  14640. description: 今日授信减少
  14641. type: number
  14642. creditincrease:
  14643. description: 今日授信增加
  14644. type: number
  14645. curamount:
  14646. description: 总市值(从持仓中统计)
  14647. type: number
  14648. currencyid:
  14649. description: 货币ID
  14650. type: integer
  14651. currentbalance:
  14652. description: 期末余额
  14653. type: number
  14654. freezecharge:
  14655. description: 手续费冻结
  14656. type: number
  14657. freezemargin:
  14658. description: 冻结保证金
  14659. type: number
  14660. fromaccountid:
  14661. description: 所属上级账户
  14662. type: integer
  14663. inamount:
  14664. description: 今日入金金额(包括三方入金)
  14665. type: number
  14666. ismain:
  14667. description: 是否母账号 0:不是母账户 1:是母账户
  14668. type: integer
  14669. ismarketaccount:
  14670. description: 是否机构接单账号 0:不是 1:是
  14671. type: integer
  14672. isreckonaccount:
  14673. description: 是否机构分润账号 0:不是 1:是
  14674. type: integer
  14675. mortgagecredit:
  14676. description: 授信金额
  14677. type: number
  14678. orifreezecharge:
  14679. description: 期初手续费冻结
  14680. type: number
  14681. orifreezemargin:
  14682. description: 期初冻结保证金
  14683. type: number
  14684. orimortgagecredit:
  14685. description: 期初授信金额
  14686. type: number
  14687. oriothercredit:
  14688. description: 期初其它授信金额
  14689. type: number
  14690. oriotherfreezemargin:
  14691. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  14692. type: number
  14693. orioutamountfreeze:
  14694. description: 期初出金冻结
  14695. type: number
  14696. oriusedmargin:
  14697. description: 期初占用保证金
  14698. type: number
  14699. othercredit:
  14700. description: 其它授信金额
  14701. type: number
  14702. othercreditdecrease:
  14703. description: 今日其它授信减少
  14704. type: number
  14705. othercreditincrease:
  14706. description: 今日其它授信增加
  14707. type: number
  14708. otherfreezemargin:
  14709. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  14710. type: number
  14711. otherincome:
  14712. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  14713. type: number
  14714. otherpay:
  14715. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  14716. type: number
  14717. outamount:
  14718. description: 今日出金金额(包括三方出金)
  14719. type: number
  14720. outamountfreeze:
  14721. description: 出金冻结
  14722. type: number
  14723. outthreshold:
  14724. description: 出金阈值
  14725. type: number
  14726. parentaccountid:
  14727. description: 所属根账号
  14728. type: integer
  14729. paycharge:
  14730. description: 今日手续费支出
  14731. type: number
  14732. relatedaccountstatus:
  14733. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  14734. type: integer
  14735. relateduserid:
  14736. description: 关联用户
  14737. type: integer
  14738. remainamount:
  14739. description: 融资额(从融资合同中统计)
  14740. type: number
  14741. serivcegroup:
  14742. description: 服务分组
  14743. type: integer
  14744. signstatus:
  14745. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14746. type: integer
  14747. sublevelpath:
  14748. description: 账号层级路径(逗号分隔,首尾加逗号)
  14749. type: string
  14750. taaccounttype:
  14751. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  14752. type: integer
  14753. thirdinamount:
  14754. description: 今日三方入金
  14755. type: number
  14756. thirdoutamount:
  14757. description: 今日三方出金
  14758. type: number
  14759. tradestatus:
  14760. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  14761. type: integer
  14762. tradestatuschangetime:
  14763. description: 激活时间
  14764. type: string
  14765. transferamount:
  14766. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  14767. type: number
  14768. usedmargin:
  14769. description: 占用保证金
  14770. type: number
  14771. userid:
  14772. description: 用户ID
  14773. type: integer
  14774. required:
  14775. - accountid
  14776. - userid
  14777. type: object
  14778. models.Tablecolumnconfig:
  14779. properties:
  14780. aligntype:
  14781. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  14782. type: integer
  14783. autoid:
  14784. description: AutoID
  14785. type: integer
  14786. columnfield:
  14787. description: 列字段
  14788. type: string
  14789. columntitle:
  14790. description: 列Title
  14791. type: string
  14792. columnwidth:
  14793. description: 列宽
  14794. type: string
  14795. formatterstring:
  14796. description: 格式化字符
  14797. type: string
  14798. formattertype:
  14799. description: 格式化类型
  14800. type: string
  14801. groupname:
  14802. description: 表头分组名称
  14803. type: string
  14804. isshow:
  14805. description: 是否显示 - 0:不显示 1:显示
  14806. type: integer
  14807. needsummary:
  14808. description: 是否需要汇总 - 0:不需要 1:需要
  14809. type: integer
  14810. orderindex:
  14811. description: 顺序
  14812. type: integer
  14813. remark:
  14814. description: 备注
  14815. type: string
  14816. summarytype:
  14817. description: 汇总类型 - 1:加总 2:最后一个
  14818. type: integer
  14819. tablekey:
  14820. description: 列表Key
  14821. type: string
  14822. required:
  14823. - autoid
  14824. type: object
  14825. models.TjmdHolderDetailTradeInfo:
  14826. properties:
  14827. agreeunit:
  14828. description: 合约乘数
  14829. type: number
  14830. buyaccountid:
  14831. description: 买方账户
  14832. type: string
  14833. buyusername:
  14834. description: 买方
  14835. type: string
  14836. delistingdate:
  14837. description: 最后结算日
  14838. type: string
  14839. expiredate:
  14840. description: 到期结算价定价日
  14841. type: string
  14842. exprieprice:
  14843. description: 到期清算价格
  14844. type: string
  14845. goodscode:
  14846. description: 商品代码
  14847. type: string
  14848. goodsid:
  14849. description: 商品ID
  14850. type: integer
  14851. goodsname:
  14852. description: 商品名称(交易标的)
  14853. type: string
  14854. lasttradedate:
  14855. description: 最后交易日
  14856. type: string
  14857. listingdate:
  14858. description: 开始交易日
  14859. type: string
  14860. openprice:
  14861. description: 成交价
  14862. type: number
  14863. openqty:
  14864. description: 交易数量
  14865. type: integer
  14866. sellaccountid:
  14867. description: 卖方账户
  14868. type: string
  14869. sellusername:
  14870. description: 卖方
  14871. type: string
  14872. tradeamount:
  14873. description: 初始名义价值
  14874. type: number
  14875. tradedate:
  14876. description: 成交日期
  14877. type: string
  14878. tradeid:
  14879. description: 成交编号
  14880. type: string
  14881. type: object
  14882. models.TjmdMarketSection:
  14883. properties:
  14884. marketsectionid:
  14885. description: 市场版块ID(SEQ_MARKETSECTION)
  14886. type: integer
  14887. marketsectionname:
  14888. description: 市场版块名称
  14889. type: string
  14890. mlist:
  14891. description: 市场列表(板块下面有多少个市场)
  14892. items:
  14893. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  14894. type: array
  14895. orderindex:
  14896. description: 排序
  14897. type: integer
  14898. pictureurl:
  14899. description: 图片url, 规格(90*90)
  14900. type: string
  14901. remark:
  14902. description: 备注
  14903. type: string
  14904. type: object
  14905. models.TjmdMarketSectionConfig:
  14906. properties:
  14907. auctionwrtype:
  14908. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  14909. type: integer
  14910. canacceptquote:
  14911. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  14912. type: integer
  14913. cangoodsexercise:
  14914. description: '[期权]是否可现货行权- 0:否 1:是'
  14915. type: integer
  14916. cangoodsexercisetype:
  14917. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  14918. type: integer
  14919. canmanualquotestrike:
  14920. description: 是否可手动报行权价- 0:否 1:是 [期权]
  14921. type: integer
  14922. canmutistage:
  14923. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  14924. type: integer
  14925. canpreexercise:
  14926. description: '[期权]是否可预申报- 0:否 1:是'
  14927. type: integer
  14928. clearinterval:
  14929. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  14930. type: integer
  14931. contracttmp:
  14932. description: 合同模板[荷兰式][竞价式][仓单贸易]
  14933. type: string
  14934. exchareaid:
  14935. description: 所属交易所,可以没有
  14936. type: integer
  14937. financemarketid:
  14938. description: 融资回购市场ID [仓单贸易]
  14939. type: integer
  14940. goodstype:
  14941. description: 商品类型 - 1:交易商品 2:仓单商品
  14942. type: integer
  14943. hasrebate:
  14944. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  14945. type: integer
  14946. hastradecredit:
  14947. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  14948. type: integer
  14949. haswr:
  14950. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  14951. type: integer
  14952. isdeductmargin:
  14953. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  14954. type: integer
  14955. isrecordsource:
  14956. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  14957. type: integer
  14958. isreleasemargin:
  14959. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  14960. type: integer
  14961. isupdatereckonprice:
  14962. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  14963. type: integer
  14964. listingmode:
  14965. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  14966. type: integer
  14967. marginformula:
  14968. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14969. type: integer
  14970. marginformula2:
  14971. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14972. type: integer
  14973. marketid:
  14974. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  14975. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  14976. type: integer
  14977. marketname:
  14978. description: 市场名称
  14979. type: string
  14980. marketsectionid:
  14981. description: 市场版块ID(SEQ_MARKETSECTION)
  14982. type: integer
  14983. marketserviceid:
  14984. description: 市场服务ID
  14985. type: integer
  14986. marketstatus:
  14987. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  14988. type: integer
  14989. markettype:
  14990. description: 市场类型- 1:非交易服务 2:交易服务
  14991. type: integer
  14992. matchermode:
  14993. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  14994. type: integer
  14995. nowrquotaflag:
  14996. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  14997. type: integer
  14998. openmethod:
  14999. description: 开盘模式 - 0 自动 1手动
  15000. type: integer
  15001. orderindex:
  15002. description: 排序
  15003. type: integer
  15004. otcuserid:
  15005. description: 场外期权做市商[场外期权]
  15006. type: integer
  15007. outersynctime:
  15008. description: 外部同步时间点(h24:mi:ss)[场外期权]
  15009. type: string
  15010. paylaterflag:
  15011. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  15012. type: integer
  15013. pendingflag:
  15014. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  15015. type: integer
  15016. pendingtime:
  15017. description: 待开市时间[通道交易-对冲](HH:mm)
  15018. type: string
  15019. performancetempid:
  15020. description: 履约计划模板ID - 作废
  15021. type: integer
  15022. premiumquotemode:
  15023. description: 权利金报价方式 - 1:自动 2:手动
  15024. type: integer
  15025. rebateratio:
  15026. description: 返利比率[竞价式]
  15027. type: number
  15028. reckonorder:
  15029. description: 结算顺序
  15030. type: integer
  15031. reckonpricealgorithm:
  15032. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  15033. 6.卖一价 7.买一卖一均价 8.外部结算价'
  15034. type: integer
  15035. reckonpriceparam:
  15036. description: 结算价参数
  15037. type: integer
  15038. reckontime:
  15039. description: 结算时间[通道交易-对冲](HH:mm)
  15040. type: string
  15041. roleprioritytype:
  15042. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  15043. type: integer
  15044. selllistingauditflag:
  15045. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  15046. type: integer
  15047. trademarkettype:
  15048. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  15049. type: integer
  15050. trademode:
  15051. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15052. 21:竞拍-大宗式 22:受托竞价
  15053. type: integer
  15054. tradeproperty:
  15055. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  15056. 8:场外期权
  15057. type: integer
  15058. tradetype:
  15059. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  15060. type: integer
  15061. updatereckonpriceinterval:
  15062. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  15063. type: integer
  15064. type: object
  15065. models.TjmdQuoteGoods:
  15066. properties:
  15067. buyqty:
  15068. description: 买量(暂不做, 无值, 保留字段)
  15069. type: number
  15070. decimalplace:
  15071. description: 报价小数位
  15072. type: integer
  15073. goodscode:
  15074. description: 合约代码
  15075. type: string
  15076. goodsgroupid:
  15077. description: 商品组ID(自增ID)
  15078. type: integer
  15079. goodsgroupname:
  15080. description: 商品组名称
  15081. type: string
  15082. goodsid:
  15083. description: 合约id
  15084. type: integer
  15085. goodsname:
  15086. description: 合约名称
  15087. type: string
  15088. refgoodscode:
  15089. description: 标的合约代码
  15090. type: string
  15091. refgoodsid:
  15092. description: 标的合约id
  15093. type: integer
  15094. refgoodsname:
  15095. description: 标的合约名称
  15096. type: string
  15097. sellqty:
  15098. description: 卖量(暂不做, 无值, 保留字段)
  15099. type: number
  15100. type: object
  15101. models.TjmdTodayAccountMargin:
  15102. properties:
  15103. accountid:
  15104. description: 账号ID
  15105. type: integer
  15106. goodsid:
  15107. description: 商品ID
  15108. type: integer
  15109. infoc:
  15110. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  15111. description: 配置参数
  15112. marketid:
  15113. description: 市场ID
  15114. type: integer
  15115. type: object
  15116. models.TjmdTradeOrderDetail:
  15117. properties:
  15118. buyorsell:
  15119. description: 买卖方向 0-买 1-卖
  15120. type: integer
  15121. goodsid:
  15122. description: 商品id
  15123. type: integer
  15124. marketmaxsub:
  15125. description: 市价最大偏移范围 [浮动价 - 点差]
  15126. type: number
  15127. orderid:
  15128. description: 委托单号
  15129. type: string
  15130. orderprice:
  15131. description: 委托价格
  15132. type: number
  15133. orderqty:
  15134. description: 委托数量
  15135. type: integer
  15136. pricemode:
  15137. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  15138. type: integer
  15139. userid:
  15140. description: 用户id
  15141. type: integer
  15142. username:
  15143. description: 用户名称(已脱敏)
  15144. type: string
  15145. type: object
  15146. models.TjmdTransferApply:
  15147. properties:
  15148. applyid:
  15149. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  15150. type: integer
  15151. applystatus:
  15152. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  15153. type: integer
  15154. applytime:
  15155. description: 申请时间(时间)
  15156. type: string
  15157. auditremark:
  15158. description: 审核备注(拒绝原因?)
  15159. type: string
  15160. begindate:
  15161. description: 开始交易日(yyyymmdd)
  15162. type: string
  15163. buyorsell:
  15164. description: 买卖 - 0:买 1:卖
  15165. type: integer
  15166. enddate:
  15167. description: 结束交易日(yyyymmdd)
  15168. type: string
  15169. goodscode:
  15170. description: 商品代码
  15171. type: string
  15172. goodsid:
  15173. description: 商品ID
  15174. type: integer
  15175. goodsname:
  15176. description: 商品名称
  15177. type: string
  15178. marketid:
  15179. description: 市场ID
  15180. type: integer
  15181. qty:
  15182. description: 转让数量(数量)
  15183. type: number
  15184. tradeid:
  15185. description: 成交单号(关联持仓)
  15186. type: string
  15187. transferamount:
  15188. description: 转让总金额(金额)
  15189. type: number
  15190. transferprice:
  15191. description: 转让价格(协议价格)
  15192. type: number
  15193. type: object
  15194. models.TradeHolderDetail:
  15195. properties:
  15196. accountid:
  15197. description: 账号ID
  15198. type: integer
  15199. agreeunit:
  15200. description: 合约乘数
  15201. type: number
  15202. buyorsell:
  15203. description: 方向 - 0:买 1:卖
  15204. type: integer
  15205. currencyid:
  15206. description: 商品币种id
  15207. type: integer
  15208. currencyname:
  15209. description: 币种名称
  15210. type: string
  15211. decimalplace:
  15212. description: 商品价格小数位
  15213. type: integer
  15214. enumdicname:
  15215. description: 商品单位名称
  15216. type: string
  15217. expirecycle:
  15218. description: 行权周期(天) - 1:滚动行权时填写
  15219. type: integer
  15220. expiredate:
  15221. description: 行权日(yyyyMMdd) - 到期日
  15222. type: string
  15223. expiretype:
  15224. description: 行权日类型 - 1:滚动行权 2:固定日行权
  15225. type: integer
  15226. freezeqty:
  15227. description: 冻结数量
  15228. type: number
  15229. goodscode:
  15230. description: 商品代码
  15231. type: string
  15232. goodsid:
  15233. description: 商品ID
  15234. type: integer
  15235. goodsname:
  15236. description: 商品名称
  15237. type: string
  15238. goodunitid:
  15239. description: 商品单位id
  15240. type: integer
  15241. holderamount:
  15242. description: 持仓金额
  15243. type: number
  15244. holdercredit:
  15245. description: 持仓授信金额
  15246. type: number
  15247. holderdays:
  15248. description: 剩余冻结天数
  15249. type: integer
  15250. holderprice:
  15251. description: 持仓价格
  15252. type: number
  15253. holderqty:
  15254. description: 持仓数量
  15255. type: number
  15256. isconfirmexercise:
  15257. description: 是否确认行权- 0:否 1:是
  15258. type: integer
  15259. ispreexercise:
  15260. description: 是否预申报- 0:否 1:是 2:不可行权
  15261. type: integer
  15262. marketid:
  15263. description: 市场id
  15264. type: integer
  15265. marketname:
  15266. description: 市场名称
  15267. type: string
  15268. openprice:
  15269. description: 建仓价格
  15270. type: number
  15271. openqty:
  15272. description: 建仓数量
  15273. type: number
  15274. optiontype:
  15275. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15276. type: integer
  15277. preexerciseprice:
  15278. description: 预申报价格
  15279. type: number
  15280. premium:
  15281. description: 权利金
  15282. type: number
  15283. qtydecimalplace:
  15284. description: 商品成交量小数位
  15285. type: integer
  15286. refgoodscode:
  15287. description: 标的合约代码
  15288. type: string
  15289. refgoodsid:
  15290. description: 标的合约id
  15291. type: integer
  15292. releaseamount:
  15293. description: 释放持仓金额
  15294. type: number
  15295. releaseholdercredit:
  15296. description: 释放持仓授信金额
  15297. type: number
  15298. taname:
  15299. description: 资金账号名称
  15300. type: string
  15301. tradeamount:
  15302. description: 成交金额
  15303. type: number
  15304. tradedate:
  15305. description: 交易日(yyyyMMdd)
  15306. type: string
  15307. tradeid:
  15308. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15309. type: string
  15310. trademode:
  15311. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15312. 21:竞拍-大宗式 22:受托竞价 46:掉期
  15313. type: integer
  15314. tradeproperty:
  15315. description: 交易属性
  15316. type: integer
  15317. tradetime:
  15318. description: 交易时间
  15319. type: string
  15320. userid:
  15321. description: 用户id
  15322. type: integer
  15323. username:
  15324. description: 用户名称
  15325. type: string
  15326. type: object
  15327. models.UserCollectConfig:
  15328. properties:
  15329. accountstatus:
  15330. description: 账户状态 - 1:正常 2:停用 3:注销
  15331. type: integer
  15332. collectaccountname:
  15333. description: 收款人账户名称
  15334. type: string
  15335. collectaccountno:
  15336. description: 收款人账户
  15337. type: string
  15338. collectbankname:
  15339. description: 收款人开户行
  15340. type: string
  15341. collectbranchbankname:
  15342. description: 收款人开户支行
  15343. type: string
  15344. collectconfigid:
  15345. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  15346. type: string
  15347. remark:
  15348. description: 备注
  15349. type: string
  15350. userid:
  15351. description: 收款人用户ID
  15352. type: integer
  15353. type: object
  15354. models.UserReceiveInfo:
  15355. properties:
  15356. address:
  15357. description: 提货人详细地址
  15358. type: string
  15359. autoid:
  15360. description: AutoID
  15361. type: integer
  15362. cardnum:
  15363. description: 证件号码(加密存储)
  15364. type: string
  15365. cardtypeid:
  15366. description: 证件类型
  15367. type: integer
  15368. cityid:
  15369. description: 市
  15370. type: integer
  15371. cityname:
  15372. description: 城市名称
  15373. type: string
  15374. countryid:
  15375. description: 国家
  15376. type: integer
  15377. countryname:
  15378. description: 国家名称
  15379. type: string
  15380. districtid:
  15381. description: 地区
  15382. type: integer
  15383. districtname:
  15384. description: 地区名称
  15385. type: string
  15386. hasencrypt:
  15387. description: 数据是否已加密 - 0:未加密 1:已加密
  15388. type: integer
  15389. isdefault:
  15390. description: 是否默认地址 - 0:否 1:是
  15391. type: integer
  15392. phonenum:
  15393. description: 提货人联系方式(加密存储)
  15394. type: string
  15395. provinceid:
  15396. description: 省
  15397. type: integer
  15398. provincename:
  15399. description: 省名称
  15400. type: string
  15401. receivername:
  15402. description: 提货人姓名
  15403. type: string
  15404. takeremark:
  15405. description: 提货备注
  15406. type: string
  15407. userid:
  15408. description: 用户ID
  15409. type: integer
  15410. type: object
  15411. models.Useraccount:
  15412. properties:
  15413. accountname:
  15414. description: 账户名称(机构名称)
  15415. type: string
  15416. accountstatus:
  15417. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  15418. type: integer
  15419. applysrc:
  15420. description: 申请来源 - 1:管理端 2:终端
  15421. type: integer
  15422. auditremark:
  15423. description: 审核备注
  15424. type: string
  15425. auditsrc:
  15426. description: 审核来源 - 1:管理端 2:终端
  15427. type: integer
  15428. audittime:
  15429. description: 审核时间
  15430. type: string
  15431. audituserid:
  15432. description: 审核人
  15433. type: integer
  15434. broker:
  15435. description: 所属经纪人ID
  15436. type: integer
  15437. canceltime:
  15438. description: 销户时间
  15439. type: string
  15440. canceluserid:
  15441. description: 销户人
  15442. type: integer
  15443. canrecommend:
  15444. description: 是否可推荐 - 0:不可 1;可
  15445. type: integer
  15446. createtime:
  15447. description: 创建时间
  15448. type: string
  15449. creatorid:
  15450. description: 创建人
  15451. type: integer
  15452. hasauth:
  15453. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  15454. type: integer
  15455. isanonymous:
  15456. description: 是否匿名下单 - 0:否 1:是
  15457. type: integer
  15458. maxinvestornum:
  15459. description: 最大用户数(经纪会员下投资者个数)
  15460. type: integer
  15461. memberuserid:
  15462. description: 所属会员ID
  15463. type: integer
  15464. modifierid:
  15465. description: 修改人
  15466. type: integer
  15467. modifyremark:
  15468. description: 变更备注
  15469. type: string
  15470. modifystatus:
  15471. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  15472. type: integer
  15473. modifytime:
  15474. description: 修改时间
  15475. type: string
  15476. parenttopuser:
  15477. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  15478. type: string
  15479. parentuserid:
  15480. description: 所属机构ID
  15481. type: integer
  15482. reckonaccountid:
  15483. description: 默认结算资金账号ID(机构分润使用) 作废
  15484. type: integer
  15485. refercount:
  15486. description: 推荐总人数
  15487. type: integer
  15488. refereeuserid:
  15489. description: 推荐人ID
  15490. type: integer
  15491. refernum:
  15492. description: 推荐码
  15493. type: string
  15494. rootuserid:
  15495. description: 根用户ID
  15496. type: integer
  15497. subaccountlevel:
  15498. description: 子账户层数
  15499. type: integer
  15500. subarealevelpath:
  15501. description: 子机构层级路径(逗号分隔,首尾加逗号)
  15502. type: string
  15503. userid:
  15504. description: 用户ID
  15505. type: integer
  15506. usertype:
  15507. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  15508. type: integer
  15509. required:
  15510. - userid
  15511. type: object
  15512. models.Userfavoritegoods:
  15513. properties:
  15514. goodsid:
  15515. description: 商品ID
  15516. type: integer
  15517. required:
  15518. - goodsid
  15519. type: object
  15520. models.Userinfo:
  15521. properties:
  15522. address:
  15523. description: 地址
  15524. type: string
  15525. attachment1:
  15526. description: 附件1
  15527. type: string
  15528. attachment2:
  15529. description: 附件2
  15530. type: string
  15531. bankaccount:
  15532. description: 银行帐号 (加密存储)
  15533. type: string
  15534. bankaccountname:
  15535. description: 收款人名称
  15536. type: string
  15537. bankcardfrontphotourl:
  15538. description: 银行卡正面照地址
  15539. type: string
  15540. bankid:
  15541. description: 银行编码
  15542. type: string
  15543. bankname:
  15544. description: 银行名称
  15545. type: string
  15546. biznature:
  15547. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15548. type: integer
  15549. bizscope:
  15550. description: 企业经营范围(企业)
  15551. type: string
  15552. cardbackphotourl:
  15553. description: 证件背面图片地址
  15554. type: string
  15555. cardfrontphotourl:
  15556. description: 证件正面图片地址
  15557. type: string
  15558. cardnum:
  15559. description: 证件号码(加密存储)
  15560. type: string
  15561. cardtypeid:
  15562. description: 证件类型ID
  15563. type: integer
  15564. cityid:
  15565. description: 市
  15566. type: integer
  15567. company:
  15568. description: 公司(个人)
  15569. type: string
  15570. contactname:
  15571. description: 联系人
  15572. type: string
  15573. countryid:
  15574. description: 国家
  15575. type: integer
  15576. createtime:
  15577. description: 创建时间
  15578. type: string
  15579. creatorid:
  15580. description: 创建人
  15581. type: integer
  15582. customername:
  15583. description: 客户名称(企业名称)
  15584. type: string
  15585. districtid:
  15586. description: 地区
  15587. type: integer
  15588. email:
  15589. description: 邮件(加密存储)
  15590. type: string
  15591. fax:
  15592. description: 传真(加密存储)
  15593. type: string
  15594. halfbodyphotourl:
  15595. description: 半身照地址
  15596. type: string
  15597. hasencrypt:
  15598. description: 数据是否已加密 - 0:未加密 1:已加密
  15599. type: integer
  15600. headurl:
  15601. description: 头像地址
  15602. type: string
  15603. legalcardbackphotourl:
  15604. description: 法人身份证背面照地址
  15605. type: string
  15606. legalcardfrontphotourl:
  15607. description: 法人身份证正面照地址
  15608. type: string
  15609. legalpersonname:
  15610. description: 法人姓名(企业)
  15611. type: string
  15612. mobile:
  15613. description: 手机号码(加密存储)
  15614. type: string
  15615. mobile2:
  15616. description: 手机号码[明文-尚志]
  15617. type: string
  15618. modifierid:
  15619. description: 修改人
  15620. type: integer
  15621. modifiertime:
  15622. description: 修改时间
  15623. type: string
  15624. needinvoice:
  15625. description: 是否需要发票 - 0:不需要 1:需要
  15626. type: integer
  15627. nickname:
  15628. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15629. type: string
  15630. openmode:
  15631. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  15632. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  15633. type: integer
  15634. otherurl:
  15635. description: 其它图片地址[使用分号分隔]
  15636. type: string
  15637. postalcode:
  15638. description: 邮政编码
  15639. type: string
  15640. provinceid:
  15641. description: 省
  15642. type: integer
  15643. qq:
  15644. description: QQ(加密存储
  15645. type: string
  15646. remark:
  15647. description: 备注
  15648. type: string
  15649. sex:
  15650. description: '用户性别 0: 女 1: 男'
  15651. type: integer
  15652. signpdfurl:
  15653. description: 签约pdf文件
  15654. type: string
  15655. telphone:
  15656. description: 联系电话(加密存储)
  15657. type: string
  15658. userid:
  15659. description: 用户ID
  15660. type: integer
  15661. userinfotype:
  15662. description: 用户信息类型 - 1:个人 2:企业
  15663. type: integer
  15664. userstatus:
  15665. description: 用户状态 - 1:正常 2:注销
  15666. type: integer
  15667. usertype:
  15668. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  15669. type: integer
  15670. wechat:
  15671. description: 微信(加密存储)
  15672. type: string
  15673. wskhinfo:
  15674. description: 开户申请信息(JSON)
  15675. type: string
  15676. required:
  15677. - userid
  15678. type: object
  15679. models.WRSConverTDetail:
  15680. properties:
  15681. convertratio:
  15682. description: 套保系数
  15683. type: number
  15684. deliverygoodscode:
  15685. description: 现货商品代码
  15686. type: string
  15687. deliverygoodsid:
  15688. description: 现货品种ID
  15689. type: integer
  15690. deliverygoodsname:
  15691. description: 现货商品名称
  15692. type: string
  15693. enumdicname:
  15694. description: 单位名称
  15695. type: string
  15696. goodsunitid:
  15697. description: 套保品种单位id
  15698. type: integer
  15699. middlegoodscode:
  15700. description: 套保品种代码
  15701. type: string
  15702. middlegoodsid:
  15703. description: 套保品种ID
  15704. type: integer
  15705. middlegoodsname:
  15706. description: 套保品种名称
  15707. type: string
  15708. modifytime:
  15709. description: 修改时间
  15710. type: string
  15711. wrstandardid:
  15712. description: 品类ID
  15713. type: integer
  15714. type: object
  15715. models.WRStandardInfo:
  15716. properties:
  15717. areauserid:
  15718. description: 所属机构
  15719. type: integer
  15720. convertfactor:
  15721. description: 标仓系数
  15722. type: number
  15723. createtime:
  15724. description: 创建时间
  15725. type: string
  15726. creatorid:
  15727. description: 创建人
  15728. type: integer
  15729. deliverygoodsid:
  15730. description: 品种ID
  15731. type: integer
  15732. deliverygoodsname:
  15733. description: 交割商品名称
  15734. type: string
  15735. factoryitemjson:
  15736. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  15737. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  15738. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  15739. 逗号分隔'
  15740. type: string
  15741. isvalid:
  15742. description: 是否有效 - 0:无效 1:有效
  15743. type: integer
  15744. minivalue:
  15745. description: 最小变动值
  15746. type: integer
  15747. minivaluedp:
  15748. description: 最小变动值小数位
  15749. type: integer
  15750. realminivalue:
  15751. description: 实际最小变动值
  15752. type: integer
  15753. realminivaluedp:
  15754. description: 实际最小变动值小数位
  15755. type: integer
  15756. remark:
  15757. description: 备注
  15758. type: string
  15759. unitid:
  15760. description: 单位ID
  15761. type: integer
  15762. unitname:
  15763. description: 单位
  15764. type: string
  15765. updatetime:
  15766. description: 更新时间
  15767. type: string
  15768. updatorid:
  15769. description: 更新人
  15770. type: integer
  15771. wrsstatus:
  15772. description: 状态 - 作废 - 0:未激活 1:正常
  15773. type: integer
  15774. wrstandardcode:
  15775. description: 现货品类代码
  15776. type: string
  15777. wrstandardid:
  15778. description: 现货品类ID(SEQ_WRSTANDARD)
  15779. type: integer
  15780. wrstandardname:
  15781. description: 现货品类名称
  15782. type: string
  15783. required:
  15784. - wrstandardid
  15785. type: object
  15786. models.WRTradeBargainApply:
  15787. properties:
  15788. accountid:
  15789. description: 摘牌资金账号
  15790. type: integer
  15791. applyprice:
  15792. description: 申请价格(议价价格)
  15793. type: string
  15794. applyqty:
  15795. description: 摘牌数量(议价数量)
  15796. type: number
  15797. applyremark:
  15798. description: 申请备注
  15799. type: string
  15800. applystatus:
  15801. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  15802. type: integer
  15803. applytime:
  15804. description: 申请时间(议价时间)
  15805. type: string
  15806. begindate:
  15807. description: 开始交易日(yyyymmdd)
  15808. type: string
  15809. buyorsell:
  15810. description: 买卖(挂牌类型) - 0:买 1:卖
  15811. type: integer
  15812. confirmremark:
  15813. description: 确认备注
  15814. type: string
  15815. confirmtime:
  15816. description: 确认时间
  15817. type: string
  15818. confirmuserid:
  15819. description: 确认人
  15820. type: integer
  15821. deliverygoodscode:
  15822. description: 品种代码
  15823. type: string
  15824. deliverygoodsid:
  15825. description: 品种ID
  15826. type: integer
  15827. deliverygoodsname:
  15828. description: 品种名称
  15829. type: string
  15830. deliverymonth:
  15831. description: 交收月
  15832. type: string
  15833. enddate:
  15834. description: 结束交易日(yyyymmdd)
  15835. type: string
  15836. enumdicname:
  15837. description: 单位名称
  15838. type: string
  15839. fixedprice:
  15840. description: 挂牌价格
  15841. type: number
  15842. handlestatus:
  15843. description: 处理状态
  15844. type: integer
  15845. marginvalue:
  15846. description: 履约保证金比例
  15847. type: number
  15848. marketid:
  15849. description: 市场ID
  15850. type: integer
  15851. matchaccountid:
  15852. description: 挂牌方资金账号
  15853. type: integer
  15854. matchuserid:
  15855. description: 挂牌方用户id
  15856. type: integer
  15857. matchusername:
  15858. description: 挂牌方用户名称(已脱敏)
  15859. type: string
  15860. minivalue:
  15861. description: 现货商品最小变动值
  15862. type: integer
  15863. optioncompare:
  15864. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15865. type: string
  15866. orderqty:
  15867. description: 挂牌数量
  15868. type: integer
  15869. refprice:
  15870. description: 参考价格
  15871. type: string
  15872. retcode:
  15873. description: 委托返回代码
  15874. type: integer
  15875. templatename:
  15876. description: 履约方式(履约模板名称)
  15877. type: string
  15878. tradedate:
  15879. description: 交易日(yyyyMMdd)
  15880. type: string
  15881. userid:
  15882. description: 摘牌人用户ID(议价人ID)
  15883. type: integer
  15884. username:
  15885. description: 议价人名字(已脱敏)
  15886. type: string
  15887. validtime:
  15888. description: 有效期限
  15889. type: string
  15890. warehouseid:
  15891. description: 仓库ID
  15892. type: integer
  15893. warehousename:
  15894. description: 仓库名称
  15895. type: string
  15896. wrbargainid:
  15897. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  15898. type: string
  15899. wrfactortypeid:
  15900. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15901. type: string
  15902. wrfactortypename:
  15903. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15904. type: string
  15905. wrstandardcode:
  15906. description: 现货商品代码
  15907. type: string
  15908. wrstandardid:
  15909. description: 现货商品ID
  15910. type: integer
  15911. wrstandardname:
  15912. description: 商品名称
  15913. type: string
  15914. wrtradeorderid:
  15915. description: 关联委托单ID
  15916. type: string
  15917. wrtypename:
  15918. description: 商品
  15919. type: string
  15920. type: object
  15921. models.Warehouseinfo:
  15922. properties:
  15923. address:
  15924. description: 详细地址
  15925. type: string
  15926. areauserid:
  15927. description: 所属机构
  15928. type: integer
  15929. autoid:
  15930. description: 自增ID
  15931. type: integer
  15932. cityid:
  15933. description: 市
  15934. type: integer
  15935. contactname:
  15936. description: 联系人
  15937. type: string
  15938. contactnum:
  15939. description: 联系电话
  15940. type: string
  15941. countryid:
  15942. description: 国家
  15943. type: integer
  15944. createtime:
  15945. description: 创建时间
  15946. type: string
  15947. districtid:
  15948. description: 区
  15949. type: integer
  15950. hasvideo:
  15951. description: 是否有视频 - 0:无 1:有
  15952. type: integer
  15953. provinceid:
  15954. description: 省
  15955. type: integer
  15956. remark:
  15957. description: 审核备注
  15958. type: string
  15959. videourl:
  15960. description: 视频地址
  15961. type: string
  15962. warehousecode:
  15963. description: 仓库代码
  15964. type: string
  15965. warehousename:
  15966. description: 仓库名称
  15967. type: string
  15968. warehousestatus:
  15969. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  15970. type: integer
  15971. warehousetype:
  15972. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  15973. type: integer
  15974. required:
  15975. - autoid
  15976. - warehousecode
  15977. type: object
  15978. models.WrAverageTradePrice:
  15979. properties:
  15980. averageprice:
  15981. description: 成交均价
  15982. type: number
  15983. tradedate:
  15984. description: 交易日yyyymm
  15985. type: string
  15986. type: object
  15987. models.WrBrandAndYears:
  15988. properties:
  15989. brandlst:
  15990. description: 品牌列表
  15991. items:
  15992. $ref: '#/definitions/models.DgFactoryItem'
  15993. type: array
  15994. yearslst:
  15995. description: 年份列表
  15996. items:
  15997. $ref: '#/definitions/models.DgFactoryItem'
  15998. type: array
  15999. type: object
  16000. models.WrBsGoodsInfo:
  16001. properties:
  16002. buyorsell:
  16003. description: 买卖方向 0-买 1-卖
  16004. type: integer
  16005. goodsid:
  16006. description: 交易合约ID
  16007. type: integer
  16008. lstitem:
  16009. description: 商品信息项
  16010. items:
  16011. $ref: '#/definitions/models.WrTypeItem'
  16012. type: array
  16013. lststep:
  16014. description: 履约规则
  16015. items:
  16016. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16017. type: array
  16018. type: object
  16019. models.WrBuybackDetail:
  16020. properties:
  16021. buybackamount:
  16022. description: 回购金额
  16023. type: number
  16024. buybackqty:
  16025. description: 回购数量
  16026. type: number
  16027. buybackreleasemargin:
  16028. description: 回购释放保证金
  16029. type: number
  16030. buybacktime:
  16031. description: 回购时间
  16032. type: string
  16033. errordesc:
  16034. description: 错误描述
  16035. type: string
  16036. handlestatus:
  16037. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  16038. type: integer
  16039. relatedwrid:
  16040. description: 关联仓单ID
  16041. type: integer
  16042. scfcontractid:
  16043. description: SCF合同ID
  16044. type: string
  16045. scfwrbuybackid:
  16046. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  16047. type: integer
  16048. tradedate:
  16049. description: 交易日(yyyyMMdd)
  16050. type: string
  16051. type: object
  16052. models.WrClientAdSpaceConfig:
  16053. properties:
  16054. adspaceid:
  16055. description: 广告位ID
  16056. type: integer
  16057. adspacename:
  16058. description: 广告位名称
  16059. type: string
  16060. adspacetype:
  16061. description: 广告位类型 - 1:固定广告位
  16062. type: integer
  16063. areauserid:
  16064. description: 所属机构ID
  16065. type: integer
  16066. createdate:
  16067. description: 创建时间
  16068. type: string
  16069. imagepath:
  16070. description: 图片
  16071. type: string
  16072. modifierid:
  16073. description: 操作人
  16074. type: integer
  16075. recsize:
  16076. description: 推荐尺寸
  16077. type: string
  16078. title:
  16079. description: 标题
  16080. type: string
  16081. updatedate:
  16082. description: 更新时间
  16083. type: string
  16084. urlcontent:
  16085. description: 链接(地址\商品ID\功能菜单Key\appid)
  16086. type: string
  16087. urltype:
  16088. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  16089. type: integer
  16090. type: object
  16091. models.WrDeliveryAvalidHoldLB:
  16092. properties:
  16093. accountid:
  16094. description: 资金账号
  16095. type: integer
  16096. avalidqty:
  16097. description: 数量(可点选数量)
  16098. type: number
  16099. deliverygoodsid:
  16100. description: 品种id
  16101. type: integer
  16102. enumdicname:
  16103. description: 单位名称
  16104. type: string
  16105. goodsid:
  16106. description: x合约商品id
  16107. type: integer
  16108. ladingbillid:
  16109. description: 提单id
  16110. type: string
  16111. pgoodscode:
  16112. description: p商品代码(点价合约)
  16113. type: string
  16114. pgoodsid:
  16115. description: p商品id(点价合约)
  16116. type: integer
  16117. pgoodsname:
  16118. description: p商品名称(点价合约)
  16119. type: string
  16120. pricemove:
  16121. description: 升贴水
  16122. type: number
  16123. subnum:
  16124. description: 提单子id
  16125. type: integer
  16126. userid:
  16127. description: 用户id
  16128. type: integer
  16129. username:
  16130. description: 仓单持有人
  16131. type: string
  16132. warehousecode:
  16133. description: 仓库代码
  16134. type: string
  16135. warehouseid:
  16136. description: 仓库id
  16137. type: integer
  16138. warehousename:
  16139. description: 仓库名称
  16140. type: string
  16141. wrfactortypeid:
  16142. description: 仓单要素id
  16143. type: string
  16144. wrstandardcode:
  16145. description: 品代码
  16146. type: string
  16147. wrstandardid:
  16148. description: 品类d
  16149. type: integer
  16150. wrstandardname:
  16151. description: 品类名称
  16152. type: string
  16153. wrtypename:
  16154. description: 商品
  16155. type: string
  16156. xgoodscode:
  16157. description: x合约代码
  16158. type: string
  16159. xgoodsname:
  16160. description: x合约名称
  16161. type: string
  16162. type: object
  16163. models.WrDeliveryDetail:
  16164. properties:
  16165. accountid:
  16166. description: 账号ID
  16167. type: integer
  16168. averageprice:
  16169. description: 交割均价 = 交割金额 / 交割数量
  16170. type: number
  16171. begindate:
  16172. description: 开始交易日(yyyymmdd)
  16173. type: string
  16174. buyorsell:
  16175. description: 方向 - 0:买 1:卖
  16176. type: integer
  16177. deliveryamount:
  16178. description: 货款金额(X总货款+P总货款)
  16179. type: number
  16180. deliveryid:
  16181. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  16182. type: string
  16183. deliveryorderid:
  16184. description: 申报单号
  16185. type: string
  16186. deliverypricemove:
  16187. description: 升贴水(升贴水总额)
  16188. type: number
  16189. deliveryqty:
  16190. description: 交收数量(点选数量)
  16191. type: number
  16192. deliverystatus:
  16193. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  16194. type: integer
  16195. deliverytime:
  16196. description: 交割时间
  16197. type: string
  16198. deliverytotalamount:
  16199. description: 交收金额
  16200. type: number
  16201. enddate:
  16202. description: 结束交易日(yyyymmdd)
  16203. type: string
  16204. enumdicname:
  16205. description: 单位名称
  16206. type: string
  16207. matchaccountid:
  16208. description: 对手账号ID
  16209. type: integer
  16210. matchusername:
  16211. description: 对手方名称(仓单持有人)
  16212. type: string
  16213. p1goodsremainamount:
  16214. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  16215. type: number
  16216. pdeliverycloseqty:
  16217. description: p合约平仓数量
  16218. type: number
  16219. pdeliveryprice:
  16220. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  16221. type: number
  16222. pgoodscode:
  16223. description: 商品代码
  16224. type: string
  16225. pgoodsid:
  16226. description: p点选合约id
  16227. type: integer
  16228. pgoodsname:
  16229. description: 商品名称
  16230. type: string
  16231. ppricemode:
  16232. description: 点价价格方式 - 1:商品价 2:固定值
  16233. type: integer
  16234. tradedate:
  16235. description: 交易日(yyyymmdd)
  16236. type: string
  16237. userid:
  16238. description: 用户id
  16239. type: integer
  16240. username:
  16241. description: 用户名称
  16242. type: string
  16243. warehousename:
  16244. description: 仓库名称
  16245. type: string
  16246. wrfactortypeid:
  16247. description: 仓单要素类型ID
  16248. type: string
  16249. wrtypename:
  16250. description: 商品
  16251. type: string
  16252. xdeliverycloseqty:
  16253. description: 合约数量
  16254. type: number
  16255. xgoodsamount:
  16256. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  16257. type: number
  16258. xgoodscode:
  16259. description: 商品代码
  16260. type: string
  16261. xgoodsid:
  16262. description: x交易合约ID
  16263. type: integer
  16264. xgoodsname:
  16265. description: 商品名称
  16266. type: string
  16267. type: object
  16268. models.WrDeliveryGoodsSection:
  16269. properties:
  16270. dglst:
  16271. description: 板块商品列表
  16272. items:
  16273. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  16274. type: array
  16275. imagepath:
  16276. description: 图片地址
  16277. type: string
  16278. orderindex:
  16279. description: 排序
  16280. type: integer
  16281. sectionid:
  16282. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  16283. = 1的版块1 - 云融指数
  16284. type: integer
  16285. sectionname:
  16286. description: 版块名称
  16287. type: string
  16288. sectiontype:
  16289. description: 版块类型 - 1:指数版块 2:普通版块
  16290. type: integer
  16291. type: object
  16292. models.WrDeliveryGoodsSectionConfig:
  16293. properties:
  16294. deliverygoodscode:
  16295. description: 现货商品代码
  16296. type: string
  16297. deliverygoodsid:
  16298. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16299. type: integer
  16300. deliverygoodsname:
  16301. description: 现货商品名称
  16302. type: string
  16303. orderindex:
  16304. description: 排序
  16305. type: integer
  16306. type: object
  16307. models.WrDraftUserInfo:
  16308. properties:
  16309. address:
  16310. description: 地址
  16311. type: string
  16312. attachment1:
  16313. description: 附件1
  16314. type: string
  16315. attachment2:
  16316. description: 附件2
  16317. type: string
  16318. attachment3:
  16319. description: 附件3
  16320. type: string
  16321. attachment4:
  16322. description: 附件4
  16323. type: string
  16324. attachment5:
  16325. description: 附件5
  16326. type: string
  16327. bankaccount:
  16328. description: 银行帐号 (加密存储)
  16329. type: string
  16330. bankaccountname:
  16331. description: 收款人名称
  16332. type: string
  16333. bankcardfrontphotourl:
  16334. description: 银行卡正面照地址
  16335. type: string
  16336. bankid:
  16337. description: 银行编码
  16338. type: string
  16339. bankname:
  16340. description: 银行名称
  16341. type: string
  16342. birthday:
  16343. description: 生日(个人:年月日)
  16344. type: string
  16345. biznature:
  16346. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16347. type: integer
  16348. bizscope:
  16349. description: 企业经营范围(企业)
  16350. type: string
  16351. biztype:
  16352. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  16353. type: integer
  16354. cardbackphotourl:
  16355. description: 证件背面图片地址
  16356. type: string
  16357. cardfrontphotourl:
  16358. description: 证件正面图片地址
  16359. type: string
  16360. cardnum:
  16361. description: 证件号码(加密存储)
  16362. type: string
  16363. cardtypeid:
  16364. description: 证件类型ID
  16365. type: integer
  16366. cityid:
  16367. description: 市
  16368. type: integer
  16369. company:
  16370. description: 公司(个人)
  16371. type: string
  16372. contactcardbackphotourl:
  16373. description: 联系人证件背面图片地址
  16374. type: string
  16375. contactcardfrontphotourl:
  16376. description: 联系人证件正面图片地址
  16377. type: string
  16378. contactname:
  16379. description: 联系人
  16380. type: string
  16381. countryid:
  16382. description: 国家
  16383. type: integer
  16384. createtime:
  16385. description: 创建时间
  16386. type: string
  16387. creatorid:
  16388. description: 创建人
  16389. type: integer
  16390. creditquota:
  16391. description: 授信额度(金瑞)
  16392. type: number
  16393. customername:
  16394. description: 客户名称(企业名称)
  16395. type: string
  16396. districtid:
  16397. description: 地区
  16398. type: integer
  16399. email:
  16400. description: 邮件(加密存储)
  16401. type: string
  16402. fax:
  16403. description: 传真(加密存储)
  16404. type: string
  16405. halfbodyphotourl:
  16406. description: 半身照地址
  16407. type: string
  16408. hasencrypt:
  16409. description: 数据是否已加密 - 0:未加密 1:已加密
  16410. type: integer
  16411. headurl:
  16412. description: 头像地址
  16413. type: string
  16414. legalcardbackphotourl:
  16415. description: 法人身份证背面照地址
  16416. type: string
  16417. legalcardfrontphotourl:
  16418. description: 法人身份证正面照地址
  16419. type: string
  16420. legalpersonname:
  16421. description: 法人姓名(企业)
  16422. type: string
  16423. mobile:
  16424. description: 手机号码(加密存储)
  16425. type: string
  16426. mobile2:
  16427. description: 手机号码[明文-尚志]
  16428. type: string
  16429. modifierid:
  16430. description: 修改人
  16431. type: integer
  16432. modifiertime:
  16433. description: 修改时间
  16434. type: string
  16435. needinvoice:
  16436. description: 是否需要发票 - 0:不需要 1:需要
  16437. type: integer
  16438. nickname:
  16439. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16440. type: string
  16441. openmode:
  16442. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  16443. 6:苹果手机端注册 7:PC交易端注册"
  16444. type: integer
  16445. otherurl:
  16446. description: 其它图片地址[使用分号分隔]
  16447. type: string
  16448. postalcode:
  16449. description: 邮政编码
  16450. type: string
  16451. provinceid:
  16452. description: 省
  16453. type: integer
  16454. proxystatementurl:
  16455. description: 授权委托书
  16456. type: string
  16457. qq:
  16458. description: QQ(加密存储
  16459. type: string
  16460. remark:
  16461. description: 备注
  16462. type: string
  16463. sex:
  16464. description: '用户性别 0: 女 1: 男'
  16465. type: integer
  16466. signpdfurl:
  16467. description: 签约pdf文件
  16468. type: string
  16469. taxpayernum:
  16470. description: 纳税人识别号
  16471. type: string
  16472. telphone:
  16473. description: 联系电话(加密存储)
  16474. type: string
  16475. userid:
  16476. description: 用户ID
  16477. type: integer
  16478. userinfotype:
  16479. description: 用户信息类型 - 1:个人 2:企业
  16480. type: integer
  16481. userstatus:
  16482. description: 用户状态 - 1:正常 2:注销
  16483. type: integer
  16484. usertype:
  16485. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  16486. type: integer
  16487. wechat:
  16488. description: 微信(加密存储)
  16489. type: string
  16490. wskhinfo:
  16491. description: 开户申请信息(JSON)
  16492. type: string
  16493. type: object
  16494. models.WrFAProductDetail:
  16495. properties:
  16496. accountid:
  16497. description: 资金账号
  16498. type: integer
  16499. areauserid:
  16500. description: 金融机构ID
  16501. type: integer
  16502. financingdays:
  16503. description: 天数(天)
  16504. type: integer
  16505. interestminlen:
  16506. description: 最小起息天数
  16507. type: integer
  16508. interestrate:
  16509. description: 利率
  16510. type: number
  16511. interestratemode:
  16512. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16513. type: integer
  16514. interestsettlemode:
  16515. description: 结息方式 - 1:按日结息 3:按月结息
  16516. type: integer
  16517. interestsettlevalue:
  16518. description: 结息方式值
  16519. type: integer
  16520. isautoloan:
  16521. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  16522. type: integer
  16523. loantag:
  16524. description: '放款标识: "放款快" 或者为空'
  16525. type: string
  16526. marginratio:
  16527. description: 保证金比率质押率 - [仓单质押]
  16528. type: number
  16529. productdetailid:
  16530. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  16531. type: integer
  16532. productid:
  16533. description: 金融产品ID
  16534. type: integer
  16535. productname:
  16536. description: 产品名称
  16537. type: string
  16538. updatetime:
  16539. description: 更新时间
  16540. type: string
  16541. username:
  16542. description: 融出方
  16543. type: string
  16544. type: object
  16545. models.WrFactorTypeInfo:
  16546. properties:
  16547. deliverygoodscode:
  16548. description: 品种代码
  16549. type: string
  16550. deliverygoodsname:
  16551. description: 品种名称
  16552. type: string
  16553. dgfactoryitemid:
  16554. description: 选择项id
  16555. type: integer
  16556. dgfactoryitemtypeid:
  16557. description: 要素选择项ID (1-仓库 2-品牌)
  16558. type: integer
  16559. dgfactoryitemvalue:
  16560. description: 要素项值
  16561. type: string
  16562. itemtypename:
  16563. description: 要素项名称
  16564. type: string
  16565. optioncompare:
  16566. description: 选择比较串
  16567. type: string
  16568. warehouseid:
  16569. description: 仓库id
  16570. type: integer
  16571. wrfactortypeid:
  16572. description: 仓单要素ID
  16573. type: string
  16574. wrfactortypename:
  16575. description: 要素名称
  16576. type: string
  16577. wrfactortypename2:
  16578. description: 要素名称(不含仓库)
  16579. type: string
  16580. wrstandardcode:
  16581. description: 品类代码
  16582. type: string
  16583. wrstandardid:
  16584. description: 品类id
  16585. type: integer
  16586. wrstandardname:
  16587. description: 品类名称
  16588. type: string
  16589. type: object
  16590. models.WrFilterItem:
  16591. properties:
  16592. itemcode:
  16593. description: 代码
  16594. type: string
  16595. itemid:
  16596. description: 项id
  16597. type: integer
  16598. itemname:
  16599. description: 名称
  16600. type: string
  16601. itemtype:
  16602. description: 类型 1-品种 2-品类(商品) 3-仓库
  16603. type: integer
  16604. type: object
  16605. models.WrFinanceBuyApply:
  16606. properties:
  16607. applydate:
  16608. description: 申请时间
  16609. type: string
  16610. applystatus:
  16611. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  16612. type: integer
  16613. applyuserid:
  16614. description: 申请人
  16615. type: integer
  16616. auditdate:
  16617. description: 审核时间
  16618. type: string
  16619. auditremark:
  16620. description: 审核备注
  16621. type: string
  16622. audituserid:
  16623. description: 审核人
  16624. type: integer
  16625. buyaccountid:
  16626. description: 买方资金账号
  16627. type: integer
  16628. buyorsell:
  16629. description: 买卖 - 0:买 1:卖
  16630. type: integer
  16631. buyuserid:
  16632. description: 买方用户ID
  16633. type: integer
  16634. buyusername:
  16635. description: 买方名称
  16636. type: string
  16637. buywrtradeorderid:
  16638. description: 融资方买委托单ID
  16639. type: string
  16640. deliverygoodscode:
  16641. description: 品种代码
  16642. type: string
  16643. deliverygoodsid:
  16644. description: 品种ID
  16645. type: integer
  16646. deliverygoodsname:
  16647. description: 品种名称
  16648. type: string
  16649. deliverymonth:
  16650. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  16651. type: string
  16652. enumdicname:
  16653. description: 单位名称
  16654. type: string
  16655. financeaccountid:
  16656. description: 融资方资金帐户ID
  16657. type: integer
  16658. financeapplyid:
  16659. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16660. type: string
  16661. financeareauserid:
  16662. description: 融资方用户ID
  16663. type: string
  16664. financename:
  16665. description: 融出方名称
  16666. type: string
  16667. financetype:
  16668. description: 融资类型 1-融资回购
  16669. type: integer
  16670. financingdays:
  16671. description: 天数(天)
  16672. type: integer
  16673. freezebuymargin:
  16674. description: 冻结融资保证金(买方)
  16675. type: number
  16676. handleremark:
  16677. description: 处理备注
  16678. type: string
  16679. handlestatus:
  16680. description: 处理状态
  16681. type: integer
  16682. interestminlen:
  16683. description: 最小起息天数
  16684. type: integer
  16685. interestrate:
  16686. description: 利率
  16687. type: number
  16688. interestratemode:
  16689. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16690. type: integer
  16691. interestsettlemode:
  16692. description: 结息方式 - 1:按日结息 3:按月结息
  16693. type: integer
  16694. interestsettlevalue:
  16695. description: 结息方式值
  16696. type: integer
  16697. isautoloan:
  16698. description: 是否自动放款 - 0:手动 1:自动
  16699. type: integer
  16700. marginratio:
  16701. description: 保证金比率质押率 - [仓单质押]
  16702. type: number
  16703. marketid:
  16704. description: 市场ID
  16705. type: integer
  16706. minivalue:
  16707. description: 现货商品最小变动值
  16708. type: integer
  16709. optioncompare:
  16710. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16711. type: string
  16712. orderqty:
  16713. description: 委托数量(商品数量)
  16714. type: number
  16715. productdetailid:
  16716. description: 产品组合ID
  16717. type: integer
  16718. productid:
  16719. description: 金融产品ID
  16720. type: integer
  16721. productname:
  16722. description: 产品名称
  16723. type: string
  16724. remark:
  16725. description: 备注
  16726. type: string
  16727. scfcontractid:
  16728. description: 仓单回购合同ID
  16729. type: string
  16730. sellaccountid:
  16731. description: 卖方资金账号
  16732. type: integer
  16733. selluserid:
  16734. description: 卖方用户ID
  16735. type: integer
  16736. sellwrtradeorderid:
  16737. description: 卖方委托单ID
  16738. type: string
  16739. tradeamount:
  16740. description: 成交金额(借款金额)
  16741. type: number
  16742. tradedate:
  16743. description: 交易日(yyyyMMdd)
  16744. type: string
  16745. tradeprice:
  16746. description: 成交价格
  16747. type: number
  16748. warehouseid:
  16749. description: 仓库ID
  16750. type: integer
  16751. warehousename:
  16752. description: 仓库名称
  16753. type: string
  16754. wrfactortypeid:
  16755. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16756. type: string
  16757. wrfactortypename:
  16758. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16759. type: string
  16760. wrpricetype:
  16761. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  16762. type: integer
  16763. wrstandardcode:
  16764. description: 现货商品代码
  16765. type: string
  16766. wrstandardid:
  16767. description: 现货商品ID
  16768. type: integer
  16769. wrstandardname:
  16770. description: 商品名称
  16771. type: string
  16772. wrtypename:
  16773. description: 商品
  16774. type: string
  16775. type: object
  16776. models.WrFriendApply:
  16777. properties:
  16778. applicantid:
  16779. description: 申请人
  16780. type: integer
  16781. applyname:
  16782. description: 申请人名称
  16783. type: string
  16784. applysrc:
  16785. description: 申请来源 - 1:管理端 2:终端
  16786. type: integer
  16787. applystatus:
  16788. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16789. type: integer
  16790. applytime:
  16791. description: 申请时间
  16792. type: string
  16793. auditname:
  16794. description: 审核人名称
  16795. type: string
  16796. auditorid:
  16797. description: 审核人
  16798. type: integer
  16799. auditremark:
  16800. description: 审核备注
  16801. type: string
  16802. auditsrc:
  16803. description: 审核来源 - 1:管理端 2:终端
  16804. type: integer
  16805. audittime:
  16806. description: 审核时间
  16807. type: string
  16808. friendapplyid:
  16809. description: 申请ID(SEQ_FRIENDAPPLY)
  16810. type: string
  16811. friendname:
  16812. description: 好友名字(已脱敏)
  16813. type: string
  16814. frienduserid:
  16815. description: 好友用户ID
  16816. type: string
  16817. remark:
  16818. description: 备注
  16819. type: string
  16820. userid:
  16821. description: 申请人用户ID
  16822. type: integer
  16823. type: object
  16824. models.WrFtDeliveryGoods:
  16825. properties:
  16826. deliverygoodscode:
  16827. description: 品种代码
  16828. type: string
  16829. deliverygoodsid:
  16830. description: 品种ID
  16831. type: integer
  16832. deliverygoodsname:
  16833. description: 品种名称
  16834. type: string
  16835. wdlst:
  16836. description: 商品列表
  16837. items:
  16838. $ref: '#/definitions/models.WrFtWrstandard'
  16839. type: array
  16840. type: object
  16841. models.WrFtWrstandard:
  16842. properties:
  16843. enumdicname:
  16844. description: 单位名称
  16845. type: string
  16846. minivalue:
  16847. description: 最小变动值
  16848. type: integer
  16849. wrstandardcode:
  16850. description: 现货商品代码
  16851. type: string
  16852. wrstandardid:
  16853. description: 现货商品ID
  16854. type: integer
  16855. wrstandardname:
  16856. description: 商品名称
  16857. type: string
  16858. type: object
  16859. models.WrGoodsInfo:
  16860. properties:
  16861. haswr:
  16862. description: 0:仓单预售 1:仓单贸易
  16863. type: integer
  16864. lstitem:
  16865. description: 商品信息项
  16866. items:
  16867. $ref: '#/definitions/models.WrTypeItem'
  16868. type: array
  16869. lststep:
  16870. description: 履约规则
  16871. items:
  16872. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16873. type: array
  16874. marketid:
  16875. description: 市场id
  16876. type: integer
  16877. type: object
  16878. models.WrGoodsPerformanceStep:
  16879. properties:
  16880. autoid:
  16881. description: AutoID
  16882. type: integer
  16883. isauto:
  16884. description: 是否自动 - 0:不自动 1:自动
  16885. type: integer
  16886. remark:
  16887. description: 备注
  16888. type: string
  16889. stepdate:
  16890. description: 天数信息(T+N)
  16891. type: string
  16892. stepdays:
  16893. description: 距离上一步天数
  16894. type: integer
  16895. stepindex:
  16896. description: 步骤序号
  16897. type: integer
  16898. stepinfo:
  16899. description: 步骤信息(步骤名称+步骤值)
  16900. type: string
  16901. steptypeid:
  16902. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16903. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16904. type: integer
  16905. steptypename:
  16906. description: 步骤名称
  16907. type: string
  16908. stepvalue:
  16909. description: 步骤值
  16910. type: number
  16911. templateid:
  16912. description: 履约计划模板ID
  16913. type: integer
  16914. type: object
  16915. models.WrHoldLB:
  16916. properties:
  16917. accountid:
  16918. description: 持有人帐户ID
  16919. type: integer
  16920. bannerpicurl:
  16921. description: Banner图
  16922. type: string
  16923. createtime:
  16924. description: 创建时间(过户时间)
  16925. type: string
  16926. deliverygoodscode:
  16927. description: 品种代码
  16928. type: string
  16929. deliverygoodsid:
  16930. description: 品种ID
  16931. type: integer
  16932. deliverygoodsname:
  16933. description: 品种名称
  16934. type: string
  16935. enableqty:
  16936. description: 可用数量
  16937. type: number
  16938. enumdicname:
  16939. description: 单位名称
  16940. type: string
  16941. freezerqty:
  16942. description: 冻结数量
  16943. type: number
  16944. ladingbillid:
  16945. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16946. type: string
  16947. minivalue:
  16948. description: 现货商品最小变动值
  16949. type: integer
  16950. optioncompare:
  16951. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16952. type: string
  16953. parentsubnum:
  16954. description: 拆分父子单号
  16955. type: integer
  16956. pledgeqty:
  16957. description: 质押数量
  16958. type: number
  16959. qty:
  16960. description: 数量
  16961. type: number
  16962. subnum:
  16963. description: 提单子单号
  16964. type: integer
  16965. thumurls:
  16966. description: 缩略图
  16967. type: string
  16968. tradedate:
  16969. description: 交易日(yyyyMMdd)
  16970. type: string
  16971. userid:
  16972. description: 持有人ID
  16973. type: integer
  16974. warehouseid:
  16975. description: 仓库ID
  16976. type: integer
  16977. warehousename:
  16978. description: 仓库名称
  16979. type: string
  16980. wrfactortypeid:
  16981. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16982. type: string
  16983. wrfactortypename:
  16984. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16985. type: string
  16986. wrholdeno:
  16987. description: 仓单编号
  16988. type: string
  16989. wrid:
  16990. description: 仓单变更ID
  16991. type: string
  16992. wrstandardcode:
  16993. description: 现货商品代码
  16994. type: string
  16995. wrstandardid:
  16996. description: 现货商品ID
  16997. type: integer
  16998. wrstandardname:
  16999. description: 商品名称
  17000. type: string
  17001. wrtypename:
  17002. description: 商品
  17003. type: string
  17004. type: object
  17005. models.WrMarketTradeConfig:
  17006. properties:
  17007. basisdownratio:
  17008. description: 浮动价基差下限比例(仓单贸易)
  17009. type: number
  17010. basisupratio:
  17011. description: 浮动价基差上限比例(仓单贸易)
  17012. type: number
  17013. buychargealgorithm:
  17014. description: 买方手续费收取方式 1:比率 2:固定
  17015. type: integer
  17016. buychargealgorithm2:
  17017. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  17018. type: integer
  17019. buychargealgorithmvalue:
  17020. description: 买方手续费设置值(交易所部分)
  17021. type: number
  17022. buychargealgorithmvalue2:
  17023. description: 买方手续费设置值(会员部分)
  17024. type: number
  17025. buychargealgorithmvalue3:
  17026. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  17027. type: number
  17028. buychargealgorithmvalue4:
  17029. description: 回购买方手续费设置值(会员部分) --77:现货商城
  17030. type: number
  17031. buyfirstmarginalgorithm:
  17032. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  17033. type: integer
  17034. buyfirstmarginvalue:
  17035. description: 买方出价保证金设置值 - [竞拍]
  17036. type: number
  17037. buymarginalgorithm:
  17038. description: 买方保证金方式 - 1:比率 2:固定
  17039. type: integer
  17040. buymarginvalue:
  17041. description: 买方保证金设置值
  17042. type: number
  17043. buyreleaseratio:
  17044. description: 买方释放比率[2:分步履约]
  17045. type: number
  17046. executemode:
  17047. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  17048. type: integer
  17049. executeside:
  17050. description: 执行方[2:分步履约] - 1:买方 2:卖方
  17051. type: integer
  17052. failedchargealgorithm:
  17053. description: 流拍手续费收取方式 1:比率 2:固定
  17054. type: integer
  17055. failedchargevalue:
  17056. description: 流拍手续费设置值
  17057. type: number
  17058. failedchargevalue2:
  17059. description: 流拍卖方手续费设置值
  17060. type: number
  17061. holddays:
  17062. description: 合同期限[2:分步履约]
  17063. type: integer
  17064. listingmode:
  17065. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17066. type: integer
  17067. marketid:
  17068. description: 市场ID-仓单贸易、竞拍、预售
  17069. type: integer
  17070. minqty:
  17071. description: 最小执行量[2:分步履约]
  17072. type: number
  17073. modifierid:
  17074. description: 修改人
  17075. type: integer
  17076. nowrquotaflag:
  17077. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  17078. type: integer
  17079. performancetempid:
  17080. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17081. 立即执行(-1)
  17082. type: integer
  17083. performancetempid2:
  17084. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17085. 立即执行
  17086. type: integer
  17087. performancetempid2s:
  17088. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17089. - 履约方式: 立即执行
  17090. type: string
  17091. performancetempids:
  17092. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17093. - 履约方式: 立即执行(-1)
  17094. type: string
  17095. performanceway:
  17096. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  17097. type: integer
  17098. sellchargealgorithm:
  17099. description: 卖方手续费收取方式 1:比率 2:固定
  17100. type: integer
  17101. sellchargealgorithm2:
  17102. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  17103. type: integer
  17104. sellchargealgorithmvalue:
  17105. description: 卖方手续费设置值(交易所部分)
  17106. type: number
  17107. sellchargealgorithmvalue2:
  17108. description: 卖方手续费设置值(会员部分)
  17109. type: number
  17110. sellchargealgorithmvalue3:
  17111. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  17112. type: number
  17113. sellchargealgorithmvalue4:
  17114. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  17115. type: number
  17116. sellmarginalgorithm:
  17117. description: 卖方保证金方式 - 1:比率 2:固定
  17118. type: integer
  17119. sellmarginvalue:
  17120. description: 卖方保证金设置值
  17121. type: number
  17122. sellmarginvalue2:
  17123. description: 卖方保证金设置值(无仓单)
  17124. type: number
  17125. sellreleaseratio:
  17126. description: 卖方释放比率[2:分步履约]
  17127. type: number
  17128. updatetime:
  17129. description: 更新时间
  17130. type: string
  17131. type: object
  17132. models.WrOrderDetail:
  17133. properties:
  17134. accountid:
  17135. description: 交易账号(资金账号)
  17136. type: integer
  17137. allfriendsflag:
  17138. description: 是否全好友可见 - 0:否 1:是
  17139. type: integer
  17140. amount:
  17141. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  17142. type: number
  17143. bannerpicurl:
  17144. description: Banner图
  17145. type: string
  17146. begindate:
  17147. description: 开始交易日(yyyymmdd)
  17148. type: string
  17149. buyorsell:
  17150. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17151. type: integer
  17152. canbargain:
  17153. description: 是否可议价 - 0:不可 1:可
  17154. type: integer
  17155. cancelqty:
  17156. description: 撤销数量
  17157. type: number
  17158. canpart:
  17159. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  17160. type: integer
  17161. delistminqty:
  17162. description: 起摘数量
  17163. type: integer
  17164. deliverygoodscode:
  17165. description: 品种代码
  17166. type: string
  17167. deliverygoodsid:
  17168. description: 品种ID
  17169. type: integer
  17170. deliverygoodsname:
  17171. description: 品种名称
  17172. type: string
  17173. deliverymonth:
  17174. description: 交收月
  17175. type: string
  17176. enddate:
  17177. description: 结束交易日(yyyymmdd)
  17178. type: string
  17179. enumdicname:
  17180. description: 单位名称
  17181. type: string
  17182. fixedprice:
  17183. description: 固定价格 - [挂牌]
  17184. type: number
  17185. freezecharge:
  17186. description: 冻结手续费
  17187. type: number
  17188. freezemargin:
  17189. description: 冻结保证金(保证金)
  17190. type: number
  17191. futupricemove:
  17192. description: 期货升贴水
  17193. type: number
  17194. futushow:
  17195. description: 期货合约/升贴水
  17196. type: string
  17197. goodscode:
  17198. description: 期货合约
  17199. type: string
  17200. goodsid:
  17201. description: 期货商品id
  17202. type: integer
  17203. goodsname:
  17204. description: 商品名称
  17205. type: string
  17206. haswr:
  17207. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17208. type: integer
  17209. isspecified:
  17210. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  17211. type: integer
  17212. ladingbillid:
  17213. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17214. type: string
  17215. marginvalue:
  17216. description: 保证金设置值(履约保证金)
  17217. type: number
  17218. marketid:
  17219. description: 市场ID
  17220. type: integer
  17221. matchusername:
  17222. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  17223. type: string
  17224. minivalue:
  17225. description: 现货商品最小变动值
  17226. type: integer
  17227. optioncompare:
  17228. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17229. type: string
  17230. orderqty:
  17231. description: 委托数量
  17232. type: number
  17233. ordertime:
  17234. description: 委托时间(挂牌时间)
  17235. type: string
  17236. performancetemplateid:
  17237. description: 履约模板id
  17238. type: integer
  17239. pricemove:
  17240. description: 升贴水(浮动价时填写) - [挂牌]
  17241. type: number
  17242. taname:
  17243. description: 交易用户名称(资金账号名称)
  17244. type: string
  17245. thumurls:
  17246. description: 缩略图
  17247. type: string
  17248. tradedate:
  17249. description: 交易日(yyyyMMdd)
  17250. type: string
  17251. tradeprice:
  17252. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17253. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17254. type: number
  17255. tradeqty:
  17256. description: 成交数量
  17257. type: number
  17258. userid:
  17259. description: 用户ID
  17260. type: integer
  17261. validtime:
  17262. description: 挂牌有效期
  17263. type: string
  17264. validtype:
  17265. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17266. type: integer
  17267. warehouseid:
  17268. description: 仓库ID
  17269. type: integer
  17270. warehousename:
  17271. description: 仓库名称
  17272. type: string
  17273. wrfactortypeid:
  17274. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17275. type: string
  17276. wrfactortypename:
  17277. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17278. type: string
  17279. wrpricetype:
  17280. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17281. type: integer
  17282. wrstandardcode:
  17283. description: 现货商品代码
  17284. type: string
  17285. wrstandardid:
  17286. description: 现货商品ID
  17287. type: integer
  17288. wrstandardname:
  17289. description: 商品名称
  17290. type: string
  17291. wrtradeorderid:
  17292. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17293. type: string
  17294. wrtradeorderstatus:
  17295. 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:撤单解冻贷款失败
  17296. type: integer
  17297. wrtradetype:
  17298. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17299. type: integer
  17300. wrtypename:
  17301. description: 商品
  17302. type: string
  17303. type: object
  17304. models.WrOrderQuote:
  17305. properties:
  17306. bannerpicurl:
  17307. description: Banner图
  17308. type: string
  17309. buyprice:
  17310. description: 买价
  17311. type: number
  17312. buypricemove:
  17313. description: 买升贴水(基差)
  17314. type: number
  17315. buyqty:
  17316. description: 买量
  17317. type: number
  17318. deliverygoodscode:
  17319. description: 品种代码
  17320. type: string
  17321. deliverygoodsid:
  17322. description: 品种id
  17323. type: integer
  17324. deliverygoodsname:
  17325. description: 品种名称
  17326. type: string
  17327. deliverymonth:
  17328. description: 交收月
  17329. type: string
  17330. enumdicname:
  17331. description: 单位名称
  17332. type: string
  17333. goodscode:
  17334. description: 商品合约(浮动价列表才有)
  17335. type: string
  17336. goodsid:
  17337. description: 商品id(浮动价列表才有)
  17338. type: integer
  17339. minivalue:
  17340. description: 现货商品最小变动值
  17341. type: integer
  17342. pictureurls:
  17343. description: 详情图片(逗号分隔)
  17344. type: string
  17345. sellprice:
  17346. description: 卖价
  17347. type: number
  17348. sellpricemove:
  17349. description: 卖升贴水(基差)
  17350. type: number
  17351. sellqty:
  17352. description: 卖量
  17353. type: number
  17354. thumurls:
  17355. description: 缩略图片(1:1)(逗号分隔)
  17356. type: string
  17357. warehousecode:
  17358. description: 仓库代码
  17359. type: string
  17360. warehouseid:
  17361. description: 仓库id
  17362. type: integer
  17363. warehousename:
  17364. description: 仓库名称
  17365. type: string
  17366. wrfactortypeid:
  17367. description: 仓单要素id
  17368. type: string
  17369. wrfactortypename:
  17370. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17371. type: string
  17372. wrgoodsname:
  17373. description: 商品(商品名称+仓库要素名称 拼接)
  17374. type: string
  17375. wrstandardcode:
  17376. description: 商品代码
  17377. type: string
  17378. wrstandardid:
  17379. description: 商品id
  17380. type: integer
  17381. wrstandardname:
  17382. description: 商品名称
  17383. type: string
  17384. type: object
  17385. models.WrOrderQuoteDetail:
  17386. properties:
  17387. buyorsell:
  17388. description: 买卖 - 0:买 1:卖
  17389. type: integer
  17390. delistminqty:
  17391. description: 起摘数量
  17392. type: number
  17393. deliverymonth:
  17394. description: 交收月
  17395. type: string
  17396. enumdicname:
  17397. description: 单位名称
  17398. type: string
  17399. fixedprice:
  17400. description: 买(卖)价
  17401. type: number
  17402. marketid:
  17403. description: 市场id
  17404. type: integer
  17405. minivalue:
  17406. description: 现货商品最小变动值
  17407. type: integer
  17408. orderqty:
  17409. description: 买(卖)量(=委托量-成交量)
  17410. type: number
  17411. ordertime:
  17412. description: 委托时间
  17413. type: string
  17414. pricemove:
  17415. description: 买(卖)升贴水- 基差
  17416. type: number
  17417. userid:
  17418. description: 购买方(销售方)用户ID
  17419. type: integer
  17420. username:
  17421. description: 购买方(销售方)
  17422. type: string
  17423. wrtradeorderid:
  17424. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17425. type: string
  17426. type: object
  17427. models.WrOutInApply:
  17428. properties:
  17429. applyid:
  17430. description: 申请单id
  17431. type: string
  17432. applystatus:
  17433. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  17434. 8:已撤销
  17435. type: integer
  17436. applytime:
  17437. description: 申请时间
  17438. type: string
  17439. applytype:
  17440. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  17441. type: integer
  17442. bannerpicurl:
  17443. description: Banner图
  17444. type: string
  17445. begindate:
  17446. description: 开始交易日(yyyymmdd)
  17447. type: string
  17448. deliverygoodscode:
  17449. description: 品种代码
  17450. type: string
  17451. deliverygoodsid:
  17452. description: 品种ID
  17453. type: integer
  17454. deliverygoodsname:
  17455. description: 品种名称
  17456. type: string
  17457. enddate:
  17458. description: 结束交易日(yyyymmdd)
  17459. type: string
  17460. enumdicname:
  17461. description: 单位名称
  17462. type: string
  17463. expresscompany:
  17464. description: 物流公司
  17465. type: string
  17466. expressnum:
  17467. description: 物流单号
  17468. type: string
  17469. minivalue:
  17470. description: 现货商品最小变动值
  17471. type: integer
  17472. optioncompare:
  17473. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17474. type: string
  17475. qty:
  17476. description: 数量
  17477. type: integer
  17478. userid:
  17479. description: 用户id
  17480. type: integer
  17481. warehouseid:
  17482. description: 仓库ID
  17483. type: integer
  17484. warehousename:
  17485. description: 仓库名称
  17486. type: string
  17487. wrfactortypeid:
  17488. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17489. type: string
  17490. wrfactortypename:
  17491. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17492. type: string
  17493. wrstandardcode:
  17494. description: 现货商品代码
  17495. type: string
  17496. wrstandardid:
  17497. description: 现货商品ID
  17498. type: integer
  17499. wrstandardname:
  17500. description: 商品名称
  17501. type: string
  17502. wrtypename:
  17503. description: 商品
  17504. type: string
  17505. type: object
  17506. models.WrPerformancePlan:
  17507. properties:
  17508. activatemonth:
  17509. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  17510. type: string
  17511. amount:
  17512. description: 履约金额(总金额)
  17513. type: number
  17514. begindate:
  17515. description: 开始交易日(yyyymmdd)
  17516. type: string
  17517. buyaccountid:
  17518. description: 买方账号
  17519. type: integer
  17520. buyerfreezeamount:
  17521. description: 履约冻结(买履约)
  17522. type: number
  17523. buyerfreezeamountremain:
  17524. description: 履约冻结剩余(买履约)
  17525. type: number
  17526. buyorsell:
  17527. description: 买卖方向 0-买 1-卖
  17528. type: integer
  17529. buypaidamount:
  17530. description: 买方已冻/已扣金额 (已付金额)
  17531. type: number
  17532. buyusername:
  17533. description: 买方名字
  17534. type: string
  17535. contractid:
  17536. description: 合同ID
  17537. type: integer
  17538. createtime:
  17539. description: 创建时间
  17540. type: string
  17541. creatorid:
  17542. description: 创建人
  17543. type: integer
  17544. curstepdeadline:
  17545. description: 当前步骤到期时间
  17546. type: string
  17547. curstepid:
  17548. description: 当前步骤ID
  17549. type: string
  17550. curstepname:
  17551. description: 当前步骤名称
  17552. type: string
  17553. deliverygoodscode:
  17554. description: 品种代码
  17555. type: string
  17556. deliverygoodsid:
  17557. description: 品种ID
  17558. type: integer
  17559. deliverygoodsname:
  17560. description: 品种名称
  17561. type: string
  17562. enddate:
  17563. description: 结束交易日(yyyymmdd)
  17564. type: string
  17565. enumdicname:
  17566. description: 单位名称
  17567. type: string
  17568. expressfee:
  17569. description: 运费
  17570. type: number
  17571. expressfeeconfirmed:
  17572. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  17573. type: integer
  17574. hasovershort:
  17575. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  17576. type: integer
  17577. haswr:
  17578. description: 类型 0-仓单预售 1-仓单贸易
  17579. type: integer
  17580. marketid:
  17581. description: 市场ID
  17582. type: integer
  17583. middleaccountid:
  17584. description: 中间商资金账号ID
  17585. type: integer
  17586. middleuserid:
  17587. description: 中间商用户ID
  17588. type: integer
  17589. minivalue:
  17590. description: 现货商品最小变动值
  17591. type: integer
  17592. optioncompare:
  17593. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17594. type: string
  17595. overshortamount:
  17596. description: 溢短金额
  17597. type: number
  17598. overshortqty:
  17599. description: 溢短数量
  17600. type: number
  17601. paymenttype:
  17602. description: 付款方式 - 1:冻结 2:扣款
  17603. type: integer
  17604. performanceplanid:
  17605. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  17606. type: string
  17607. performancestatus:
  17608. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  17609. 9:超时待处理 10:超时关闭
  17610. type: integer
  17611. performancetype:
  17612. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  17613. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  17614. type: integer
  17615. qty:
  17616. description: 履约数量
  17617. type: number
  17618. relatedorderid:
  17619. description: 关联单号(履约类型的关联单号)
  17620. type: string
  17621. remark:
  17622. description: 备注
  17623. type: string
  17624. sellaccountid:
  17625. description: 卖方账号
  17626. type: integer
  17627. sellerfreezeamount:
  17628. description: 履约冻结(卖履约)
  17629. type: number
  17630. sellerfreezeamountremain:
  17631. description: 履约冻结剩余(卖履约)
  17632. type: number
  17633. sellreceivedamount:
  17634. description: 卖方已收金额
  17635. type: number
  17636. sellusername:
  17637. description: 卖方名字
  17638. type: string
  17639. shipremark:
  17640. description: 发货备注[物流单号]
  17641. type: string
  17642. starttime:
  17643. description: 开始时间
  17644. type: string
  17645. steptypeid:
  17646. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17647. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17648. type: integer
  17649. typename:
  17650. description: 履约类型 名称
  17651. type: string
  17652. unpaidamount:
  17653. description: 剩余款(待支付金额)
  17654. type: number
  17655. userid:
  17656. description: 用户id
  17657. type: integer
  17658. warehouseid:
  17659. description: 仓库ID
  17660. type: integer
  17661. warehousename:
  17662. description: 仓库名称
  17663. type: string
  17664. wrfactortypeid:
  17665. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17666. type: string
  17667. wrfactortypename:
  17668. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17669. type: string
  17670. wrstandardcode:
  17671. description: 现货商品代码
  17672. type: string
  17673. wrstandardid:
  17674. description: 现货商品ID
  17675. type: integer
  17676. wrstandardname:
  17677. description: 商品名称
  17678. type: string
  17679. wrtransferuserid:
  17680. description: 仓单受让用户
  17681. type: integer
  17682. wrtypename:
  17683. description: 商品
  17684. type: string
  17685. required:
  17686. - userid
  17687. type: object
  17688. models.WrPerformancePlanStep:
  17689. properties:
  17690. delaydays:
  17691. description: 延期申请天数
  17692. type: integer
  17693. deliverygoodscode:
  17694. description: 品种代码
  17695. type: string
  17696. deliverygoodsid:
  17697. description: 品种ID
  17698. type: integer
  17699. deliverygoodsname:
  17700. description: 品种名称
  17701. type: string
  17702. endtime:
  17703. description: 结束日期
  17704. type: string
  17705. enumdicname:
  17706. description: 单位名称
  17707. type: string
  17708. executeside:
  17709. description: 步骤执行方 - 1:买方 2:卖方
  17710. type: integer
  17711. handlestatus:
  17712. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  17713. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  17714. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  17715. type: integer
  17716. isauto:
  17717. description: 是否自动 - 0:不自动 1:自动
  17718. type: integer
  17719. islastreceivestep:
  17720. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  17721. type: integer
  17722. minivalue:
  17723. description: 现货商品最小变动值
  17724. type: integer
  17725. optioncompare:
  17726. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17727. type: string
  17728. overdays:
  17729. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  17730. type: integer
  17731. performancestepid:
  17732. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  17733. type: string
  17734. planid:
  17735. description: 所属履约计划ID
  17736. type: string
  17737. realamount:
  17738. description: 实际完成金额
  17739. type: number
  17740. relatedorderid:
  17741. description: 关联单号
  17742. type: string
  17743. remaindays:
  17744. description: 剩余天数
  17745. type: integer
  17746. remark:
  17747. description: 错误备注
  17748. type: string
  17749. starttime:
  17750. description: 开始日期
  17751. type: string
  17752. stepamount:
  17753. description: 步骤金额
  17754. type: number
  17755. stepdays:
  17756. description: 距离上一步天数(分钟)
  17757. type: integer
  17758. stepindex:
  17759. description: 步骤序号
  17760. type: integer
  17761. steplanchtype:
  17762. description: 步骤启动类型 - 1:系统自动 2:手动
  17763. type: integer
  17764. stepremark:
  17765. description: 步骤备注
  17766. type: string
  17767. stepstatus:
  17768. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  17769. type: integer
  17770. steptypeid:
  17771. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17772. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17773. type: integer
  17774. steptypename:
  17775. description: 步骤名称
  17776. type: string
  17777. stepvalue:
  17778. description: 步骤值
  17779. type: number
  17780. warehouseid:
  17781. description: 仓库ID
  17782. type: integer
  17783. warehousename:
  17784. description: 仓库名称
  17785. type: string
  17786. wrfactortypeid:
  17787. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17788. type: string
  17789. wrfactortypename:
  17790. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17791. type: string
  17792. wrstandardcode:
  17793. description: 现货商品代码
  17794. type: string
  17795. wrstandardid:
  17796. description: 现货商品ID
  17797. type: integer
  17798. wrstandardname:
  17799. description: 商品名称
  17800. type: string
  17801. wrtypename:
  17802. description: 商品
  17803. type: string
  17804. type: object
  17805. models.WrPerformanceStepType:
  17806. properties:
  17807. canauto:
  17808. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  17809. type: integer
  17810. steptypeid:
  17811. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  17812. type: integer
  17813. steptypename:
  17814. description: 步骤类型名称
  17815. type: string
  17816. type: object
  17817. models.WrPerformanceTemplateEx:
  17818. properties:
  17819. autoid:
  17820. description: AutoID 模板id
  17821. type: integer
  17822. createtime:
  17823. description: 创建时间
  17824. type: string
  17825. creatorid:
  17826. description: 创建人
  17827. type: integer
  17828. lstStep:
  17829. description: 步骤信息列表
  17830. items:
  17831. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17832. type: array
  17833. paymenttype:
  17834. description: 支付方式 - 1:冻结 2:扣款
  17835. type: integer
  17836. takemode:
  17837. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  17838. type: integer
  17839. templatename:
  17840. description: 模板名称
  17841. type: string
  17842. templatetype:
  17843. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  17844. (无仓单) 5:挂牌期权 6:竞拍-降价式
  17845. type: integer
  17846. userid:
  17847. description: 所属用户
  17848. type: integer
  17849. type: object
  17850. models.WrPosition:
  17851. properties:
  17852. accountid:
  17853. description: 帐户ID
  17854. type: integer
  17855. buyexcuteqty:
  17856. description: 采购履约中数量
  17857. type: number
  17858. creditcurqty:
  17859. description: 授信当前数量(预售仓单:预售当前量)
  17860. type: number
  17861. creditenableqty:
  17862. description: '授信可用数量(预售仓单: 可用数量)'
  17863. type: number
  17864. creditfreezeqty:
  17865. description: '授信冻结数量(预售仓单: 当前数量)'
  17866. type: number
  17867. credittotalqty:
  17868. description: 授信总数量(预售仓单:预售总量)
  17869. type: number
  17870. credittradeqty:
  17871. description: 授信成交数量(预售仓单:成交总量)
  17872. type: number
  17873. deliverygoodscode:
  17874. description: 品种代码
  17875. type: string
  17876. deliverygoodsid:
  17877. description: 品种ID
  17878. type: integer
  17879. deliverygoodsname:
  17880. description: 品种名称
  17881. type: string
  17882. enalbeqty:
  17883. description: 可用数量
  17884. type: number
  17885. enumdicname:
  17886. description: 单位名称
  17887. type: string
  17888. freezeqty:
  17889. description: 总冻结数量
  17890. type: number
  17891. haswr:
  17892. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17893. type: integer
  17894. minivalue:
  17895. description: 现货商品最小变动值
  17896. type: integer
  17897. modifytime:
  17898. description: 修改时间(过户时间)
  17899. type: string
  17900. optioncompare:
  17901. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17902. type: string
  17903. pledgeqty:
  17904. description: 质押数量
  17905. type: number
  17906. querytype:
  17907. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  17908. type: integer
  17909. sellexcuteqty:
  17910. description: 销售履约中数量
  17911. type: number
  17912. totalqty:
  17913. description: 总数量(库存数量)
  17914. type: number
  17915. warehouseid:
  17916. description: 仓库ID
  17917. type: integer
  17918. warehousename:
  17919. description: 仓库名称
  17920. type: string
  17921. wrfactortypeid:
  17922. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17923. type: string
  17924. wrfactortypename:
  17925. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17926. type: string
  17927. wrpositionid:
  17928. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  17929. type: string
  17930. wrpositionno:
  17931. description: 仓单编号
  17932. type: string
  17933. wrstandardcode:
  17934. description: 现货商品代码
  17935. type: string
  17936. wrstandardid:
  17937. description: 现货商品ID
  17938. type: integer
  17939. wrstandardname:
  17940. description: 商品名称
  17941. type: string
  17942. wrtypename:
  17943. description: 商品
  17944. type: string
  17945. wruserid:
  17946. description: 持有人ID
  17947. type: integer
  17948. type: object
  17949. models.WrPreSaleInfo:
  17950. properties:
  17951. bannerpicurl:
  17952. description: Banner图
  17953. type: string
  17954. baseqty:
  17955. description: 中签基数
  17956. type: number
  17957. createtime:
  17958. description: 创建时间
  17959. type: string
  17960. deliverygoodsid:
  17961. description: 现货品种ID
  17962. type: integer
  17963. enddate:
  17964. description: 预售结束日期
  17965. type: string
  17966. enumdicname:
  17967. description: 单位名称
  17968. type: string
  17969. lotteryflag:
  17970. description: 摇号标识 - 0:未摇号 1:已摇号
  17971. type: integer
  17972. lotteryqty:
  17973. description: 摇号总量
  17974. type: number
  17975. luckyqty:
  17976. description: 已中签量
  17977. type: number
  17978. marketid:
  17979. description: 市场ID
  17980. type: integer
  17981. maxbuyqty:
  17982. description: 单人最大申购量
  17983. type: number
  17984. maxluckyqty:
  17985. description: 单人最大中签量
  17986. type: number
  17987. pictureurls:
  17988. description: 详情图片(逗号分隔)
  17989. type: string
  17990. placeqty:
  17991. description: 已配售量
  17992. type: number
  17993. presaleapplyid:
  17994. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17995. example: "0"
  17996. type: string
  17997. presaleqty:
  17998. description: 预售总量
  17999. type: number
  18000. presalestatus:
  18001. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  18002. type: integer
  18003. sellaccountid:
  18004. description: 发行方资金账户ID
  18005. type: integer
  18006. selluserid:
  18007. description: 发行方用户ID
  18008. type: integer
  18009. sellwrtradeorderid:
  18010. description: 发行方卖委托单ID
  18011. type: string
  18012. startdate:
  18013. description: 预售开始日期
  18014. type: string
  18015. takestartdate:
  18016. description: 提货开始日期
  18017. type: string
  18018. thumurls:
  18019. description: 缩略图片(1:1)(逗号分隔)
  18020. type: string
  18021. tradedate:
  18022. description: 交易日
  18023. type: string
  18024. unitid:
  18025. description: 单位ID
  18026. type: integer
  18027. unitprice:
  18028. description: 商品单价
  18029. type: number
  18030. username:
  18031. description: 发行方用户名称
  18032. type: string
  18033. warehousecode:
  18034. description: 仓库代码(仓库简称)
  18035. type: string
  18036. warehouseid:
  18037. description: 仓库ID
  18038. type: integer
  18039. warehousename:
  18040. description: 仓库名称
  18041. type: string
  18042. wrfactortypeid:
  18043. description: 仓单要素类型ID - 根据现货商品\仓库生成
  18044. example: "0"
  18045. type: string
  18046. wrstandardid:
  18047. description: 现货商品ID
  18048. type: integer
  18049. wrstandardname:
  18050. description: 现货商品名称
  18051. type: string
  18052. type: object
  18053. models.WrQuoteOrderMyq:
  18054. properties:
  18055. buyorsell:
  18056. description: 买卖 - 0:买 1:卖
  18057. type: integer
  18058. canbargain:
  18059. description: 是否可议价 - 0:不可 1:可
  18060. type: integer
  18061. canpart:
  18062. description: 是否允许部份摘牌 - 0:不允许 1:允许
  18063. type: integer
  18064. delistminqty:
  18065. description: 起摘数量
  18066. type: number
  18067. deliverygoodscode:
  18068. description: 品种代码
  18069. type: string
  18070. deliverygoodsid:
  18071. description: 品种ID
  18072. type: integer
  18073. deliverygoodsname:
  18074. description: 品种名称
  18075. type: string
  18076. deliverymonth:
  18077. description: 交收月
  18078. type: string
  18079. enumdicname:
  18080. description: 单位名称
  18081. type: string
  18082. fixedprice:
  18083. description: 买(卖)价
  18084. type: number
  18085. goodscode:
  18086. description: 商品合约代码
  18087. type: string
  18088. marginflag:
  18089. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  18090. type: integer
  18091. marginvalue:
  18092. description: 保证金设置值
  18093. type: number
  18094. minivalue:
  18095. description: 现货商品最小变动值
  18096. type: integer
  18097. orderqty:
  18098. description: 买(卖)量(=委托量-成交量)
  18099. type: number
  18100. ordertime:
  18101. description: 委托时间
  18102. type: string
  18103. performancetemplateid:
  18104. description: 履约模板id
  18105. type: integer
  18106. pricemove:
  18107. description: 买(卖)升贴水- 基差
  18108. type: number
  18109. templatename:
  18110. description: 履约模板名称
  18111. type: string
  18112. userid:
  18113. description: 购买方(销售方)用户ID
  18114. type: integer
  18115. username:
  18116. description: 购买方(销售方)
  18117. type: string
  18118. validtime:
  18119. description: 有效期限
  18120. type: string
  18121. validtype:
  18122. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18123. type: integer
  18124. warehousename:
  18125. description: 仓库名称
  18126. type: string
  18127. wrfactortypeid:
  18128. description: 仓单要素id
  18129. type: string
  18130. wrstandardcode:
  18131. description: 现货商品代码
  18132. type: string
  18133. wrstandardid:
  18134. description: 现货商品ID
  18135. type: integer
  18136. wrstandardname:
  18137. description: 商品名称
  18138. type: string
  18139. wrtradeorderid:
  18140. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18141. type: string
  18142. wrtypename:
  18143. description: 商品
  18144. type: string
  18145. type: object
  18146. models.WrReckonSpotGoodsTradeSum:
  18147. properties:
  18148. begindate:
  18149. description: 开始日期(结果含开始日期) yyyymmdd
  18150. type: string
  18151. enddate:
  18152. description: 结束日期(结果含结束日期) yyyymmdd
  18153. type: string
  18154. istoday:
  18155. description: 是否当日
  18156. type: boolean
  18157. marketid:
  18158. description: 市场ID
  18159. type: integer
  18160. price:
  18161. description: 价格 = 日成交金额 / 日成交数量
  18162. type: string
  18163. reckondate:
  18164. description: 日期 格式 yyyymmdd
  18165. type: string
  18166. tradeamount:
  18167. description: 日成交金额(当日单方向成交金额)
  18168. type: number
  18169. tradeqty:
  18170. description: 日成交数量(当日单方向成交数量)
  18171. type: number
  18172. wrstandardid:
  18173. description: 现货商品ID
  18174. type: integer
  18175. type: object
  18176. models.WrScfContract:
  18177. properties:
  18178. borroweruserid:
  18179. description: 借款用户ID
  18180. type: integer
  18181. buybackwrpositionqty:
  18182. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  18183. type: number
  18184. closeinterest:
  18185. description: 已结利息 -> 已结费用
  18186. type: number
  18187. currisklevel:
  18188. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  18189. type: integer
  18190. deadline:
  18191. description: 截止日期(yyyyMMdd) -> 借款到期时间
  18192. type: string
  18193. deliverygoodscode:
  18194. description: 品种代码
  18195. type: string
  18196. deliverygoodsid:
  18197. description: 品种ID
  18198. type: integer
  18199. deliverygoodsname:
  18200. description: 品种名称
  18201. type: string
  18202. enumdicname:
  18203. description: 单位名称
  18204. type: string
  18205. financingdays:
  18206. description: 天数(天)
  18207. type: integer
  18208. initmargin:
  18209. description: 保证金 - [仓单回购]
  18210. type: number
  18211. interestamount:
  18212. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  18213. type: number
  18214. interestdebt:
  18215. description: 利息欠款(记录负数) -> 费用欠款
  18216. type: number
  18217. interestminlen:
  18218. description: 最小起息天数
  18219. type: integer
  18220. interestrate:
  18221. description: 利率
  18222. type: number
  18223. interestratemode:
  18224. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18225. type: integer
  18226. interestsettlemode:
  18227. description: 结息方式 - 1:按日结息 3:按月结息
  18228. type: integer
  18229. interestsettlevalue:
  18230. description: 结息方式值
  18231. type: integer
  18232. isautoloan:
  18233. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  18234. type: integer
  18235. lastcloseinterestday:
  18236. description: 最近结息日(yyyyMMdd)
  18237. type: string
  18238. lenderamount:
  18239. description: 贷款金额 -> 借款金额
  18240. type: number
  18241. lenderuserid:
  18242. description: 贷款方用户ID -> 融出方用户ID
  18243. type: integer
  18244. lenderusername:
  18245. description: 融出方
  18246. type: string
  18247. marginratio:
  18248. description: 保证金比率质押率 - [仓单质押]
  18249. type: number
  18250. marketid:
  18251. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  18252. type: integer
  18253. minivalue:
  18254. description: 现货商品最小变动值
  18255. type: integer
  18256. optioncompare:
  18257. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18258. type: string
  18259. pricemove:
  18260. description: 估值升贴水值
  18261. type: number
  18262. productdetailid:
  18263. description: 产品组合ID
  18264. type: integer
  18265. productid:
  18266. description: 金融产品ID
  18267. type: integer
  18268. productname:
  18269. description: 产品名称
  18270. type: string
  18271. remainamount:
  18272. description: 合同剩余金额 -> 剩余金额
  18273. type: number
  18274. remainwrpositionqty:
  18275. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  18276. type: number
  18277. remark:
  18278. description: 备注
  18279. type: string
  18280. scfcontractid:
  18281. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  18282. type: string
  18283. scfcontractstatus:
  18284. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  18285. 9:违约结束 10:已注销 11:已关闭 99:未提交
  18286. type: integer
  18287. scfcontracttype:
  18288. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  18289. type: integer
  18290. startinterestday:
  18291. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  18292. type: string
  18293. totalinterest:
  18294. description: 已计利息 -> 已计费用
  18295. type: number
  18296. unpaidinterest:
  18297. description: 未结费用
  18298. type: number
  18299. updatetime:
  18300. description: 更新时间
  18301. type: string
  18302. warehouseid:
  18303. description: 仓库ID
  18304. type: integer
  18305. warehousename:
  18306. description: 仓库名称
  18307. type: string
  18308. wrfactortypeid:
  18309. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18310. type: string
  18311. wrfactortypename:
  18312. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18313. type: string
  18314. wrqty:
  18315. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  18316. type: number
  18317. wrstandardcode:
  18318. description: 现货商品代码
  18319. type: string
  18320. wrstandardid:
  18321. description: 现货商品ID
  18322. type: integer
  18323. wrstandardname:
  18324. description: 商品名称
  18325. type: string
  18326. wrtypename:
  18327. description: 商品
  18328. type: string
  18329. type: object
  18330. models.WrScfContractInterest:
  18331. properties:
  18332. closeinterest:
  18333. description: 已结利息
  18334. type: number
  18335. closeintereststatus:
  18336. description: 结息状态 - 1:未结 2:已结
  18337. type: integer
  18338. closetime:
  18339. description: 结息时间
  18340. type: string
  18341. closetradedate:
  18342. description: 结息交易日
  18343. type: string
  18344. creatorid:
  18345. description: 操作人ID
  18346. type: integer
  18347. dayrate:
  18348. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  18349. type: number
  18350. interest:
  18351. description: 利息
  18352. type: number
  18353. interestamount:
  18354. description: 计息金额
  18355. type: number
  18356. interestday:
  18357. description: 计息日(yyyyMMdd)
  18358. type: string
  18359. scfcontractid:
  18360. description: SCF合同ID
  18361. type: string
  18362. scfcontractinterestid:
  18363. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  18364. type: integer
  18365. updatetime:
  18366. description: 更新时间
  18367. type: string
  18368. type: object
  18369. models.WrSearchUser:
  18370. properties:
  18371. userid:
  18372. description: 用户ID
  18373. type: integer
  18374. username:
  18375. description: 用户名称(已脱敏)
  18376. type: string
  18377. username2:
  18378. description: 用户名称(未脱敏)
  18379. type: string
  18380. usertype:
  18381. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  18382. type: integer
  18383. required:
  18384. - username
  18385. type: object
  18386. models.WrSiteColumnDetail:
  18387. properties:
  18388. brief:
  18389. description: 简介
  18390. type: string
  18391. context:
  18392. description: 内容
  18393. type: string
  18394. coverimage:
  18395. description: 封面图片
  18396. type: string
  18397. creaedate:
  18398. description: 创建时间
  18399. type: string
  18400. id:
  18401. description: ID(SEQ_SITE_COLUMNDETAIL)
  18402. type: integer
  18403. istop:
  18404. description: 是否置顶 - 0:不置 1:置顶
  18405. type: integer
  18406. publishdate:
  18407. description: 发布日期
  18408. type: string
  18409. title:
  18410. description: 标题
  18411. type: string
  18412. updatedate:
  18413. description: 修改时间
  18414. type: string
  18415. type: object
  18416. models.WrSpecialMatchOrder:
  18417. properties:
  18418. amount:
  18419. description: 金额 = 数量 * 价格
  18420. type: number
  18421. buyorsell:
  18422. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18423. type: integer
  18424. cancelqty:
  18425. description: 撤销数量
  18426. type: number
  18427. deliverygoodscode:
  18428. description: 品种代码
  18429. type: string
  18430. deliverygoodsid:
  18431. description: 品种ID
  18432. type: integer
  18433. deliverygoodsname:
  18434. description: 品种名称
  18435. type: string
  18436. enumdicname:
  18437. description: 单位名称
  18438. type: string
  18439. fixedprice:
  18440. description: 固定价格(价格)
  18441. type: number
  18442. haswr:
  18443. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18444. type: integer
  18445. isspecified:
  18446. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  18447. type: integer
  18448. marketid:
  18449. description: 市场ID
  18450. type: integer
  18451. matchuserid:
  18452. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  18453. type: integer
  18454. matchusername:
  18455. description: 指定方
  18456. type: string
  18457. minivalue:
  18458. description: 现货商品最小变动值
  18459. type: integer
  18460. optioncompare:
  18461. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18462. type: string
  18463. orderqty:
  18464. description: 委托数量
  18465. type: number
  18466. ordertime:
  18467. description: 委托时间
  18468. type: string
  18469. pricemove:
  18470. description: 升贴水(浮动价时填写) - [挂牌]
  18471. type: number
  18472. tradedate:
  18473. description: 交易日(yyyyMMdd)
  18474. type: string
  18475. tradeprice:
  18476. description: 成交价格
  18477. type: number
  18478. tradeqty:
  18479. description: 成交数量
  18480. type: number
  18481. userid:
  18482. description: 用户ID
  18483. type: integer
  18484. username:
  18485. description: 发起方
  18486. type: string
  18487. warehouseid:
  18488. description: 仓库ID
  18489. type: integer
  18490. warehousename:
  18491. description: 仓库名称
  18492. type: string
  18493. wrfactortypeid:
  18494. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18495. type: string
  18496. wrfactortypename:
  18497. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18498. type: string
  18499. wrpricetype:
  18500. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18501. type: integer
  18502. wrstandardcode:
  18503. description: 现货商品代码
  18504. type: string
  18505. wrstandardid:
  18506. description: 现货商品ID
  18507. type: integer
  18508. wrstandardname:
  18509. description: 商品名称
  18510. type: string
  18511. wrtradeorderid:
  18512. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18513. type: string
  18514. wrtradeorderstatus:
  18515. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  18516. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  18517. type: integer
  18518. wrtradetype:
  18519. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18520. type: integer
  18521. wrtypename:
  18522. description: 商品
  18523. type: string
  18524. type: object
  18525. models.WrSpotGroupTradeSum:
  18526. properties:
  18527. deliverygoodscode:
  18528. description: 现货品种代码
  18529. type: string
  18530. deliverygoodsid:
  18531. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18532. type: integer
  18533. deliverygoodsname:
  18534. description: 现货品种名称
  18535. type: string
  18536. lastavgprice:
  18537. description: 上上个交易日价格(前2天价格)
  18538. type: string
  18539. lastreckondate:
  18540. description: 上上个交易日(前2天交易日)
  18541. type: string
  18542. reckondate:
  18543. description: 上个交易日(前1天交易日)
  18544. type: string
  18545. todayavgprice:
  18546. description: 上个交易日价格(前1天价格)
  18547. type: string
  18548. updown:
  18549. description: 涨跌
  18550. type: string
  18551. updownratio:
  18552. description: 涨幅(已格式化, 直接显示即可)
  18553. type: string
  18554. type: object
  18555. models.WrSpotGroupTradeSumDetail:
  18556. properties:
  18557. deliverygoodsid:
  18558. description: 现货商品id
  18559. type: integer
  18560. price:
  18561. description: 价格
  18562. type: number
  18563. reckondate:
  18564. description: 日期(yyymmdd, 如:20211031)
  18565. type: string
  18566. type: object
  18567. models.WrSpotGroupTradeSumEx:
  18568. properties:
  18569. lst:
  18570. description: 指数列表
  18571. items:
  18572. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  18573. type: array
  18574. prereckondate:
  18575. description: 上上个交易日(yyymmdd)
  18576. type: string
  18577. reckondate:
  18578. description: 上个交易日(yyyymmdd)
  18579. type: string
  18580. type: object
  18581. models.WrStandardFactoryItem:
  18582. properties:
  18583. dgfactoryitemid:
  18584. description: 选择项id
  18585. type: integer
  18586. dgfactoryitemvalue:
  18587. description: 要素项值
  18588. type: string
  18589. warehouseid:
  18590. description: 仓库id
  18591. type: integer
  18592. type: object
  18593. models.WrStandardFactoryItemEx:
  18594. properties:
  18595. dgfactoryitemtypeid:
  18596. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  18597. type: integer
  18598. itemlst:
  18599. description: 要素项列表
  18600. items:
  18601. $ref: '#/definitions/models.WrStandardFactoryItem'
  18602. type: array
  18603. itemtypename:
  18604. description: 要素项类型名称
  18605. type: string
  18606. wrstandardid:
  18607. description: 品类
  18608. type: integer
  18609. type: object
  18610. models.WrTradeDetail:
  18611. properties:
  18612. accountid:
  18613. description: 资金账号
  18614. type: integer
  18615. bannerpicurl:
  18616. description: Banner图
  18617. type: string
  18618. begindate:
  18619. description: 开始交易日(yyyymmdd)
  18620. type: string
  18621. buyorsell:
  18622. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18623. type: integer
  18624. chargevalue:
  18625. description: 手续费
  18626. type: number
  18627. deliverygoodscode:
  18628. description: 品种代码
  18629. type: string
  18630. deliverygoodsid:
  18631. description: 品种ID
  18632. type: integer
  18633. deliverygoodsname:
  18634. description: 品种名称
  18635. type: string
  18636. deliverymonth:
  18637. description: 交收月
  18638. type: string
  18639. enddate:
  18640. description: 结束交易日(yyyymmdd)
  18641. type: string
  18642. enumdicname:
  18643. description: 单位名称
  18644. type: string
  18645. haswr:
  18646. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18647. type: integer
  18648. marketid:
  18649. description: 市场ID
  18650. type: integer
  18651. matchaccountid:
  18652. description: 对手账号
  18653. type: integer
  18654. matchusername:
  18655. description: 对手方
  18656. type: string
  18657. minivalue:
  18658. description: 现货商品最小变动值
  18659. type: integer
  18660. optioncompare:
  18661. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18662. type: string
  18663. thumurls:
  18664. description: 缩略图
  18665. type: string
  18666. tradedate:
  18667. description: 交易日(yyyyMMdd)
  18668. type: string
  18669. tradeprice:
  18670. description: 成交价格
  18671. type: number
  18672. tradeqty:
  18673. description: 成交数量
  18674. type: number
  18675. tradetime:
  18676. description: 成交时间
  18677. type: string
  18678. userid:
  18679. description: 用户ID
  18680. type: integer
  18681. warehouseid:
  18682. description: 仓库ID
  18683. type: integer
  18684. warehousename:
  18685. description: 仓库名称
  18686. type: string
  18687. wrfactortypeid:
  18688. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18689. type: string
  18690. wrfactortypename:
  18691. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18692. type: string
  18693. wrstandardcode:
  18694. description: 现货商品代码
  18695. type: string
  18696. wrstandardid:
  18697. description: 现货商品ID
  18698. type: integer
  18699. wrstandardname:
  18700. description: 商品名称
  18701. type: string
  18702. wrtradedetailid:
  18703. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  18704. type: string
  18705. wrtradetype:
  18706. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18707. type: integer
  18708. wrtypename:
  18709. description: 商品
  18710. type: string
  18711. type: object
  18712. models.WrTradeOrderDetail:
  18713. properties:
  18714. buyorsell:
  18715. description: 买卖方向 0-买 1-卖
  18716. type: integer
  18717. goodsid:
  18718. description: 商品id
  18719. type: integer
  18720. orderid:
  18721. description: 委托单号
  18722. type: string
  18723. orderprice:
  18724. description: 委托价格
  18725. type: number
  18726. orderqty:
  18727. description: 委托数量
  18728. type: integer
  18729. userid:
  18730. description: 用户id
  18731. type: integer
  18732. username:
  18733. description: 用户名称(已脱敏)
  18734. type: string
  18735. type: object
  18736. models.WrTypeItem:
  18737. properties:
  18738. name:
  18739. description: 名称
  18740. type: string
  18741. value:
  18742. description: 值
  18743. type: string
  18744. type: object
  18745. models.WrUserFriend:
  18746. properties:
  18747. friendname:
  18748. description: 朋友名称(已脱敏)
  18749. type: string
  18750. frienduserid:
  18751. description: 朋友id
  18752. type: integer
  18753. isfriend:
  18754. description: 是否好友 0-不是 1-是
  18755. type: integer
  18756. userid:
  18757. description: 用户id
  18758. type: integer
  18759. type: object
  18760. models.WrUserReceiptInfo:
  18761. properties:
  18762. address:
  18763. description: 地址[发票类型:企业]
  18764. type: string
  18765. autoid:
  18766. description: AutoID
  18767. type: integer
  18768. contactinfo:
  18769. description: 联系方式
  18770. type: string
  18771. idnum:
  18772. description: 身份证号码[发票类型:个人]
  18773. type: string
  18774. isdefault:
  18775. description: 是否默认地址 - 0:否 1:是
  18776. type: integer
  18777. receiptaccount:
  18778. description: 发票帐号[发票类型:企业]
  18779. type: string
  18780. receiptbank:
  18781. description: 发票开户行[发票类型:企业]
  18782. type: string
  18783. receipttype:
  18784. description: 发票类型 - 1:个人 2:企业
  18785. type: integer
  18786. taxpayerid:
  18787. description: 纳税人识别号
  18788. type: string
  18789. userid:
  18790. description: 用户ID
  18791. type: integer
  18792. username:
  18793. description: 户名(个人姓名或企业名称)
  18794. type: string
  18795. type: object
  18796. models.XHBRAND:
  18797. properties:
  18798. brandid:
  18799. description: 品牌id
  18800. type: integer
  18801. brandname:
  18802. description: 品牌名称
  18803. type: string
  18804. isvalid:
  18805. description: 是否有效 0-无效 1-有效
  18806. type: integer
  18807. type: object
  18808. models.XHDeliveryGoods:
  18809. properties:
  18810. areauserid:
  18811. description: 所属机构
  18812. type: integer
  18813. bdlst:
  18814. description: 品牌列表
  18815. items:
  18816. $ref: '#/definitions/models.XHBRAND'
  18817. type: array
  18818. deliverygoodscode:
  18819. description: 现货品种代码
  18820. type: string
  18821. deliverygoodsid:
  18822. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18823. type: integer
  18824. deliverygoodsname:
  18825. description: 现货品种名称
  18826. type: string
  18827. dgstatus:
  18828. description: 品种状态 - 作废 - 0:未激活 1:正常
  18829. type: integer
  18830. filterSubEmpty:
  18831. description: 过滤下级为空的
  18832. type: integer
  18833. isvalid:
  18834. description: 是否有效 - 0:无效 1:有效
  18835. type: integer
  18836. remark:
  18837. description: 备注
  18838. type: string
  18839. unitid:
  18840. description: 单位id(目前看,数据库中是空值)
  18841. type: integer
  18842. wdlst:
  18843. description: 品类(现货商品)列表
  18844. items:
  18845. $ref: '#/definitions/models.XHWrstandard'
  18846. type: array
  18847. type: object
  18848. models.XHMiddleGoods:
  18849. properties:
  18850. GPLST:
  18851. description: 期货品种列表
  18852. items:
  18853. $ref: '#/definitions/models.TBGoodsGroup'
  18854. type: array
  18855. convertratio:
  18856. description: 拆算系数
  18857. type: number
  18858. costratio:
  18859. description: 成本权重
  18860. type: number
  18861. deliverygoodsid:
  18862. description: 现货商品id
  18863. type: integer
  18864. enumdicname:
  18865. description: 单位名称
  18866. type: string
  18867. middlegoodscode:
  18868. description: 套保品种代码
  18869. type: string
  18870. middlegoodsid:
  18871. description: 套保品种id
  18872. type: integer
  18873. middlegoodsname:
  18874. description: 套保品种名称
  18875. type: string
  18876. unitid:
  18877. description: 单位id
  18878. type: integer
  18879. type: object
  18880. models.XHWrstandard:
  18881. properties:
  18882. bannerpicurl:
  18883. description: banner图
  18884. type: string
  18885. deliverygoodsid:
  18886. description: 品种ID
  18887. type: integer
  18888. enumdicname:
  18889. description: 单位名称
  18890. type: string
  18891. mglst:
  18892. description: 套保品列表
  18893. items:
  18894. $ref: '#/definitions/models.XHMiddleGoods'
  18895. type: array
  18896. pictureurls:
  18897. description: 详情图片(逗号分隔)
  18898. type: string
  18899. thumurls:
  18900. description: 缩略图片(1:1)(逗号分隔)
  18901. type: string
  18902. unitid:
  18903. description: 单位id
  18904. type: integer
  18905. vatrate:
  18906. description: 增值税率
  18907. type: number
  18908. wrstandardcode:
  18909. description: 现货商品代码
  18910. type: string
  18911. wrstandardid:
  18912. description: 现货商品ID(SEQ_WRSTANDARD)
  18913. type: integer
  18914. wrstandardname:
  18915. description: 现货商品名称
  18916. type: string
  18917. type: object
  18918. models.XhcpSellBackApplyEx:
  18919. properties:
  18920. applyremark:
  18921. description: 申请备注
  18922. type: string
  18923. expirytype:
  18924. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  18925. type: integer
  18926. goodsspec:
  18927. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  18928. type: integer
  18929. holeflag:
  18930. description: 是否破洞[原封] - 1:无破洞 2:破洞
  18931. type: integer
  18932. isunopened:
  18933. description: 是否原封 - 1:否 2:是
  18934. type: integer
  18935. mpflag:
  18936. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  18937. type: integer
  18938. openflag:
  18939. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  18940. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  18941. type: integer
  18942. phonenum:
  18943. description: 联系电话
  18944. type: string
  18945. userid:
  18946. description: 所属用户ID
  18947. type: integer
  18948. zpflag:
  18949. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  18950. type: integer
  18951. required:
  18952. - userid
  18953. type: object
  18954. models.Xhcpsellbackapply:
  18955. properties:
  18956. applyid:
  18957. description: 申请人
  18958. type: integer
  18959. applyremark:
  18960. description: 申请备注
  18961. type: string
  18962. applysrc:
  18963. description: 申请来源 - 1:管理端 2:终端
  18964. type: integer
  18965. applystatus:
  18966. description: 申请状态 - 1:待确认 2:已处理
  18967. type: integer
  18968. applytime:
  18969. description: 申请时间
  18970. type: string
  18971. auditremark:
  18972. description: 审核备注
  18973. type: string
  18974. auditsrc:
  18975. description: 审核来源 - 1:管理端 2:终端
  18976. type: integer
  18977. expirytype:
  18978. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  18979. type: integer
  18980. goodsspec:
  18981. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  18982. type: integer
  18983. holeflag:
  18984. description: 是否破洞[原封] - 1:无破洞 2:破洞
  18985. type: integer
  18986. isunopened:
  18987. description: 是否原封 - 1:否 2:是
  18988. type: integer
  18989. mpflag:
  18990. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  18991. type: integer
  18992. openflag:
  18993. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  18994. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  18995. type: integer
  18996. phonenum:
  18997. description: 联系电话
  18998. type: string
  18999. sellbackapplyid:
  19000. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  19001. type: string
  19002. userid:
  19003. description: 所属用户ID
  19004. type: integer
  19005. zpflag:
  19006. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19007. type: integer
  19008. required:
  19009. - userid
  19010. type: object
  19011. order.QueryHisTradeDetailRsp:
  19012. properties:
  19013. accountid:
  19014. description: 账户ID[报价币种]
  19015. type: integer
  19016. advanceratio:
  19017. description: 首付比率
  19018. type: number
  19019. buildtype:
  19020. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19021. type: integer
  19022. buyorsell:
  19023. description: 方向 - 0:买 1:卖
  19024. type: integer
  19025. charge:
  19026. description: 手续费
  19027. type: number
  19028. closecharge:
  19029. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19030. type: number
  19031. closeexchagechargevalue:
  19032. description: 平仓交易所手续费设置值
  19033. type: number
  19034. closefeealgorithm:
  19035. description: 平仓手续费收取方式 1:比率 2:固定
  19036. type: integer
  19037. closememberchargevalue:
  19038. description: 平仓会员手续费设置值
  19039. type: number
  19040. closepl:
  19041. description: 平仓盈亏
  19042. type: number
  19043. closepl2:
  19044. description: 平仓盈亏[逐笔]
  19045. type: number
  19046. closeqty:
  19047. description: 平仓数量(先建后平操作 需要记录)
  19048. type: number
  19049. creditamount:
  19050. description: 授信金额
  19051. type: number
  19052. decimalplace:
  19053. description: 商品报价小数位
  19054. type: integer
  19055. enumdicname:
  19056. description: 单位名称
  19057. type: string
  19058. gcaccountid:
  19059. description: 账户ID[合约币种]
  19060. type: integer
  19061. goodscode:
  19062. description: 商品代码
  19063. type: string
  19064. goodsid:
  19065. description: 商品ID
  19066. type: integer
  19067. goodsname:
  19068. description: 商品名称
  19069. type: string
  19070. goodunitid:
  19071. description: 商品单位id
  19072. type: integer
  19073. histradedate:
  19074. description: 历史交易日
  19075. type: string
  19076. intclosepl:
  19077. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19078. type: integer
  19079. isconfirmexercise:
  19080. description: 是否确认行权- 0:否 1:是
  19081. type: integer
  19082. ismain:
  19083. description: 是否主单 - 0:不是 1:是
  19084. type: integer
  19085. ispreexercise:
  19086. description: 是否预申报- 0:否 1:是
  19087. type: integer
  19088. isreckoned:
  19089. description: 是否结算 - 0:未结算 1:已结算
  19090. type: integer
  19091. isvaliddata:
  19092. description: 是否有效 - 0:无效 1:有效
  19093. type: integer
  19094. listingselecttype:
  19095. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19096. type: integer
  19097. marketid:
  19098. description: 市场ID
  19099. type: integer
  19100. marketname:
  19101. description: 市场名称
  19102. type: string
  19103. matchaccountid:
  19104. description: 对手账号id
  19105. type: integer
  19106. memberuserid:
  19107. description: 会员id 个人投资者 需要填写
  19108. type: integer
  19109. opencharge:
  19110. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19111. type: number
  19112. openexchagechargevalue:
  19113. description: 建仓交易所手续费设置值
  19114. type: number
  19115. openfeealgorithm:
  19116. description: 建仓手续费收取方式 1:比率 2:固定
  19117. type: integer
  19118. openmemberchargevalue:
  19119. description: 建仓会员手续费设置值
  19120. type: number
  19121. openqty:
  19122. description: 开仓数量(先建后平操作 需要记录)
  19123. type: number
  19124. optiontype:
  19125. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19126. type: integer
  19127. orderid:
  19128. description: 委托单号
  19129. type: string
  19130. payamount:
  19131. description: 支付金额(付款金额)
  19132. type: number
  19133. performanceplanid:
  19134. description: 履约计划ID[期权]
  19135. type: integer
  19136. performancestatus:
  19137. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19138. type: integer
  19139. preexerciseprice:
  19140. description: 预申报价格
  19141. type: number
  19142. premium:
  19143. description: 权利金 - [持仓单的权利金]
  19144. type: number
  19145. qtydecimalplace:
  19146. description: 商品报价小数位
  19147. type: integer
  19148. recvamount:
  19149. description: 到账金额 = 成交金额 - 手续费
  19150. type: number
  19151. relatedouttradeid:
  19152. description: 关联外部成交单ID
  19153. type: integer
  19154. status:
  19155. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19156. type: integer
  19157. totalamount:
  19158. description: 订单总额 = 成交金额 + 手续费
  19159. type: number
  19160. tradeamount:
  19161. description: 成交金额[账户币种,用于所有权]
  19162. type: number
  19163. tradedate:
  19164. description: 交易日(yyyyMMdd)
  19165. type: string
  19166. tradeid:
  19167. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19168. type: string
  19169. trademode:
  19170. description: 交易模式
  19171. type: integer
  19172. tradeprice:
  19173. description: 成交价格
  19174. type: number
  19175. tradeproperty:
  19176. description: 交易属性
  19177. type: integer
  19178. tradeqty:
  19179. description: 成交数量
  19180. type: number
  19181. tradetime:
  19182. description: 成交时间
  19183. type: string
  19184. tradetype:
  19185. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19186. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19187. type: integer
  19188. required:
  19189. - accountid
  19190. - buyorsell
  19191. - goodsid
  19192. - histradedate
  19193. - marketid
  19194. - memberuserid
  19195. - orderid
  19196. - tradeamount
  19197. - tradedate
  19198. - tradeid
  19199. - tradeprice
  19200. - tradeqty
  19201. - tradetime
  19202. type: object
  19203. order.QueryHisTradeOrderDetailRsp:
  19204. properties:
  19205. accountid:
  19206. description: 账户ID[报价币种]
  19207. type: integer
  19208. buildtype:
  19209. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19210. type: integer
  19211. buyorsell:
  19212. description: 买卖 - 0:买 1:卖
  19213. type: integer
  19214. cancelorderid:
  19215. description: 撤单单号(撤单时填写)
  19216. type: string
  19217. cancelqty:
  19218. description: 撤单数量
  19219. type: number
  19220. clientordertime:
  19221. description: 客户端委托时间
  19222. type: string
  19223. clientticket:
  19224. description: 客户端流水号
  19225. type: string
  19226. clienttype:
  19227. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19228. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19229. type: integer
  19230. closeexchagechargevalue:
  19231. description: 平仓交易所手续费设置值
  19232. type: number
  19233. closefeealgorithm:
  19234. description: 平仓手续费收取方式 1:比率 2:固定
  19235. type: integer
  19236. closefreezecharge:
  19237. description: 平仓冻结手续费(先建后平操作,需要记录)
  19238. type: number
  19239. closememberchargevalue:
  19240. description: 平仓会员手续费设置值
  19241. type: number
  19242. closeqty:
  19243. description: 平仓数量(先建后平操作 需要记录)
  19244. type: number
  19245. closetradeqty:
  19246. description: 平仓成交数量(先建后平操作,需要记录)
  19247. type: number
  19248. closeunfreezecharge:
  19249. description: 平仓解冻手续费(先建后平操作,需要记录)
  19250. type: number
  19251. decimalplace:
  19252. description: 商品报价小数位
  19253. type: integer
  19254. delistingtype:
  19255. description: 摘牌类型 - 1:价格最优 2:点选成交
  19256. type: integer
  19257. enumdicname:
  19258. description: 单位名称
  19259. type: string
  19260. freezecharge:
  19261. description: 冻结手续费
  19262. type: number
  19263. freezemargin:
  19264. description: 冻结保证金(冻结交易金额)
  19265. type: number
  19266. gcaccountid:
  19267. description: 账户ID[合约币种]
  19268. type: integer
  19269. goodscode:
  19270. description: 商品代码
  19271. type: string
  19272. goodsid:
  19273. description: 商品ID
  19274. type: integer
  19275. goodsname:
  19276. description: 商品名称
  19277. type: string
  19278. goodunitid:
  19279. description: 商品单位id
  19280. type: integer
  19281. histradedate:
  19282. description: 历史交易日
  19283. type: string
  19284. isconfirmexercise:
  19285. description: 是否确认行权- 0:否 1:是
  19286. type: integer
  19287. ispreexercise:
  19288. description: 是否预申报- 0:否 1:是
  19289. type: integer
  19290. isvaliddata:
  19291. description: 是否有效 - 0:无效 1:有效
  19292. type: integer
  19293. listingselecttype:
  19294. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19295. type: integer
  19296. marginalgorithm:
  19297. description: 保证金收取方式 1:比率 2:固定
  19298. type: integer
  19299. marginvalue:
  19300. description: 即市保证金设置值
  19301. type: number
  19302. marketid:
  19303. description: 市场ID
  19304. type: integer
  19305. marketmaxsub:
  19306. description: 市价最大偏移范围
  19307. type: number
  19308. marketname:
  19309. description: 市场名称
  19310. type: string
  19311. memberuserid:
  19312. description: 所属会员UserID
  19313. type: integer
  19314. openexchagechargevalue:
  19315. description: 建仓交易所手续费设置值
  19316. type: number
  19317. openfeealgorithm:
  19318. description: 建仓手续费收取方式 1:比率 2:固定
  19319. type: integer
  19320. openfreezecharge:
  19321. description: 开仓冻结手续费(先建后平操作,需要记录)
  19322. type: number
  19323. openmemberchargevalue:
  19324. description: 建仓会员手续费设置值
  19325. type: number
  19326. openqty:
  19327. description: 开仓数量(先建后平操作,需要记录)
  19328. type: number
  19329. opentradeqty:
  19330. description: 开仓成交数量(先建后平操作,需要记录)
  19331. type: number
  19332. openunfreezecharge:
  19333. description: 开仓解冻手续费(先建后平操作,需要记录)
  19334. type: number
  19335. operatetype:
  19336. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19337. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19338. 15:管理端协议转让
  19339. type: integer
  19340. operatorid:
  19341. description: 登录账号(LoginID)
  19342. type: integer
  19343. optiontype:
  19344. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19345. type: integer
  19346. orderid:
  19347. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19348. type: string
  19349. orderprice:
  19350. description: 委托价格
  19351. type: number
  19352. orderqty:
  19353. description: 委托数量
  19354. type: number
  19355. ordersrc:
  19356. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19357. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19358. type: integer
  19359. orderstatus:
  19360. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19361. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  19362. 16:成交失败违约(荷兰式竞拍专用)
  19363. type: integer
  19364. ordertime:
  19365. description: 委托时间
  19366. type: string
  19367. preexerciseprice:
  19368. description: 预申报价格
  19369. type: number
  19370. premium:
  19371. description: 权利金
  19372. type: number
  19373. preorderid:
  19374. description: 关联预埋单号(止盈止损单时填写)
  19375. type: string
  19376. pricemode:
  19377. description: '取价方式 - 1:市价 2: 限价'
  19378. type: integer
  19379. qtydecimalplace:
  19380. description: 成交量小数位
  19381. type: integer
  19382. quoteid:
  19383. description: 报价单ID
  19384. type: integer
  19385. relatedid:
  19386. description: 关联单号(交割单)
  19387. type: string
  19388. retcode:
  19389. description: 错误代码
  19390. type: integer
  19391. sessionid:
  19392. description: 会话ID
  19393. type: integer
  19394. tradedate:
  19395. description: 交易日(yyyyMMdd)
  19396. type: string
  19397. trademode:
  19398. description: 交易模式
  19399. type: integer
  19400. tradeproperty:
  19401. description: 交易属性
  19402. type: integer
  19403. tradeqty:
  19404. description: 成交数量
  19405. type: number
  19406. unfreezecharge:
  19407. description: 解冻手续费
  19408. type: number
  19409. unfreezemargin:
  19410. description: 解冻保证金
  19411. type: number
  19412. updatetime:
  19413. description: 更新时间
  19414. type: string
  19415. uuid:
  19416. description: 发起端唯一id
  19417. type: string
  19418. validtime:
  19419. description: 有效期限
  19420. type: string
  19421. validtype:
  19422. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  19423. type: integer
  19424. volumetype:
  19425. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  19426. type: integer
  19427. required:
  19428. - accountid
  19429. - buildtype
  19430. - buyorsell
  19431. - goodsid
  19432. - histradedate
  19433. - marketid
  19434. - memberuserid
  19435. - operatetype
  19436. - orderid
  19437. - orderqty
  19438. - ordertime
  19439. - pricemode
  19440. - tradedate
  19441. - validtype
  19442. type: object
  19443. order.QueryTradeDetailRsp:
  19444. properties:
  19445. accountid:
  19446. description: 账户ID[报价币种]
  19447. type: integer
  19448. advanceratio:
  19449. description: 首付比率
  19450. type: number
  19451. buildtype:
  19452. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19453. type: integer
  19454. buyorsell:
  19455. description: 方向 - 0:买 1:卖
  19456. type: integer
  19457. charge:
  19458. description: 手续费
  19459. type: number
  19460. closecharge:
  19461. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19462. type: number
  19463. closeexchagechargevalue:
  19464. description: 平仓交易所手续费设置值
  19465. type: number
  19466. closefeealgorithm:
  19467. description: 平仓手续费收取方式 1:比率 2:固定
  19468. type: integer
  19469. closememberchargevalue:
  19470. description: 平仓会员手续费设置值
  19471. type: number
  19472. closepl:
  19473. description: 平仓盈亏
  19474. type: number
  19475. closepl2:
  19476. description: 平仓盈亏[逐笔]
  19477. type: number
  19478. closeqty:
  19479. description: 平仓数量(先建后平操作 需要记录)
  19480. type: number
  19481. creditamount:
  19482. description: 授信金额
  19483. type: number
  19484. decimalplace:
  19485. description: 商品报价小数位
  19486. type: integer
  19487. enumdicname:
  19488. description: 单位名称
  19489. type: string
  19490. gcaccountid:
  19491. description: 账户ID[合约币种]
  19492. type: integer
  19493. goodscode:
  19494. description: 商品代码
  19495. type: string
  19496. goodsid:
  19497. description: 商品ID
  19498. type: integer
  19499. goodsname:
  19500. description: 商品名称
  19501. type: string
  19502. goodunitid:
  19503. description: 商品单位id
  19504. type: integer
  19505. intclosepl:
  19506. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19507. type: integer
  19508. isconfirmexercise:
  19509. description: 是否确认行权- 0:否 1:是
  19510. type: integer
  19511. ismain:
  19512. description: 是否主单 - 0:不是 1:是
  19513. type: integer
  19514. ispreexercise:
  19515. description: 是否预申报- 0:否 1:是
  19516. type: integer
  19517. isreckoned:
  19518. description: 是否结算 - 0:未结算 1:已结算
  19519. type: integer
  19520. listingselecttype:
  19521. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19522. type: integer
  19523. marketid:
  19524. description: 市场ID
  19525. type: integer
  19526. marketname:
  19527. description: 市场名称
  19528. type: string
  19529. matchaccountid:
  19530. description: 对手账号id
  19531. type: integer
  19532. memberuserid:
  19533. description: 会员id 个人投资者 需要填写
  19534. type: integer
  19535. opencharge:
  19536. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19537. type: number
  19538. openexchagechargevalue:
  19539. description: 建仓交易所手续费设置值
  19540. type: number
  19541. openfeealgorithm:
  19542. description: 建仓手续费收取方式 1:比率 2:固定
  19543. type: integer
  19544. openmemberchargevalue:
  19545. description: 建仓会员手续费设置值
  19546. type: number
  19547. openqty:
  19548. description: 开仓数量(先建后平操作 需要记录)
  19549. type: number
  19550. optiontype:
  19551. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19552. type: integer
  19553. orderid:
  19554. description: 委托单号
  19555. type: string
  19556. payamount:
  19557. description: 支付金额(付款金额)
  19558. type: number
  19559. performanceplanid:
  19560. description: 履约计划ID[期权]
  19561. type: integer
  19562. performancestatus:
  19563. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19564. type: integer
  19565. preexerciseprice:
  19566. description: 预申报价格
  19567. type: number
  19568. premium:
  19569. description: 权利金 - [持仓单的权利金]
  19570. type: number
  19571. qtydecimalplace:
  19572. description: 商品报价小数位
  19573. type: integer
  19574. recvamount:
  19575. description: 到账金额 = 成交金额 - 手续费
  19576. type: number
  19577. relatedouttradeid:
  19578. description: 关联外部成交单ID
  19579. type: integer
  19580. status:
  19581. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19582. type: integer
  19583. totalamount:
  19584. description: 订单总额 = 成交金额 + 手续费
  19585. type: number
  19586. tradeamount:
  19587. description: 成交金额[账户币种,用于所有权]
  19588. type: number
  19589. tradedate:
  19590. description: 交易日(yyyyMMdd)
  19591. type: string
  19592. tradeid:
  19593. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19594. type: string
  19595. trademode:
  19596. description: 交易模式
  19597. type: integer
  19598. tradeprice:
  19599. description: 成交价格
  19600. type: number
  19601. tradeproperty:
  19602. description: 交易属性
  19603. type: integer
  19604. tradeqty:
  19605. description: 成交数量
  19606. type: number
  19607. tradetime:
  19608. description: 成交时间
  19609. type: string
  19610. tradetype:
  19611. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19612. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19613. type: integer
  19614. required:
  19615. - accountid
  19616. - buyorsell
  19617. - goodsid
  19618. - marketid
  19619. - memberuserid
  19620. - orderid
  19621. - tradeamount
  19622. - tradedate
  19623. - tradeid
  19624. - tradeprice
  19625. - tradeqty
  19626. - tradetime
  19627. type: object
  19628. order.QueryTradeOrderDetailRsp:
  19629. properties:
  19630. accountid:
  19631. description: 账户ID[报价币种]
  19632. type: integer
  19633. buildtype:
  19634. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19635. type: integer
  19636. buyorsell:
  19637. description: 买卖 - 0:买 1:卖
  19638. type: integer
  19639. cancelorderid:
  19640. description: 撤单单号(撤单时填写)
  19641. type: string
  19642. cancelqty:
  19643. description: 撤单数量
  19644. type: number
  19645. clienttype:
  19646. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19647. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19648. type: integer
  19649. closefreezecharge:
  19650. description: 平仓冻结手续费(先建后平操作,需要记录)
  19651. type: number
  19652. closeqty:
  19653. description: 平仓数量(先建后平操作 需要记录)
  19654. type: number
  19655. closetradeqty:
  19656. description: 平仓成交数量(先建后平操作,需要记录)
  19657. type: number
  19658. closeunfreezecharge:
  19659. description: 平仓解冻手续费(先建后平操作,需要记录)
  19660. type: number
  19661. decimalplace:
  19662. description: 商品报价小数位
  19663. type: integer
  19664. delistingtype:
  19665. description: 摘牌类型 - 1:价格最优 2:点选成交
  19666. type: integer
  19667. enableqty:
  19668. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  19669. type: number
  19670. enumdicname:
  19671. description: 单位名称
  19672. type: string
  19673. freezecharge:
  19674. description: 冻结手续费
  19675. type: number
  19676. freezemargin:
  19677. description: 冻结保证金(冻结交易金额)
  19678. type: number
  19679. goodscode:
  19680. description: 商品代码
  19681. type: string
  19682. goodsid:
  19683. description: 商品ID
  19684. type: integer
  19685. goodsname:
  19686. description: 商品名称
  19687. type: string
  19688. goodunitid:
  19689. description: 商品单位id
  19690. type: integer
  19691. listingselecttype:
  19692. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19693. type: integer
  19694. marketid:
  19695. description: 市场ID
  19696. type: integer
  19697. marketname:
  19698. description: 市场名称
  19699. type: string
  19700. openfreezecharge:
  19701. description: 开仓冻结手续费(先建后平操作,需要记录)
  19702. type: number
  19703. openqty:
  19704. description: 开仓数量(先建后平操作,需要记录)
  19705. type: number
  19706. opentradeqty:
  19707. description: 开仓成交数量(先建后平操作,需要记录)
  19708. type: number
  19709. openunfreezecharge:
  19710. description: 开仓解冻手续费(先建后平操作,需要记录)
  19711. type: number
  19712. operatetype:
  19713. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19714. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19715. 15:管理端协议转让
  19716. type: integer
  19717. operatorid:
  19718. description: 登录账号(LoginID)
  19719. type: integer
  19720. orderid:
  19721. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19722. type: string
  19723. orderprice:
  19724. description: 委托价格
  19725. type: number
  19726. orderqty:
  19727. description: 委托数量
  19728. type: number
  19729. ordersrc:
  19730. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19731. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19732. type: integer
  19733. orderstatus:
  19734. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19735. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  19736. 16:成交失败违约(荷兰式竞拍专用)
  19737. type: integer
  19738. ordertime:
  19739. description: 委托时间
  19740. type: string
  19741. preorderid:
  19742. description: 关联预埋单号(止盈止损单时填写)
  19743. type: string
  19744. pricemode:
  19745. description: '取价方式 - 1:市价 2: 限价'
  19746. type: integer
  19747. qtydecimalplace:
  19748. description: 商品报价小数位
  19749. type: integer
  19750. relatedid:
  19751. description: 关联单号(交割单)
  19752. type: string
  19753. tradedate:
  19754. description: 交易日(yyyyMMdd)
  19755. type: string
  19756. trademode:
  19757. description: 交易模式
  19758. type: integer
  19759. tradeqty:
  19760. description: 成交数量
  19761. type: number
  19762. unfreezecharge:
  19763. description: 解冻手续费
  19764. type: number
  19765. unfreezemargin:
  19766. description: 解冻保证金
  19767. type: number
  19768. validtime:
  19769. description: 有效期限
  19770. type: string
  19771. validtype:
  19772. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  19773. type: integer
  19774. volumetype:
  19775. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  19776. type: integer
  19777. required:
  19778. - accountid
  19779. - buildtype
  19780. - buyorsell
  19781. - goodsid
  19782. - marketid
  19783. - operatetype
  19784. - orderqty
  19785. - ordertime
  19786. - pricemode
  19787. - tradedate
  19788. - validtype
  19789. type: object
  19790. order.QueryTradePositionRsp:
  19791. properties:
  19792. accountid:
  19793. description: 资金账户
  19794. type: integer
  19795. agreeunit:
  19796. description: 合约单位
  19797. type: number
  19798. averageprice:
  19799. description: 持仓均价
  19800. type: number
  19801. buyorsell:
  19802. description: 方向 - 0:买 1:卖
  19803. type: integer
  19804. closetotalqty:
  19805. description: 平仓总数量
  19806. type: number
  19807. curholderamount:
  19808. description: 当前持仓总金额[商品币种]
  19809. type: number
  19810. curpositionqty:
  19811. description: 当前持仓总数量
  19812. type: number
  19813. currencyid:
  19814. description: 报价货币ID
  19815. type: integer
  19816. curtdposition:
  19817. description: 期末今日头寸
  19818. type: number
  19819. decimalplace:
  19820. description: 报价小数位
  19821. type: integer
  19822. enableqty:
  19823. description: 可用量
  19824. type: number
  19825. fretdposition:
  19826. description: 冻结今日头寸
  19827. type: number
  19828. frozenqty:
  19829. description: 持仓冻结数量
  19830. type: number
  19831. goodscode:
  19832. description: 商品代码
  19833. type: string
  19834. goodsid:
  19835. description: 商品Id
  19836. type: integer
  19837. goodsname:
  19838. description: 商品名称
  19839. type: string
  19840. goodunit:
  19841. description: 报价单位
  19842. type: string
  19843. goodunitid:
  19844. description: 报价单位ID
  19845. type: integer
  19846. holderamount:
  19847. description: 期初持仓总金额[商品币种]
  19848. type: number
  19849. lastprice:
  19850. description: 最新价
  19851. type: number
  19852. marketamount:
  19853. description: 市值
  19854. type: number
  19855. marketid:
  19856. description: 所属市场ID
  19857. type: integer
  19858. openreqqty:
  19859. description: 开仓申请数量(用于比较最大持仓数量)
  19860. type: number
  19861. opentotalqty:
  19862. description: 开仓总数量
  19863. type: number
  19864. otherfrozenqty:
  19865. description: 持仓其他冻结数量(交割冻结)
  19866. type: number
  19867. positionpl:
  19868. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  19869. * 合约单位
  19870. type: number
  19871. positionplrate:
  19872. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  19873. type: number
  19874. positionqty:
  19875. description: 期初持仓数量
  19876. type: number
  19877. qtydecimalplace:
  19878. description: 成交量小数位
  19879. type: integer
  19880. refgoodscode:
  19881. description: 参考商品代码
  19882. type: string
  19883. refgoodsid:
  19884. description: 参考商品ID
  19885. type: integer
  19886. tnqty:
  19887. description: T+N冻结总量
  19888. type: number
  19889. tnusedqty:
  19890. description: T+N使用量(可以使用T+N的冻结数量)
  19891. type: number
  19892. trademode:
  19893. description: 交易模式
  19894. type: integer
  19895. tradeproperty:
  19896. description: 交易属性
  19897. type: integer
  19898. usedmargin:
  19899. description: 占用保证金[商品币种]
  19900. type: number
  19901. required:
  19902. - goodsid
  19903. type: object
  19904. pb.GoodsMarginCfgStruct:
  19905. properties:
  19906. CustomerTypeID:
  19907. description: 投资者客户类型
  19908. type: integer
  19909. GoodsID:
  19910. description: 商品ID
  19911. type: integer
  19912. IsDefault:
  19913. description: 是否默认标志位
  19914. type: integer
  19915. LockMarginValue:
  19916. description: 锁仓保证金
  19917. type: number
  19918. MarginAlgorithm:
  19919. description: 保证金计算方式
  19920. type: integer
  19921. MarketMarginValue:
  19922. description: 即市保证金值
  19923. type: number
  19924. RealMarginAlgorithm:
  19925. description: 实付保证金计算方式
  19926. type: integer
  19927. RealMarginValue:
  19928. description: 实付比例
  19929. type: number
  19930. ReckonMarginValue:
  19931. description: 结算保证金值
  19932. type: number
  19933. type: object
  19934. quote.HistoryData:
  19935. properties:
  19936. c:
  19937. description: 收盘价
  19938. type: number
  19939. f:
  19940. description: 是否补充数据
  19941. type: boolean
  19942. h:
  19943. description: 最高价
  19944. type: number
  19945. hv:
  19946. description: 持仓量
  19947. type: integer
  19948. l:
  19949. description: 最低价
  19950. type: number
  19951. o:
  19952. description: 开盘价
  19953. type: number
  19954. s:
  19955. description: 结算价,日线周期(包括)以上才有
  19956. type: number
  19957. ts:
  19958. description: 时间
  19959. type: string
  19960. tt:
  19961. description: 总金额
  19962. type: number
  19963. tv:
  19964. description: 总量(成交量)
  19965. type: integer
  19966. type: object
  19967. quote.HistoryTikData:
  19968. properties:
  19969. AV:
  19970. description: 卖量
  19971. type: integer
  19972. Ask:
  19973. description: 卖价
  19974. type: number
  19975. BV:
  19976. description: 买量
  19977. type: integer
  19978. Bid:
  19979. description: 买价
  19980. type: number
  19981. HI:
  19982. description: 单笔持仓
  19983. type: integer
  19984. HV:
  19985. description: 持仓量
  19986. type: integer
  19987. PE:
  19988. description: 现价
  19989. type: number
  19990. TDR:
  19991. description: 交易方向,0:买 1:卖
  19992. type: integer
  19993. TK:
  19994. description: 交易类型
  19995. type: integer
  19996. TS:
  19997. description: 行情时间文本
  19998. type: string
  19999. TT:
  20000. description: 现金额
  20001. type: number
  20002. Vol:
  20003. description: 现量
  20004. type: integer
  20005. type: object
  20006. quote.QueryQuoteDayRsp:
  20007. properties:
  20008. ask:
  20009. description: 卖1
  20010. type: number
  20011. ask2:
  20012. description: 卖2
  20013. type: number
  20014. ask3:
  20015. description: 卖3
  20016. type: number
  20017. ask4:
  20018. description: 卖4
  20019. type: number
  20020. ask5:
  20021. description: 卖5
  20022. type: number
  20023. ask6:
  20024. description: 卖6
  20025. type: number
  20026. ask7:
  20027. description: 卖7
  20028. type: number
  20029. ask8:
  20030. description: 卖8
  20031. type: number
  20032. ask9:
  20033. description: 卖9
  20034. type: number
  20035. ask10:
  20036. description: 卖10
  20037. type: number
  20038. askorderid:
  20039. description: 卖单号1
  20040. type: integer
  20041. askorderid2:
  20042. description: 卖单号2
  20043. type: integer
  20044. askorderid3:
  20045. description: 卖单号3
  20046. type: integer
  20047. askorderid4:
  20048. description: 卖单号4
  20049. type: integer
  20050. askorderid5:
  20051. description: 卖单号5
  20052. type: integer
  20053. askordervolume:
  20054. description: 卖单量1
  20055. type: integer
  20056. askordervolume2:
  20057. description: 卖单量2
  20058. type: integer
  20059. askordervolume3:
  20060. description: 卖单量3
  20061. type: integer
  20062. askordervolume4:
  20063. description: 卖单量4
  20064. type: integer
  20065. askordervolume5:
  20066. description: 卖单量5
  20067. type: integer
  20068. askordervolume6:
  20069. description: 卖单量6
  20070. type: integer
  20071. askordervolume7:
  20072. description: 卖单量7
  20073. type: integer
  20074. askordervolume8:
  20075. description: 卖单量8
  20076. type: integer
  20077. askordervolume9:
  20078. description: 卖单量9
  20079. type: integer
  20080. askordervolume10:
  20081. description: 卖单量10
  20082. type: integer
  20083. askqueueinfo:
  20084. description: 大利市卖港股用
  20085. type: string
  20086. askvolume:
  20087. description: 卖量1
  20088. type: integer
  20089. askvolume2:
  20090. description: 卖量2
  20091. type: integer
  20092. askvolume3:
  20093. description: 卖量3
  20094. type: integer
  20095. askvolume4:
  20096. description: 卖量4
  20097. type: integer
  20098. askvolume5:
  20099. description: 卖量5
  20100. type: integer
  20101. askvolume6:
  20102. description: 卖量6
  20103. type: integer
  20104. askvolume7:
  20105. description: 卖量7
  20106. type: integer
  20107. askvolume8:
  20108. description: 卖量8
  20109. type: integer
  20110. askvolume9:
  20111. description: 卖量9
  20112. type: integer
  20113. askvolume10:
  20114. description: 卖量10
  20115. type: integer
  20116. averageprice:
  20117. description: 均价
  20118. type: number
  20119. bid:
  20120. description: 买1
  20121. type: number
  20122. bid2:
  20123. description: 买2
  20124. type: number
  20125. bid3:
  20126. description: 买3
  20127. type: number
  20128. bid4:
  20129. description: 买4
  20130. type: number
  20131. bid5:
  20132. description: 买5
  20133. type: number
  20134. bid6:
  20135. description: 买6
  20136. type: number
  20137. bid7:
  20138. description: 买7
  20139. type: number
  20140. bid8:
  20141. description: 买8
  20142. type: number
  20143. bid9:
  20144. description: 买9
  20145. type: number
  20146. bid10:
  20147. description: 买10
  20148. type: number
  20149. bidorderid:
  20150. description: 买单号1
  20151. type: integer
  20152. bidorderid2:
  20153. description: 买单号2
  20154. type: integer
  20155. bidorderid3:
  20156. description: 买单号3
  20157. type: integer
  20158. bidorderid4:
  20159. description: 买单号4
  20160. type: integer
  20161. bidorderid5:
  20162. description: 买单号5
  20163. type: integer
  20164. bidordervolume:
  20165. description: 买单量1
  20166. type: integer
  20167. bidordervolume2:
  20168. description: 买单量2
  20169. type: integer
  20170. bidordervolume3:
  20171. description: 买单量3
  20172. type: integer
  20173. bidordervolume4:
  20174. description: 买单量4
  20175. type: integer
  20176. bidordervolume5:
  20177. description: 买单量5
  20178. type: integer
  20179. bidordervolume6:
  20180. description: 买单量6
  20181. type: integer
  20182. bidordervolume7:
  20183. description: 买单量7
  20184. type: integer
  20185. bidordervolume8:
  20186. description: 买单量8
  20187. type: integer
  20188. bidordervolume9:
  20189. description: 买单量9
  20190. type: integer
  20191. bidordervolume10:
  20192. description: 买单量10
  20193. type: integer
  20194. bidqueueinfo:
  20195. description: 大利市买港股用
  20196. type: string
  20197. bidvolume:
  20198. description: 买量1
  20199. type: integer
  20200. bidvolume2:
  20201. description: 买量2
  20202. type: integer
  20203. bidvolume3:
  20204. description: 买量3
  20205. type: integer
  20206. bidvolume4:
  20207. description: 买量4
  20208. type: integer
  20209. bidvolume5:
  20210. description: 买量5
  20211. type: integer
  20212. bidvolume6:
  20213. description: 买量6
  20214. type: integer
  20215. bidvolume7:
  20216. description: 买量7
  20217. type: integer
  20218. bidvolume8:
  20219. description: 买量8
  20220. type: integer
  20221. bidvolume9:
  20222. description: 买量9
  20223. type: integer
  20224. bidvolume10:
  20225. description: 买量10
  20226. type: integer
  20227. calloptionpremiums:
  20228. description: 认购期权1
  20229. type: integer
  20230. calloptionpremiums2:
  20231. description: 认购期权2
  20232. type: integer
  20233. calloptionpremiums3:
  20234. description: 认购期权3
  20235. type: integer
  20236. calloptionpremiums4:
  20237. description: 认购期权4
  20238. type: integer
  20239. calloptionpremiums5:
  20240. description: 认购期权5
  20241. type: integer
  20242. cleartime:
  20243. description: 清盘时间
  20244. type: integer
  20245. exchangecode:
  20246. description: 交易所代码
  20247. type: integer
  20248. exchangedate:
  20249. description: 交易日
  20250. type: integer
  20251. goodscode:
  20252. description: 商品代码
  20253. type: string
  20254. grepmarketprice:
  20255. description: 暗盘价 港股专用
  20256. type: number
  20257. highest:
  20258. description: 最高价
  20259. type: number
  20260. holdincrement:
  20261. description: 单笔持仓
  20262. type: integer
  20263. holdvolume:
  20264. description: 持仓
  20265. type: integer
  20266. iep:
  20267. description: 平衡价 港股专用
  20268. type: number
  20269. iev:
  20270. description: 平衡量 港股专用
  20271. type: number
  20272. inventory:
  20273. description: 库存
  20274. type: integer
  20275. iscleared:
  20276. description: 是否清盘标志
  20277. type: integer
  20278. issettled:
  20279. description: 是否结算标志
  20280. type: integer
  20281. last:
  20282. description: 最新价
  20283. type: number
  20284. lastlot:
  20285. description: 最新成交手数
  20286. type: integer
  20287. lasttime:
  20288. description: 行情时间(只有现价变化行情时间才变化)
  20289. type: string
  20290. lastturnover:
  20291. description: 最新成交金额
  20292. type: number
  20293. lastvolume:
  20294. description: 最新成交量
  20295. type: integer
  20296. limitdown:
  20297. description: 跌停价
  20298. type: number
  20299. limitup:
  20300. description: 涨停价
  20301. type: number
  20302. lowest:
  20303. description: 最低价
  20304. type: number
  20305. nontotalholdervolume:
  20306. description: 非交易持仓量
  20307. type: integer
  20308. nontotallot:
  20309. description: 非交易总手数
  20310. type: integer
  20311. nontotalturnover:
  20312. description: 非交易总金额
  20313. type: integer
  20314. nontotalvolume:
  20315. description: 非交易总量
  20316. type: integer
  20317. opened:
  20318. description: 开盘价
  20319. type: number
  20320. opentime:
  20321. description: 开盘时间
  20322. type: string
  20323. orderid:
  20324. description: 序号
  20325. type: integer
  20326. preclose:
  20327. description: 昨收
  20328. type: number
  20329. preholdvolume:
  20330. description: 昨持仓
  20331. type: integer
  20332. presettle:
  20333. description: 昨结价
  20334. type: number
  20335. publictradetype:
  20336. description: 公共交易标志类型 港股专用
  20337. type: string
  20338. putoptionpremiums:
  20339. description: 认沽期权1
  20340. type: integer
  20341. putoptionpremiums2:
  20342. description: 认沽期权2
  20343. type: integer
  20344. putoptionpremiums3:
  20345. description: 认沽期权3
  20346. type: integer
  20347. putoptionpremiums4:
  20348. description: 认沽期权4
  20349. type: integer
  20350. putoptionpremiums5:
  20351. description: 认沽期权5
  20352. type: integer
  20353. settle:
  20354. description: 结算价
  20355. type: number
  20356. strikeprice:
  20357. description: 发行价
  20358. type: number
  20359. totalaskvolume:
  20360. description: 内盘
  20361. type: integer
  20362. totalbidvolume:
  20363. description: 外盘
  20364. type: integer
  20365. totallot:
  20366. description: 总手数
  20367. type: integer
  20368. totalturnover:
  20369. description: 总金额
  20370. type: number
  20371. totalvolume:
  20372. description: 总量
  20373. type: integer
  20374. utclasttime:
  20375. description: utc的行情时间
  20376. type: string
  20377. type: object
  20378. quote.QueryTSDataRsp:
  20379. properties:
  20380. Count:
  20381. description: 交易日应有数据个数
  20382. type: integer
  20383. decimalPlace:
  20384. description: 小数位
  20385. type: integer
  20386. endTime:
  20387. description: 结束时间
  20388. type: string
  20389. goodsCode:
  20390. description: 商品代码
  20391. type: string
  20392. historyDatas:
  20393. description: 历史数据
  20394. items:
  20395. $ref: '#/definitions/quote.HistoryData'
  20396. type: array
  20397. outGoodsCode:
  20398. description: 外部商品代码
  20399. type: string
  20400. preSettle:
  20401. description: 昨结价
  20402. type: number
  20403. runSteps:
  20404. description: 交易日开休市计划
  20405. items:
  20406. $ref: '#/definitions/quote.TSDataRunStep'
  20407. type: array
  20408. startTime:
  20409. description: 开始时间
  20410. type: string
  20411. tradeDate:
  20412. description: 交易日
  20413. type: string
  20414. type: object
  20415. quote.TSDataRunStep:
  20416. properties:
  20417. end:
  20418. description: 真实结束时间
  20419. type: string
  20420. endflag:
  20421. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  20422. type: integer
  20423. endtime:
  20424. description: 结束时间(HH:mm)
  20425. type: string
  20426. endweekday:
  20427. description: 结束周几
  20428. type: integer
  20429. groupid:
  20430. description: 分组ID
  20431. type: integer
  20432. runstep:
  20433. description: 运行阶段 - 2:连续交易
  20434. type: integer
  20435. sectionid:
  20436. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  20437. 结束时间=结算时间 结束周几=结算周几
  20438. type: integer
  20439. start:
  20440. description: 真实开始时间
  20441. type: string
  20442. startflag:
  20443. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  20444. type: integer
  20445. starttime:
  20446. description: 起始时间(HH:mm)
  20447. type: string
  20448. startweekday:
  20449. description: 起始周几
  20450. type: integer
  20451. tradeweekday:
  20452. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  20453. type: integer
  20454. type: object
  20455. szdz.QueryConvertLogRsp:
  20456. properties:
  20457. accountid:
  20458. description: 资金账户ID
  20459. type: integer
  20460. clientticket:
  20461. description: 客户端流水号
  20462. type: string
  20463. converttype:
  20464. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  20465. type: integer
  20466. createtime:
  20467. description: 记账时间
  20468. type: string
  20469. daymaxvalue:
  20470. description: 配置当日最大转入限制
  20471. type: number
  20472. daymaxvalue2:
  20473. description: 配置当日最大转入限制(转入)
  20474. type: number
  20475. goodscode:
  20476. description: 商品代码
  20477. type: string
  20478. goodsname:
  20479. description: 商品名称
  20480. type: string
  20481. handlestatus:
  20482. description: 处理状态
  20483. type: integer
  20484. innergoodsid:
  20485. description: 内部商品ID
  20486. type: integer
  20487. inratio:
  20488. description: 配置转入比值
  20489. type: integer
  20490. invalue:
  20491. description: 目标值
  20492. type: number
  20493. logid:
  20494. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20495. type: integer
  20496. mobile:
  20497. description: 手机号码(加密存储)
  20498. type: string
  20499. outergoodscode:
  20500. description: 外部商品代码[JD\PD]
  20501. type: string
  20502. outratio:
  20503. description: 配置转出比值
  20504. type: integer
  20505. outvalue:
  20506. description: 源值
  20507. type: number
  20508. pddecimalplace:
  20509. description: PD小数位
  20510. type: integer
  20511. qty:
  20512. description: 数量
  20513. type: string
  20514. remark:
  20515. description: 备注
  20516. type: string
  20517. sessionid:
  20518. description: 会话ID
  20519. type: integer
  20520. timemaxvalue:
  20521. description: 配置单次最大转入限制
  20522. type: number
  20523. timemaxvalue2:
  20524. description: 配置单次最大转入限制(转入)
  20525. type: number
  20526. timeminvalue:
  20527. description: 配置单次最小数量限制
  20528. type: number
  20529. timeminvalue2:
  20530. description: 配置单次最小数量限制(转入)
  20531. type: number
  20532. tradedate:
  20533. description: 交易日(yyyyMMdd)
  20534. type: string
  20535. userid:
  20536. description: 用户ID
  20537. type: integer
  20538. required:
  20539. - logid
  20540. type: object
  20541. szdz.QueryGoodsPickupRsp:
  20542. properties:
  20543. accountid:
  20544. description: 账户ID
  20545. type: integer
  20546. address:
  20547. description: 提货人详细地址
  20548. type: string
  20549. auditer:
  20550. description: 审核人
  20551. type: integer
  20552. audittime:
  20553. description: 审核时间
  20554. type: string
  20555. cardnum:
  20556. description: 提货人证件号码
  20557. type: string
  20558. cardtypeid:
  20559. description: 提货人证件类型
  20560. type: integer
  20561. checkremark:
  20562. description: 审核备注
  20563. type: string
  20564. goodscode:
  20565. description: 商品代码
  20566. type: string
  20567. goodsid:
  20568. description: 商品ID
  20569. type: integer
  20570. goodsname:
  20571. description: 商品名称
  20572. type: string
  20573. handlestatus:
  20574. description: 处理状态
  20575. type: integer
  20576. marketid:
  20577. description: 市场ID
  20578. type: integer
  20579. phonenum:
  20580. description: 提货人联系方式
  20581. type: string
  20582. qty:
  20583. description: 提货数量
  20584. type: number
  20585. recivername:
  20586. description: 提货人姓名
  20587. type: string
  20588. reqtime:
  20589. description: 更新时间
  20590. type: string
  20591. takemode:
  20592. description: 提货方式 - 2:自提 3:配送
  20593. type: integer
  20594. takeorderid:
  20595. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  20596. type: string
  20597. takeorderstatus:
  20598. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20599. type: integer
  20600. takeremark:
  20601. description: 提货备注
  20602. type: string
  20603. tradedate:
  20604. description: 交易日(yyyyMMdd)
  20605. type: string
  20606. userid:
  20607. description: 用户ID
  20608. type: integer
  20609. required:
  20610. - takeorderid
  20611. type: object
  20612. szdz.QueryRecieptOrderRsp:
  20613. properties:
  20614. accountName:
  20615. description: 所属账号名称(已脱敏)
  20616. type: string
  20617. accountid:
  20618. description: 资金账号
  20619. type: integer
  20620. buyorsell:
  20621. description: 方向 - 0:买 1:卖
  20622. type: integer
  20623. enableqty:
  20624. description: 可摘数量
  20625. type: integer
  20626. goodscode:
  20627. description: 商品代码
  20628. type: string
  20629. goodsid:
  20630. description: 商品ID
  20631. type: integer
  20632. goodsname:
  20633. description: 商品名称
  20634. type: string
  20635. orderid:
  20636. description: 委托单号
  20637. type: string
  20638. orderprice:
  20639. description: 委托价格
  20640. type: number
  20641. ordertime:
  20642. description: 委托时间
  20643. type: string
  20644. tradedate:
  20645. description: 交易日(yyyyMMdd)
  20646. type: string
  20647. required:
  20648. - ordertime
  20649. type: object
  20650. szdz.QuerySZDZTradePositionRsp:
  20651. properties:
  20652. accountid:
  20653. description: 账号Id
  20654. type: integer
  20655. agreeunit:
  20656. description: 合约单位
  20657. type: number
  20658. averageprice:
  20659. description: 持仓均价
  20660. type: number
  20661. buyorsell:
  20662. description: 方向 - 0:买 1:卖
  20663. type: integer
  20664. closetotalqty:
  20665. description: 平仓总数量
  20666. type: integer
  20667. curholderamount:
  20668. description: 当前持仓总金额
  20669. type: number
  20670. curpositionqty:
  20671. description: 当前持仓总数量
  20672. type: integer
  20673. currencyid:
  20674. description: 报价货币ID
  20675. type: integer
  20676. curtdposition:
  20677. description: 期末今日头寸
  20678. type: integer
  20679. decimalplace:
  20680. description: 报价小数位
  20681. type: integer
  20682. enableqty:
  20683. description: 可用量
  20684. type: integer
  20685. fretdposition:
  20686. description: 冻结今日头寸
  20687. type: integer
  20688. frozenqty:
  20689. description: 持仓冻结数量
  20690. type: integer
  20691. goodscode:
  20692. description: 商品代码(内部)
  20693. type: string
  20694. goodsid:
  20695. description: 商品Id
  20696. type: integer
  20697. goodsname:
  20698. description: 商品名称
  20699. type: string
  20700. goodunit:
  20701. description: 报价单位
  20702. type: string
  20703. goodunitid:
  20704. description: 报价单位ID
  20705. type: integer
  20706. holderamount:
  20707. description: 期初持仓总金额
  20708. type: number
  20709. marketid:
  20710. description: 市场ID
  20711. type: integer
  20712. openreqqty:
  20713. description: 开仓申请数量
  20714. type: integer
  20715. opentotalqty:
  20716. description: 开仓总数量
  20717. type: integer
  20718. otherfrozenqty:
  20719. description: 持仓其他冻结数量(交割冻结)
  20720. type: integer
  20721. positionqty:
  20722. description: 期初持仓数量
  20723. type: integer
  20724. szdz3freezqty:
  20725. description: 尚志大宗转换冻结总数量
  20726. type: integer
  20727. tnqty:
  20728. description: T+N冻结总量
  20729. type: integer
  20730. tnusedqty:
  20731. description: T+N使用量
  20732. type: integer
  20733. trademode:
  20734. description: 交易模式
  20735. type: integer
  20736. usedmargin:
  20737. description: 占用保证金
  20738. type: number
  20739. type: object
  20740. taaccount.QueryAmountLogRsp:
  20741. properties:
  20742. OPERATETYPENAME:
  20743. description: 资金操作类型名称
  20744. type: string
  20745. accountid:
  20746. description: 资金账户ID
  20747. type: integer
  20748. agoodscode:
  20749. description: 竞拍商品代码
  20750. type: string
  20751. agoodsname:
  20752. description: 竞拍商品名称
  20753. type: string
  20754. amount:
  20755. description: 资金金额
  20756. type: number
  20757. amountadjusttype:
  20758. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  20759. type: integer
  20760. autoid:
  20761. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  20762. type: integer
  20763. balance:
  20764. description: 期初余额
  20765. type: number
  20766. businesscode:
  20767. description: 业务编号
  20768. type: integer
  20769. createtime:
  20770. description: 发生时间
  20771. type: string
  20772. currencyid:
  20773. description: 币种ID
  20774. type: integer
  20775. currentbalance:
  20776. description: 期末余额(变动后金额)
  20777. type: number
  20778. dgoodscode:
  20779. description: 交割商品代码
  20780. type: string
  20781. dgoodsname:
  20782. description: 交割商品名称
  20783. type: string
  20784. goodscode:
  20785. description: 商品代码
  20786. type: string
  20787. goodsid:
  20788. description: 商品ID
  20789. type: integer
  20790. goodsname:
  20791. description: 商品名称
  20792. type: string
  20793. marketid:
  20794. description: 市场ID
  20795. type: integer
  20796. marketname:
  20797. description: 市场名称
  20798. type: string
  20799. moneyticket:
  20800. description: 资金流水号:银行端流水号
  20801. type: integer
  20802. operatetype:
  20803. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  20804. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  20805. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  20806. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  20807. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  20808. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  20809. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  20810. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  20811. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  20812. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  20813. type: integer
  20814. relationorderid:
  20815. description: 关联单号
  20816. type: string
  20817. remark:
  20818. description: 备注
  20819. type: string
  20820. trademode:
  20821. description: 交易模式
  20822. type: integer
  20823. required:
  20824. - accountid
  20825. - amount
  20826. - amountadjusttype
  20827. - autoid
  20828. - balance
  20829. - createtime
  20830. - currentbalance
  20831. - operatetype
  20832. type: object
  20833. taaccount.QueryHisAmountLogRsp:
  20834. properties:
  20835. OPERATETYPENAME:
  20836. description: 资金操作类型名称
  20837. type: string
  20838. accountid:
  20839. description: 资金账户ID
  20840. type: integer
  20841. agoodscode:
  20842. description: 竞拍商品代码
  20843. type: string
  20844. agoodsname:
  20845. description: 竞拍商品名称
  20846. type: string
  20847. amount:
  20848. description: 资金金额
  20849. type: number
  20850. amountadjusttype:
  20851. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  20852. type: integer
  20853. autoid:
  20854. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  20855. type: integer
  20856. balance:
  20857. description: 期初余额
  20858. type: number
  20859. businesscode:
  20860. description: 业务编号
  20861. type: integer
  20862. createtime:
  20863. description: 发生时间
  20864. type: string
  20865. currencyid:
  20866. description: 币种ID
  20867. type: integer
  20868. currentbalance:
  20869. description: 期末余额(变动后金额)
  20870. type: number
  20871. dgoodscode:
  20872. description: 交割商品代码
  20873. type: string
  20874. dgoodsname:
  20875. description: 交割商品名称
  20876. type: string
  20877. goodscode:
  20878. description: 商品代码
  20879. type: string
  20880. goodsid:
  20881. description: 商品ID
  20882. type: integer
  20883. goodsname:
  20884. description: 商品名称
  20885. type: string
  20886. histradedate:
  20887. description: 历史交易日
  20888. type: string
  20889. isvaliddata:
  20890. description: 是否有效 - 0:无效 1:有效
  20891. type: integer
  20892. marketid:
  20893. description: 市场ID
  20894. type: integer
  20895. marketname:
  20896. description: 市场名称
  20897. type: string
  20898. moneyticket:
  20899. description: 资金流水号:银行端流水号
  20900. type: integer
  20901. operatetype:
  20902. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  20903. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  20904. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  20905. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  20906. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  20907. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  20908. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  20909. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  20910. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  20911. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  20912. type: integer
  20913. relationorderid:
  20914. description: 关联单号
  20915. type: string
  20916. remark:
  20917. description: 备注
  20918. type: string
  20919. trademode:
  20920. description: 交易模式
  20921. type: integer
  20922. required:
  20923. - accountid
  20924. - amount
  20925. - amountadjusttype
  20926. - autoid
  20927. - balance
  20928. - createtime
  20929. - currentbalance
  20930. - histradedate
  20931. - operatetype
  20932. type: object
  20933. trade.QueryRecieptOrderRsp:
  20934. properties:
  20935. accountName:
  20936. description: 所属账号名称(已脱敏)
  20937. type: string
  20938. accountid:
  20939. description: 资金账号
  20940. type: integer
  20941. buyorsell:
  20942. description: 方向 - 0:买 1:卖
  20943. type: integer
  20944. enableqty:
  20945. description: 可摘数量
  20946. type: integer
  20947. goodscode:
  20948. description: 商品代码
  20949. type: string
  20950. goodsid:
  20951. description: 商品ID
  20952. type: integer
  20953. goodsname:
  20954. description: 商品名称
  20955. type: string
  20956. orderid:
  20957. description: 委托单号
  20958. type: string
  20959. orderprice:
  20960. description: 委托价格
  20961. type: number
  20962. ordertime:
  20963. description: 委托时间
  20964. type: string
  20965. tradedate:
  20966. description: 交易日(yyyyMMdd)
  20967. type: string
  20968. required:
  20969. - ordertime
  20970. type: object
  20971. user.LoginQueryRsp:
  20972. properties:
  20973. areaRoles:
  20974. description: 所属角色信息
  20975. items:
  20976. $ref: '#/definitions/models.Arearole'
  20977. type: array
  20978. externalExchanges:
  20979. description: 外部交易所
  20980. items:
  20981. $ref: '#/definitions/models.Externalexchange'
  20982. type: array
  20983. goodsgroups:
  20984. description: 商品组
  20985. items:
  20986. $ref: '#/definitions/models.Goodsgroup'
  20987. type: array
  20988. loginAccount:
  20989. $ref: '#/definitions/models.Loginaccount'
  20990. description: 登录账号
  20991. markets:
  20992. description: 市场
  20993. items:
  20994. $ref: '#/definitions/models.Market'
  20995. type: array
  20996. systemParams:
  20997. description: 系统参数
  20998. items:
  20999. $ref: '#/definitions/models.Systemparam'
  21000. type: array
  21001. userAccount:
  21002. $ref: '#/definitions/models.Useraccount'
  21003. description: 用户账号
  21004. userInfo:
  21005. $ref: '#/definitions/models.Userinfo'
  21006. description: 用户信息
  21007. username:
  21008. description: 用户姓名
  21009. type: string
  21010. type: object
  21011. info:
  21012. contact: {}
  21013. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  21014. termsOfService: http://www.muchinfo.cn
  21015. title: MTP2.0 查询服务 API
  21016. version: "1.0"
  21017. paths:
  21018. /CPTrade/QueryCPTradeMyBidInfos:
  21019. get:
  21020. parameters:
  21021. - description: 资金账户
  21022. in: query
  21023. name: accountid
  21024. required: true
  21025. type: integer
  21026. - description: 预售市场ID
  21027. in: query
  21028. name: marketid
  21029. type: integer
  21030. - description: 预售商品ID
  21031. in: query
  21032. name: goodsid
  21033. type: integer
  21034. produces:
  21035. - application/json
  21036. responses:
  21037. "200":
  21038. description: OK
  21039. schema:
  21040. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  21041. "500":
  21042. description: Internal Server Error
  21043. schema:
  21044. $ref: '#/definitions/app.Response'
  21045. security:
  21046. - ApiKeyAuth: []
  21047. summary: 查询产能预售我的出价信息
  21048. tags:
  21049. - 产能预售
  21050. /CPTrade/QueryCPTradeOrderDetail:
  21051. get:
  21052. parameters:
  21053. - description: 预售商品ID
  21054. in: query
  21055. name: goodsid
  21056. type: integer
  21057. - description: 预售市场ID
  21058. in: query
  21059. name: marketid
  21060. type: integer
  21061. - description: 预售商品ID列表 - 格式:1,2,3
  21062. in: query
  21063. name: goodsids
  21064. type: string
  21065. produces:
  21066. - application/json
  21067. responses:
  21068. "200":
  21069. description: OK
  21070. schema:
  21071. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  21072. "500":
  21073. description: Internal Server Error
  21074. schema:
  21075. $ref: '#/definitions/app.Response'
  21076. security:
  21077. - ApiKeyAuth: []
  21078. summary: 查询产能预售委托单信息
  21079. tags:
  21080. - 产能预售
  21081. /CPTrade/QueryMyCPTradeGoods:
  21082. get:
  21083. parameters:
  21084. - description: 资金账户
  21085. in: query
  21086. name: accountid
  21087. required: true
  21088. type: integer
  21089. produces:
  21090. - application/json
  21091. responses:
  21092. "200":
  21093. description: OK
  21094. schema:
  21095. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  21096. "500":
  21097. description: Internal Server Error
  21098. schema:
  21099. $ref: '#/definitions/app.Response'
  21100. security:
  21101. - ApiKeyAuth: []
  21102. summary: 查询我的预售信息
  21103. tags:
  21104. - 产能预售
  21105. /CPTrade/QueryPositionCancel:
  21106. get:
  21107. parameters:
  21108. - description: 账户ID
  21109. in: query
  21110. name: userid
  21111. required: true
  21112. type: integer
  21113. - description: 注销ID
  21114. in: query
  21115. name: cancelid
  21116. type: integer
  21117. - description: 资金账户ID
  21118. in: query
  21119. name: accountid
  21120. type: integer
  21121. produces:
  21122. - application/json
  21123. responses:
  21124. "200":
  21125. description: OK
  21126. schema:
  21127. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  21128. "500":
  21129. description: Internal Server Error
  21130. schema:
  21131. $ref: '#/definitions/app.Response'
  21132. security:
  21133. - ApiKeyAuth: []
  21134. summary: 查询远期订单注销申请信息
  21135. tags:
  21136. - 产能预售
  21137. /CPTrade/QueryPreasleApply:
  21138. get:
  21139. parameters:
  21140. - description: 账户ID
  21141. in: query
  21142. name: userid
  21143. required: true
  21144. type: integer
  21145. - description: 申请ID
  21146. in: query
  21147. name: applyid
  21148. type: integer
  21149. - description: 资金账户ID
  21150. in: query
  21151. name: accountid
  21152. type: integer
  21153. produces:
  21154. - application/json
  21155. responses:
  21156. "200":
  21157. description: OK
  21158. schema:
  21159. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  21160. "500":
  21161. description: Internal Server Error
  21162. schema:
  21163. $ref: '#/definitions/app.Response'
  21164. security:
  21165. - ApiKeyAuth: []
  21166. summary: 查询产能预售申请信息
  21167. tags:
  21168. - 产能预售
  21169. /CPTrade/QueryPresaleGoodsEx:
  21170. get:
  21171. parameters:
  21172. - description: 预售商品ID
  21173. in: query
  21174. name: goodsid
  21175. type: integer
  21176. - description: 预售市场ID
  21177. in: query
  21178. name: marketid
  21179. type: integer
  21180. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  21181. in: query
  21182. name: presalemode
  21183. type: integer
  21184. - description: 预售商品ID列表 - 格式:1,2,3
  21185. in: query
  21186. name: goodsids
  21187. type: string
  21188. - description: 预售商品代码
  21189. in: query
  21190. name: goodscode
  21191. type: string
  21192. produces:
  21193. - application/json
  21194. responses:
  21195. "200":
  21196. description: OK
  21197. schema:
  21198. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  21199. "500":
  21200. description: Internal Server Error
  21201. schema:
  21202. $ref: '#/definitions/app.Response'
  21203. security:
  21204. - ApiKeyAuth: []
  21205. summary: 查询产能预售商品扩展信息
  21206. tags:
  21207. - 产能预售
  21208. /CPTrade/QueryUserGoodsData:
  21209. get:
  21210. parameters:
  21211. - description: 资金账户ID
  21212. in: query
  21213. name: accountid
  21214. required: true
  21215. type: integer
  21216. produces:
  21217. - application/json
  21218. responses:
  21219. "200":
  21220. description: OK
  21221. schema:
  21222. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  21223. "500":
  21224. description: Internal Server Error
  21225. schema:
  21226. $ref: '#/definitions/app.Response'
  21227. security:
  21228. - ApiKeyAuth: []
  21229. summary: 查询远期订单信息
  21230. tags:
  21231. - 产能预售
  21232. /Common/GetAllEnums:
  21233. get:
  21234. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  21235. parameters:
  21236. - description: 起始自增ID
  21237. in: query
  21238. name: autoid
  21239. type: integer
  21240. produces:
  21241. - application/json
  21242. responses:
  21243. "200":
  21244. description: OK
  21245. schema:
  21246. $ref: '#/definitions/models.Enumdicitem'
  21247. "500":
  21248. description: Internal Server Error
  21249. schema:
  21250. $ref: '#/definitions/app.Response'
  21251. summary: 获取所有枚举信息
  21252. tags:
  21253. - 通用服务
  21254. /Common/GetClientMenus:
  21255. get:
  21256. parameters:
  21257. - description: 登录账号
  21258. in: query
  21259. name: loginID
  21260. required: true
  21261. type: integer
  21262. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  21263. in: query
  21264. name: clientType
  21265. type: integer
  21266. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  21267. in: query
  21268. name: name
  21269. type: string
  21270. produces:
  21271. - application/json
  21272. responses:
  21273. "200":
  21274. description: OK
  21275. schema:
  21276. items:
  21277. $ref: '#/definitions/common.ClientMenu'
  21278. type: array
  21279. "500":
  21280. description: Internal Server Error
  21281. schema:
  21282. $ref: '#/definitions/app.Response'
  21283. security:
  21284. - ApiKeyAuth: []
  21285. summary: 获取交易端菜单
  21286. tags:
  21287. - 通用服务
  21288. /Common/GetDivisions:
  21289. get:
  21290. produces:
  21291. - application/json
  21292. responses:
  21293. "200":
  21294. description: OK
  21295. schema:
  21296. $ref: '#/definitions/models.Division'
  21297. "500":
  21298. description: Internal Server Error
  21299. schema:
  21300. $ref: '#/definitions/app.Response'
  21301. summary: 查询区域信息
  21302. tags:
  21303. - 通用服务
  21304. /Common/GetPCWebMenus:
  21305. get:
  21306. parameters:
  21307. - description: 登录账号
  21308. in: query
  21309. name: loginID
  21310. required: true
  21311. type: integer
  21312. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  21313. in: query
  21314. name: name
  21315. type: string
  21316. produces:
  21317. - application/json
  21318. responses:
  21319. "200":
  21320. description: OK
  21321. schema:
  21322. items:
  21323. $ref: '#/definitions/common.PCWebMenu'
  21324. type: array
  21325. "500":
  21326. description: Internal Server Error
  21327. schema:
  21328. $ref: '#/definitions/app.Response'
  21329. security:
  21330. - ApiKeyAuth: []
  21331. summary: 获取PCWeb交易端菜单
  21332. tags:
  21333. - 通用服务
  21334. /Common/GetServerTime:
  21335. get:
  21336. produces:
  21337. - application/json
  21338. responses:
  21339. "200":
  21340. description: OK
  21341. schema:
  21342. $ref: '#/definitions/app.Response'
  21343. "500":
  21344. description: Internal Server Error
  21345. schema:
  21346. $ref: '#/definitions/app.Response'
  21347. summary: 获取服务器时间
  21348. tags:
  21349. - 通用服务
  21350. /Common/NoticeReaded:
  21351. post:
  21352. parameters:
  21353. - description: 登录账号
  21354. in: query
  21355. name: loginID
  21356. required: true
  21357. type: integer
  21358. - description: 通知公告ID
  21359. in: query
  21360. name: noticeID
  21361. required: true
  21362. type: integer
  21363. produces:
  21364. - application/json
  21365. responses:
  21366. "200":
  21367. description: OK
  21368. schema:
  21369. $ref: '#/definitions/app.Response'
  21370. "500":
  21371. description: Internal Server Error
  21372. schema:
  21373. $ref: '#/definitions/app.Response'
  21374. security:
  21375. - ApiKeyAuth: []
  21376. summary: 通知公告设置已读请求
  21377. tags:
  21378. - 通用服务
  21379. /Common/QueryErrorInfos:
  21380. get:
  21381. description: 如果传入rowNumber,则返回此rowNumber后的数据
  21382. parameters:
  21383. - description: 起始行号前索引
  21384. in: query
  21385. name: rowNumber
  21386. type: string
  21387. produces:
  21388. - application/json
  21389. responses:
  21390. "200":
  21391. description: OK
  21392. schema:
  21393. $ref: '#/definitions/models.QueryErrorInfosRsp'
  21394. "500":
  21395. description: Internal Server Error
  21396. schema:
  21397. $ref: '#/definitions/app.Response'
  21398. summary: 获取数据库错误信息
  21399. tags:
  21400. - 通用服务
  21401. /Common/QueryImageConfigs:
  21402. get:
  21403. parameters:
  21404. - description: 用户id
  21405. in: query
  21406. name: userId
  21407. type: integer
  21408. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  21409. in: query
  21410. name: imageType
  21411. type: integer
  21412. produces:
  21413. - application/json
  21414. responses:
  21415. "200":
  21416. description: OK
  21417. schema:
  21418. $ref: '#/definitions/common.QueryImageConfigsRsp'
  21419. "500":
  21420. description: Internal Server Error
  21421. schema:
  21422. $ref: '#/definitions/app.Response'
  21423. summary: 查询轮播图配置信息
  21424. tags:
  21425. - 通用服务
  21426. /Common/QueryNotice:
  21427. get:
  21428. parameters:
  21429. - description: 页码
  21430. in: query
  21431. name: page
  21432. type: integer
  21433. - description: 每页条数
  21434. in: query
  21435. name: pagesize
  21436. type: integer
  21437. - description: 登录账号
  21438. in: query
  21439. name: loginID
  21440. required: true
  21441. type: integer
  21442. - description: 消息类型 - 1:公告通知 2:系统消息
  21443. in: query
  21444. name: msgType
  21445. type: integer
  21446. - description: 是否只获取未读信息
  21447. in: query
  21448. name: onlyUnRead
  21449. type: boolean
  21450. - description: 自增ID,传入后会返回这个ID后面的记录
  21451. in: query
  21452. name: lastID
  21453. type: integer
  21454. produces:
  21455. - application/json
  21456. responses:
  21457. "200":
  21458. description: OK
  21459. schema:
  21460. $ref: '#/definitions/common.QueryNoticeRsp'
  21461. "500":
  21462. description: Internal Server Error
  21463. schema:
  21464. $ref: '#/definitions/app.Response'
  21465. security:
  21466. - ApiKeyAuth: []
  21467. summary: 通知公告系统消息查询
  21468. tags:
  21469. - 通用服务
  21470. /Common/QueryProvincesAndCities:
  21471. get:
  21472. parameters:
  21473. - description: 省ID
  21474. in: query
  21475. name: provinceID
  21476. type: integer
  21477. produces:
  21478. - application/json
  21479. responses:
  21480. "200":
  21481. description: OK
  21482. schema:
  21483. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  21484. "500":
  21485. description: Internal Server Error
  21486. schema:
  21487. $ref: '#/definitions/app.Response'
  21488. summary: 查询省市信息(不包括区)
  21489. tags:
  21490. - 通用服务
  21491. /Common/QueryTableDefine:
  21492. get:
  21493. parameters:
  21494. - description: 表key
  21495. in: query
  21496. name: tableKey
  21497. type: string
  21498. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  21499. in: query
  21500. name: tableType
  21501. type: integer
  21502. produces:
  21503. - application/json
  21504. responses:
  21505. "200":
  21506. description: OK
  21507. schema:
  21508. $ref: '#/definitions/common.QueryTableDefineRsp'
  21509. "500":
  21510. description: Internal Server Error
  21511. schema:
  21512. $ref: '#/definitions/app.Response'
  21513. summary: 查询交易端列表头信息
  21514. tags:
  21515. - 通用服务
  21516. /Common/QueryTraderMenu:
  21517. get:
  21518. parameters:
  21519. - description: 登录账号
  21520. in: query
  21521. name: loginid
  21522. required: true
  21523. type: integer
  21524. produces:
  21525. - application/json
  21526. responses:
  21527. "200":
  21528. description: OK
  21529. schema:
  21530. $ref: '#/definitions/common.QueryTraderMenuRsp'
  21531. "500":
  21532. description: Internal Server Error
  21533. schema:
  21534. $ref: '#/definitions/app.Response'
  21535. summary: 查询交易端菜单
  21536. tags:
  21537. - 通用服务
  21538. /Delivery/QueryDeliveryRelation:
  21539. get:
  21540. parameters:
  21541. - description: 商品ID
  21542. in: query
  21543. name: goodsid
  21544. type: integer
  21545. - description: 品种ID
  21546. in: query
  21547. name: deliverygoodsid
  21548. type: integer
  21549. - description: 市场ID
  21550. in: query
  21551. name: marketid
  21552. type: integer
  21553. produces:
  21554. - application/json
  21555. responses:
  21556. "200":
  21557. description: OK
  21558. schema:
  21559. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  21560. "500":
  21561. description: Internal Server Error
  21562. schema:
  21563. $ref: '#/definitions/app.Response'
  21564. security:
  21565. - ApiKeyAuth: []
  21566. summary: 查询商品交割关系表
  21567. tags:
  21568. - 交割服务
  21569. /Ermcp/GetErmcpGoods:
  21570. get:
  21571. parameters:
  21572. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  21573. in: query
  21574. name: userid
  21575. type: integer
  21576. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21577. in: query
  21578. name: lastUpdateTime
  21579. type: string
  21580. produces:
  21581. - application/json
  21582. responses:
  21583. "200":
  21584. description: OK
  21585. schema:
  21586. $ref: '#/definitions/models.ErmcpGoods'
  21587. "500":
  21588. description: Internal Server Error
  21589. schema:
  21590. $ref: '#/definitions/app.Response'
  21591. security:
  21592. - ApiKeyAuth: []
  21593. summary: 查询企业风管期货商品信息
  21594. tags:
  21595. - 企业风险管理(app)
  21596. /Ermcp/GetErmcpGoodsSortByPosition:
  21597. get:
  21598. parameters:
  21599. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  21600. in: query
  21601. name: sortIndex
  21602. type: string
  21603. produces:
  21604. - application/json
  21605. responses:
  21606. "200":
  21607. description: OK
  21608. schema:
  21609. $ref: '#/definitions/models.Goodssortbypreposition'
  21610. "500":
  21611. description: Internal Server Error
  21612. schema:
  21613. $ref: '#/definitions/app.Response'
  21614. security:
  21615. - ApiKeyAuth: []
  21616. summary: 查询企业风管期货主力、次主力商品信息
  21617. tags:
  21618. - 企业风险管理(app)
  21619. /Ermcp/GetErmcpOutAccountStatus:
  21620. get:
  21621. parameters:
  21622. - description: 登录账号
  21623. in: query
  21624. name: loginID
  21625. required: true
  21626. type: integer
  21627. produces:
  21628. - application/json
  21629. responses:
  21630. "200":
  21631. description: OK
  21632. schema:
  21633. $ref: '#/definitions/models.Hedgemarketopenlog'
  21634. "500":
  21635. description: Internal Server Error
  21636. schema:
  21637. $ref: '#/definitions/app.Response'
  21638. security:
  21639. - ApiKeyAuth: []
  21640. summary: 获取目标登录账号当前对冲账号在线状态
  21641. tags:
  21642. - 企业风险管理(app)
  21643. /Ermcp/GetErmcpRoleFuncMenuLists:
  21644. get:
  21645. parameters:
  21646. - description: 登录账号
  21647. in: query
  21648. name: loginID
  21649. required: true
  21650. type: integer
  21651. produces:
  21652. - application/json
  21653. responses:
  21654. "200":
  21655. description: OK
  21656. schema:
  21657. $ref: '#/definitions/models.Funcmenulist'
  21658. "500":
  21659. description: Internal Server Error
  21660. schema:
  21661. $ref: '#/definitions/app.Response'
  21662. security:
  21663. - ApiKeyAuth: []
  21664. summary: 获取企业风管终端权限
  21665. tags:
  21666. - 企业风险管理(app)
  21667. /Ermcp/QueryAccMgrBizGroupSet:
  21668. get:
  21669. parameters:
  21670. - description: 用户ID
  21671. in: query
  21672. name: userid
  21673. required: true
  21674. type: integer
  21675. - description: 现货商品id
  21676. in: query
  21677. name: deliverygoodsid
  21678. type: integer
  21679. produces:
  21680. - application/json
  21681. responses:
  21682. "200":
  21683. description: OK
  21684. schema:
  21685. items:
  21686. $ref: '#/definitions/models.ErmcpBizGroupEx'
  21687. type: array
  21688. "500":
  21689. description: Internal Server Error
  21690. schema:
  21691. $ref: '#/definitions/app.Response'
  21692. security:
  21693. - ApiKeyAuth: []
  21694. summary: 查询业务类型分组(账户管理/账户设置)
  21695. tags:
  21696. - 企业风险管理(app)
  21697. /Ermcp/QueryAccMgrLoginUser:
  21698. get:
  21699. parameters:
  21700. - description: 用户ID
  21701. in: query
  21702. name: userid
  21703. required: true
  21704. type: integer
  21705. - description: 用户类型 2-机构 7-企业成员
  21706. in: query
  21707. name: usertype
  21708. type: integer
  21709. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  21710. in: query
  21711. name: querytype
  21712. required: true
  21713. type: integer
  21714. produces:
  21715. - application/json
  21716. responses:
  21717. "200":
  21718. description: OK
  21719. schema:
  21720. items:
  21721. $ref: '#/definitions/models.ErmcpLoginUserEx'
  21722. type: array
  21723. "500":
  21724. description: Internal Server Error
  21725. schema:
  21726. $ref: '#/definitions/app.Response'
  21727. security:
  21728. - ApiKeyAuth: []
  21729. summary: 查询账户管理登录账号(账户管理/登录账号)
  21730. tags:
  21731. - 企业风险管理(app)
  21732. /Ermcp/QueryAccMgrMainAccountInfo:
  21733. get:
  21734. parameters:
  21735. - description: 用户ID
  21736. in: query
  21737. name: userid
  21738. type: integer
  21739. - description: 主账号id
  21740. in: query
  21741. name: accountid
  21742. type: integer
  21743. produces:
  21744. - application/json
  21745. responses:
  21746. "200":
  21747. description: OK
  21748. schema:
  21749. items:
  21750. $ref: '#/definitions/models.MainAccountInfo'
  21751. type: array
  21752. "500":
  21753. description: Internal Server Error
  21754. schema:
  21755. $ref: '#/definitions/app.Response'
  21756. security:
  21757. - ApiKeyAuth: []
  21758. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  21759. tags:
  21760. - 企业风险管理(app)
  21761. /Ermcp/QueryAccMgrRole:
  21762. get:
  21763. parameters:
  21764. - description: 用户ID
  21765. in: query
  21766. name: userid
  21767. required: true
  21768. type: integer
  21769. produces:
  21770. - application/json
  21771. responses:
  21772. "200":
  21773. description: OK
  21774. schema:
  21775. items:
  21776. $ref: '#/definitions/models.ErmcpRole'
  21777. type: array
  21778. "500":
  21779. description: Internal Server Error
  21780. schema:
  21781. $ref: '#/definitions/app.Response'
  21782. security:
  21783. - ApiKeyAuth: []
  21784. summary: 查询账户管理角色设置(账户管理/角色设置)
  21785. tags:
  21786. - 企业风险管理(app)
  21787. /Ermcp/QueryAccMgrRoleMenu:
  21788. get:
  21789. parameters:
  21790. - description: 用户ID
  21791. in: query
  21792. name: userid
  21793. required: true
  21794. type: integer
  21795. - description: 角色id(可多个,逗号隔开)
  21796. in: query
  21797. name: roleid
  21798. type: string
  21799. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  21800. in: query
  21801. name: menutype
  21802. type: integer
  21803. produces:
  21804. - application/json
  21805. responses:
  21806. "200":
  21807. description: OK
  21808. schema:
  21809. items:
  21810. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  21811. type: array
  21812. "500":
  21813. description: Internal Server Error
  21814. schema:
  21815. $ref: '#/definitions/app.Response'
  21816. security:
  21817. - ApiKeyAuth: []
  21818. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  21819. tags:
  21820. - 企业风险管理(app)
  21821. /Ermcp/QueryAccMgrTaAccountInfo:
  21822. get:
  21823. parameters:
  21824. - description: 用户ID
  21825. in: query
  21826. name: userid
  21827. required: true
  21828. type: integer
  21829. - description: 账号id
  21830. in: query
  21831. name: accountid
  21832. type: integer
  21833. produces:
  21834. - application/json
  21835. responses:
  21836. "200":
  21837. description: OK
  21838. schema:
  21839. items:
  21840. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  21841. type: array
  21842. "500":
  21843. description: Internal Server Error
  21844. schema:
  21845. $ref: '#/definitions/app.Response'
  21846. security:
  21847. - ApiKeyAuth: []
  21848. summary: 查询账户管理授信(账户管理/账户设置/授信)
  21849. tags:
  21850. - 企业风险管理(app)
  21851. /Ermcp/QueryAccMgrTaaccount:
  21852. get:
  21853. parameters:
  21854. - description: 用户ID
  21855. in: query
  21856. name: userid
  21857. required: true
  21858. type: integer
  21859. produces:
  21860. - application/json
  21861. responses:
  21862. "200":
  21863. description: OK
  21864. schema:
  21865. items:
  21866. $ref: '#/definitions/models.ErmcpTaAccountEx'
  21867. type: array
  21868. "500":
  21869. description: Internal Server Error
  21870. schema:
  21871. $ref: '#/definitions/app.Response'
  21872. security:
  21873. - ApiKeyAuth: []
  21874. summary: 查询账户管理期货账号(账户管理/期货账号)
  21875. tags:
  21876. - 企业风险管理(app)
  21877. /Ermcp/QueryAvaildGoodsGroup:
  21878. get:
  21879. parameters:
  21880. - description: 所属机构ID
  21881. in: query
  21882. name: userid
  21883. required: true
  21884. type: integer
  21885. produces:
  21886. - application/json
  21887. responses:
  21888. "200":
  21889. description: OK
  21890. schema:
  21891. items:
  21892. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  21893. type: array
  21894. "500":
  21895. description: Internal Server Error
  21896. schema:
  21897. $ref: '#/definitions/app.Response'
  21898. security:
  21899. - ApiKeyAuth: []
  21900. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  21901. tags:
  21902. - 企业风险管理(app)
  21903. /Ermcp/QueryBusinessDj:
  21904. get:
  21905. parameters:
  21906. - description: 用户ID
  21907. in: query
  21908. name: UserId
  21909. required: true
  21910. type: integer
  21911. - description: 用户类型 2-机构 7-企业成员
  21912. in: query
  21913. name: usertype
  21914. type: integer
  21915. - description: 现货合同ID, 不填则查所有
  21916. in: query
  21917. name: relatedid
  21918. type: string
  21919. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21920. in: query
  21921. name: applystatus
  21922. type: string
  21923. produces:
  21924. - application/json
  21925. responses:
  21926. "200":
  21927. description: OK
  21928. schema:
  21929. items:
  21930. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  21931. type: array
  21932. "500":
  21933. description: Internal Server Error
  21934. schema:
  21935. $ref: '#/definitions/app.Response'
  21936. security:
  21937. - ApiKeyAuth: []
  21938. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  21939. tags:
  21940. - 企业风险管理(app)
  21941. /Ermcp/QueryBusinessFp:
  21942. get:
  21943. parameters:
  21944. - description: 用户ID
  21945. in: query
  21946. name: UserId
  21947. required: true
  21948. type: integer
  21949. - description: 用户类型 2-机构 7-企业成员
  21950. in: query
  21951. name: usertype
  21952. type: integer
  21953. - description: 现货合同ID, 不填则查所有
  21954. in: query
  21955. name: relatedid
  21956. type: string
  21957. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21958. in: query
  21959. name: applystatus
  21960. type: string
  21961. produces:
  21962. - application/json
  21963. responses:
  21964. "200":
  21965. description: OK
  21966. schema:
  21967. items:
  21968. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  21969. type: array
  21970. "500":
  21971. description: Internal Server Error
  21972. schema:
  21973. $ref: '#/definitions/app.Response'
  21974. security:
  21975. - ApiKeyAuth: []
  21976. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  21977. tags:
  21978. - 企业风险管理(app)
  21979. /Ermcp/QueryBusinessJs:
  21980. get:
  21981. parameters:
  21982. - description: 用户ID
  21983. in: query
  21984. name: UserId
  21985. required: true
  21986. type: integer
  21987. - description: 用户类型 2-机构 7-企业成员
  21988. in: query
  21989. name: usertype
  21990. type: integer
  21991. - description: 现货合同ID, 不填则查所有
  21992. in: query
  21993. name: relatedid
  21994. type: string
  21995. - description: 操作申请id
  21996. in: query
  21997. name: operateapplyid
  21998. type: string
  21999. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22000. in: query
  22001. name: applystatus
  22002. type: string
  22003. produces:
  22004. - application/json
  22005. responses:
  22006. "200":
  22007. description: OK
  22008. schema:
  22009. items:
  22010. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  22011. type: array
  22012. "500":
  22013. description: Internal Server Error
  22014. schema:
  22015. $ref: '#/definitions/app.Response'
  22016. security:
  22017. - ApiKeyAuth: []
  22018. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  22019. tags:
  22020. - 企业风险管理(app)
  22021. /Ermcp/QueryBusinessJsEx:
  22022. get:
  22023. parameters:
  22024. - description: 用户ID
  22025. in: query
  22026. name: UserId
  22027. required: true
  22028. type: integer
  22029. - description: 用户类型 2-机构 7-企业成员
  22030. in: query
  22031. name: usertype
  22032. type: integer
  22033. - description: 现货合同ID, 不填则查所有
  22034. in: query
  22035. name: relatedid
  22036. type: string
  22037. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22038. in: query
  22039. name: applystatus
  22040. type: string
  22041. produces:
  22042. - application/json
  22043. responses:
  22044. "200":
  22045. description: OK
  22046. schema:
  22047. items:
  22048. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  22049. type: array
  22050. "500":
  22051. description: Internal Server Error
  22052. schema:
  22053. $ref: '#/definitions/app.Response'
  22054. security:
  22055. - ApiKeyAuth: []
  22056. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  22057. tags:
  22058. - 企业风险管理(app)
  22059. /Ermcp/QueryBusinessKx:
  22060. get:
  22061. parameters:
  22062. - description: 用户ID
  22063. in: query
  22064. name: UserId
  22065. required: true
  22066. type: integer
  22067. - description: 用户类型 2-机构 7-企业成员
  22068. in: query
  22069. name: usertype
  22070. type: integer
  22071. - description: 现货合同ID, 不填则查所有
  22072. in: query
  22073. name: relatedid
  22074. type: string
  22075. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22076. in: query
  22077. name: applystatus
  22078. type: string
  22079. produces:
  22080. - application/json
  22081. responses:
  22082. "200":
  22083. description: OK
  22084. schema:
  22085. items:
  22086. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  22087. type: array
  22088. "500":
  22089. description: Internal Server Error
  22090. schema:
  22091. $ref: '#/definitions/app.Response'
  22092. security:
  22093. - ApiKeyAuth: []
  22094. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  22095. tags:
  22096. - 企业风险管理(app)
  22097. /Ermcp/QueryChangeLog:
  22098. get:
  22099. parameters:
  22100. - description: 合同ID
  22101. in: query
  22102. name: RelatedId
  22103. required: true
  22104. type: string
  22105. produces:
  22106. - application/json
  22107. responses:
  22108. "200":
  22109. description: OK
  22110. schema:
  22111. items:
  22112. $ref: '#/definitions/ermcp.QryOPLogRsp'
  22113. type: array
  22114. "500":
  22115. description: Internal Server Error
  22116. schema:
  22117. $ref: '#/definitions/app.Response'
  22118. security:
  22119. - ApiKeyAuth: []
  22120. summary: 查询变更记录
  22121. tags:
  22122. - 企业风险管理(app)
  22123. /Ermcp/QueryErmcpHisOrderDetails:
  22124. get:
  22125. parameters:
  22126. - description: 资金账户ID
  22127. in: query
  22128. name: accountID
  22129. required: true
  22130. type: integer
  22131. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22132. in: query
  22133. name: startDate
  22134. type: string
  22135. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22136. in: query
  22137. name: endDate
  22138. type: string
  22139. produces:
  22140. - application/json
  22141. responses:
  22142. "200":
  22143. description: OK
  22144. schema:
  22145. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22146. "500":
  22147. description: Internal Server Error
  22148. schema:
  22149. $ref: '#/definitions/app.Response'
  22150. security:
  22151. - ApiKeyAuth: []
  22152. summary: 获取企业风管期货历史委托单信息
  22153. tags:
  22154. - 企业风险管理(app)
  22155. /Ermcp/QueryErmcpHisTradeDetails:
  22156. get:
  22157. parameters:
  22158. - description: 资金账户ID
  22159. in: query
  22160. name: accountID
  22161. required: true
  22162. type: integer
  22163. - description: 商品ID
  22164. in: query
  22165. name: goodsID
  22166. type: integer
  22167. - description: 买卖方向,0:买 1:卖
  22168. in: query
  22169. name: buyOrSell
  22170. type: integer
  22171. - description: 关联委托单号
  22172. in: query
  22173. name: orderID
  22174. type: integer
  22175. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22176. in: query
  22177. name: startDate
  22178. type: string
  22179. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22180. in: query
  22181. name: endDate
  22182. type: string
  22183. produces:
  22184. - application/json
  22185. responses:
  22186. "200":
  22187. description: OK
  22188. schema:
  22189. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22190. "500":
  22191. description: Internal Server Error
  22192. schema:
  22193. $ref: '#/definitions/app.Response'
  22194. security:
  22195. - ApiKeyAuth: []
  22196. summary: 获取企业风管期货历史成交单信息
  22197. tags:
  22198. - 企业风险管理(app)
  22199. /Ermcp/QueryErmcpInnerHolderDetails:
  22200. get:
  22201. parameters:
  22202. - description: 资金账户ID
  22203. in: query
  22204. name: accountID
  22205. required: true
  22206. type: integer
  22207. - description: 商品ID
  22208. in: query
  22209. name: goodsID
  22210. type: integer
  22211. - description: 买卖方向,0:买 1:卖
  22212. in: query
  22213. name: buyOrSell
  22214. type: integer
  22215. produces:
  22216. - application/json
  22217. responses:
  22218. "200":
  22219. description: OK
  22220. schema:
  22221. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  22222. "500":
  22223. description: Internal Server Error
  22224. schema:
  22225. $ref: '#/definitions/app.Response'
  22226. security:
  22227. - ApiKeyAuth: []
  22228. summary: 获取企业风管期货内部持仓单信息
  22229. tags:
  22230. - 企业风险管理(app)
  22231. /Ermcp/QueryErmcpOrderDetails:
  22232. get:
  22233. parameters:
  22234. - description: 资金账户ID
  22235. in: query
  22236. name: accountID
  22237. required: true
  22238. type: integer
  22239. produces:
  22240. - application/json
  22241. responses:
  22242. "200":
  22243. description: OK
  22244. schema:
  22245. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22246. "500":
  22247. description: Internal Server Error
  22248. schema:
  22249. $ref: '#/definitions/app.Response'
  22250. security:
  22251. - ApiKeyAuth: []
  22252. summary: 获取企业风管期货委托单信息
  22253. tags:
  22254. - 企业风险管理(app)
  22255. /Ermcp/QueryErmcpTradeDetails:
  22256. get:
  22257. parameters:
  22258. - description: 资金账户ID
  22259. in: query
  22260. name: accountID
  22261. required: true
  22262. type: integer
  22263. - description: 商品ID
  22264. in: query
  22265. name: goodsID
  22266. type: integer
  22267. - description: 买卖方向,0:买 1:卖
  22268. in: query
  22269. name: buyOrSell
  22270. type: integer
  22271. - description: 关联委托单号
  22272. in: query
  22273. name: orderID
  22274. type: integer
  22275. produces:
  22276. - application/json
  22277. responses:
  22278. "200":
  22279. description: OK
  22280. schema:
  22281. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22282. "500":
  22283. description: Internal Server Error
  22284. schema:
  22285. $ref: '#/definitions/app.Response'
  22286. security:
  22287. - ApiKeyAuth: []
  22288. summary: 获取企业风管期货成交单信息
  22289. tags:
  22290. - 企业风险管理(app)
  22291. /Ermcp/QueryErmcpTradePosition:
  22292. get:
  22293. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  22294. parameters:
  22295. - description: 资金账户ID
  22296. in: query
  22297. name: accountID
  22298. required: true
  22299. type: integer
  22300. - description: 所属市场ID
  22301. in: query
  22302. name: marketID
  22303. type: integer
  22304. produces:
  22305. - application/json
  22306. responses:
  22307. "200":
  22308. description: OK
  22309. schema:
  22310. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  22311. "500":
  22312. description: Internal Server Error
  22313. schema:
  22314. $ref: '#/definitions/app.Response'
  22315. security:
  22316. - ApiKeyAuth: []
  22317. summary: 获取企业风管期货持仓头寸信息
  22318. tags:
  22319. - 企业风险管理(app)
  22320. /Ermcp/QueryExposureDetail:
  22321. get:
  22322. parameters:
  22323. - description: 所属机构ID
  22324. in: query
  22325. name: areaUserId
  22326. required: true
  22327. type: integer
  22328. - description: 套保商品
  22329. in: query
  22330. name: middleGoodsId
  22331. required: true
  22332. type: integer
  22333. produces:
  22334. - application/json
  22335. responses:
  22336. "200":
  22337. description: OK
  22338. schema:
  22339. items:
  22340. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  22341. type: array
  22342. "500":
  22343. description: Internal Server Error
  22344. schema:
  22345. $ref: '#/definitions/app.Response'
  22346. security:
  22347. - ApiKeyAuth: []
  22348. summary: 查询敞口现货明细
  22349. tags:
  22350. - 企业风险管理(app)
  22351. /Ermcp/QueryExposureGoods:
  22352. get:
  22353. parameters:
  22354. - description: 套保商品id
  22355. in: query
  22356. name: middlegoodsid
  22357. required: true
  22358. type: integer
  22359. produces:
  22360. - application/json
  22361. responses:
  22362. "200":
  22363. description: OK
  22364. schema:
  22365. items:
  22366. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  22367. type: array
  22368. "500":
  22369. description: Internal Server Error
  22370. schema:
  22371. $ref: '#/definitions/app.Response'
  22372. security:
  22373. - ApiKeyAuth: []
  22374. summary: 查询敞口主力合约
  22375. tags:
  22376. - 企业风险管理(app)
  22377. /Ermcp/QueryExposureHedgePosition:
  22378. get:
  22379. parameters:
  22380. - description: 用户id
  22381. in: query
  22382. name: userid
  22383. required: true
  22384. type: integer
  22385. produces:
  22386. - application/json
  22387. responses:
  22388. "200":
  22389. description: OK
  22390. schema:
  22391. items:
  22392. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  22393. type: array
  22394. "500":
  22395. description: Internal Server Error
  22396. schema:
  22397. $ref: '#/definitions/app.Response'
  22398. security:
  22399. - ApiKeyAuth: []
  22400. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  22401. tags:
  22402. - 企业风险管理(app)
  22403. /Ermcp/QueryExposureHedgePositionDetail:
  22404. get:
  22405. parameters:
  22406. - description: 所属机构ID
  22407. in: query
  22408. name: userid
  22409. required: true
  22410. type: integer
  22411. - description: 商品id
  22412. in: query
  22413. name: goodsId
  22414. required: true
  22415. type: integer
  22416. produces:
  22417. - application/json
  22418. responses:
  22419. "200":
  22420. description: OK
  22421. schema:
  22422. items:
  22423. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  22424. type: array
  22425. "500":
  22426. description: Internal Server Error
  22427. schema:
  22428. $ref: '#/definitions/app.Response'
  22429. security:
  22430. - ApiKeyAuth: []
  22431. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  22432. tags:
  22433. - 企业风险管理(app)
  22434. /Ermcp/QueryExposureSpot:
  22435. get:
  22436. parameters:
  22437. - description: 所属机构ID
  22438. in: query
  22439. name: areaUserId
  22440. required: true
  22441. type: integer
  22442. produces:
  22443. - application/json
  22444. responses:
  22445. "200":
  22446. description: OK
  22447. schema:
  22448. items:
  22449. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  22450. type: array
  22451. "500":
  22452. description: Internal Server Error
  22453. schema:
  22454. $ref: '#/definitions/app.Response'
  22455. security:
  22456. - ApiKeyAuth: []
  22457. summary: 查询敞口现货头寸(敞口/现货头寸)
  22458. tags:
  22459. - 企业风险管理(app)
  22460. /Ermcp/QueryExposureSpotDetail:
  22461. get:
  22462. parameters:
  22463. - description: 所属机构ID
  22464. in: query
  22465. name: areaUserId
  22466. required: true
  22467. type: integer
  22468. - description: 现货品种ID
  22469. in: query
  22470. name: wrstandardId
  22471. required: true
  22472. type: integer
  22473. produces:
  22474. - application/json
  22475. responses:
  22476. "200":
  22477. description: OK
  22478. schema:
  22479. items:
  22480. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  22481. type: array
  22482. "500":
  22483. description: Internal Server Error
  22484. schema:
  22485. $ref: '#/definitions/app.Response'
  22486. security:
  22487. - ApiKeyAuth: []
  22488. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22489. tags:
  22490. - 企业风险管理(app)
  22491. /Ermcp/QueryFuturesCompany:
  22492. get:
  22493. produces:
  22494. - application/json
  22495. responses:
  22496. "200":
  22497. description: OK
  22498. schema:
  22499. items:
  22500. $ref: '#/definitions/models.ErmcpFuturesCompany'
  22501. type: array
  22502. "500":
  22503. description: Internal Server Error
  22504. schema:
  22505. $ref: '#/definitions/app.Response'
  22506. security:
  22507. - ApiKeyAuth: []
  22508. summary: 查询期货公司
  22509. tags:
  22510. - 企业风险管理(app)
  22511. /Ermcp/QueryGGConvertConfig:
  22512. get:
  22513. parameters:
  22514. - description: 品种id(不填则查所有)
  22515. in: query
  22516. name: goodsgroupid
  22517. type: integer
  22518. produces:
  22519. - application/json
  22520. responses:
  22521. "200":
  22522. description: OK
  22523. schema:
  22524. items:
  22525. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  22526. type: array
  22527. "500":
  22528. description: Internal Server Error
  22529. schema:
  22530. $ref: '#/definitions/app.Response'
  22531. security:
  22532. - ApiKeyAuth: []
  22533. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  22534. tags:
  22535. - 企业风险管理(app)
  22536. /Ermcp/QueryGoodsBrand:
  22537. get:
  22538. parameters:
  22539. - description: 用户ID
  22540. in: query
  22541. name: userid
  22542. required: true
  22543. type: integer
  22544. - description: 现货商品ID
  22545. in: query
  22546. name: wrstandardid
  22547. type: integer
  22548. produces:
  22549. - application/json
  22550. responses:
  22551. "200":
  22552. description: OK
  22553. schema:
  22554. items:
  22555. $ref: '#/definitions/models.ErmcpGoodsBrand'
  22556. type: array
  22557. "500":
  22558. description: Internal Server Error
  22559. schema:
  22560. $ref: '#/definitions/app.Response'
  22561. security:
  22562. - ApiKeyAuth: []
  22563. summary: 查询商品品牌
  22564. tags:
  22565. - 企业风险管理(app)
  22566. /Ermcp/QueryGoodsModel:
  22567. get:
  22568. parameters:
  22569. - description: 用户ID
  22570. in: query
  22571. name: userid
  22572. required: true
  22573. type: integer
  22574. produces:
  22575. - application/json
  22576. responses:
  22577. "200":
  22578. description: OK
  22579. schema:
  22580. items:
  22581. $ref: '#/definitions/models.ErmcpGoodsModel'
  22582. type: array
  22583. "500":
  22584. description: Internal Server Error
  22585. schema:
  22586. $ref: '#/definitions/app.Response'
  22587. security:
  22588. - ApiKeyAuth: []
  22589. summary: 查询商品型号
  22590. tags:
  22591. - 企业风险管理(app)
  22592. /Ermcp/QueryHisExposure:
  22593. get:
  22594. parameters:
  22595. - description: 用户id
  22596. in: query
  22597. name: userid
  22598. required: true
  22599. type: integer
  22600. - description: 每个品种记录数
  22601. in: query
  22602. name: lastNum
  22603. required: true
  22604. type: integer
  22605. produces:
  22606. - application/json
  22607. responses:
  22608. "200":
  22609. description: OK
  22610. schema:
  22611. items:
  22612. $ref: '#/definitions/ermcp.HisExposureRsp'
  22613. type: array
  22614. "500":
  22615. description: Internal Server Error
  22616. schema:
  22617. $ref: '#/definitions/app.Response'
  22618. security:
  22619. - ApiKeyAuth: []
  22620. summary: 查询历史敞口(菜单:敞口/历史敞口)
  22621. tags:
  22622. - 企业风险管理(app)
  22623. /Ermcp/QueryMiddleGoods:
  22624. get:
  22625. parameters:
  22626. - description: 所属机构ID
  22627. in: query
  22628. name: userid
  22629. required: true
  22630. type: integer
  22631. - description: 状态 0-停用 1-正常
  22632. in: query
  22633. name: status
  22634. required: true
  22635. type: integer
  22636. produces:
  22637. - application/json
  22638. responses:
  22639. "200":
  22640. description: OK
  22641. schema:
  22642. items:
  22643. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  22644. type: array
  22645. "500":
  22646. description: Internal Server Error
  22647. schema:
  22648. $ref: '#/definitions/app.Response'
  22649. security:
  22650. - ApiKeyAuth: []
  22651. summary: 查询套保品种(菜单:套保品种)
  22652. tags:
  22653. - 企业风险管理(app)
  22654. /Ermcp/QueryMiddleGoodsChangeLog:
  22655. get:
  22656. parameters:
  22657. - description: 所属机构ID
  22658. in: query
  22659. name: userid
  22660. required: true
  22661. type: integer
  22662. - description: 套保品种id
  22663. in: query
  22664. name: middlegoodsid
  22665. required: true
  22666. type: integer
  22667. produces:
  22668. - application/json
  22669. responses:
  22670. "200":
  22671. description: OK
  22672. schema:
  22673. items:
  22674. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  22675. type: array
  22676. "500":
  22677. description: Internal Server Error
  22678. schema:
  22679. $ref: '#/definitions/app.Response'
  22680. security:
  22681. - ApiKeyAuth: []
  22682. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  22683. tags:
  22684. - 企业风险管理(app)
  22685. /Ermcp/QueryMiddleGoodsDetail:
  22686. get:
  22687. parameters:
  22688. - description: 所属机构ID
  22689. in: query
  22690. name: userid
  22691. required: true
  22692. type: integer
  22693. - description: 套保品种id
  22694. in: query
  22695. name: middlegoodsid
  22696. type: integer
  22697. produces:
  22698. - application/json
  22699. responses:
  22700. "200":
  22701. description: OK
  22702. schema:
  22703. items:
  22704. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  22705. type: array
  22706. "500":
  22707. description: Internal Server Error
  22708. schema:
  22709. $ref: '#/definitions/app.Response'
  22710. security:
  22711. - ApiKeyAuth: []
  22712. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  22713. tags:
  22714. - 企业风险管理(app)
  22715. /Ermcp/QueryPendingAuditInfo:
  22716. get:
  22717. parameters:
  22718. - description: 用户ID
  22719. in: query
  22720. name: UserId
  22721. required: true
  22722. type: integer
  22723. produces:
  22724. - application/json
  22725. responses:
  22726. "200":
  22727. description: OK
  22728. schema:
  22729. items:
  22730. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  22731. type: array
  22732. "500":
  22733. description: Internal Server Error
  22734. schema:
  22735. $ref: '#/definitions/app.Response'
  22736. security:
  22737. - ApiKeyAuth: []
  22738. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  22739. tags:
  22740. - 企业风险管理(app)
  22741. /Ermcp/QueryRealtimeExposure:
  22742. get:
  22743. parameters:
  22744. - description: 所属机构ID
  22745. in: query
  22746. name: userid
  22747. required: true
  22748. type: integer
  22749. produces:
  22750. - application/json
  22751. responses:
  22752. "200":
  22753. description: OK
  22754. schema:
  22755. items:
  22756. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  22757. type: array
  22758. "500":
  22759. description: Internal Server Error
  22760. schema:
  22761. $ref: '#/definitions/app.Response'
  22762. security:
  22763. - ApiKeyAuth: []
  22764. summary: 查询实时敞口
  22765. tags:
  22766. - 企业风险管理(app)
  22767. /Ermcp/QueryRealtimeExposurePosition:
  22768. get:
  22769. parameters:
  22770. - description: 用户id
  22771. in: query
  22772. name: userid
  22773. required: true
  22774. type: integer
  22775. - description: 套保商品ID
  22776. in: query
  22777. name: middleGoodsId
  22778. required: true
  22779. type: integer
  22780. produces:
  22781. - application/json
  22782. responses:
  22783. "200":
  22784. description: OK
  22785. schema:
  22786. items:
  22787. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  22788. type: array
  22789. "500":
  22790. description: Internal Server Error
  22791. schema:
  22792. $ref: '#/definitions/app.Response'
  22793. security:
  22794. - ApiKeyAuth: []
  22795. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  22796. tags:
  22797. - 企业风险管理(app)
  22798. /Ermcp/QueryRoleMenu:
  22799. get:
  22800. parameters:
  22801. - description: 登录ID
  22802. in: query
  22803. name: loginid
  22804. required: true
  22805. type: integer
  22806. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  22807. in: query
  22808. name: menutype
  22809. type: integer
  22810. produces:
  22811. - application/json
  22812. responses:
  22813. "200":
  22814. description: OK
  22815. schema:
  22816. items:
  22817. $ref: '#/definitions/models.RoleMenu'
  22818. type: array
  22819. "500":
  22820. description: Internal Server Error
  22821. schema:
  22822. $ref: '#/definitions/app.Response'
  22823. security:
  22824. - ApiKeyAuth: []
  22825. summary: 查询角色菜单和权限
  22826. tags:
  22827. - 企业风险管理(app)
  22828. /Ermcp/QueryTradeConfigTMP:
  22829. get:
  22830. parameters:
  22831. - description: 所属机构id
  22832. in: query
  22833. name: areauserid
  22834. type: integer
  22835. produces:
  22836. - application/json
  22837. responses:
  22838. "200":
  22839. description: OK
  22840. schema:
  22841. items:
  22842. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  22843. type: array
  22844. "500":
  22845. description: Internal Server Error
  22846. schema:
  22847. $ref: '#/definitions/app.Response'
  22848. security:
  22849. - ApiKeyAuth: []
  22850. summary: 查询交易模板配置
  22851. tags:
  22852. - 企业风险管理(app)
  22853. /Ermcp/QueryUserInfo:
  22854. get:
  22855. parameters:
  22856. - description: 所属机构用户ID
  22857. in: query
  22858. name: MemberUserID
  22859. required: true
  22860. type: integer
  22861. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  22862. in: query
  22863. name: queryType
  22864. required: true
  22865. type: integer
  22866. produces:
  22867. - application/json
  22868. responses:
  22869. "200":
  22870. description: OK
  22871. schema:
  22872. items:
  22873. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  22874. type: array
  22875. "500":
  22876. description: Internal Server Error
  22877. schema:
  22878. $ref: '#/definitions/app.Response'
  22879. security:
  22880. - ApiKeyAuth: []
  22881. summary: 查询客户资料
  22882. tags:
  22883. - 企业风险管理(app)
  22884. /Ermcp/QueryWarehouseInfo:
  22885. get:
  22886. parameters:
  22887. - description: 用户ID
  22888. in: query
  22889. name: userid
  22890. required: true
  22891. type: integer
  22892. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  22893. in: query
  22894. name: status
  22895. type: string
  22896. produces:
  22897. - application/json
  22898. responses:
  22899. "200":
  22900. description: OK
  22901. schema:
  22902. items:
  22903. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  22904. type: array
  22905. "500":
  22906. description: Internal Server Error
  22907. schema:
  22908. $ref: '#/definitions/app.Response'
  22909. security:
  22910. - ApiKeyAuth: []
  22911. summary: 查询仓库信息
  22912. tags:
  22913. - 企业风险管理(app)
  22914. /Ermcp3/QryAreaExpourseContractDetail:
  22915. get:
  22916. parameters:
  22917. - description: 用户ID
  22918. in: query
  22919. name: userid
  22920. required: true
  22921. type: integer
  22922. - description: 套保商品id
  22923. in: query
  22924. name: middlegoodsid
  22925. required: true
  22926. type: integer
  22927. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22928. in: query
  22929. name: cycletype
  22930. required: true
  22931. type: integer
  22932. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22933. 全(0)【原值】
  22934. in: query
  22935. name: cycletime
  22936. required: true
  22937. type: string
  22938. produces:
  22939. - application/json
  22940. responses:
  22941. "200":
  22942. description: OK
  22943. schema:
  22944. items:
  22945. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  22946. type: array
  22947. "500":
  22948. description: Internal Server Error
  22949. schema:
  22950. $ref: '#/definitions/app.Response'
  22951. security:
  22952. - ApiKeyAuth: []
  22953. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  22954. tags:
  22955. - 企业风险管理v3(app)
  22956. /Ermcp3/QryAreaExpourseFutuDetail:
  22957. get:
  22958. parameters:
  22959. - description: 用户ID
  22960. in: query
  22961. name: userid
  22962. required: true
  22963. type: integer
  22964. - description: 套保商品id
  22965. in: query
  22966. name: middlegoodsid
  22967. required: true
  22968. type: integer
  22969. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22970. in: query
  22971. name: cycletype
  22972. required: true
  22973. type: integer
  22974. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22975. 全(0)【原值】
  22976. in: query
  22977. name: cycletime
  22978. required: true
  22979. type: string
  22980. produces:
  22981. - application/json
  22982. responses:
  22983. "200":
  22984. description: OK
  22985. schema:
  22986. items:
  22987. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  22988. type: array
  22989. "500":
  22990. description: Internal Server Error
  22991. schema:
  22992. $ref: '#/definitions/app.Response'
  22993. security:
  22994. - ApiKeyAuth: []
  22995. summary: 查询敞口期货明细(敞口报表/期货明细)
  22996. tags:
  22997. - 企业风险管理v3(app)
  22998. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  22999. get:
  23000. parameters:
  23001. - description: 用户ID
  23002. in: query
  23003. name: userid
  23004. required: true
  23005. type: integer
  23006. - description: 套保商品id
  23007. in: query
  23008. name: middlegoodsid
  23009. required: true
  23010. type: integer
  23011. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23012. in: query
  23013. name: cycletype
  23014. required: true
  23015. type: integer
  23016. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23017. 全(0)【原值】
  23018. in: query
  23019. name: cycletime
  23020. required: true
  23021. type: string
  23022. produces:
  23023. - application/json
  23024. responses:
  23025. "200":
  23026. description: OK
  23027. schema:
  23028. items:
  23029. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  23030. type: array
  23031. "500":
  23032. description: Internal Server Error
  23033. schema:
  23034. $ref: '#/definitions/app.Response'
  23035. security:
  23036. - ApiKeyAuth: []
  23037. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  23038. tags:
  23039. - 企业风险管理v3(app)
  23040. /Ermcp3/QryAreaExpourseParamChLogDetail:
  23041. get:
  23042. parameters:
  23043. - description: 用户ID
  23044. in: query
  23045. name: userid
  23046. required: true
  23047. type: integer
  23048. - description: 套保商品id
  23049. in: query
  23050. name: middlegoodsid
  23051. required: true
  23052. type: integer
  23053. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23054. in: query
  23055. name: cycletype
  23056. required: true
  23057. type: integer
  23058. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23059. 全(0)【原值】
  23060. in: query
  23061. name: cycletime
  23062. required: true
  23063. type: string
  23064. produces:
  23065. - application/json
  23066. responses:
  23067. "200":
  23068. description: OK
  23069. schema:
  23070. items:
  23071. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  23072. type: array
  23073. "500":
  23074. description: Internal Server Error
  23075. schema:
  23076. $ref: '#/definitions/app.Response'
  23077. security:
  23078. - ApiKeyAuth: []
  23079. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  23080. tags:
  23081. - 企业风险管理v3(app)
  23082. /Ermcp3/QryAreaExpourseReport:
  23083. get:
  23084. parameters:
  23085. - description: 用户ID
  23086. in: query
  23087. name: userid
  23088. required: true
  23089. type: integer
  23090. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  23091. in: query
  23092. name: querytype
  23093. required: true
  23094. type: integer
  23095. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23096. in: query
  23097. name: cycletype
  23098. required: true
  23099. type: integer
  23100. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23101. 全(0)【原值】
  23102. in: query
  23103. name: cycletime
  23104. required: true
  23105. type: string
  23106. produces:
  23107. - application/json
  23108. responses:
  23109. "200":
  23110. description: OK
  23111. schema:
  23112. items:
  23113. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  23114. type: array
  23115. "500":
  23116. description: Internal Server Error
  23117. schema:
  23118. $ref: '#/definitions/app.Response'
  23119. security:
  23120. - ApiKeyAuth: []
  23121. summary: 查询敞口报表
  23122. tags:
  23123. - 企业风险管理v3(app)
  23124. /Ermcp3/QryAreaSpotplReport:
  23125. get:
  23126. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  23127. parameters:
  23128. - description: 用户ID
  23129. in: query
  23130. name: userid
  23131. required: true
  23132. type: integer
  23133. - description: 查询类型 1-报表 2-报表明细
  23134. in: query
  23135. name: querytype
  23136. required: true
  23137. type: integer
  23138. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23139. in: query
  23140. name: cycletype
  23141. required: true
  23142. type: integer
  23143. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23144. 全(0)【原值】
  23145. in: query
  23146. name: cycletime
  23147. required: true
  23148. type: string
  23149. - description: 现货品种id(明细必填)
  23150. in: query
  23151. name: deliverygoodsid
  23152. type: integer
  23153. - description: 币种id(明细必填)
  23154. in: query
  23155. name: currencyid
  23156. type: integer
  23157. - description: 日/周/月报表汇总维度 1:品种+品类
  23158. in: query
  23159. name: sumflag
  23160. type: integer
  23161. produces:
  23162. - application/json
  23163. responses:
  23164. "200":
  23165. description: OK
  23166. schema:
  23167. items:
  23168. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  23169. type: array
  23170. "500":
  23171. description: Internal Server Error
  23172. schema:
  23173. $ref: '#/definitions/app.Response'
  23174. security:
  23175. - ApiKeyAuth: []
  23176. summary: 查询现货报表
  23177. tags:
  23178. - 企业风险管理v3(app)
  23179. /Ermcp3/QryAreaStockReport:
  23180. get:
  23181. parameters:
  23182. - description: 用户ID
  23183. in: query
  23184. name: userid
  23185. required: true
  23186. type: integer
  23187. - description: 查询类型 1-报表 2-报表明细
  23188. in: query
  23189. name: querytype
  23190. required: true
  23191. type: integer
  23192. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23193. in: query
  23194. name: cycletype
  23195. required: true
  23196. type: integer
  23197. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23198. 全(0)【原值】
  23199. in: query
  23200. name: cycletime
  23201. required: true
  23202. type: string
  23203. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  23204. in: query
  23205. name: sumfields
  23206. type: string
  23207. - description: 品种ID
  23208. in: query
  23209. name: deliverygoodsid
  23210. type: integer
  23211. - description: 品类ID
  23212. in: query
  23213. name: wrstandardid
  23214. type: integer
  23215. - description: 品牌ID
  23216. in: query
  23217. name: spotgoodsbrandid
  23218. type: integer
  23219. - description: 仓库ID
  23220. in: query
  23221. name: warehouseinfoid
  23222. type: integer
  23223. produces:
  23224. - application/json
  23225. responses:
  23226. "200":
  23227. description: OK
  23228. schema:
  23229. items:
  23230. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  23231. type: array
  23232. "500":
  23233. description: Internal Server Error
  23234. schema:
  23235. $ref: '#/definitions/app.Response'
  23236. security:
  23237. - ApiKeyAuth: []
  23238. summary: 查询库存报表
  23239. tags:
  23240. - 企业风险管理v3(app)
  23241. /Ermcp3/QryAreaSumPL:
  23242. get:
  23243. parameters:
  23244. - description: 用户ID
  23245. in: query
  23246. name: userid
  23247. required: true
  23248. type: integer
  23249. - description: 查询类型 1-报表 2-报表明细
  23250. in: query
  23251. name: querytype
  23252. required: true
  23253. type: integer
  23254. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23255. in: query
  23256. name: cycletype
  23257. required: true
  23258. type: integer
  23259. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23260. 全(0)【原值】
  23261. in: query
  23262. name: cycletime
  23263. required: true
  23264. type: string
  23265. - description: 币种id(明细必填)
  23266. in: query
  23267. name: currencyid
  23268. type: integer
  23269. produces:
  23270. - application/json
  23271. responses:
  23272. "200":
  23273. description: OK
  23274. schema:
  23275. items:
  23276. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  23277. type: array
  23278. "500":
  23279. description: Internal Server Error
  23280. schema:
  23281. $ref: '#/definitions/app.Response'
  23282. security:
  23283. - ApiKeyAuth: []
  23284. summary: 查询汇总损益表
  23285. tags:
  23286. - 企业风险管理v3(app)
  23287. /Ermcp3/QryFinanceReport:
  23288. get:
  23289. parameters:
  23290. - description: 用户ID
  23291. in: query
  23292. name: userid
  23293. required: true
  23294. type: integer
  23295. - description: 查询类型 1-报表 2-报表明细
  23296. in: query
  23297. name: querytype
  23298. required: true
  23299. type: integer
  23300. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23301. in: query
  23302. name: cycletype
  23303. required: true
  23304. type: integer
  23305. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23306. 全(0)【原值】
  23307. in: query
  23308. name: cycletime
  23309. required: true
  23310. type: string
  23311. - description: 币种id(报表明细必填)
  23312. in: query
  23313. name: currencyid
  23314. type: integer
  23315. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  23316. in: query
  23317. name: sumfields
  23318. type: string
  23319. produces:
  23320. - application/json
  23321. responses:
  23322. "200":
  23323. description: OK
  23324. schema:
  23325. items:
  23326. $ref: '#/definitions/models.Ermcp3FinanceReport'
  23327. type: array
  23328. "500":
  23329. description: Internal Server Error
  23330. schema:
  23331. $ref: '#/definitions/app.Response'
  23332. security:
  23333. - ApiKeyAuth: []
  23334. summary: 查询财务报表
  23335. tags:
  23336. - 企业风险管理v3(app)
  23337. /Ermcp3/QrySCMiddleGoodsReport:
  23338. get:
  23339. parameters:
  23340. - description: 用户ID
  23341. in: query
  23342. name: userid
  23343. required: true
  23344. type: integer
  23345. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23346. in: query
  23347. name: cycletype
  23348. required: true
  23349. type: integer
  23350. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23351. 全(0)【原值】
  23352. in: query
  23353. name: cycletime
  23354. required: true
  23355. type: string
  23356. - description: 合同id
  23357. in: query
  23358. name: spotcontractid
  23359. type: integer
  23360. - description: 套保品种id
  23361. in: query
  23362. name: middlegoodsid
  23363. type: integer
  23364. - description: 现货品种id
  23365. in: query
  23366. name: deliverygoodsid
  23367. type: integer
  23368. - description: 现货商品id
  23369. in: query
  23370. name: wrstandardid
  23371. type: integer
  23372. - description: 合同编号(模糊匹配)
  23373. in: query
  23374. name: contractno
  23375. type: string
  23376. produces:
  23377. - application/json
  23378. responses:
  23379. "200":
  23380. description: OK
  23381. schema:
  23382. items:
  23383. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  23384. type: array
  23385. "500":
  23386. description: Internal Server Error
  23387. schema:
  23388. $ref: '#/definitions/app.Response'
  23389. security:
  23390. - ApiKeyAuth: []
  23391. summary: 查询定价报表
  23392. tags:
  23393. - 企业风险管理v3(app)
  23394. /Ermcp3/QryTaFutureDataReport:
  23395. get:
  23396. parameters:
  23397. - description: 用户ID
  23398. in: query
  23399. name: userid
  23400. required: true
  23401. type: integer
  23402. - description: 查询类型 1-报表 2-报表明细
  23403. in: query
  23404. name: querytype
  23405. required: true
  23406. type: integer
  23407. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23408. in: query
  23409. name: cycletype
  23410. required: true
  23411. type: integer
  23412. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23413. 全(0)【原值】
  23414. in: query
  23415. name: cycletime
  23416. required: true
  23417. type: string
  23418. - description: 币种id(查明细必填)
  23419. in: query
  23420. name: currencyid
  23421. type: integer
  23422. - description: 品种id(查明细必填)
  23423. in: query
  23424. name: goodsgroupid
  23425. type: integer
  23426. - description: 商品id(查明细必填)
  23427. in: query
  23428. name: goodsid
  23429. type: integer
  23430. - description: 买卖方向(查明细必填)
  23431. in: query
  23432. name: buyorsell
  23433. type: integer
  23434. produces:
  23435. - application/json
  23436. responses:
  23437. "200":
  23438. description: OK
  23439. schema:
  23440. items:
  23441. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  23442. type: array
  23443. "500":
  23444. description: Internal Server Error
  23445. schema:
  23446. $ref: '#/definitions/app.Response'
  23447. security:
  23448. - ApiKeyAuth: []
  23449. summary: 查询期货报表
  23450. tags:
  23451. - 企业风险管理v3(app)
  23452. /Ermcp3/QueryAreaStock:
  23453. get:
  23454. parameters:
  23455. - description: 用户ID
  23456. in: query
  23457. name: userid
  23458. required: true
  23459. type: integer
  23460. produces:
  23461. - application/json
  23462. responses:
  23463. "200":
  23464. description: OK
  23465. schema:
  23466. items:
  23467. $ref: '#/definitions/models.Ermcp3AreaStock'
  23468. type: array
  23469. "500":
  23470. description: Internal Server Error
  23471. schema:
  23472. $ref: '#/definitions/app.Response'
  23473. security:
  23474. - ApiKeyAuth: []
  23475. summary: 查询机构库存(库存管理/当前库存)
  23476. tags:
  23477. - 企业风险管理v3(app)
  23478. /Ermcp3/QueryAreaStockApply:
  23479. get:
  23480. parameters:
  23481. - description: 用户ID
  23482. in: query
  23483. name: userid
  23484. required: true
  23485. type: integer
  23486. - description: 用户类型 2-机构 7-企业成员
  23487. in: query
  23488. name: usertype
  23489. type: integer
  23490. - description: 现货商品ID
  23491. in: query
  23492. name: deliverygoodsid
  23493. type: integer
  23494. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  23495. in: query
  23496. name: inouttype
  23497. type: string
  23498. - description: 合同ID
  23499. in: query
  23500. name: spotcontractid
  23501. type: integer
  23502. - description: 品类ID
  23503. in: query
  23504. name: wrstandardid
  23505. type: integer
  23506. - description: 品牌ID
  23507. in: query
  23508. name: spotgoodsbrandid
  23509. type: integer
  23510. - description: 仓库ID
  23511. in: query
  23512. name: warehouseinfoid
  23513. type: integer
  23514. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23515. in: query
  23516. name: applystatus
  23517. type: string
  23518. produces:
  23519. - application/json
  23520. responses:
  23521. "200":
  23522. description: OK
  23523. schema:
  23524. items:
  23525. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  23526. type: array
  23527. "500":
  23528. description: Internal Server Error
  23529. schema:
  23530. $ref: '#/definitions/app.Response'
  23531. security:
  23532. - ApiKeyAuth: []
  23533. summary: 查询库存申请(出入库记录|库存审核)
  23534. tags:
  23535. - 企业风险管理v3(app)
  23536. /Ermcp3/QueryAreaStockApplySum:
  23537. get:
  23538. parameters:
  23539. - description: 合同ID
  23540. in: query
  23541. name: spotcontractid
  23542. required: true
  23543. type: integer
  23544. produces:
  23545. - application/json
  23546. responses:
  23547. "200":
  23548. description: OK
  23549. schema:
  23550. items:
  23551. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  23552. type: array
  23553. "500":
  23554. description: Internal Server Error
  23555. schema:
  23556. $ref: '#/definitions/app.Response'
  23557. security:
  23558. - ApiKeyAuth: []
  23559. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  23560. tags:
  23561. - 企业风险管理v3(app)
  23562. /Ermcp3/QueryDGFactoryItem:
  23563. get:
  23564. parameters:
  23565. - description: 用户id
  23566. in: query
  23567. name: userid
  23568. type: integer
  23569. - description: 用户类型 2-机构 7-企业成员
  23570. in: query
  23571. name: usertype
  23572. type: integer
  23573. - description: 选择项ID(SEQ_DGFACTORYITEM)
  23574. in: query
  23575. name: dgfactoryitemid
  23576. type: integer
  23577. - description: 现货品种ID
  23578. in: query
  23579. name: deliverygoodsid
  23580. type: integer
  23581. - description: 要素项类型
  23582. in: query
  23583. name: dgfactoryitemtypeid
  23584. type: integer
  23585. - description: 顺序
  23586. in: query
  23587. name: orderindex
  23588. type: integer
  23589. produces:
  23590. - application/json
  23591. responses:
  23592. "200":
  23593. description: OK
  23594. schema:
  23595. items:
  23596. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  23597. type: array
  23598. "500":
  23599. description: Internal Server Error
  23600. schema:
  23601. $ref: '#/definitions/app.Response'
  23602. security:
  23603. - ApiKeyAuth: []
  23604. summary: 查询品种要素定义项
  23605. tags:
  23606. - 企业风险管理v3(app)
  23607. /Ermcp3/QueryDeliveryGoods:
  23608. get:
  23609. parameters:
  23610. - description: 用户id
  23611. in: query
  23612. name: userid
  23613. required: true
  23614. type: integer
  23615. - description: 用户类型 2-机构 7-企业成员
  23616. in: query
  23617. name: usertype
  23618. type: integer
  23619. - description: 排除已配置的业务类型商品 1-套保 2-套利
  23620. in: query
  23621. name: excludecfg
  23622. type: integer
  23623. produces:
  23624. - application/json
  23625. responses:
  23626. "200":
  23627. description: OK
  23628. schema:
  23629. items:
  23630. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  23631. type: array
  23632. "500":
  23633. description: Internal Server Error
  23634. schema:
  23635. $ref: '#/definitions/app.Response'
  23636. security:
  23637. - ApiKeyAuth: []
  23638. summary: 查询现货商品
  23639. tags:
  23640. - 企业风险管理v3(app)
  23641. /Ermcp3/QueryDeliveryGoodsDetail:
  23642. get:
  23643. parameters:
  23644. - description: 用户id
  23645. in: query
  23646. name: userid
  23647. required: true
  23648. type: integer
  23649. - description: 用户类型 2-机构 7-企业成员
  23650. in: query
  23651. name: usertype
  23652. type: integer
  23653. - description: 现货商品id
  23654. in: query
  23655. name: deliverygoodsid
  23656. type: integer
  23657. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  23658. in: query
  23659. name: filtersubempty
  23660. type: integer
  23661. produces:
  23662. - application/json
  23663. responses:
  23664. "200":
  23665. description: OK
  23666. schema:
  23667. items:
  23668. $ref: '#/definitions/models.XHDeliveryGoods'
  23669. type: array
  23670. "500":
  23671. description: Internal Server Error
  23672. schema:
  23673. $ref: '#/definitions/app.Response'
  23674. security:
  23675. - ApiKeyAuth: []
  23676. summary: 查询现货商品详情
  23677. tags:
  23678. - 企业风险管理v3(app)
  23679. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  23680. get:
  23681. parameters:
  23682. - description: 合同id
  23683. in: query
  23684. name: spotcontractid
  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.Ermcp3ContractMiddleGoodsCfg'
  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/QueryExposureDetail:
  23706. get:
  23707. parameters:
  23708. - description: 用户id
  23709. in: query
  23710. name: userid
  23711. required: true
  23712. type: integer
  23713. - description: 用户类型 2-机构 7-企业成员
  23714. in: query
  23715. name: usertype
  23716. type: integer
  23717. - description: 套保商品
  23718. in: query
  23719. name: middlegoodsid
  23720. required: true
  23721. type: integer
  23722. produces:
  23723. - application/json
  23724. responses:
  23725. "200":
  23726. description: OK
  23727. schema:
  23728. items:
  23729. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  23730. type: array
  23731. "500":
  23732. description: Internal Server Error
  23733. schema:
  23734. $ref: '#/definitions/app.Response'
  23735. security:
  23736. - ApiKeyAuth: []
  23737. summary: 查询敞口现货明细
  23738. tags:
  23739. - 企业风险管理v3(app)
  23740. /Ermcp3/QueryExposureSpot:
  23741. get:
  23742. parameters:
  23743. - description: 用户id
  23744. in: query
  23745. name: userid
  23746. required: true
  23747. type: integer
  23748. - description: 用户类型 2-机构 7-企业成员
  23749. in: query
  23750. name: usertype
  23751. type: integer
  23752. produces:
  23753. - application/json
  23754. responses:
  23755. "200":
  23756. description: OK
  23757. schema:
  23758. items:
  23759. $ref: '#/definitions/models.Ermcp3AreaSpot'
  23760. type: array
  23761. "500":
  23762. description: Internal Server Error
  23763. schema:
  23764. $ref: '#/definitions/app.Response'
  23765. security:
  23766. - ApiKeyAuth: []
  23767. summary: 查询敞口现货头寸(敞口/现货头寸)
  23768. tags:
  23769. - 企业风险管理v3(app)
  23770. /Ermcp3/QueryExposureSpotDetail:
  23771. get:
  23772. parameters:
  23773. - description: 用户id
  23774. in: query
  23775. name: userid
  23776. required: true
  23777. type: integer
  23778. - description: 用户类型 2-机构 7-企业成员
  23779. in: query
  23780. name: usertype
  23781. type: integer
  23782. - description: 现货商品ID
  23783. in: query
  23784. name: wrstandardid
  23785. required: true
  23786. type: integer
  23787. produces:
  23788. - application/json
  23789. responses:
  23790. "200":
  23791. description: OK
  23792. schema:
  23793. items:
  23794. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  23795. type: array
  23796. "500":
  23797. description: Internal Server Error
  23798. schema:
  23799. $ref: '#/definitions/app.Response'
  23800. security:
  23801. - ApiKeyAuth: []
  23802. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23803. tags:
  23804. - 企业风险管理v3(app)
  23805. /Ermcp3/QueryGoodsGroup:
  23806. get:
  23807. parameters:
  23808. - description: 用户id
  23809. in: query
  23810. name: userid
  23811. required: true
  23812. type: integer
  23813. - description: 用户类型 2-机构 7-企业成员
  23814. in: query
  23815. name: usertype
  23816. type: integer
  23817. - description: 排除套保品中已关联的商品组 1-排除
  23818. in: query
  23819. name: excludecfg
  23820. type: integer
  23821. produces:
  23822. - application/json
  23823. responses:
  23824. "200":
  23825. description: OK
  23826. schema:
  23827. items:
  23828. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  23829. type: array
  23830. "500":
  23831. description: Internal Server Error
  23832. schema:
  23833. $ref: '#/definitions/app.Response'
  23834. security:
  23835. - ApiKeyAuth: []
  23836. summary: 查询期货商品组
  23837. tags:
  23838. - 企业风险管理v3(app)
  23839. /Ermcp3/QueryGoodsWrstandard:
  23840. get:
  23841. parameters:
  23842. - description: 用户id
  23843. in: query
  23844. name: userid
  23845. required: true
  23846. type: integer
  23847. - description: 用户类型 2-机构 7-企业成员
  23848. in: query
  23849. name: usertype
  23850. type: integer
  23851. - description: 现货商品id
  23852. in: query
  23853. name: deliverygoodsid
  23854. type: integer
  23855. produces:
  23856. - application/json
  23857. responses:
  23858. "200":
  23859. description: OK
  23860. schema:
  23861. items:
  23862. $ref: '#/definitions/models.Ermcp3Wrstandard'
  23863. type: array
  23864. "500":
  23865. description: Internal Server Error
  23866. schema:
  23867. $ref: '#/definitions/app.Response'
  23868. security:
  23869. - ApiKeyAuth: []
  23870. summary: 查询商品品类
  23871. tags:
  23872. - 企业风险管理v3(app)
  23873. /Ermcp3/QueryGoodsbrand:
  23874. get:
  23875. parameters:
  23876. - description: 用户id
  23877. in: query
  23878. name: userid
  23879. required: true
  23880. type: integer
  23881. - description: 用户类型 2-机构 7-企业成员
  23882. in: query
  23883. name: usertype
  23884. type: integer
  23885. produces:
  23886. - application/json
  23887. responses:
  23888. "200":
  23889. description: OK
  23890. schema:
  23891. items:
  23892. $ref: '#/definitions/models.Ermcp3Brand'
  23893. type: array
  23894. "500":
  23895. description: Internal Server Error
  23896. schema:
  23897. $ref: '#/definitions/app.Response'
  23898. security:
  23899. - ApiKeyAuth: []
  23900. summary: 查询商品品牌
  23901. tags:
  23902. - 企业风险管理v3(app)
  23903. /Ermcp3/QueryHPMiddleGoods:
  23904. get:
  23905. parameters:
  23906. - description: 用户ID(填登录用户的userid)
  23907. in: query
  23908. name: userid
  23909. required: true
  23910. type: integer
  23911. - description: 买卖方向 0-买 1-卖
  23912. in: query
  23913. name: buyorsell
  23914. required: true
  23915. type: integer
  23916. - description: 商品组id
  23917. in: query
  23918. name: goodsgroupid
  23919. required: true
  23920. type: integer
  23921. - description: 套保计划编号(模糊匹配)
  23922. in: query
  23923. name: hedgeplanno
  23924. type: string
  23925. - description: 现货商品名称(模糊匹配)
  23926. in: query
  23927. name: wrstandardname
  23928. type: string
  23929. produces:
  23930. - application/json
  23931. responses:
  23932. "200":
  23933. description: OK
  23934. schema:
  23935. items:
  23936. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  23937. type: array
  23938. "500":
  23939. description: Internal Server Error
  23940. schema:
  23941. $ref: '#/definitions/app.Response'
  23942. security:
  23943. - ApiKeyAuth: []
  23944. summary: 查询可关联套保计划
  23945. tags:
  23946. - 企业风险管理v3(app)
  23947. /Ermcp3/QueryHedgePlan:
  23948. get:
  23949. parameters:
  23950. - description: 用户ID
  23951. in: query
  23952. name: userid
  23953. required: true
  23954. type: integer
  23955. - description: 用户类型 2-机构 7-企业成员
  23956. in: query
  23957. name: usertype
  23958. type: integer
  23959. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23960. in: query
  23961. name: hedgeplanstatus
  23962. required: true
  23963. type: string
  23964. produces:
  23965. - application/json
  23966. responses:
  23967. "200":
  23968. description: OK
  23969. schema:
  23970. items:
  23971. $ref: '#/definitions/models.Ermcp3HedgePlan'
  23972. type: array
  23973. "500":
  23974. description: Internal Server Error
  23975. schema:
  23976. $ref: '#/definitions/app.Response'
  23977. security:
  23978. - ApiKeyAuth: []
  23979. summary: 查询套保计划
  23980. tags:
  23981. - 企业风险管理v3(app)
  23982. /Ermcp3/QueryInnerTradeLink:
  23983. get:
  23984. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  23985. parameters:
  23986. - description: 外部成交单号
  23987. in: query
  23988. name: outtradeid
  23989. required: true
  23990. type: integer
  23991. produces:
  23992. - application/json
  23993. responses:
  23994. "200":
  23995. description: OK
  23996. schema:
  23997. items:
  23998. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  23999. type: array
  24000. "500":
  24001. description: Internal Server Error
  24002. schema:
  24003. $ref: '#/definitions/app.Response'
  24004. security:
  24005. - ApiKeyAuth: []
  24006. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  24007. tags:
  24008. - 企业风险管理v3(app)
  24009. /Ermcp3/QueryMiddleGoodsDetail:
  24010. get:
  24011. parameters:
  24012. - description: 用户id
  24013. in: query
  24014. name: userid
  24015. required: true
  24016. type: integer
  24017. - description: 用户类型 2-机构 7-企业成员
  24018. in: query
  24019. name: usertype
  24020. type: integer
  24021. - description: 套保品种id
  24022. in: query
  24023. name: middlegoodsid
  24024. type: integer
  24025. produces:
  24026. - application/json
  24027. responses:
  24028. "200":
  24029. description: OK
  24030. schema:
  24031. items:
  24032. $ref: '#/definitions/models.TBMiddleGoods'
  24033. type: array
  24034. "500":
  24035. description: Internal Server Error
  24036. schema:
  24037. $ref: '#/definitions/app.Response'
  24038. security:
  24039. - ApiKeyAuth: []
  24040. summary: 查询套保品种详情(套保品种/商品详情)
  24041. tags:
  24042. - 企业风险管理v3(app)
  24043. /Ermcp3/QueryOutTradeLink:
  24044. get:
  24045. description: 页面 app 现货->期现关联->外部成交单关联
  24046. parameters:
  24047. - description: 用户ID(填登录用户的userid)
  24048. in: query
  24049. name: userid
  24050. required: true
  24051. type: integer
  24052. - description: 外部订单号(模糊匹配)
  24053. in: query
  24054. name: outtradeid
  24055. type: string
  24056. - description: 合约名称/代码(模糊匹配)
  24057. in: query
  24058. name: goodsname
  24059. type: string
  24060. - description: 关联状态 0-未关联 1-已关联
  24061. in: query
  24062. name: hasinnerorder
  24063. type: integer
  24064. produces:
  24065. - application/json
  24066. responses:
  24067. "200":
  24068. description: OK
  24069. schema:
  24070. items:
  24071. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  24072. type: array
  24073. "500":
  24074. description: Internal Server Error
  24075. schema:
  24076. $ref: '#/definitions/app.Response'
  24077. security:
  24078. - ApiKeyAuth: []
  24079. summary: 查询外部成交单关联
  24080. tags:
  24081. - 企业风险管理v3(app)
  24082. /Ermcp3/QueryPaAreaAuditCfg:
  24083. get:
  24084. parameters:
  24085. - description: 用户id
  24086. in: query
  24087. name: userid
  24088. required: true
  24089. type: integer
  24090. produces:
  24091. - application/json
  24092. responses:
  24093. "200":
  24094. description: OK
  24095. schema:
  24096. items:
  24097. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  24098. type: array
  24099. "500":
  24100. description: Internal Server Error
  24101. schema:
  24102. $ref: '#/definitions/app.Response'
  24103. security:
  24104. - ApiKeyAuth: []
  24105. summary: 查询审核设置
  24106. tags:
  24107. - 企业风险管理v3(app)
  24108. /Ermcp3/QueryPaAreaSubject:
  24109. get:
  24110. parameters:
  24111. - description: 用户id
  24112. in: query
  24113. name: userid
  24114. required: true
  24115. type: integer
  24116. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  24117. in: query
  24118. name: subjectid
  24119. type: integer
  24120. - description: 主体类型 - 1:交易主体 2:业务部门
  24121. in: query
  24122. name: subjecttype
  24123. type: integer
  24124. - description: '主体状态 - 1:正常 2: 停用'
  24125. in: query
  24126. name: subjectstatus
  24127. type: integer
  24128. produces:
  24129. - application/json
  24130. responses:
  24131. "200":
  24132. description: OK
  24133. schema:
  24134. items:
  24135. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  24136. type: array
  24137. "500":
  24138. description: Internal Server Error
  24139. schema:
  24140. $ref: '#/definitions/app.Response'
  24141. security:
  24142. - ApiKeyAuth: []
  24143. summary: 查询交易主体
  24144. tags:
  24145. - 企业风险管理v3(app)
  24146. /Ermcp3/QueryPaTradeLink:
  24147. get:
  24148. description: 页面 app 现货->期现关联->期现单据关联
  24149. parameters:
  24150. - description: 用户ID
  24151. in: query
  24152. name: userid
  24153. required: true
  24154. type: integer
  24155. produces:
  24156. - application/json
  24157. responses:
  24158. "200":
  24159. description: OK
  24160. schema:
  24161. items:
  24162. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  24163. type: array
  24164. "500":
  24165. description: Internal Server Error
  24166. schema:
  24167. $ref: '#/definitions/app.Response'
  24168. security:
  24169. - ApiKeyAuth: []
  24170. summary: 查询期现单据关联
  24171. tags:
  24172. - 企业风险管理v3(app)
  24173. /Ermcp3/QueryPaTradeLinkDetail:
  24174. get:
  24175. description: 页面 app 现货->期现关联->关联记录
  24176. parameters:
  24177. - description: 用户ID(填登录用户的userid)
  24178. in: query
  24179. name: userid
  24180. required: true
  24181. type: integer
  24182. - description: 关联状态 1:成功 2:失败 3:解绑
  24183. in: query
  24184. name: linkstatus
  24185. type: integer
  24186. - description: 期货订单号(模糊匹配)
  24187. in: query
  24188. name: tradeid
  24189. type: string
  24190. - description: 现货编号(模糊匹配)
  24191. in: query
  24192. name: contractno
  24193. type: string
  24194. - description: 期货账户(模糊匹配)
  24195. in: query
  24196. name: taname
  24197. type: string
  24198. produces:
  24199. - application/json
  24200. responses:
  24201. "200":
  24202. description: OK
  24203. schema:
  24204. items:
  24205. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  24206. type: array
  24207. "500":
  24208. description: Internal Server Error
  24209. schema:
  24210. $ref: '#/definitions/app.Response'
  24211. security:
  24212. - ApiKeyAuth: []
  24213. summary: 查询期现关联记录
  24214. tags:
  24215. - 企业风险管理v3(app)
  24216. /Ermcp3/QueryParamChangeApp:
  24217. get:
  24218. description: |-
  24219. 原型页面:
  24220. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  24221. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  24222. parameters:
  24223. - description: 用户ID
  24224. in: query
  24225. name: userid
  24226. required: true
  24227. type: integer
  24228. - description: 现货品种id
  24229. in: query
  24230. name: deliverygoodsid
  24231. type: integer
  24232. - description: 现货商品id
  24233. in: query
  24234. name: wrstandardid
  24235. type: integer
  24236. - description: 套保商品id
  24237. in: query
  24238. name: middlegoodsid
  24239. type: integer
  24240. - description: 操作类型 1:新增 2:修改
  24241. in: query
  24242. name: operatetype
  24243. type: integer
  24244. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  24245. in: query
  24246. name: paramchangetype
  24247. type: integer
  24248. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24249. in: query
  24250. name: ftstatus
  24251. type: string
  24252. produces:
  24253. - application/json
  24254. responses:
  24255. "200":
  24256. description: OK
  24257. schema:
  24258. items:
  24259. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  24260. type: array
  24261. "500":
  24262. description: Internal Server Error
  24263. schema:
  24264. $ref: '#/definitions/app.Response'
  24265. security:
  24266. - ApiKeyAuth: []
  24267. summary: 查询现货商品参数变更申请(流水)
  24268. tags:
  24269. - 企业风险管理v3(app)
  24270. /Ermcp3/QueryRootUserAccount:
  24271. get:
  24272. parameters:
  24273. - description: 用户ID
  24274. in: query
  24275. name: userid
  24276. required: true
  24277. type: integer
  24278. produces:
  24279. - application/json
  24280. responses:
  24281. "200":
  24282. description: OK
  24283. schema:
  24284. items:
  24285. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  24286. type: array
  24287. "500":
  24288. description: Internal Server Error
  24289. schema:
  24290. $ref: '#/definitions/app.Response'
  24291. security:
  24292. - ApiKeyAuth: []
  24293. summary: 查询顶级用户信息
  24294. tags:
  24295. - 企业风险管理v3(app)
  24296. /Ermcp3/QuerySCMiddleGoods:
  24297. get:
  24298. description: |-
  24299. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  24300. 现货编号 即 合同编号
  24301. parameters:
  24302. - description: 用户ID(填登录用户的userid)
  24303. in: query
  24304. name: userid
  24305. required: true
  24306. type: integer
  24307. - description: 买卖方向 0-买 1-卖
  24308. in: query
  24309. name: buyorsell
  24310. required: true
  24311. type: integer
  24312. - description: 商品组id
  24313. in: query
  24314. name: goodsgroupid
  24315. required: true
  24316. type: integer
  24317. - description: 业务类型 1:套保 2:套利
  24318. in: query
  24319. name: biztype
  24320. type: integer
  24321. - description: 现货编号(模糊匹配)
  24322. in: query
  24323. name: contractno
  24324. type: string
  24325. - description: 对手方(模糊匹配)
  24326. in: query
  24327. name: customername
  24328. type: string
  24329. - description: 现货商品名称(模糊匹配)
  24330. in: query
  24331. name: wrstandardname
  24332. type: string
  24333. produces:
  24334. - application/json
  24335. responses:
  24336. "200":
  24337. description: OK
  24338. schema:
  24339. items:
  24340. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  24341. type: array
  24342. "500":
  24343. description: Internal Server Error
  24344. schema:
  24345. $ref: '#/definitions/app.Response'
  24346. security:
  24347. - ApiKeyAuth: []
  24348. summary: 查询现货订单
  24349. tags:
  24350. - 企业风险管理v3(app)
  24351. /Ermcp3/QuerySpotContract:
  24352. get:
  24353. parameters:
  24354. - description: 用户id(当指定contractid, userid可不填)
  24355. in: query
  24356. name: userid
  24357. required: true
  24358. type: integer
  24359. - description: 用户类型 2-机构 7-企业成员
  24360. in: query
  24361. name: usertype
  24362. type: integer
  24363. - description: 合同类型 1-采购, -1-销售
  24364. in: query
  24365. name: contracttype
  24366. type: integer
  24367. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  24368. in: query
  24369. name: querytype
  24370. type: string
  24371. - description: 合同ID(SpotContractId)
  24372. in: query
  24373. name: contractid
  24374. type: string
  24375. - description: 合同编号(模糊匹配)
  24376. in: query
  24377. name: contractno
  24378. type: string
  24379. - description: 商品名称(模糊匹配)
  24380. in: query
  24381. name: wrstandardname
  24382. type: string
  24383. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  24384. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24385. in: query
  24386. name: status
  24387. type: string
  24388. - description: 是否只查今日的合同 1-查今日合同
  24389. in: query
  24390. name: istoday
  24391. type: integer
  24392. produces:
  24393. - application/json
  24394. responses:
  24395. "200":
  24396. description: OK
  24397. schema:
  24398. items:
  24399. $ref: '#/definitions/models.Ermcp3Contract'
  24400. type: array
  24401. "500":
  24402. description: Internal Server Error
  24403. schema:
  24404. $ref: '#/definitions/app.Response'
  24405. security:
  24406. - ApiKeyAuth: []
  24407. summary: 查询现货合同
  24408. tags:
  24409. - 企业风险管理v3(app)
  24410. /Ermcp3/QuerySpotContractBS:
  24411. get:
  24412. parameters:
  24413. - description: 用户id
  24414. in: query
  24415. name: userid
  24416. required: true
  24417. type: integer
  24418. - description: 用户类型 2-机构 7-企业成员
  24419. in: query
  24420. name: usertype
  24421. type: integer
  24422. - description: 合同类型 1-采购, -1-销售
  24423. in: query
  24424. name: contracttype
  24425. required: true
  24426. type: integer
  24427. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  24428. in: query
  24429. name: querytype
  24430. type: integer
  24431. - description: 合同ID(SpotContractId)
  24432. in: query
  24433. name: contractid
  24434. type: string
  24435. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  24436. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24437. in: query
  24438. name: status
  24439. type: string
  24440. - description: 是否只查今日的合同 1-查今日合同
  24441. in: query
  24442. name: istoday
  24443. type: integer
  24444. produces:
  24445. - application/json
  24446. responses:
  24447. "200":
  24448. description: OK
  24449. schema:
  24450. items:
  24451. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  24452. type: array
  24453. "500":
  24454. description: Internal Server Error
  24455. schema:
  24456. $ref: '#/definitions/app.Response'
  24457. security:
  24458. - ApiKeyAuth: []
  24459. summary: 查询合同(采购/销售)
  24460. tags:
  24461. - 企业风险管理v3(app)
  24462. /Ermcp3/QuerySpotGoodsPrice:
  24463. get:
  24464. parameters:
  24465. - description: 用户ID
  24466. in: query
  24467. name: userid
  24468. required: true
  24469. type: integer
  24470. produces:
  24471. - application/json
  24472. responses:
  24473. "200":
  24474. description: OK
  24475. schema:
  24476. items:
  24477. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  24478. type: array
  24479. "500":
  24480. description: Internal Server Error
  24481. schema:
  24482. $ref: '#/definitions/app.Response'
  24483. security:
  24484. - ApiKeyAuth: []
  24485. summary: 查询现货市价(现货市价)
  24486. tags:
  24487. - 企业风险管理v3(app)
  24488. /Ermcp3/QuerySpotGoodsPriceLog:
  24489. get:
  24490. parameters:
  24491. - description: 用户ID
  24492. in: query
  24493. name: userid
  24494. required: true
  24495. type: integer
  24496. - description: 现货商品ID
  24497. in: query
  24498. name: deliverygoodsid
  24499. required: true
  24500. type: integer
  24501. - description: 品牌ID
  24502. in: query
  24503. name: brandid
  24504. type: integer
  24505. - description: 品类ID
  24506. in: query
  24507. name: wrstandardid
  24508. type: integer
  24509. produces:
  24510. - application/json
  24511. responses:
  24512. "200":
  24513. description: OK
  24514. schema:
  24515. items:
  24516. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  24517. type: array
  24518. "500":
  24519. description: Internal Server Error
  24520. schema:
  24521. $ref: '#/definitions/app.Response'
  24522. security:
  24523. - ApiKeyAuth: []
  24524. summary: 查询现货市价详情(现货市价/详情)
  24525. tags:
  24526. - 企业风险管理v3(app)
  24527. /Ermcp3/QuerySubTaaccount:
  24528. get:
  24529. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  24530. parameters:
  24531. - description: 母账号id
  24532. in: query
  24533. name: parentaccountid
  24534. type: integer
  24535. - description: 母账号代码
  24536. in: query
  24537. name: parentaccountcode
  24538. type: string
  24539. produces:
  24540. - application/json
  24541. responses:
  24542. "200":
  24543. description: OK
  24544. schema:
  24545. items:
  24546. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  24547. type: array
  24548. "500":
  24549. description: Internal Server Error
  24550. schema:
  24551. $ref: '#/definitions/app.Response'
  24552. security:
  24553. - ApiKeyAuth: []
  24554. summary: 查询期货子账户
  24555. tags:
  24556. - 企业风险管理v3(app)
  24557. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  24558. get:
  24559. parameters:
  24560. - description: 套期项目ID
  24561. in: query
  24562. name: hedgeditemid
  24563. required: true
  24564. type: integer
  24565. produces:
  24566. - application/json
  24567. responses:
  24568. "200":
  24569. description: OK
  24570. schema:
  24571. items:
  24572. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  24573. type: array
  24574. "500":
  24575. description: Internal Server Error
  24576. schema:
  24577. $ref: '#/definitions/app.Response'
  24578. security:
  24579. - ApiKeyAuth: []
  24580. summary: 现货成交明细查询
  24581. tags:
  24582. - 企业风险管理v8
  24583. /Ermcp8/QueryERMCP2HedgedItemspot:
  24584. get:
  24585. parameters:
  24586. - description: 套期项目ID
  24587. in: query
  24588. name: hedgeditemid
  24589. required: true
  24590. type: integer
  24591. produces:
  24592. - application/json
  24593. responses:
  24594. "200":
  24595. description: OK
  24596. schema:
  24597. items:
  24598. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  24599. type: array
  24600. "500":
  24601. description: Internal Server Error
  24602. schema:
  24603. $ref: '#/definitions/app.Response'
  24604. security:
  24605. - ApiKeyAuth: []
  24606. summary: 套期计划明细查询
  24607. tags:
  24608. - 企业风险管理v8
  24609. /Ermcp8/QueryERMCPJRLinkPos:
  24610. get:
  24611. parameters:
  24612. - description: 套期项目ID
  24613. in: query
  24614. name: hedgeditemid
  24615. required: true
  24616. type: integer
  24617. produces:
  24618. - application/json
  24619. responses:
  24620. "200":
  24621. description: OK
  24622. schema:
  24623. items:
  24624. $ref: '#/definitions/models.Ermcpjrlinkpos'
  24625. type: array
  24626. "500":
  24627. description: Internal Server Error
  24628. schema:
  24629. $ref: '#/definitions/app.Response'
  24630. security:
  24631. - ApiKeyAuth: []
  24632. summary: 期货持仓明细查询
  24633. tags:
  24634. - 企业风险管理v8
  24635. /Ermcp8/QueryERMCPPatradeLinkDetail:
  24636. get:
  24637. parameters:
  24638. - description: 套期项目ID
  24639. in: query
  24640. name: hedgeditemid
  24641. required: true
  24642. type: integer
  24643. produces:
  24644. - application/json
  24645. responses:
  24646. "200":
  24647. description: OK
  24648. schema:
  24649. items:
  24650. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  24651. type: array
  24652. "500":
  24653. description: Internal Server Error
  24654. schema:
  24655. $ref: '#/definitions/app.Response'
  24656. security:
  24657. - ApiKeyAuth: []
  24658. summary: 期货成交单明细查询
  24659. tags:
  24660. - 企业风险管理v8
  24661. /Ermcp8/QueryErmcp2HedgedItem:
  24662. get:
  24663. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  24664. parameters:
  24665. - description: 用户ID
  24666. in: query
  24667. name: userid
  24668. required: true
  24669. type: string
  24670. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  24671. in: query
  24672. name: hedgedtype
  24673. type: integer
  24674. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24675. in: query
  24676. name: hedgeditemstatus
  24677. type: integer
  24678. produces:
  24679. - application/json
  24680. responses:
  24681. "200":
  24682. description: OK
  24683. schema:
  24684. items:
  24685. $ref: '#/definitions/models.Ermcp2hedgeditem'
  24686. type: array
  24687. "500":
  24688. description: Internal Server Error
  24689. schema:
  24690. $ref: '#/definitions/app.Response'
  24691. security:
  24692. - ApiKeyAuth: []
  24693. summary: 查询被套期项目信息
  24694. tags:
  24695. - 企业风险管理v8
  24696. /Ermcp8/QueryErmcp8HedgeditemReport:
  24697. get:
  24698. parameters:
  24699. - description: 用户ID
  24700. in: query
  24701. name: userid
  24702. required: true
  24703. type: integer
  24704. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24705. in: query
  24706. name: cycletype
  24707. type: integer
  24708. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24709. 全(0)【原值】
  24710. in: query
  24711. name: cycletime
  24712. required: true
  24713. type: string
  24714. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  24715. in: query
  24716. name: hedgedtype
  24717. type: integer
  24718. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24719. in: query
  24720. name: hedgeditemstatus
  24721. type: integer
  24722. - description: 项目编号,模糊查询
  24723. in: query
  24724. name: hedgeditemnum
  24725. type: string
  24726. - description: 现货商品ID
  24727. in: query
  24728. name: wrstandardid
  24729. type: integer
  24730. produces:
  24731. - application/json
  24732. responses:
  24733. "200":
  24734. description: OK
  24735. schema:
  24736. items:
  24737. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  24738. type: array
  24739. "500":
  24740. description: Internal Server Error
  24741. schema:
  24742. $ref: '#/definitions/app.Response'
  24743. security:
  24744. - ApiKeyAuth: []
  24745. summary: 套期项目报表查询
  24746. tags:
  24747. - 企业风险管理v8
  24748. /Ermcp8/QueryInternalEnableTradeDetail:
  24749. get:
  24750. parameters:
  24751. - description: 企业ID
  24752. in: query
  24753. name: areauserid
  24754. required: true
  24755. type: integer
  24756. - description: 期货合约ID
  24757. in: query
  24758. name: goodsid
  24759. required: true
  24760. type: integer
  24761. produces:
  24762. - application/json
  24763. responses:
  24764. "200":
  24765. description: OK
  24766. schema:
  24767. items:
  24768. $ref: '#/definitions/models.InternalEnableTradeDetail'
  24769. type: array
  24770. "500":
  24771. description: Internal Server Error
  24772. schema:
  24773. $ref: '#/definitions/app.Response'
  24774. security:
  24775. - ApiKeyAuth: []
  24776. summary: 内部成交单可关联项目查询
  24777. tags:
  24778. - 企业风险管理v8
  24779. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  24780. get:
  24781. parameters:
  24782. - description: 用户编号
  24783. in: query
  24784. name: userid
  24785. required: true
  24786. type: integer
  24787. - description: 起始日期(格式yyyymmdd)
  24788. in: query
  24789. name: begindate
  24790. type: string
  24791. - description: 终止日期(格式yyyymmdd)
  24792. in: query
  24793. name: enddate
  24794. type: string
  24795. - description: 合约代码
  24796. in: query
  24797. name: goodscode
  24798. type: string
  24799. - description: 合约名称
  24800. in: query
  24801. name: goodsname
  24802. type: string
  24803. - description: 成交单号
  24804. in: query
  24805. name: tradeid
  24806. type: integer
  24807. - description: 方向 - 0:买 1:卖
  24808. in: query
  24809. name: buyorsell
  24810. type: integer
  24811. - description: 套期主体
  24812. in: query
  24813. name: accountname
  24814. type: string
  24815. produces:
  24816. - application/json
  24817. responses:
  24818. "200":
  24819. description: OK
  24820. schema:
  24821. items:
  24822. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  24823. type: array
  24824. "500":
  24825. description: Internal Server Error
  24826. schema:
  24827. $ref: '#/definitions/app.Response'
  24828. security:
  24829. - ApiKeyAuth: []
  24830. summary: 内部未关联成交单查询
  24831. tags:
  24832. - 企业风险管理v8
  24833. /Ermcp8/QueryUnLinkSpotContract:
  24834. get:
  24835. parameters:
  24836. - description: 用户ID
  24837. in: query
  24838. name: userid
  24839. required: true
  24840. type: integer
  24841. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  24842. in: query
  24843. name: pricetype
  24844. type: integer
  24845. - description: 合同编号, 模拟查询
  24846. in: query
  24847. name: contractno
  24848. type: string
  24849. - description: 对手方, 模拟查询
  24850. in: query
  24851. name: customername
  24852. type: string
  24853. - description: 项合同类型 - 1:采购 -1:销售
  24854. in: query
  24855. name: contracttype
  24856. type: integer
  24857. produces:
  24858. - application/json
  24859. responses:
  24860. "200":
  24861. description: OK
  24862. schema:
  24863. items:
  24864. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  24865. type: array
  24866. "500":
  24867. description: Internal Server Error
  24868. schema:
  24869. $ref: '#/definitions/app.Response'
  24870. security:
  24871. - ApiKeyAuth: []
  24872. summary: 未关联合同查询
  24873. tags:
  24874. - 企业风险管理v8
  24875. /Erms2/QueryArbitrageStrategy:
  24876. get:
  24877. parameters:
  24878. - description: 账户ID
  24879. in: query
  24880. name: userid
  24881. required: true
  24882. type: integer
  24883. - description: 商品组ID(品种ID)
  24884. in: query
  24885. name: goodsgroupid
  24886. type: string
  24887. produces:
  24888. - application/json
  24889. responses:
  24890. "200":
  24891. description: OK
  24892. schema:
  24893. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  24894. "500":
  24895. description: Internal Server Error
  24896. schema:
  24897. $ref: '#/definitions/app.Response'
  24898. security:
  24899. - ApiKeyAuth: []
  24900. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  24901. tags:
  24902. - 风险管理
  24903. /Erms2/QueryInnerTradeDetail:
  24904. get:
  24905. parameters:
  24906. - description: 资金账户
  24907. in: query
  24908. name: accountid
  24909. required: true
  24910. type: integer
  24911. produces:
  24912. - application/json
  24913. responses:
  24914. "200":
  24915. description: OK
  24916. schema:
  24917. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  24918. "500":
  24919. description: Internal Server Error
  24920. schema:
  24921. $ref: '#/definitions/app.Response'
  24922. security:
  24923. - ApiKeyAuth: []
  24924. summary: 查询内部成交单信息
  24925. tags:
  24926. - 风险管理
  24927. /Erms2/QuerySpotContract:
  24928. get:
  24929. parameters:
  24930. - description: 策略申请ID
  24931. in: query
  24932. name: asapplyid
  24933. required: true
  24934. type: integer
  24935. - description: 现货合同ID
  24936. in: query
  24937. name: spotcontractid
  24938. type: integer
  24939. produces:
  24940. - application/json
  24941. responses:
  24942. "200":
  24943. description: OK
  24944. schema:
  24945. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  24946. "500":
  24947. description: Internal Server Error
  24948. schema:
  24949. $ref: '#/definitions/app.Response'
  24950. security:
  24951. - ApiKeyAuth: []
  24952. summary: 查询现货合同表信息(指定策略ID、未结束的)
  24953. tags:
  24954. - 风险管理
  24955. /Erms3/AddErms2ASApply:
  24956. post:
  24957. parameters:
  24958. - description: 申请参数
  24959. in: body
  24960. name: jsonBody
  24961. required: true
  24962. schema:
  24963. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  24964. produces:
  24965. - application/json
  24966. responses:
  24967. "200":
  24968. description: OK
  24969. schema:
  24970. $ref: '#/definitions/app.Response'
  24971. "500":
  24972. description: Internal Server Error
  24973. schema:
  24974. $ref: '#/definitions/app.Response'
  24975. security:
  24976. - ApiKeyAuth: []
  24977. summary: 新增期现套利业务申请
  24978. tags:
  24979. - 风险管理v3
  24980. /Erms3/AddErms2SpotTradeApply:
  24981. post:
  24982. parameters:
  24983. - description: 申请参数
  24984. in: body
  24985. name: jsonBody
  24986. required: true
  24987. schema:
  24988. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  24989. produces:
  24990. - application/json
  24991. responses:
  24992. "200":
  24993. description: OK
  24994. schema:
  24995. $ref: '#/definitions/app.Response'
  24996. "500":
  24997. description: Internal Server Error
  24998. schema:
  24999. $ref: '#/definitions/app.Response'
  25000. security:
  25001. - ApiKeyAuth: []
  25002. summary: 新增现货贸易业务申请
  25003. tags:
  25004. - 风险管理v3
  25005. /Erms3/AddSpotContractApply:
  25006. post:
  25007. parameters:
  25008. - description: 申请参数
  25009. in: body
  25010. name: jsonBody
  25011. required: true
  25012. schema:
  25013. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  25014. produces:
  25015. - application/json
  25016. responses:
  25017. "200":
  25018. description: OK
  25019. schema:
  25020. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  25021. "500":
  25022. description: Internal Server Error
  25023. schema:
  25024. $ref: '#/definitions/app.Response'
  25025. security:
  25026. - ApiKeyAuth: []
  25027. summary: 新增现货合同申请
  25028. tags:
  25029. - 风险管理v3
  25030. /Erms3/AddUserInfoApply:
  25031. post:
  25032. parameters:
  25033. - description: 用户信息
  25034. in: body
  25035. name: jsonBody
  25036. required: true
  25037. schema:
  25038. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  25039. produces:
  25040. - application/json
  25041. responses:
  25042. "200":
  25043. description: OK
  25044. schema:
  25045. $ref: '#/definitions/app.Response'
  25046. "500":
  25047. description: Internal Server Error
  25048. schema:
  25049. $ref: '#/definitions/app.Response'
  25050. security:
  25051. - ApiKeyAuth: []
  25052. summary: 新增客户申请
  25053. tags:
  25054. - 风险管理v3
  25055. /Erms3/DeleteUserInfoApply:
  25056. get:
  25057. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  25058. parameters:
  25059. - description: 用户ID
  25060. in: query
  25061. name: userID
  25062. required: true
  25063. type: integer
  25064. produces:
  25065. - application/json
  25066. responses:
  25067. "200":
  25068. description: OK
  25069. schema:
  25070. $ref: '#/definitions/app.Response'
  25071. "500":
  25072. description: Internal Server Error
  25073. schema:
  25074. $ref: '#/definitions/app.Response'
  25075. security:
  25076. - ApiKeyAuth: []
  25077. summary: 删除客户申请
  25078. tags:
  25079. - 风险管理v3
  25080. /Erms3/ModifyUserInfoApply:
  25081. post:
  25082. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  25083. int, "userstate": 2 }'
  25084. parameters:
  25085. - description: 用户信息
  25086. in: body
  25087. name: jsonBody
  25088. required: true
  25089. schema:
  25090. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  25091. produces:
  25092. - application/json
  25093. responses:
  25094. "200":
  25095. description: OK
  25096. schema:
  25097. $ref: '#/definitions/app.Response'
  25098. "500":
  25099. description: Internal Server Error
  25100. schema:
  25101. $ref: '#/definitions/app.Response'
  25102. security:
  25103. - ApiKeyAuth: []
  25104. summary: 修改客户申请
  25105. tags:
  25106. - 风险管理v3
  25107. /Erms3/QueryBusinessInfo:
  25108. get:
  25109. parameters:
  25110. - description: 资金账号ID列表,用逗号分隔
  25111. in: query
  25112. name: accountids
  25113. required: true
  25114. type: string
  25115. - description: 状态,0为未结束 1为已结束
  25116. in: query
  25117. name: status
  25118. required: true
  25119. type: integer
  25120. produces:
  25121. - application/json
  25122. responses:
  25123. "200":
  25124. description: OK
  25125. schema:
  25126. items:
  25127. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  25128. type: array
  25129. "500":
  25130. description: Internal Server Error
  25131. schema:
  25132. $ref: '#/definitions/app.Response'
  25133. security:
  25134. - ApiKeyAuth: []
  25135. summary: 查询业务表单数据
  25136. tags:
  25137. - 风险管理v3
  25138. /Erms3/QueryPendingAuditContract:
  25139. get:
  25140. parameters:
  25141. - description: 资金账号ID列表,逗号隔开
  25142. in: query
  25143. name: accountids
  25144. required: true
  25145. type: string
  25146. - description: 合同类型 1-采购 -1-销售
  25147. in: query
  25148. name: contracttype
  25149. required: true
  25150. type: integer
  25151. - description: 合同模式 1-普通 2-回购
  25152. in: query
  25153. name: contractmode
  25154. required: true
  25155. type: integer
  25156. produces:
  25157. - application/json
  25158. responses:
  25159. "200":
  25160. description: OK
  25161. schema:
  25162. items:
  25163. $ref: '#/definitions/erms3.QryAuditContractRsp'
  25164. type: array
  25165. "500":
  25166. description: Internal Server Error
  25167. schema:
  25168. $ref: '#/definitions/app.Response'
  25169. security:
  25170. - ApiKeyAuth: []
  25171. summary: 查询待审核合同
  25172. tags:
  25173. - 风险管理v3
  25174. /Erms3/QueryPendingBusiness:
  25175. get:
  25176. parameters:
  25177. - description: 资金账号ID列表,逗号隔开
  25178. in: query
  25179. name: accountids
  25180. required: true
  25181. type: string
  25182. produces:
  25183. - application/json
  25184. responses:
  25185. "200":
  25186. description: OK
  25187. schema:
  25188. items:
  25189. $ref: '#/definitions/erms3.QryPendingBizRsp'
  25190. type: array
  25191. "500":
  25192. description: Internal Server Error
  25193. schema:
  25194. $ref: '#/definitions/app.Response'
  25195. security:
  25196. - ApiKeyAuth: []
  25197. summary: 查询待审核基差贸易业务
  25198. tags:
  25199. - 风险管理v3
  25200. /Erms3/QuerySpotContractAppleForm:
  25201. get:
  25202. parameters:
  25203. - description: 登录账号
  25204. in: query
  25205. name: loginID
  25206. required: true
  25207. type: integer
  25208. produces:
  25209. - application/json
  25210. responses:
  25211. "200":
  25212. description: OK
  25213. schema:
  25214. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  25215. "500":
  25216. description: Internal Server Error
  25217. schema:
  25218. $ref: '#/definitions/app.Response'
  25219. security:
  25220. - ApiKeyAuth: []
  25221. summary: 查询合同申请表单数据
  25222. tags:
  25223. - 风险管理v3
  25224. /Erms3/QuerySpotContractDetail:
  25225. get:
  25226. parameters:
  25227. - description: 资金账号ID列表,用逗号分隔
  25228. in: query
  25229. name: accountids
  25230. required: true
  25231. type: string
  25232. - description: 合同类型,1为采购合同 -1为销售合同
  25233. in: query
  25234. name: contracttype
  25235. required: true
  25236. type: integer
  25237. - description: 合同模式,1为普通合同 2为回购销售合同
  25238. in: query
  25239. name: contractmode
  25240. required: true
  25241. type: integer
  25242. - description: 状态,0为履约中 1为已完成
  25243. in: query
  25244. name: status
  25245. required: true
  25246. type: integer
  25247. produces:
  25248. - application/json
  25249. responses:
  25250. "200":
  25251. description: OK
  25252. schema:
  25253. items:
  25254. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  25255. type: array
  25256. "500":
  25257. description: Internal Server Error
  25258. schema:
  25259. $ref: '#/definitions/app.Response'
  25260. security:
  25261. - ApiKeyAuth: []
  25262. summary: 查询合同详细信息
  25263. tags:
  25264. - 风险管理v3
  25265. /Erms3/QueryUserInfoApplies:
  25266. get:
  25267. parameters:
  25268. - description: 页码
  25269. in: query
  25270. name: page
  25271. type: integer
  25272. - description: 每页条数
  25273. in: query
  25274. name: pagesize
  25275. type: integer
  25276. - description: 客户名称,支持模糊查询
  25277. in: query
  25278. name: userName
  25279. type: string
  25280. produces:
  25281. - application/json
  25282. responses:
  25283. "200":
  25284. description: OK
  25285. schema:
  25286. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  25287. "500":
  25288. description: Internal Server Error
  25289. schema:
  25290. $ref: '#/definitions/app.Response'
  25291. security:
  25292. - ApiKeyAuth: []
  25293. summary: 客户申请信息查询
  25294. tags:
  25295. - 风险管理v3
  25296. /Erms3/QueryUserInfos:
  25297. get:
  25298. parameters:
  25299. - description: 页码
  25300. in: query
  25301. name: page
  25302. type: integer
  25303. - description: 每页条数
  25304. in: query
  25305. name: pagesize
  25306. type: integer
  25307. - description: 客户名称,支持模糊查询
  25308. in: query
  25309. name: userName
  25310. type: string
  25311. produces:
  25312. - application/json
  25313. responses:
  25314. "200":
  25315. description: OK
  25316. schema:
  25317. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  25318. "500":
  25319. description: Internal Server Error
  25320. schema:
  25321. $ref: '#/definitions/app.Response'
  25322. security:
  25323. - ApiKeyAuth: []
  25324. summary: 客户信息查询
  25325. tags:
  25326. - 风险管理v3
  25327. /HSBY/GetHsbyMyCount:
  25328. get:
  25329. description: 说明: 不包括已完成的数量。
  25330. parameters:
  25331. - description: 资金账户列表,格式:1,2,3
  25332. in: query
  25333. name: accountIDs
  25334. required: true
  25335. type: string
  25336. produces:
  25337. - application/json
  25338. responses:
  25339. "200":
  25340. description: OK
  25341. schema:
  25342. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  25343. "500":
  25344. description: Internal Server Error
  25345. schema:
  25346. $ref: '#/definitions/app.Response'
  25347. security:
  25348. - ApiKeyAuth: []
  25349. summary: 获取我的订单与包裹数量
  25350. tags:
  25351. - 定制【海商报业】
  25352. /HSBY/QueryClientFixedADConfigs:
  25353. get:
  25354. produces:
  25355. - application/json
  25356. responses:
  25357. "200":
  25358. description: OK
  25359. schema:
  25360. $ref: '#/definitions/models.Clientfixedadconfig'
  25361. "500":
  25362. description: Internal Server Error
  25363. schema:
  25364. $ref: '#/definitions/app.Response'
  25365. security:
  25366. - ApiKeyAuth: []
  25367. summary: 获取终端固定广告配置
  25368. tags:
  25369. - 定制【海商报业】
  25370. /HSBY/QueryHsbyBuyMyTradeDetail:
  25371. get:
  25372. parameters:
  25373. - description: 页码
  25374. in: query
  25375. name: page
  25376. type: integer
  25377. - description: 每页条数
  25378. in: query
  25379. name: pagesize
  25380. type: integer
  25381. - description: 资金账户列表,格式:1,2,3
  25382. in: query
  25383. name: accountIDs
  25384. required: true
  25385. type: string
  25386. produces:
  25387. - application/json
  25388. responses:
  25389. "200":
  25390. description: OK
  25391. schema:
  25392. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  25393. "500":
  25394. description: Internal Server Error
  25395. schema:
  25396. $ref: '#/definitions/app.Response'
  25397. security:
  25398. - ApiKeyAuth: []
  25399. summary: 查询"我的订单 - 已完成"单据信息
  25400. tags:
  25401. - 定制【海商报业】
  25402. /HSBY/QueryHsbyGoodsOrderDetails:
  25403. get:
  25404. description: 说明:查询结果已按委托价格和委托时间排序
  25405. parameters:
  25406. - description: 商品ID
  25407. in: query
  25408. name: goodsID
  25409. required: true
  25410. type: integer
  25411. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  25412. in: query
  25413. name: accountIDs
  25414. type: string
  25415. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  25416. in: query
  25417. name: buyOrSell
  25418. type: integer
  25419. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  25420. in: query
  25421. name: price
  25422. type: number
  25423. - description: 档位,不传则默认为3档
  25424. in: query
  25425. name: speed
  25426. type: integer
  25427. produces:
  25428. - application/json
  25429. responses:
  25430. "200":
  25431. description: OK
  25432. schema:
  25433. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  25434. "500":
  25435. description: Internal Server Error
  25436. schema:
  25437. $ref: '#/definitions/app.Response'
  25438. security:
  25439. - ApiKeyAuth: []
  25440. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  25441. tags:
  25442. - 定制【海商报业】
  25443. /HSBY/QueryHsbyListingGoodsDetail:
  25444. get:
  25445. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  25446. parameters:
  25447. - description: 商品ID
  25448. in: query
  25449. name: goodsID
  25450. required: true
  25451. type: integer
  25452. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  25453. in: query
  25454. name: accountID
  25455. type: integer
  25456. produces:
  25457. - application/json
  25458. responses:
  25459. "200":
  25460. description: OK
  25461. schema:
  25462. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  25463. "500":
  25464. description: Internal Server Error
  25465. schema:
  25466. $ref: '#/definitions/app.Response'
  25467. security:
  25468. - ApiKeyAuth: []
  25469. summary: 查询二级市场(挂牌点选)商品信息详情
  25470. tags:
  25471. - 定制【海商报业】
  25472. /HSBY/QueryHsbyMarketGoodsDetail:
  25473. get:
  25474. parameters:
  25475. - description: 委托单号
  25476. in: query
  25477. name: orderID
  25478. required: true
  25479. type: integer
  25480. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  25481. in: query
  25482. name: accountID
  25483. type: integer
  25484. produces:
  25485. - application/json
  25486. responses:
  25487. "200":
  25488. description: OK
  25489. schema:
  25490. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  25491. "500":
  25492. description: Internal Server Error
  25493. schema:
  25494. $ref: '#/definitions/app.Response'
  25495. security:
  25496. - ApiKeyAuth: []
  25497. summary: 查询三级市场(商城)商品信息详情
  25498. tags:
  25499. - 定制【海商报业】
  25500. /HSBY/QueryHsbyMarketGoodses:
  25501. get:
  25502. parameters:
  25503. - description: 页码
  25504. in: query
  25505. name: page
  25506. type: integer
  25507. - description: 每页条数
  25508. in: query
  25509. name: pagesize
  25510. type: integer
  25511. - description: 市场ID列表,格式:1,2,3
  25512. in: query
  25513. name: marketIDs
  25514. required: true
  25515. type: string
  25516. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  25517. in: query
  25518. name: accountID
  25519. required: true
  25520. type: integer
  25521. - description: 类别ID
  25522. in: query
  25523. name: categoryID
  25524. type: integer
  25525. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  25526. in: query
  25527. name: goodsIDs
  25528. type: string
  25529. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  25530. in: query
  25531. name: couponTypeID
  25532. type: integer
  25533. produces:
  25534. - application/json
  25535. responses:
  25536. "200":
  25537. description: OK
  25538. schema:
  25539. $ref: '#/definitions/models.HsbyMarketGoods'
  25540. "500":
  25541. description: Internal Server Error
  25542. schema:
  25543. $ref: '#/definitions/app.Response'
  25544. security:
  25545. - ApiKeyAuth: []
  25546. summary: 查询特卖商品列表(三级商城)
  25547. tags:
  25548. - 定制【海商报业】
  25549. /HSBY/QueryHsbyMarkets:
  25550. get:
  25551. produces:
  25552. - application/json
  25553. responses:
  25554. "200":
  25555. description: OK
  25556. schema:
  25557. $ref: '#/definitions/models.HsbyMarketInfo'
  25558. "500":
  25559. description: Internal Server Error
  25560. schema:
  25561. $ref: '#/definitions/app.Response'
  25562. security:
  25563. - ApiKeyAuth: []
  25564. summary: 查询海商报业相关市场信息
  25565. tags:
  25566. - 定制【海商报业】
  25567. /HSBY/QueryHsbyMyBuyOrderDetails:
  25568. get:
  25569. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  25570. parameters:
  25571. - description: 资金账户列表,格式:1,2,3
  25572. in: query
  25573. name: accountIDs
  25574. required: true
  25575. type: string
  25576. produces:
  25577. - application/json
  25578. responses:
  25579. "200":
  25580. description: OK
  25581. schema:
  25582. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  25583. "500":
  25584. description: Internal Server Error
  25585. schema:
  25586. $ref: '#/definitions/app.Response'
  25587. security:
  25588. - ApiKeyAuth: []
  25589. summary: 查询“我的订单”信息
  25590. tags:
  25591. - 定制【海商报业】
  25592. /HSBY/QueryHsbyMyGoods:
  25593. get:
  25594. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  25595. parameters:
  25596. - description: 资金账户列表,格式:1,2,3
  25597. in: query
  25598. name: accountIDs
  25599. required: true
  25600. type: string
  25601. produces:
  25602. - application/json
  25603. responses:
  25604. "200":
  25605. description: OK
  25606. schema:
  25607. $ref: '#/definitions/models.HsbyMyGoods'
  25608. "500":
  25609. description: Internal Server Error
  25610. schema:
  25611. $ref: '#/definitions/app.Response'
  25612. security:
  25613. - ApiKeyAuth: []
  25614. summary: 查询“我的商品”信息
  25615. tags:
  25616. - 定制【海商报业】
  25617. /HSBY/QueryHsbyMyPackages:
  25618. get:
  25619. parameters:
  25620. - description: 资金账户列表,格式:1,2,3
  25621. in: query
  25622. name: accountIDs
  25623. required: true
  25624. type: string
  25625. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25626. in: query
  25627. name: takeOrderStatus
  25628. type: integer
  25629. produces:
  25630. - application/json
  25631. responses:
  25632. "200":
  25633. description: OK
  25634. schema:
  25635. $ref: '#/definitions/models.HsbyMyPackage'
  25636. "500":
  25637. description: Internal Server Error
  25638. schema:
  25639. $ref: '#/definitions/app.Response'
  25640. security:
  25641. - ApiKeyAuth: []
  25642. summary: 查询我的包裹信息
  25643. tags:
  25644. - 定制【海商报业】
  25645. /HSBY/QueryHsbyPreGoodsDetail:
  25646. get:
  25647. parameters:
  25648. - description: 商品ID
  25649. in: query
  25650. name: goodsID
  25651. required: true
  25652. type: integer
  25653. - description: 资金账户,主要用于获取预售商品购买上限
  25654. in: query
  25655. name: accountID
  25656. type: integer
  25657. produces:
  25658. - application/json
  25659. responses:
  25660. "200":
  25661. description: OK
  25662. schema:
  25663. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  25664. "500":
  25665. description: Internal Server Error
  25666. schema:
  25667. $ref: '#/definitions/app.Response'
  25668. security:
  25669. - ApiKeyAuth: []
  25670. summary: 查询一级市场(预售)商品信息详情
  25671. tags:
  25672. - 定制【海商报业】
  25673. /HSBY/QueryHsbyPreGoodses:
  25674. get:
  25675. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  25676. parameters:
  25677. - description: 页码
  25678. in: query
  25679. name: page
  25680. type: integer
  25681. - description: 每页条数
  25682. in: query
  25683. name: pagesize
  25684. type: integer
  25685. - description: 市场ID列表,格式:1,2,3
  25686. in: query
  25687. name: marketIDs
  25688. required: true
  25689. type: string
  25690. - description: 目的地(省)ID
  25691. in: query
  25692. name: descProvinceID
  25693. type: integer
  25694. - description: 目的地(市)ID
  25695. in: query
  25696. name: descCityID
  25697. type: integer
  25698. produces:
  25699. - application/json
  25700. responses:
  25701. "200":
  25702. description: OK
  25703. schema:
  25704. $ref: '#/definitions/models.HsbyPreGoods'
  25705. "500":
  25706. description: Internal Server Error
  25707. schema:
  25708. $ref: '#/definitions/app.Response'
  25709. security:
  25710. - ApiKeyAuth: []
  25711. summary: 查询新品上市商品列表(一级市场预售)
  25712. tags:
  25713. - 定制【海商报业】
  25714. /HSBY/QueryHsbySellMyDetails:
  25715. get:
  25716. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  25717. parameters:
  25718. - description: 页码
  25719. in: query
  25720. name: page
  25721. type: integer
  25722. - description: 每页条数
  25723. in: query
  25724. name: pagesize
  25725. type: integer
  25726. - description: 资金账户列表,格式:1,2,3
  25727. in: query
  25728. name: accountIDs
  25729. required: true
  25730. type: string
  25731. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  25732. in: query
  25733. name: orderType
  25734. type: integer
  25735. produces:
  25736. - application/json
  25737. responses:
  25738. "200":
  25739. description: OK
  25740. schema:
  25741. $ref: '#/definitions/models.HsbySellMyDetail'
  25742. "500":
  25743. description: Internal Server Error
  25744. schema:
  25745. $ref: '#/definitions/app.Response'
  25746. security:
  25747. - ApiKeyAuth: []
  25748. summary: 查询"我的闲置"单据信息
  25749. tags:
  25750. - 定制【海商报业】
  25751. /HSBY/QueryHsbyTopGoodses:
  25752. get:
  25753. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  25754. parameters:
  25755. - description: 页码
  25756. in: query
  25757. name: page
  25758. type: integer
  25759. - description: 每页条数
  25760. in: query
  25761. name: pagesize
  25762. type: integer
  25763. - description: 市场ID列表,格式:1,2,3
  25764. in: query
  25765. name: marketIDs
  25766. required: true
  25767. type: string
  25768. - description: 目的地(省)ID
  25769. in: query
  25770. name: descProvinceID
  25771. type: integer
  25772. - description: 目的地(市)ID
  25773. in: query
  25774. name: descCityID
  25775. type: integer
  25776. produces:
  25777. - application/json
  25778. responses:
  25779. "200":
  25780. description: OK
  25781. schema:
  25782. $ref: '#/definitions/models.HsbyTopGoods'
  25783. "500":
  25784. description: Internal Server Error
  25785. schema:
  25786. $ref: '#/definitions/app.Response'
  25787. security:
  25788. - ApiKeyAuth: []
  25789. summary: 查询热卖商品列表(二级市场挂牌点选)
  25790. tags:
  25791. - 定制【海商报业】
  25792. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  25793. get:
  25794. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  25795. parameters:
  25796. - description: 商品ID
  25797. in: query
  25798. name: goodsID
  25799. required: true
  25800. type: integer
  25801. produces:
  25802. - application/json
  25803. responses:
  25804. "200":
  25805. description: OK
  25806. schema:
  25807. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  25808. "500":
  25809. description: Internal Server Error
  25810. schema:
  25811. $ref: '#/definitions/app.Response'
  25812. security:
  25813. - ApiKeyAuth: []
  25814. summary: 查询游客三级市场(商城)商品信息详情
  25815. tags:
  25816. - 定制【海商报业】
  25817. /HSBY/QueryHsbyVisitorMarketGoodses:
  25818. get:
  25819. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  25820. parameters:
  25821. - description: 页码
  25822. in: query
  25823. name: page
  25824. type: integer
  25825. - description: 每页条数
  25826. in: query
  25827. name: pagesize
  25828. type: integer
  25829. - description: 市场ID列表,格式:1,2,3
  25830. in: query
  25831. name: marketIDs
  25832. required: true
  25833. type: string
  25834. - description: 类别ID
  25835. in: query
  25836. name: categoryID
  25837. type: integer
  25838. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  25839. in: query
  25840. name: goodsIDs
  25841. type: string
  25842. produces:
  25843. - application/json
  25844. responses:
  25845. "200":
  25846. description: OK
  25847. schema:
  25848. $ref: '#/definitions/models.HsbyMarketGoods'
  25849. "500":
  25850. description: Internal Server Error
  25851. schema:
  25852. $ref: '#/definitions/app.Response'
  25853. security:
  25854. - ApiKeyAuth: []
  25855. summary: 查询游客特卖商品列表(三级商城)
  25856. tags:
  25857. - 定制【海商报业】
  25858. /HSBY/QueryMyCollectionOrders:
  25859. get:
  25860. parameters:
  25861. - description: 页码
  25862. in: query
  25863. name: page
  25864. type: integer
  25865. - description: 每页条数
  25866. in: query
  25867. name: pagesize
  25868. type: integer
  25869. - description: 资金账户,格式:1,2,3
  25870. in: query
  25871. name: accountIDs
  25872. required: true
  25873. type: string
  25874. produces:
  25875. - application/json
  25876. responses:
  25877. "200":
  25878. description: OK
  25879. schema:
  25880. $ref: '#/definitions/models.HsbySellCollectionOrder'
  25881. "500":
  25882. description: Internal Server Error
  25883. schema:
  25884. $ref: '#/definitions/app.Response'
  25885. security:
  25886. - ApiKeyAuth: []
  25887. summary: 我的闲置中收款信息查询
  25888. tags:
  25889. - 定制【海商报业】
  25890. /HSBY/QueryMyCouponHolds:
  25891. get:
  25892. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  25893. parameters:
  25894. - description: 资金账户列表,格式:1,2,3
  25895. in: query
  25896. name: accountIDs
  25897. required: true
  25898. type: string
  25899. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  25900. in: query
  25901. name: holdStatus
  25902. type: string
  25903. produces:
  25904. - application/json
  25905. responses:
  25906. "200":
  25907. description: OK
  25908. schema:
  25909. $ref: '#/definitions/models.MyCouponHold'
  25910. "500":
  25911. description: Internal Server Error
  25912. schema:
  25913. $ref: '#/definitions/app.Response'
  25914. security:
  25915. - ApiKeyAuth: []
  25916. summary: 我的优惠卷持仓查询
  25917. tags:
  25918. - 定制【海商报业】
  25919. /HSBY/QueryMyCoupons:
  25920. get:
  25921. parameters:
  25922. - description: 资金账户列表,格式:1,2,3
  25923. in: query
  25924. name: accountIDs
  25925. required: true
  25926. type: string
  25927. - description: 商品ID, 一般与sellUserID配套传入
  25928. in: query
  25929. name: goodsID
  25930. type: integer
  25931. - description: 卖方UserID
  25932. in: query
  25933. name: sellUserID
  25934. type: integer
  25935. produces:
  25936. - application/json
  25937. responses:
  25938. "200":
  25939. description: OK
  25940. schema:
  25941. $ref: '#/definitions/models.MyCoupon'
  25942. "500":
  25943. description: Internal Server Error
  25944. schema:
  25945. $ref: '#/definitions/app.Response'
  25946. security:
  25947. - ApiKeyAuth: []
  25948. summary: 我的优惠卷查询
  25949. tags:
  25950. - 定制【海商报业】
  25951. /HSBY/QueryMyPayOrders:
  25952. get:
  25953. parameters:
  25954. - description: 页码
  25955. in: query
  25956. name: page
  25957. type: integer
  25958. - description: 每页条数
  25959. in: query
  25960. name: pagesize
  25961. type: integer
  25962. - description: 资金账户列表,格式:1,2,3
  25963. in: query
  25964. name: accountIDs
  25965. required: true
  25966. type: string
  25967. - description: 买方委托单号
  25968. in: query
  25969. name: buyOrderID
  25970. type: integer
  25971. - description: 卖方委托单号
  25972. in: query
  25973. name: sellOrderID
  25974. type: integer
  25975. produces:
  25976. - application/json
  25977. responses:
  25978. "200":
  25979. description: OK
  25980. schema:
  25981. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  25982. "500":
  25983. description: Internal Server Error
  25984. schema:
  25985. $ref: '#/definitions/app.Response'
  25986. security:
  25987. - ApiKeyAuth: []
  25988. summary: 获取我的订单中待付款信息
  25989. tags:
  25990. - 定制【海商报业】
  25991. /HSBY/QueryMyUsedCoupon:
  25992. get:
  25993. parameters:
  25994. - description: 资金账户列表,格式:1,2,3
  25995. in: query
  25996. name: accountIDs
  25997. required: true
  25998. type: string
  25999. produces:
  26000. - application/json
  26001. responses:
  26002. "200":
  26003. description: OK
  26004. schema:
  26005. $ref: '#/definitions/models.MyUsedCoupon'
  26006. "500":
  26007. description: Internal Server Error
  26008. schema:
  26009. $ref: '#/definitions/app.Response'
  26010. security:
  26011. - ApiKeyAuth: []
  26012. summary: 已使用优惠卷查询
  26013. tags:
  26014. - 定制【海商报业】
  26015. /HSBY/QueryProvincesAndCities:
  26016. get:
  26017. description: 查询结果只包括二级市场商品已关连的省市信息。
  26018. parameters:
  26019. - description: 省ID
  26020. in: query
  26021. name: provinceID
  26022. type: integer
  26023. produces:
  26024. - application/json
  26025. responses:
  26026. "200":
  26027. description: OK
  26028. schema:
  26029. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  26030. "500":
  26031. description: Internal Server Error
  26032. schema:
  26033. $ref: '#/definitions/app.Response'
  26034. security:
  26035. - ApiKeyAuth: []
  26036. summary: 查询省市信息(不包括区)
  26037. tags:
  26038. - 定制【海商报业】
  26039. /HSBY/SetHsbyMyPackagesStatus:
  26040. post:
  26041. parameters:
  26042. - description: 提货单号
  26043. in: query
  26044. name: takeOrderID
  26045. required: true
  26046. type: string
  26047. - description: 资金账号
  26048. in: query
  26049. name: accountID
  26050. required: true
  26051. type: integer
  26052. produces:
  26053. - application/json
  26054. responses:
  26055. "200":
  26056. description: OK
  26057. schema:
  26058. $ref: '#/definitions/app.Response'
  26059. "500":
  26060. description: Internal Server Error
  26061. schema:
  26062. $ref: '#/definitions/app.Response'
  26063. security:
  26064. - ApiKeyAuth: []
  26065. summary: 设置我的包裹已收货状态
  26066. tags:
  26067. - 定制【海商报业】
  26068. /Market/GetAllExExchanges:
  26069. get:
  26070. produces:
  26071. - application/json
  26072. responses:
  26073. "200":
  26074. description: OK
  26075. schema:
  26076. $ref: '#/definitions/models.Goods'
  26077. "500":
  26078. description: Internal Server Error
  26079. schema:
  26080. $ref: '#/definitions/app.Response'
  26081. security:
  26082. - ApiKeyAuth: []
  26083. summary: 获取所有外部交易所信息
  26084. tags:
  26085. - 通用市场
  26086. /Market/QueryGoodsesByLoginID:
  26087. get:
  26088. parameters:
  26089. - description: 登录账号
  26090. in: query
  26091. name: loginID
  26092. required: true
  26093. type: integer
  26094. - description: 市场ID列表,格式:1,2,3
  26095. in: query
  26096. name: marketIDs
  26097. type: string
  26098. produces:
  26099. - application/json
  26100. responses:
  26101. "200":
  26102. description: OK
  26103. schema:
  26104. $ref: '#/definitions/models.Goods'
  26105. "500":
  26106. description: Internal Server Error
  26107. schema:
  26108. $ref: '#/definitions/app.Response'
  26109. security:
  26110. - ApiKeyAuth: []
  26111. summary: 获取登录账号有权限的商品信息
  26112. tags:
  26113. - 通用市场
  26114. /Market/QueryMarketRun:
  26115. get:
  26116. parameters:
  26117. - description: 市场ID,不传返回所有
  26118. in: query
  26119. name: marketID
  26120. type: integer
  26121. produces:
  26122. - application/json
  26123. responses:
  26124. "200":
  26125. description: OK
  26126. schema:
  26127. $ref: '#/definitions/models.Marketrun'
  26128. "500":
  26129. description: Internal Server Error
  26130. schema:
  26131. $ref: '#/definitions/app.Response'
  26132. security:
  26133. - ApiKeyAuth: []
  26134. summary: 查询市场运行信息
  26135. tags:
  26136. - 通用市场
  26137. /Market/QueryMarketsByLoginID:
  26138. get:
  26139. parameters:
  26140. - description: 登录账号
  26141. in: query
  26142. name: loginID
  26143. required: true
  26144. type: integer
  26145. produces:
  26146. - application/json
  26147. responses:
  26148. "200":
  26149. description: OK
  26150. schema:
  26151. $ref: '#/definitions/models.Market'
  26152. "500":
  26153. description: Internal Server Error
  26154. schema:
  26155. $ref: '#/definitions/app.Response'
  26156. security:
  26157. - ApiKeyAuth: []
  26158. summary: 获取登录账号有权限的市场信息
  26159. tags:
  26160. - 通用市场
  26161. /Order/QueryHisTradeDetail:
  26162. get:
  26163. parameters:
  26164. - description: 资金账户 - 格式:1,2,3
  26165. in: query
  26166. name: accountID
  26167. required: true
  26168. type: string
  26169. - description: 成交单号
  26170. in: query
  26171. name: tradeID
  26172. type: integer
  26173. - description: 委托单号
  26174. in: query
  26175. name: orderID
  26176. type: integer
  26177. - description: 商品ID
  26178. in: query
  26179. name: goodsID
  26180. type: integer
  26181. - description: 交易模式 - 格式:1,2,3
  26182. in: query
  26183. name: tradeMode
  26184. type: string
  26185. - description: 委托单据类型
  26186. in: query
  26187. name: buildType
  26188. type: integer
  26189. - description: 成交类别 - 格式:1,2,3
  26190. in: query
  26191. name: tradeType
  26192. type: string
  26193. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26194. in: query
  26195. name: startDate
  26196. type: string
  26197. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26198. in: query
  26199. name: endDate
  26200. type: string
  26201. produces:
  26202. - application/json
  26203. responses:
  26204. "200":
  26205. description: OK
  26206. schema:
  26207. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  26208. "500":
  26209. description: Internal Server Error
  26210. schema:
  26211. $ref: '#/definitions/app.Response'
  26212. security:
  26213. - ApiKeyAuth: []
  26214. summary: 历史成交单查询(合约市场)
  26215. tags:
  26216. - 通用单据
  26217. /Order/QueryHisTradeOrderDetail:
  26218. get:
  26219. parameters:
  26220. - description: 资金账户 - 格式:1,2,3
  26221. in: query
  26222. name: accountID
  26223. required: true
  26224. type: string
  26225. - description: 交易模式 - 格式:1,2,3
  26226. in: query
  26227. name: tradeMode
  26228. type: string
  26229. - description: 委托状态 - 格式:1,2,3
  26230. in: query
  26231. name: orderStatus
  26232. type: string
  26233. - description: 委托单号
  26234. in: query
  26235. name: orderID
  26236. type: integer
  26237. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26238. in: query
  26239. name: startDate
  26240. type: string
  26241. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26242. in: query
  26243. name: endDate
  26244. type: string
  26245. produces:
  26246. - application/json
  26247. responses:
  26248. "200":
  26249. description: OK
  26250. schema:
  26251. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  26252. "500":
  26253. description: Internal Server Error
  26254. schema:
  26255. $ref: '#/definitions/app.Response'
  26256. security:
  26257. - ApiKeyAuth: []
  26258. summary: 历史委托单查询请求(合约市场)
  26259. tags:
  26260. - 通用单据
  26261. /Order/QueryTradeDetail:
  26262. get:
  26263. parameters:
  26264. - description: 资金账户 - 格式:1,2,3
  26265. in: query
  26266. name: accountID
  26267. required: true
  26268. type: string
  26269. - description: 成交单号
  26270. in: query
  26271. name: tradeID
  26272. type: integer
  26273. - description: 委托单号
  26274. in: query
  26275. name: orderID
  26276. type: integer
  26277. - description: 交易模式 - 格式:1,2,3
  26278. in: query
  26279. name: tradeMode
  26280. type: string
  26281. - description: 委托单据类型
  26282. in: query
  26283. name: buildType
  26284. type: integer
  26285. - description: 成交类别 - 格式:1,2,3
  26286. in: query
  26287. name: tradeType
  26288. type: string
  26289. - description: 商品ID
  26290. in: query
  26291. name: goodsID
  26292. type: integer
  26293. produces:
  26294. - application/json
  26295. responses:
  26296. "200":
  26297. description: OK
  26298. schema:
  26299. $ref: '#/definitions/order.QueryTradeDetailRsp'
  26300. "500":
  26301. description: Internal Server Error
  26302. schema:
  26303. $ref: '#/definitions/app.Response'
  26304. security:
  26305. - ApiKeyAuth: []
  26306. summary: 成交单查询(合约市场)
  26307. tags:
  26308. - 通用单据
  26309. /Order/QueryTradeHolderDetail:
  26310. get:
  26311. parameters:
  26312. - description: 用户id
  26313. in: query
  26314. name: userid
  26315. type: integer
  26316. - description: 资金账号, 格式 1,2,3
  26317. in: query
  26318. name: accids
  26319. type: string
  26320. - description: 交易模式, 格式 1,2,3
  26321. in: query
  26322. name: trademodes
  26323. type: string
  26324. - description: 市场id, 格式 1,2,3
  26325. in: query
  26326. name: marketids
  26327. type: string
  26328. - description: 商品id
  26329. in: query
  26330. name: goodsid
  26331. type: integer
  26332. - description: 买卖方向 0-买 1-卖
  26333. in: query
  26334. name: buyorsell
  26335. type: integer
  26336. produces:
  26337. - application/json
  26338. responses:
  26339. "200":
  26340. description: OK
  26341. schema:
  26342. items:
  26343. $ref: '#/definitions/models.TradeHolderDetail'
  26344. type: array
  26345. "500":
  26346. description: Internal Server Error
  26347. schema:
  26348. $ref: '#/definitions/app.Response'
  26349. security:
  26350. - ApiKeyAuth: []
  26351. summary: 查询持仓明细
  26352. tags:
  26353. - 通用单据
  26354. /Order/QueryTradeOrderDetail:
  26355. get:
  26356. parameters:
  26357. - description: 资金账户 - 格式:1,2,3
  26358. in: query
  26359. name: accountID
  26360. required: true
  26361. type: string
  26362. - description: 交易模式 - 格式:1,2,3
  26363. in: query
  26364. name: tradeMode
  26365. type: string
  26366. - description: 委托状态 - 格式:1,2,3
  26367. in: query
  26368. name: orderStatus
  26369. type: string
  26370. - description: 委托单号
  26371. in: query
  26372. name: orderID
  26373. type: integer
  26374. produces:
  26375. - application/json
  26376. responses:
  26377. "200":
  26378. description: OK
  26379. schema:
  26380. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  26381. "500":
  26382. description: Internal Server Error
  26383. schema:
  26384. $ref: '#/definitions/app.Response'
  26385. security:
  26386. - ApiKeyAuth: []
  26387. summary: 委托单查询请求(合约市场)
  26388. tags:
  26389. - 通用单据
  26390. /Order/QueryTradePosition:
  26391. get:
  26392. parameters:
  26393. - description: 资金账户 - 格式:1,2,3
  26394. in: query
  26395. name: accountID
  26396. required: true
  26397. type: string
  26398. - description: 交易模式 - 格式:1,2,3
  26399. in: query
  26400. name: tradeMode
  26401. type: string
  26402. produces:
  26403. - application/json
  26404. responses:
  26405. "200":
  26406. description: OK
  26407. schema:
  26408. $ref: '#/definitions/order.QueryTradePositionRsp'
  26409. "500":
  26410. description: Internal Server Error
  26411. schema:
  26412. $ref: '#/definitions/app.Response'
  26413. security:
  26414. - ApiKeyAuth: []
  26415. summary: 持仓汇总查询(合约市场)
  26416. tags:
  26417. - 通用单据
  26418. /Qhj/QueryAccountInOutApply:
  26419. get:
  26420. parameters:
  26421. - description: 用户ID
  26422. in: query
  26423. name: userid
  26424. required: true
  26425. type: integer
  26426. - description: 申请起始日期(格式yyyymmdd)
  26427. in: query
  26428. name: begindate
  26429. type: string
  26430. - description: 申请截止日期(格式yyyymmdd)
  26431. in: query
  26432. name: enddate
  26433. type: string
  26434. - description: 模糊搜索名称
  26435. in: query
  26436. name: likename
  26437. type: string
  26438. produces:
  26439. - application/json
  26440. responses:
  26441. "200":
  26442. description: OK
  26443. schema:
  26444. items:
  26445. $ref: '#/definitions/models.QhjAccountOutInApply'
  26446. type: array
  26447. "500":
  26448. description: Internal Server Error
  26449. schema:
  26450. $ref: '#/definitions/app.Response'
  26451. security:
  26452. - ApiKeyAuth: []
  26453. summary: 查询充值提现
  26454. tags:
  26455. - 大连千海金
  26456. /Qhj/QueryAreaFinanceConfig:
  26457. get:
  26458. parameters:
  26459. - description: 机构用户ID 其他做市关系,都设置为 1
  26460. in: query
  26461. name: userid
  26462. type: integer
  26463. produces:
  26464. - application/json
  26465. responses:
  26466. "200":
  26467. description: OK
  26468. schema:
  26469. items:
  26470. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  26471. type: array
  26472. "500":
  26473. description: Internal Server Error
  26474. schema:
  26475. $ref: '#/definitions/app.Response'
  26476. security:
  26477. - ApiKeyAuth: []
  26478. summary: 查询企业配置表
  26479. tags:
  26480. - 大连千海金
  26481. /Qhj/QueryBankAccountSign:
  26482. get:
  26483. parameters:
  26484. - description: 用户ID
  26485. in: query
  26486. name: userid
  26487. required: true
  26488. type: integer
  26489. produces:
  26490. - application/json
  26491. responses:
  26492. "200":
  26493. description: OK
  26494. schema:
  26495. items:
  26496. $ref: '#/definitions/models.QhjBankAccountSign'
  26497. type: array
  26498. "500":
  26499. description: Internal Server Error
  26500. schema:
  26501. $ref: '#/definitions/app.Response'
  26502. security:
  26503. - ApiKeyAuth: []
  26504. summary: 查询签约银行信息(提现账户管理)
  26505. tags:
  26506. - 大连千海金
  26507. /Qhj/QueryBankInfo:
  26508. get:
  26509. produces:
  26510. - application/json
  26511. responses:
  26512. "200":
  26513. description: OK
  26514. schema:
  26515. items:
  26516. $ref: '#/definitions/models.QhjBankInfo'
  26517. type: array
  26518. "500":
  26519. description: Internal Server Error
  26520. schema:
  26521. $ref: '#/definitions/app.Response'
  26522. security:
  26523. - ApiKeyAuth: []
  26524. summary: 查询开户行
  26525. tags:
  26526. - 大连千海金
  26527. /Qhj/QueryBrokerApply:
  26528. get:
  26529. parameters:
  26530. - description: 所属机构ID
  26531. in: query
  26532. name: userid
  26533. type: integer
  26534. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26535. in: query
  26536. name: filterstatus
  26537. type: string
  26538. produces:
  26539. - application/json
  26540. responses:
  26541. "200":
  26542. description: OK
  26543. schema:
  26544. items:
  26545. $ref: '#/definitions/models.QhjBrokerApply'
  26546. type: array
  26547. "500":
  26548. description: Internal Server Error
  26549. schema:
  26550. $ref: '#/definitions/app.Response'
  26551. security:
  26552. - ApiKeyAuth: []
  26553. summary: 查询经纪人申请
  26554. tags:
  26555. - 大连千海金
  26556. /Qhj/QueryBrokerApplyEx:
  26557. get:
  26558. parameters:
  26559. - description: 所属机构ID
  26560. in: query
  26561. name: userid
  26562. type: integer
  26563. produces:
  26564. - application/json
  26565. responses:
  26566. "200":
  26567. description: OK
  26568. schema:
  26569. items:
  26570. $ref: '#/definitions/models.QhjBrokerApplyEx'
  26571. type: array
  26572. "500":
  26573. description: Internal Server Error
  26574. schema:
  26575. $ref: '#/definitions/app.Response'
  26576. security:
  26577. - ApiKeyAuth: []
  26578. summary: 查询经纪人信息和申请记录
  26579. tags:
  26580. - 大连千海金
  26581. /Qhj/QueryBrokerRewardLog:
  26582. get:
  26583. parameters:
  26584. - description: 用户ID
  26585. in: query
  26586. name: userid
  26587. required: true
  26588. type: integer
  26589. - description: 开始交易日(yyyymmdd)
  26590. in: query
  26591. name: begindate
  26592. type: string
  26593. - description: 结束交易日(yyyymmdd)
  26594. in: query
  26595. name: enddate
  26596. type: string
  26597. produces:
  26598. - application/json
  26599. responses:
  26600. "200":
  26601. description: OK
  26602. schema:
  26603. items:
  26604. $ref: '#/definitions/models.QhjBrokerRewardLog'
  26605. type: array
  26606. "500":
  26607. description: Internal Server Error
  26608. schema:
  26609. $ref: '#/definitions/app.Response'
  26610. security:
  26611. - ApiKeyAuth: []
  26612. summary: 查询奖励流水(我的奖励)
  26613. tags:
  26614. - 大连千海金
  26615. /Qhj/QueryContract:
  26616. get:
  26617. parameters:
  26618. - description: 用户ID
  26619. in: query
  26620. name: userid
  26621. type: integer
  26622. - description: scf合同id
  26623. in: query
  26624. name: scfcontractid
  26625. type: integer
  26626. produces:
  26627. - application/json
  26628. responses:
  26629. "200":
  26630. description: OK
  26631. schema:
  26632. items:
  26633. $ref: '#/definitions/models.QhjContract'
  26634. type: array
  26635. "500":
  26636. description: Internal Server Error
  26637. schema:
  26638. $ref: '#/definitions/app.Response'
  26639. security:
  26640. - ApiKeyAuth: []
  26641. summary: 查询融资明细(合同)
  26642. tags:
  26643. - 大连千海金
  26644. /Qhj/QueryContractLog:
  26645. get:
  26646. parameters:
  26647. - description: scf合同id
  26648. in: query
  26649. name: scfcontractid
  26650. required: true
  26651. type: integer
  26652. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  26653. in: query
  26654. name: amounttype
  26655. type: string
  26656. produces:
  26657. - application/json
  26658. responses:
  26659. "200":
  26660. description: OK
  26661. schema:
  26662. items:
  26663. $ref: '#/definitions/models.QhjContractLog'
  26664. type: array
  26665. "500":
  26666. description: Internal Server Error
  26667. schema:
  26668. $ref: '#/definitions/app.Response'
  26669. security:
  26670. - ApiKeyAuth: []
  26671. summary: 查询融资明细流水(融资明细详情页中的流水)
  26672. tags:
  26673. - 大连千海金
  26674. /Qhj/QueryCusBankSignBank:
  26675. get:
  26676. produces:
  26677. - application/json
  26678. responses:
  26679. "200":
  26680. description: OK
  26681. schema:
  26682. items:
  26683. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  26684. type: array
  26685. "500":
  26686. description: Internal Server Error
  26687. schema:
  26688. $ref: '#/definitions/app.Response'
  26689. security:
  26690. - ApiKeyAuth: []
  26691. summary: 查询托管银行
  26692. tags:
  26693. - 大连千海金
  26694. /Qhj/QueryCustomerInfo:
  26695. get:
  26696. parameters:
  26697. - description: 用户ID
  26698. in: query
  26699. name: userid
  26700. required: true
  26701. type: integer
  26702. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  26703. in: query
  26704. name: querytype
  26705. required: true
  26706. type: integer
  26707. - description: 客户类型 1-个人 2-企业
  26708. in: query
  26709. name: userinfotype
  26710. type: integer
  26711. - description: 客户名称(模糊匹配)
  26712. in: query
  26713. name: customername
  26714. type: string
  26715. - description: 昵称(模糊匹配)
  26716. in: query
  26717. name: nickname
  26718. type: string
  26719. - description: 是否包含子级 1-包含
  26720. in: query
  26721. name: includesub
  26722. type: integer
  26723. produces:
  26724. - application/json
  26725. responses:
  26726. "200":
  26727. description: OK
  26728. schema:
  26729. items:
  26730. $ref: '#/definitions/models.QhjCustomer'
  26731. type: array
  26732. "500":
  26733. description: Internal Server Error
  26734. schema:
  26735. $ref: '#/definitions/app.Response'
  26736. security:
  26737. - ApiKeyAuth: []
  26738. summary: 查询客户资料
  26739. tags:
  26740. - 大连千海金
  26741. /Qhj/QueryGoodsEx:
  26742. get:
  26743. parameters:
  26744. - description: 商品id
  26745. in: query
  26746. name: goodsid
  26747. type: integer
  26748. produces:
  26749. - application/json
  26750. responses:
  26751. "200":
  26752. description: OK
  26753. schema:
  26754. items:
  26755. $ref: '#/definitions/models.Qhjgoodsex'
  26756. type: array
  26757. "500":
  26758. description: Internal Server Error
  26759. schema:
  26760. $ref: '#/definitions/app.Response'
  26761. security:
  26762. - ApiKeyAuth: []
  26763. summary: 交易商品扩展表
  26764. tags:
  26765. - 大连千海金
  26766. /Qhj/QueryMyTeam:
  26767. get:
  26768. parameters:
  26769. - description: 用户ID
  26770. in: query
  26771. name: userid
  26772. required: true
  26773. type: integer
  26774. produces:
  26775. - application/json
  26776. responses:
  26777. "200":
  26778. description: OK
  26779. schema:
  26780. items:
  26781. $ref: '#/definitions/models.QhjMyTeamEx'
  26782. type: array
  26783. "500":
  26784. description: Internal Server Error
  26785. schema:
  26786. $ref: '#/definitions/app.Response'
  26787. security:
  26788. - ApiKeyAuth: []
  26789. summary: 查询我的团队
  26790. tags:
  26791. - 大连千海金
  26792. /Qhj/QueryMyTeamOrder:
  26793. get:
  26794. parameters:
  26795. - description: 页码
  26796. in: query
  26797. name: page
  26798. type: integer
  26799. - description: 每页条数
  26800. in: query
  26801. name: pagesize
  26802. type: integer
  26803. - description: 用户ID
  26804. in: query
  26805. name: userid
  26806. required: true
  26807. type: integer
  26808. - description: 交易模式
  26809. in: query
  26810. name: trademode
  26811. type: integer
  26812. - description: 名称(模糊搜索账户)
  26813. in: query
  26814. name: filtername
  26815. type: string
  26816. produces:
  26817. - application/json
  26818. responses:
  26819. "200":
  26820. description: OK
  26821. schema:
  26822. items:
  26823. $ref: '#/definitions/models.QhjTeamOrder'
  26824. type: array
  26825. "500":
  26826. description: Internal Server Error
  26827. schema:
  26828. $ref: '#/definitions/app.Response'
  26829. security:
  26830. - ApiKeyAuth: []
  26831. summary: 查询团队订单(我的团队/团队订单)
  26832. tags:
  26833. - 大连千海金
  26834. /Qhj/QueryParentAreaList:
  26835. get:
  26836. parameters:
  26837. - description: 用户ID
  26838. in: query
  26839. name: userid
  26840. required: true
  26841. type: integer
  26842. produces:
  26843. - application/json
  26844. responses:
  26845. "200":
  26846. description: OK
  26847. schema:
  26848. items:
  26849. $ref: '#/definitions/models.QhjParentAreaList'
  26850. type: array
  26851. "500":
  26852. description: Internal Server Error
  26853. schema:
  26854. $ref: '#/definitions/app.Response'
  26855. security:
  26856. - ApiKeyAuth: []
  26857. summary: 查询所属机构列表
  26858. tags:
  26859. - 大连千海金
  26860. /Qhj/QueryPayOrder:
  26861. get:
  26862. parameters:
  26863. - description: 资金账号id
  26864. in: query
  26865. name: accountid
  26866. required: true
  26867. type: integer
  26868. - description: 成交单号
  26869. in: query
  26870. name: tradeid
  26871. type: integer
  26872. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  26873. in: query
  26874. name: payflag
  26875. type: string
  26876. produces:
  26877. - application/json
  26878. responses:
  26879. "200":
  26880. description: OK
  26881. schema:
  26882. items:
  26883. $ref: '#/definitions/models.QhjPayOrder'
  26884. type: array
  26885. "500":
  26886. description: Internal Server Error
  26887. schema:
  26888. $ref: '#/definitions/app.Response'
  26889. security:
  26890. - ApiKeyAuth: []
  26891. summary: 查询待付款单据
  26892. tags:
  26893. - 大连千海金
  26894. /Qhj/QueryPickArea:
  26895. get:
  26896. parameters:
  26897. - description: 用户ID
  26898. in: query
  26899. name: userid
  26900. type: integer
  26901. produces:
  26902. - application/json
  26903. responses:
  26904. "200":
  26905. description: OK
  26906. schema:
  26907. items:
  26908. $ref: '#/definitions/models.QhjPickArea'
  26909. type: array
  26910. "500":
  26911. description: Internal Server Error
  26912. schema:
  26913. $ref: '#/definitions/app.Response'
  26914. security:
  26915. - ApiKeyAuth: []
  26916. summary: 查询提货门店
  26917. tags:
  26918. - 大连千海金
  26919. /Qhj/QueryPickGoods:
  26920. get:
  26921. parameters:
  26922. - description: 交易商品id
  26923. in: query
  26924. name: goodsid
  26925. required: true
  26926. type: integer
  26927. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  26928. in: query
  26929. name: status
  26930. type: string
  26931. produces:
  26932. - application/json
  26933. responses:
  26934. "200":
  26935. description: OK
  26936. schema:
  26937. items:
  26938. $ref: '#/definitions/models.QhjPickGoods'
  26939. type: array
  26940. "500":
  26941. description: Internal Server Error
  26942. schema:
  26943. $ref: '#/definitions/app.Response'
  26944. security:
  26945. - ApiKeyAuth: []
  26946. summary: 查询提货商品
  26947. tags:
  26948. - 大连千海金
  26949. /Qhj/QueryRSTriggerLog:
  26950. get:
  26951. parameters:
  26952. - description: 用户ID
  26953. in: query
  26954. name: userid
  26955. type: integer
  26956. - description: 定投策略id
  26957. in: query
  26958. name: regularlystrategyid
  26959. type: integer
  26960. - description: 商品id
  26961. in: query
  26962. name: goodsid
  26963. type: integer
  26964. - description: 开始交易日(yyyymmdd)
  26965. in: query
  26966. name: begindate
  26967. type: string
  26968. - description: 结束交易日(yyyymmdd)
  26969. in: query
  26970. name: enddate
  26971. type: string
  26972. - description: 名称(模糊搜索账户)
  26973. in: query
  26974. name: filtername
  26975. type: string
  26976. produces:
  26977. - application/json
  26978. responses:
  26979. "200":
  26980. description: OK
  26981. schema:
  26982. items:
  26983. $ref: '#/definitions/models.QhjRSTriggerLog'
  26984. type: array
  26985. "500":
  26986. description: Internal Server Error
  26987. schema:
  26988. $ref: '#/definitions/app.Response'
  26989. security:
  26990. - ApiKeyAuth: []
  26991. summary: 查询定投记录(定投管理/详情/定投记录)
  26992. tags:
  26993. - 大连千海金
  26994. /Qhj/QueryRStrategy:
  26995. get:
  26996. parameters:
  26997. - description: 用户ID
  26998. in: query
  26999. name: userid
  27000. type: integer
  27001. - description: 商品id
  27002. in: query
  27003. name: goodsid
  27004. type: integer
  27005. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  27006. in: query
  27007. name: status
  27008. type: string
  27009. - description: 名称(模糊搜索账户)
  27010. in: query
  27011. name: filtername
  27012. type: string
  27013. produces:
  27014. - application/json
  27015. responses:
  27016. "200":
  27017. description: OK
  27018. schema:
  27019. items:
  27020. $ref: '#/definitions/models.QhjRStrategy'
  27021. type: array
  27022. "500":
  27023. description: Internal Server Error
  27024. schema:
  27025. $ref: '#/definitions/app.Response'
  27026. security:
  27027. - ApiKeyAuth: []
  27028. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  27029. tags:
  27030. - 大连千海金
  27031. /Qhj/QueryReckonPriceLog:
  27032. get:
  27033. parameters:
  27034. - description: 商品ID
  27035. in: query
  27036. name: goodsid
  27037. type: integer
  27038. - description: 交易日 格式(yyyymmdd)
  27039. in: query
  27040. name: tradedate
  27041. type: string
  27042. produces:
  27043. - application/json
  27044. responses:
  27045. "200":
  27046. description: OK
  27047. schema:
  27048. items:
  27049. $ref: '#/definitions/models.QhjReckonPriceLog'
  27050. type: array
  27051. "500":
  27052. description: Internal Server Error
  27053. schema:
  27054. $ref: '#/definitions/app.Response'
  27055. security:
  27056. - ApiKeyAuth: []
  27057. summary: 查询定投价(结算价)
  27058. tags:
  27059. - 大连千海金
  27060. /Qhj/QueryScoreLog:
  27061. get:
  27062. parameters:
  27063. - description: 用户ID
  27064. in: query
  27065. name: userid
  27066. required: true
  27067. type: integer
  27068. - description: 开始交易日(yyyymmdd)
  27069. in: query
  27070. name: begindate
  27071. type: string
  27072. - description: 结束交易日(yyyymmdd)
  27073. in: query
  27074. name: enddate
  27075. type: string
  27076. - description: 最近多少条
  27077. in: query
  27078. name: lastnum
  27079. type: integer
  27080. produces:
  27081. - application/json
  27082. responses:
  27083. "200":
  27084. description: OK
  27085. schema:
  27086. items:
  27087. $ref: '#/definitions/models.QhjScoreLog'
  27088. type: array
  27089. "500":
  27090. description: Internal Server Error
  27091. schema:
  27092. $ref: '#/definitions/app.Response'
  27093. security:
  27094. - ApiKeyAuth: []
  27095. summary: 查询积分流水(我的积分)
  27096. tags:
  27097. - 大连千海金
  27098. /Qhj/QuerySiteColumnDetail:
  27099. get:
  27100. parameters:
  27101. - description: 用户ID
  27102. in: query
  27103. name: userid
  27104. required: true
  27105. type: integer
  27106. produces:
  27107. - application/json
  27108. responses:
  27109. "200":
  27110. description: OK
  27111. schema:
  27112. items:
  27113. $ref: '#/definitions/models.QhjSiteColumnDetail'
  27114. type: array
  27115. "500":
  27116. description: Internal Server Error
  27117. schema:
  27118. $ref: '#/definitions/app.Response'
  27119. security:
  27120. - ApiKeyAuth: []
  27121. summary: 查询资讯
  27122. tags:
  27123. - 大连千海金
  27124. /Qhj/QueryTradeGoodsPickup:
  27125. get:
  27126. parameters:
  27127. - description: 用户ID
  27128. in: query
  27129. name: userid
  27130. required: true
  27131. type: integer
  27132. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  27133. 7:已拒绝 8:已撤销
  27134. in: query
  27135. name: takeorderstatus
  27136. type: integer
  27137. produces:
  27138. - application/json
  27139. responses:
  27140. "200":
  27141. description: OK
  27142. schema:
  27143. items:
  27144. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  27145. type: array
  27146. "500":
  27147. description: Internal Server Error
  27148. schema:
  27149. $ref: '#/definitions/app.Response'
  27150. security:
  27151. - ApiKeyAuth: []
  27152. summary: 查询提货
  27153. tags:
  27154. - 大连千海金
  27155. /Qhj/QueryUserCollectConfig:
  27156. get:
  27157. parameters:
  27158. - description: 用户ID
  27159. in: query
  27160. name: userid
  27161. required: true
  27162. type: integer
  27163. produces:
  27164. - application/json
  27165. responses:
  27166. "200":
  27167. description: OK
  27168. schema:
  27169. items:
  27170. $ref: '#/definitions/models.UserCollectConfig'
  27171. type: array
  27172. "500":
  27173. description: Internal Server Error
  27174. schema:
  27175. $ref: '#/definitions/app.Response'
  27176. security:
  27177. - ApiKeyAuth: []
  27178. summary: 查询提现账户设置
  27179. tags:
  27180. - 大连千海金
  27181. /Qhj/QueryUserReceiveInfo:
  27182. get:
  27183. parameters:
  27184. - description: 用户ID
  27185. in: query
  27186. name: userid
  27187. required: true
  27188. type: integer
  27189. produces:
  27190. - application/json
  27191. responses:
  27192. "200":
  27193. description: OK
  27194. schema:
  27195. items:
  27196. $ref: '#/definitions/models.UserReceiveInfo'
  27197. type: array
  27198. "500":
  27199. description: Internal Server Error
  27200. schema:
  27201. $ref: '#/definitions/app.Response'
  27202. security:
  27203. - ApiKeyAuth: []
  27204. summary: 查询收货地址信息
  27205. tags:
  27206. - 大连千海金
  27207. /QhjMgr/QueryAccountInOutApply:
  27208. get:
  27209. parameters:
  27210. - description: 查询类型 1-提现(出金) 2-充值(出金)
  27211. in: query
  27212. name: querytype
  27213. required: true
  27214. type: integer
  27215. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  27216. in: query
  27217. name: applystatus
  27218. type: integer
  27219. - description: 申请起始日期(格式yyyymmdd)
  27220. in: query
  27221. name: begindate
  27222. type: string
  27223. - description: 申请截止日期(格式yyyymmdd)
  27224. in: query
  27225. name: enddate
  27226. type: string
  27227. - description: 模糊搜索名称
  27228. in: query
  27229. name: likename
  27230. type: string
  27231. produces:
  27232. - application/json
  27233. responses:
  27234. "200":
  27235. description: OK
  27236. schema:
  27237. items:
  27238. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  27239. type: array
  27240. "500":
  27241. description: Internal Server Error
  27242. schema:
  27243. $ref: '#/definitions/app.Response'
  27244. security:
  27245. - ApiKeyAuth: []
  27246. summary: 查询充值提现
  27247. tags:
  27248. - 大连千海金(PCWeb)
  27249. /QhjMgr/QueryBrokerApply:
  27250. get:
  27251. parameters:
  27252. - description: 所属机构ID
  27253. in: query
  27254. name: userid
  27255. type: integer
  27256. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27257. in: query
  27258. name: filterstatus
  27259. type: string
  27260. - description: 名称(模糊匹配)
  27261. in: query
  27262. name: filtername
  27263. type: string
  27264. - description: 是否包含子级 1-包含
  27265. in: query
  27266. name: includesub
  27267. type: integer
  27268. produces:
  27269. - application/json
  27270. responses:
  27271. "200":
  27272. description: OK
  27273. schema:
  27274. items:
  27275. $ref: '#/definitions/models.QhjMgrBrokerApply'
  27276. type: array
  27277. "500":
  27278. description: Internal Server Error
  27279. schema:
  27280. $ref: '#/definitions/app.Response'
  27281. security:
  27282. - ApiKeyAuth: []
  27283. summary: 查询经纪人申请
  27284. tags:
  27285. - 大连千海金(PCWeb)
  27286. /QhjMgr/QueryBrokerRewardReport:
  27287. get:
  27288. parameters:
  27289. - description: 所属机构ID
  27290. in: query
  27291. name: userid
  27292. required: true
  27293. type: integer
  27294. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27295. in: query
  27296. name: cycletype
  27297. required: true
  27298. type: integer
  27299. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  27300. in: query
  27301. name: cycletime
  27302. required: true
  27303. type: string
  27304. - description: 名称(模糊匹配)
  27305. in: query
  27306. name: filtername
  27307. type: string
  27308. - description: 是否包含子级 1-包含
  27309. in: query
  27310. name: includesub
  27311. type: integer
  27312. produces:
  27313. - application/json
  27314. responses:
  27315. "200":
  27316. description: OK
  27317. schema:
  27318. items:
  27319. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  27320. type: array
  27321. "500":
  27322. description: Internal Server Error
  27323. schema:
  27324. $ref: '#/definitions/app.Response'
  27325. security:
  27326. - ApiKeyAuth: []
  27327. summary: 查询经纪人奖励报表(废弃)
  27328. tags:
  27329. - 大连千海金(PCWeb)
  27330. /QhjMgr/QueryContract:
  27331. get:
  27332. parameters:
  27333. - description: 用户ID
  27334. in: query
  27335. name: userid
  27336. type: integer
  27337. - description: 商品id
  27338. in: query
  27339. name: goodsid
  27340. type: integer
  27341. - description: 名称(模糊搜索账户)
  27342. in: query
  27343. name: filtername
  27344. type: string
  27345. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  27346. in: query
  27347. name: risklevel
  27348. type: string
  27349. - description: 开始交易日(yyyymmdd)
  27350. in: query
  27351. name: begindate
  27352. type: string
  27353. - description: 结束交易日(yyyymmdd)
  27354. in: query
  27355. name: enddate
  27356. type: string
  27357. produces:
  27358. - application/json
  27359. responses:
  27360. "200":
  27361. description: OK
  27362. schema:
  27363. items:
  27364. $ref: '#/definitions/models.QhjMgrContract'
  27365. type: array
  27366. "500":
  27367. description: Internal Server Error
  27368. schema:
  27369. $ref: '#/definitions/app.Response'
  27370. security:
  27371. - ApiKeyAuth: []
  27372. summary: 查询融资信息(合同)
  27373. tags:
  27374. - 大连千海金(PCWeb)
  27375. /QhjMgr/QueryCustomerInfo:
  27376. get:
  27377. parameters:
  27378. - description: 用户ID
  27379. in: query
  27380. name: userid
  27381. required: true
  27382. type: integer
  27383. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27384. in: query
  27385. name: querytype
  27386. required: true
  27387. type: integer
  27388. - description: 客户类型 1-个人 2-企业
  27389. in: query
  27390. name: userinfotype
  27391. type: integer
  27392. - description: 客户名称(模糊匹配)
  27393. in: query
  27394. name: customername
  27395. type: string
  27396. - description: 昵称(模糊匹配)
  27397. in: query
  27398. name: nickname
  27399. type: string
  27400. - description: 所属客户经理(模糊匹配)
  27401. in: query
  27402. name: brokername
  27403. type: string
  27404. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  27405. 如0503 -5月3日)
  27406. in: query
  27407. name: birthday
  27408. type: string
  27409. - description: 是否包含子级 1-包含
  27410. in: query
  27411. name: includesub
  27412. type: integer
  27413. produces:
  27414. - application/json
  27415. responses:
  27416. "200":
  27417. description: OK
  27418. schema:
  27419. items:
  27420. $ref: '#/definitions/models.QhjMgrCustomer'
  27421. type: array
  27422. "500":
  27423. description: Internal Server Error
  27424. schema:
  27425. $ref: '#/definitions/app.Response'
  27426. security:
  27427. - ApiKeyAuth: []
  27428. summary: 查询客户资料
  27429. tags:
  27430. - 大连千海金(PCWeb)
  27431. /QhjMgr/QueryPickGoods:
  27432. get:
  27433. parameters:
  27434. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  27435. in: query
  27436. name: status
  27437. type: string
  27438. produces:
  27439. - application/json
  27440. responses:
  27441. "200":
  27442. description: OK
  27443. schema:
  27444. items:
  27445. $ref: '#/definitions/models.QhjMgrPickGoods'
  27446. type: array
  27447. "500":
  27448. description: Internal Server Error
  27449. schema:
  27450. $ref: '#/definitions/app.Response'
  27451. security:
  27452. - ApiKeyAuth: []
  27453. summary: 查询提货商品
  27454. tags:
  27455. - 大连千海金(PCWeb)
  27456. /QhjMgr/QuerySubArea:
  27457. get:
  27458. parameters:
  27459. - description: 用户ID
  27460. in: query
  27461. name: userid
  27462. required: true
  27463. type: integer
  27464. produces:
  27465. - application/json
  27466. responses:
  27467. "200":
  27468. description: OK
  27469. schema:
  27470. items:
  27471. $ref: '#/definitions/models.QhjMgrSubArea'
  27472. type: array
  27473. "500":
  27474. description: Internal Server Error
  27475. schema:
  27476. $ref: '#/definitions/app.Response'
  27477. security:
  27478. - ApiKeyAuth: []
  27479. summary: 查询子机构列表
  27480. tags:
  27481. - 大连千海金(PCWeb)
  27482. /QhjMgr/QueryTradeDetail:
  27483. get:
  27484. parameters:
  27485. - description: 用户ID
  27486. in: query
  27487. name: userid
  27488. required: true
  27489. type: integer
  27490. - description: 用户类型 1-个人 2-企业
  27491. in: query
  27492. name: userinfotype
  27493. type: integer
  27494. - description: 交易模式
  27495. in: query
  27496. name: trademode
  27497. type: integer
  27498. - description: 商品id
  27499. in: query
  27500. name: goodsid
  27501. type: integer
  27502. - description: 名称(模糊搜索账户)
  27503. in: query
  27504. name: filtername
  27505. type: string
  27506. - description: 开始交易日(yyyymmdd)
  27507. in: query
  27508. name: begindate
  27509. type: string
  27510. - description: 结束交易日(yyyymmdd)
  27511. in: query
  27512. name: enddate
  27513. type: string
  27514. - description: 是否包含子级 1-包含
  27515. in: query
  27516. name: includesub
  27517. type: integer
  27518. produces:
  27519. - application/json
  27520. responses:
  27521. "200":
  27522. description: OK
  27523. schema:
  27524. items:
  27525. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  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. - 大连千海金(PCWeb)
  27536. /QhjMgr/QueryTradeOrderDetail:
  27537. get:
  27538. parameters:
  27539. - description: 用户ID
  27540. in: query
  27541. name: userid
  27542. required: true
  27543. type: integer
  27544. - description: 用户类型 1-个人 2-企业
  27545. in: query
  27546. name: userinfotype
  27547. type: integer
  27548. - description: 交易模式
  27549. in: query
  27550. name: trademode
  27551. type: integer
  27552. - description: 商品id
  27553. in: query
  27554. name: goodsid
  27555. type: integer
  27556. - description: 名称(模糊搜索账户)
  27557. in: query
  27558. name: filtername
  27559. type: string
  27560. - description: 开始交易日(yyyymmdd)
  27561. in: query
  27562. name: begindate
  27563. type: string
  27564. - description: 结束交易日(yyyymmdd)
  27565. in: query
  27566. name: enddate
  27567. type: string
  27568. - description: 是否包含子级 1-包含
  27569. in: query
  27570. name: includesub
  27571. type: integer
  27572. produces:
  27573. - application/json
  27574. responses:
  27575. "200":
  27576. description: OK
  27577. schema:
  27578. items:
  27579. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  27580. type: array
  27581. "500":
  27582. description: Internal Server Error
  27583. schema:
  27584. $ref: '#/definitions/app.Response'
  27585. security:
  27586. - ApiKeyAuth: []
  27587. summary: 查询委托明细
  27588. tags:
  27589. - 大连千海金(PCWeb)
  27590. /QhjMgr/QueryTradePayOrder:
  27591. get:
  27592. parameters:
  27593. - description: 用户ID
  27594. in: query
  27595. name: userid
  27596. required: true
  27597. type: integer
  27598. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27599. in: query
  27600. name: payflag
  27601. type: string
  27602. - description: 用户类型 1-个人 2-企业
  27603. in: query
  27604. name: userinfotype
  27605. type: integer
  27606. - description: 交易模式
  27607. in: query
  27608. name: trademode
  27609. type: integer
  27610. - description: 商品id
  27611. in: query
  27612. name: goodsid
  27613. type: integer
  27614. - description: 名称(模糊搜索账户)
  27615. in: query
  27616. name: filtername
  27617. type: string
  27618. - description: 开始交易日(yyyymmdd)
  27619. in: query
  27620. name: begindate
  27621. type: string
  27622. - description: 结束交易日(yyyymmdd)
  27623. in: query
  27624. name: enddate
  27625. type: string
  27626. - description: 是否包含子级 1-包含
  27627. in: query
  27628. name: includesub
  27629. type: integer
  27630. produces:
  27631. - application/json
  27632. responses:
  27633. "200":
  27634. description: OK
  27635. schema:
  27636. items:
  27637. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  27638. type: array
  27639. "500":
  27640. description: Internal Server Error
  27641. schema:
  27642. $ref: '#/definitions/app.Response'
  27643. security:
  27644. - ApiKeyAuth: []
  27645. summary: 查询待付款单
  27646. tags:
  27647. - 大连千海金(PCWeb)
  27648. /QhjMgr/QueryTradePosition:
  27649. get:
  27650. parameters:
  27651. - description: 用户ID
  27652. in: query
  27653. name: userid
  27654. required: true
  27655. type: integer
  27656. - description: 用户类型 1-个人 2-企业
  27657. in: query
  27658. name: userinfotype
  27659. type: integer
  27660. - description: 交易模式
  27661. in: query
  27662. name: trademode
  27663. type: integer
  27664. - description: 商品id
  27665. in: query
  27666. name: goodsid
  27667. type: integer
  27668. - description: 名称(模糊搜索账户)
  27669. in: query
  27670. name: filtername
  27671. type: string
  27672. - description: 是否包含子级 1-包含
  27673. in: query
  27674. name: includesub
  27675. type: integer
  27676. produces:
  27677. - application/json
  27678. responses:
  27679. "200":
  27680. description: OK
  27681. schema:
  27682. items:
  27683. $ref: '#/definitions/models.QhjMgrPositionRsp'
  27684. type: array
  27685. "500":
  27686. description: Internal Server Error
  27687. schema:
  27688. $ref: '#/definitions/app.Response'
  27689. security:
  27690. - ApiKeyAuth: []
  27691. summary: 查询持仓汇总
  27692. tags:
  27693. - 大连千海金(PCWeb)
  27694. /QhjSys/QueryAgreementChangeLog:
  27695. get:
  27696. parameters:
  27697. - description: 协议ID
  27698. in: query
  27699. name: agreementid
  27700. type: integer
  27701. - description: 协议版本号
  27702. in: query
  27703. name: agreementversion
  27704. type: integer
  27705. - description: 协议类型 - 1:注册 2:登录 3:交易
  27706. in: query
  27707. name: agreementtype
  27708. type: integer
  27709. - description: 协议编号(模糊匹配)
  27710. in: query
  27711. name: agreementno
  27712. type: string
  27713. - description: 协议名称(模糊匹配)
  27714. in: query
  27715. name: agreementname
  27716. type: string
  27717. produces:
  27718. - application/json
  27719. responses:
  27720. "200":
  27721. description: OK
  27722. schema:
  27723. items:
  27724. $ref: '#/definitions/models.QhjAgreementChangeLog'
  27725. type: array
  27726. "500":
  27727. description: Internal Server Error
  27728. schema:
  27729. $ref: '#/definitions/app.Response'
  27730. security:
  27731. - ApiKeyAuth: []
  27732. summary: 查询协议配置变更流水
  27733. tags:
  27734. - 大连千海金(协议和签约信息)
  27735. /QhjSys/QueryAgreementConfig:
  27736. get:
  27737. parameters:
  27738. - description: 协议ID
  27739. in: query
  27740. name: agreementid
  27741. type: integer
  27742. - description: 协议版本号
  27743. in: query
  27744. name: agreementversion
  27745. type: integer
  27746. - description: 协议类型 - 1:注册 2:登录 3:交易
  27747. in: query
  27748. name: agreementtype
  27749. type: integer
  27750. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  27751. in: query
  27752. name: isvalid
  27753. type: integer
  27754. - description: 协议编号(模糊匹配)
  27755. in: query
  27756. name: agreementno
  27757. type: string
  27758. - description: 协议名称(模糊匹配)
  27759. in: query
  27760. name: agreementname
  27761. type: string
  27762. produces:
  27763. - application/json
  27764. responses:
  27765. "200":
  27766. description: OK
  27767. schema:
  27768. items:
  27769. $ref: '#/definitions/models.QhjAgreementConfig'
  27770. type: array
  27771. "500":
  27772. description: Internal Server Error
  27773. schema:
  27774. $ref: '#/definitions/app.Response'
  27775. security:
  27776. - ApiKeyAuth: []
  27777. summary: 查询协议配置
  27778. tags:
  27779. - 大连千海金(协议和签约信息)
  27780. /QhjSys/QueryCustomerSignStatus:
  27781. get:
  27782. parameters:
  27783. - description: 客户ID
  27784. in: query
  27785. name: userid
  27786. type: integer
  27787. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  27788. in: query
  27789. name: nodetype
  27790. type: integer
  27791. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27792. in: query
  27793. name: goodsid
  27794. type: integer
  27795. - description: 创建交易日(yyyyMMdd)
  27796. in: query
  27797. name: tradedate
  27798. type: string
  27799. - description: 用户名称(模糊匹配)
  27800. in: query
  27801. name: username
  27802. type: string
  27803. produces:
  27804. - application/json
  27805. responses:
  27806. "200":
  27807. description: OK
  27808. schema:
  27809. items:
  27810. $ref: '#/definitions/models.QhjCustomerSignStatus'
  27811. type: array
  27812. "500":
  27813. description: Internal Server Error
  27814. schema:
  27815. $ref: '#/definitions/app.Response'
  27816. security:
  27817. - ApiKeyAuth: []
  27818. summary: 查询客户协议签约状态
  27819. tags:
  27820. - 大连千海金(协议和签约信息)
  27821. /QhjSys/QueryNodeAgreementConfig:
  27822. get:
  27823. parameters:
  27824. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  27825. in: query
  27826. name: configid
  27827. type: integer
  27828. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27829. in: query
  27830. name: nodetype
  27831. type: integer
  27832. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27833. in: query
  27834. name: goodsid
  27835. type: integer
  27836. - description: 协议ID
  27837. in: query
  27838. name: agreementid
  27839. type: integer
  27840. - description: 协议类型 - 1:注册 2:登录 3:交易
  27841. in: query
  27842. name: agreementtype
  27843. type: integer
  27844. - description: 协议版本号
  27845. in: query
  27846. name: agreementversion
  27847. type: integer
  27848. - description: 协议编号(模糊匹配)
  27849. in: query
  27850. name: agreementno
  27851. type: string
  27852. - description: 协议名称(模糊匹配)
  27853. in: query
  27854. name: agreementname
  27855. type: string
  27856. produces:
  27857. - application/json
  27858. responses:
  27859. "200":
  27860. description: OK
  27861. schema:
  27862. items:
  27863. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  27864. type: array
  27865. "500":
  27866. description: Internal Server Error
  27867. schema:
  27868. $ref: '#/definitions/app.Response'
  27869. security:
  27870. - ApiKeyAuth: []
  27871. summary: 查询协议节点配置
  27872. tags:
  27873. - 大连千海金(协议和签约信息)
  27874. /QhjSys/QueryQhjCustomerSignLog:
  27875. get:
  27876. parameters:
  27877. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  27878. in: query
  27879. name: logid
  27880. type: integer
  27881. - description: 客户ID
  27882. in: query
  27883. name: userid
  27884. type: integer
  27885. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27886. in: query
  27887. name: nodetype
  27888. type: integer
  27889. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27890. in: query
  27891. name: goodsid
  27892. type: integer
  27893. - description: 协议ID
  27894. in: query
  27895. name: agreementid
  27896. type: integer
  27897. - description: 用户名称(模糊匹配)
  27898. in: query
  27899. name: username
  27900. type: string
  27901. - description: 协议编号(模糊匹配)
  27902. in: query
  27903. name: agreementno
  27904. type: string
  27905. - description: 协议名称(模糊匹配)
  27906. in: query
  27907. name: agreementname
  27908. type: string
  27909. produces:
  27910. - application/json
  27911. responses:
  27912. "200":
  27913. description: OK
  27914. schema:
  27915. items:
  27916. $ref: '#/definitions/models.QhjCustomerSignLog'
  27917. type: array
  27918. "500":
  27919. description: Internal Server Error
  27920. schema:
  27921. $ref: '#/definitions/app.Response'
  27922. security:
  27923. - ApiKeyAuth: []
  27924. summary: 查询客户协议签约流水
  27925. tags:
  27926. - 大连千海金(协议和签约信息)
  27927. /QhjSys/QueryUserNodeCfgAndStatus:
  27928. get:
  27929. parameters:
  27930. - description: 客户ID
  27931. in: query
  27932. name: userid
  27933. type: integer
  27934. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  27935. in: query
  27936. name: configid
  27937. type: integer
  27938. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27939. in: query
  27940. name: nodetype
  27941. type: string
  27942. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27943. in: query
  27944. name: goodsid
  27945. type: integer
  27946. - description: 协议ID
  27947. in: query
  27948. name: agreementid
  27949. type: integer
  27950. - description: 协议类型 - 1:注册 2:登录 3:交易
  27951. in: query
  27952. name: agreementtype
  27953. type: integer
  27954. - description: 协议版本号
  27955. in: query
  27956. name: agreementversion
  27957. type: integer
  27958. - description: 协议编号(模糊匹配)
  27959. in: query
  27960. name: agreementno
  27961. type: string
  27962. - description: 协议名称(模糊匹配)
  27963. in: query
  27964. name: agreementname
  27965. type: string
  27966. produces:
  27967. - application/json
  27968. responses:
  27969. "200":
  27970. description: OK
  27971. schema:
  27972. items:
  27973. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  27974. type: array
  27975. "500":
  27976. description: Internal Server Error
  27977. schema:
  27978. $ref: '#/definitions/app.Response'
  27979. security:
  27980. - ApiKeyAuth: []
  27981. summary: 查询用户协议节点配置和状态
  27982. tags:
  27983. - 大连千海金(协议和签约信息)
  27984. /Quote/QueryHistoryDatas:
  27985. get:
  27986. parameters:
  27987. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  27988. 日线 12:周线 13:月线 14:年线'
  27989. in: query
  27990. name: cycleType
  27991. required: true
  27992. type: integer
  27993. - description: 商品代码
  27994. in: query
  27995. name: goodsCode
  27996. required: true
  27997. type: string
  27998. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  27999. in: query
  28000. name: startTime
  28001. type: string
  28002. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  28003. in: query
  28004. name: endTime
  28005. type: string
  28006. - description: 条数
  28007. in: query
  28008. name: count
  28009. type: integer
  28010. - description: 是否按时间顺序排序(默认为时间倒序排序)
  28011. in: query
  28012. name: isAsc
  28013. type: boolean
  28014. produces:
  28015. - application/json
  28016. responses:
  28017. "200":
  28018. description: OK
  28019. schema:
  28020. $ref: '#/definitions/quote.HistoryData'
  28021. "500":
  28022. description: Internal Server Error
  28023. schema:
  28024. $ref: '#/definitions/app.Response'
  28025. security:
  28026. - ApiKeyAuth: []
  28027. summary: 查询行情历史数据
  28028. tags:
  28029. - 行情服务
  28030. /Quote/QueryHistoryTikDatas:
  28031. get:
  28032. parameters:
  28033. - description: 商品代码
  28034. in: query
  28035. name: goodsCode
  28036. required: true
  28037. type: string
  28038. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  28039. in: query
  28040. name: startTime
  28041. type: string
  28042. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  28043. in: query
  28044. name: endTime
  28045. type: string
  28046. - description: 条数
  28047. in: query
  28048. name: count
  28049. type: integer
  28050. - description: 是否按时间顺序排序(默认为时间倒序排序)
  28051. in: query
  28052. name: isAsc
  28053. type: boolean
  28054. produces:
  28055. - application/json
  28056. responses:
  28057. "200":
  28058. description: OK
  28059. schema:
  28060. $ref: '#/definitions/quote.HistoryTikData'
  28061. "500":
  28062. description: Internal Server Error
  28063. schema:
  28064. $ref: '#/definitions/app.Response'
  28065. security:
  28066. - ApiKeyAuth: []
  28067. summary: 查询行情Tik数据
  28068. tags:
  28069. - 行情服务
  28070. /Quote/QueryQuoteDay:
  28071. get:
  28072. parameters:
  28073. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  28074. in: query
  28075. name: goodsCodes
  28076. type: string
  28077. produces:
  28078. - application/json
  28079. responses:
  28080. "200":
  28081. description: OK
  28082. schema:
  28083. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  28084. "500":
  28085. description: Internal Server Error
  28086. schema:
  28087. $ref: '#/definitions/app.Response'
  28088. security:
  28089. - ApiKeyAuth: []
  28090. summary: 获取商品盘面信息
  28091. tags:
  28092. - 行情服务
  28093. /Quote/QueryTSData:
  28094. get:
  28095. parameters:
  28096. - description: 商品代码
  28097. in: query
  28098. name: goodsCode
  28099. required: true
  28100. type: string
  28101. produces:
  28102. - application/json
  28103. responses:
  28104. "200":
  28105. description: OK
  28106. schema:
  28107. $ref: '#/definitions/quote.QueryTSDataRsp'
  28108. "500":
  28109. description: Internal Server Error
  28110. schema:
  28111. $ref: '#/definitions/app.Response'
  28112. security:
  28113. - ApiKeyAuth: []
  28114. summary: 分时图数据查询
  28115. tags:
  28116. - 行情服务
  28117. /SZDZ/QueryConvertConfig:
  28118. get:
  28119. parameters:
  28120. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  28121. 6:交易转花生米(不设置)
  28122. in: query
  28123. name: convertType
  28124. type: integer
  28125. - description: 外部商品代码[JD\PD]
  28126. in: query
  28127. name: outerGoodsCode
  28128. type: string
  28129. - description: 内部商品ID列表[交易],格式:1,2,3
  28130. in: query
  28131. name: innerGoodsIDs
  28132. type: string
  28133. produces:
  28134. - application/json
  28135. responses:
  28136. "200":
  28137. description: OK
  28138. schema:
  28139. $ref: '#/definitions/models.Szdz3convertconfig'
  28140. "500":
  28141. description: Internal Server Error
  28142. schema:
  28143. $ref: '#/definitions/app.Response'
  28144. security:
  28145. - ApiKeyAuth: []
  28146. summary: 查询交易系统转换设置
  28147. tags:
  28148. - 定制【尚志大宗】
  28149. /SZDZ/QueryConvertLog:
  28150. get:
  28151. parameters:
  28152. - description: 资金账户 - 格式:1,2,3
  28153. in: query
  28154. name: accountID
  28155. required: true
  28156. type: string
  28157. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  28158. in: query
  28159. name: startDate
  28160. type: string
  28161. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  28162. in: query
  28163. name: endDate
  28164. type: string
  28165. produces:
  28166. - application/json
  28167. responses:
  28168. "200":
  28169. description: OK
  28170. schema:
  28171. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  28172. "500":
  28173. description: Internal Server Error
  28174. schema:
  28175. $ref: '#/definitions/app.Response'
  28176. security:
  28177. - ApiKeyAuth: []
  28178. summary: 交易系统转换流水查询
  28179. tags:
  28180. - 定制【尚志大宗】
  28181. /SZDZ/QueryGoodsPickup:
  28182. get:
  28183. parameters:
  28184. - description: 资金账户 - 格式:1,2,3
  28185. in: query
  28186. name: accountID
  28187. required: true
  28188. type: string
  28189. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  28190. in: query
  28191. name: takeOrderStatus
  28192. type: integer
  28193. produces:
  28194. - application/json
  28195. responses:
  28196. "200":
  28197. description: OK
  28198. schema:
  28199. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  28200. "500":
  28201. description: Internal Server Error
  28202. schema:
  28203. $ref: '#/definitions/app.Response'
  28204. security:
  28205. - ApiKeyAuth: []
  28206. summary: 商品提货单查询
  28207. tags:
  28208. - 定制【尚志大宗】
  28209. /SZDZ/QueryRecieptOrder:
  28210. get:
  28211. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  28212. parameters:
  28213. - description: 页码
  28214. in: query
  28215. name: page
  28216. type: integer
  28217. - description: 每页条数
  28218. in: query
  28219. name: pagesize
  28220. type: integer
  28221. - description: 商品ID
  28222. in: query
  28223. name: goodsID
  28224. required: true
  28225. type: integer
  28226. - description: 所属账户名称
  28227. in: query
  28228. name: accountName
  28229. type: string
  28230. - description: 市场ID
  28231. in: query
  28232. name: marketID
  28233. type: integer
  28234. - description: 方向 - 0:买 1:卖
  28235. in: query
  28236. name: buyorsell
  28237. required: true
  28238. type: integer
  28239. produces:
  28240. - application/json
  28241. responses:
  28242. "200":
  28243. description: OK
  28244. schema:
  28245. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  28246. "500":
  28247. description: Internal Server Error
  28248. schema:
  28249. $ref: '#/definitions/app.Response'
  28250. security:
  28251. - ApiKeyAuth: []
  28252. summary: 点选挂牌委托单据查询(摘牌大厅)
  28253. tags:
  28254. - 定制【尚志大宗】
  28255. /SZDZ/QuerySZDZTradePosition:
  28256. get:
  28257. parameters:
  28258. - description: 资金账户
  28259. in: query
  28260. name: accountID
  28261. required: true
  28262. type: integer
  28263. produces:
  28264. - application/json
  28265. responses:
  28266. "200":
  28267. description: OK
  28268. schema:
  28269. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  28270. "500":
  28271. description: Internal Server Error
  28272. schema:
  28273. $ref: '#/definitions/app.Response'
  28274. security:
  28275. - ApiKeyAuth: []
  28276. summary: 持仓汇总查询(尚志大宗)
  28277. tags:
  28278. - 定制【尚志大宗】
  28279. /SZDZ/SearchWhite:
  28280. get:
  28281. parameters:
  28282. - description: 用户ID
  28283. in: query
  28284. name: userID
  28285. required: true
  28286. type: integer
  28287. produces:
  28288. - application/json
  28289. responses:
  28290. "200":
  28291. description: OK
  28292. schema:
  28293. $ref: '#/definitions/models.Szdz3searchwhitelist'
  28294. "500":
  28295. description: Internal Server Error
  28296. schema:
  28297. $ref: '#/definitions/app.Response'
  28298. security:
  28299. - ApiKeyAuth: []
  28300. summary: 搜索白名单
  28301. tags:
  28302. - 定制【尚志大宗】
  28303. /Search/SearchGoodses:
  28304. get:
  28305. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  28306. parameters:
  28307. - description: 检索内容
  28308. in: query
  28309. name: content
  28310. required: true
  28311. type: string
  28312. - description: 交易模式,格式:1,2,3
  28313. in: query
  28314. name: tradeModes
  28315. type: string
  28316. produces:
  28317. - application/json
  28318. responses:
  28319. "200":
  28320. description: OK
  28321. schema:
  28322. $ref: '#/definitions/models.SearchGoods'
  28323. "500":
  28324. description: Internal Server Error
  28325. schema:
  28326. $ref: '#/definitions/app.Response'
  28327. summary: 检索商品信息
  28328. tags:
  28329. - 检索服务
  28330. /TaAccount/GetTaAccounts:
  28331. get:
  28332. parameters:
  28333. - description: 登录账户
  28334. in: query
  28335. name: loginID
  28336. required: true
  28337. type: integer
  28338. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  28339. in: query
  28340. name: taAccountType
  28341. type: integer
  28342. produces:
  28343. - application/json
  28344. responses:
  28345. "200":
  28346. description: OK
  28347. schema:
  28348. $ref: '#/definitions/models.Taaccount'
  28349. "500":
  28350. description: Internal Server Error
  28351. schema:
  28352. $ref: '#/definitions/app.Response'
  28353. security:
  28354. - ApiKeyAuth: []
  28355. summary: 获取资金账户信息
  28356. tags:
  28357. - 资金账户
  28358. /TaAccount/QueryAmountLog:
  28359. get:
  28360. parameters:
  28361. - description: 页码
  28362. in: query
  28363. name: page
  28364. type: integer
  28365. - description: 每页条数
  28366. in: query
  28367. name: pagesize
  28368. type: integer
  28369. - description: 资金账户 - 格式:1,2,3
  28370. in: query
  28371. name: accountID
  28372. required: true
  28373. type: string
  28374. - description: 资金操作类型 - 格式:1,2,3
  28375. in: query
  28376. name: OperateType
  28377. type: string
  28378. produces:
  28379. - application/json
  28380. responses:
  28381. "200":
  28382. description: OK
  28383. schema:
  28384. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  28385. "500":
  28386. description: Internal Server Error
  28387. schema:
  28388. $ref: '#/definitions/app.Response'
  28389. security:
  28390. - ApiKeyAuth: []
  28391. summary: 资金流水查询(当前)
  28392. tags:
  28393. - 资金账户
  28394. /TaAccount/QueryHisAmountLog:
  28395. get:
  28396. parameters:
  28397. - description: 页码
  28398. in: query
  28399. name: page
  28400. type: integer
  28401. - description: 每页条数
  28402. in: query
  28403. name: pagesize
  28404. type: integer
  28405. - description: 资金账户 - 格式:1,2,3
  28406. in: query
  28407. name: accountID
  28408. required: true
  28409. type: string
  28410. - description: 资金操作类型 - 格式:1,2,3
  28411. in: query
  28412. name: OperateType
  28413. type: string
  28414. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28415. in: query
  28416. name: startDate
  28417. type: string
  28418. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28419. in: query
  28420. name: endDate
  28421. type: string
  28422. produces:
  28423. - application/json
  28424. responses:
  28425. "200":
  28426. description: OK
  28427. schema:
  28428. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  28429. "500":
  28430. description: Internal Server Error
  28431. schema:
  28432. $ref: '#/definitions/app.Response'
  28433. security:
  28434. - ApiKeyAuth: []
  28435. summary: 资金流水查询(历史)
  28436. tags:
  28437. - 资金账户
  28438. /TaAccount/QueryRelatedTaAccount:
  28439. get:
  28440. parameters:
  28441. - description: 关联UserID
  28442. in: query
  28443. name: relateduserid
  28444. required: true
  28445. type: integer
  28446. produces:
  28447. - application/json
  28448. responses:
  28449. "200":
  28450. description: OK
  28451. schema:
  28452. items:
  28453. $ref: '#/definitions/models.RelatedTaAccount'
  28454. type: array
  28455. "500":
  28456. description: Internal Server Error
  28457. schema:
  28458. $ref: '#/definitions/app.Response'
  28459. security:
  28460. - ApiKeyAuth: []
  28461. summary: 查询关联资金账户信息
  28462. tags:
  28463. - 资金账户
  28464. /Tjmd/QueryQuoteGoodsList:
  28465. get:
  28466. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  28467. parameters:
  28468. - description: 用户类型
  28469. in: query
  28470. name: usertype
  28471. required: true
  28472. type: integer
  28473. - description: 市场id, 格式 1,2,3
  28474. in: query
  28475. name: marketids
  28476. type: string
  28477. - description: 商品组id
  28478. in: query
  28479. name: goodsgroupid
  28480. type: integer
  28481. - description: 商品id
  28482. in: query
  28483. name: goodsid
  28484. type: integer
  28485. produces:
  28486. - application/json
  28487. responses:
  28488. "200":
  28489. description: OK
  28490. schema:
  28491. items:
  28492. $ref: '#/definitions/models.TjmdQuoteGoods'
  28493. type: array
  28494. "500":
  28495. description: Internal Server Error
  28496. schema:
  28497. $ref: '#/definitions/app.Response'
  28498. security:
  28499. - ApiKeyAuth: []
  28500. summary: 查询掉期报价列表
  28501. tags:
  28502. - 天津麦顿
  28503. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  28504. get:
  28505. parameters:
  28506. - description: 成交单号
  28507. in: query
  28508. name: tradeid
  28509. required: true
  28510. type: string
  28511. produces:
  28512. - application/json
  28513. responses:
  28514. "200":
  28515. description: OK
  28516. schema:
  28517. items:
  28518. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  28519. type: array
  28520. "500":
  28521. description: Internal Server Error
  28522. schema:
  28523. $ref: '#/definitions/app.Response'
  28524. security:
  28525. - ApiKeyAuth: []
  28526. summary: 掉期商品订单详情(交易确认书)
  28527. tags:
  28528. - 天津麦顿
  28529. /Tjmd/QueryTjmdMarketSection:
  28530. get:
  28531. produces:
  28532. - application/json
  28533. responses:
  28534. "200":
  28535. description: OK
  28536. schema:
  28537. items:
  28538. $ref: '#/definitions/models.TjmdMarketSection'
  28539. type: array
  28540. "500":
  28541. description: Internal Server Error
  28542. schema:
  28543. $ref: '#/definitions/app.Response'
  28544. security:
  28545. - ApiKeyAuth: []
  28546. summary: 查询市场板块
  28547. tags:
  28548. - 天津麦顿
  28549. /Tjmd/QueryTjmdTodayAccountMargin:
  28550. get:
  28551. parameters:
  28552. - description: 市场id
  28553. in: query
  28554. name: marketid
  28555. type: string
  28556. - description: 商品id
  28557. in: query
  28558. name: goodsid
  28559. type: string
  28560. - description: 资金账号
  28561. in: query
  28562. name: accountid
  28563. type: string
  28564. produces:
  28565. - application/json
  28566. responses:
  28567. "200":
  28568. description: OK
  28569. schema:
  28570. items:
  28571. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  28572. type: array
  28573. "500":
  28574. description: Internal Server Error
  28575. schema:
  28576. $ref: '#/definitions/app.Response'
  28577. security:
  28578. - ApiKeyAuth: []
  28579. summary: 查询今日账户保证金配置
  28580. tags:
  28581. - 天津麦顿
  28582. /Tjmd/QueryTjmdTradeOrderDetail:
  28583. get:
  28584. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  28585. parameters:
  28586. - description: 页码
  28587. in: query
  28588. name: page
  28589. type: integer
  28590. - description: 每页条数
  28591. in: query
  28592. name: pagesize
  28593. type: integer
  28594. - description: 用户id
  28595. in: query
  28596. name: userid
  28597. required: true
  28598. type: integer
  28599. - description: 用户类型
  28600. in: query
  28601. name: usertype
  28602. required: true
  28603. type: integer
  28604. - description: 市场id, 格式 1,2,3
  28605. in: query
  28606. name: marketids
  28607. type: string
  28608. - description: 商品id
  28609. in: query
  28610. name: goodsid
  28611. required: true
  28612. type: integer
  28613. - description: 买卖方向 0-买 1-卖
  28614. in: query
  28615. name: buyorsell
  28616. required: true
  28617. type: integer
  28618. produces:
  28619. - application/json
  28620. responses:
  28621. "200":
  28622. description: OK
  28623. schema:
  28624. items:
  28625. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  28626. type: array
  28627. "500":
  28628. description: Internal Server Error
  28629. schema:
  28630. $ref: '#/definitions/app.Response'
  28631. security:
  28632. - ApiKeyAuth: []
  28633. summary: 查询掉期买卖大厅
  28634. tags:
  28635. - 天津麦顿
  28636. /Tjmd/QueryTjmdTransferApply:
  28637. get:
  28638. parameters:
  28639. - description: 类型 1-我的申请 2-对方申请
  28640. in: query
  28641. name: applytype
  28642. required: true
  28643. type: integer
  28644. - description: 市场id, 格式 1,2,3
  28645. in: query
  28646. name: marketids
  28647. type: string
  28648. - description: 资金账号, 格式 25000000001,25000000003
  28649. in: query
  28650. name: accountids
  28651. type: string
  28652. - description: 开始交易日(yyyymmdd)
  28653. in: query
  28654. name: begindate
  28655. type: string
  28656. - description: 结束交易日(yyyymmdd)
  28657. in: query
  28658. name: enddate
  28659. type: string
  28660. produces:
  28661. - application/json
  28662. responses:
  28663. "200":
  28664. description: OK
  28665. schema:
  28666. items:
  28667. $ref: '#/definitions/models.TjmdTransferApply'
  28668. type: array
  28669. "500":
  28670. description: Internal Server Error
  28671. schema:
  28672. $ref: '#/definitions/app.Response'
  28673. security:
  28674. - ApiKeyAuth: []
  28675. summary: 查询掉期协议单
  28676. tags:
  28677. - 天津麦顿
  28678. /Trade/QueryRecieptOrder:
  28679. get:
  28680. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  28681. parameters:
  28682. - description: 页码
  28683. in: query
  28684. name: page
  28685. type: integer
  28686. - description: 每页条数
  28687. in: query
  28688. name: pagesize
  28689. type: integer
  28690. - description: 商品ID
  28691. in: query
  28692. name: goodsID
  28693. required: true
  28694. type: integer
  28695. - description: 所属账户名称
  28696. in: query
  28697. name: accountName
  28698. type: string
  28699. - description: 市场ID
  28700. in: query
  28701. name: marketID
  28702. type: integer
  28703. - description: 方向 - 0:买 1:卖
  28704. in: query
  28705. name: buyorsell
  28706. required: true
  28707. type: integer
  28708. produces:
  28709. - application/json
  28710. responses:
  28711. "200":
  28712. description: OK
  28713. schema:
  28714. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  28715. "500":
  28716. description: Internal Server Error
  28717. schema:
  28718. $ref: '#/definitions/app.Response'
  28719. security:
  28720. - ApiKeyAuth: []
  28721. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  28722. tags:
  28723. - 通用交易
  28724. /User/AddMessageBoard:
  28725. post:
  28726. parameters:
  28727. - description: 用户ID
  28728. in: query
  28729. name: userID
  28730. required: true
  28731. type: integer
  28732. - description: 留言信息
  28733. in: query
  28734. name: message
  28735. required: true
  28736. type: string
  28737. - description: 联系电话
  28738. in: query
  28739. name: contactNum
  28740. required: true
  28741. type: string
  28742. produces:
  28743. - application/json
  28744. responses:
  28745. "200":
  28746. description: OK
  28747. schema:
  28748. $ref: '#/definitions/app.Response'
  28749. "500":
  28750. description: Internal Server Error
  28751. schema:
  28752. $ref: '#/definitions/app.Response'
  28753. security:
  28754. - ApiKeyAuth: []
  28755. summary: 添加用户留言板信息
  28756. tags:
  28757. - 用户信息
  28758. /User/AddUserFavoriteGoods:
  28759. post:
  28760. parameters:
  28761. - description: 用户ID
  28762. in: query
  28763. name: userID
  28764. required: true
  28765. type: integer
  28766. - description: 商品ID
  28767. in: query
  28768. name: goodsID
  28769. required: true
  28770. type: integer
  28771. produces:
  28772. - application/json
  28773. responses:
  28774. "200":
  28775. description: OK
  28776. schema:
  28777. $ref: '#/definitions/app.Response'
  28778. "500":
  28779. description: Internal Server Error
  28780. schema:
  28781. $ref: '#/definitions/app.Response'
  28782. security:
  28783. - ApiKeyAuth: []
  28784. summary: 添加用户商品收藏信息
  28785. tags:
  28786. - 用户信息
  28787. /User/GetLoginID:
  28788. get:
  28789. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  28790. parameters:
  28791. - description: 登录代码
  28792. in: query
  28793. name: username
  28794. required: true
  28795. type: string
  28796. produces:
  28797. - application/json
  28798. responses:
  28799. "200":
  28800. description: OK
  28801. schema:
  28802. $ref: '#/definitions/app.Response'
  28803. "500":
  28804. description: Internal Server Error
  28805. schema:
  28806. $ref: '#/definitions/app.Response'
  28807. summary: 获取登录ID
  28808. tags:
  28809. - 用户信息
  28810. /User/GetUserAccount:
  28811. get:
  28812. parameters:
  28813. - description: 用户ID
  28814. in: query
  28815. name: userID
  28816. required: true
  28817. type: integer
  28818. produces:
  28819. - application/json
  28820. responses:
  28821. "200":
  28822. description: OK
  28823. schema:
  28824. $ref: '#/definitions/models.Useraccount'
  28825. "500":
  28826. description: Internal Server Error
  28827. schema:
  28828. $ref: '#/definitions/app.Response'
  28829. security:
  28830. - ApiKeyAuth: []
  28831. summary: 获取用户账号信息
  28832. tags:
  28833. - 用户信息
  28834. /User/GetUserAuthStatus:
  28835. get:
  28836. parameters:
  28837. - description: 用户ID
  28838. in: query
  28839. name: userID
  28840. required: true
  28841. type: integer
  28842. produces:
  28843. - application/json
  28844. responses:
  28845. "200":
  28846. description: OK
  28847. schema:
  28848. $ref: '#/definitions/app.Response'
  28849. "500":
  28850. description: Internal Server Error
  28851. schema:
  28852. $ref: '#/definitions/app.Response'
  28853. security:
  28854. - ApiKeyAuth: []
  28855. summary: 获取用户实名认证状态
  28856. tags:
  28857. - 用户信息
  28858. /User/LoginQuery:
  28859. get:
  28860. parameters:
  28861. - description: 登录账号
  28862. in: query
  28863. name: loginID
  28864. required: true
  28865. type: integer
  28866. produces:
  28867. - application/json
  28868. responses:
  28869. "200":
  28870. description: OK
  28871. schema:
  28872. $ref: '#/definitions/user.LoginQueryRsp'
  28873. "500":
  28874. description: Internal Server Error
  28875. schema:
  28876. $ref: '#/definitions/app.Response'
  28877. security:
  28878. - ApiKeyAuth: []
  28879. summary: 账户登录后信息查询
  28880. tags:
  28881. - 用户信息
  28882. /User/QueryMessageBoard:
  28883. get:
  28884. parameters:
  28885. - description: 用户ID
  28886. in: query
  28887. name: userID
  28888. required: true
  28889. type: integer
  28890. produces:
  28891. - application/json
  28892. responses:
  28893. "200":
  28894. description: OK
  28895. schema:
  28896. $ref: '#/definitions/models.Messageboard'
  28897. "500":
  28898. description: Internal Server Error
  28899. schema:
  28900. $ref: '#/definitions/app.Response'
  28901. security:
  28902. - ApiKeyAuth: []
  28903. summary: 获取用户留言板信息
  28904. tags:
  28905. - 用户信息
  28906. /User/QueryUserFavoriteGoodses:
  28907. get:
  28908. parameters:
  28909. - description: 用户ID
  28910. in: query
  28911. name: userID
  28912. required: true
  28913. type: integer
  28914. produces:
  28915. - application/json
  28916. responses:
  28917. "200":
  28918. description: OK
  28919. schema:
  28920. $ref: '#/definitions/models.Userfavoritegoods'
  28921. "500":
  28922. description: Internal Server Error
  28923. schema:
  28924. $ref: '#/definitions/app.Response'
  28925. security:
  28926. - ApiKeyAuth: []
  28927. summary: 获取用户商品收藏信息
  28928. tags:
  28929. - 用户信息
  28930. /User/QueryUserInfo:
  28931. get:
  28932. parameters:
  28933. - description: 用户ID
  28934. in: query
  28935. name: userID
  28936. required: true
  28937. type: integer
  28938. - description: 是否解密
  28939. in: query
  28940. name: isDecrypt
  28941. type: boolean
  28942. produces:
  28943. - application/json
  28944. responses:
  28945. "200":
  28946. description: OK
  28947. schema:
  28948. $ref: '#/definitions/models.Userinfo'
  28949. "500":
  28950. description: Internal Server Error
  28951. schema:
  28952. $ref: '#/definitions/app.Response'
  28953. security:
  28954. - ApiKeyAuth: []
  28955. summary: 获取用户信息
  28956. tags:
  28957. - 用户信息
  28958. /User/QueryUserReferNum:
  28959. get:
  28960. parameters:
  28961. - description: 用户ID
  28962. in: query
  28963. name: userID
  28964. required: true
  28965. type: integer
  28966. produces:
  28967. - application/json
  28968. responses:
  28969. "200":
  28970. description: OK
  28971. schema:
  28972. $ref: '#/definitions/app.Response'
  28973. "500":
  28974. description: Internal Server Error
  28975. schema:
  28976. $ref: '#/definitions/app.Response'
  28977. summary: 获取用户邀请码
  28978. tags:
  28979. - 用户信息
  28980. /User/RemoveUserFavoriteGoods:
  28981. post:
  28982. parameters:
  28983. - description: 用户ID
  28984. in: query
  28985. name: userID
  28986. required: true
  28987. type: integer
  28988. - description: 商品ID
  28989. in: query
  28990. name: goodsID
  28991. required: true
  28992. type: integer
  28993. produces:
  28994. - application/json
  28995. responses:
  28996. "200":
  28997. description: OK
  28998. schema:
  28999. $ref: '#/definitions/app.Response'
  29000. "500":
  29001. description: Internal Server Error
  29002. schema:
  29003. $ref: '#/definitions/app.Response'
  29004. security:
  29005. - ApiKeyAuth: []
  29006. summary: 移除用户商品收藏信息
  29007. tags:
  29008. - 用户信息
  29009. /User/UpdateUserAccountStatus:
  29010. post:
  29011. parameters:
  29012. - description: 用户ID
  29013. in: query
  29014. name: userID
  29015. required: true
  29016. type: integer
  29017. - description: 账户状态 - 4:正常 6:注销(停用)
  29018. in: query
  29019. name: accountStatus
  29020. required: true
  29021. type: integer
  29022. produces:
  29023. - application/json
  29024. responses:
  29025. "200":
  29026. description: OK
  29027. schema:
  29028. $ref: '#/definitions/app.Response'
  29029. "500":
  29030. description: Internal Server Error
  29031. schema:
  29032. $ref: '#/definitions/app.Response'
  29033. security:
  29034. - ApiKeyAuth: []
  29035. summary: 更新用户状态
  29036. tags:
  29037. - 用户信息
  29038. /WRTrade/GetAllDeliveryGoods:
  29039. get:
  29040. produces:
  29041. - application/json
  29042. responses:
  29043. "200":
  29044. description: OK
  29045. schema:
  29046. $ref: '#/definitions/app.Response'
  29047. "500":
  29048. description: Internal Server Error
  29049. schema:
  29050. $ref: '#/definitions/app.Response'
  29051. security:
  29052. - ApiKeyAuth: []
  29053. summary: 获取带仓单分类的种类信息
  29054. tags:
  29055. - 仓单贸易
  29056. - 仓单贸易
  29057. /WrTrade2/InsertXhcpSellBackApply:
  29058. post:
  29059. parameters:
  29060. - description: 回收申请
  29061. in: body
  29062. name: jsonBody
  29063. required: true
  29064. schema:
  29065. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  29066. produces:
  29067. - application/json
  29068. responses:
  29069. "200":
  29070. description: OK
  29071. schema:
  29072. $ref: '#/definitions/app.Response'
  29073. "500":
  29074. description: Internal Server Error
  29075. schema:
  29076. $ref: '#/definitions/app.Response'
  29077. security:
  29078. - ApiKeyAuth: []
  29079. summary: 新增回收申请(新会陈皮)
  29080. tags:
  29081. - 仓单贸易v2
  29082. /WrTrade2/QueryDeliveryGoodsSection:
  29083. get:
  29084. produces:
  29085. - application/json
  29086. responses:
  29087. "200":
  29088. description: OK
  29089. schema:
  29090. items:
  29091. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  29092. type: array
  29093. "500":
  29094. description: Internal Server Error
  29095. schema:
  29096. $ref: '#/definitions/app.Response'
  29097. security:
  29098. - ApiKeyAuth: []
  29099. summary: 查询板块(分类)
  29100. tags:
  29101. - 仓单贸易v2
  29102. /WrTrade2/QueryFaProductDetail:
  29103. get:
  29104. description: 页面 买卖大厅 -> 选择融资方案
  29105. parameters:
  29106. - description: 仓单要素id
  29107. in: query
  29108. name: wrfactortypeid
  29109. required: true
  29110. type: integer
  29111. produces:
  29112. - application/json
  29113. responses:
  29114. "200":
  29115. description: OK
  29116. schema:
  29117. items:
  29118. $ref: '#/definitions/models.WrFAProductDetail'
  29119. type: array
  29120. "500":
  29121. description: Internal Server Error
  29122. schema:
  29123. $ref: '#/definitions/app.Response'
  29124. security:
  29125. - ApiKeyAuth: []
  29126. summary: 查询融资产品列表
  29127. tags:
  29128. - 仓单贸易v2
  29129. /WrTrade2/QueryFilterItem:
  29130. get:
  29131. parameters:
  29132. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  29133. in: query
  29134. name: itype
  29135. required: true
  29136. type: string
  29137. produces:
  29138. - application/json
  29139. responses:
  29140. "200":
  29141. description: OK
  29142. schema:
  29143. items:
  29144. $ref: '#/definitions/models.WrFilterItem'
  29145. type: array
  29146. "500":
  29147. description: Internal Server Error
  29148. schema:
  29149. $ref: '#/definitions/app.Response'
  29150. security:
  29151. - ApiKeyAuth: []
  29152. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  29153. tags:
  29154. - 仓单贸易v2
  29155. /WrTrade2/QueryFtDeliveryGoods:
  29156. get:
  29157. produces:
  29158. - application/json
  29159. responses:
  29160. "200":
  29161. description: OK
  29162. schema:
  29163. items:
  29164. $ref: '#/definitions/models.WrFtDeliveryGoods'
  29165. type: array
  29166. "500":
  29167. description: Internal Server Error
  29168. schema:
  29169. $ref: '#/definitions/app.Response'
  29170. security:
  29171. - ApiKeyAuth: []
  29172. summary: 查询品种品类筛选框列表
  29173. tags:
  29174. - 仓单贸易v2
  29175. /WrTrade2/QueryHoldLB:
  29176. get:
  29177. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  29178. parameters:
  29179. - description: 资金账号
  29180. in: query
  29181. name: accountid
  29182. required: true
  29183. type: integer
  29184. - description: 仓库id
  29185. in: query
  29186. name: warehouseid
  29187. type: integer
  29188. - description: 品种id
  29189. in: query
  29190. name: deliverygoodsid
  29191. type: integer
  29192. - description: 品类id
  29193. in: query
  29194. name: wrstandardid
  29195. type: integer
  29196. - description: 仓单要素id
  29197. in: query
  29198. name: wrfactortypeid
  29199. type: integer
  29200. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29201. in: query
  29202. name: dgitemname
  29203. type: string
  29204. produces:
  29205. - application/json
  29206. responses:
  29207. "200":
  29208. description: OK
  29209. schema:
  29210. items:
  29211. $ref: '#/definitions/models.WrHoldLB'
  29212. type: array
  29213. "500":
  29214. description: Internal Server Error
  29215. schema:
  29216. $ref: '#/definitions/app.Response'
  29217. security:
  29218. - ApiKeyAuth: []
  29219. summary: 查询仓单持有记录
  29220. tags:
  29221. - 仓单贸易v2
  29222. /WrTrade2/QueryOrderQuote:
  29223. get:
  29224. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  29225. 唯一确定1条记录
  29226. parameters:
  29227. - description: 页码
  29228. in: query
  29229. name: page
  29230. type: integer
  29231. - description: 每页条数
  29232. in: query
  29233. name: pagesize
  29234. type: integer
  29235. - description: 仓单贸易市场id
  29236. in: query
  29237. name: marketid
  29238. type: integer
  29239. - description: 价格方式 - 1:固定价 2-浮动价
  29240. in: query
  29241. name: wrpricetype
  29242. required: true
  29243. type: integer
  29244. - description: 0:仓单预售 1:仓单贸易
  29245. in: query
  29246. name: haswr
  29247. type: integer
  29248. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29249. in: query
  29250. name: dgitemname
  29251. type: string
  29252. - description: 仓库id(筛选条件)
  29253. in: query
  29254. name: warehouseid
  29255. type: integer
  29256. - description: 品种id
  29257. in: query
  29258. name: deliverygoodsid
  29259. type: integer
  29260. - description: 品类id
  29261. in: query
  29262. name: wrstandardid
  29263. type: integer
  29264. - description: 品牌id(dgfactoryitemid)
  29265. in: query
  29266. name: brandid
  29267. type: integer
  29268. - description: 年份id(dgfactoryitemid)
  29269. in: query
  29270. name: yearsid
  29271. type: integer
  29272. - description: 仓单要素id
  29273. in: query
  29274. name: wrfactortypeid
  29275. type: integer
  29276. - description: 交收月(yyyy-mm) 仓单预售填写
  29277. in: query
  29278. name: deliverymonth
  29279. type: string
  29280. produces:
  29281. - application/json
  29282. responses:
  29283. "200":
  29284. description: OK
  29285. schema:
  29286. items:
  29287. $ref: '#/definitions/models.WrOrderQuote'
  29288. type: array
  29289. "500":
  29290. description: Internal Server Error
  29291. schema:
  29292. $ref: '#/definitions/app.Response'
  29293. security:
  29294. - ApiKeyAuth: []
  29295. summary: 查询大厅行情列表
  29296. tags:
  29297. - 仓单贸易v2
  29298. /WrTrade2/QueryOrderQuoteDetail:
  29299. get:
  29300. parameters:
  29301. - description: 页码
  29302. in: query
  29303. name: page
  29304. type: integer
  29305. - description: 每页条数
  29306. in: query
  29307. name: pagesize
  29308. type: integer
  29309. - description: 仓单贸易市场id
  29310. in: query
  29311. name: marketid
  29312. type: integer
  29313. - description: 价格方式 - 1:固定价 2-浮动价
  29314. in: query
  29315. name: wrpricetype
  29316. required: true
  29317. type: integer
  29318. - description: 0:仓单预售 1:仓单贸易
  29319. in: query
  29320. name: haswr
  29321. type: integer
  29322. - description: 仓单要素id
  29323. in: query
  29324. name: wrfactortypeid
  29325. required: true
  29326. type: integer
  29327. - description: 期货商品id(浮动价方式时填)
  29328. in: query
  29329. name: goodsid
  29330. type: integer
  29331. - description: 买卖方向 0-买 1-卖
  29332. in: query
  29333. name: buyorsell
  29334. required: true
  29335. type: integer
  29336. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  29337. in: query
  29338. name: deliverymonth
  29339. type: string
  29340. produces:
  29341. - application/json
  29342. responses:
  29343. "200":
  29344. description: OK
  29345. schema:
  29346. items:
  29347. $ref: '#/definitions/models.WrOrderQuoteDetail'
  29348. type: array
  29349. "500":
  29350. description: Internal Server Error
  29351. schema:
  29352. $ref: '#/definitions/app.Response'
  29353. security:
  29354. - ApiKeyAuth: []
  29355. summary: 查询买卖大厅
  29356. tags:
  29357. - 仓单贸易v2
  29358. /WrTrade2/QueryOrderQuoteMyq:
  29359. get:
  29360. parameters:
  29361. - description: 页码
  29362. in: query
  29363. name: page
  29364. type: integer
  29365. - description: 每页条数
  29366. in: query
  29367. name: pagesize
  29368. type: integer
  29369. - description: 用户id
  29370. in: query
  29371. name: userid
  29372. required: true
  29373. type: integer
  29374. - description: 仓单贸易市场id
  29375. in: query
  29376. name: marketid
  29377. type: integer
  29378. - description: 0:仓单预售 1:仓单贸易
  29379. in: query
  29380. name: haswr
  29381. type: integer
  29382. - description: 买卖方向 0-买 1-卖
  29383. in: query
  29384. name: buyorsell
  29385. required: true
  29386. type: integer
  29387. - description: 品种id
  29388. in: query
  29389. name: deliverygoodsid
  29390. type: integer
  29391. - description: 品类id
  29392. in: query
  29393. name: wrstandardid
  29394. type: integer
  29395. - description: 交收月(yyyy-mm) 仓单预售填写
  29396. in: query
  29397. name: deliverymonth
  29398. type: string
  29399. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29400. in: query
  29401. name: dgitemname
  29402. type: string
  29403. produces:
  29404. - application/json
  29405. responses:
  29406. "200":
  29407. description: OK
  29408. schema:
  29409. items:
  29410. $ref: '#/definitions/models.WrQuoteOrderMyq'
  29411. type: array
  29412. "500":
  29413. description: Internal Server Error
  29414. schema:
  29415. $ref: '#/definitions/app.Response'
  29416. security:
  29417. - ApiKeyAuth: []
  29418. summary: 查询贸易圈挂牌大厅
  29419. tags:
  29420. - 仓单贸易v2
  29421. /WrTrade2/QueryPerformancePlan:
  29422. get:
  29423. parameters:
  29424. - description: 用户id
  29425. in: query
  29426. name: userid
  29427. required: true
  29428. type: integer
  29429. - description: 买卖方向 0-买 1-卖
  29430. in: query
  29431. name: buyorsell
  29432. required: true
  29433. type: integer
  29434. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  29435. 8:释放冻结失败 9:超时待处理 10:超时关闭
  29436. in: query
  29437. name: status
  29438. type: string
  29439. - description: 开始交易日(yyyymmdd)
  29440. in: query
  29441. name: begindate
  29442. type: string
  29443. - description: 结束交易日(yyyymmdd)
  29444. in: query
  29445. name: enddate
  29446. type: string
  29447. produces:
  29448. - application/json
  29449. responses:
  29450. "200":
  29451. description: OK
  29452. schema:
  29453. items:
  29454. $ref: '#/definitions/models.WrPerformancePlan'
  29455. type: array
  29456. "500":
  29457. description: Internal Server Error
  29458. schema:
  29459. $ref: '#/definitions/app.Response'
  29460. security:
  29461. - ApiKeyAuth: []
  29462. summary: 查询履约信息
  29463. tags:
  29464. - 仓单贸易v2
  29465. /WrTrade2/QueryPermancePlanTmp:
  29466. get:
  29467. description: |-
  29468. 返回指定用户的模板和公共模板(用户id为空)
  29469. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  29470. parameters:
  29471. - description: 用户id
  29472. in: query
  29473. name: userid
  29474. type: integer
  29475. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  29476. (无仓单) 5:挂牌期权 6:竞拍-降价式
  29477. in: query
  29478. name: tmptype
  29479. type: string
  29480. - description: 是否包含公共模板(用户id为空的) 1-包含
  29481. in: query
  29482. name: includepub
  29483. type: integer
  29484. - description: 市场id(天津麦顿指定此参数,其它不用)
  29485. in: query
  29486. name: marketid
  29487. type: integer
  29488. produces:
  29489. - application/json
  29490. responses:
  29491. "200":
  29492. description: OK
  29493. schema:
  29494. items:
  29495. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  29496. type: array
  29497. "500":
  29498. description: Internal Server Error
  29499. schema:
  29500. $ref: '#/definitions/app.Response'
  29501. security:
  29502. - ApiKeyAuth: []
  29503. summary: 查询履约模板
  29504. tags:
  29505. - 仓单贸易v2
  29506. /WrTrade2/QuerySiteColumnDetail:
  29507. get:
  29508. parameters:
  29509. - description: 页码
  29510. in: query
  29511. name: page
  29512. type: integer
  29513. - description: 每页条数
  29514. in: query
  29515. name: pagesize
  29516. type: integer
  29517. - description: 所属栏目id
  29518. in: query
  29519. name: columnid
  29520. type: integer
  29521. produces:
  29522. - application/json
  29523. responses:
  29524. "200":
  29525. description: OK
  29526. schema:
  29527. items:
  29528. $ref: '#/definitions/models.WrSiteColumnDetail'
  29529. type: array
  29530. "500":
  29531. description: Internal Server Error
  29532. schema:
  29533. $ref: '#/definitions/app.Response'
  29534. security:
  29535. - ApiKeyAuth: []
  29536. summary: 查询资讯
  29537. tags:
  29538. - 仓单贸易v2
  29539. /WrTrade2/QuerySpotGroupTradeSum:
  29540. get:
  29541. produces:
  29542. - application/json
  29543. responses:
  29544. "200":
  29545. description: OK
  29546. schema:
  29547. items:
  29548. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  29549. type: array
  29550. "500":
  29551. description: Internal Server Error
  29552. schema:
  29553. $ref: '#/definitions/app.Response'
  29554. security:
  29555. - ApiKeyAuth: []
  29556. summary: 查询指数
  29557. tags:
  29558. - 仓单贸易v2
  29559. /WrTrade2/QuerySpotGroupTradeSumDetail:
  29560. get:
  29561. description: 查询的结果将会按日期 从小到大 排序
  29562. parameters:
  29563. - description: 现货商品id
  29564. in: query
  29565. name: deliverygoodsid
  29566. required: true
  29567. type: integer
  29568. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  29569. in: query
  29570. name: lastnum
  29571. type: integer
  29572. produces:
  29573. - application/json
  29574. responses:
  29575. "200":
  29576. description: OK
  29577. schema:
  29578. items:
  29579. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  29580. type: array
  29581. "500":
  29582. description: Internal Server Error
  29583. schema:
  29584. $ref: '#/definitions/app.Response'
  29585. security:
  29586. - ApiKeyAuth: []
  29587. summary: 查询指数详细(价格走势图)
  29588. tags:
  29589. - 仓单贸易v2
  29590. /WrTrade2/QueryWrAverageTradePrice:
  29591. get:
  29592. parameters:
  29593. - description: 页码
  29594. in: query
  29595. name: page
  29596. type: integer
  29597. - description: 每页条数
  29598. in: query
  29599. name: pagesize
  29600. type: integer
  29601. - description: 0:仓单预售 1:仓单贸易
  29602. in: query
  29603. name: haswr
  29604. required: true
  29605. type: integer
  29606. - description: 仓单要素id
  29607. in: query
  29608. name: wrfactortypeid
  29609. required: true
  29610. type: integer
  29611. produces:
  29612. - application/json
  29613. responses:
  29614. "200":
  29615. description: OK
  29616. schema:
  29617. items:
  29618. $ref: '#/definitions/models.WrAverageTradePrice'
  29619. type: array
  29620. "500":
  29621. description: Internal Server Error
  29622. schema:
  29623. $ref: '#/definitions/app.Response'
  29624. security:
  29625. - ApiKeyAuth: []
  29626. summary: 查询成交价(历史走势)
  29627. tags:
  29628. - 仓单贸易v2
  29629. /WrTrade2/QueryWrBrandAndYears:
  29630. get:
  29631. produces:
  29632. - application/json
  29633. responses:
  29634. "200":
  29635. description: OK
  29636. schema:
  29637. items:
  29638. $ref: '#/definitions/models.WrBrandAndYears'
  29639. type: array
  29640. "500":
  29641. description: Internal Server Error
  29642. schema:
  29643. $ref: '#/definitions/app.Response'
  29644. security:
  29645. - ApiKeyAuth: []
  29646. summary: 查询品牌和年份
  29647. tags:
  29648. - 仓单贸易v2
  29649. /WrTrade2/QueryWrBsGoodsInfo:
  29650. get:
  29651. description: 合约交易/买卖大厅/详情
  29652. parameters:
  29653. - description: 商品id
  29654. in: query
  29655. name: goodsid
  29656. required: true
  29657. type: integer
  29658. produces:
  29659. - application/json
  29660. responses:
  29661. "200":
  29662. description: OK
  29663. schema:
  29664. items:
  29665. $ref: '#/definitions/models.WrBsGoodsInfo'
  29666. type: array
  29667. "500":
  29668. description: Internal Server Error
  29669. schema:
  29670. $ref: '#/definitions/app.Response'
  29671. security:
  29672. - ApiKeyAuth: []
  29673. summary: 查询合约交易买卖大厅详情
  29674. tags:
  29675. - 仓单贸易v2
  29676. /WrTrade2/QueryWrBuybackDetail:
  29677. get:
  29678. parameters:
  29679. - description: 融资合同id
  29680. in: query
  29681. name: scfcontractid
  29682. type: integer
  29683. produces:
  29684. - application/json
  29685. responses:
  29686. "200":
  29687. description: OK
  29688. schema:
  29689. items:
  29690. $ref: '#/definitions/models.WrBuybackDetail'
  29691. type: array
  29692. "500":
  29693. description: Internal Server Error
  29694. schema:
  29695. $ref: '#/definitions/app.Response'
  29696. security:
  29697. - ApiKeyAuth: []
  29698. summary: 查询仓单回购明细
  29699. tags:
  29700. - 仓单贸易v2
  29701. /WrTrade2/QueryWrClientAdSpaceConfig:
  29702. get:
  29703. produces:
  29704. - application/json
  29705. responses:
  29706. "200":
  29707. description: OK
  29708. schema:
  29709. items:
  29710. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  29711. type: array
  29712. "500":
  29713. description: Internal Server Error
  29714. schema:
  29715. $ref: '#/definitions/app.Response'
  29716. security:
  29717. - ApiKeyAuth: []
  29718. summary: 查询固定广告配置
  29719. tags:
  29720. - 仓单贸易v2
  29721. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  29722. get:
  29723. parameters:
  29724. - description: 资金账号
  29725. in: query
  29726. name: accountid
  29727. required: true
  29728. type: integer
  29729. - description: 商品id
  29730. in: query
  29731. name: goodsid
  29732. required: true
  29733. type: integer
  29734. produces:
  29735. - application/json
  29736. responses:
  29737. "200":
  29738. description: OK
  29739. schema:
  29740. items:
  29741. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  29742. type: array
  29743. "500":
  29744. description: Internal Server Error
  29745. schema:
  29746. $ref: '#/definitions/app.Response'
  29747. security:
  29748. - ApiKeyAuth: []
  29749. summary: 查询合约交收可点选仓单
  29750. tags:
  29751. - 仓单贸易v2
  29752. /WrTrade2/QueryWrDeliveryDetail:
  29753. get:
  29754. parameters:
  29755. - description: 用户id
  29756. in: query
  29757. name: userid
  29758. required: true
  29759. type: integer
  29760. - description: 资金账号id
  29761. in: query
  29762. name: accountid
  29763. type: integer
  29764. - description: 开始交易日(yyyymmdd)
  29765. in: query
  29766. name: begindate
  29767. type: string
  29768. - description: 结束交易日(yyyymmdd)
  29769. in: query
  29770. name: enddate
  29771. type: string
  29772. produces:
  29773. - application/json
  29774. responses:
  29775. "200":
  29776. description: OK
  29777. schema:
  29778. items:
  29779. $ref: '#/definitions/models.WrDeliveryDetail'
  29780. type: array
  29781. "500":
  29782. description: Internal Server Error
  29783. schema:
  29784. $ref: '#/definitions/app.Response'
  29785. security:
  29786. - ApiKeyAuth: []
  29787. summary: 查询交收
  29788. tags:
  29789. - 仓单贸易v2
  29790. /WrTrade2/QueryWrDraftUserInfo:
  29791. get:
  29792. parameters:
  29793. - description: 用户ID
  29794. in: query
  29795. name: userid
  29796. required: true
  29797. type: integer
  29798. - description: 用户状态 1:正常 2:注销
  29799. in: query
  29800. name: userstatus
  29801. type: integer
  29802. produces:
  29803. - application/json
  29804. responses:
  29805. "200":
  29806. description: OK
  29807. schema:
  29808. items:
  29809. $ref: '#/definitions/models.WrDraftUserInfo'
  29810. type: array
  29811. "500":
  29812. description: Internal Server Error
  29813. schema:
  29814. $ref: '#/definitions/app.Response'
  29815. security:
  29816. - ApiKeyAuth: []
  29817. summary: 查询实名认证信息
  29818. tags:
  29819. - 仓单贸易v2
  29820. /WrTrade2/QueryWrFactorTypeInfo:
  29821. get:
  29822. parameters:
  29823. - description: 仓单要素id
  29824. in: query
  29825. name: wrfactortypeid
  29826. required: true
  29827. type: integer
  29828. produces:
  29829. - application/json
  29830. responses:
  29831. "200":
  29832. description: OK
  29833. schema:
  29834. items:
  29835. $ref: '#/definitions/models.WrFactorTypeInfo'
  29836. type: array
  29837. "500":
  29838. description: Internal Server Error
  29839. schema:
  29840. $ref: '#/definitions/app.Response'
  29841. security:
  29842. - ApiKeyAuth: []
  29843. summary: 查询仓单要素详细信息
  29844. tags:
  29845. - 仓单贸易v2
  29846. /WrTrade2/QueryWrFactorTypeInfoEx:
  29847. get:
  29848. parameters:
  29849. - description: 仓单要素id
  29850. in: query
  29851. name: wrfactortypeid
  29852. required: true
  29853. type: integer
  29854. produces:
  29855. - application/json
  29856. responses:
  29857. "200":
  29858. description: OK
  29859. schema:
  29860. items:
  29861. $ref: '#/definitions/models.WrTypeItem'
  29862. type: array
  29863. "500":
  29864. description: Internal Server Error
  29865. schema:
  29866. $ref: '#/definitions/app.Response'
  29867. security:
  29868. - ApiKeyAuth: []
  29869. summary: 查询仓单要素详细信息列表项
  29870. tags:
  29871. - 仓单贸易v2
  29872. /WrTrade2/QueryWrFinanceBuyApply:
  29873. get:
  29874. description: 页面 融资信息+ / 申请单
  29875. parameters:
  29876. - description: 用户id
  29877. in: query
  29878. name: userid
  29879. required: true
  29880. type: integer
  29881. produces:
  29882. - application/json
  29883. responses:
  29884. "200":
  29885. description: OK
  29886. schema:
  29887. items:
  29888. $ref: '#/definitions/models.WrFinanceBuyApply'
  29889. type: array
  29890. "500":
  29891. description: Internal Server Error
  29892. schema:
  29893. $ref: '#/definitions/app.Response'
  29894. security:
  29895. - ApiKeyAuth: []
  29896. summary: 查询融资购买申请
  29897. tags:
  29898. - 仓单贸易v2
  29899. /WrTrade2/QueryWrFriendApply:
  29900. get:
  29901. parameters:
  29902. - description: 用户id
  29903. in: query
  29904. name: userid
  29905. required: true
  29906. type: integer
  29907. produces:
  29908. - application/json
  29909. responses:
  29910. "200":
  29911. description: OK
  29912. schema:
  29913. items:
  29914. $ref: '#/definitions/models.WrFriendApply'
  29915. type: array
  29916. "500":
  29917. description: Internal Server Error
  29918. schema:
  29919. $ref: '#/definitions/app.Response'
  29920. security:
  29921. - ApiKeyAuth: []
  29922. summary: 查询好友申请记录
  29923. tags:
  29924. - 仓单贸易v2
  29925. /WrTrade2/QueryWrGoodsInfo:
  29926. get:
  29927. parameters:
  29928. - description: 仓单贸易市场id
  29929. in: query
  29930. name: marketid
  29931. type: integer
  29932. - description: 0:仓单预售 1:仓单贸易
  29933. in: query
  29934. name: haswr
  29935. required: true
  29936. type: integer
  29937. - description: 仓单要素id
  29938. in: query
  29939. name: wrfactortypeid
  29940. required: true
  29941. type: integer
  29942. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  29943. in: query
  29944. name: tmplateid
  29945. type: integer
  29946. produces:
  29947. - application/json
  29948. responses:
  29949. "200":
  29950. description: OK
  29951. schema:
  29952. items:
  29953. $ref: '#/definitions/models.WrGoodsInfo'
  29954. type: array
  29955. "500":
  29956. description: Internal Server Error
  29957. schema:
  29958. $ref: '#/definitions/app.Response'
  29959. security:
  29960. - ApiKeyAuth: []
  29961. summary: 查询仓单商品信息
  29962. tags:
  29963. - 仓单贸易v2
  29964. /WrTrade2/QueryWrMarketTradeConfig:
  29965. get:
  29966. parameters:
  29967. - description: 市场id
  29968. in: query
  29969. name: marketid
  29970. type: integer
  29971. produces:
  29972. - application/json
  29973. responses:
  29974. "200":
  29975. description: OK
  29976. schema:
  29977. items:
  29978. $ref: '#/definitions/models.WrMarketTradeConfig'
  29979. type: array
  29980. "500":
  29981. description: Internal Server Error
  29982. schema:
  29983. $ref: '#/definitions/app.Response'
  29984. security:
  29985. - ApiKeyAuth: []
  29986. summary: 查询市场交易参数配置
  29987. tags:
  29988. - 仓单贸易v2
  29989. /WrTrade2/QueryWrOrderDetail:
  29990. get:
  29991. description: 页面 现货仓单 | 预售仓单 -> 委托单
  29992. parameters:
  29993. - description: 页码
  29994. in: query
  29995. name: page
  29996. type: integer
  29997. - description: 每页条数
  29998. in: query
  29999. name: pagesize
  30000. type: integer
  30001. - description: 用户id
  30002. in: query
  30003. name: userid
  30004. required: true
  30005. type: integer
  30006. - description: 仓单贸易市场id
  30007. in: query
  30008. name: marketid
  30009. type: integer
  30010. - description: 0:仓单预售 1:仓单贸易
  30011. in: query
  30012. name: haswr
  30013. required: true
  30014. type: integer
  30015. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  30016. in: query
  30017. name: bcancel
  30018. type: integer
  30019. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  30020. in: query
  30021. name: wrtradetype
  30022. type: integer
  30023. - description: 开始交易日(yyyymmdd)
  30024. in: query
  30025. name: begindate
  30026. type: string
  30027. - description: 结束交易日(yyyymmdd)
  30028. in: query
  30029. name: enddate
  30030. type: string
  30031. produces:
  30032. - application/json
  30033. responses:
  30034. "200":
  30035. description: OK
  30036. schema:
  30037. items:
  30038. $ref: '#/definitions/models.WrOrderDetail'
  30039. type: array
  30040. "500":
  30041. description: Internal Server Error
  30042. schema:
  30043. $ref: '#/definitions/app.Response'
  30044. security:
  30045. - ApiKeyAuth: []
  30046. summary: 查询仓单委托单
  30047. tags:
  30048. - 仓单贸易v2
  30049. /WrTrade2/QueryWrOutInApply:
  30050. get:
  30051. parameters:
  30052. - description: 用户id
  30053. in: query
  30054. name: userid
  30055. required: true
  30056. type: integer
  30057. - description: 开始交易日(yyyymmdd)
  30058. in: query
  30059. name: begindate
  30060. type: string
  30061. - description: 结束交易日(yyyymmdd)
  30062. in: query
  30063. name: enddate
  30064. type: string
  30065. produces:
  30066. - application/json
  30067. responses:
  30068. "200":
  30069. description: OK
  30070. schema:
  30071. items:
  30072. $ref: '#/definitions/models.WrOutInApply'
  30073. type: array
  30074. "500":
  30075. description: Internal Server Error
  30076. schema:
  30077. $ref: '#/definitions/app.Response'
  30078. security:
  30079. - ApiKeyAuth: []
  30080. summary: 查询提货申请
  30081. tags:
  30082. - 仓单贸易v2
  30083. /WrTrade2/QueryWrPerformancePlanStep:
  30084. get:
  30085. parameters:
  30086. - description: 履约计划id(performanceplanid)
  30087. in: query
  30088. name: planid
  30089. required: true
  30090. type: integer
  30091. - description: 当前步骤id
  30092. in: query
  30093. name: curstepid
  30094. type: integer
  30095. produces:
  30096. - application/json
  30097. responses:
  30098. "200":
  30099. description: OK
  30100. schema:
  30101. items:
  30102. $ref: '#/definitions/models.WrPerformancePlanStep'
  30103. type: array
  30104. "500":
  30105. description: Internal Server Error
  30106. schema:
  30107. $ref: '#/definitions/app.Response'
  30108. security:
  30109. - ApiKeyAuth: []
  30110. summary: 查询履约信息详情
  30111. tags:
  30112. - 仓单贸易v2
  30113. /WrTrade2/QueryWrPerformanceStepType:
  30114. get:
  30115. produces:
  30116. - application/json
  30117. responses:
  30118. "200":
  30119. description: OK
  30120. schema:
  30121. items:
  30122. $ref: '#/definitions/models.WrPerformanceStepType'
  30123. type: array
  30124. "500":
  30125. description: Internal Server Error
  30126. schema:
  30127. $ref: '#/definitions/app.Response'
  30128. security:
  30129. - ApiKeyAuth: []
  30130. summary: 查询履约步骤枚举
  30131. tags:
  30132. - 仓单贸易v2
  30133. /WrTrade2/QueryWrPosition:
  30134. get:
  30135. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  30136. parameters:
  30137. - description: 用户id
  30138. in: query
  30139. name: userid
  30140. required: true
  30141. type: integer
  30142. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  30143. in: query
  30144. name: querytype
  30145. required: true
  30146. type: integer
  30147. - description: 0:仓单预售 1:仓单贸易
  30148. in: query
  30149. name: haswr
  30150. required: true
  30151. type: integer
  30152. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30153. in: query
  30154. name: dgitemname
  30155. type: string
  30156. - description: 仓库id(筛选条件)
  30157. in: query
  30158. name: warehouseid
  30159. type: integer
  30160. - description: 品种id
  30161. in: query
  30162. name: deliverygoodsid
  30163. type: integer
  30164. - description: 品类id
  30165. in: query
  30166. name: wrstandardid
  30167. type: integer
  30168. produces:
  30169. - application/json
  30170. responses:
  30171. "200":
  30172. description: OK
  30173. schema:
  30174. items:
  30175. $ref: '#/definitions/models.WrPosition'
  30176. type: array
  30177. "500":
  30178. description: Internal Server Error
  30179. schema:
  30180. $ref: '#/definitions/app.Response'
  30181. security:
  30182. - ApiKeyAuth: []
  30183. summary: 查询现货(预售)仓单持仓
  30184. tags:
  30185. - 仓单贸易v2
  30186. /WrTrade2/QueryWrPreSaleInfo:
  30187. get:
  30188. parameters:
  30189. - description: 市场id
  30190. in: query
  30191. name: marketid
  30192. type: integer
  30193. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  30194. in: query
  30195. name: presalestatus
  30196. type: string
  30197. - description: 摇号标识 - 0:未摇号 1:已摇号
  30198. in: query
  30199. name: lotteryflag
  30200. type: integer
  30201. - description: 最近多少条记录(按创建时间倒序)
  30202. in: query
  30203. name: lastnum
  30204. type: integer
  30205. produces:
  30206. - application/json
  30207. responses:
  30208. "200":
  30209. description: OK
  30210. schema:
  30211. items:
  30212. $ref: '#/definitions/models.WrPreSaleInfo'
  30213. type: array
  30214. "500":
  30215. description: Internal Server Error
  30216. schema:
  30217. $ref: '#/definitions/app.Response'
  30218. security:
  30219. - ApiKeyAuth: []
  30220. summary: 查询新品发布
  30221. tags:
  30222. - 仓单贸易v2
  30223. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  30224. get:
  30225. parameters:
  30226. - description: 市场id
  30227. in: query
  30228. name: marketid
  30229. required: true
  30230. type: integer
  30231. - description: 现货商品id
  30232. in: query
  30233. name: wrstandardid
  30234. required: true
  30235. type: integer
  30236. - description: 开始交易日(yyyymmdd)
  30237. in: query
  30238. name: begindate
  30239. type: string
  30240. - description: 结束交易日(yyyymmdd)
  30241. in: query
  30242. name: enddate
  30243. type: string
  30244. - description: 最近多少条记录(按交易日倒序)
  30245. in: query
  30246. name: lastnum
  30247. type: integer
  30248. - description: 是否今日
  30249. in: query
  30250. name: istoday
  30251. type: boolean
  30252. produces:
  30253. - application/json
  30254. responses:
  30255. "200":
  30256. description: OK
  30257. schema:
  30258. items:
  30259. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  30260. type: array
  30261. "500":
  30262. description: Internal Server Error
  30263. schema:
  30264. $ref: '#/definitions/app.Response'
  30265. security:
  30266. - ApiKeyAuth: []
  30267. summary: 查询价格走势
  30268. tags:
  30269. - 仓单贸易v2
  30270. /WrTrade2/QueryWrScfContract:
  30271. get:
  30272. parameters:
  30273. - description: 用户id
  30274. in: query
  30275. name: userid
  30276. required: true
  30277. type: integer
  30278. - description: 融资合同id
  30279. in: query
  30280. name: scfcontractid
  30281. type: integer
  30282. produces:
  30283. - application/json
  30284. responses:
  30285. "200":
  30286. description: OK
  30287. schema:
  30288. items:
  30289. $ref: '#/definitions/models.WrScfContract'
  30290. type: array
  30291. "500":
  30292. description: Internal Server Error
  30293. schema:
  30294. $ref: '#/definitions/app.Response'
  30295. security:
  30296. - ApiKeyAuth: []
  30297. summary: 查询仓单贸易融资合同
  30298. tags:
  30299. - 仓单贸易v2
  30300. /WrTrade2/QueryWrScfContractInterest:
  30301. get:
  30302. parameters:
  30303. - description: 融资合同id
  30304. in: query
  30305. name: scfcontractid
  30306. type: integer
  30307. produces:
  30308. - application/json
  30309. responses:
  30310. "200":
  30311. description: OK
  30312. schema:
  30313. items:
  30314. $ref: '#/definitions/models.WrScfContractInterest'
  30315. type: array
  30316. "500":
  30317. description: Internal Server Error
  30318. schema:
  30319. $ref: '#/definitions/app.Response'
  30320. security:
  30321. - ApiKeyAuth: []
  30322. summary: 查询融资合同费用明细
  30323. tags:
  30324. - 仓单贸易v2
  30325. /WrTrade2/QueryWrSearchUser:
  30326. get:
  30327. parameters:
  30328. - description: 用户名称(模糊匹配)
  30329. in: query
  30330. name: username
  30331. required: true
  30332. type: string
  30333. produces:
  30334. - application/json
  30335. responses:
  30336. "200":
  30337. description: OK
  30338. schema:
  30339. items:
  30340. $ref: '#/definitions/models.WrSearchUser'
  30341. type: array
  30342. "500":
  30343. description: Internal Server Error
  30344. schema:
  30345. $ref: '#/definitions/app.Response'
  30346. security:
  30347. - ApiKeyAuth: []
  30348. summary: 查询用户
  30349. tags:
  30350. - 仓单贸易v2
  30351. /WrTrade2/QueryWrSpecialMatchOrder:
  30352. get:
  30353. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  30354. parameters:
  30355. - description: 页码
  30356. in: query
  30357. name: page
  30358. type: integer
  30359. - description: 每页条数
  30360. in: query
  30361. name: pagesize
  30362. type: integer
  30363. - description: 用户id
  30364. in: query
  30365. name: userid
  30366. required: true
  30367. type: integer
  30368. - description: 仓单贸易市场id
  30369. in: query
  30370. name: marketid
  30371. type: integer
  30372. - description: 0:仓单预售 1:仓单贸易
  30373. in: query
  30374. name: haswr
  30375. required: true
  30376. type: integer
  30377. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  30378. in: query
  30379. name: isspecified
  30380. type: integer
  30381. produces:
  30382. - application/json
  30383. responses:
  30384. "200":
  30385. description: OK
  30386. schema:
  30387. items:
  30388. $ref: '#/definitions/models.WrSpecialMatchOrder'
  30389. type: array
  30390. "500":
  30391. description: Internal Server Error
  30392. schema:
  30393. $ref: '#/definitions/app.Response'
  30394. security:
  30395. - ApiKeyAuth: []
  30396. summary: 查询指定成交
  30397. tags:
  30398. - 仓单贸易v2
  30399. /WrTrade2/QueryWrStandardFactoryItem:
  30400. get:
  30401. parameters:
  30402. - description: 品类id
  30403. in: query
  30404. name: wrstandardid
  30405. required: true
  30406. type: integer
  30407. produces:
  30408. - application/json
  30409. responses:
  30410. "200":
  30411. description: OK
  30412. schema:
  30413. items:
  30414. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  30415. type: array
  30416. "500":
  30417. description: Internal Server Error
  30418. schema:
  30419. $ref: '#/definitions/app.Response'
  30420. security:
  30421. - ApiKeyAuth: []
  30422. summary: 查询品类要素定义项
  30423. tags:
  30424. - 仓单贸易v2
  30425. /WrTrade2/QueryWrTradeBargainApply:
  30426. get:
  30427. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  30428. 议价->对方议价 填写matchuserid=登录用户id
  30429. parameters:
  30430. - description: 议价人id(摘牌方)
  30431. in: query
  30432. name: userid
  30433. type: integer
  30434. - description: 挂牌方id(查对方议价时,填写此项)
  30435. in: query
  30436. name: matchuserid
  30437. type: integer
  30438. - description: 关联委托单id
  30439. in: query
  30440. name: wrtradeorderid
  30441. type: integer
  30442. - description: 0:仓单预售 1:仓单贸易
  30443. in: query
  30444. name: haswr
  30445. required: true
  30446. type: integer
  30447. - description: 开始交易日(yyyymmdd)
  30448. in: query
  30449. name: begindate
  30450. type: string
  30451. - description: 结束交易日(yyyymmdd)
  30452. in: query
  30453. name: enddate
  30454. type: string
  30455. produces:
  30456. - application/json
  30457. responses:
  30458. "200":
  30459. description: OK
  30460. schema:
  30461. items:
  30462. $ref: '#/definitions/models.WRTradeBargainApply'
  30463. type: array
  30464. "500":
  30465. description: Internal Server Error
  30466. schema:
  30467. $ref: '#/definitions/app.Response'
  30468. security:
  30469. - ApiKeyAuth: []
  30470. summary: 查询议价单
  30471. tags:
  30472. - 仓单贸易v2
  30473. /WrTrade2/QueryWrTradeDetail:
  30474. get:
  30475. parameters:
  30476. - description: 页码
  30477. in: query
  30478. name: page
  30479. type: integer
  30480. - description: 每页条数
  30481. in: query
  30482. name: pagesize
  30483. type: integer
  30484. - description: 用户id
  30485. in: query
  30486. name: userid
  30487. required: true
  30488. type: integer
  30489. - description: 仓单贸易市场id
  30490. in: query
  30491. name: marketid
  30492. type: integer
  30493. - description: 0:仓单预售 1:仓单贸易
  30494. in: query
  30495. name: haswr
  30496. required: true
  30497. type: integer
  30498. - description: 开始交易日(yyyymmdd)
  30499. in: query
  30500. name: begindate
  30501. type: string
  30502. - description: 结束交易日(yyyymmdd)
  30503. in: query
  30504. name: enddate
  30505. type: string
  30506. produces:
  30507. - application/json
  30508. responses:
  30509. "200":
  30510. description: OK
  30511. schema:
  30512. items:
  30513. $ref: '#/definitions/models.WrTradeDetail'
  30514. type: array
  30515. "500":
  30516. description: Internal Server Error
  30517. schema:
  30518. $ref: '#/definitions/app.Response'
  30519. security:
  30520. - ApiKeyAuth: []
  30521. summary: 查询仓单成交明细
  30522. tags:
  30523. - 仓单贸易v2
  30524. /WrTrade2/QueryWrTradeOrderDetail:
  30525. get:
  30526. parameters:
  30527. - description: 页码
  30528. in: query
  30529. name: page
  30530. type: integer
  30531. - description: 每页条数
  30532. in: query
  30533. name: pagesize
  30534. type: integer
  30535. - description: 商品id
  30536. in: query
  30537. name: goodsid
  30538. required: true
  30539. type: integer
  30540. - description: 买卖方向 0-买 1-卖
  30541. in: query
  30542. name: buyorsell
  30543. required: true
  30544. type: integer
  30545. produces:
  30546. - application/json
  30547. responses:
  30548. "200":
  30549. description: OK
  30550. schema:
  30551. items:
  30552. $ref: '#/definitions/models.WrTradeOrderDetail'
  30553. type: array
  30554. "500":
  30555. description: Internal Server Error
  30556. schema:
  30557. $ref: '#/definitions/app.Response'
  30558. security:
  30559. - ApiKeyAuth: []
  30560. summary: 查询合约交易买卖大厅
  30561. tags:
  30562. - 仓单贸易v2
  30563. /WrTrade2/QueryWrUserFriend:
  30564. get:
  30565. parameters:
  30566. - description: 用户id
  30567. in: query
  30568. name: userid
  30569. required: true
  30570. type: integer
  30571. - description: 新朋友userid, 如果填写了此项则查找新朋友
  30572. in: query
  30573. name: newuserid
  30574. type: integer
  30575. produces:
  30576. - application/json
  30577. responses:
  30578. "200":
  30579. description: OK
  30580. schema:
  30581. items:
  30582. $ref: '#/definitions/models.WrUserFriend'
  30583. type: array
  30584. "500":
  30585. description: Internal Server Error
  30586. schema:
  30587. $ref: '#/definitions/app.Response'
  30588. security:
  30589. - ApiKeyAuth: []
  30590. summary: 查询我的朋友
  30591. tags:
  30592. - 仓单贸易v2
  30593. /WrTrade2/QueryWrUserReceiptInfo:
  30594. get:
  30595. parameters:
  30596. - description: 用户id
  30597. in: query
  30598. name: userid
  30599. type: integer
  30600. - description: 发票类型 - 1:个人 2:企业
  30601. in: query
  30602. name: receipttype
  30603. type: integer
  30604. produces:
  30605. - application/json
  30606. responses:
  30607. "200":
  30608. description: OK
  30609. schema:
  30610. items:
  30611. $ref: '#/definitions/models.WrUserReceiptInfo'
  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/QueryXhcpSellBackApply:
  30623. get:
  30624. parameters:
  30625. - description: 用户ID
  30626. in: query
  30627. name: userid
  30628. required: true
  30629. type: integer
  30630. produces:
  30631. - application/json
  30632. responses:
  30633. "200":
  30634. description: OK
  30635. schema:
  30636. items:
  30637. $ref: '#/definitions/models.Xhcpsellbackapply'
  30638. type: array
  30639. "500":
  30640. description: Internal Server Error
  30641. schema:
  30642. $ref: '#/definitions/app.Response'
  30643. security:
  30644. - ApiKeyAuth: []
  30645. summary: 查询我的回收申请(新会陈皮)
  30646. tags:
  30647. - 仓单贸易v2
  30648. /ZJ/GetBankTip:
  30649. get:
  30650. produces:
  30651. - application/json
  30652. responses:
  30653. "200":
  30654. description: OK
  30655. schema:
  30656. type: string
  30657. "500":
  30658. description: Internal Server Error
  30659. schema:
  30660. $ref: '#/definitions/app.Response'
  30661. summary: 获取中江网银端出入金提示信息
  30662. tags:
  30663. - 中江
  30664. /ZJ/GetCusBankChannels:
  30665. get:
  30666. produces:
  30667. - application/json
  30668. responses:
  30669. "200":
  30670. description: OK
  30671. schema:
  30672. items:
  30673. type: string
  30674. type: array
  30675. "500":
  30676. description: Internal Server Error
  30677. schema:
  30678. $ref: '#/definitions/app.Response'
  30679. summary: 获取中江出入金渠道显示列表
  30680. tags:
  30681. - 中江
  30682. securityDefinitions:
  30683. ApiKeyAuth:
  30684. in: header
  30685. name: Authorization
  30686. type: apiKey
  30687. swagger: "2.0"