swagger.yaml 884 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagedetailpath:
  126. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  127. type: string
  128. imagepath:
  129. description: 图片
  130. type: string
  131. imagetype:
  132. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  133. type: integer
  134. isshow:
  135. description: 是否展示 - 0:不展示 1:展示
  136. type: integer
  137. marketid:
  138. description: 市场ID
  139. type: integer
  140. modifierid:
  141. description: 操作人
  142. type: integer
  143. sort:
  144. description: 排序
  145. type: integer
  146. title:
  147. description: 标题
  148. type: string
  149. trademode:
  150. description: 交易模式
  151. type: integer
  152. updatedate:
  153. description: 修改时间
  154. type: string
  155. url:
  156. description: 链接(地址或商品ID)
  157. type: string
  158. urltype:
  159. description: 链接类型 - 1:直接地址 2:商品ID
  160. type: integer
  161. required:
  162. - configid
  163. type: object
  164. common.QueryNoticeRsp:
  165. properties:
  166. auditoruserid:
  167. description: 审核人
  168. type: integer
  169. auditremark:
  170. description: 审核备注
  171. type: string
  172. audittime:
  173. description: 审核日期
  174. type: string
  175. autoid:
  176. description: 自增ID
  177. type: integer
  178. content:
  179. description: 内容
  180. type: string
  181. createtime:
  182. description: 创建时间
  183. type: string
  184. creatorid:
  185. description: 建仓人
  186. type: integer
  187. endtime:
  188. description: 结束时间
  189. type: string
  190. istop:
  191. description: 是否置顶 - 0:不置顶 1:置顶
  192. type: integer
  193. msgiconurl:
  194. description: 消息图标Url
  195. type: string
  196. msgtype:
  197. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  198. type: integer
  199. publisher:
  200. description: 消息发布者
  201. type: string
  202. readed:
  203. description: 是否已读
  204. type: boolean
  205. scheduletime:
  206. description: 计划发送时间
  207. type: string
  208. sendtype:
  209. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  210. type: integer
  211. sentstatus:
  212. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  213. type: integer
  214. title:
  215. description: 标题
  216. type: string
  217. userid:
  218. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  219. type: integer
  220. required:
  221. - autoid
  222. type: object
  223. common.QueryProvincesAndCitiesRsp:
  224. properties:
  225. cities:
  226. description: 市
  227. items:
  228. $ref: '#/definitions/models.Division'
  229. type: array
  230. province:
  231. $ref: '#/definitions/models.Division'
  232. description: 省
  233. type: object
  234. common.QueryTableDefineRsp:
  235. properties:
  236. columns:
  237. description: 列头信息数组
  238. items:
  239. $ref: '#/definitions/models.Tablecolumnconfig'
  240. type: array
  241. remark:
  242. description: Remark
  243. type: string
  244. tabelmenu:
  245. description: 列表菜单
  246. type: string
  247. tablekey:
  248. description: 列表Key
  249. type: string
  250. tablename:
  251. description: 列表名称
  252. type: string
  253. tabletype:
  254. description: 列表类型 - 1:管理端 2:终端
  255. type: integer
  256. required:
  257. - tablekey
  258. type: object
  259. common.QueryTraderMenuRsp:
  260. properties:
  261. OperationMenu:
  262. description: 功能菜单
  263. items:
  264. $ref: '#/definitions/models.OperationPrimaryMenu'
  265. type: array
  266. QuoteMenu:
  267. description: 报价牌分类菜单
  268. items:
  269. $ref: '#/definitions/models.QuotePrimaryMenu'
  270. type: array
  271. type: object
  272. cptrade.Cptradepositioncancel:
  273. properties:
  274. accountid:
  275. description: 申请人账户ID
  276. type: integer
  277. applystatus:
  278. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  279. type: integer
  280. applytime:
  281. description: 申请时间
  282. type: string
  283. cancelid:
  284. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  285. type: integer
  286. cancelqty:
  287. description: 注销数量
  288. type: integer
  289. createtime:
  290. description: 创建时间
  291. type: string
  292. creatorid:
  293. description: 创建人ID
  294. type: integer
  295. creatorname:
  296. description: 创建人
  297. type: string
  298. goodscode:
  299. description: 订单商品代码
  300. type: string
  301. goodsid:
  302. description: 商品ID
  303. type: integer
  304. goodsname:
  305. description: 订单商品名称
  306. type: string
  307. goodunit:
  308. description: 报价单位
  309. type: string
  310. handlestatus:
  311. description: 处理状态
  312. type: integer
  313. marketid:
  314. description: 市场ID
  315. type: integer
  316. marketname:
  317. description: 市场名称
  318. type: string
  319. tradedate:
  320. description: 交易日(yyyyMMdd)
  321. type: string
  322. userid:
  323. description: 申请人ID
  324. type: integer
  325. required:
  326. - cancelid
  327. type: object
  328. cptrade.Cptradepresaleapply:
  329. properties:
  330. accountid:
  331. description: 申请人账户ID
  332. type: integer
  333. applyid:
  334. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  335. type: integer
  336. applyremark:
  337. description: 申请备注
  338. type: string
  339. applystatus:
  340. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  341. type: integer
  342. applytime:
  343. description: 申请时间
  344. type: string
  345. attachmenturl:
  346. description: 附件地址
  347. type: string
  348. endtime:
  349. description: 预售结束时间
  350. type: string
  351. goodscode:
  352. description: 商品代码
  353. type: string
  354. goodsid:
  355. description: 商品ID
  356. type: integer
  357. goodsname:
  358. description: 商品名称
  359. type: string
  360. goodunit:
  361. description: 报价单位
  362. type: string
  363. handlestatus:
  364. description: 处理状态
  365. type: integer
  366. marketid:
  367. description: 预售市场ID
  368. type: integer
  369. marketname:
  370. description: 预售市场名称
  371. type: string
  372. presaleqty:
  373. description: 预售数量
  374. type: integer
  375. relatedgoodscode:
  376. description: 关联交易合约代码
  377. type: string
  378. relatedgoodsid:
  379. description: 关联交易合约ID
  380. type: integer
  381. relatedgoodsname:
  382. description: 关联交易合约名称
  383. type: string
  384. starttime:
  385. description: 预售开始时间
  386. type: string
  387. tradedate:
  388. description: 交易日(yyyyMMdd)
  389. type: string
  390. trademode:
  391. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  392. type: integer
  393. userid:
  394. description: 申请人ID
  395. type: integer
  396. required:
  397. - applyid
  398. type: object
  399. cptrade.Cptradeusergoodsdata:
  400. properties:
  401. EnabledQty:
  402. description: 可用量
  403. type: integer
  404. GoodsCode:
  405. description: 订单商品代码
  406. type: string
  407. GoodsName:
  408. description: 订单商品名称
  409. type: string
  410. WRStandardCode:
  411. description: 仓单标准代码
  412. type: string
  413. WRStandardName:
  414. description: 仓单标准名称
  415. type: string
  416. accountid:
  417. description: 账户ID
  418. type: integer
  419. cancelqty:
  420. description: 注销量
  421. type: integer
  422. curpresaleqty:
  423. description: 当前预售量
  424. type: integer
  425. deliveryqty:
  426. description: 交割量
  427. type: integer
  428. freezeamount:
  429. description: 冻结金额
  430. type: number
  431. goodsid:
  432. description: 商品ID
  433. type: integer
  434. goodunit:
  435. description: 报价单位
  436. type: string
  437. hasspotfreeze:
  438. description: 是否有现货冻结 - 0:否 1:有
  439. type: integer
  440. inqty:
  441. description: 转入量(总数量)
  442. type: integer
  443. marketid:
  444. description: 市场ID
  445. type: integer
  446. presaledamount:
  447. description: 已预售总金额
  448. type: integer
  449. presaledqty:
  450. description: 已预售量
  451. type: integer
  452. userid:
  453. description: 用户ID
  454. type: integer
  455. wrstandardid:
  456. description: 仓单标准ID
  457. type: integer
  458. required:
  459. - accountid
  460. - goodsid
  461. type: object
  462. cptrade.QueryCPTradeMyBidRsp:
  463. properties:
  464. accountid:
  465. description: 账户ID[报价币种]
  466. type: integer
  467. goodsid:
  468. description: 商品ID
  469. type: integer
  470. goodunit:
  471. description: 报价单位
  472. type: string
  473. marketid:
  474. description: 市场ID
  475. type: integer
  476. orderid:
  477. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  478. type: integer
  479. orderprice:
  480. description: 委托价格
  481. type: number
  482. orderqty:
  483. description: 委托数量
  484. type: integer
  485. ordertime:
  486. description: 委托时间
  487. type: string
  488. ordertotalprice:
  489. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  490. type: number
  491. ordertotalweight:
  492. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  493. type: integer
  494. totaltotalprice:
  495. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  496. type: number
  497. tradeprice:
  498. description: 成交价格
  499. type: number
  500. tradeqty:
  501. description: 成交数量
  502. type: integer
  503. required:
  504. - accountid
  505. - goodsid
  506. - marketid
  507. - orderid
  508. - orderqty
  509. - ordertime
  510. - tradeprice
  511. - tradeqty
  512. type: object
  513. cptrade.QueryCPTradeOrderDetailRsq:
  514. properties:
  515. accountid:
  516. description: 账户ID[报价币种]
  517. type: integer
  518. buildtype:
  519. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  520. type: integer
  521. buyorsell:
  522. description: 买卖 - 0:买 1:卖
  523. type: integer
  524. cancelorderid:
  525. description: 撤单单号(撤单时填写)
  526. type: integer
  527. cancelqty:
  528. description: 撤单数量
  529. type: integer
  530. clientordertime:
  531. description: 客户端委托时间
  532. type: string
  533. clientticket:
  534. description: 客户端流水号
  535. type: string
  536. clienttype:
  537. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  538. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  539. type: integer
  540. closeexchagechargevalue:
  541. description: 平仓交易所手续费设置值
  542. type: number
  543. closefeealgorithm:
  544. description: 平仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. closefreezecharge:
  547. description: 平仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. closememberchargevalue:
  550. description: 平仓会员手续费设置值
  551. type: number
  552. closeqty:
  553. description: 平仓数量(先建后平操作 需要记录)
  554. type: integer
  555. closetradeqty:
  556. description: 平仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. closeunfreezecharge:
  559. description: 平仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. delistingtype:
  562. description: 摘牌类型 - 1:价格最优 2:点选成交
  563. type: integer
  564. freezecharge:
  565. description: 冻结手续费
  566. type: number
  567. freezemargin:
  568. description: 冻结保证金(冻结交易金额)
  569. type: number
  570. gcaccountid:
  571. description: 账户ID[合约币种]
  572. type: integer
  573. goodsid:
  574. description: 商品ID
  575. type: integer
  576. isconfirmexercise:
  577. description: 是否确认行权- 0:否 1:是
  578. type: integer
  579. ispreexercise:
  580. description: 是否预申报- 0:否 1:是
  581. type: integer
  582. listingselecttype:
  583. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  584. type: integer
  585. marginalgorithm:
  586. description: 保证金收取方式 1:比率 2:固定
  587. type: integer
  588. marginvalue:
  589. description: 即市保证金设置值
  590. type: number
  591. marketid:
  592. description: 市场ID
  593. type: integer
  594. marketmaxsub:
  595. description: 市价最大偏移范围
  596. type: number
  597. memberuserid:
  598. description: 所属会员UserID
  599. type: integer
  600. openexchagechargevalue:
  601. description: 建仓交易所手续费设置值
  602. type: number
  603. openfeealgorithm:
  604. description: 建仓手续费收取方式 1:比率 2:固定
  605. type: integer
  606. openfreezecharge:
  607. description: 开仓冻结手续费(先建后平操作,需要记录)
  608. type: number
  609. openmemberchargevalue:
  610. description: 建仓会员手续费设置值
  611. type: number
  612. openqty:
  613. description: 开仓数量(先建后平操作,需要记录)
  614. type: integer
  615. opentradeqty:
  616. description: 开仓成交数量(先建后平操作,需要记录)
  617. type: integer
  618. openunfreezecharge:
  619. description: 开仓解冻手续费(先建后平操作,需要记录)
  620. type: number
  621. operatetype:
  622. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  623. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  624. 15:管理端协议转让
  625. type: integer
  626. operatorid:
  627. description: 登录账号(LoginID)
  628. type: integer
  629. optiontype:
  630. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  631. type: integer
  632. orderprice:
  633. description: 委托价格
  634. type: number
  635. orderqty:
  636. description: 委托数量
  637. type: integer
  638. ordersrc:
  639. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  640. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  641. type: integer
  642. orderstatus:
  643. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  644. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  645. 16:成交失败违约(荷兰式竞拍专用)
  646. type: integer
  647. ordertime:
  648. description: 委托时间
  649. type: string
  650. preexerciseprice:
  651. description: 预申报价格
  652. type: number
  653. premium:
  654. description: 权利金
  655. type: number
  656. preorderid:
  657. description: 关联预埋单号(止盈止损单时填写)
  658. type: integer
  659. pricemode:
  660. description: '取价方式 - 1:市价 2: 限价'
  661. type: integer
  662. quoteid:
  663. description: 报价单ID
  664. type: integer
  665. relatedid:
  666. description: 关联单号(交割单)
  667. type: integer
  668. retcode:
  669. description: 错误代码
  670. type: integer
  671. sessionid:
  672. description: 会话ID
  673. type: integer
  674. strorderid:
  675. description: 委托单号
  676. type: string
  677. tradedate:
  678. description: 交易日(yyyyMMdd)
  679. type: string
  680. tradeproperty:
  681. description: 交易属性
  682. type: integer
  683. tradeqty:
  684. description: 成交数量
  685. type: integer
  686. unfreezecharge:
  687. description: 解冻手续费
  688. type: number
  689. unfreezemargin:
  690. description: 解冻保证金
  691. type: number
  692. updatetime:
  693. description: 更新时间
  694. type: string
  695. uuid:
  696. description: 发起端唯一id
  697. type: string
  698. validtime:
  699. description: 有效期限
  700. type: string
  701. validtype:
  702. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  703. type: integer
  704. volumetype:
  705. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  706. type: integer
  707. required:
  708. - accountid
  709. - buildtype
  710. - buyorsell
  711. - goodsid
  712. - marketid
  713. - memberuserid
  714. - operatetype
  715. - orderqty
  716. - ordertime
  717. - pricemode
  718. - strorderid
  719. - tradedate
  720. - validtype
  721. type: object
  722. cptrade.QueryMyCPTradeGoodsRsp:
  723. properties:
  724. accountid:
  725. description: 卖方账户ID
  726. type: integer
  727. agreeunit:
  728. description: 合约单位
  729. type: number
  730. applyid:
  731. description: 关联申请ID
  732. type: integer
  733. attachmenturl:
  734. description: 附件地址
  735. type: string
  736. createtime:
  737. description: 创建时间
  738. type: string
  739. currencyid:
  740. description: 报价货币ID
  741. type: integer
  742. decimalplace:
  743. description: 报价小数位
  744. type: integer
  745. endtime:
  746. description: 预售结束时间
  747. type: string
  748. floorprice:
  749. description: 底价[大宗式竞拍]
  750. type: number
  751. goodscode:
  752. description: 商品代码(预售)
  753. type: string
  754. goodsdetail:
  755. description: 详情[大宗]
  756. type: string
  757. goodsid:
  758. description: 商品ID(自增ID SEQ_GOODS)
  759. type: integer
  760. goodsname:
  761. description: 商品名称(预售)
  762. type: string
  763. goodunit:
  764. description: 报价单位
  765. type: string
  766. goodunitid:
  767. description: 报价单位ID
  768. type: integer
  769. marketid:
  770. description: 所属市场ID
  771. type: integer
  772. marketname:
  773. description: 预售市场名称
  774. type: string
  775. presaledamount:
  776. description: 已预售总金额(预售结束时更新)
  777. type: number
  778. presaledqty:
  779. description: 已预售量(预售结束时更新)
  780. type: integer
  781. presalemode:
  782. description: 预售模式 - 1:一口价 2:大宗式竞拍
  783. type: integer
  784. presaleqty:
  785. description: 预售数量
  786. type: integer
  787. refprice:
  788. description: 参考价格[一口价]
  789. type: number
  790. relatedgoodscode:
  791. description: 商品代码(订单)
  792. type: string
  793. relatedgoodsid:
  794. description: 关联交易合约ID
  795. type: integer
  796. relatedgoodsname:
  797. description: 商品名称(订单)
  798. type: string
  799. relatedmarketid:
  800. description: 关联交易合约市场ID
  801. type: integer
  802. sellstatus:
  803. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  804. type: integer
  805. startprice:
  806. description: 起拍价[大宗式竞拍]
  807. type: number
  808. starttime:
  809. description: 预售开始时间
  810. type: string
  811. tradedate:
  812. description: 交易日(yyyyMMdd)
  813. type: string
  814. tradeprice:
  815. description: 成交价[大宗]
  816. type: number
  817. userid:
  818. description: 卖方用户ID
  819. type: integer
  820. required:
  821. - goodscode
  822. - goodsid
  823. - goodsname
  824. - marketid
  825. - relatedgoodscode
  826. - relatedgoodsname
  827. type: object
  828. cptrade.QueryPresaleGoodsExRsp:
  829. properties:
  830. attachmenturl:
  831. description: 附件地址
  832. type: string
  833. createtime:
  834. description: 创建时间
  835. type: string
  836. endtime:
  837. description: 预售结束时间
  838. type: string
  839. floorprice:
  840. description: 底价[大宗式竞拍]
  841. type: number
  842. goodsdetail:
  843. description: 详情[大宗]
  844. type: string
  845. goodsid:
  846. description: 商品ID(预售)
  847. type: integer
  848. goodunit:
  849. description: 报价单位
  850. type: string
  851. marketid:
  852. description: 预售市场ID - 根据预售模式选择市场
  853. type: integer
  854. presaledamount:
  855. description: 已预售总金额(预售结束时更新)
  856. type: number
  857. presaledqty:
  858. description: 已预售量(预售结束时更新)
  859. type: integer
  860. presalemode:
  861. description: 预售模式 - 1:一口价 2:大宗式竞拍
  862. type: integer
  863. presaleqty:
  864. description: 预售数量
  865. type: integer
  866. refprice:
  867. description: 参考价格[一口价]
  868. type: number
  869. relatedgoodsid:
  870. description: 关联交易合约ID
  871. type: integer
  872. relatedmarketid:
  873. description: 关联交易合约市场ID
  874. type: integer
  875. sellstatus:
  876. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  877. type: integer
  878. startprice:
  879. description: 起拍价[大宗式竞拍]
  880. type: number
  881. starttime:
  882. description: 预售开始时间
  883. type: string
  884. tradedate:
  885. description: 交易日(yyyyMMdd)
  886. type: string
  887. tradeprice:
  888. description: 成交价[大宗]
  889. type: number
  890. required:
  891. - goodsid
  892. type: object
  893. delivery.QueryDeliveryRelationRsp:
  894. properties:
  895. begindate:
  896. description: 起始日期(yyyyMMdd)
  897. type: string
  898. buytemplateid:
  899. description: 买履约计划模板ID
  900. type: integer
  901. deliverygoodscode:
  902. description: 品种代码
  903. type: string
  904. deliverygoodsid:
  905. description: 交割商品
  906. type: integer
  907. deliverygoodsname:
  908. description: 品种名称
  909. type: string
  910. deliverymode:
  911. description: 交割方式 - 1:点选式 2:申报式
  912. type: integer
  913. deliverypricerule:
  914. description: 交割价规则- 1:行情价 2:建仓价
  915. type: integer
  916. deliverytype:
  917. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  918. type: integer
  919. enddate:
  920. description: 结束日期(yyyyMMdd)
  921. type: string
  922. enumdicname:
  923. description: 品类单位名称
  924. type: string
  925. goodscode:
  926. description: 商品代码
  927. type: string
  928. goodsid:
  929. description: 交易合约ID
  930. type: integer
  931. goodsname:
  932. description: 商品名称
  933. type: string
  934. marketid:
  935. description: 市场ID
  936. type: integer
  937. mindeliveryqty:
  938. description: 最小交割系数(K)
  939. type: integer
  940. p2deliveryprice:
  941. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  942. type: number
  943. p2deliveryratio:
  944. description: P2合约系数(p)
  945. type: integer
  946. p2goodsid:
  947. description: P2合约ID
  948. type: integer
  949. p2pricemode:
  950. description: P2合约价格方式 - 1:商品价 2:固定值
  951. type: integer
  952. pdeliveryprice:
  953. description: P合约价格(商品价时填写0,固定值时填写固定值)
  954. type: number
  955. pdeliveryratio:
  956. description: P合约系数(n)
  957. type: integer
  958. pgoodscode:
  959. description: p合约代码
  960. type: string
  961. pgoodsid:
  962. description: P合约ID
  963. type: integer
  964. ppricemode:
  965. description: P合约价格方式 - 1:商品价 2:固定值
  966. type: integer
  967. rratio:
  968. description: 兑换系数(R)
  969. type: integer
  970. rratio1:
  971. description: 兑换系数(交易合约)(R1)
  972. type: integer
  973. rratio2:
  974. description: 兑换系数(仓单标准)(R2)
  975. type: integer
  976. selltemplateid:
  977. description: 卖履约计划模板ID
  978. type: integer
  979. wrstandardid:
  980. description: 仓单标准ID
  981. type: integer
  982. xdeliveryratio:
  983. description: 交易合约系数(m)
  984. type: integer
  985. required:
  986. - begindate
  987. - enddate
  988. - goodsid
  989. - mindeliveryqty
  990. - xdeliveryratio
  991. type: object
  992. ermcp.ExposureDetailRsp:
  993. properties:
  994. areauserid:
  995. description: 机构ID
  996. type: integer
  997. changeQty:
  998. description: 套保变动量
  999. type: number
  1000. contracttype:
  1001. description: 现货合同类型 - 1:采购 -1:销售
  1002. type: integer
  1003. convertfactor:
  1004. description: 标仓系数
  1005. type: number
  1006. convertratio:
  1007. description: 套保系数
  1008. type: number
  1009. createtime:
  1010. description: 时间
  1011. type: string
  1012. enumdicname:
  1013. description: 现货商品单位名称
  1014. type: string
  1015. logtype:
  1016. description: 类型 - 1:套保计划 2:现货合同
  1017. type: integer
  1018. middlegoodsId:
  1019. description: 套保商品id
  1020. type: integer
  1021. middlegoodscode:
  1022. description: 套保商品代码
  1023. type: string
  1024. middlegoodsname:
  1025. description: 套保商品名称
  1026. type: string
  1027. qty:
  1028. description: 数量
  1029. type: number
  1030. relateNo:
  1031. description: 现货合同/套保计划编号
  1032. type: string
  1033. wrstandardcode:
  1034. description: 现货商品代码
  1035. type: string
  1036. wrstandardid:
  1037. description: 现货商品ID
  1038. type: integer
  1039. wrstandardname:
  1040. description: 现货商品名称
  1041. type: string
  1042. type: object
  1043. ermcp.ExposureHedgePosDetailRsp:
  1044. properties:
  1045. buyorsell:
  1046. description: 买卖方向 0-买 1-卖
  1047. type: integer
  1048. channelbuildtype:
  1049. description: 开平方向 1-建仓 2-平仓
  1050. type: integer
  1051. goodscode:
  1052. description: 商品代码
  1053. type: string
  1054. goodsname:
  1055. description: 商品名称
  1056. type: string
  1057. hedgegoodsid:
  1058. description: 商品id
  1059. type: integer
  1060. tradeqty:
  1061. description: 数量(成交数量)
  1062. type: integer
  1063. tradetime:
  1064. description: 时间(成交时间)
  1065. type: string
  1066. type: object
  1067. ermcp.ExposureHedgePositionRsp:
  1068. properties:
  1069. accountid:
  1070. description: 资金账号[外部母账户]
  1071. type: integer
  1072. curbuyposition:
  1073. description: 期末买头寸
  1074. type: integer
  1075. cursellposition:
  1076. description: 期末卖头寸
  1077. type: integer
  1078. curtdbuyposition:
  1079. description: 期末今日买头寸
  1080. type: integer
  1081. curtdsellposition:
  1082. description: 期末今日卖头寸
  1083. type: integer
  1084. curydbuyposition:
  1085. description: 期末上日买头寸
  1086. type: integer
  1087. curydsellposition:
  1088. description: 期末上日卖头寸
  1089. type: integer
  1090. decreaseqty:
  1091. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1092. type: integer
  1093. fretdbuyposition:
  1094. description: 冻结今日买头寸
  1095. type: integer
  1096. fretdsellposition:
  1097. description: 冻结今日卖头寸
  1098. type: integer
  1099. freydbuyposition:
  1100. description: 冻结上日买头寸
  1101. type: integer
  1102. freydsellposition:
  1103. description: 冻结上日卖头寸
  1104. type: integer
  1105. goodscode:
  1106. description: 商品代码
  1107. type: string
  1108. goodsid:
  1109. description: 商品id
  1110. type: integer
  1111. goodsname:
  1112. description: 商品名称
  1113. type: string
  1114. hedgeaccountcode:
  1115. description: 对冲账号
  1116. type: string
  1117. hedgegoodsid:
  1118. description: 对冲合约ID
  1119. type: integer
  1120. increaseqty:
  1121. description: 增加数量 = 期末买头寸 - 期初买头寸
  1122. type: integer
  1123. marketid:
  1124. description: 市场ID
  1125. type: integer
  1126. relateduserid:
  1127. description: 关联用户id
  1128. type: integer
  1129. totalcurqty:
  1130. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1131. type: integer
  1132. totalydqty:
  1133. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1134. type: integer
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. ydbuyposition:
  1139. description: 期初买头寸
  1140. type: integer
  1141. ydsellposition:
  1142. description: 期初卖头寸
  1143. type: integer
  1144. type: object
  1145. ermcp.ExposureSpotDetailRsp:
  1146. properties:
  1147. contracttype:
  1148. description: 合同类型 1-采购 -1-销售
  1149. type: integer
  1150. createtime:
  1151. description: 创建时间
  1152. type: string
  1153. enumdicname:
  1154. description: 现货商品单位名称
  1155. type: string
  1156. logtype:
  1157. description: 记录类型 1-套保 2-现货合同
  1158. type: integer
  1159. qty:
  1160. description: 数量
  1161. type: number
  1162. recordname:
  1163. description: 类型名称
  1164. type: string
  1165. relatedid:
  1166. description: 套保计划ID/现货合同ID
  1167. type: string
  1168. relatedno:
  1169. description: 编号
  1170. type: string
  1171. strtime:
  1172. description: 时间
  1173. type: string
  1174. wrstandardcode:
  1175. description: 现货商品代码
  1176. type: string
  1177. wrstandardname:
  1178. description: 现货商品名称
  1179. type: string
  1180. type: object
  1181. ermcp.ExposureSpotRsp:
  1182. properties:
  1183. areauserid:
  1184. description: 所属机构
  1185. type: integer
  1186. decreaseqty:
  1187. description: 减少数量=-(销售已定价数量+采购计划数量)
  1188. type: number
  1189. increaseqty:
  1190. description: 增加数量=销售计划数量+采购已定价数量
  1191. type: number
  1192. oritoalspotqty:
  1193. description: 昨日数量
  1194. type: number
  1195. totalspotqty:
  1196. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1197. type: number
  1198. updatetime:
  1199. description: 更新时间
  1200. type: string
  1201. wrstandardcode:
  1202. description: 现货品种代码
  1203. type: string
  1204. wrstandardid:
  1205. description: 现货商品ID
  1206. type: integer
  1207. wrstandardname:
  1208. description: 现货品种
  1209. type: string
  1210. type: object
  1211. ermcp.HisExposureRsp:
  1212. properties:
  1213. data:
  1214. description: 历史敞口
  1215. items:
  1216. $ref: '#/definitions/models.ErmcpHisExposure'
  1217. type: array
  1218. enumdicname:
  1219. description: 单位名称
  1220. type: string
  1221. middlegoodscode:
  1222. description: 套保品种代码
  1223. type: string
  1224. middlegoodsid:
  1225. description: 套保品种ID
  1226. type: integer
  1227. middlegoodsname:
  1228. description: 套保品种名称
  1229. type: string
  1230. type: object
  1231. ermcp.PendingAuditCntRsp:
  1232. properties:
  1233. areastockqty:
  1234. description: '待审核数量: 库存申请'
  1235. type: integer
  1236. businessdjqty:
  1237. description: '待审核数量: 点价'
  1238. type: integer
  1239. businessfpqty:
  1240. description: '待审核数量: 发票'
  1241. type: integer
  1242. businessjsqty:
  1243. description: '待审核数量: 结算'
  1244. type: integer
  1245. businesskxqty:
  1246. description: '待审核数量: 款项'
  1247. type: integer
  1248. hedgeplanqty:
  1249. description: '待审核数量: 套保计划'
  1250. type: integer
  1251. spotcontractqty:
  1252. description: '待审核数量: 现货合同'
  1253. type: integer
  1254. userqty:
  1255. description: '待审核数量: 用户'
  1256. type: integer
  1257. type: object
  1258. ermcp.QryAvalidGPRsp:
  1259. properties:
  1260. goodsgroupid:
  1261. description: 期货品种id
  1262. type: integer
  1263. goodsgroupname:
  1264. description: 期货品种名称
  1265. type: string
  1266. goodunitid:
  1267. description: 品种单位id
  1268. type: integer
  1269. goodunitname:
  1270. description: 品种单位名称
  1271. type: string
  1272. outergroupcode:
  1273. description: 期货品种代码
  1274. type: string
  1275. type: object
  1276. ermcp.QryBusinessDjRsp:
  1277. properties:
  1278. amount:
  1279. description: 点价金额=(点价价格+升贴水)*点价数量
  1280. type: number
  1281. applyid:
  1282. description: 申请人
  1283. type: string
  1284. applyname:
  1285. description: 申请人名称
  1286. type: string
  1287. applystatus:
  1288. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1289. type: integer
  1290. applytime:
  1291. description: 申请时间
  1292. type: string
  1293. attachurl:
  1294. description: 附件
  1295. type: string
  1296. auditid:
  1297. description: 审核人ID
  1298. type: string
  1299. auditname:
  1300. description: 审核人名称
  1301. type: string
  1302. auditremark:
  1303. description: 审核备注
  1304. type: string
  1305. audittime:
  1306. description: 审核时间
  1307. type: string
  1308. buyusername:
  1309. description: 采购方名称
  1310. type: string
  1311. contractno:
  1312. description: 合同编号
  1313. type: string
  1314. contractstatus:
  1315. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1316. type: integer
  1317. contracttype:
  1318. description: 现货合同类型 - 1:采购 -1:销售
  1319. type: integer
  1320. deliverygoodscode:
  1321. description: 现货品种代码
  1322. type: string
  1323. deliverygoodsid:
  1324. description: 现货商品ID
  1325. type: integer
  1326. deliverygoodsname:
  1327. description: 现货品种名称
  1328. type: string
  1329. enumdicname:
  1330. description: 单位名称
  1331. type: string
  1332. goodscode:
  1333. description: 点价合约
  1334. type: string
  1335. goodsname:
  1336. description: 商品名称
  1337. type: string
  1338. operateapplyid:
  1339. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1340. type: string
  1341. operateapplytype:
  1342. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1343. type: integer
  1344. pricedPrice:
  1345. description: 点价价格(非必填)
  1346. type: number
  1347. pricedQty:
  1348. description: 点价数量(非必填)
  1349. type: number
  1350. pricemove:
  1351. description: 升贴水
  1352. type: number
  1353. pricetype:
  1354. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1355. type: integer
  1356. relatedid:
  1357. description: 现货合同ID
  1358. type: string
  1359. sellusername:
  1360. description: 销售方名字
  1361. type: string
  1362. userid:
  1363. description: 用户ID
  1364. type: integer
  1365. wrstandardcode:
  1366. description: 品类代码
  1367. type: string
  1368. wrstandardid:
  1369. description: 品类id
  1370. type: integer
  1371. wrstandardname:
  1372. description: 品类名称
  1373. type: string
  1374. type: object
  1375. ermcp.QryBussinessFpRsp:
  1376. properties:
  1377. applyid:
  1378. description: 申请人
  1379. type: string
  1380. applyname:
  1381. description: 申请人名称
  1382. type: string
  1383. applystatus:
  1384. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1385. type: integer
  1386. applytime:
  1387. description: 申请时间
  1388. type: string
  1389. attachurl:
  1390. description: 附件
  1391. type: string
  1392. auditid:
  1393. description: 审核人ID
  1394. type: string
  1395. auditname:
  1396. description: 审核人名称
  1397. type: string
  1398. auditremark:
  1399. description: 审核备注
  1400. type: string
  1401. audittime:
  1402. description: 审核时间
  1403. type: string
  1404. buyusername:
  1405. description: 采购方名称
  1406. type: string
  1407. contractno:
  1408. description: 合同编号
  1409. type: string
  1410. contractstatus:
  1411. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1412. type: integer
  1413. contracttype:
  1414. description: 现货合同类型 - 1:采购 -1:销售
  1415. type: integer
  1416. deliverygoodscode:
  1417. description: 现货品种代码
  1418. type: string
  1419. deliverygoodsid:
  1420. description: 现货商品ID
  1421. type: integer
  1422. deliverygoodsname:
  1423. description: 现货品种名称
  1424. type: string
  1425. enumdicname:
  1426. description: 单位名称
  1427. type: string
  1428. goodscode:
  1429. description: 点价合约
  1430. type: string
  1431. goodsname:
  1432. description: 商品名称
  1433. type: string
  1434. invoiceamount:
  1435. description: 已开收票金额(销售为开票,采购为收票)
  1436. type: number
  1437. operateapplyid:
  1438. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1439. type: string
  1440. operateapplytype:
  1441. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1442. type: integer
  1443. pricemove:
  1444. description: 升贴水
  1445. type: number
  1446. pricetype:
  1447. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1448. type: integer
  1449. relatedid:
  1450. description: 现货合同ID
  1451. type: string
  1452. sellusername:
  1453. description: 销售方名字
  1454. type: string
  1455. userid:
  1456. description: 用户ID
  1457. type: integer
  1458. wrstandardcode:
  1459. description: 品类代码
  1460. type: string
  1461. wrstandardid:
  1462. description: 品类id
  1463. type: integer
  1464. wrstandardname:
  1465. description: 品类名称
  1466. type: string
  1467. type: object
  1468. ermcp.QryBussinessJsExRsp:
  1469. properties:
  1470. applyid:
  1471. description: 申请人
  1472. type: string
  1473. applyname:
  1474. description: 申请人名称
  1475. type: string
  1476. applystatus:
  1477. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1478. type: integer
  1479. applytime:
  1480. description: 申请时间
  1481. type: string
  1482. attachurl:
  1483. description: 附件
  1484. type: string
  1485. auditid:
  1486. description: 审核人ID
  1487. type: string
  1488. auditname:
  1489. description: 审核人名称
  1490. type: string
  1491. auditremark:
  1492. description: 审核备注
  1493. type: string
  1494. audittime:
  1495. description: 审核时间
  1496. type: string
  1497. buyusername:
  1498. description: 采购方名称
  1499. type: string
  1500. contractno:
  1501. description: 合同编号
  1502. type: string
  1503. contractstatus:
  1504. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1505. type: integer
  1506. contracttype:
  1507. description: 现货合同类型 - 1:采购 -1:销售
  1508. type: integer
  1509. deliverygoodscode:
  1510. description: 现货品种代码
  1511. type: string
  1512. deliverygoodsid:
  1513. description: 现货商品ID
  1514. type: integer
  1515. deliverygoodsname:
  1516. description: 现货品种名称
  1517. type: string
  1518. enumdicname:
  1519. description: 单位名称
  1520. type: string
  1521. goodscode:
  1522. description: 点价合约
  1523. type: string
  1524. goodsname:
  1525. description: 商品名称
  1526. type: string
  1527. operateapplyid:
  1528. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1529. type: string
  1530. operateapplytype:
  1531. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1532. type: integer
  1533. pricemove:
  1534. description: 升贴水
  1535. type: number
  1536. pricetype:
  1537. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1538. type: integer
  1539. reckontype:
  1540. description: 结算类型
  1541. type: string
  1542. reckonvalue:
  1543. description: 值
  1544. type: number
  1545. relatedid:
  1546. description: 现货合同ID
  1547. type: string
  1548. sellusername:
  1549. description: 销售方名字
  1550. type: string
  1551. userid:
  1552. description: 用户ID
  1553. type: integer
  1554. wrstandardcode:
  1555. description: 品类代码
  1556. type: string
  1557. wrstandardid:
  1558. description: 品类id
  1559. type: integer
  1560. wrstandardname:
  1561. description: 品类名称
  1562. type: string
  1563. type: object
  1564. ermcp.QryBussinessJsRsp:
  1565. properties:
  1566. addmargin:
  1567. description: 追加保证金(非必填)
  1568. type: number
  1569. applyid:
  1570. description: 申请人
  1571. type: string
  1572. applyname:
  1573. description: 申请人名称
  1574. type: string
  1575. applystatus:
  1576. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1577. type: integer
  1578. applytime:
  1579. description: 申请时间
  1580. type: string
  1581. attachurl:
  1582. description: 附件
  1583. type: string
  1584. auditid:
  1585. description: 审核人ID
  1586. type: string
  1587. auditname:
  1588. description: 审核人名称
  1589. type: string
  1590. auditremark:
  1591. description: 审核备注
  1592. type: string
  1593. audittime:
  1594. description: 审核时间
  1595. type: string
  1596. buyusername:
  1597. description: 采购方名称
  1598. type: string
  1599. contractno:
  1600. description: 合同编号
  1601. type: string
  1602. contractstatus:
  1603. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1604. type: integer
  1605. contracttype:
  1606. description: 现货合同类型 - 1:采购 -1:销售
  1607. type: integer
  1608. decmargin:
  1609. description: 减少保证金(非必填)
  1610. type: number
  1611. deliverygoodscode:
  1612. description: 现货品种代码
  1613. type: string
  1614. deliverygoodsid:
  1615. description: 现货商品ID
  1616. type: integer
  1617. deliverygoodsname:
  1618. description: 现货品种名称
  1619. type: string
  1620. enumdicname:
  1621. description: 单位名称
  1622. type: string
  1623. goodscode:
  1624. description: 点价合约
  1625. type: string
  1626. goodsname:
  1627. description: 商品名称
  1628. type: string
  1629. operateapplyid:
  1630. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1631. type: string
  1632. operateapplytype:
  1633. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1634. type: integer
  1635. pricemove:
  1636. description: 升贴水
  1637. type: number
  1638. pricetype:
  1639. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1640. type: integer
  1641. reckonadjustamount:
  1642. description: 结算调整金额(非必填)
  1643. type: number
  1644. reckonosamount:
  1645. description: 结算溢短金额(非必填)
  1646. type: number
  1647. reckonotheramount:
  1648. description: 结算其他费用(非必填)
  1649. type: number
  1650. reckonrealqty:
  1651. description: 结算实际数量(非必填)
  1652. type: number
  1653. relatedid:
  1654. description: 现货合同ID
  1655. type: string
  1656. sellusername:
  1657. description: 销售方名字
  1658. type: string
  1659. userid:
  1660. description: 用户ID
  1661. type: integer
  1662. wrstandardcode:
  1663. description: 品类代码
  1664. type: string
  1665. wrstandardid:
  1666. description: 品类id
  1667. type: integer
  1668. wrstandardname:
  1669. description: 品类名称
  1670. type: string
  1671. type: object
  1672. ermcp.QryBussinessKxRsp:
  1673. properties:
  1674. applyid:
  1675. description: 申请人
  1676. type: string
  1677. applyname:
  1678. description: 申请人名称
  1679. type: string
  1680. applystatus:
  1681. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1682. type: integer
  1683. applytime:
  1684. description: 申请时间
  1685. type: string
  1686. attachurl:
  1687. description: 附件
  1688. type: string
  1689. auditid:
  1690. description: 审核人ID
  1691. type: string
  1692. auditname:
  1693. description: 审核人名称
  1694. type: string
  1695. auditremark:
  1696. description: 审核备注
  1697. type: string
  1698. audittime:
  1699. description: 审核时间
  1700. type: string
  1701. buyusername:
  1702. description: 采购方名称
  1703. type: string
  1704. contractno:
  1705. description: 合同编号
  1706. type: string
  1707. contractstatus:
  1708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1709. type: integer
  1710. contracttype:
  1711. description: 现货合同类型 - 1:采购 -1:销售
  1712. type: integer
  1713. deductamount:
  1714. description: 退款(非必填)
  1715. type: number
  1716. deliverygoodscode:
  1717. description: 现货品种代码
  1718. type: string
  1719. deliverygoodsid:
  1720. description: 现货商品ID
  1721. type: integer
  1722. deliverygoodsname:
  1723. description: 现货品种名称
  1724. type: string
  1725. enumdicname:
  1726. description: 单位名称
  1727. type: string
  1728. goodscode:
  1729. description: 点价合约
  1730. type: string
  1731. goodsname:
  1732. description: 商品名称
  1733. type: string
  1734. kxtype:
  1735. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1736. type: integer
  1737. operateapplyid:
  1738. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1739. type: string
  1740. operateapplytype:
  1741. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1742. type: integer
  1743. payamount:
  1744. description: 收付款(非必填)
  1745. type: number
  1746. pricemove:
  1747. description: 升贴水
  1748. type: number
  1749. pricetype:
  1750. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1751. type: integer
  1752. relatedid:
  1753. description: 现货合同ID
  1754. type: string
  1755. sellusername:
  1756. description: 销售方名字
  1757. type: string
  1758. userid:
  1759. description: 用户ID
  1760. type: integer
  1761. wrstandardcode:
  1762. description: 品类代码
  1763. type: string
  1764. wrstandardid:
  1765. description: 品类id
  1766. type: integer
  1767. wrstandardname:
  1768. description: 品类名称
  1769. type: string
  1770. type: object
  1771. ermcp.QryGGCovertCfgRsp:
  1772. properties:
  1773. convertratio:
  1774. description: 折算系数
  1775. type: number
  1776. destgoodsgroupid:
  1777. description: 目标品种ID
  1778. type: integer
  1779. dstcode:
  1780. description: 目录品种代码
  1781. type: string
  1782. dstexchangecode:
  1783. description: 目标期货交易所
  1784. type: string
  1785. dstname:
  1786. description: 目标品种名称
  1787. type: string
  1788. dstunitid:
  1789. description: 目标品种单位ID
  1790. type: integer
  1791. dstunitidname:
  1792. description: 目标品种单位名称
  1793. type: string
  1794. modifytime:
  1795. description: 修改时间
  1796. type: string
  1797. srccode:
  1798. description: 源品种代码
  1799. type: string
  1800. srcexchangecode:
  1801. description: 源期货交易所
  1802. type: string
  1803. srcgoodsgroupid:
  1804. description: 源品种ID
  1805. type: integer
  1806. srcname:
  1807. description: 源品种名称
  1808. type: string
  1809. srcunitid:
  1810. description: 源品种单位ID
  1811. type: integer
  1812. srcunitidname:
  1813. description: 源品种单位名称
  1814. type: string
  1815. type: object
  1816. ermcp.QryMGChangeLogRsp:
  1817. properties:
  1818. aftervalue:
  1819. description: 变更后
  1820. type: number
  1821. applyid:
  1822. description: 操作人
  1823. type: integer
  1824. applyname:
  1825. description: 操作人名称
  1826. type: string
  1827. applysrc:
  1828. description: 操作来源 - 1:管理端 2:终端
  1829. type: integer
  1830. beforevalue:
  1831. description: 变更前
  1832. type: number
  1833. changelogtype:
  1834. description: 变更流水类型 - 1:套保比率变更
  1835. type: integer
  1836. handlestatus:
  1837. description: 处理状态
  1838. type: integer
  1839. logdatetime:
  1840. description: 流水日期
  1841. type: string
  1842. logid:
  1843. description: 流水ID
  1844. type: integer
  1845. logremark:
  1846. description: 流水备注
  1847. type: string
  1848. middlegoodsid:
  1849. description: 套保品种ID
  1850. type: integer
  1851. tradedate:
  1852. description: 交易日(yyyyMMdd)
  1853. type: string
  1854. updatetime:
  1855. description: 更新时间
  1856. type: string
  1857. type: object
  1858. ermcp.QryMiddleGoodsDetailRsp:
  1859. properties:
  1860. cvList:
  1861. description: 期货品种折算列表
  1862. items:
  1863. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1864. type: array
  1865. mg:
  1866. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1867. description: 套保品种基本信息
  1868. wrcList:
  1869. description: 现货品种列表(现货商品折算配置)
  1870. items:
  1871. $ref: '#/definitions/models.WRSConverTDetail'
  1872. type: array
  1873. type: object
  1874. ermcp.QryMiddleGoodsRsp:
  1875. properties:
  1876. areauserid:
  1877. description: 机构用户ID
  1878. type: integer
  1879. createtime:
  1880. description: 修改时间
  1881. type: string
  1882. enumdicname:
  1883. description: 单位名称
  1884. type: string
  1885. evaluateratio:
  1886. description: 估价系数
  1887. type: number
  1888. goodsgroupid:
  1889. description: 关联期货品种ID
  1890. type: integer
  1891. goodsunitid:
  1892. description: 单位ID
  1893. type: integer
  1894. isvalid:
  1895. description: 状态 0-无效(停用) 1-有效(正常)
  1896. type: integer
  1897. middlegoodscode:
  1898. description: 套保品种代码
  1899. type: string
  1900. middlegoodsid:
  1901. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1902. type: integer
  1903. middlegoodsname:
  1904. description: 套保品种名称
  1905. type: string
  1906. modifytime:
  1907. description: 修改时间
  1908. type: string
  1909. needarbitrageratio:
  1910. description: 套利比例
  1911. type: number
  1912. needhedgeratio:
  1913. description: 套保比率
  1914. type: number
  1915. qtydecimalplace:
  1916. description: 数量小数位
  1917. type: integer
  1918. relatedgoodsid:
  1919. description: 关联交易商品ID
  1920. type: integer
  1921. relatedgoodstype:
  1922. description: 关联商品类型 - 1:期货合约 2:现货品种
  1923. type: integer
  1924. remark:
  1925. description: 备注
  1926. type: string
  1927. type: object
  1928. ermcp.QryOPLogRsp:
  1929. properties:
  1930. aftervalue:
  1931. description: 变更后
  1932. type: number
  1933. applyid:
  1934. description: 操作人ID
  1935. type: string
  1936. applyname:
  1937. description: 操作人名称
  1938. type: string
  1939. beforevalue:
  1940. description: 变更前
  1941. type: number
  1942. biztype:
  1943. description: 业务类型 - 1:套保计划 2:现货合同
  1944. type: integer
  1945. contracttype:
  1946. description: 现货合同类型 - 1:采购 -1:销售
  1947. type: integer
  1948. logvalue:
  1949. description: 数值
  1950. type: number
  1951. operatelogtype:
  1952. description: 操作流水类型
  1953. type: integer
  1954. operatelogtypedesc:
  1955. description: 操作流水类型名称
  1956. type: string
  1957. relatedid:
  1958. description: 现货合同ID\套保计划
  1959. type: string
  1960. updatetime:
  1961. description: 更新时间
  1962. type: string
  1963. type: object
  1964. ermcp.QryUserInfoRsp:
  1965. properties:
  1966. address:
  1967. description: 通讯地址
  1968. type: string
  1969. attachment1:
  1970. description: 附件1
  1971. type: string
  1972. audittime:
  1973. description: 审核时间
  1974. type: string
  1975. cardbackphotourl:
  1976. description: 证件反面图片地址
  1977. type: string
  1978. cardfrontphotourl:
  1979. description: 证件正面图片地址
  1980. type: string
  1981. cardnum:
  1982. description: 证件号码
  1983. type: string
  1984. cardtype:
  1985. description: 证件类型
  1986. type: integer
  1987. cardtypename:
  1988. description: 证件类型名称
  1989. type: string
  1990. cityid:
  1991. description: 市
  1992. type: integer
  1993. contactname:
  1994. description: 联系人
  1995. type: string
  1996. countryid:
  1997. description: 国家
  1998. type: integer
  1999. createtime:
  2000. description: 创建时间
  2001. type: string
  2002. customername:
  2003. description: 企业名称
  2004. type: string
  2005. districtid:
  2006. description: 区域
  2007. type: integer
  2008. email:
  2009. description: 邮件
  2010. type: string
  2011. legalpersonname:
  2012. description: 法人姓名(企业)
  2013. type: string
  2014. memberuserid:
  2015. description: 所属机构ID
  2016. type: integer
  2017. mobile:
  2018. description: 手机号码
  2019. type: string
  2020. modifytime:
  2021. description: 修改时间
  2022. type: string
  2023. nickname:
  2024. description: 昵称
  2025. type: string
  2026. provinceid:
  2027. description: 省
  2028. type: integer
  2029. remark:
  2030. description: 备注
  2031. type: string
  2032. status:
  2033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2034. type: integer
  2035. statusdesc:
  2036. description: 账户状态中文描述
  2037. type: string
  2038. taxpayernum:
  2039. description: 纳税人识别号
  2040. type: string
  2041. telphone:
  2042. description: 联系电话
  2043. type: string
  2044. userid:
  2045. description: 用户ID
  2046. type: integer
  2047. userinfotype:
  2048. description: 客户类型
  2049. type: string
  2050. type: object
  2051. ermcp.QryWarehouseRsp:
  2052. properties:
  2053. address:
  2054. description: 详细地址
  2055. type: string
  2056. areauserid:
  2057. description: 所属机构
  2058. type: integer
  2059. autoid:
  2060. description: 自增ID(仓库ID)
  2061. type: integer
  2062. cityid:
  2063. description: 市
  2064. type: integer
  2065. contactname:
  2066. description: 联系人
  2067. type: string
  2068. contactnum:
  2069. description: 联系电话
  2070. type: string
  2071. countryid:
  2072. description: 国家
  2073. type: integer
  2074. createtime:
  2075. description: 创建时间
  2076. type: string
  2077. districtid:
  2078. description: 区
  2079. type: integer
  2080. hasvideo:
  2081. description: 是否有视频 - 0:无 1:有
  2082. type: integer
  2083. provinceid:
  2084. description: 省
  2085. type: integer
  2086. remark:
  2087. description: 审核备注
  2088. type: string
  2089. videourl:
  2090. description: 视频地址
  2091. type: string
  2092. warehousecode:
  2093. description: 仓库代码
  2094. type: string
  2095. warehousename:
  2096. description: 仓库名称
  2097. type: string
  2098. warehousestatus:
  2099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2100. type: integer
  2101. warehousetype:
  2102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2103. type: integer
  2104. type: object
  2105. ermcp.QueryErmcpTradePositionRsp:
  2106. properties:
  2107. agreeunit:
  2108. description: 合约单位
  2109. type: number
  2110. buyorsell:
  2111. description: 方向 - 0:买 1:卖
  2112. type: integer
  2113. curpositionqty:
  2114. description: 持仓(总仓数量, 期末头寸)
  2115. type: integer
  2116. curtdposition:
  2117. description: 今仓数量(期末今日头寸)
  2118. type: integer
  2119. curtdpositionenabled:
  2120. description: 今仓可用
  2121. type: integer
  2122. decimalplace:
  2123. description: 报价小数位
  2124. type: integer
  2125. enableqty:
  2126. description: 可用(总仓可用)
  2127. type: integer
  2128. exexchangename:
  2129. description: 外部交易所名称
  2130. type: string
  2131. exexehangecode:
  2132. description: 外部交易所代码
  2133. type: string
  2134. exexehangeid:
  2135. description: 外部交易所id
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. last:
  2147. description: 现价
  2148. type: number
  2149. marketid:
  2150. description: 所属市场ID
  2151. type: integer
  2152. openaverageprice:
  2153. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2154. type: number
  2155. opencost:
  2156. description: 开仓成本
  2157. type: number
  2158. openpl:
  2159. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2160. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2161. type: number
  2162. outgoodscode:
  2163. description: 商品代码(外部)
  2164. type: string
  2165. positionaverageprice:
  2166. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2167. type: number
  2168. positioncost:
  2169. description: 持仓成本
  2170. type: number
  2171. positionpl:
  2172. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2173. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2174. type: number
  2175. positionplrate:
  2176. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2177. type: number
  2178. usedmargin:
  2179. description: 占用保证金
  2180. type: number
  2181. type: object
  2182. ermcp.RealtimeExposurePositionRsp:
  2183. properties:
  2184. agreeunit:
  2185. description: 合约单位
  2186. type: string
  2187. areauserid:
  2188. description: 所属机构id
  2189. type: integer
  2190. convertratio:
  2191. description: 期货品种系数(折算系数)
  2192. type: number
  2193. curhedgeqty:
  2194. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2195. type: number
  2196. curqty:
  2197. description: 当前持仓
  2198. type: integer
  2199. diffhedgeqty:
  2200. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2201. type: number
  2202. diffqty:
  2203. description: 持仓变动量=当前持仓-昨日持仓
  2204. type: integer
  2205. goodscode:
  2206. description: 商品代码
  2207. type: string
  2208. goodsid:
  2209. description: 商品id
  2210. type: integer
  2211. goodsname:
  2212. description: 商品名称
  2213. type: string
  2214. hedgeaccountcode:
  2215. description: 对冲账号(只有外部账号才有值)
  2216. type: string
  2217. middlegoodscode:
  2218. description: 套保商品代码
  2219. type: string
  2220. middlegoodsid:
  2221. description: 套保商品id
  2222. type: integer
  2223. middlegoodsname:
  2224. description: 套保商品名称
  2225. type: string
  2226. ydqty:
  2227. description: 昨日持仓
  2228. type: integer
  2229. type: object
  2230. ermcp.RealtimeExposureRsp:
  2231. properties:
  2232. AreaUserID:
  2233. description: 所属机构
  2234. type: integer
  2235. BuyFutureQty:
  2236. description: 买入期货数量
  2237. type: number
  2238. BuyPlanQty:
  2239. description: 采购计划数量
  2240. type: number
  2241. BuyPricedQty:
  2242. description: 采购合同已定价数量
  2243. type: number
  2244. MiddleGoodsCode:
  2245. description: 套保品种代码
  2246. type: string
  2247. MiddleGoodsHedgeRatio:
  2248. description: 套保比例
  2249. type: number
  2250. MiddleGoodsID:
  2251. description: 套保品种
  2252. type: integer
  2253. MiddleGoodsName:
  2254. description: 套保品种名称
  2255. type: string
  2256. NeedHedgeExposoure:
  2257. description: 应套保敞口(套保敞口)
  2258. type: number
  2259. NeedHedgeRatio:
  2260. description: 应套保敞口比例
  2261. type: number
  2262. OriBuyFutureQty:
  2263. description: 期初买入期货数量
  2264. type: number
  2265. OriBuyPlanQty:
  2266. description: 期初采购计划数量
  2267. type: number
  2268. OriBuyPricedQty:
  2269. description: 期初采购合同已定价数量
  2270. type: number
  2271. OriSellFutureQty:
  2272. description: 期初卖出期货数量
  2273. type: number
  2274. OriSellPlanQty:
  2275. description: 期初销售计划数量
  2276. type: number
  2277. OriSellPricedQty:
  2278. description: 期初销售合同已定价数量
  2279. type: number
  2280. OriTotalSpotQty:
  2281. description: 期初现货总量
  2282. type: number
  2283. SellFutureQty:
  2284. description: 卖出期货数量
  2285. type: number
  2286. SellPlanQty:
  2287. description: 销售计划数量
  2288. type: number
  2289. SellPricedQty:
  2290. description: 销售合同已定价数量
  2291. type: number
  2292. TotalExposure:
  2293. description: 总敞口 平安:净敞口
  2294. type: number
  2295. TotalFutureQty:
  2296. description: 期货总量 平安:保值净持仓量
  2297. type: number
  2298. TotalHedgeRatio:
  2299. description: 敞口比例
  2300. type: number
  2301. TotalNeedHedgeQty:
  2302. description: 应套保总量(现货应套保总量)
  2303. type: number
  2304. TotalSpotQty:
  2305. description: 现货总量 平安:采销定价净值
  2306. type: number
  2307. arbitrageqty:
  2308. description: 套利量
  2309. type: number
  2310. diffArbitrageQty:
  2311. description: 套利变动量
  2312. type: number
  2313. diffExposoureQty:
  2314. description: 变动量(套保敞口)
  2315. type: number
  2316. diffFutuQty:
  2317. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2318. type: number
  2319. diffHedgeQty:
  2320. description: 套保变动量
  2321. type: number
  2322. diffQty:
  2323. description: 变动量(总敞口) 平安:净敞口今日变动
  2324. type: number
  2325. diffSpotHedgeQty:
  2326. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2327. type: number
  2328. diffSpotQty:
  2329. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2330. type: number
  2331. enumdicname:
  2332. description: 单位名称
  2333. type: string
  2334. hedgeqty:
  2335. description: 套保量
  2336. type: number
  2337. needarbitrageqty:
  2338. description: 应套利量
  2339. type: number
  2340. needarbitrageratio:
  2341. description: 套利比例
  2342. type: number
  2343. needhedgeqty:
  2344. description: 应套保量
  2345. type: number
  2346. oriarbitrageqty:
  2347. description: 期初套利量
  2348. type: number
  2349. orihedgeqty:
  2350. description: 期初套保量
  2351. type: number
  2352. orineedhedgeexposoure:
  2353. description: 期初套保敞口
  2354. type: number
  2355. oritotalexposure:
  2356. description: 期初总敞口
  2357. type: number
  2358. oritotalfutureqty:
  2359. description: 期初期货总量
  2360. type: number
  2361. oritotalneedhedgeqty:
  2362. description: 期初现货应套保量
  2363. type: number
  2364. type: object
  2365. erms2.QueryArbitrageStrategyRsp:
  2366. properties:
  2367. applybasis:
  2368. description: 申请基差
  2369. type: number
  2370. asapplyid:
  2371. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2372. type: string
  2373. asname:
  2374. description: 策略名称
  2375. type: string
  2376. asno:
  2377. description: 策略编号
  2378. type: string
  2379. basischangepl:
  2380. description: 基差变动损益[结算更新]
  2381. type: number
  2382. biztype:
  2383. description: 业务类型 - 1:正向套利 -1:反向套利
  2384. type: integer
  2385. closetradedate:
  2386. description: 完结交易日(yyyyMMdd)
  2387. type: string
  2388. curbasis:
  2389. description: 当前基差[结算更新]
  2390. type: number
  2391. deliverygoodsid:
  2392. description: 现货品种ID
  2393. type: integer
  2394. futureavgprice:
  2395. description: 期货建仓均价
  2396. type: number
  2397. futurecloseamount:
  2398. description: 期货平仓金额
  2399. type: number
  2400. futurecloseqty:
  2401. description: 期货平仓数量
  2402. type: number
  2403. futureopenamount:
  2404. description: 期货开仓金额
  2405. type: number
  2406. futureopenqty:
  2407. description: 期货开仓数量
  2408. type: number
  2409. futurepl:
  2410. description: 期货总盈亏[结算更新]
  2411. type: number
  2412. futureqty:
  2413. description: 期货持仓数量
  2414. type: number
  2415. futurequote:
  2416. description: 期货额度
  2417. type: number
  2418. goodsgroupid:
  2419. description: 期货品种ID
  2420. type: integer
  2421. marketid:
  2422. description: 市场ID
  2423. type: integer
  2424. netexposure:
  2425. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2426. type: number
  2427. netexposurepl:
  2428. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2429. type: number
  2430. netexposurerate:
  2431. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2432. type: number
  2433. openbasis:
  2434. description: 建仓基差
  2435. type: number
  2436. pricedspotqty:
  2437. description: 已定价现货数量
  2438. type: number
  2439. pricedspotqtynotax:
  2440. description: 已定价现货不含税数量
  2441. type: number
  2442. remark:
  2443. description: 备注
  2444. type: string
  2445. spotavgprice:
  2446. description: 现货均价
  2447. type: number
  2448. spotbuyamount:
  2449. description: 现货采购金额
  2450. type: number
  2451. spotbuyqty:
  2452. description: 现货采购数量
  2453. type: number
  2454. spotpl:
  2455. description: 现货总盈亏[结算更新]
  2456. type: number
  2457. spotquota:
  2458. description: 现货额度
  2459. type: number
  2460. spotsellamount:
  2461. description: 现货销售金额
  2462. type: number
  2463. spotsellqty:
  2464. description: 现货销售数量
  2465. type: number
  2466. spotusedquota:
  2467. description: 现货占用资金
  2468. type: number
  2469. strategystatus:
  2470. description: 策略状态 - 0:未结束 1:已结束
  2471. type: integer
  2472. totalpl:
  2473. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2474. type: number
  2475. tradedate:
  2476. description: 交易日(yyyyMMdd)
  2477. type: string
  2478. updatetime:
  2479. description: 更新时间
  2480. type: string
  2481. usedquota:
  2482. description: 已占用资金
  2483. type: number
  2484. userid:
  2485. description: 所属机构
  2486. type: integer
  2487. required:
  2488. - asapplyid
  2489. type: object
  2490. erms2.QueryInnerTradeDetailRsp:
  2491. properties:
  2492. accountid:
  2493. description: 账号ID
  2494. type: integer
  2495. agreeunit:
  2496. description: 合约单位
  2497. type: number
  2498. asapplyid:
  2499. description: 策略申请ID
  2500. type: integer
  2501. asname:
  2502. description: 策略名称
  2503. type: string
  2504. asno:
  2505. description: 策略编号
  2506. type: string
  2507. buyorsell:
  2508. description: 方向 - 0:买 1:卖
  2509. type: integer
  2510. channelbuildtype:
  2511. description: 委托单据类型 0:无 1:建仓 2:平仓
  2512. type: integer
  2513. closetype:
  2514. description: 平仓方式 - 0:无 1:平今 2:平昨
  2515. type: integer
  2516. decimalplace:
  2517. description: 报价小数位
  2518. type: integer
  2519. detailtype:
  2520. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2521. type: integer
  2522. exexchangecode:
  2523. description: 外部交易所代码
  2524. type: string
  2525. exexchangename:
  2526. description: 外部交易所名称
  2527. type: string
  2528. goodscode:
  2529. description: 商品代码(合约)
  2530. type: string
  2531. goodsgroupid:
  2532. description: 商品组ID(品种ID)
  2533. type: integer
  2534. goodsgroupname:
  2535. description: 商品组名称(品种)
  2536. type: string
  2537. goodsid:
  2538. description: 商品ID
  2539. type: integer
  2540. goodsname:
  2541. description: 商品名称(合约)
  2542. type: string
  2543. goodunit:
  2544. description: 报价单位
  2545. type: string
  2546. marketid:
  2547. description: 市场ID
  2548. type: integer
  2549. orderid:
  2550. description: 委托单号
  2551. type: string
  2552. outgoodscode:
  2553. description: 商品代码(外部)
  2554. type: string
  2555. relatedouttradeid:
  2556. description: 关联外部成交单ID
  2557. type: string
  2558. remark:
  2559. description: 备注
  2560. type: string
  2561. spotcontractid:
  2562. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2563. type: integer
  2564. spotcontractno:
  2565. description: 现货合同编号
  2566. type: string
  2567. tradeid:
  2568. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2569. type: string
  2570. tradeprice:
  2571. description: 成交价格
  2572. type: number
  2573. tradeqty:
  2574. description: 成交数量
  2575. type: integer
  2576. tradetime:
  2577. description: 成交时间
  2578. type: string
  2579. updatetime:
  2580. description: 更新时间
  2581. type: string
  2582. required:
  2583. - asapplyid
  2584. - buyorsell
  2585. - goodscode
  2586. - goodsgroupid
  2587. - goodsgroupname
  2588. - goodsname
  2589. - tradeid
  2590. type: object
  2591. erms2.QuerySpotContractRsp:
  2592. properties:
  2593. accountid:
  2594. description: 资金账户ID
  2595. type: integer
  2596. areauserid:
  2597. description: 所属机构
  2598. type: integer
  2599. closedate:
  2600. description: 终止日期
  2601. type: string
  2602. closeremark:
  2603. description: 结束备注
  2604. type: string
  2605. closetradedate:
  2606. description: 完结交易日(yyyyMMdd)
  2607. type: string
  2608. closetype:
  2609. description: 终止类型 - 1:违约 2:提前终止
  2610. type: integer
  2611. contractamount:
  2612. description: 合同金额
  2613. type: number
  2614. contractattachment:
  2615. description: 合同附件
  2616. type: string
  2617. contractno:
  2618. description: 现货合同编号
  2619. type: string
  2620. contractqty:
  2621. description: 合同数量(数值) (用于计算)
  2622. type: number
  2623. contractqtychar:
  2624. description: 合同数量\已订价数量 (用于显示)
  2625. type: string
  2626. contractstatus:
  2627. description: 合同状态 - 0:未结束 1:已结束
  2628. type: integer
  2629. contracttype:
  2630. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2631. type: integer
  2632. customeraccountid:
  2633. description: 客户资金账户ID
  2634. type: integer
  2635. customeruserid:
  2636. description: 客户ID
  2637. type: integer
  2638. deliverygoodsdesc:
  2639. description: 品种说明
  2640. type: string
  2641. deliverygoodsid:
  2642. description: 现货品种ID
  2643. type: integer
  2644. handlestatus:
  2645. description: 处理状态
  2646. type: integer
  2647. invoiceatt:
  2648. description: 发票附件
  2649. type: string
  2650. invoicedatetime:
  2651. description: 开收票更新时间
  2652. type: string
  2653. invoiceopentime:
  2654. description: 开票时间
  2655. type: string
  2656. invoiceremark:
  2657. description: 发票备注
  2658. type: string
  2659. invoicestatus:
  2660. description: 开收票状态 - 0:未开票 1:已开票
  2661. type: integer
  2662. lastdate:
  2663. description: 交货时间
  2664. type: string
  2665. marketid:
  2666. description: 市场ID
  2667. type: integer
  2668. paydatetime:
  2669. description: 收付款更新时间
  2670. type: string
  2671. payremark:
  2672. description: 收付款备注
  2673. type: string
  2674. paystatus:
  2675. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2676. type: integer
  2677. positionqty:
  2678. description: 头寸数量 - 合同数量去小数部分
  2679. type: integer
  2680. producttype:
  2681. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2682. type: integer
  2683. relatedqty:
  2684. description: 已关联数量
  2685. type: number
  2686. relatedstatus:
  2687. description: 关联完结状态 - 0:未结束 1:已结束
  2688. type: integer
  2689. remark:
  2690. description: 备注
  2691. type: string
  2692. signdate:
  2693. description: 签订日期
  2694. type: string
  2695. spotcontractid:
  2696. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2697. type: string
  2698. spotdatetime:
  2699. description: 收发货更新时间
  2700. type: string
  2701. spotprice:
  2702. description: 价格
  2703. type: number
  2704. spotremark:
  2705. description: 收发货备注
  2706. type: string
  2707. spotstatus:
  2708. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2709. type: integer
  2710. tradedate:
  2711. description: 交易日(yyyyMMdd)
  2712. type: string
  2713. userid:
  2714. description: 业务员用户ID
  2715. type: integer
  2716. warehouseid:
  2717. description: 仓库ID
  2718. type: integer
  2719. wrfactortypeid:
  2720. description: 仓单要素类型ID
  2721. type: integer
  2722. wrstandardid:
  2723. description: 仓单标准ID(SEQ_WRSTANDARD)
  2724. type: integer
  2725. required:
  2726. - spotcontractid
  2727. type: object
  2728. erms3.AddErms2ASApplyReq:
  2729. properties:
  2730. applybasis:
  2731. description: 申请基差
  2732. type: number
  2733. applystatus:
  2734. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2735. type: integer
  2736. asapplyid:
  2737. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2738. type: integer
  2739. asname:
  2740. description: 策略名称
  2741. type: string
  2742. asno:
  2743. description: 策略编号
  2744. type: string
  2745. auditid:
  2746. description: 审核人
  2747. type: integer
  2748. auditremark:
  2749. description: 审核备注
  2750. type: string
  2751. audittime:
  2752. description: 审核时间
  2753. type: string
  2754. biztype:
  2755. description: 业务类型 - 1:正向套利 2:反向套利
  2756. type: integer
  2757. createtime:
  2758. description: 创建时间
  2759. type: string
  2760. creatorid:
  2761. description: 创建人
  2762. type: integer
  2763. deliverygoodsid:
  2764. description: 现货品种ID
  2765. type: integer
  2766. futurequote:
  2767. description: 期货额度
  2768. type: number
  2769. goodsgroupid:
  2770. description: 期货品种ID
  2771. type: integer
  2772. marketid:
  2773. description: 市场ID
  2774. type: integer
  2775. remark:
  2776. description: 备注
  2777. type: string
  2778. spotquota:
  2779. description: 现货额度
  2780. type: number
  2781. tradedate:
  2782. description: 交易日(yyyyMMdd)
  2783. type: string
  2784. userid:
  2785. description: 所属机构
  2786. type: integer
  2787. required:
  2788. - asapplyid
  2789. type: object
  2790. erms3.AddErms2SpotTradeApplyReq:
  2791. properties:
  2792. applyjsondetail:
  2793. description: 申请明细(JSON)
  2794. type: string
  2795. applystatus:
  2796. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2797. type: integer
  2798. areauserid:
  2799. description: 所属机构
  2800. type: integer
  2801. auditid:
  2802. description: 审核人
  2803. type: integer
  2804. auditremark:
  2805. description: 审核备注
  2806. type: string
  2807. audittime:
  2808. description: 审核时间
  2809. type: string
  2810. createtime:
  2811. description: 创建时间
  2812. type: string
  2813. creatorid:
  2814. description: 创建人
  2815. type: integer
  2816. deliverygoodsid:
  2817. description: 现货品种ID
  2818. type: integer
  2819. futureaccountid:
  2820. description: 期货资金账户
  2821. type: integer
  2822. goodsgroupid:
  2823. description: 期货品种
  2824. type: integer
  2825. marketid:
  2826. description: 市场ID
  2827. type: integer
  2828. remark:
  2829. description: 备注
  2830. type: string
  2831. spotaccountid:
  2832. description: 现货资金账户
  2833. type: integer
  2834. spottradeid:
  2835. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2836. type: integer
  2837. spottradename:
  2838. description: 业务名称
  2839. type: string
  2840. spottradeno:
  2841. description: 业务编号
  2842. type: string
  2843. tradedate:
  2844. description: 交易日(yyyyMMdd)
  2845. type: string
  2846. wrstandardid:
  2847. description: 仓单标准ID
  2848. type: integer
  2849. required:
  2850. - spottradeid
  2851. type: object
  2852. erms3.AddSpotContractApplyReq:
  2853. properties:
  2854. accountid:
  2855. description: 资金账户ID
  2856. type: integer
  2857. areauserid:
  2858. description: 所属机构
  2859. type: integer
  2860. contractattachment:
  2861. description: 合同附件
  2862. type: string
  2863. contractno:
  2864. description: 现货合同编号
  2865. type: string
  2866. contracttype:
  2867. description: 现货合同类型 - 1:采购 -1:销售
  2868. type: integer
  2869. creatorid:
  2870. description: 申请人
  2871. type: integer
  2872. customeraccountid:
  2873. description: 客户资金账户ID
  2874. type: integer
  2875. customeruserid:
  2876. description: 客户ID
  2877. type: integer
  2878. details:
  2879. description: 明细
  2880. items:
  2881. $ref: '#/definitions/erms3.SoptContractDetail'
  2882. type: array
  2883. orimargin:
  2884. description: 初始保证金
  2885. type: number
  2886. remark:
  2887. description: 备注
  2888. type: string
  2889. signdate:
  2890. description: 签订日期
  2891. type: string
  2892. required:
  2893. - accountid
  2894. - areauserid
  2895. - contractno
  2896. - contracttype
  2897. - customeraccountid
  2898. - customeruserid
  2899. - details
  2900. - orimargin
  2901. - signdate
  2902. type: object
  2903. erms3.AddSpotContractApplyRsp:
  2904. properties:
  2905. contractno:
  2906. description: 现货合同编号
  2907. type: string
  2908. spotcontractid:
  2909. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2910. type: integer
  2911. required:
  2912. - contractno
  2913. type: object
  2914. erms3.AddUserInfoApplyReq:
  2915. properties:
  2916. accountid:
  2917. description: 交易系统帐号Id (加密存储)
  2918. type: integer
  2919. areacode:
  2920. description: 机构代码
  2921. type: string
  2922. areaid:
  2923. description: 机构Id
  2924. type: integer
  2925. attachment1:
  2926. description: 附件1
  2927. type: string
  2928. attachment2:
  2929. description: 附件2
  2930. type: string
  2931. attachment3:
  2932. description: 附件3
  2933. type: string
  2934. attachment4:
  2935. description: 附件4
  2936. type: string
  2937. attachment5:
  2938. description: 附件5
  2939. type: string
  2940. auditedby:
  2941. description: 审核人
  2942. type: string
  2943. auditime:
  2944. description: 审核时间
  2945. type: string
  2946. auditsrc:
  2947. description: 审核来源 - 1:管理端 2:终端
  2948. type: integer
  2949. bankaccount:
  2950. description: 银行帐号 (加密存储)
  2951. type: string
  2952. bankaccountname:
  2953. description: 收款人名称
  2954. type: string
  2955. bankcardbackphotourl:
  2956. description: 银行卡背面照地址
  2957. type: string
  2958. bankcardfrontphotourl:
  2959. description: 银行卡正面照地址
  2960. type: string
  2961. bankid:
  2962. description: 银行编码
  2963. type: string
  2964. bankname:
  2965. description: 银行名称
  2966. type: string
  2967. bankpictureurl:
  2968. description: 银行卡正面地址
  2969. type: string
  2970. biznature:
  2971. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2972. type: integer
  2973. bizscope:
  2974. description: 企业经营范围(企业)
  2975. type: string
  2976. biztype:
  2977. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2978. type: integer
  2979. brokerid:
  2980. description: 经纪人ID(加密存储)
  2981. type: string
  2982. cardaddress:
  2983. description: 证件地址 (加密存储)
  2984. type: string
  2985. cardbackphotourl:
  2986. description: 背面证件照地址
  2987. type: string
  2988. cardfrontphotourl:
  2989. description: 正面证件照地址
  2990. type: string
  2991. cardnum:
  2992. description: 证件号码 (加密存储)
  2993. type: string
  2994. cardtype:
  2995. description: 证件类型
  2996. type: integer
  2997. cityid:
  2998. description: 市
  2999. type: integer
  3000. company:
  3001. description: 公司(个人)
  3002. type: string
  3003. contactcardbackphotourl:
  3004. description: 联系人证件背面图片地址
  3005. type: string
  3006. contactcardfrontphotourl:
  3007. description: 联系人证件正面图片地址
  3008. type: string
  3009. contactname:
  3010. description: 联系人
  3011. type: string
  3012. countryid:
  3013. description: 国家
  3014. type: integer
  3015. createtime:
  3016. description: 开户申请时间
  3017. type: string
  3018. cusbankid:
  3019. description: 签约类型
  3020. type: string
  3021. cusbankname:
  3022. description: 签约类型名称
  3023. type: string
  3024. customername:
  3025. description: 客户名称(企业名称)
  3026. type: string
  3027. districtid:
  3028. description: 地区
  3029. type: integer
  3030. email:
  3031. description: Email地址(加密存储)
  3032. type: string
  3033. halfbodyphotourl:
  3034. description: 半身照地址
  3035. type: string
  3036. headurl:
  3037. description: 头像地址
  3038. type: string
  3039. ipaddress:
  3040. description: IP地址
  3041. type: string
  3042. isvalidate:
  3043. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3044. type: string
  3045. legalcardbackphotourl:
  3046. description: 法人身份证背面照地址
  3047. type: string
  3048. legalcardfrontphotourl:
  3049. description: 法人身份证正面照地址
  3050. type: string
  3051. legalpersonname:
  3052. description: 法人姓名(企业)
  3053. type: string
  3054. logincode:
  3055. description: 登录帐号 (加密存储)
  3056. type: string
  3057. memberareaid:
  3058. description: 所属会员ID
  3059. type: integer
  3060. mobile2:
  3061. description: 手机号码[明文-尚志]
  3062. type: string
  3063. mobilephone:
  3064. description: 手机号码 (加密存储)
  3065. type: string
  3066. modifiedby:
  3067. description: 修改人帐号
  3068. type: integer
  3069. modifiedtime:
  3070. description: 修改时间
  3071. type: string
  3072. nickname:
  3073. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3074. type: string
  3075. openmode:
  3076. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3077. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3078. type: integer
  3079. otherurl:
  3080. description: 其它图片地址[使用分号分隔]
  3081. type: string
  3082. postalcode:
  3083. description: 邮政编码
  3084. type: string
  3085. provinceid:
  3086. description: 省
  3087. type: integer
  3088. proxystatementurl:
  3089. description: 授权委托书
  3090. type: string
  3091. qq:
  3092. description: QQ(加密存储
  3093. type: string
  3094. referral:
  3095. description: 推荐人编码
  3096. type: string
  3097. remark:
  3098. description: 备注
  3099. type: string
  3100. removebeforestatus:
  3101. description: REMOVEBEFORESTATUS
  3102. type: integer
  3103. sex:
  3104. description: 性别 - 0:女 1:男
  3105. type: integer
  3106. signedstatus:
  3107. description: 账户一号签签约状态
  3108. type: integer
  3109. signpdfurl:
  3110. description: 签约pdf文件
  3111. type: string
  3112. subbranch:
  3113. description: 开户支行
  3114. type: string
  3115. taxpayernum:
  3116. description: 纳税人识别号
  3117. type: string
  3118. telphone:
  3119. description: 联系电话(加密存储)
  3120. type: string
  3121. userid:
  3122. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3123. type: integer
  3124. userinfotype:
  3125. description: 用户信息类型 - 1:个人 2:企业
  3126. type: integer
  3127. username:
  3128. description: 用户姓名
  3129. type: string
  3130. userstate:
  3131. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3132. type: integer
  3133. usertype:
  3134. description: 用户类型 - 1:投资者 2:机构
  3135. type: integer
  3136. videourl:
  3137. description: 视频地址
  3138. type: string
  3139. wechat:
  3140. description: 微信号 (加密存储)
  3141. type: string
  3142. required:
  3143. - userid
  3144. type: object
  3145. erms3.CustomerInfo:
  3146. properties:
  3147. accountids:
  3148. description: 资金账户ID列表
  3149. items:
  3150. type: integer
  3151. type: array
  3152. customername:
  3153. description: 名称(企业名称)
  3154. type: string
  3155. mobile:
  3156. description: 手机号码
  3157. type: string
  3158. userid:
  3159. description: 用户ID
  3160. type: integer
  3161. required:
  3162. - userid
  3163. type: object
  3164. erms3.ModifyUserInfoApplyReq:
  3165. properties:
  3166. accountid:
  3167. description: 交易系统帐号Id (加密存储)
  3168. type: integer
  3169. areacode:
  3170. description: 机构代码
  3171. type: string
  3172. areaid:
  3173. description: 机构Id
  3174. type: integer
  3175. attachment1:
  3176. description: 附件1
  3177. type: string
  3178. attachment2:
  3179. description: 附件2
  3180. type: string
  3181. attachment3:
  3182. description: 附件3
  3183. type: string
  3184. attachment4:
  3185. description: 附件4
  3186. type: string
  3187. attachment5:
  3188. description: 附件5
  3189. type: string
  3190. auditedby:
  3191. description: 审核人
  3192. type: string
  3193. auditime:
  3194. description: 审核时间
  3195. type: string
  3196. auditsrc:
  3197. description: 审核来源 - 1:管理端 2:终端
  3198. type: integer
  3199. bankaccount:
  3200. description: 银行帐号 (加密存储)
  3201. type: string
  3202. bankaccountname:
  3203. description: 收款人名称
  3204. type: string
  3205. bankcardbackphotourl:
  3206. description: 银行卡背面照地址
  3207. type: string
  3208. bankcardfrontphotourl:
  3209. description: 银行卡正面照地址
  3210. type: string
  3211. bankid:
  3212. description: 银行编码
  3213. type: string
  3214. bankname:
  3215. description: 银行名称
  3216. type: string
  3217. bankpictureurl:
  3218. description: 银行卡正面地址
  3219. type: string
  3220. biznature:
  3221. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3222. type: integer
  3223. bizscope:
  3224. description: 企业经营范围(企业)
  3225. type: string
  3226. biztype:
  3227. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3228. type: integer
  3229. brokerid:
  3230. description: 经纪人ID(加密存储)
  3231. type: string
  3232. cardaddress:
  3233. description: 证件地址 (加密存储)
  3234. type: string
  3235. cardbackphotourl:
  3236. description: 背面证件照地址
  3237. type: string
  3238. cardfrontphotourl:
  3239. description: 正面证件照地址
  3240. type: string
  3241. cardnum:
  3242. description: 证件号码 (加密存储)
  3243. type: string
  3244. cardtype:
  3245. description: 证件类型
  3246. type: integer
  3247. cityid:
  3248. description: 市
  3249. type: integer
  3250. company:
  3251. description: 公司(个人)
  3252. type: string
  3253. contactcardbackphotourl:
  3254. description: 联系人证件背面图片地址
  3255. type: string
  3256. contactcardfrontphotourl:
  3257. description: 联系人证件正面图片地址
  3258. type: string
  3259. contactname:
  3260. description: 联系人
  3261. type: string
  3262. countryid:
  3263. description: 国家
  3264. type: integer
  3265. createtime:
  3266. description: 开户申请时间
  3267. type: string
  3268. cusbankid:
  3269. description: 签约类型
  3270. type: string
  3271. cusbankname:
  3272. description: 签约类型名称
  3273. type: string
  3274. customername:
  3275. description: 客户名称(企业名称)
  3276. type: string
  3277. districtid:
  3278. description: 地区
  3279. type: integer
  3280. email:
  3281. description: Email地址(加密存储)
  3282. type: string
  3283. halfbodyphotourl:
  3284. description: 半身照地址
  3285. type: string
  3286. headurl:
  3287. description: 头像地址
  3288. type: string
  3289. ipaddress:
  3290. description: IP地址
  3291. type: string
  3292. isvalidate:
  3293. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3294. type: string
  3295. legalcardbackphotourl:
  3296. description: 法人身份证背面照地址
  3297. type: string
  3298. legalcardfrontphotourl:
  3299. description: 法人身份证正面照地址
  3300. type: string
  3301. legalpersonname:
  3302. description: 法人姓名(企业)
  3303. type: string
  3304. logincode:
  3305. description: 登录帐号 (加密存储)
  3306. type: string
  3307. memberareaid:
  3308. description: 所属会员ID
  3309. type: integer
  3310. mobile2:
  3311. description: 手机号码[明文-尚志]
  3312. type: string
  3313. mobilephone:
  3314. description: 手机号码 (加密存储)
  3315. type: string
  3316. modifiedby:
  3317. description: 修改人帐号
  3318. type: integer
  3319. modifiedtime:
  3320. description: 修改时间
  3321. type: string
  3322. nickname:
  3323. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3324. type: string
  3325. openmode:
  3326. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3327. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3328. type: integer
  3329. otherurl:
  3330. description: 其它图片地址[使用分号分隔]
  3331. type: string
  3332. postalcode:
  3333. description: 邮政编码
  3334. type: string
  3335. provinceid:
  3336. description: 省
  3337. type: integer
  3338. proxystatementurl:
  3339. description: 授权委托书
  3340. type: string
  3341. qq:
  3342. description: QQ(加密存储
  3343. type: string
  3344. referral:
  3345. description: 推荐人编码
  3346. type: string
  3347. remark:
  3348. description: 备注
  3349. type: string
  3350. removebeforestatus:
  3351. description: REMOVEBEFORESTATUS
  3352. type: integer
  3353. sex:
  3354. description: 性别 - 0:女 1:男
  3355. type: integer
  3356. signedstatus:
  3357. description: 账户一号签签约状态
  3358. type: integer
  3359. signpdfurl:
  3360. description: 签约pdf文件
  3361. type: string
  3362. subbranch:
  3363. description: 开户支行
  3364. type: string
  3365. taxpayernum:
  3366. description: 纳税人识别号
  3367. type: string
  3368. telphone:
  3369. description: 联系电话(加密存储)
  3370. type: string
  3371. userid:
  3372. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3373. type: integer
  3374. userinfotype:
  3375. description: 用户信息类型 - 1:个人 2:企业
  3376. type: integer
  3377. username:
  3378. description: 用户姓名
  3379. type: string
  3380. userstate:
  3381. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3382. type: integer
  3383. usertype:
  3384. description: 用户类型 - 1:投资者 2:机构
  3385. type: integer
  3386. videourl:
  3387. description: 视频地址
  3388. type: string
  3389. wechat:
  3390. description: 微信号 (加密存储)
  3391. type: string
  3392. required:
  3393. - userid
  3394. type: object
  3395. erms3.QryAuditContractRsp:
  3396. properties:
  3397. accountid:
  3398. description: 交易员ID
  3399. type: string
  3400. applystatus:
  3401. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3402. type: integer
  3403. curdeliveryqty:
  3404. description: 未交收量
  3405. type: integer
  3406. customername:
  3407. description: 采购方ID
  3408. type: string
  3409. deliverygoodsid:
  3410. description: 品种ID
  3411. type: string
  3412. deliveryqty:
  3413. description: 交收量
  3414. type: integer
  3415. enumdicname:
  3416. description: 单位名称
  3417. type: string
  3418. matchaccountid:
  3419. description: 业务员ID
  3420. type: string
  3421. matchcustomername:
  3422. description: 销售方ID
  3423. type: string
  3424. pricedqty:
  3425. description: 定价量
  3426. type: number
  3427. signdate:
  3428. description: 签订日期
  3429. type: string
  3430. spotcontractid:
  3431. description: 合同ID
  3432. type: string
  3433. totaldqty:
  3434. description: 合同量
  3435. type: number
  3436. unpricedqty:
  3437. description: 未定价量
  3438. type: number
  3439. wrstandardname:
  3440. description: 商品名称
  3441. type: string
  3442. required:
  3443. - matchcustomername
  3444. - spotcontractid
  3445. type: object
  3446. erms3.QryPendingBizRsp:
  3447. properties:
  3448. accountid:
  3449. description: 现货账户
  3450. type: string
  3451. areaname:
  3452. description: 所属部门
  3453. type: string
  3454. bizid:
  3455. description: 业务ID
  3456. type: string
  3457. bizname:
  3458. description: 业务名称
  3459. type: string
  3460. status:
  3461. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3462. type: integer
  3463. type:
  3464. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3465. type: integer
  3466. type: object
  3467. erms3.QueryBusinessInfoRsp:
  3468. properties:
  3469. businessid:
  3470. description: 业务ID.
  3471. type: integer
  3472. buyamount:
  3473. description: 采购额.
  3474. type: number
  3475. buyqty:
  3476. description: 采购量.
  3477. type: string
  3478. futurepl:
  3479. description: 期货盈亏.
  3480. type: number
  3481. futureqty:
  3482. description: 期货敞口.
  3483. type: string
  3484. goodsid:
  3485. description: 商品名称/商品代码.
  3486. type: string
  3487. hedgingqty:
  3488. description: 套保量.
  3489. type: string
  3490. sellamount:
  3491. description: 销售额.
  3492. type: number
  3493. sellqty:
  3494. description: 销售量.
  3495. type: string
  3496. spotmarketvalue:
  3497. description: 现货市值.
  3498. type: number
  3499. spotpl:
  3500. description: 浮动权益.
  3501. type: number
  3502. spotqty:
  3503. description: 现货量.
  3504. type: string
  3505. statu:
  3506. description: 状态,0-未结束 1-已结束.
  3507. type: integer
  3508. totalpl:
  3509. description: 总盈亏.
  3510. type: number
  3511. totalqty:
  3512. description: 总敞口.
  3513. type: string
  3514. type:
  3515. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3516. type: integer
  3517. type: object
  3518. erms3.QuerySpotContractAppleFormRsp:
  3519. properties:
  3520. goodses:
  3521. description: 合约列表
  3522. items:
  3523. $ref: '#/definitions/models.GoodsIDAndName'
  3524. type: array
  3525. oppositeusers:
  3526. description: 对方账号列表
  3527. items:
  3528. $ref: '#/definitions/erms3.CustomerInfo'
  3529. type: array
  3530. ouruser:
  3531. $ref: '#/definitions/erms3.CustomerInfo'
  3532. description: 我方账号
  3533. warehouseinfos:
  3534. description: 仓库信息列表
  3535. items:
  3536. $ref: '#/definitions/models.Warehouseinfo'
  3537. type: array
  3538. wrstandards:
  3539. description: 仓单标准列表
  3540. items:
  3541. $ref: '#/definitions/models.WRStandardInfo'
  3542. type: array
  3543. type: object
  3544. erms3.QuerySpotContractInfoRsp:
  3545. properties:
  3546. accountid:
  3547. description: 表示交易员ID.
  3548. type: integer
  3549. curdeliveryqty:
  3550. description: 表示未交收量.
  3551. type: number
  3552. customername:
  3553. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3554. type: string
  3555. deliverygoodsid:
  3556. description: 表示品种ID.
  3557. type: string
  3558. deliveryqty:
  3559. description: 表示交收量.
  3560. type: number
  3561. matchaccountid:
  3562. description: 表示业务员ID.
  3563. type: integer
  3564. matchcustomername:
  3565. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3566. type: string
  3567. priceqty:
  3568. description: 表示定价量.
  3569. type: number
  3570. relatedbizid:
  3571. description: 表示业务ID.
  3572. type: string
  3573. signdate:
  3574. description: 表示签订日期.
  3575. type: string
  3576. spotcontractid:
  3577. description: 合同ID
  3578. type: string
  3579. status:
  3580. description: 表示状态,0-履约中 1-已完成.
  3581. type: integer
  3582. totalqty:
  3583. description: 表示合同量.
  3584. type: number
  3585. unpricedqty:
  3586. description: 表示未定价量.
  3587. type: number
  3588. wrstandardname:
  3589. description: 表示商品ID.
  3590. type: string
  3591. type: object
  3592. erms3.QueryUserInfoAppliesRsp:
  3593. properties:
  3594. biznature:
  3595. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3596. type: integer
  3597. contactname:
  3598. description: 联系人
  3599. type: string
  3600. createtime:
  3601. description: 开户申请时间
  3602. type: string
  3603. userid:
  3604. description: 用户ID(自增ID)
  3605. type: integer
  3606. userinfotype:
  3607. description: 用户信息类型 - 1:个人 2:企业
  3608. type: integer
  3609. username:
  3610. description: 用户姓名
  3611. type: string
  3612. userstate:
  3613. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3614. type: integer
  3615. required:
  3616. - userid
  3617. type: object
  3618. erms3.QueryUserInfosRsp:
  3619. properties:
  3620. biznature:
  3621. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3622. type: integer
  3623. contactname:
  3624. description: 联系人
  3625. type: string
  3626. customername:
  3627. description: 客户名称(企业名称)
  3628. type: string
  3629. userid:
  3630. description: 用户ID
  3631. type: integer
  3632. userinfotype:
  3633. description: 用户信息类型 - 1:个人 2:企业
  3634. type: integer
  3635. userstatus:
  3636. description: 用户状态 - 1:正常 2:注销
  3637. type: integer
  3638. required:
  3639. - userid
  3640. type: object
  3641. erms3.SoptContractDetail:
  3642. properties:
  3643. deliverygoodsdesc:
  3644. description: 现货品种说明
  3645. type: string
  3646. deliverygoodsid:
  3647. description: 现货品种ID
  3648. type: integer
  3649. deliverygoodsname:
  3650. description: 现货品种名称
  3651. type: string
  3652. pointdesc:
  3653. description: 点价描述
  3654. type: string
  3655. producttype:
  3656. description: 产品类型 1:标准仓单 2:等标 3:非标
  3657. type: integer
  3658. producttypename:
  3659. description: 产品类型名称
  3660. type: string
  3661. spotPointOrderVoList:
  3662. description: 点价列表
  3663. items:
  3664. $ref: '#/definitions/erms3.SpotPointOrder'
  3665. type: array
  3666. spotPriceOrderList:
  3667. description: 定价列表
  3668. items:
  3669. $ref: '#/definitions/erms3.SpotPriceOrder'
  3670. type: array
  3671. unitname:
  3672. description: 单位名称
  3673. type: string
  3674. warehouseid:
  3675. description: 仓库ID
  3676. type: integer
  3677. warehousename:
  3678. description: 仓库名称
  3679. type: string
  3680. wrstandardid:
  3681. description: 交易标的ID
  3682. type: integer
  3683. wrstandardname:
  3684. description: 交易标的名称
  3685. type: string
  3686. required:
  3687. - deliverygoodsid
  3688. - producttype
  3689. - unitname
  3690. - warehouseid
  3691. - wrstandardid
  3692. - wrstandardname
  3693. type: object
  3694. erms3.SpotPointOrder:
  3695. properties:
  3696. basic:
  3697. description: 基差
  3698. type: number
  3699. deliveryenddate:
  3700. description: 交收结束日期
  3701. type: string
  3702. deliverystartdate:
  3703. description: 交收开始日期
  3704. type: string
  3705. enddate:
  3706. description: 点价结束日期
  3707. type: string
  3708. goodsid:
  3709. description: 商品ID
  3710. type: integer
  3711. goodsname:
  3712. description: 商品名称
  3713. type: string
  3714. qty:
  3715. description: 数量
  3716. type: number
  3717. startdate:
  3718. description: 点价开始日期
  3719. type: string
  3720. required:
  3721. - basic
  3722. - goodsid
  3723. - qty
  3724. type: object
  3725. erms3.SpotPriceOrder:
  3726. properties:
  3727. amount:
  3728. description: 金额
  3729. type: number
  3730. deliveryenddate:
  3731. description: 交收结束日期
  3732. type: string
  3733. deliverystartdate:
  3734. description: 交收开始日期
  3735. type: string
  3736. price:
  3737. description: 价格
  3738. type: number
  3739. qty:
  3740. description: 数量
  3741. type: number
  3742. required:
  3743. - amount
  3744. - price
  3745. - qty
  3746. type: object
  3747. hsby.GetHsbyMyCountRsp:
  3748. properties:
  3749. myCouponCount:
  3750. description: 我的优惠卷数量
  3751. type: integer
  3752. myOrderDetailListingCount:
  3753. description: 我的订单求购中数量
  3754. type: integer
  3755. myOrderDetailPreCount:
  3756. description: 我的订单抢购中数量
  3757. type: integer
  3758. myPackageUnReceiveCount:
  3759. description: 我的包裹待收货数量
  3760. type: integer
  3761. myPackageUnSendCount:
  3762. description: 我的包裹待发货数量
  3763. type: integer
  3764. myPayOrderCount:
  3765. description: 我的订单待付款数量
  3766. type: integer
  3767. type: object
  3768. hsby.QueryProvincesAndCitiesRsp:
  3769. properties:
  3770. cities:
  3771. description: 市
  3772. items:
  3773. $ref: '#/definitions/models.Division'
  3774. type: array
  3775. province:
  3776. $ref: '#/definitions/models.Division'
  3777. description: 省
  3778. type: object
  3779. models.Arearole:
  3780. properties:
  3781. createtime:
  3782. description: 创建时间
  3783. type: string
  3784. creatorid:
  3785. description: 创建人ID
  3786. type: integer
  3787. fromuserid:
  3788. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3789. type: integer
  3790. isreturnscore:
  3791. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3792. type: integer
  3793. modifierid:
  3794. description: 修改人ID
  3795. type: integer
  3796. modifytime:
  3797. description: 修改时间
  3798. type: string
  3799. orgtype:
  3800. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3801. type: integer
  3802. outuserid:
  3803. description: 外部账户[场外期权做市商]
  3804. type: string
  3805. parentuserid:
  3806. description: 上级组织机构(组织机构)
  3807. type: integer
  3808. roletype:
  3809. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3810. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3811. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3812. type: integer
  3813. rootuserid:
  3814. description: 顶级组织机构用户ID(组织机构)
  3815. type: integer
  3816. shoppassword:
  3817. description: 商城店铺登陆密码(商城店铺角色使用)
  3818. type: string
  3819. sublevelpath:
  3820. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3821. type: string
  3822. suborgtype:
  3823. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3824. type: integer
  3825. tradeaccountid:
  3826. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3827. type: integer
  3828. transurl:
  3829. description: 物流地址(物流机构)
  3830. type: string
  3831. userid:
  3832. description: 机构用户ID其他做市关系,都设置为 1
  3833. type: integer
  3834. required:
  3835. - roletype
  3836. - userid
  3837. type: object
  3838. models.Clientfixedadconfig:
  3839. properties:
  3840. adsort:
  3841. description: 排序
  3842. type: integer
  3843. adtype:
  3844. description: 广告位类型 - 1:新品抢购(HSBY)
  3845. type: integer
  3846. areauserid:
  3847. description: 所属机构ID
  3848. type: integer
  3849. createdate:
  3850. description: 创建时间
  3851. type: string
  3852. creatorid:
  3853. description: 创建人
  3854. type: integer
  3855. imagepath:
  3856. description: 图片
  3857. type: string
  3858. isshow:
  3859. description: 是否展示 - 0:不展示 1:展示
  3860. type: integer
  3861. modifierid:
  3862. description: 操作人
  3863. type: integer
  3864. recsize:
  3865. description: 推荐尺寸
  3866. type: string
  3867. title:
  3868. description: 标题
  3869. type: string
  3870. updatedate:
  3871. description: 更新时间
  3872. type: string
  3873. urlcontent:
  3874. description: 链接(地址或商品ID)
  3875. type: string
  3876. urltype:
  3877. description: 链接类型 - 1:直接地址 2:商品ID
  3878. type: integer
  3879. required:
  3880. - adsort
  3881. - adtype
  3882. type: object
  3883. models.DgFactoryItem:
  3884. properties:
  3885. dgfactoryitemid:
  3886. description: 选择项ID(SEQ_DGFACTORYITEM)
  3887. type: integer
  3888. dgfactoryitemtypeid:
  3889. description: 要素项类型
  3890. type: integer
  3891. dgfactoryitemvalue:
  3892. description: 要素项值(类型为仓库时填写仓库名称)
  3893. type: string
  3894. orderindex:
  3895. description: 顺序
  3896. type: integer
  3897. type: object
  3898. models.Division:
  3899. properties:
  3900. autoid:
  3901. description: 自增ID
  3902. type: integer
  3903. divisioncode:
  3904. description: 行政代码
  3905. type: string
  3906. divisionlevel:
  3907. description: 行政级别
  3908. type: string
  3909. divisionname:
  3910. description: 行政名称
  3911. type: string
  3912. modifierid:
  3913. description: 修改人
  3914. type: integer
  3915. modifytime:
  3916. description: 修改时间
  3917. type: string
  3918. parentcode:
  3919. description: 上级行政代码
  3920. type: string
  3921. pathname:
  3922. description: 路径名称
  3923. type: string
  3924. postcode:
  3925. description: 邮政编码
  3926. type: string
  3927. separablename:
  3928. description: 可拆分的全称
  3929. type: string
  3930. shortcode:
  3931. description: 地区简码
  3932. type: string
  3933. required:
  3934. - autoid
  3935. - divisioncode
  3936. type: object
  3937. models.Enumdicitem:
  3938. properties:
  3939. autoid:
  3940. description: 自增ID
  3941. type: integer
  3942. bankmappedvalue:
  3943. description: 银行服务对应值
  3944. type: string
  3945. enumdiccode:
  3946. description: 所属枚举代码
  3947. type: string
  3948. enumdicid:
  3949. description: 所属枚举ID
  3950. type: integer
  3951. enumdicname:
  3952. description: 枚举项名称
  3953. type: string
  3954. enumitemname:
  3955. description: 枚举项值
  3956. type: integer
  3957. enumitemstatus:
  3958. description: 枚举项状态 - 1.启用 2.不启用
  3959. type: integer
  3960. enumitemvalue:
  3961. description: 通用值 - [币种通用简写]
  3962. type: string
  3963. param1:
  3964. description: 参数1[币种:币种小数位]
  3965. type: string
  3966. param2:
  3967. description: 参数1[币种:币种显示单位]
  3968. type: string
  3969. remark:
  3970. description: 备注
  3971. type: string
  3972. required:
  3973. - autoid
  3974. - enumdiccode
  3975. - enumdicid
  3976. - enumitemname
  3977. type: object
  3978. models.Ermcp2AreaExposure:
  3979. properties:
  3980. areauserid:
  3981. description: 所属机构
  3982. type: integer
  3983. enumdicname:
  3984. description: 单位
  3985. type: string
  3986. futureqty:
  3987. description: 期货套期量
  3988. type: number
  3989. futureqtychange:
  3990. description: 期货变动量 = FutureQty - OriFutureQty
  3991. type: number
  3992. goodsunitid:
  3993. description: 单位ID
  3994. type: integer
  3995. hedgedspotexposure:
  3996. description: 被套期现货敞口量
  3997. type: number
  3998. hedgedspratio:
  3999. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4000. type: number
  4001. hedgedtotalexposourechange:
  4002. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4003. type: number
  4004. hedgedtotalexposure:
  4005. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4006. type: number
  4007. hedgeplanqty:
  4008. description: 套期计划量
  4009. type: number
  4010. hedgeplanqtychange:
  4011. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4012. type: number
  4013. hedgespotqty:
  4014. description: 被套期现货量
  4015. type: number
  4016. middlegoodsid:
  4017. description: 套保品种
  4018. type: integer
  4019. middlegoodsname:
  4020. description: 套保品种名称
  4021. type: string
  4022. orifutureqty:
  4023. description: 期初期货套期量
  4024. type: number
  4025. orihedgedspotexposure:
  4026. description: 期初被套期现货敞口量
  4027. type: number
  4028. orihedgedtotalexposure:
  4029. description: 期初套期敞口量
  4030. type: number
  4031. orihedgeplanqty:
  4032. description: 期初套期计划量
  4033. type: number
  4034. orihedgespotqty:
  4035. description: 期初被套期现货量
  4036. type: number
  4037. orispotexposure:
  4038. description: 期初现货敞口量
  4039. type: number
  4040. orispotqty:
  4041. description: 期初现货总量
  4042. type: number
  4043. oritotalexposure:
  4044. description: 期初总敞口量
  4045. type: number
  4046. spotexposure:
  4047. description: 现货敞口量
  4048. type: number
  4049. spotqty:
  4050. description: 现货总量
  4051. type: number
  4052. spotqtychange:
  4053. description: 现货变动量 = SpotQty - OriSpotQty
  4054. type: number
  4055. spratio:
  4056. description: 总期现比例 = 期货套期量/现货敞口量
  4057. type: number
  4058. totalexposure:
  4059. description: 总敞口量 = 现货敞口量 + 期货套期量
  4060. type: number
  4061. totalexposurechange:
  4062. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4063. type: number
  4064. updatetime:
  4065. description: 更新时间 --DATE
  4066. type: string
  4067. type: object
  4068. models.Ermcp2hedgeditem:
  4069. properties:
  4070. accountname:
  4071. description: 套期主体
  4072. type: string
  4073. applyid:
  4074. description: 申请人
  4075. type: integer
  4076. applysrc:
  4077. description: 申请来源 - 1:管理端 2:终端
  4078. type: integer
  4079. areauserid:
  4080. description: 企业ID
  4081. type: integer
  4082. auditid:
  4083. description: 审核人
  4084. type: integer
  4085. auditremark:
  4086. description: 审核备注
  4087. type: string
  4088. auditsrc:
  4089. description: 审核来源 - 1:管理端 2:终端
  4090. type: integer
  4091. audittime:
  4092. description: 审核时间
  4093. type: string
  4094. audittradedate:
  4095. description: 审核交易日(yyyyMMdd)
  4096. type: string
  4097. createtime:
  4098. description: 申请时间
  4099. type: string
  4100. curprice:
  4101. description: 当前市场价
  4102. type: number
  4103. curstock:
  4104. description: 期末库存量 = 采购总量 - 销售总量
  4105. type: number
  4106. deliverygoodsid:
  4107. description: 现货品种ID
  4108. type: integer
  4109. enddate:
  4110. description: 完成日期
  4111. type: string
  4112. endtradedate:
  4113. description: 完成交易日
  4114. type: string
  4115. enumdicname:
  4116. description: 单位
  4117. type: string
  4118. exeamount:
  4119. description: 执行市价总额
  4120. type: number
  4121. exeavgprice:
  4122. description: 执行市场均价= 执行市价总额 / 执行现货量
  4123. type: number
  4124. execontractamount:
  4125. description: 执行定价总额
  4126. type: number
  4127. exeqty:
  4128. description: 执行现货量
  4129. type: number
  4130. exerestamount:
  4131. description: 执行剩余市价总额【现货贸易】
  4132. type: number
  4133. futurefloatpl:
  4134. description: 期货浮动损益
  4135. type: number
  4136. futurehedgepl:
  4137. description: 期货实际损益
  4138. type: number
  4139. futurehedgeplchange:
  4140. description: 期货实际损益变动
  4141. type: number
  4142. futurepl:
  4143. description: 期货套期损益
  4144. type: number
  4145. futureplchange:
  4146. description: 期货套期损益变动
  4147. type: number
  4148. hedgeamount:
  4149. description: 套期市价总额
  4150. type: number
  4151. hedgecontractamount:
  4152. description: 套期定价总额 【定价采购合同】【现货贸易】
  4153. type: number
  4154. hedgeditemid:
  4155. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4156. type: string
  4157. hedgeditemname:
  4158. description: 项目名称
  4159. type: string
  4160. hedgeditemnum:
  4161. description: 项目编号
  4162. type: string
  4163. hedgeditemstatus:
  4164. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4165. type: integer
  4166. hedgedtype:
  4167. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4168. type: integer
  4169. hedgeqty:
  4170. description: 套期现货量
  4171. type: number
  4172. hedgerate:
  4173. description: 套保比率
  4174. type: number
  4175. hedgerestamount:
  4176. description: 套期剩余市价总额【现货贸易】
  4177. type: number
  4178. hedgesumpl:
  4179. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4180. type: number
  4181. middlegoodslist:
  4182. description: 套期商品列表
  4183. items:
  4184. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4185. type: array
  4186. oriavgprice:
  4187. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4188. type: number
  4189. orifuturehedgepl:
  4190. description: 期初期货实际损益
  4191. type: number
  4192. orifuturepl:
  4193. description: 期初期货套期损益
  4194. type: number
  4195. orispothedgepl:
  4196. description: 期初现货实际损益
  4197. type: number
  4198. orispotpl:
  4199. description: 期初现货套期损益
  4200. type: number
  4201. planenddate:
  4202. description: 计划结束日期
  4203. type: string
  4204. planstartdate:
  4205. description: 计划开始日期
  4206. type: string
  4207. remark:
  4208. description: 备注
  4209. type: string
  4210. spotbookamount:
  4211. description: 现货账面总额
  4212. type: number
  4213. spotfloatpl:
  4214. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4215. type: number
  4216. spothedgepl:
  4217. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4218. type: number
  4219. spothedgeplchange:
  4220. description: 现货实际损益变动
  4221. type: number
  4222. spotpl:
  4223. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4224. type: number
  4225. spotplchange:
  4226. description: 现货套期损益变动
  4227. type: number
  4228. spottradepl:
  4229. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4230. type: number
  4231. sumobspl:
  4232. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4233. type: number
  4234. tradeuserid:
  4235. description: 交易用户ID
  4236. type: integer
  4237. unexeqty:
  4238. description: 未执行现货量 = 套期现货量 - 执行现货量
  4239. type: number
  4240. updatetime:
  4241. description: 更新时间
  4242. type: string
  4243. vatpl:
  4244. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4245. type: number
  4246. vatrate:
  4247. description: 增值税
  4248. type: number
  4249. wrstandardid:
  4250. description: 现货商品ID
  4251. type: integer
  4252. wrstandardname:
  4253. description: 商品名称
  4254. type: string
  4255. type: object
  4256. models.Ermcp2hedgeditemlink:
  4257. properties:
  4258. areauserid:
  4259. description: 企业ID
  4260. type: integer
  4261. createtime:
  4262. description: '[关联时间]创建时间'
  4263. type: string
  4264. customeruserid:
  4265. description: 对手方 【3:采购合同 4:销售合同】
  4266. type: integer
  4267. deliverygoodsid:
  4268. description: 现货品种ID
  4269. type: integer
  4270. enumdicname:
  4271. description: 单位
  4272. type: string
  4273. hedgeditemid:
  4274. description: 被套期项目ID
  4275. type: integer
  4276. hedgeditemlinkid:
  4277. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4278. type: integer
  4279. hedgeditemnum:
  4280. description: 项目编号
  4281. type: string
  4282. hedgedtype:
  4283. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4284. type: integer
  4285. relatedamount:
  4286. description: 市价总额 = 关联数量 * 期初市场价
  4287. type: number
  4288. relatedhedgeplanid:
  4289. description: 关联计划ID 【1:采购计划 2:销售计划】
  4290. type: integer
  4291. relatedqty:
  4292. description: 关联数量
  4293. type: number
  4294. relatedspotcontractid:
  4295. description: 关联合同ID 【3:采购合同 4:销售合同】
  4296. type: integer
  4297. relatedtype:
  4298. description: 关联类型 - 1:套期关联 2:执行关联
  4299. type: integer
  4300. spotgoodsbrandid:
  4301. description: 现货品牌ID
  4302. type: integer
  4303. spotpricedamount:
  4304. description: '[关联定价总额]定价总额'
  4305. type: number
  4306. spotpricedavgprice:
  4307. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4308. type: number
  4309. spottype:
  4310. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4311. type: integer
  4312. tradeuserid:
  4313. description: 交易用户ID
  4314. type: integer
  4315. unexeqty:
  4316. description: 未执行现货量【项目关联时值】
  4317. type: number
  4318. wrstandardid:
  4319. description: 现货商品ID
  4320. type: integer
  4321. wrstandardname:
  4322. description: 现货商品
  4323. type: string
  4324. required:
  4325. - relatedspotcontractid
  4326. type: object
  4327. models.Ermcp2hedgeditemsDetail:
  4328. properties:
  4329. accountname:
  4330. description: 套期主体
  4331. type: string
  4332. areauserid:
  4333. description: 企业ID
  4334. type: integer
  4335. createtime:
  4336. description: '[日期时间]创建时间'
  4337. type: string
  4338. customeruserid:
  4339. description: 对手方 【3:采购合同 4:销售合同】
  4340. type: integer
  4341. deliverygoodsid:
  4342. description: 现货品种ID
  4343. type: integer
  4344. enumdicname:
  4345. description: 单位
  4346. type: string
  4347. hedgeditemid:
  4348. description: 被套期项目ID
  4349. type: string
  4350. hedgeditemspotid:
  4351. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4352. type: string
  4353. hedgedtype:
  4354. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4355. type: integer
  4356. hedgeplanno:
  4357. description: 计划编号
  4358. type: string
  4359. middlegoodschange:
  4360. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4361. type: number
  4362. oriavgprice:
  4363. description: 期初市场价[当初市场价]
  4364. type: number
  4365. relatedamount:
  4366. description: 市价总额 = 关联数量 * 期初市场价
  4367. type: number
  4368. relatedhedgeplanid:
  4369. description: 关联计划ID 【1:采购计划 2:销售计划】
  4370. type: integer
  4371. relatedqty:
  4372. description: '[期间变化量]关联数量'
  4373. type: number
  4374. relatedspotcontractid:
  4375. description: 关联合同ID 【3:采购合同 4:销售合同】
  4376. type: integer
  4377. relatedtype:
  4378. description: 关联类型 - 1:套期关联 2:执行关联
  4379. type: integer
  4380. spotgoodsbrandid:
  4381. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4382. type: integer
  4383. spotpricedamount:
  4384. description: 定价总额
  4385. type: number
  4386. spotpricedavgprice:
  4387. description: 现货均价 = 定价总额 / 关联数量
  4388. type: number
  4389. spottype:
  4390. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4391. type: integer
  4392. tradeuserid:
  4393. description: 交易用户ID
  4394. type: integer
  4395. unexeqty:
  4396. description: 未执行现货量 = 套期现货量 - 执行现货量
  4397. type: number
  4398. wrstandardid:
  4399. description: 现货商品ID
  4400. type: integer
  4401. wrstandardname:
  4402. description: 现货商品
  4403. type: string
  4404. type: object
  4405. models.Ermcp2hedgeditemspot:
  4406. properties:
  4407. areauserid:
  4408. description: 企业ID
  4409. type: integer
  4410. createtime:
  4411. description: 创建时间
  4412. type: string
  4413. customeruserid:
  4414. description: 对手方 【3:采购合同 4:销售合同】
  4415. type: integer
  4416. deliverygoodsid:
  4417. description: 现货品种ID
  4418. type: integer
  4419. enumdicname:
  4420. description: 单位
  4421. type: string
  4422. hedgeditemid:
  4423. description: 被套期项目ID
  4424. type: string
  4425. hedgeditemspotid:
  4426. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4427. type: string
  4428. hedgedtype:
  4429. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4430. type: integer
  4431. hedgeplanno:
  4432. description: 计划编号
  4433. type: string
  4434. oriavgprice:
  4435. description: 期初市场价[当初市场价]
  4436. type: number
  4437. relatedamount:
  4438. description: 市价总额 = 关联数量 * 期初市场价
  4439. type: number
  4440. relatedhedgeplanid:
  4441. description: 关联计划ID 【1:采购计划 2:销售计划】
  4442. type: integer
  4443. relatedqty:
  4444. description: 关联数量[数量]
  4445. type: number
  4446. relatedspotcontractid:
  4447. description: 关联合同ID 【3:采购合同 4:销售合同】
  4448. type: integer
  4449. relatedtype:
  4450. description: 关联类型 - 1:套期关联 2:执行关联
  4451. type: integer
  4452. spotgoodsbrandid:
  4453. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4454. type: integer
  4455. spotpricedamount:
  4456. description: 定价总额
  4457. type: number
  4458. spotpricedavgprice:
  4459. description: 现货均价 = 定价总额 / 关联数量
  4460. type: number
  4461. spottype:
  4462. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4463. type: integer
  4464. tradeuserid:
  4465. description: 交易用户ID
  4466. type: integer
  4467. wrstandardid:
  4468. description: 现货商品ID
  4469. type: integer
  4470. wrstandardname:
  4471. description: 现货商品
  4472. type: string
  4473. required:
  4474. - hedgeditemid
  4475. type: object
  4476. models.Ermcp2hedgeditemspotDetail:
  4477. properties:
  4478. accountname:
  4479. description: 对手方
  4480. type: string
  4481. areauserid:
  4482. description: 企业ID
  4483. type: integer
  4484. brandname:
  4485. description: 品牌
  4486. type: string
  4487. contractno:
  4488. description: 合同编号
  4489. type: string
  4490. createtime:
  4491. description: 创建时间
  4492. type: string
  4493. customeruserid:
  4494. description: 对手方 【3:采购合同 4:销售合同】
  4495. type: integer
  4496. deliverygoodsid:
  4497. description: 现货品种ID
  4498. type: integer
  4499. enumdicname:
  4500. description: 单位
  4501. type: string
  4502. hedgeditemid:
  4503. description: 被套期项目ID
  4504. type: string
  4505. hedgeditemspotid:
  4506. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4507. type: string
  4508. hedgedtype:
  4509. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4510. type: integer
  4511. oriavgprice:
  4512. description: 期初市场价[当初市场价]
  4513. type: number
  4514. relatedamount:
  4515. description: 市价总额 = 关联数量 * 期初市场价
  4516. type: number
  4517. relatedhedgeplanid:
  4518. description: 关联计划ID 【1:采购计划 2:销售计划】
  4519. type: integer
  4520. relatedqty:
  4521. description: 关联数量[数量]
  4522. type: number
  4523. relatedspotcontractid:
  4524. description: 关联合同ID 【3:采购合同 4:销售合同】
  4525. type: integer
  4526. relatedtype:
  4527. description: 关联类型 - 1:套期关联 2:执行关联
  4528. type: integer
  4529. spotgoodsbrandid:
  4530. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4531. type: integer
  4532. spotpricedamount:
  4533. description: 定价总额[金额]
  4534. type: number
  4535. spotpricedavgprice:
  4536. description: 现货均价 = 定价总额 / 关联数量
  4537. type: number
  4538. spottype:
  4539. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4540. type: integer
  4541. tradeuserid:
  4542. description: 交易用户ID
  4543. type: integer
  4544. wrstandardid:
  4545. description: 现货商品ID
  4546. type: integer
  4547. wrstandardname:
  4548. description: 现货商品
  4549. type: string
  4550. required:
  4551. - hedgeditemid
  4552. type: object
  4553. models.Ermcp2himiddlegoods:
  4554. properties:
  4555. futurehedgeqty:
  4556. description: 期货持仓套期量
  4557. type: number
  4558. hedgeditemid:
  4559. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4560. type: integer
  4561. hiexpsoure:
  4562. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4563. type: number
  4564. middlegoodscode:
  4565. description: 套保商品代码
  4566. type: string
  4567. middlegoodsid:
  4568. description: 套保品种ID
  4569. type: integer
  4570. middlegoodsname:
  4571. description: 套保商品名称
  4572. type: string
  4573. unexehedgeqty:
  4574. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4575. type: number
  4576. required:
  4577. - hedgeditemid
  4578. - middlegoodsid
  4579. type: object
  4580. models.Ermcp2stockspotchangelog:
  4581. properties:
  4582. accountname:
  4583. description: 套期主体
  4584. type: string
  4585. aftervalue:
  4586. description: 现货量
  4587. type: number
  4588. beforevalue:
  4589. description: 变更前现货量
  4590. type: number
  4591. contractno:
  4592. description: '[编号]现货合同编号'
  4593. type: string
  4594. contracttype:
  4595. description: 现货合同类型 - 1:采购 -1:销售
  4596. type: integer
  4597. createtime:
  4598. description: 创建时间
  4599. type: string
  4600. customerusername:
  4601. description: 对手方
  4602. type: string
  4603. deliverygoodsid:
  4604. description: 现货品种ID
  4605. type: integer
  4606. exetype:
  4607. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4608. type: integer
  4609. logid:
  4610. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4611. type: string
  4612. logvalue:
  4613. description: '[期间变化量]现货量变更值'
  4614. type: number
  4615. middlegoodschange:
  4616. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4617. type: number
  4618. operatelogtype:
  4619. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4620. 27:生产出库
  4621. type: integer
  4622. relatedid:
  4623. description: 现货合同ID
  4624. type: integer
  4625. spotgoodsbrandid:
  4626. description: 现货品牌ID
  4627. type: integer
  4628. tradedate:
  4629. description: 交易日(yyyyMMdd)
  4630. type: string
  4631. userid:
  4632. description: 机构ID
  4633. type: integer
  4634. warehouseinfoid:
  4635. description: 仓库ID
  4636. type: integer
  4637. wrfactortypeid:
  4638. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4639. type: integer
  4640. wrstandardid:
  4641. description: 现货商品ID
  4642. type: integer
  4643. wrstandardname:
  4644. description: 商品名称
  4645. type: string
  4646. type: object
  4647. models.Ermcp3AreaSpot:
  4648. properties:
  4649. areauserid:
  4650. description: 所属机构
  4651. type: integer
  4652. convertratio:
  4653. description: 套保系数
  4654. type: number
  4655. decreaseqty:
  4656. description: 减少数量=-(销售已定价数量+采购计划数量)
  4657. type: number
  4658. enumdicname:
  4659. description: 单位名称
  4660. type: string
  4661. increaseqty:
  4662. description: 增加数量=销售计划数量+采购已定价数量
  4663. type: number
  4664. oritoalspotqty:
  4665. description: 昨日数量
  4666. type: number
  4667. totalspotqty:
  4668. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4669. type: number
  4670. unitid:
  4671. description: 现货商品单位id
  4672. type: integer
  4673. updatetime:
  4674. description: 更新时间
  4675. type: string
  4676. wrstandardcode:
  4677. description: 现货商品代码
  4678. type: string
  4679. wrstandardid:
  4680. description: 现货商品ID(SEQ_WRSTANDARD)
  4681. type: integer
  4682. wrstandardname:
  4683. description: 现货商品名称
  4684. type: string
  4685. type: object
  4686. models.Ermcp3AreaSpotDetail:
  4687. properties:
  4688. contracttype:
  4689. description: 合同类型 1-采购 -1-销售
  4690. type: integer
  4691. createtime:
  4692. description: 创建时间
  4693. type: string
  4694. enumdicname:
  4695. description: 现货商品单位名称
  4696. type: string
  4697. logtype:
  4698. description: 记录类型 1-套保 2-现货合同
  4699. type: integer
  4700. qty:
  4701. description: 数量
  4702. type: number
  4703. recordname:
  4704. description: 类型名称
  4705. type: string
  4706. relatedid:
  4707. description: 套保计划ID/现货合同ID
  4708. type: string
  4709. relatedno:
  4710. description: 编号
  4711. type: string
  4712. strtime:
  4713. description: 时间
  4714. type: string
  4715. wrstandardcode:
  4716. description: 现货商品代码
  4717. type: string
  4718. wrstandardid:
  4719. description: 现货商品ID(SEQ_WRSTANDARD)
  4720. type: integer
  4721. wrstandardname:
  4722. description: 现货商品名称
  4723. type: string
  4724. type: object
  4725. models.Ermcp3AreaSpotPLReport:
  4726. properties:
  4727. accountid:
  4728. description: 期货账户ID (作废, 默认为0)
  4729. type: integer
  4730. accountname:
  4731. description: 机构名称
  4732. type: string
  4733. actualpl:
  4734. description: 现货损益
  4735. type: number
  4736. areauserid:
  4737. description: 所属机构\交易用户ID
  4738. type: integer
  4739. begindate:
  4740. description: 开始交易日
  4741. type: string
  4742. biztype:
  4743. description: 业务类型 - 1:套保 2:套利
  4744. type: integer
  4745. brandname:
  4746. description: 品牌名称
  4747. type: string
  4748. curamount:
  4749. description: 期末额
  4750. type: number
  4751. curaverageprice:
  4752. description: 期末均价
  4753. type: number
  4754. curbuyamount:
  4755. description: 期末采购总额
  4756. type: number
  4757. curbuyqty:
  4758. description: 期末采购总量
  4759. type: number
  4760. curmarketvalue:
  4761. description: 参考市值(期末市值)
  4762. type: number
  4763. curqty:
  4764. description: 期末量
  4765. type: number
  4766. currencyid:
  4767. description: 结算币种ID【原值】
  4768. type: integer
  4769. currencyname:
  4770. description: 币种名称
  4771. type: string
  4772. cursellamount:
  4773. description: 期末销售总额
  4774. type: number
  4775. cursellqty:
  4776. description: 期末销售总量
  4777. type: number
  4778. curspotprice:
  4779. description: 参考市价(最新价)
  4780. type: number
  4781. cycletime:
  4782. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4783. type: string
  4784. cycletype:
  4785. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4786. type: integer
  4787. deliverygoodscode:
  4788. description: 现货品种代码
  4789. type: string
  4790. deliverygoodsid:
  4791. description: 现货品种ID
  4792. type: integer
  4793. deliverygoodsname:
  4794. description: 现货品种名称
  4795. type: string
  4796. enddate:
  4797. description: 结束交易日
  4798. type: string
  4799. enumdicname:
  4800. description: 现货品种单位名称(作废)
  4801. type: string
  4802. floatpl:
  4803. description: 浮动损益
  4804. type: number
  4805. goodsunitid:
  4806. description: 现货品种单位id(作废)
  4807. type: integer
  4808. oriamount:
  4809. description: 期初额
  4810. type: number
  4811. oriaverageprice:
  4812. description: 期初均价
  4813. type: number
  4814. oribuyamount:
  4815. description: 期初采购总额
  4816. type: number
  4817. oribuyqty:
  4818. description: 期初采购总量
  4819. type: number
  4820. oriqty:
  4821. description: 期初量
  4822. type: number
  4823. orisellamount:
  4824. description: 期初销售总额
  4825. type: number
  4826. orisellqty:
  4827. description: 期初销售总量
  4828. type: number
  4829. reckondate:
  4830. description: 日照时期(yyyyMMdd)
  4831. type: string
  4832. spotgoodsbrandid:
  4833. description: 现货品牌ID
  4834. type: integer
  4835. todaybuyamount:
  4836. description: 今日采购额(今采购额)
  4837. type: number
  4838. todaybuyaverageprice:
  4839. description: 今日采购均价
  4840. type: number
  4841. todaybuyqty:
  4842. description: 今日采购量(今采购量)
  4843. type: number
  4844. todayinqty:
  4845. description: 今日入库量(今入库量)
  4846. type: number
  4847. todayoutqty:
  4848. description: 今日出库量(今出库量)
  4849. type: number
  4850. todaysellamount:
  4851. description: 今日销售额(今销售额)
  4852. type: number
  4853. todaysellaverageprice:
  4854. description: 今日销售均价
  4855. type: number
  4856. todaysellqty:
  4857. description: 今日销售量(今销售量)
  4858. type: number
  4859. unitid:
  4860. description: 品类单位id
  4861. type: integer
  4862. unitidname:
  4863. description: 品类单位名称
  4864. type: string
  4865. updatetime:
  4866. description: 更新时间
  4867. type: string
  4868. wrfactortypeid:
  4869. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4870. type: integer
  4871. wrstandardcode:
  4872. description: 现货商品(品类)代码
  4873. type: string
  4874. wrstandardid:
  4875. description: 现货品类ID
  4876. type: integer
  4877. wrstandardname:
  4878. description: 现货商品(品类)名称
  4879. type: string
  4880. type: object
  4881. models.Ermcp3AreaStock:
  4882. properties:
  4883. brandname:
  4884. description: 品牌名称
  4885. type: string
  4886. curstock:
  4887. description: 期末库存量(今日量)
  4888. type: number
  4889. deliverygoodscode:
  4890. description: 现货品种代码
  4891. type: string
  4892. deliverygoodsid:
  4893. description: 现货品种id
  4894. type: integer
  4895. deliverygoodsname:
  4896. description: 现货品种名称
  4897. type: string
  4898. enumdicname:
  4899. description: 单位名称
  4900. type: string
  4901. goodsunitid:
  4902. description: 现货商品单位id
  4903. type: integer
  4904. oristock:
  4905. description: 期初库存量(昨日量)
  4906. type: number
  4907. spotgoodsbrandid:
  4908. description: 现货品牌ID
  4909. type: integer
  4910. todaybuyinqty:
  4911. description: 今日采购入库量
  4912. type: number
  4913. todayproduceinqty:
  4914. description: 今日生产入库量
  4915. type: number
  4916. todayproduceoutqty:
  4917. description: 今日生产出库量
  4918. type: number
  4919. todayselloutqty:
  4920. description: 今日销售出库量
  4921. type: number
  4922. unitid:
  4923. description: 单位id
  4924. type: integer
  4925. updatetime:
  4926. description: 更新时间
  4927. type: string
  4928. userid:
  4929. description: 机构ID
  4930. type: integer
  4931. username:
  4932. description: 机构名称
  4933. type: string
  4934. warehousecode:
  4935. description: 仓库代码
  4936. type: string
  4937. warehouseinfoid:
  4938. description: 仓库ID
  4939. type: string
  4940. warehousename:
  4941. description: 仓库名称
  4942. type: string
  4943. warehousetype:
  4944. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4945. type: integer
  4946. wrstandardcode:
  4947. description: 品类代码
  4948. type: string
  4949. wrstandardid:
  4950. description: 品类ID
  4951. type: string
  4952. wrstandardname:
  4953. description: 品类名称
  4954. type: string
  4955. required:
  4956. - userid
  4957. type: object
  4958. models.Ermcp3AreaStockApply:
  4959. properties:
  4960. applyid:
  4961. description: 申请人
  4962. type: integer
  4963. applyname:
  4964. description: 申请人名称
  4965. type: string
  4966. applyremark:
  4967. description: 申请备注
  4968. type: string
  4969. applysrc:
  4970. description: 申请来源 - 1:管理端 2:终端
  4971. type: integer
  4972. applystatus:
  4973. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4974. type: integer
  4975. applytime:
  4976. description: 申请时间
  4977. type: string
  4978. auditid:
  4979. description: 审核人
  4980. type: integer
  4981. auditname:
  4982. description: 审核人名称
  4983. type: string
  4984. auditremark:
  4985. description: 审核备注
  4986. type: string
  4987. auditsrc:
  4988. description: 审核来源 - 1:管理端 2:终端
  4989. type: integer
  4990. audittime:
  4991. description: 审核时间
  4992. type: string
  4993. audittradedate:
  4994. description: 审核交易日(yyyyMMdd)
  4995. type: string
  4996. brandname:
  4997. description: 品牌名称
  4998. type: string
  4999. buynickname:
  5000. description: 采购方昵称
  5001. type: string
  5002. buyuserid:
  5003. description: 采购方userid
  5004. type: integer
  5005. buyusername:
  5006. description: 采购方名称
  5007. type: string
  5008. contractno:
  5009. description: 合同编号
  5010. type: string
  5011. contractqty:
  5012. description: 合同量
  5013. type: number
  5014. contracttype:
  5015. description: 现货合同类型 - 1:采购 -1:销售
  5016. type: integer
  5017. deliverygoodscode:
  5018. description: 现货品种代码
  5019. type: string
  5020. deliverygoodsid:
  5021. description: 现货品种id
  5022. type: integer
  5023. deliverygoodsname:
  5024. description: 现货品种名称
  5025. type: string
  5026. detailjson:
  5027. description: 明细数据
  5028. type: string
  5029. enumdicname:
  5030. description: 现货商品单位名称
  5031. type: string
  5032. inoutapplyid:
  5033. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5034. type: string
  5035. inouttype:
  5036. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5037. type: integer
  5038. pricetype:
  5039. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5040. type: integer
  5041. qty:
  5042. description: 数量
  5043. type: number
  5044. sellnickname:
  5045. description: 销售方昵称
  5046. type: string
  5047. selluserid:
  5048. description: 销售方userid
  5049. type: integer
  5050. sellusername:
  5051. description: 销售方名称
  5052. type: string
  5053. spotcontractid:
  5054. description: 关联现货合同ID
  5055. type: string
  5056. spotgoodsbrandid:
  5057. description: 现货品牌ID
  5058. type: integer
  5059. unitid:
  5060. description: 单位id
  5061. type: integer
  5062. userid:
  5063. description: 机构ID
  5064. type: integer
  5065. warehousecode:
  5066. description: 仓库代码
  5067. type: string
  5068. warehouseinfoid:
  5069. description: 现货仓库ID
  5070. type: string
  5071. warehousename:
  5072. description: 仓库名称
  5073. type: string
  5074. warehousetype:
  5075. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5076. type: integer
  5077. wrstandardcode:
  5078. description: 品类代码
  5079. type: string
  5080. wrstandardid:
  5081. description: 品类ID
  5082. type: integer
  5083. wrstandardname:
  5084. description: 品类名称
  5085. type: string
  5086. type: object
  5087. models.Ermcp3AreaStockApplySum:
  5088. properties:
  5089. brandname:
  5090. description: 品牌名称
  5091. type: string
  5092. inouttype:
  5093. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5094. type: integer
  5095. spotcontractid:
  5096. description: 关联现货合同ID
  5097. type: string
  5098. spotgoodsbrandid:
  5099. description: 品牌id
  5100. type: integer
  5101. totalqty:
  5102. description: 总数量
  5103. type: number
  5104. wrstandardid:
  5105. description: 品类id
  5106. type: integer
  5107. wrstandardname:
  5108. description: 品类名称
  5109. type: string
  5110. type: object
  5111. models.Ermcp3AreaStockReportEx:
  5112. properties:
  5113. begindate:
  5114. description: 开始交易日
  5115. type: string
  5116. brandname:
  5117. description: 品牌名称
  5118. type: string
  5119. curstock:
  5120. description: 期末库存量
  5121. type: number
  5122. cycletime:
  5123. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5124. type: string
  5125. cycletype:
  5126. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5127. type: integer
  5128. deliverygoodscode:
  5129. description: 现货品种代码
  5130. type: string
  5131. deliverygoodsid:
  5132. description: 现货品种id
  5133. type: integer
  5134. deliverygoodsname:
  5135. description: 现货品种名称
  5136. type: string
  5137. diffqty:
  5138. description: 库存变化量 = 期末 - 期初
  5139. type: number
  5140. enddate:
  5141. description: 结束交易日
  5142. type: string
  5143. enumdicname:
  5144. description: 单位名称
  5145. type: string
  5146. goodsunitid:
  5147. description: 现货单位id
  5148. type: integer
  5149. oristock:
  5150. description: 期初库存量
  5151. type: number
  5152. reckondate:
  5153. description: 日照时期(yyyyMMdd)
  5154. type: string
  5155. spotgoodsbrandid:
  5156. description: 现货品牌ID
  5157. type: integer
  5158. todaybuyinqty:
  5159. description: 今采购入库量
  5160. type: number
  5161. todayproduceinqty:
  5162. description: 今内部入库量
  5163. type: number
  5164. todayproduceoutqty:
  5165. description: 今内部出库量
  5166. type: number
  5167. todayselloutqty:
  5168. description: 今销售出库量
  5169. type: number
  5170. unbuyinqty:
  5171. description: 采购未入库量(数据库未找到相关字段?)
  5172. type: number
  5173. unitid:
  5174. description: 品类单位id
  5175. type: integer
  5176. unselloutqty:
  5177. description: 销售未出库量(数据库未找到相关字段?)
  5178. type: number
  5179. updatetime:
  5180. description: 更新时间
  5181. type: string
  5182. userid:
  5183. description: 机构ID
  5184. type: integer
  5185. username:
  5186. description: 机构名称
  5187. type: string
  5188. warehousecode:
  5189. description: 仓库代码
  5190. type: string
  5191. warehouseinfoid:
  5192. description: 仓库ID
  5193. type: string
  5194. warehousename:
  5195. description: 仓库名称
  5196. type: string
  5197. warehousetype:
  5198. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5199. type: integer
  5200. wrstandardcode:
  5201. description: 品类代码
  5202. type: string
  5203. wrstandardid:
  5204. description: 品类ID
  5205. type: integer
  5206. wrstandardname:
  5207. description: 品类名称
  5208. type: string
  5209. type: object
  5210. models.Ermcp3ArealSumPL:
  5211. properties:
  5212. accountname:
  5213. description: 机构名称
  5214. type: string
  5215. areauserid:
  5216. description: 所属机构\交易用户ID
  5217. type: integer
  5218. begindate:
  5219. description: 开始交易日
  5220. type: string
  5221. currencyid:
  5222. description: 结算币种ID
  5223. type: integer
  5224. currencyname:
  5225. description: 币种名称
  5226. type: string
  5227. cycletime:
  5228. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5229. type: string
  5230. cycletype:
  5231. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5232. type: integer
  5233. enddate:
  5234. description: 结束交易日
  5235. type: string
  5236. enumdicname:
  5237. description: 单位名称(套保品种)
  5238. type: string
  5239. futureactualpl:
  5240. description: 期货损益
  5241. type: number
  5242. futurefloatpl:
  5243. description: 期货浮动损益
  5244. type: number
  5245. futurespotratio:
  5246. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5247. type: number
  5248. goodsunitid:
  5249. description: 套保品种单位id
  5250. type: integer
  5251. hedgeexposurepl:
  5252. description: 套保敞口损益
  5253. type: number
  5254. middlegoodscode:
  5255. description: 套保品种代码
  5256. type: string
  5257. middlegoodsid:
  5258. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5259. type: integer
  5260. middlegoodsname:
  5261. description: 套保品种名称
  5262. type: string
  5263. reckondate:
  5264. description: 日照时期(yyyyMMdd)
  5265. type: string
  5266. spotactualpl:
  5267. description: 现货损益
  5268. type: number
  5269. spotfloatpl:
  5270. description: 现货浮动损益
  5271. type: number
  5272. sumactualpl:
  5273. description: 实际损益 = (ActualPL + FutureActualPL)
  5274. type: number
  5275. sumpl:
  5276. description: 总敞口损益 | 汇总损益
  5277. type: number
  5278. totalfutureqty:
  5279. description: 期货头寸总量
  5280. type: number
  5281. totalneedhedgeqty:
  5282. description: 应套保总量
  5283. type: number
  5284. totalspotqty:
  5285. description: 现货头寸总量
  5286. type: number
  5287. updatetime:
  5288. description: 更新时间
  5289. type: string
  5290. type: object
  5291. models.Ermcp3Brand:
  5292. properties:
  5293. areauserid:
  5294. description: 用户id
  5295. type: integer
  5296. brandid:
  5297. description: 品牌id
  5298. type: integer
  5299. brandname:
  5300. description: 品牌名称
  5301. type: string
  5302. deliverygoodsid:
  5303. description: 品种ID
  5304. type: integer
  5305. isvalid:
  5306. description: 是否有效
  5307. type: integer
  5308. type: object
  5309. models.Ermcp3Contract:
  5310. properties:
  5311. accountid:
  5312. description: 期货账户id
  5313. type: string
  5314. amount:
  5315. description: 金额 [1:一口价、3:暂定价]
  5316. type: number
  5317. attachment:
  5318. description: 附件
  5319. type: string
  5320. auditremark:
  5321. description: 审核意见
  5322. type: string
  5323. audittime:
  5324. description: 审核时间
  5325. type: string
  5326. biztype:
  5327. description: 业务类型 1-套保 2-套利
  5328. type: integer
  5329. brandname:
  5330. description: 品牌名称
  5331. type: string
  5332. buynickname:
  5333. description: 销售方昵称
  5334. type: string
  5335. buyuserid:
  5336. description: 采购方ID
  5337. type: integer
  5338. buyusername:
  5339. description: 采购方名称
  5340. type: string
  5341. contracctstatus:
  5342. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5343. type: integer
  5344. contractmargin:
  5345. description: 合同保证金
  5346. type: number
  5347. contractno:
  5348. description: 现货合同编号
  5349. type: string
  5350. contracttype:
  5351. description: 现货合同类型 - 1:采购 -1:销售
  5352. type: integer
  5353. convertfactor:
  5354. description: 标仓系数(品类)
  5355. type: number
  5356. createtime:
  5357. description: 创建时间
  5358. type: string
  5359. currencyid:
  5360. description: 币种id
  5361. type: integer
  5362. currencyname:
  5363. description: 币种名称
  5364. type: string
  5365. deliveryenddate:
  5366. description: 交收期(结束)
  5367. type: string
  5368. deliverygoodscode:
  5369. description: 现货品种代码
  5370. type: string
  5371. deliverygoodsid:
  5372. description: 现货品种ID
  5373. type: integer
  5374. deliverygoodsname:
  5375. description: 现货品种名称
  5376. type: string
  5377. deliverystartdate:
  5378. description: 交收期(开始)
  5379. type: string
  5380. enddate:
  5381. description: 点价结束日期 [2:点价 3:暂定价]
  5382. type: string
  5383. enumdicname:
  5384. description: 单位名称
  5385. type: string
  5386. goodscode:
  5387. description: 点价合约代码
  5388. type: string
  5389. goodsid:
  5390. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5391. type: integer
  5392. goodsname:
  5393. description: 点价商品名称
  5394. type: string
  5395. margin:
  5396. description: 当前保证金
  5397. type: number
  5398. meruserid:
  5399. description: 跟单员id
  5400. type: integer
  5401. meruserlogincode:
  5402. description: 跟单员登录代码
  5403. type: string
  5404. merusername:
  5405. description: 跟单员名称
  5406. type: string
  5407. pointdesc:
  5408. description: 点价备注
  5409. type: string
  5410. price:
  5411. description: 价格\暂定价 [1:一口价、3:暂定价]
  5412. type: number
  5413. pricemove:
  5414. description: 升贴水 [2:点价 3:暂定价]
  5415. type: number
  5416. pricetype:
  5417. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5418. type: integer
  5419. producttype:
  5420. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5421. type: integer
  5422. qty:
  5423. description: 数量
  5424. type: number
  5425. remark:
  5426. description: 备注
  5427. type: string
  5428. saleuserid:
  5429. description: 业务员id
  5430. type: integer
  5431. saleuserlogincode:
  5432. description: 业务员登录代码
  5433. type: string
  5434. saleusername:
  5435. description: 业务员名称
  5436. type: string
  5437. sellnickname:
  5438. description: 采购方昵称
  5439. type: string
  5440. selluserid:
  5441. description: 销售方ID
  5442. type: integer
  5443. sellusername:
  5444. description: 销售方名称
  5445. type: string
  5446. spotcontractid:
  5447. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5448. type: string
  5449. spotgoodsbrandid:
  5450. description: 现货品牌ID(DGFactoryItem表的ID)
  5451. type: integer
  5452. spotgoodsdesc:
  5453. description: 商品型号
  5454. type: string
  5455. startdate:
  5456. description: 点价开始日期 [2:点价 3:暂定价]
  5457. type: string
  5458. subjectid:
  5459. description: 交易主体ID
  5460. type: integer
  5461. subjectname:
  5462. description: 交易主体名称
  5463. type: string
  5464. tradeuserid:
  5465. description: 交易员id
  5466. type: integer
  5467. tradeuserlogincode:
  5468. description: 交易员登录代码
  5469. type: string
  5470. tradeusername:
  5471. description: 交易员名称
  5472. type: string
  5473. unitid:
  5474. description: 单位id(取品类上的单位id)
  5475. type: integer
  5476. updatetime:
  5477. description: 更新时间
  5478. type: string
  5479. userid:
  5480. description: 所属机构ID
  5481. type: integer
  5482. vatrate:
  5483. description: 增值税率
  5484. type: number
  5485. wrstandardcode:
  5486. description: 品类代码
  5487. type: string
  5488. wrstandardid:
  5489. description: 品类ID
  5490. type: integer
  5491. wrstandardname:
  5492. description: 品类名称
  5493. type: string
  5494. type: object
  5495. models.Ermcp3ContractMiddleGoodsCfg:
  5496. properties:
  5497. agreeunit:
  5498. description: 合约乘数
  5499. type: number
  5500. convertratio:
  5501. description: 期货品种系数
  5502. type: number
  5503. covertqty:
  5504. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5505. type: integer
  5506. middlegoodsid:
  5507. description: 套保品种ID
  5508. type: integer
  5509. middlegoodspricedqty3:
  5510. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5511. example: "0"
  5512. type: string
  5513. pendingpricedqty:
  5514. description: 待点价量
  5515. example: "0"
  5516. type: string
  5517. relatedmiddlegoodsqty:
  5518. description: 已关联量(套保品种-期货)
  5519. example: "0"
  5520. type: string
  5521. spotcontractid:
  5522. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5523. type: string
  5524. type: object
  5525. models.Ermcp3ExposureContractDetail:
  5526. properties:
  5527. biztype:
  5528. description: 业务类型 1-套保 2-套利
  5529. type: integer
  5530. brandname:
  5531. description: 品牌名称
  5532. type: string
  5533. buyuserid:
  5534. description: 采购方id
  5535. type: integer
  5536. buyusername:
  5537. description: 采购方名称
  5538. type: string
  5539. contractno:
  5540. description: 合同编号
  5541. type: string
  5542. contracttype:
  5543. description: 现货合同类型 - 1:采购 -1:销售
  5544. type: integer
  5545. convertfactor:
  5546. description: 标仓系数
  5547. type: number
  5548. convertratio:
  5549. description: 折算系数(套保品种)
  5550. type: number
  5551. curqty:
  5552. description: 今定价量
  5553. type: number
  5554. deliverygoodscode:
  5555. description: 现货品种代码
  5556. type: string
  5557. deliverygoodsid:
  5558. description: 现货品种id
  5559. type: integer
  5560. deliverygoodsname:
  5561. description: 现货品种名称
  5562. type: string
  5563. diffhedgeqty:
  5564. description: 套保变动量
  5565. type: number
  5566. diffneedhedgeqty:
  5567. description: 应套保变动量
  5568. type: number
  5569. diffqty:
  5570. description: 套保品种今变动量
  5571. type: number
  5572. enumdicname:
  5573. description: 单位名称
  5574. type: string
  5575. mgunitname:
  5576. description: 套保品种单位名称
  5577. type: string
  5578. middlegoodscode:
  5579. description: 套保品种代码
  5580. type: string
  5581. middlegoodsid:
  5582. description: 套保品种id
  5583. type: integer
  5584. middlegoodsname:
  5585. description: 套保品种名称
  5586. type: string
  5587. needarbitrageratio:
  5588. description: 应套利比例
  5589. type: number
  5590. needhedgeratio:
  5591. description: 应套保比例
  5592. type: number
  5593. pricedqty:
  5594. description: 已定价量
  5595. type: number
  5596. qty:
  5597. description: 合同量
  5598. type: number
  5599. reckondate:
  5600. description: 交易日(reckondate)
  5601. type: string
  5602. selluserid:
  5603. description: 销售方id
  5604. type: integer
  5605. sellusername:
  5606. description: 销售方名称
  5607. type: string
  5608. spotcontractid:
  5609. description: 合同id
  5610. type: string
  5611. todaypricedqty:
  5612. description: 今定价量
  5613. type: number
  5614. tradedate:
  5615. description: 交易日
  5616. type: string
  5617. unitid:
  5618. description: 品类单位id
  5619. type: integer
  5620. userid:
  5621. description: 机构id
  5622. type: integer
  5623. username:
  5624. description: 交易用户
  5625. type: string
  5626. wrstandardcode:
  5627. description: 现货商品代码
  5628. type: string
  5629. wrstandardid:
  5630. description: 现货商品id
  5631. type: integer
  5632. wrstandardname:
  5633. description: 现货商品名称
  5634. type: string
  5635. type: object
  5636. models.Ermcp3ExposureDetail:
  5637. properties:
  5638. areauserid:
  5639. description: 机构ID
  5640. type: integer
  5641. changeQty:
  5642. description: 套保变动量
  5643. type: number
  5644. contracttype:
  5645. description: 现货合同类型 - 1:采购 -1:销售
  5646. type: integer
  5647. convertfactor:
  5648. description: 标仓系数
  5649. type: number
  5650. convertratio:
  5651. description: 折算系数
  5652. type: number
  5653. createtime:
  5654. description: 时间
  5655. type: string
  5656. enumdicname:
  5657. description: 现货商品单位名称
  5658. type: string
  5659. logtype:
  5660. description: 类型 - 1:套保计划 2:现货合同
  5661. type: integer
  5662. mgunitid:
  5663. description: 套保品种单位id
  5664. type: integer
  5665. mgunitidname:
  5666. description: 套保品种单位名称
  5667. type: string
  5668. middlegoodsId:
  5669. description: 套保商品id
  5670. type: integer
  5671. middlegoodscode:
  5672. description: 套保商品代码
  5673. type: string
  5674. middlegoodsname:
  5675. description: 套保商品名称
  5676. type: string
  5677. qty:
  5678. description: 数量
  5679. type: number
  5680. relateNo:
  5681. description: 现货合同/套保计划编号
  5682. type: string
  5683. unitid:
  5684. description: 现货商品单位id
  5685. type: integer
  5686. wrstandardcode:
  5687. description: 现货商品代码
  5688. type: string
  5689. wrstandardid:
  5690. description: 现货商品ID(SEQ_WRSTANDARD)
  5691. type: integer
  5692. wrstandardname:
  5693. description: 现货商品名称
  5694. type: string
  5695. type: object
  5696. models.Ermcp3ExposureFutuDetail:
  5697. properties:
  5698. accountid:
  5699. description: 交易账户id
  5700. type: integer
  5701. accountname:
  5702. description: 交易账户
  5703. type: string
  5704. begindate:
  5705. description: 开始交易日
  5706. type: string
  5707. buyorsell:
  5708. description: 方向 0-买 1-卖
  5709. type: integer
  5710. diffmgqty:
  5711. description: 套保品种今变化量
  5712. type: number
  5713. diffneedqty:
  5714. description: 应套保总量变化量
  5715. type: number
  5716. difftradeqty:
  5717. description: 交易品种今变化量
  5718. type: number
  5719. enddate:
  5720. description: 结束交易日
  5721. type: string
  5722. enumdicname:
  5723. description: 单位名称
  5724. type: string
  5725. goodscode:
  5726. description: 商品代码
  5727. type: string
  5728. goodsid:
  5729. description: 商品id
  5730. type: integer
  5731. goodsname:
  5732. description: 商品名称
  5733. type: string
  5734. holdqty:
  5735. description: 期末持仓量
  5736. type: number
  5737. middlegoodscode:
  5738. description: 套保商品代码
  5739. type: string
  5740. middlegoodsid:
  5741. description: 套保商品id
  5742. type: integer
  5743. middlegoodsname:
  5744. description: 套保商品名称
  5745. type: string
  5746. oriholdqty:
  5747. description: 期初持仓量
  5748. type: number
  5749. reckondate:
  5750. description: 交易日(RECKONDATE)
  5751. type: string
  5752. todaycloseqty:
  5753. description: 今平仓量
  5754. type: number
  5755. todayopenqty:
  5756. description: 今开仓量
  5757. type: number
  5758. tradedate:
  5759. description: 交易日(RECKONDATE)
  5760. type: string
  5761. username:
  5762. description: 用户名称(交易用户)
  5763. type: string
  5764. type: object
  5765. models.Ermcp3ExposureHedgeplanDetail:
  5766. properties:
  5767. biztype:
  5768. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5769. type: integer
  5770. changqty:
  5771. description: 应套保总量变化量
  5772. type: number
  5773. contracttype:
  5774. description: 计划类型 - 1:采购 -1:销售
  5775. type: integer
  5776. convertratio:
  5777. description: 折算系数(套保品种)
  5778. type: number
  5779. deliverygoodscode:
  5780. description: 现货商品代码
  5781. type: string
  5782. deliverygoodsid:
  5783. description: 现货商品id
  5784. type: integer
  5785. deliverygoodsname:
  5786. description: 现货商吕名称
  5787. type: string
  5788. dgunitid:
  5789. description: 现货商品单位id
  5790. type: integer
  5791. dgunitidname:
  5792. description: 单位名称(现货商品)
  5793. type: string
  5794. diffqty:
  5795. description: 套保品种今变动量
  5796. type: number
  5797. enumdicname:
  5798. description: 单位名称(品类)
  5799. type: string
  5800. hedgeplanid:
  5801. description: 套保计划id
  5802. type: string
  5803. hedgeplanno:
  5804. description: 套保计划名称
  5805. type: string
  5806. hedgeplanstatus:
  5807. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5808. type: integer
  5809. mgunitidname:
  5810. description: 单位名称(套保商品)
  5811. type: string
  5812. middlegoodscode:
  5813. description: 套保品种代码
  5814. type: string
  5815. middlegoodsid:
  5816. description: 套保品种id
  5817. type: integer
  5818. middlegoodsname:
  5819. description: 套保品种名称
  5820. type: string
  5821. needarbitrageratio:
  5822. description: 应套利比例
  5823. type: number
  5824. needhedgeratio:
  5825. description: 应套保比例
  5826. type: number
  5827. pricedqty:
  5828. description: 已定价量
  5829. type: number
  5830. qty:
  5831. description: 合同量
  5832. type: number
  5833. reckondate:
  5834. description: 交易日(reckondate)
  5835. type: string
  5836. tradedate:
  5837. description: 交易日(登记日)
  5838. type: string
  5839. unitid:
  5840. description: 品类单位id
  5841. type: integer
  5842. userid:
  5843. description: 机构id
  5844. type: integer
  5845. wrstandardcode:
  5846. description: 品类代码
  5847. type: string
  5848. wrstandardid:
  5849. description: 品类id
  5850. type: integer
  5851. wrstandardname:
  5852. description: 品类名称
  5853. type: string
  5854. type: object
  5855. models.Ermcp3ExposureParamChLog:
  5856. properties:
  5857. accountid:
  5858. description: 期货账户ID (作废, 默认为0)
  5859. type: integer
  5860. aftervalue:
  5861. description: 应套保\套利量变更后(调整后应套保总量)
  5862. type: number
  5863. areauserid:
  5864. description: 所属机构\交易用户ID
  5865. type: integer
  5866. beforevalue:
  5867. description: 应套保\套利量变更前(调整前应套保总量)
  5868. type: number
  5869. begindate:
  5870. description: 开始交易日
  5871. type: string
  5872. changelogtype:
  5873. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5874. type: integer
  5875. curvalue:
  5876. description: 当前套保\套利量(套保总量|套利总量)
  5877. type: number
  5878. diffvalue:
  5879. description: 应套保总量变化量
  5880. type: number
  5881. enddate:
  5882. description: 结束交易日
  5883. type: string
  5884. logdatetime:
  5885. description: 流水日期
  5886. type: string
  5887. logid:
  5888. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5889. type: string
  5890. middlegoodscode:
  5891. description: 套保品种代码
  5892. type: string
  5893. middlegoodsid:
  5894. description: 套保品种
  5895. type: integer
  5896. middlegoodsname:
  5897. description: 套保品种名称
  5898. type: string
  5899. paramaftervalue:
  5900. description: 参数变更后(调整后参数值)
  5901. type: number
  5902. parambeforevalue:
  5903. description: 参数变更前(调整前参数值)
  5904. type: number
  5905. reckondate:
  5906. description: 交易日(reckondate)
  5907. type: string
  5908. tradedate:
  5909. description: 交易日(yyyyMMdd)
  5910. type: string
  5911. type: object
  5912. models.Ermcp3ExpourseReport:
  5913. properties:
  5914. accountid:
  5915. description: 期货账户ID (作废, 默认为0)
  5916. type: integer
  5917. accountname:
  5918. description: 机构名称
  5919. type: string
  5920. arbitrageqty:
  5921. description: 套利量
  5922. type: number
  5923. areauserid:
  5924. description: 所属机构\交易用户ID
  5925. type: integer
  5926. begindate:
  5927. description: 开始交易日
  5928. type: string
  5929. buyfutureqty:
  5930. description: 买入期货数量
  5931. type: number
  5932. buyplanqty:
  5933. description: 采购计划数量
  5934. type: number
  5935. buypricedqty:
  5936. description: 采购合同已定价数量
  5937. type: number
  5938. cycletime:
  5939. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5940. type: string
  5941. cycletype:
  5942. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5943. type: integer
  5944. diffexposure:
  5945. description: 变动量(套保敞口)
  5946. type: number
  5947. difffutuqty:
  5948. description: 变动量(期货)
  5949. type: number
  5950. diffhedgeqty:
  5951. description: 变动量(现货应套保总量)
  5952. type: number
  5953. diffmgqtya:
  5954. description: 套保变动量
  5955. type: number
  5956. diffmgqtyb:
  5957. description: 套利变动量
  5958. type: number
  5959. diffneedqty:
  5960. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5961. type: number
  5962. diffqty:
  5963. description: 变动量(总敞口)
  5964. type: number
  5965. diffspotqty:
  5966. description: 变动量(现货) | 除税变动量
  5967. type: number
  5968. enddate:
  5969. description: 结束交易日
  5970. type: string
  5971. enumdicname:
  5972. description: 单位名称
  5973. type: string
  5974. hedgeqty:
  5975. description: 套保量
  5976. type: number
  5977. mgneedhedgeratio:
  5978. description: 套保比例(套保品的)
  5979. type: number
  5980. middlegoodsid:
  5981. description: 套保品种ID
  5982. type: integer
  5983. middlegoodsname:
  5984. description: 套保商品名称
  5985. type: string
  5986. middlgoodscode:
  5987. description: 套保商品代码
  5988. type: string
  5989. needarbitrageqty:
  5990. description: 应套利量
  5991. type: number
  5992. needarbitrageratio:
  5993. description: 套利比例(套保品的)
  5994. type: number
  5995. needhedgeexposoure:
  5996. description: 应套保敞口(套保敞口)
  5997. type: number
  5998. needhedgeqty:
  5999. description: 应套保量
  6000. type: number
  6001. needhedgeratio:
  6002. description: 应套保敞口比例
  6003. type: number
  6004. needqty:
  6005. description: 应套总量 = 应套保量 + 应套利量
  6006. type: number
  6007. oriarbitrageqty:
  6008. description: 期初套利量
  6009. type: number
  6010. oribuyfutureqty:
  6011. description: 期初买入期货数量
  6012. type: number
  6013. oribuyplanqty:
  6014. description: 期初采购计划数量
  6015. type: number
  6016. oribuypricedqty:
  6017. description: 期初采购合同已定价数量
  6018. type: number
  6019. orihedgeqty:
  6020. description: 期初套保量
  6021. type: number
  6022. orineedarbitrageqty:
  6023. description: 期初应套利量
  6024. type: number
  6025. orineedhedgeexposoure:
  6026. description: 期初应套保敞口
  6027. type: number
  6028. orineedhedgeqty:
  6029. description: 期初应套保量
  6030. type: number
  6031. orisellfutureqty:
  6032. description: 期初卖出期货数量
  6033. type: number
  6034. orisellplanqty:
  6035. description: 期初销售计划数量
  6036. type: number
  6037. orisellpricedqty:
  6038. description: 期初销售合同已定价数量
  6039. type: number
  6040. oritotalexposure:
  6041. description: 期初实时总敞口
  6042. type: number
  6043. oritotalfutureqty:
  6044. description: 期初期货头寸总量
  6045. type: number
  6046. oritotalneedhedgeqty:
  6047. description: 期初应套保总量
  6048. type: number
  6049. oritotalspotqty:
  6050. description: 期初现货头寸总量
  6051. type: number
  6052. reckondate:
  6053. description: 日照时期(yyyyMMdd)
  6054. type: string
  6055. sellfutureqty:
  6056. description: 卖出期货数量
  6057. type: number
  6058. sellplanqty:
  6059. description: 销售计划数量
  6060. type: number
  6061. sellpricedqty:
  6062. description: 销售合同已定价数量
  6063. type: number
  6064. totalexposure:
  6065. description: 实时总敞口(总敞口)
  6066. type: number
  6067. totalfutureqty:
  6068. description: 期货头寸总量(期货总量)
  6069. type: number
  6070. totalhedgeratio:
  6071. description: 敞口比例
  6072. type: number
  6073. totalneedhedgeqty:
  6074. description: 应套保总量(现货应套保总量)
  6075. type: number
  6076. totalspotqty:
  6077. description: 现货头寸总量 | 除税总量
  6078. type: number
  6079. unitid:
  6080. description: 单位id
  6081. type: integer
  6082. updatetime:
  6083. description: 更新时间
  6084. type: string
  6085. type: object
  6086. models.Ermcp3FinanceReport:
  6087. properties:
  6088. accountname:
  6089. description: 机构名称
  6090. type: string
  6091. areauserid:
  6092. description: 所属机构\交易用户ID
  6093. type: integer
  6094. begindate:
  6095. description: 开始交易日
  6096. type: string
  6097. biztype:
  6098. description: 业务类型 - 1:套保 2:套利
  6099. type: integer
  6100. brandname:
  6101. description: 品牌名称
  6102. type: string
  6103. buypreinvoicedamount:
  6104. description: 采购预收票额(预收票额)
  6105. type: number
  6106. buyprepaidamount:
  6107. description: 采购预付款额(预付货款额)
  6108. type: number
  6109. buytodayinvoiceamount:
  6110. description: 采购今收票额(今收票额)
  6111. type: number
  6112. buytodayrefundamount:
  6113. description: 采购今收退款额(今收退款额)
  6114. type: number
  6115. buytodaysettleamount:
  6116. description: 采购今付款额(今付货款额)
  6117. type: number
  6118. buyuninvoicedamount:
  6119. description: 采购应收票额(应收票额)
  6120. type: number
  6121. buyunpaidamount:
  6122. description: 采购应付款额(应付货款额)
  6123. type: number
  6124. currencyid:
  6125. description: 结算币种ID
  6126. type: integer
  6127. currencyname:
  6128. description: 币种名称
  6129. type: string
  6130. cycletime:
  6131. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6132. type: string
  6133. cycletype:
  6134. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6135. type: integer
  6136. deliverygoodscode:
  6137. description: 现货品种代码
  6138. type: string
  6139. deliverygoodsid:
  6140. description: 现货品种ID
  6141. type: integer
  6142. deliverygoodsname:
  6143. description: 现货品种名称
  6144. type: string
  6145. enddate:
  6146. description: 结束交易日
  6147. type: string
  6148. reckondate:
  6149. description: 日照时期(yyyyMMdd)
  6150. type: string
  6151. sellpreinvoicedamount:
  6152. description: 销售预开票额(预开票额)
  6153. type: number
  6154. sellprepaidamount:
  6155. description: 销售预收款额(预收货款额)
  6156. type: number
  6157. selltodayinvoiceamount:
  6158. description: 销售今开票额(今开票额)
  6159. type: number
  6160. selltodayrefundamount:
  6161. description: 销售今付退款额(今付退款额)
  6162. type: number
  6163. selltodaysettleamount:
  6164. description: 销售今收款额(今收货款额)
  6165. type: number
  6166. selluninvoicedamount:
  6167. description: 销售应开票额(应开票额)
  6168. type: number
  6169. sellunpaidamount:
  6170. description: 销售应收款额(应收货款额)
  6171. type: number
  6172. spotgoodsbrandid:
  6173. description: 现货品牌ID
  6174. type: integer
  6175. todaypaysum:
  6176. description: 今付款合计
  6177. type: number
  6178. todayreceivesum:
  6179. description: 今收款合计
  6180. type: number
  6181. updatetime:
  6182. description: 更新时间
  6183. type: string
  6184. wrfactortypeid:
  6185. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6186. type: integer
  6187. wrstandardcode:
  6188. description: 品类代码
  6189. type: string
  6190. wrstandardid:
  6191. description: 现货商品ID
  6192. type: integer
  6193. wrstandardname:
  6194. description: 品类名称
  6195. type: string
  6196. type: object
  6197. models.Ermcp3GoodsGroup:
  6198. properties:
  6199. agreeunit:
  6200. description: 合约单位
  6201. type: number
  6202. areauserid:
  6203. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6204. type: integer
  6205. canshort:
  6206. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6207. type: integer
  6208. closepricemode:
  6209. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6210. type: integer
  6211. createtime:
  6212. description: 创建时间
  6213. type: string
  6214. creatorid:
  6215. description: 创建人
  6216. type: integer
  6217. currencyid:
  6218. description: 报价货币ID
  6219. type: integer
  6220. decimalplace:
  6221. description: 报价小数位
  6222. type: integer
  6223. enumdicname:
  6224. description: 单位名称
  6225. type: string
  6226. exchangefullname:
  6227. description: 交易所全称
  6228. type: string
  6229. excludecfg:
  6230. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6231. type: integer
  6232. exexchangecode:
  6233. description: 交易所代码
  6234. type: string
  6235. exexchangeid:
  6236. description: 外部交易所ID[通道交易]
  6237. type: integer
  6238. exexchangename:
  6239. description: 交易所名称
  6240. type: string
  6241. goodsgroupid:
  6242. description: 商品组ID(自增ID)
  6243. type: integer
  6244. goodsgroupname:
  6245. description: 商品组名称
  6246. type: string
  6247. goodsgroupstatus:
  6248. description: 商品组状态 - 1:正常 2:注销
  6249. type: integer
  6250. goodunitid:
  6251. description: 报价单位ID
  6252. type: integer
  6253. groupcategroyid:
  6254. description: 品种分类ID
  6255. type: integer
  6256. innerdealmode:
  6257. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6258. type: integer
  6259. marketid:
  6260. description: 所属市场ID
  6261. type: integer
  6262. modifierid:
  6263. description: 修改人
  6264. type: integer
  6265. modifytime:
  6266. description: 修改时间
  6267. type: string
  6268. outerdealmode:
  6269. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6270. type: integer
  6271. outergroupcode:
  6272. description: 外部商品组代码[通道交易]
  6273. type: string
  6274. quoteminunit:
  6275. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6276. type: integer
  6277. quotesourcegroupid:
  6278. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6279. type: integer
  6280. syncgoodsqty:
  6281. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6282. type: integer
  6283. required:
  6284. - areauserid
  6285. type: object
  6286. models.Ermcp3HPMiddleGoods:
  6287. properties:
  6288. biztype:
  6289. description: 业务类型 1:套保 2:套利
  6290. type: integer
  6291. contracttype:
  6292. description: 合同类型 1:采购 -1:销售
  6293. type: integer
  6294. convertratio:
  6295. description: 折算系数
  6296. type: number
  6297. customername:
  6298. description: 对手手名称
  6299. type: string
  6300. customeruserid:
  6301. description: 对手id
  6302. type: integer
  6303. enumdicname:
  6304. description: 现货单位名称
  6305. type: string
  6306. hedgeplanid:
  6307. description: 计划id
  6308. type: string
  6309. hedgeplanno:
  6310. description: 计划编号
  6311. type: string
  6312. middlegoodsid:
  6313. description: 套保品种ID
  6314. type: integer
  6315. middlegoodsplanqty3:
  6316. description: 应套保计划量
  6317. type: number
  6318. needhedgeratio:
  6319. description: 套保比例
  6320. type: number
  6321. pricedqty:
  6322. description: 已定价量
  6323. type: number
  6324. relatedmiddlegoodsqty:
  6325. description: 已关联量(套保品种)(期货)
  6326. type: number
  6327. unitid:
  6328. description: 现货单位id
  6329. type: integer
  6330. userid:
  6331. description: 用户id
  6332. type: integer
  6333. vatrate:
  6334. description: 增值税率
  6335. type: number
  6336. wrstandardcode:
  6337. description: 现货商品代码
  6338. type: string
  6339. wrstandardid:
  6340. description: 现货商品id
  6341. type: integer
  6342. wrstandardname:
  6343. description: 现货商品名称
  6344. type: string
  6345. type: object
  6346. models.Ermcp3HedgePlan:
  6347. properties:
  6348. accountid:
  6349. description: 资金账号
  6350. type: integer
  6351. areauserid:
  6352. description: 用户ID
  6353. type: integer
  6354. auditid:
  6355. description: 审核id
  6356. type: integer
  6357. auditname:
  6358. description: 审核人名称
  6359. type: string
  6360. auditremark:
  6361. description: 审核备注
  6362. type: string
  6363. auditsrc:
  6364. description: 审核来源 1-管理端 2-终端
  6365. type: integer
  6366. audittime:
  6367. description: 审核时间
  6368. type: string
  6369. contracttype:
  6370. description: 计划类型 - 1:采购 -1:销售
  6371. type: integer
  6372. convertfactor:
  6373. description: 标仓系数
  6374. type: number
  6375. createtime:
  6376. description: 创建时间
  6377. type: string
  6378. currencyid:
  6379. description: 币种id
  6380. type: integer
  6381. currencyname:
  6382. description: 币种名称
  6383. type: string
  6384. deliverygoodscode:
  6385. description: 现货品种代码
  6386. type: string
  6387. deliverygoodsid:
  6388. description: 现货品种ID
  6389. type: integer
  6390. deliverygoodsname:
  6391. description: 现货品种名称
  6392. type: string
  6393. enumdicname:
  6394. description: 单位名称(现货商品)
  6395. type: string
  6396. hedgeplanid:
  6397. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6398. type: string
  6399. hedgeplanno:
  6400. description: 套保计划编号(名称)
  6401. type: string
  6402. hedgeplanstatus:
  6403. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6404. type: integer
  6405. planqty:
  6406. description: 计划数量
  6407. type: number
  6408. plantime:
  6409. description: 计划时间
  6410. type: string
  6411. producttype:
  6412. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6413. type: integer
  6414. remark:
  6415. description: 备注
  6416. type: string
  6417. spotgoodsdesc:
  6418. description: 商品型号
  6419. type: string
  6420. taaccountname:
  6421. description: 资金账号名称
  6422. type: string
  6423. tradeuserid:
  6424. description: 交易用户id
  6425. type: integer
  6426. tradeusername:
  6427. description: 交易用户名称
  6428. type: string
  6429. unitid:
  6430. description: 单位id(现货商品)
  6431. type: integer
  6432. updatetime:
  6433. description: 更新时间
  6434. type: string
  6435. vatrate:
  6436. description: 增值税率
  6437. type: number
  6438. wrstandardcode:
  6439. description: 品类代码
  6440. type: string
  6441. wrstandardid:
  6442. description: 品类id
  6443. type: integer
  6444. wrstandardname:
  6445. description: 品类名称
  6446. type: string
  6447. wrunitid:
  6448. description: 品类单位id
  6449. type: integer
  6450. wrunitidame:
  6451. description: 品类单位名称
  6452. type: string
  6453. type: object
  6454. models.Ermcp3InnerTradeLink:
  6455. properties:
  6456. accountid:
  6457. description: 期货账号代码 | 资金账号ID
  6458. type: integer
  6459. buyorsell:
  6460. description: 方向 - 0:买 1:卖
  6461. type: integer
  6462. channelbuildtype:
  6463. description: 委托单据类型 0:无 1:建仓 2:平仓
  6464. type: integer
  6465. currencyid:
  6466. description: 币种id
  6467. type: integer
  6468. currencyname:
  6469. description: 结算币种 名称
  6470. type: string
  6471. goodscode:
  6472. description: 商品代码
  6473. type: string
  6474. goodsid:
  6475. description: 商品ID
  6476. type: integer
  6477. goodsname:
  6478. description: 商品名称
  6479. type: string
  6480. outtradeid:
  6481. description: 外部成交单号
  6482. type: string
  6483. taname:
  6484. description: 期货账户名称
  6485. type: string
  6486. tradeid:
  6487. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6488. type: string
  6489. tradeprice:
  6490. description: 成交价格
  6491. type: number
  6492. tradeqty:
  6493. description: 期货成交数量
  6494. type: integer
  6495. tradetime:
  6496. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6497. type: string
  6498. username:
  6499. description: 用户名称
  6500. type: string
  6501. type: object
  6502. models.Ermcp3OutTradeLink:
  6503. properties:
  6504. buyorsell:
  6505. description: 买卖方向 - 0:买 1:卖
  6506. type: integer
  6507. channelbuildtype:
  6508. description: 开平标志- 0:无 1:建仓 2:平仓
  6509. type: integer
  6510. currencyname:
  6511. description: 币种名称
  6512. type: string
  6513. exexchangecode:
  6514. description: 交易所代码
  6515. type: string
  6516. exexchangename:
  6517. description: 交易所名称
  6518. type: string
  6519. goodscode:
  6520. description: 合约代码
  6521. type: string
  6522. goodsid:
  6523. description: 合约id
  6524. type: integer
  6525. goodsname:
  6526. description: 合约名称
  6527. type: string
  6528. hasinnerorder:
  6529. description: 是否有内部单关联 - 0:无 1:有
  6530. type: integer
  6531. hedgeaccountcode:
  6532. description: 外部账号 | 对冲账号
  6533. type: string
  6534. outtradeid:
  6535. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6536. type: string
  6537. tradeprice:
  6538. description: 成交价格
  6539. type: number
  6540. tradeqty:
  6541. description: 成交数量
  6542. type: integer
  6543. tradetime:
  6544. description: 成交时间
  6545. type: string
  6546. type: object
  6547. models.Ermcp3PaAreaAuditCfg:
  6548. properties:
  6549. areauserid:
  6550. description: 用户ID
  6551. type: integer
  6552. buyinauditflag:
  6553. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6554. type: integer
  6555. costratioauditflag:
  6556. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6557. type: integer
  6558. customerauditflag:
  6559. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6560. type: integer
  6561. deliveryauditflag:
  6562. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6563. type: integer
  6564. invoiceauditflag:
  6565. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6566. type: integer
  6567. mgneedhedgeratioauditflag:
  6568. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6569. type: integer
  6570. moneyauditflag:
  6571. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6572. type: integer
  6573. operatorid:
  6574. description: 操作人
  6575. type: integer
  6576. operatorsrc:
  6577. description: 操作来源 - 1:管理端 2:终端
  6578. type: integer
  6579. pointpriceauditflag:
  6580. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6581. type: integer
  6582. produceinauditflag:
  6583. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6584. type: integer
  6585. produceoutauditflag:
  6586. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6587. type: integer
  6588. selloutauditflag:
  6589. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6590. type: integer
  6591. sgconvertratioauditflag:
  6592. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6593. type: integer
  6594. sgvtaratioauditflag:
  6595. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6596. type: integer
  6597. spotcontractauditflag:
  6598. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6599. type: integer
  6600. updatetime:
  6601. description: 更新时间
  6602. type: string
  6603. type: object
  6604. models.Ermcp3PaAreaSubject:
  6605. properties:
  6606. areauserid:
  6607. description: 所属机构
  6608. type: integer
  6609. canmodify:
  6610. description: 是否可修改 - 0:否 1:是
  6611. type: integer
  6612. createtime:
  6613. description: 创建时间
  6614. type: string
  6615. creatorid:
  6616. description: 创建人ID
  6617. type: string
  6618. creatorsrc:
  6619. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6620. type: integer
  6621. modifierid:
  6622. description: 修改人
  6623. type: string
  6624. modifiersrc:
  6625. description: 修改人来源 - 1:管理端 2:终端
  6626. type: integer
  6627. modifytime:
  6628. description: 修改时间
  6629. type: string
  6630. parentsubjectid:
  6631. description: 上级主体ID
  6632. type: string
  6633. remark:
  6634. description: 备注
  6635. type: string
  6636. subjectid:
  6637. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6638. type: integer
  6639. subjectname:
  6640. description: 主体名称
  6641. type: string
  6642. subjectstatus:
  6643. description: '主体状态 - 1:正常 2: 停用'
  6644. type: integer
  6645. subjecttype:
  6646. description: 主体类型 - 1:交易主体 2:业务部门
  6647. type: integer
  6648. type: object
  6649. models.Ermcp3PaTradeLink:
  6650. properties:
  6651. accountid:
  6652. description: 期货账户代码 | 账号ID
  6653. type: integer
  6654. agreeunit:
  6655. description: 合约乘数
  6656. type: number
  6657. buyorsell:
  6658. description: 方向 - 0:买 1:卖
  6659. type: integer
  6660. channelbuildtype:
  6661. description: 委托单据类型 0:无 1:建仓 2:平仓
  6662. type: integer
  6663. charge:
  6664. description: 手续费
  6665. type: number
  6666. closepl:
  6667. description: 平仓盈亏
  6668. type: number
  6669. closetype:
  6670. description: 平仓方式 - 0:无 1:平今 2:平昨
  6671. type: integer
  6672. convertratio:
  6673. description: 折算系数
  6674. type: number
  6675. enumdicname:
  6676. description: 单位名称
  6677. type: string
  6678. executeprice:
  6679. description: 执行价 [期权]
  6680. type: integer
  6681. goodscode:
  6682. description: 合约代码
  6683. type: string
  6684. goodsgroupid:
  6685. description: 对冲品种ID[期货合约商品组ID]
  6686. type: integer
  6687. goodsid:
  6688. description: 商品ID
  6689. type: integer
  6690. goodsname:
  6691. description: 合约名称
  6692. type: string
  6693. goodunitid:
  6694. description: 单位id
  6695. type: integer
  6696. hedgeflag:
  6697. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6698. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6699. type: integer
  6700. marketid:
  6701. description: 市场ID
  6702. type: integer
  6703. middlegoodsid:
  6704. description: 套保品种ID
  6705. type: integer
  6706. middlegoodsqty:
  6707. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6708. type: number
  6709. optioncode:
  6710. description: 期权代码 [期权]
  6711. type: string
  6712. ordertype:
  6713. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6714. type: integer
  6715. ordertypename:
  6716. description: 订单类型
  6717. type: string
  6718. parentaccountid:
  6719. description: 所属母账户
  6720. type: integer
  6721. premium:
  6722. description: 权利金 [期权]
  6723. type: number
  6724. relatedlot:
  6725. description: 已关联数量(已关联数量手) | db:关联手数
  6726. type: number
  6727. relatedouttradeid:
  6728. description: 关联外部成交单ID
  6729. type: string
  6730. relatedqty:
  6731. description: 关联数量
  6732. type: number
  6733. spotcontractid:
  6734. description: 现货合同ID [4:套期保值\10\11]
  6735. type: string
  6736. taname:
  6737. description: 期货账户名称
  6738. type: string
  6739. tradeamount:
  6740. description: 成交金额(账户)
  6741. type: number
  6742. tradedate:
  6743. description: 交易日(yyyyMMdd)
  6744. type: string
  6745. tradeid:
  6746. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6747. type: string
  6748. tradelot:
  6749. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6750. type: integer
  6751. tradeprice:
  6752. description: 成交价格
  6753. type: number
  6754. tradetime:
  6755. description: 时间 | db:成交时间
  6756. type: string
  6757. tradetype:
  6758. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6759. type: integer
  6760. userid:
  6761. description: 所属机构 - 所属母账户的UserID
  6762. type: string
  6763. username:
  6764. description: 用户名称
  6765. type: string
  6766. type: object
  6767. models.Ermcp3ParamChangeApp:
  6768. properties:
  6769. aftervalue:
  6770. description: 变更后
  6771. type: number
  6772. applicationid:
  6773. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6774. type: string
  6775. applyid:
  6776. description: 申请人
  6777. type: string
  6778. applyname:
  6779. description: 申请人名称(代码)
  6780. type: string
  6781. applyremark:
  6782. description: 申请备注
  6783. type: string
  6784. applysrc:
  6785. description: 申请来源 - 1:管理端 2:终端
  6786. type: integer
  6787. applystatus:
  6788. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6789. type: integer
  6790. applytime:
  6791. description: 申请时间
  6792. type: string
  6793. areauserid:
  6794. description: 所属机构用户ID
  6795. type: integer
  6796. auditid:
  6797. description: 审核人
  6798. type: string
  6799. auditname:
  6800. description: 审核人名称(代码)
  6801. type: string
  6802. auditremark:
  6803. description: 审核备注
  6804. type: string
  6805. auditsrc:
  6806. description: 审核来源 - 1:管理端 2:终端
  6807. type: integer
  6808. audittime:
  6809. description: 审核时间
  6810. type: string
  6811. audittradedate:
  6812. description: 审核交易日(yyyyMMdd)
  6813. type: string
  6814. beforevalue:
  6815. description: 变更前
  6816. type: number
  6817. deliverygoodscode:
  6818. description: 品种代码
  6819. type: string
  6820. deliverygoodsid:
  6821. description: 品种id
  6822. type: integer
  6823. deliverygoodsname:
  6824. description: 品种名称
  6825. type: string
  6826. middlegoodscode:
  6827. description: 套保品种代码
  6828. type: string
  6829. middlegoodsid:
  6830. description: 套保品种ID [ParamChangeType = 2,3,4]
  6831. type: integer
  6832. middlegoodsname:
  6833. description: 套保品种名称
  6834. type: string
  6835. operatetype:
  6836. description: 操作类型 - 1:新增 2:修改
  6837. type: integer
  6838. paramchangetype:
  6839. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6840. type: integer
  6841. wrstandardcode:
  6842. description: 现货商品代码
  6843. type: string
  6844. wrstandardid:
  6845. description: 现货商品ID [ParamChangeType = 1,2,3]
  6846. type: integer
  6847. wrstandardname:
  6848. description: 现货商品名称
  6849. type: string
  6850. type: object
  6851. models.Ermcp3RootUserAccount:
  6852. properties:
  6853. accountname:
  6854. description: 账户名称(机构名称)
  6855. type: string
  6856. accountstatus:
  6857. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6858. type: integer
  6859. applysrc:
  6860. description: 申请来源 - 1:管理端 2:终端
  6861. type: integer
  6862. auditremark:
  6863. description: 审核备注
  6864. type: string
  6865. auditsrc:
  6866. description: 审核来源 - 1:管理端 2:终端
  6867. type: integer
  6868. audittime:
  6869. description: 审核时间
  6870. type: string
  6871. audituserid:
  6872. description: 审核人
  6873. type: integer
  6874. broker:
  6875. description: 所属经纪人ID
  6876. type: integer
  6877. canceltime:
  6878. description: 销户时间
  6879. type: string
  6880. canceluserid:
  6881. description: 销户人
  6882. type: integer
  6883. canrecommend:
  6884. description: 是否可推荐 - 0:不可 1;可
  6885. type: integer
  6886. createtime:
  6887. description: 创建时间
  6888. type: string
  6889. creatorid:
  6890. description: 创建人
  6891. type: integer
  6892. hasauth:
  6893. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6894. type: integer
  6895. isanonymous:
  6896. description: 是否匿名下单 - 0:否 1:是
  6897. type: integer
  6898. maxinvestornum:
  6899. description: 最大用户数(经纪会员下投资者个数)
  6900. type: integer
  6901. memberuserid:
  6902. description: 所属会员ID
  6903. type: integer
  6904. modifierid:
  6905. description: 修改人
  6906. type: integer
  6907. modifyremark:
  6908. description: 变更备注
  6909. type: string
  6910. modifystatus:
  6911. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6912. type: integer
  6913. modifytime:
  6914. description: 修改时间
  6915. type: string
  6916. nickname:
  6917. description: 昵称
  6918. type: string
  6919. parenttopuser:
  6920. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6921. type: string
  6922. parentuserid:
  6923. description: 所属机构ID
  6924. type: integer
  6925. reckonaccountid:
  6926. description: 默认结算资金账号ID(机构分润使用) 作废
  6927. type: integer
  6928. refercount:
  6929. description: 推荐总人数
  6930. type: integer
  6931. refereeuserid:
  6932. description: 推荐人ID
  6933. type: integer
  6934. refernum:
  6935. description: 推荐码
  6936. type: string
  6937. rootuserid:
  6938. description: 根用户ID
  6939. type: integer
  6940. subaccountlevel:
  6941. description: 子账户层数
  6942. type: integer
  6943. subarealevelpath:
  6944. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6945. type: string
  6946. userid:
  6947. description: 用户ID
  6948. type: integer
  6949. usertype:
  6950. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6951. type: integer
  6952. type: object
  6953. models.Ermcp3SCMiddleGoods:
  6954. properties:
  6955. biztype:
  6956. description: 业务类型 1:套保 2:套利
  6957. type: integer
  6958. contractno:
  6959. description: 合同编号
  6960. type: string
  6961. contracttype:
  6962. description: 合同类型 1:采购 -1:销售
  6963. type: integer
  6964. convertratio:
  6965. description: 折算系数
  6966. type: number
  6967. customername:
  6968. description: 对手手名称
  6969. type: string
  6970. customeruserid:
  6971. description: 对手id
  6972. type: integer
  6973. deliverygoodscode:
  6974. description: 现货品种代码
  6975. type: string
  6976. deliverygoodsid:
  6977. description: 现货品种ID
  6978. type: integer
  6979. deliverygoodsname:
  6980. description: 现货品种名称
  6981. type: string
  6982. enumdicname:
  6983. description: 现货单位名称
  6984. type: string
  6985. middlegoodsid:
  6986. description: 套保品种ID
  6987. type: integer
  6988. middlegoodspricedqty3:
  6989. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6990. type: number
  6991. needhedgeratio:
  6992. description: 套保比例
  6993. type: number
  6994. pricedqty:
  6995. description: 已定价量
  6996. type: number
  6997. relatedmiddlegoodsqty:
  6998. description: 已关联量(套保品种)(期货)
  6999. type: number
  7000. spotcontractid:
  7001. description: 合同编号
  7002. type: string
  7003. unitid:
  7004. description: 现货单位id
  7005. type: integer
  7006. userid:
  7007. description: 用户id
  7008. type: integer
  7009. vatrate:
  7010. description: 增值税率
  7011. type: number
  7012. wrstandardcode:
  7013. description: 现货商品代码
  7014. type: string
  7015. wrstandardid:
  7016. description: 现货商品id
  7017. type: integer
  7018. wrstandardname:
  7019. description: 现货商品名称
  7020. type: string
  7021. type: object
  7022. models.Ermcp3SCMiddleGoodsReport:
  7023. properties:
  7024. begindate:
  7025. description: 开始交易日
  7026. type: string
  7027. contractno:
  7028. description: 合同编号
  7029. type: string
  7030. contracttype:
  7031. description: 合同类型 1:采购 -1:销售
  7032. type: integer
  7033. convertratio:
  7034. description: 折算系数
  7035. type: number
  7036. cycletime:
  7037. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7038. type: string
  7039. cycletype:
  7040. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7041. type: integer
  7042. deliverygoodscode:
  7043. description: 品种代码
  7044. type: string
  7045. deliverygoodsid:
  7046. description: 现货品种ID
  7047. type: integer
  7048. deliverygoodsname:
  7049. description: 品种名称
  7050. type: string
  7051. diffprice:
  7052. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  7053. type: number
  7054. diffqty:
  7055. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  7056. type: number
  7057. enddate:
  7058. description: 结束交易日
  7059. type: string
  7060. hedgeplanqty:
  7061. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  7062. type: number
  7063. matchname:
  7064. description: 交易对手方(个人:用户名称 企业:简称)
  7065. type: string
  7066. matchnickname:
  7067. description: 交易对手方昵称
  7068. type: string
  7069. middlegoodscode:
  7070. description: 套保品种代码
  7071. type: string
  7072. middlegoodsid:
  7073. description: 套保品种ID
  7074. type: integer
  7075. middlegoodsname:
  7076. description: 套保品种名称
  7077. type: string
  7078. middlegoodspricedqty:
  7079. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  7080. type: number
  7081. middlegoodspricedqty2:
  7082. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  7083. type: number
  7084. middlegoodspricedqty3:
  7085. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  7086. type: number
  7087. needhedgeratio:
  7088. description: 套保系数
  7089. type: number
  7090. pricedamount:
  7091. description: 已定价额(现货)
  7092. type: number
  7093. pricedamount2:
  7094. description: 已定价额(现货-基价额)
  7095. type: number
  7096. pricedqty:
  7097. description: 已定价量(现货)
  7098. type: number
  7099. reckondate:
  7100. description: 日照时期(yyyyMMdd)
  7101. type: string
  7102. relatedmiddlegoodsamount:
  7103. description: 已关联额(期货)
  7104. type: number
  7105. relatedmiddlegoodsqty:
  7106. description: 已关联量(套保品种)(期货)
  7107. type: number
  7108. spotcontractid:
  7109. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7110. type: string
  7111. todayavgfutuprice:
  7112. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  7113. type: number
  7114. todayavgprice:
  7115. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  7116. type: number
  7117. todayavgprice2:
  7118. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  7119. type: number
  7120. todaypricedamount:
  7121. description: 今日定价额(现货)
  7122. type: number
  7123. todaypricedamount2:
  7124. description: 今日定价额(现货-基价额)
  7125. type: number
  7126. todaypricedqty:
  7127. description: 今日定价量(现货)
  7128. type: number
  7129. todayrelatedfutureqty:
  7130. description: 今日关联量(期货)
  7131. type: number
  7132. todayrelatedmiddlegoodsamount:
  7133. description: 今日关联额(期货)
  7134. type: number
  7135. todayrelatedmiddlegoodsqty:
  7136. description: 今日关联量(套保品-期货)
  7137. type: number
  7138. updatetime:
  7139. description: 更新时间
  7140. type: string
  7141. userid:
  7142. description: 合同所属用户id
  7143. type: integer
  7144. vatrate:
  7145. description: 增值税率
  7146. type: number
  7147. wrstandardcode:
  7148. description: 商品(品类) 代码
  7149. type: string
  7150. wrstandardid:
  7151. description: 现货商品ID
  7152. type: integer
  7153. wrstandardname:
  7154. description: 商品(品类) 名称
  7155. type: string
  7156. type: object
  7157. models.Ermcp3SellBuyContract:
  7158. properties:
  7159. accountid:
  7160. description: 期货账户id
  7161. type: string
  7162. accountname:
  7163. description: 账户名称
  7164. type: string
  7165. attachment:
  7166. description: 附件
  7167. type: string
  7168. audittime:
  7169. description: 审核时间
  7170. type: string
  7171. bizsubjectid:
  7172. description: 归属业务部门ID - SubjectID
  7173. type: integer
  7174. biztype:
  7175. description: 业务类型 1-套保 2-套利
  7176. type: integer
  7177. brandname:
  7178. description: 品牌名称
  7179. type: string
  7180. contracctstatus:
  7181. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7182. type: integer
  7183. contractmargin:
  7184. description: 合同保证金
  7185. type: number
  7186. contractno:
  7187. description: 合同编号
  7188. type: string
  7189. contracttype:
  7190. description: 合同类型 1-采购, -1-销售
  7191. type: integer
  7192. convertfactor:
  7193. description: 标仓系数(品类)
  7194. type: number
  7195. createtime:
  7196. description: 创建时间
  7197. type: string
  7198. currencyid:
  7199. description: 币种id
  7200. type: integer
  7201. currencyname:
  7202. description: 币种名称
  7203. type: string
  7204. daikaiamount:
  7205. description: 应收(开)票额 | 未收票额
  7206. type: number
  7207. deliveryenddate:
  7208. description: 交割结束日
  7209. type: string
  7210. deliverygoodscode:
  7211. description: 现货品种代码
  7212. type: string
  7213. deliverygoodsid:
  7214. description: 现货商品ID
  7215. type: integer
  7216. deliverygoodsname:
  7217. description: 现货品种名称
  7218. type: string
  7219. deliverystartdate:
  7220. description: 交割开始日
  7221. type: string
  7222. enddate:
  7223. description: 点价结束日
  7224. type: string
  7225. enumdicname:
  7226. description: 单位名称
  7227. type: string
  7228. goodscode:
  7229. description: 点价商品代码
  7230. type: string
  7231. goodsgroupid:
  7232. description: 点价商品组id
  7233. type: integer
  7234. goodsid:
  7235. description: 点价商品ID
  7236. type: integer
  7237. goodsname:
  7238. description: 点价商品名称
  7239. type: string
  7240. invoiceamount:
  7241. description: 已开票额
  7242. type: number
  7243. loanamount:
  7244. description: 贷款总额=已定价额+调整金额
  7245. type: number
  7246. margin:
  7247. description: 保证金
  7248. type: number
  7249. meruserid:
  7250. description: 跟单员id
  7251. type: integer
  7252. meruserlogincode:
  7253. description: 跟单员登录代码
  7254. type: string
  7255. merusername:
  7256. description: 跟单员名称
  7257. type: string
  7258. nickname:
  7259. description: 账户昵称
  7260. type: string
  7261. orireckonrealqty:
  7262. description: 应交收量
  7263. type: number
  7264. payamount:
  7265. description: 已收付额(收款或付款)
  7266. type: number
  7267. preinvoiceamount:
  7268. description: 预收(开)票额
  7269. type: number
  7270. prepayamount:
  7271. description: 预收付额
  7272. type: number
  7273. price:
  7274. description: 价格
  7275. type: number
  7276. pricedamount:
  7277. description: 已定价额
  7278. type: number
  7279. pricedavg:
  7280. description: 已点均价
  7281. type: number
  7282. pricedqty:
  7283. description: 已定价量
  7284. type: number
  7285. pricemove:
  7286. description: 升贴水
  7287. type: number
  7288. pricetype:
  7289. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7290. type: integer
  7291. producttype:
  7292. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7293. type: integer
  7294. qty:
  7295. description: 合同量
  7296. type: number
  7297. reckonadjustamount:
  7298. description: 调整金额
  7299. type: number
  7300. reckonedamount:
  7301. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7302. type: number
  7303. reckonotheramount:
  7304. description: 其它费用
  7305. type: number
  7306. reckonrealqty:
  7307. description: 已交收量
  7308. type: number
  7309. remark:
  7310. description: 备注
  7311. type: string
  7312. saleuserid:
  7313. description: 业务员id
  7314. type: integer
  7315. saleuserlogincode:
  7316. description: 业务员登录代码
  7317. type: string
  7318. saleusername:
  7319. description: 业务员名称
  7320. type: string
  7321. spotcontractid:
  7322. description: 合同ID
  7323. type: string
  7324. spotgoodsbrandid:
  7325. description: 现货品牌ID(DGFactoryItem表的ID)
  7326. type: integer
  7327. spotgoodsdesc:
  7328. description: 商品型号(商品规格)
  7329. type: string
  7330. startdate:
  7331. description: 点价开始日
  7332. type: string
  7333. subjectid:
  7334. description: 交易主体ID
  7335. type: integer
  7336. subjectname:
  7337. description: 交易主体名称
  7338. type: string
  7339. totalamount:
  7340. description: 合计总额
  7341. type: number
  7342. tradeuserid:
  7343. description: 交易员id
  7344. type: integer
  7345. tradeuserlogincode:
  7346. description: 交易员登录代码
  7347. type: string
  7348. tradeusername:
  7349. description: 交易员名称
  7350. type: string
  7351. unpayamount:
  7352. description: 应收付款额(应支付或应收款) | 未付款额
  7353. type: number
  7354. unpricedqty:
  7355. description: 未定价量
  7356. type: number
  7357. unsureqty:
  7358. description: 未确定量 | 未交收量
  7359. type: number
  7360. userid:
  7361. description: 机构ID
  7362. type: integer
  7363. vatrate:
  7364. description: 增值税率
  7365. type: number
  7366. wrstandardcode:
  7367. description: 品类代码
  7368. type: string
  7369. wrstandardid:
  7370. description: 品类ID
  7371. type: integer
  7372. wrstandardname:
  7373. description: 品类名称
  7374. type: string
  7375. type: object
  7376. models.Ermcp3SpotGoodsPrice:
  7377. properties:
  7378. areauserid:
  7379. description: 所属机构id
  7380. type: integer
  7381. brandname:
  7382. description: 品牌名称
  7383. type: string
  7384. currencyid:
  7385. description: 报价货币ID
  7386. type: integer
  7387. currencyname:
  7388. description: 币种名称
  7389. type: string
  7390. deliverygoodscode:
  7391. description: 现货商品代码
  7392. type: string
  7393. deliverygoodsid:
  7394. description: 现货商品id
  7395. type: integer
  7396. deliverygoodsname:
  7397. description: 现货商品名称
  7398. type: string
  7399. enumdicname:
  7400. description: 现货商品单位名称
  7401. type: string
  7402. gbenumdicname:
  7403. description: 品类单位名称
  7404. type: string
  7405. gmunitid:
  7406. description: 品类单位id
  7407. type: integer
  7408. isvalid:
  7409. description: 是否有效 - 0:无效 1:有效
  7410. type: integer
  7411. operateid:
  7412. description: 最后操作人
  7413. type: integer
  7414. operatesrc:
  7415. description: 最后操作来源 - 1:管理端 2:终端
  7416. type: integer
  7417. operatetime:
  7418. description: 最后操作时间
  7419. type: string
  7420. operatorname:
  7421. description: 操作人名称
  7422. type: string
  7423. spotgoodsbrandid:
  7424. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7425. type: integer
  7426. spotgoodsprice:
  7427. description: 现货价格
  7428. type: number
  7429. tradedate:
  7430. description: 交易日(yyyyMMdd)
  7431. type: string
  7432. unitid:
  7433. description: 现货商品单位id
  7434. type: integer
  7435. wrstandardcode:
  7436. description: 品类代码
  7437. type: string
  7438. wrstandardid:
  7439. description: 现货品类ID(通用则为0)
  7440. type: integer
  7441. wrstandardname:
  7442. description: 品类名称
  7443. type: string
  7444. type: object
  7445. models.Ermcp3SpotGoodsPriceLog:
  7446. properties:
  7447. areauserid:
  7448. description: 所属机构id
  7449. type: integer
  7450. brandname:
  7451. description: 品牌名称
  7452. type: string
  7453. currencyid:
  7454. description: 报价货币ID
  7455. type: integer
  7456. deliverygoodscode:
  7457. description: 现货商品代码
  7458. type: string
  7459. deliverygoodsid:
  7460. description: 现货商品id
  7461. type: integer
  7462. deliverygoodsname:
  7463. description: 现货商品名称
  7464. type: string
  7465. enumdicname:
  7466. description: 现货商品单位名称
  7467. type: string
  7468. gbenumdicname:
  7469. description: 品类单位名称
  7470. type: string
  7471. gmunitid:
  7472. description: 品类单位id
  7473. type: integer
  7474. logid:
  7475. description: 日志id
  7476. type: integer
  7477. operateid:
  7478. description: 最后操作人
  7479. type: integer
  7480. operatesrc:
  7481. description: 最后操作来源 - 1:管理端 2:终端
  7482. type: integer
  7483. operatetime:
  7484. description: 最后操作时间
  7485. type: string
  7486. operatorname:
  7487. description: 操作人名称
  7488. type: string
  7489. spotgoodsbrandid:
  7490. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7491. type: integer
  7492. spotgoodsprice:
  7493. description: 现货价格
  7494. type: number
  7495. tradedate:
  7496. description: 交易日(yyyyMMdd)
  7497. type: string
  7498. unitid:
  7499. description: 现货商品单位id
  7500. type: integer
  7501. wrstandardcode:
  7502. description: 品类代码
  7503. type: string
  7504. wrstandardid:
  7505. description: 现货品类ID(通用则为0)
  7506. type: integer
  7507. wrstandardname:
  7508. description: 品类名称
  7509. type: string
  7510. type: object
  7511. models.Ermcp3SubTaaccount:
  7512. properties:
  7513. accountid:
  7514. description: 资金账户ID
  7515. type: integer
  7516. parentaccountcode:
  7517. description: 所属根账号代码(母账号代码)
  7518. type: string
  7519. parentaccountid:
  7520. description: 所属根账号(母账号)
  7521. type: integer
  7522. taname:
  7523. description: 资金账号名称
  7524. type: string
  7525. tradestatus:
  7526. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7527. type: integer
  7528. username:
  7529. description: 交易用户
  7530. type: string
  7531. type: object
  7532. models.Ermcp3TaFutuReDataReport:
  7533. properties:
  7534. accountid:
  7535. description: 交易账户
  7536. type: integer
  7537. accountname:
  7538. description: 交易账号名称
  7539. type: string
  7540. agreeunit:
  7541. description: 商品合约单位
  7542. type: number
  7543. begindate:
  7544. description: 开始交易日
  7545. type: string
  7546. buyorsell:
  7547. description: 持仓方向
  7548. type: integer
  7549. charge:
  7550. description: 手续费
  7551. type: number
  7552. closeavgprice:
  7553. description: 平仓均价
  7554. type: number
  7555. closepl:
  7556. description: 平仓损益
  7557. type: number
  7558. currencyid:
  7559. description: 结算币种ID
  7560. type: integer
  7561. currencyname:
  7562. description: 币种名称
  7563. type: string
  7564. cycletime:
  7565. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7566. type: string
  7567. cycletype:
  7568. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7569. type: integer
  7570. enddate:
  7571. description: 结束交易日
  7572. type: string
  7573. enumdicname:
  7574. description: 单位名称
  7575. type: string
  7576. floatpl:
  7577. description: 浮动损益
  7578. type: number
  7579. goodscode:
  7580. description: 交易合约代码
  7581. type: string
  7582. goodsgroupid:
  7583. description: 交易品种
  7584. type: integer
  7585. goodsgroupname:
  7586. description: 交易品种名称
  7587. type: string
  7588. goodsgroupspotqty:
  7589. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7590. type: number
  7591. goodsid:
  7592. description: 交易合约
  7593. type: integer
  7594. goodsname:
  7595. description: 交易合约名称
  7596. type: string
  7597. goodunitid:
  7598. description: 交易合约单位id
  7599. type: integer
  7600. holdamount:
  7601. description: 期末持仓额
  7602. type: number
  7603. holdqty:
  7604. description: 期末持仓量
  7605. type: number
  7606. lastholdamount:
  7607. description: 当前持仓额
  7608. type: number
  7609. lastprice:
  7610. description: 最新价
  7611. type: number
  7612. middlegoodsid:
  7613. description: 套保品种id
  7614. type: integer
  7615. middlegoodsname:
  7616. description: 套保商品名称
  7617. type: string
  7618. middlegoodsqty:
  7619. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7620. type: number
  7621. middlgoodscode:
  7622. description: 套保商品代码
  7623. type: string
  7624. openamount:
  7625. description: 期末开仓额
  7626. type: number
  7627. openavgprice:
  7628. description: 开仓均价
  7629. type: number
  7630. oriholdamount:
  7631. description: 期初持仓额
  7632. type: number
  7633. oriholdqty:
  7634. description: 期初持仓量
  7635. type: number
  7636. oriopenamount:
  7637. description: 期初开仓额
  7638. type: number
  7639. outergroupcode:
  7640. description: 交易品种代码
  7641. type: string
  7642. qtydecimalplace:
  7643. description: 成交量小数位
  7644. type: integer
  7645. reckondate:
  7646. description: 日照时期(yyyyMMdd)
  7647. type: string
  7648. reckonholdamount:
  7649. description: 结算持仓额
  7650. type: number
  7651. reckonpl:
  7652. description: 结算损益
  7653. type: number
  7654. reckonpl2:
  7655. description: 结算逐笔盈亏
  7656. type: number
  7657. reckonprice:
  7658. description: 结算价
  7659. type: number
  7660. relateduserid:
  7661. description: 账户关联用户ID
  7662. type: integer
  7663. todaycloseamount:
  7664. description: 今平仓额
  7665. type: number
  7666. todaycloseqty:
  7667. description: 今平仓量
  7668. type: number
  7669. todaygoodsgroupspotqty:
  7670. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7671. type: number
  7672. todaymiddlegoodsqty:
  7673. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7674. type: number
  7675. todayopenamount:
  7676. description: 今开仓额
  7677. type: number
  7678. todayopenqty:
  7679. description: 今开仓量
  7680. type: number
  7681. userid:
  7682. description: 账户所属用户ID
  7683. type: integer
  7684. type: object
  7685. models.Ermcp3TradeLinkDetail:
  7686. properties:
  7687. accountid:
  7688. description: 资金账号
  7689. type: integer
  7690. agreeunit:
  7691. description: 合约乘数
  7692. type: number
  7693. areauserid:
  7694. description: 所属机构
  7695. type: string
  7696. bizsubjectid:
  7697. description: 归属业务部门ID - SubjectID
  7698. type: string
  7699. buyorsell:
  7700. description: 方向 - 0:买 1:卖
  7701. type: integer
  7702. channelbuildtype:
  7703. description: 委托单据类型 0:无 1:建仓 2:平仓
  7704. type: integer
  7705. contractno:
  7706. description: 现货编号 (合同编号)
  7707. type: string
  7708. convertratio:
  7709. description: 折算系数
  7710. type: number
  7711. createtime:
  7712. description: 关联时间 | 创建时间
  7713. type: string
  7714. creatorid:
  7715. description: 创建人ID
  7716. type: string
  7717. creatorsrc:
  7718. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7719. type: integer
  7720. enumdicname:
  7721. description: 单位名称
  7722. type: string
  7723. goodscode:
  7724. description: 合约代码
  7725. type: string
  7726. goodsgroupid:
  7727. description: 对冲品种ID[期货合约商品组ID]
  7728. type: integer
  7729. goodsid:
  7730. description: 商品ID
  7731. type: integer
  7732. goodsname:
  7733. description: 合约名称
  7734. type: string
  7735. hedgeflag:
  7736. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7737. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7738. type: integer
  7739. linkdetailid:
  7740. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7741. type: string
  7742. linkstatus:
  7743. description: 关联状态 - 1:成功 2:失败 3:解绑
  7744. type: integer
  7745. middlegoodscode:
  7746. description: 套保品种代码
  7747. type: string
  7748. middlegoodsid:
  7749. description: 套保品种ID
  7750. type: integer
  7751. middlegoodsname:
  7752. description: 套保品种名称
  7753. type: string
  7754. relatedlot:
  7755. description: 关联手数
  7756. type: number
  7757. relatedmode:
  7758. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7759. type: integer
  7760. relatedqty:
  7761. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7762. type: number
  7763. retcode:
  7764. description: 返回码
  7765. type: integer
  7766. saleuserid:
  7767. description: 业务员ID
  7768. type: string
  7769. spotcontractid:
  7770. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7771. type: string
  7772. taname:
  7773. description: 期货账户
  7774. type: string
  7775. tradedate:
  7776. description: 关联交易日(yyyyMMdd)
  7777. type: string
  7778. tradeid:
  7779. description: 期货订单号 | 内部成交单ID
  7780. type: string
  7781. tradelot:
  7782. description: 成交数量 | 成交手数
  7783. type: integer
  7784. tradeprice:
  7785. description: 成交价格
  7786. type: number
  7787. tradetime:
  7788. description: 期货成交时间
  7789. type: string
  7790. tradetradedate:
  7791. description: 成交交易日(yyyyMMdd)
  7792. type: string
  7793. username:
  7794. description: 用户名称
  7795. type: string
  7796. type: object
  7797. models.Ermcp3Wrstandard:
  7798. properties:
  7799. areauserid:
  7800. description: 所属机构
  7801. type: integer
  7802. cantrade:
  7803. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7804. type: integer
  7805. convertfactor:
  7806. description: 标仓系数
  7807. type: number
  7808. createtime:
  7809. description: 创建时间
  7810. type: string
  7811. creatorid:
  7812. description: 创建人
  7813. type: integer
  7814. deliverygoodsid:
  7815. description: 现货品种ID
  7816. type: integer
  7817. enumdicname:
  7818. description: 品类单位名称
  7819. type: string
  7820. isvalid:
  7821. description: 是否有效 0-无效(停用) 1-有效(正常)
  7822. type: integer
  7823. minivalue:
  7824. description: 最小变动值
  7825. type: integer
  7826. minivaluedp:
  7827. description: 最小变动值小数位
  7828. type: integer
  7829. realminivalue:
  7830. description: 实际最小变动值
  7831. type: integer
  7832. realminivaluedp:
  7833. description: 实际最小变动值小数位
  7834. type: integer
  7835. remark:
  7836. description: 备注
  7837. type: string
  7838. unitid:
  7839. description: 品类单位ID
  7840. type: integer
  7841. updatetime:
  7842. description: 更新时间
  7843. type: string
  7844. wrstandardcode:
  7845. description: 品类代码
  7846. type: string
  7847. wrstandardid:
  7848. description: 品类ID(SEQ_WRSTANDARD)
  7849. type: integer
  7850. wrstandardname:
  7851. description: 品类名称
  7852. type: string
  7853. type: object
  7854. models.Ermcp8EnableHedgeditem:
  7855. properties:
  7856. accountname:
  7857. description: 套期主体
  7858. type: string
  7859. hedgeditemid:
  7860. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7861. type: string
  7862. hedgeditemname:
  7863. description: 项目名称
  7864. type: string
  7865. hedgeditemnum:
  7866. description: 项目编号
  7867. type: string
  7868. hedgedtype:
  7869. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7870. type: integer
  7871. planenddate:
  7872. description: 计划结束日期
  7873. type: string
  7874. planstartdate:
  7875. description: 计划开始日期
  7876. type: string
  7877. type: object
  7878. models.Ermcp8HedgeditemReport:
  7879. properties:
  7880. accountname:
  7881. description: 套期主体
  7882. type: string
  7883. areauserid:
  7884. description: 企业ID
  7885. type: integer
  7886. curprice:
  7887. description: '[当日现货市场价]当前市场价'
  7888. type: number
  7889. enumdicname:
  7890. description: 单位
  7891. type: string
  7892. exeamount:
  7893. description: '[执行现货金额]执行市价总额'
  7894. type: number
  7895. exeavgprice:
  7896. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7897. type: number
  7898. exeqty:
  7899. description: '[执行数量]执行现货量'
  7900. type: number
  7901. futurehedgepl:
  7902. description: 期货实际损益
  7903. type: number
  7904. futurehedgeplchange:
  7905. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7906. type: number
  7907. futurepl:
  7908. description: 期货套期损益
  7909. type: number
  7910. futureplchange:
  7911. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7912. type: number
  7913. hedgeamount:
  7914. description: '[套期现货金额]套期市价总额'
  7915. type: number
  7916. hedgeditemnum:
  7917. description: 项目编号,模糊查询
  7918. type: string
  7919. hedgeditemstatus:
  7920. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7921. type: integer
  7922. hedgedtype:
  7923. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7924. type: integer
  7925. hedgeqty:
  7926. description: '[套期数量]套期现货量'
  7927. type: number
  7928. oriavgprice:
  7929. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7930. type: number
  7931. orifuturehedgepl:
  7932. description: 期初期货实际损益
  7933. type: number
  7934. orifuturepl:
  7935. description: 期初期货套期损益
  7936. type: number
  7937. orispothedgepl:
  7938. description: 期初现货实际损益
  7939. type: number
  7940. orispotpl:
  7941. description: 期初现货套期损益
  7942. type: number
  7943. planenddate:
  7944. description: 计划结束日期
  7945. type: string
  7946. planstartdate:
  7947. description: 计划开始日期
  7948. type: string
  7949. spothedgepl:
  7950. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7951. type: number
  7952. spothedgeplchange:
  7953. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7954. type: number
  7955. spotpl:
  7956. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7957. type: number
  7958. spotplchange:
  7959. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7960. type: number
  7961. tradeuserid:
  7962. description: 交易用户ID
  7963. type: integer
  7964. unexeqty:
  7965. description: 未执行现货量 = 套期现货量 - 执行现货量
  7966. type: number
  7967. wrstandardcode:
  7968. description: 现货品类代码
  7969. type: string
  7970. wrstandardid:
  7971. description: 现货商品ID
  7972. type: integer
  7973. wrstandardname:
  7974. description: '[现货商品]现货品类名称'
  7975. type: string
  7976. type: object
  7977. models.Ermcp8RunningHedgeditem:
  7978. properties:
  7979. accountname:
  7980. description: 套期主体
  7981. type: string
  7982. applyid:
  7983. description: 申请人
  7984. type: integer
  7985. applysrc:
  7986. description: 申请来源 - 1:管理端 2:终端
  7987. type: integer
  7988. areauserid:
  7989. description: 企业ID
  7990. type: integer
  7991. auditid:
  7992. description: 审核人
  7993. type: integer
  7994. auditremark:
  7995. description: 审核备注
  7996. type: string
  7997. auditsrc:
  7998. description: 审核来源 - 1:管理端 2:终端
  7999. type: integer
  8000. audittime:
  8001. description: 审核时间
  8002. type: string
  8003. audittradedate:
  8004. description: 审核交易日(yyyyMMdd)
  8005. type: string
  8006. createtime:
  8007. description: 申请时间
  8008. type: string
  8009. curprice:
  8010. description: 当前市场价
  8011. type: number
  8012. curstock:
  8013. description: 期末库存量 = 采购总量 - 销售总量
  8014. type: number
  8015. deliverygoodsid:
  8016. description: 现货品种ID
  8017. type: integer
  8018. enddate:
  8019. description: 完成日期
  8020. type: string
  8021. endtradedate:
  8022. description: 完成交易日
  8023. type: string
  8024. enumdicname:
  8025. description: 单位
  8026. type: string
  8027. exeamount:
  8028. description: 执行市价总额
  8029. type: number
  8030. exeavgprice:
  8031. description: 执行市场均价= 执行市价总额 / 执行现货量
  8032. type: number
  8033. execontractamount:
  8034. description: 执行定价总额
  8035. type: number
  8036. exeqty:
  8037. description: 执行现货量
  8038. type: number
  8039. exerestamount:
  8040. description: 执行剩余市价总额【现货贸易】
  8041. type: number
  8042. futurefloatpl:
  8043. description: 期货浮动损益
  8044. type: number
  8045. futurehedgepl:
  8046. description: 期货实际损益
  8047. type: number
  8048. futurehedgeplchange:
  8049. description: 期货实际损益变动
  8050. type: number
  8051. futurepl:
  8052. description: 期货套期损益
  8053. type: number
  8054. futureplchange:
  8055. description: 期货套期损益变动
  8056. type: number
  8057. hedgeamount:
  8058. description: 套期市价总额
  8059. type: number
  8060. hedgecontractamount:
  8061. description: 套期定价总额 【定价采购合同】【现货贸易】
  8062. type: number
  8063. hedgeditemid:
  8064. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8065. type: string
  8066. hedgeditemname:
  8067. description: 项目名称
  8068. type: string
  8069. hedgeditemnum:
  8070. description: 项目编号
  8071. type: string
  8072. hedgeditemstatus:
  8073. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8074. type: integer
  8075. hedgedtype:
  8076. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8077. type: integer
  8078. hedgeqty:
  8079. description: 套期现货量
  8080. type: number
  8081. hedgerate:
  8082. description: 套保比率
  8083. type: number
  8084. hedgerestamount:
  8085. description: 套期剩余市价总额【现货贸易】
  8086. type: number
  8087. hedgesumpl:
  8088. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8089. type: number
  8090. middlegoodslist:
  8091. description: 套期商品列表
  8092. items:
  8093. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8094. type: array
  8095. oriavgprice:
  8096. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8097. type: number
  8098. orifuturehedgepl:
  8099. description: 期初期货实际损益
  8100. type: number
  8101. orifuturepl:
  8102. description: 期初期货套期损益
  8103. type: number
  8104. orispothedgepl:
  8105. description: 期初现货实际损益
  8106. type: number
  8107. orispotpl:
  8108. description: 期初现货套期损益
  8109. type: number
  8110. planenddate:
  8111. description: 计划结束日期
  8112. type: string
  8113. planstartdate:
  8114. description: 计划开始日期
  8115. type: string
  8116. remark:
  8117. description: 备注
  8118. type: string
  8119. spotbookamount:
  8120. description: 现货账面总额
  8121. type: number
  8122. spotfloatpl:
  8123. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8124. type: number
  8125. spothedgepl:
  8126. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8127. type: number
  8128. spothedgeplchange:
  8129. description: 现货实际损益变动
  8130. type: number
  8131. spotpl:
  8132. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8133. type: number
  8134. spotplchange:
  8135. description: 现货套期损益变动
  8136. type: number
  8137. spottradepl:
  8138. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8139. type: number
  8140. sumobspl:
  8141. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8142. type: number
  8143. tradeuserid:
  8144. description: 交易用户ID
  8145. type: integer
  8146. unexeqty:
  8147. description: 未执行现货量 = 套期现货量 - 执行现货量
  8148. type: number
  8149. updatetime:
  8150. description: 更新时间
  8151. type: string
  8152. vatpl:
  8153. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8154. type: number
  8155. vatrate:
  8156. description: 增值税
  8157. type: number
  8158. wrstandardid:
  8159. description: 现货商品ID
  8160. type: integer
  8161. wrstandardname:
  8162. description: 商品名称
  8163. type: string
  8164. type: object
  8165. models.ErmcpBizGroupEx:
  8166. properties:
  8167. acclist:
  8168. description: 账号列表
  8169. items:
  8170. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8171. type: array
  8172. bizgroupid:
  8173. description: 业务分组id
  8174. type: integer
  8175. biztype:
  8176. description: 业务类型 1-套保 2-套利
  8177. type: integer
  8178. wrlist:
  8179. description: 现货商品表
  8180. items:
  8181. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8182. type: array
  8183. type: object
  8184. models.ErmcpBizGroupSpotGoods:
  8185. properties:
  8186. areauserid:
  8187. description: 所属机构id
  8188. type: integer
  8189. bizgroupid:
  8190. description: 分组id
  8191. type: integer
  8192. biztype:
  8193. description: 业务类型 1-套保 2-套利
  8194. type: integer
  8195. deliverygoodscode:
  8196. description: 现货商品代码
  8197. type: string
  8198. deliverygoodsid:
  8199. description: 现货商品id
  8200. type: integer
  8201. deliverygoodsname:
  8202. description: 现货商品名称
  8203. type: string
  8204. unitid:
  8205. description: 现货商品单位id
  8206. type: integer
  8207. type: object
  8208. models.ErmcpBizGroupTaAccount:
  8209. properties:
  8210. accountid:
  8211. description: 账号id
  8212. type: integer
  8213. accountname:
  8214. description: 账号名称
  8215. type: string
  8216. areauserid:
  8217. description: 所属机构id
  8218. type: integer
  8219. bizgroupid:
  8220. description: 业务分组id
  8221. type: integer
  8222. ismain:
  8223. description: 是否主账号 1-是 0-否
  8224. type: integer
  8225. type: object
  8226. models.ErmcpDGFactoryItem:
  8227. properties:
  8228. areauserid:
  8229. description: 用户id
  8230. type: integer
  8231. deliverygoodsid:
  8232. description: 现货品种ID
  8233. type: integer
  8234. dgfactoryitemid:
  8235. description: 选择项ID(SEQ_DGFACTORYITEM)
  8236. type: integer
  8237. dgfactoryitemtypeid:
  8238. description: 要素项类型
  8239. type: integer
  8240. dgfactoryitemvalue:
  8241. description: 要素项值(类型为仓库时填写仓库名称)
  8242. type: string
  8243. isvalid:
  8244. description: 是否有效 - 0:无效 1:有效
  8245. type: integer
  8246. orderindex:
  8247. description: 顺序
  8248. type: integer
  8249. warehouseid:
  8250. description: 仓库ID(类型为仓库时填写)
  8251. type: integer
  8252. type: object
  8253. models.ErmcpDeliveryGoods:
  8254. properties:
  8255. agreeunit:
  8256. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8257. type: integer
  8258. areauserid:
  8259. description: 所属机构
  8260. type: integer
  8261. auditflag:
  8262. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8263. type: integer
  8264. categoryid:
  8265. description: 类别ID(SEQ_WRCATEGORY)
  8266. type: integer
  8267. deliverygoodscode:
  8268. description: 现货品种代码
  8269. type: string
  8270. deliverygoodsid:
  8271. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8272. type: integer
  8273. deliverygoodsname:
  8274. description: 现货品种名称
  8275. type: string
  8276. deliverygoodstype:
  8277. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8278. type: integer
  8279. dgstatus:
  8280. description: 品种状态 - 作废 - 0:未激活 1:正常
  8281. type: integer
  8282. enumdicname:
  8283. description: 现货品种单位名称
  8284. type: string
  8285. goodsunitid:
  8286. description: 现货品种单位ID
  8287. type: integer
  8288. isvalid:
  8289. description: 是否有效 - 0:无效 1:有效
  8290. type: integer
  8291. qtydecimalplace:
  8292. description: 成交量小数位
  8293. type: integer
  8294. remark:
  8295. description: 备注
  8296. type: string
  8297. standardqty:
  8298. description: 标准数量(库位数量) [标准品特有]
  8299. type: integer
  8300. standardqtyrange:
  8301. description: 标准数量偏差范围 [标准品特有]
  8302. type: integer
  8303. type: object
  8304. models.ErmcpFuturesCompany:
  8305. properties:
  8306. brokerid:
  8307. description: 经纪公司代码
  8308. type: string
  8309. channeladdress:
  8310. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8311. type: string
  8312. channelid:
  8313. description: 对冲渠道ID
  8314. type: string
  8315. createtime:
  8316. description: 创建时间
  8317. type: string
  8318. creatorid:
  8319. description: 创建人
  8320. type: string
  8321. fcid:
  8322. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8323. type: integer
  8324. fcname:
  8325. description: 期货公司名称
  8326. type: string
  8327. isvalid:
  8328. description: 是否有效 - 0:无效 1:有效
  8329. type: integer
  8330. mhpaddress:
  8331. description: MHP服务地址(IP:Port)
  8332. type: string
  8333. riskrulegroupid:
  8334. description: 风控规则组ID
  8335. type: string
  8336. tradefeetmpid:
  8337. description: 手续费模板ID[TradeConfigTmpType为2]
  8338. type: string
  8339. trademargintmpid:
  8340. description: 保证金模板ID [TradeConfigTmpType为1]
  8341. type: string
  8342. traderatetmpid:
  8343. description: 汇率模板ID[TradeConfigTmpType为3]
  8344. type: string
  8345. updatetime:
  8346. description: 更新时间
  8347. type: string
  8348. updatorid:
  8349. description: 更新人
  8350. type: string
  8351. type: object
  8352. models.ErmcpGGConvertCfg:
  8353. properties:
  8354. convertratio:
  8355. description: 折算系数
  8356. type: number
  8357. destgoodsgroupid:
  8358. description: 目标品种ID
  8359. type: integer
  8360. dstcode:
  8361. description: 目录品种代码
  8362. type: string
  8363. dstexchangecode:
  8364. description: 目标期货交易所
  8365. type: string
  8366. dstname:
  8367. description: 目标品种名称
  8368. type: string
  8369. dstunitid:
  8370. description: 目标品种单位ID
  8371. type: integer
  8372. dstunitidname:
  8373. description: 目标品种单位名称
  8374. type: string
  8375. modifytime:
  8376. description: 修改时间
  8377. type: string
  8378. srccode:
  8379. description: 源品种代码
  8380. type: string
  8381. srcexchangecode:
  8382. description: 源期货交易所
  8383. type: string
  8384. srcgoodsgroupid:
  8385. description: 源品种ID
  8386. type: integer
  8387. srcname:
  8388. description: 源品种名称
  8389. type: string
  8390. srcunitid:
  8391. description: 源品种单位ID
  8392. type: integer
  8393. srcunitidname:
  8394. description: 源品种单位名称
  8395. type: string
  8396. type: object
  8397. models.ErmcpGoods:
  8398. properties:
  8399. agreeunit:
  8400. description: 合约单位
  8401. type: number
  8402. areauserid:
  8403. description: 所属机构
  8404. type: integer
  8405. auditaccountid:
  8406. description: 审核操作员账号
  8407. type: integer
  8408. audittime:
  8409. description: 审核时间
  8410. type: string
  8411. cancelaccountid:
  8412. description: 注销操作员账号
  8413. type: integer
  8414. canceltime:
  8415. description: 注销时间
  8416. type: string
  8417. closepricemode:
  8418. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8419. type: integer
  8420. closepriceparam:
  8421. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8422. type: number
  8423. createtime:
  8424. description: 创建时间
  8425. type: string
  8426. creatorid:
  8427. description: 创建人
  8428. type: integer
  8429. currencyid:
  8430. description: 报价货币ID
  8431. type: integer
  8432. cutmode:
  8433. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8434. type: integer
  8435. decimalplace:
  8436. description: 报价小数位
  8437. type: integer
  8438. delistingdate:
  8439. description: 商品退市时间(状态:退市) -- 已作废
  8440. type: string
  8441. delistingmode:
  8442. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8443. type: integer
  8444. deliveryflag:
  8445. description: 交割标志 - 0:不可交割 1:可交割
  8446. type: integer
  8447. enumdicname:
  8448. description: 单位名称
  8449. type: string
  8450. forceclosemode:
  8451. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8452. type: integer
  8453. forceclosevalue:
  8454. description: 定期强平参数 [收益权]
  8455. type: integer
  8456. goodscode:
  8457. description: 商品代码(内部)
  8458. type: string
  8459. goodscurrencyid:
  8460. description: 合约货币ID
  8461. type: integer
  8462. goodsgroupid:
  8463. description: 所属商品组ID
  8464. type: integer
  8465. goodsid:
  8466. description: 商品ID(自增ID SEQ_GOODS)
  8467. type: integer
  8468. goodsname:
  8469. description: 商品名称
  8470. type: string
  8471. goodsquotetype:
  8472. description: '合约报价类型: 1-直接报价 2-间接报价'
  8473. type: integer
  8474. goodsstatus:
  8475. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8476. type: integer
  8477. goodstradetype:
  8478. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8479. type: integer
  8480. goodunitid:
  8481. description: 报价单位ID
  8482. type: integer
  8483. hasquoter:
  8484. description: 是否有报价商 - 0:无报价商 1:有报价商
  8485. type: integer
  8486. hqprotecttime:
  8487. description: 行情保护时间(秒)
  8488. type: integer
  8489. innerdealmode:
  8490. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8491. type: integer
  8492. isbuylimited:
  8493. description: 是否限制建仓量 - 0:不限制 1:限制
  8494. type: integer
  8495. isvisible:
  8496. description: 游客是否可见 - 0:不可见 1:可见
  8497. type: integer
  8498. lasttradedate:
  8499. description: 最后交易日期(状态:待退市)
  8500. type: string
  8501. listingdate:
  8502. description: 交易开始日期
  8503. type: string
  8504. marketid:
  8505. description: 所属市场ID
  8506. type: integer
  8507. modifierid:
  8508. description: 修改人
  8509. type: integer
  8510. modifystatus:
  8511. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8512. type: integer
  8513. modifytime:
  8514. description: 修改时间
  8515. type: string
  8516. outerdealmode:
  8517. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8518. type: integer
  8519. outgoodscode:
  8520. description: 商品代码(外部)
  8521. type: string
  8522. pictureurl:
  8523. description: 商品图片
  8524. type: string
  8525. qtydecimalplace:
  8526. description: 成交量小数位
  8527. type: integer
  8528. quotegear:
  8529. description: 行情档位(1-10)
  8530. type: integer
  8531. quoteminunit:
  8532. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8533. type: integer
  8534. quoteshowtype:
  8535. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8536. type: integer
  8537. quoteshowtypeinterval:
  8538. description: 行情报价间隔时间(秒)(成交价时为0)
  8539. type: integer
  8540. relatedgoodsid:
  8541. description: 关联参考商品ID
  8542. type: integer
  8543. remark:
  8544. description: 备注
  8545. type: string
  8546. trademode:
  8547. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8548. 21:竞拍-大宗式 22:受托竞价
  8549. type: integer
  8550. required:
  8551. - goodscode
  8552. - goodsid
  8553. - goodsname
  8554. - marketid
  8555. type: object
  8556. models.ErmcpGoodsBrand:
  8557. properties:
  8558. areauserid:
  8559. description: 所属机构
  8560. type: integer
  8561. brandid:
  8562. description: BrandID(SEQ_SPOTGOODSBRAND)
  8563. type: integer
  8564. brandname:
  8565. description: 品牌名称
  8566. type: string
  8567. createtime:
  8568. description: 创建时间
  8569. type: string
  8570. creatorid:
  8571. description: 创建人
  8572. type: integer
  8573. creatorsrc:
  8574. description: 创建人来源 - 1:管理端 2:终端
  8575. type: integer
  8576. deliverygoodsid:
  8577. description: 现货品种ID
  8578. type: integer
  8579. isvalid:
  8580. description: 是否有效 - 0:无效 1:有效
  8581. type: integer
  8582. updatetime:
  8583. description: 更新时间
  8584. type: string
  8585. updatorid:
  8586. description: 更新人
  8587. type: integer
  8588. updatorsrc:
  8589. description: 更新人来源 - 1:管理端 2:终端
  8590. type: integer
  8591. wrstandardid:
  8592. description: 现货商品ID
  8593. type: integer
  8594. type: object
  8595. models.ErmcpGoodsModel:
  8596. properties:
  8597. areauserid:
  8598. description: 所属机构
  8599. type: integer
  8600. convertfactor:
  8601. description: 标仓系数
  8602. type: number
  8603. createtime:
  8604. description: 创建时间
  8605. type: string
  8606. creatorid:
  8607. description: 创建人
  8608. type: integer
  8609. creatorsrc:
  8610. description: 创建人来源 - 1:管理端 2:终端
  8611. type: integer
  8612. deliverygoodsid:
  8613. description: 现货品种ID
  8614. type: integer
  8615. isvalid:
  8616. description: 是否有效 - 0:无效 1:有效
  8617. type: integer
  8618. modelid:
  8619. description: ModelID(SEQ_SPOTGOODSMODEL)
  8620. type: integer
  8621. modelname:
  8622. description: 型号名称
  8623. type: string
  8624. updatetime:
  8625. description: 更新时间
  8626. type: string
  8627. updatorid:
  8628. description: 更新人
  8629. type: integer
  8630. updatorsrc:
  8631. description: 更新人来源 - 1:管理端 2:终端
  8632. type: integer
  8633. wrstandardid:
  8634. description: 现货商品ID
  8635. type: integer
  8636. type: object
  8637. models.ErmcpHisExposure:
  8638. properties:
  8639. needhedgeexposoure:
  8640. description: 应套保敞口
  8641. type: number
  8642. reckondate:
  8643. description: 日照时期(yyyyMMdd)
  8644. type: string
  8645. totalexposure:
  8646. description: 总敞口
  8647. type: number
  8648. type: object
  8649. models.ErmcpLoginTaAccount:
  8650. properties:
  8651. accountid:
  8652. description: 账号id
  8653. type: integer
  8654. accountname:
  8655. description: 账号名称
  8656. type: string
  8657. type: object
  8658. models.ErmcpLoginUser:
  8659. properties:
  8660. acclist:
  8661. description: 关联资金账号
  8662. items:
  8663. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8664. type: array
  8665. accountname:
  8666. description: 用户名称
  8667. type: string
  8668. clientroleid:
  8669. description: 角色id(usertype=2)
  8670. type: integer
  8671. createtime:
  8672. description: 创建时间
  8673. type: string
  8674. logincode:
  8675. description: 登录代码
  8676. type: string
  8677. loginid:
  8678. description: 登录id(LOGINID)
  8679. type: integer
  8680. loginname:
  8681. description: 登录名称(loginaccount表中的accountname字段)
  8682. type: string
  8683. loginstatus:
  8684. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8685. type: integer
  8686. memberuserid:
  8687. description: 所属会员id
  8688. type: integer
  8689. mobile:
  8690. description: 手机号
  8691. type: string
  8692. modifytime:
  8693. description: 修改时间
  8694. type: string
  8695. password:
  8696. description: 密码(不可解密)
  8697. type: string
  8698. rolename:
  8699. description: 角色名称
  8700. type: string
  8701. rolestatus:
  8702. description: 角色状态 1-启用 2-停用
  8703. type: integer
  8704. roletype:
  8705. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8706. type: string
  8707. userid:
  8708. description: 用户id
  8709. type: integer
  8710. usertype:
  8711. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8712. type: integer
  8713. type: object
  8714. models.ErmcpLoginUserEx:
  8715. properties:
  8716. accountstatus:
  8717. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8718. type: integer
  8719. mobile:
  8720. description: 手机号
  8721. type: string
  8722. querytype:
  8723. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8724. type: integer
  8725. roleid:
  8726. description: 角色id(交易账户->用户id)
  8727. type: integer
  8728. rolename:
  8729. description: 角色名称(交易账户->用户名称)
  8730. type: string
  8731. userlist:
  8732. description: 用户列表
  8733. items:
  8734. $ref: '#/definitions/models.ErmcpLoginUser'
  8735. type: array
  8736. usertype:
  8737. description: 用户类型 2-机构 7-企业成员(云平台)
  8738. type: integer
  8739. type: object
  8740. models.ErmcpMiddleGoodsModel:
  8741. properties:
  8742. areauserid:
  8743. description: 机构用户ID
  8744. type: integer
  8745. createtime:
  8746. description: 修改时间
  8747. type: string
  8748. enumdicname:
  8749. description: 单位名称
  8750. type: string
  8751. evaluateratio:
  8752. description: 估价系数
  8753. type: number
  8754. goodsgroupid:
  8755. description: 关联期货品种ID
  8756. type: integer
  8757. goodsunitid:
  8758. description: 单位ID
  8759. type: integer
  8760. isvalid:
  8761. description: 状态 0-无效(停用) 1-有效(正常)
  8762. type: integer
  8763. middlegoodscode:
  8764. description: 套保品种代码
  8765. type: string
  8766. middlegoodsid:
  8767. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8768. type: integer
  8769. middlegoodsname:
  8770. description: 套保品种名称
  8771. type: string
  8772. modifytime:
  8773. description: 修改时间
  8774. type: string
  8775. needarbitrageratio:
  8776. description: 套利比例
  8777. type: number
  8778. needhedgeratio:
  8779. description: 套保比率
  8780. type: number
  8781. qtydecimalplace:
  8782. description: 数量小数位
  8783. type: integer
  8784. relatedgoodsid:
  8785. description: 关联交易商品ID
  8786. type: integer
  8787. relatedgoodstype:
  8788. description: 关联商品类型 - 1:期货合约 2:现货品种
  8789. type: integer
  8790. remark:
  8791. description: 备注
  8792. type: string
  8793. type: object
  8794. models.ErmcpMiddlegoodsRelateGoods:
  8795. properties:
  8796. agreeunit:
  8797. description: 合约乘数
  8798. type: number
  8799. convertratio:
  8800. description: 折算系数
  8801. type: number
  8802. enumdicname:
  8803. description: 单位名称(交易商品)
  8804. type: string
  8805. goodscode:
  8806. description: 交易商品代码
  8807. type: string
  8808. goodsgroupid:
  8809. description: 交易品种id
  8810. type: integer
  8811. goodsid:
  8812. description: 商品Id
  8813. type: integer
  8814. goodsname:
  8815. description: 交易商品名称
  8816. type: string
  8817. goodunitid:
  8818. description: 交易商品单位id
  8819. type: integer
  8820. middlegoodsid:
  8821. description: 套保商品id
  8822. type: integer
  8823. middlegoodsname:
  8824. description: 套保商品名称
  8825. type: string
  8826. middlegoodsswcode:
  8827. description: 套保商品代码
  8828. type: string
  8829. needarbitrageratio:
  8830. description: 应套利比例
  8831. type: number
  8832. needhedgeratio:
  8833. description: 应套保比例
  8834. type: number
  8835. type: object
  8836. models.ErmcpRole:
  8837. properties:
  8838. areauserid:
  8839. description: 所属机构
  8840. type: integer
  8841. autoid:
  8842. description: 角色ID(自增ID)
  8843. type: integer
  8844. modifierid:
  8845. description: 修改人(创建人)
  8846. type: integer
  8847. modifiername:
  8848. description: 修改人名称
  8849. type: string
  8850. modifytime:
  8851. description: 修改时间(创建时间)
  8852. type: string
  8853. rolename:
  8854. description: 角色名称
  8855. type: string
  8856. rolestatus:
  8857. description: 角色状态 - 1:启用 2:停用
  8858. type: integer
  8859. roletype:
  8860. description: 角色类型 - 1- 管理端 2- 交易端
  8861. type: integer
  8862. type: object
  8863. models.ErmcpRoleMenu:
  8864. properties:
  8865. iconame:
  8866. description: 菜单图标
  8867. type: string
  8868. ishadrole:
  8869. description: 是否有权限
  8870. type: boolean
  8871. menutype:
  8872. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8873. type: integer
  8874. parentcode:
  8875. description: 上级资源代码
  8876. type: string
  8877. remark:
  8878. description: 菜单备注
  8879. type: string
  8880. resourcecode:
  8881. description: 菜单代码
  8882. type: string
  8883. resourcelevel:
  8884. description: 级别
  8885. type: integer
  8886. resourcename:
  8887. description: 菜单名称
  8888. type: string
  8889. roleid:
  8890. description: 角色id
  8891. type: integer
  8892. sort:
  8893. description: 排序
  8894. type: integer
  8895. url:
  8896. description: URL
  8897. type: string
  8898. userid:
  8899. description: 用户id
  8900. type: integer
  8901. type: object
  8902. models.ErmcpRoleMenuEx:
  8903. properties:
  8904. menu:
  8905. $ref: '#/definitions/models.ErmcpRoleMenu'
  8906. description: 父级菜单
  8907. subMenu:
  8908. description: 子级菜单
  8909. items:
  8910. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8911. type: array
  8912. type: object
  8913. models.ErmcpSpotContractModelEx:
  8914. properties:
  8915. accountname:
  8916. description: 套期主体
  8917. type: string
  8918. amount:
  8919. description: 金额 [1:一口价、3:暂定价]
  8920. type: number
  8921. attachment:
  8922. description: 附件
  8923. type: string
  8924. auditremark:
  8925. description: 审核意见
  8926. type: string
  8927. audittime:
  8928. description: 审核时间
  8929. type: string
  8930. avgprice:
  8931. description: 定价均价 = 已定价金额 / 已定价量
  8932. type: number
  8933. brandname:
  8934. description: 品牌名称
  8935. type: string
  8936. buyuserid:
  8937. description: 采购方ID
  8938. type: integer
  8939. buyusername:
  8940. description: 采购方名称
  8941. type: string
  8942. contracctstatus:
  8943. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8944. type: integer
  8945. contractmargin:
  8946. description: 合同保证金
  8947. type: number
  8948. contractno:
  8949. description: '[合同编号]现货合同编号'
  8950. type: string
  8951. contracttype:
  8952. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8953. type: integer
  8954. convertfactor:
  8955. description: 标仓系数
  8956. type: number
  8957. createtime:
  8958. description: 创建时间
  8959. type: string
  8960. customername:
  8961. description: 对手方
  8962. type: string
  8963. customeruserid:
  8964. description: 客户ID
  8965. type: integer
  8966. deliveryenddate:
  8967. description: 交收期(结束)
  8968. type: string
  8969. deliverygoodscode:
  8970. description: 现货品种代码
  8971. type: string
  8972. deliverygoodsid:
  8973. description: 现货品种ID
  8974. type: integer
  8975. deliverygoodsname:
  8976. description: 现货品种名称
  8977. type: string
  8978. deliverystartdate:
  8979. description: 交收期(开始)
  8980. type: string
  8981. enddate:
  8982. description: 点价结束日期 [2:点价 3:暂定价]
  8983. type: string
  8984. enumdicname:
  8985. description: 单位名称
  8986. type: string
  8987. goodscode:
  8988. description: 点价合约代码
  8989. type: string
  8990. goodsid:
  8991. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  8992. type: integer
  8993. goodsname:
  8994. description: 点价商品名称
  8995. type: string
  8996. isrelated:
  8997. description: 是否已关联计划项目 - 0:否 1:是
  8998. type: integer
  8999. isrelated2:
  9000. description: 是否已关联现货项目 - 0:否 1:是
  9001. type: integer
  9002. margin:
  9003. description: 当前保证金
  9004. type: number
  9005. modelname:
  9006. description: 型号名称
  9007. type: string
  9008. price:
  9009. description: 价格\暂定价 [1:一口价、3:暂定价]
  9010. type: number
  9011. pricedamount:
  9012. description: 已定价金额 = (点价价格+升贴水) * 数量
  9013. type: number
  9014. pricedqty:
  9015. description: 已定价量
  9016. type: number
  9017. pricemove:
  9018. description: 升贴水 [2:点价 3:暂定价]
  9019. type: number
  9020. pricetype:
  9021. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9022. type: integer
  9023. producttype:
  9024. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9025. type: integer
  9026. qty:
  9027. description: '[合同数量]数量'
  9028. type: number
  9029. remark:
  9030. description: 备注
  9031. type: string
  9032. selluserid:
  9033. description: 销售方ID
  9034. type: integer
  9035. sellusername:
  9036. description: 销售方名称
  9037. type: string
  9038. spotamount:
  9039. description: 合同现货金额 [不含升贴水]
  9040. type: number
  9041. spotavgprice:
  9042. description: 现货均价 = 合同现货金额 / 已定价量
  9043. type: number
  9044. spotcontractid:
  9045. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9046. type: string
  9047. spotgoodsbrandid:
  9048. description: 现货品牌ID
  9049. type: integer
  9050. spotgoodsdesc:
  9051. description: 商品型号
  9052. type: string
  9053. spotgoodsmodelid:
  9054. description: 现货型号ID
  9055. type: integer
  9056. startdate:
  9057. description: 点价开始日期 [2:点价 3:暂定价]
  9058. type: string
  9059. tradeuserid:
  9060. description: 交易用户ID
  9061. type: integer
  9062. unpricedqty:
  9063. description: 未定价量 = 合同数量 - 已定价量
  9064. type: number
  9065. updatetime:
  9066. description: 更新时间
  9067. type: string
  9068. userid:
  9069. description: 机构ID
  9070. type: integer
  9071. wrstandardcode:
  9072. description: 现货商品代码
  9073. type: string
  9074. wrstandardid:
  9075. description: 现货商品ID
  9076. type: integer
  9077. wrstandardname:
  9078. description: '[现货商品]现货商品名称'
  9079. type: string
  9080. type: object
  9081. models.ErmcpTaAccount:
  9082. properties:
  9083. accountid:
  9084. description: 账户id
  9085. type: integer
  9086. accountname:
  9087. description: 账户名称
  9088. type: string
  9089. currencyid:
  9090. description: 币种id
  9091. type: integer
  9092. hedgeaccountcode:
  9093. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9094. type: string
  9095. ismain:
  9096. description: 是否主账户 0-否 1-是
  9097. type: integer
  9098. parentaccountid:
  9099. description: 父账户id
  9100. type: integer
  9101. relateduserid:
  9102. description: 关联userid
  9103. type: integer
  9104. tradefeetmpid:
  9105. description: 手续费模板id
  9106. type: integer
  9107. tradefeetmpname:
  9108. description: 手续费模板名称
  9109. type: string
  9110. trademargintmpid:
  9111. description: 保证金模板id
  9112. type: integer
  9113. trademargintmpname:
  9114. description: 保证金模板名称
  9115. type: string
  9116. traderatetmpid:
  9117. description: 汇率模板id
  9118. type: integer
  9119. traderatetmpname:
  9120. description: 汇率模板名称
  9121. type: string
  9122. tradestatus:
  9123. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9124. type: integer
  9125. userid:
  9126. description: 用户id
  9127. type: integer
  9128. type: object
  9129. models.ErmcpTaAccountEx:
  9130. properties:
  9131. mainAcc:
  9132. $ref: '#/definitions/models.ErmcpTaAccountM'
  9133. description: 主账号
  9134. subacclist:
  9135. description: 子账号列表
  9136. items:
  9137. $ref: '#/definitions/models.ErmcpTaAccount'
  9138. type: array
  9139. type: object
  9140. models.ErmcpTaAccountInfo:
  9141. properties:
  9142. accountid:
  9143. description: 资金账户ID
  9144. type: integer
  9145. accountname:
  9146. description: 账户名称
  9147. type: string
  9148. balance:
  9149. description: 期初余额
  9150. type: number
  9151. capitalbalance:
  9152. description: 本金余额[外部子账户实际出入金余额]
  9153. type: number
  9154. closepl:
  9155. description: 今日平仓盈亏
  9156. type: number
  9157. creditdecrease:
  9158. description: 今日授信减少
  9159. type: number
  9160. creditincrease:
  9161. description: 今日授信增加
  9162. type: number
  9163. curdebt:
  9164. description: 期末欠款
  9165. type: number
  9166. currencyid:
  9167. description: 货币ID
  9168. type: integer
  9169. currentbalance:
  9170. description: 期末余额
  9171. type: number
  9172. freezecharge:
  9173. description: 手续费冻结
  9174. type: number
  9175. freezemargin:
  9176. description: 冻结保证金
  9177. type: number
  9178. fromaccountid:
  9179. description: 所属上级账户
  9180. type: integer
  9181. inamount:
  9182. description: 今日入金金额(包括三方入金)
  9183. type: number
  9184. ismain:
  9185. description: 是否母账号 0:不是母账户 1:是母账户
  9186. type: integer
  9187. mortgagecredit:
  9188. description: 授信金额
  9189. type: number
  9190. oridebt:
  9191. description: 期初欠款
  9192. type: number
  9193. orifreezecharge:
  9194. description: 期初手续费冻结
  9195. type: number
  9196. orifreezemargin:
  9197. description: 期初冻结保证金
  9198. type: number
  9199. orimortgagecredit:
  9200. description: 期初授信金额
  9201. type: number
  9202. oriothercredit:
  9203. description: 期初其它授信金额
  9204. type: number
  9205. oriotherfreezemargin:
  9206. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9207. type: number
  9208. orioutamountfreeze:
  9209. description: 期初出金冻结
  9210. type: number
  9211. oriusedmargin:
  9212. description: 期初占用保证金
  9213. type: number
  9214. othercredit:
  9215. description: 其它授信金额
  9216. type: number
  9217. othercreditdecrease:
  9218. description: 今日其它授信减少
  9219. type: number
  9220. othercreditincrease:
  9221. description: 今日其它授信增加
  9222. type: number
  9223. otherfreezemargin:
  9224. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9225. type: number
  9226. outamount:
  9227. description: 今日出金金额(包括三方出金)
  9228. type: number
  9229. outamountfreeze:
  9230. description: 出金冻结
  9231. type: number
  9232. outthreshold:
  9233. description: 出金阈值
  9234. type: number
  9235. parentaccountid:
  9236. description: 所属根账号
  9237. type: integer
  9238. paycharge:
  9239. description: 今日手续费支出
  9240. type: number
  9241. relateduserid:
  9242. description: 关联用户
  9243. type: integer
  9244. signstatus:
  9245. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9246. type: integer
  9247. sublevelpath:
  9248. description: 账号层级路径(逗号分隔,首尾加逗号)
  9249. type: string
  9250. taaccounttype:
  9251. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9252. type: integer
  9253. thirdinamount:
  9254. description: 今日三方入金
  9255. type: number
  9256. thirdoutamount:
  9257. description: 今日三方出金
  9258. type: number
  9259. tradestatus:
  9260. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9261. type: integer
  9262. transferamount:
  9263. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9264. type: number
  9265. usedmargin:
  9266. description: 占用保证金
  9267. type: number
  9268. userid:
  9269. description: 用户ID
  9270. type: integer
  9271. type: object
  9272. models.ErmcpTaAccountM:
  9273. properties:
  9274. accountid:
  9275. description: 账户id
  9276. type: integer
  9277. accountname:
  9278. description: 账户名称
  9279. type: string
  9280. currencyid:
  9281. description: 币种id
  9282. type: integer
  9283. fcid:
  9284. description: 期货公司id
  9285. type: integer
  9286. fcname:
  9287. description: 期货公司代码
  9288. type: string
  9289. hedgeaccountcode:
  9290. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9291. type: string
  9292. ismain:
  9293. description: 是否主账户 0-否 1-是
  9294. type: integer
  9295. parentaccountid:
  9296. description: 父账户id
  9297. type: integer
  9298. relateduserid:
  9299. description: 关联userid
  9300. type: integer
  9301. tradefeetmpid:
  9302. description: 手续费模板id
  9303. type: integer
  9304. tradefeetmpname:
  9305. description: 手续费模板名称
  9306. type: string
  9307. trademargintmpid:
  9308. description: 保证金模板id
  9309. type: integer
  9310. trademargintmpname:
  9311. description: 保证金模板名称
  9312. type: string
  9313. traderatetmpid:
  9314. description: 汇率模板id
  9315. type: integer
  9316. traderatetmpname:
  9317. description: 汇率模板名称
  9318. type: string
  9319. tradestatus:
  9320. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9321. type: integer
  9322. userid:
  9323. description: 用户id
  9324. type: integer
  9325. type: object
  9326. models.ErmcpTradeConfigTMP:
  9327. properties:
  9328. areauserid:
  9329. description: 所属机构
  9330. type: integer
  9331. basiccurrencyid:
  9332. description: 基本币种ID[汇率] - 目标币种
  9333. type: integer
  9334. mainaccountid:
  9335. description: 主账户ID
  9336. type: integer
  9337. modifierid:
  9338. description: 修改人
  9339. type: integer
  9340. remark:
  9341. description: 备注
  9342. type: string
  9343. tradeconfigtmpid:
  9344. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9345. type: integer
  9346. tradeconfigtmpname:
  9347. description: 交易配置模板名称
  9348. type: string
  9349. tradeconfigtmptype:
  9350. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9351. type: integer
  9352. updatetime:
  9353. description: 更新时间
  9354. type: string
  9355. type: object
  9356. models.Ermcpjrlinkpos:
  9357. properties:
  9358. areauserid:
  9359. description: 所属企业
  9360. type: integer
  9361. averageprice:
  9362. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9363. type: number
  9364. closepl:
  9365. description: 总平仓盈亏 [期货损益]
  9366. type: number
  9367. executeprice:
  9368. description: 执行价 - 1:期货单 为 0
  9369. type: integer
  9370. futurehedgeqty:
  9371. description: 期货套期量
  9372. type: number
  9373. goodsid:
  9374. description: 期货合约
  9375. type: integer
  9376. middlegoodscode:
  9377. description: 套保商品代码
  9378. type: string
  9379. middlegoodsname:
  9380. description: 套保商品名称
  9381. type: string
  9382. netqty:
  9383. description: 净头寸
  9384. type: number
  9385. optioncode:
  9386. description: 期权代码
  9387. type: string
  9388. ordertype:
  9389. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9390. type: integer
  9391. reckonpl:
  9392. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9393. type: number
  9394. spotcontractid:
  9395. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9396. type: string
  9397. todayfutureclosepl:
  9398. description: 今日平仓盈亏
  9399. type: number
  9400. totalbuyamount:
  9401. description: 买金额 [期货]
  9402. type: number
  9403. totalbuyholdamount:
  9404. description: 买持仓总金额[期货]
  9405. type: number
  9406. totalbuyqty:
  9407. description: 买数量
  9408. type: number
  9409. totalcharge:
  9410. description: 手续费
  9411. type: number
  9412. totalpremium:
  9413. description: 权利金 [期权]
  9414. type: number
  9415. totalsellamount:
  9416. description: 卖金额 [期货]
  9417. type: number
  9418. totalsellholdamount:
  9419. description: 卖持仓总金额[期货]
  9420. type: number
  9421. totalsellqty:
  9422. description: 卖数量
  9423. type: number
  9424. updatetime:
  9425. description: 更新时间
  9426. type: string
  9427. required:
  9428. - spotcontractid
  9429. type: object
  9430. models.Ermcppatradelinkdetail:
  9431. properties:
  9432. agreeunit:
  9433. description: 合约乘数
  9434. type: number
  9435. amount:
  9436. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9437. type: number
  9438. areauserid:
  9439. description: 所属机构
  9440. type: integer
  9441. bizsubjectid:
  9442. description: 归属业务部门ID - SubjectID
  9443. type: integer
  9444. buyorsell:
  9445. description: 方向 - 0:买 1:卖
  9446. type: integer
  9447. convertratio:
  9448. description: 品种系数
  9449. type: number
  9450. createtime:
  9451. description: 创建时间
  9452. type: string
  9453. creatorid:
  9454. description: 创建人ID
  9455. type: integer
  9456. creatorsrc:
  9457. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9458. type: integer
  9459. goodsgroupid:
  9460. description: 对冲品种ID[期货合约商品组ID]
  9461. type: integer
  9462. goodsid:
  9463. description: 商品ID
  9464. type: integer
  9465. hedgeditemid:
  9466. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9467. type: integer
  9468. hedgeflag:
  9469. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9470. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9471. type: integer
  9472. linkdetailid:
  9473. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9474. type: string
  9475. linkstatus:
  9476. description: 关联状态 - 1:成功 2:失败 3:解绑
  9477. type: integer
  9478. middlegoodsid:
  9479. description: 套保品种ID
  9480. type: integer
  9481. name:
  9482. description: 账户名/子账户
  9483. type: string
  9484. optioncode:
  9485. description: '[期货合约]期权代码 [期权]'
  9486. type: string
  9487. ordertype:
  9488. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9489. type: integer
  9490. relatedlot:
  9491. description: '[数量]关联手数'
  9492. type: number
  9493. relatedmode:
  9494. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9495. type: integer
  9496. relatedqty:
  9497. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9498. type: number
  9499. retcode:
  9500. description: 返回码
  9501. type: integer
  9502. saleuserid:
  9503. description: 业务员ID
  9504. type: integer
  9505. tradedate:
  9506. description: 关联交易日(yyyyMMdd)
  9507. type: string
  9508. tradeid:
  9509. description: '[成交单号]内部成交单ID'
  9510. type: string
  9511. tradelot:
  9512. description: 成交手数
  9513. type: integer
  9514. tradeprice:
  9515. description: '[价格]成交价格'
  9516. type: number
  9517. tradetime:
  9518. description: 日期时间
  9519. type: string
  9520. tradetradedate:
  9521. description: 成交交易日(yyyyMMdd)
  9522. type: string
  9523. required:
  9524. - hedgeditemid
  9525. type: object
  9526. models.Externalexchange:
  9527. properties:
  9528. autoid:
  9529. description: AutoID - SEQ_EXTERNALEXCHANGE
  9530. type: integer
  9531. exchangefullname:
  9532. description: 外部交易所全称
  9533. type: string
  9534. exexchangecode:
  9535. description: 外部交易所代码
  9536. type: string
  9537. exexchangename:
  9538. description: 外部交易所名称(简称)
  9539. type: string
  9540. ismarketprice:
  9541. description: 是否支持市价 - 0:不支持 1:支持
  9542. type: integer
  9543. quotegear:
  9544. description: 行情档位(1-10)
  9545. type: integer
  9546. showbrokerflag:
  9547. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9548. type: integer
  9549. updatetime:
  9550. description: 更新时间
  9551. type: string
  9552. required:
  9553. - autoid
  9554. type: object
  9555. models.Funcmenulist:
  9556. properties:
  9557. iconame:
  9558. description: 菜单图标
  9559. type: string
  9560. menutype:
  9561. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9562. type: integer
  9563. parentcode:
  9564. description: 上级资源代码
  9565. type: string
  9566. remark:
  9567. description: 备注
  9568. type: string
  9569. resourcecode:
  9570. description: 资源代码
  9571. type: string
  9572. resourcelevel:
  9573. description: 级别 1-一级 2-二级 3-三级 4-四级
  9574. type: integer
  9575. resourcename:
  9576. description: 资源名
  9577. type: string
  9578. sort:
  9579. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9580. type: integer
  9581. url:
  9582. description: URL
  9583. type: string
  9584. required:
  9585. - resourcecode
  9586. type: object
  9587. models.Goods:
  9588. properties:
  9589. agreeunit:
  9590. description: 合约单位
  9591. type: number
  9592. areauserid:
  9593. description: 所属机构
  9594. type: integer
  9595. auditaccountid:
  9596. description: 审核操作员账号
  9597. type: integer
  9598. audittime:
  9599. description: 审核时间
  9600. type: string
  9601. cancelaccountid:
  9602. description: 注销操作员账号
  9603. type: integer
  9604. canceltime:
  9605. description: 注销时间
  9606. type: string
  9607. closepricemode:
  9608. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9609. type: integer
  9610. closepriceparam:
  9611. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9612. type: number
  9613. createtime:
  9614. description: 创建时间
  9615. type: string
  9616. creatorid:
  9617. description: 创建人
  9618. type: integer
  9619. currencyid:
  9620. description: 报价货币ID
  9621. type: integer
  9622. cutmode:
  9623. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9624. type: integer
  9625. decimalplace:
  9626. description: 报价小数位
  9627. type: integer
  9628. delistingdate:
  9629. description: 商品退市时间(状态:退市) -- 已作废
  9630. type: string
  9631. delistingmode:
  9632. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9633. type: integer
  9634. deliveryflag:
  9635. description: 交割标志 - 0:不可交割 1:可交割
  9636. type: integer
  9637. forceclosemode:
  9638. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9639. type: integer
  9640. forceclosevalue:
  9641. description: 定期强平参数 [收益权]
  9642. type: integer
  9643. goodscode:
  9644. description: 商品代码(内部)
  9645. type: string
  9646. goodscurrencyid:
  9647. description: 合约货币ID
  9648. type: integer
  9649. goodsgroupid:
  9650. description: 所属商品组ID
  9651. type: integer
  9652. goodsid:
  9653. description: 商品ID(自增ID SEQ_GOODS)
  9654. type: integer
  9655. goodsname:
  9656. description: 商品名称
  9657. type: string
  9658. goodsquotetype:
  9659. description: '合约报价类型: 1-直接报价 2-间接报价'
  9660. type: integer
  9661. goodsstatus:
  9662. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9663. type: integer
  9664. goodstradetype:
  9665. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9666. type: integer
  9667. goodunitid:
  9668. description: 报价单位ID
  9669. type: integer
  9670. hasquoter:
  9671. description: 是否有报价商 - 0:无报价商 1:有报价商
  9672. type: integer
  9673. hqprotecttime:
  9674. description: 行情保护时间(秒)
  9675. type: integer
  9676. innerdealmode:
  9677. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9678. type: integer
  9679. isbuylimited:
  9680. description: 是否限制建仓量 - 0:不限制 1:限制
  9681. type: integer
  9682. isvisible:
  9683. description: 游客是否可见 - 0:不可见 1:可见
  9684. type: integer
  9685. lasttradedate:
  9686. description: 最后交易日期(状态:待退市)
  9687. type: string
  9688. listingdate:
  9689. description: 交易开始日期
  9690. type: string
  9691. marketid:
  9692. description: 所属市场ID
  9693. type: integer
  9694. modifierid:
  9695. description: 修改人
  9696. type: integer
  9697. modifystatus:
  9698. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9699. type: integer
  9700. modifytime:
  9701. description: 修改时间
  9702. type: string
  9703. outerdealmode:
  9704. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9705. type: integer
  9706. outgoodscode:
  9707. description: 商品代码(外部)
  9708. type: string
  9709. pictureurl:
  9710. description: 商品图片
  9711. type: string
  9712. qtydecimalplace:
  9713. description: 成交量小数位
  9714. type: integer
  9715. quotegear:
  9716. description: 行情档位(1-10)
  9717. type: integer
  9718. quoteminunit:
  9719. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9720. type: integer
  9721. quoteshowtype:
  9722. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9723. type: integer
  9724. quoteshowtypeinterval:
  9725. description: 行情报价间隔时间(秒)(成交价时为0)
  9726. type: integer
  9727. remark:
  9728. description: 备注
  9729. type: string
  9730. required:
  9731. - goodscode
  9732. - goodsid
  9733. - goodsname
  9734. - marketid
  9735. type: object
  9736. models.GoodsIDAndName:
  9737. properties:
  9738. goodscode:
  9739. description: 商品代码(内部)
  9740. type: string
  9741. goodsid:
  9742. description: 商品ID(自增ID SEQ_GOODS)
  9743. type: integer
  9744. goodsname:
  9745. description: 商品名称
  9746. type: string
  9747. marketid:
  9748. description: 所属市场ID
  9749. type: integer
  9750. required:
  9751. - goodscode
  9752. - goodsid
  9753. - goodsname
  9754. - marketid
  9755. type: object
  9756. models.Goodsgroup:
  9757. properties:
  9758. agreeunit:
  9759. description: 合约单位
  9760. type: number
  9761. canshort:
  9762. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9763. type: integer
  9764. closepricemode:
  9765. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9766. type: integer
  9767. closepriceparam:
  9768. description: 强平最新价浮动比例 - 方式为2时使用
  9769. type: number
  9770. createtime:
  9771. description: 创建时间
  9772. type: string
  9773. creatorid:
  9774. description: 创建人
  9775. type: integer
  9776. currencyid:
  9777. description: 报价货币ID
  9778. type: integer
  9779. decimalplace:
  9780. description: 报价小数位
  9781. type: integer
  9782. exercisetype:
  9783. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9784. type: integer
  9785. exexchangeid:
  9786. description: 外部交易所ID[通道交易]
  9787. type: integer
  9788. goodsgroupid:
  9789. description: 商品组ID(自增ID)
  9790. type: integer
  9791. goodsgroupname:
  9792. description: 商品组名称
  9793. type: string
  9794. goodsgroupstatus:
  9795. description: 商品组状态 - 1:正常 2:注销
  9796. type: integer
  9797. goodunitid:
  9798. description: 报价单位ID
  9799. type: integer
  9800. innerdealmode:
  9801. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9802. type: integer
  9803. isbuylimited:
  9804. description: 是否限制建仓量 - 0:不限制 1:限制
  9805. type: integer
  9806. marketid:
  9807. description: 所属市场ID
  9808. type: integer
  9809. modifierid:
  9810. description: 修改人
  9811. type: integer
  9812. modifytime:
  9813. description: 修改时间
  9814. type: string
  9815. outerdealmode:
  9816. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9817. type: integer
  9818. outergroupcode:
  9819. description: 外部商品组代码[通道交易]
  9820. type: string
  9821. premiumdecimalplace:
  9822. description: 权利金小数位[场外期权]
  9823. type: integer
  9824. premiumspreadalgorithm:
  9825. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9826. type: integer
  9827. premiumspreadvalue:
  9828. description: 权利金点差值[场外期权]
  9829. type: number
  9830. qtydecimalplace:
  9831. description: 成交量小数位
  9832. type: integer
  9833. quotegear:
  9834. description: 行情档位(1-10)
  9835. type: integer
  9836. quoteminunit:
  9837. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9838. type: integer
  9839. quoterid:
  9840. description: 报价商ID[场外期权]
  9841. type: integer
  9842. quotesourcegroupid:
  9843. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9844. type: integer
  9845. syncgoodsqty:
  9846. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9847. type: integer
  9848. required:
  9849. - goodsgroupid
  9850. - goodsgroupname
  9851. - goodsgroupstatus
  9852. - marketid
  9853. type: object
  9854. models.Goodssortbypreposition:
  9855. properties:
  9856. goodscode:
  9857. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9858. type: string
  9859. goodsgroupcode:
  9860. description: 品种代码
  9861. type: string
  9862. prepositionqty:
  9863. description: 昨持仓量
  9864. type: integer
  9865. sortindex:
  9866. description: 排序
  9867. type: integer
  9868. tradedate:
  9869. description: 交易日
  9870. type: string
  9871. updatetime:
  9872. description: 更新时间
  9873. type: string
  9874. required:
  9875. - goodscode
  9876. - tradedate
  9877. type: object
  9878. models.Hedgeinnerholderdetail:
  9879. properties:
  9880. accountid:
  9881. description: 账号ID
  9882. type: integer
  9883. buyorsell:
  9884. description: 方向 - 0:买 1:卖
  9885. type: integer
  9886. freezeqty:
  9887. description: 冻结数量 - 按单平使用
  9888. type: integer
  9889. goodsid:
  9890. description: 商品ID
  9891. type: integer
  9892. holderamount:
  9893. description: 持仓金额 [商品币种]
  9894. type: number
  9895. holderdays:
  9896. description: 剩余冻结天数
  9897. type: integer
  9898. holderprice:
  9899. description: 持仓价格
  9900. type: number
  9901. holderqty:
  9902. description: 持仓数量
  9903. type: integer
  9904. marketid:
  9905. description: 市场ID
  9906. type: integer
  9907. openprice:
  9908. description: 建仓价格
  9909. type: number
  9910. openqty:
  9911. description: 建仓数量
  9912. type: integer
  9913. parentaccountid:
  9914. description: 所属母账户
  9915. type: integer
  9916. releaseamount:
  9917. description: 释放持仓金额[商品币种]
  9918. type: number
  9919. tradeamount:
  9920. description: 成交金额[账户]
  9921. type: number
  9922. tradedate:
  9923. description: 交易日(yyyyMMdd)
  9924. type: string
  9925. tradeid:
  9926. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9927. type: string
  9928. tradetime:
  9929. description: 交易时间
  9930. type: string
  9931. required:
  9932. - buyorsell
  9933. - tradeid
  9934. type: object
  9935. models.Hedgemarketopenlog:
  9936. properties:
  9937. accountid:
  9938. description: 资金账号[外部母账户]
  9939. type: integer
  9940. fcname:
  9941. description: 期货公司名称
  9942. type: string
  9943. handlestatus:
  9944. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9945. type: integer
  9946. marketid:
  9947. description: 市场ID
  9948. type: integer
  9949. status:
  9950. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9951. type: integer
  9952. tradedate:
  9953. description: 交易日(yyyyMMdd)
  9954. type: string
  9955. updatetime:
  9956. description: 更新时间
  9957. type: string
  9958. required:
  9959. - accountid
  9960. type: object
  9961. models.HsbyBuyMyPayOrder:
  9962. properties:
  9963. agreeunit:
  9964. description: 合约单位
  9965. type: number
  9966. buyaccountid:
  9967. description: 买方账号ID[报价币种]
  9968. type: integer
  9969. buyorderid:
  9970. description: 买方委托单号
  9971. type: string
  9972. createtime:
  9973. description: 创建时间
  9974. type: string
  9975. currencysign:
  9976. description: 货币符号
  9977. type: string
  9978. decimalplace:
  9979. description: 报价小数位
  9980. type: integer
  9981. goodscode:
  9982. description: 商品代码(内部)
  9983. type: string
  9984. goodsid:
  9985. description: 商品ID
  9986. type: integer
  9987. goodsname:
  9988. description: 商品名称
  9989. type: string
  9990. marketid:
  9991. description: 市场ID
  9992. type: integer
  9993. offamount:
  9994. description: 优惠金额
  9995. type: number
  9996. originalamount:
  9997. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  9998. type: number
  9999. payamount:
  10000. description: 支付金额 = TradeAmount + TradeCharge
  10001. type: number
  10002. payflag:
  10003. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10004. type: integer
  10005. paylimitedtime:
  10006. description: 支付期限
  10007. type: string
  10008. paytime:
  10009. description: 付款时间
  10010. type: string
  10011. picurls1:
  10012. description: 预售商品介绍图片[多张用逗号分隔]
  10013. type: string
  10014. picurls2:
  10015. description: 挂牌商品介绍图片[多张用逗号分隔]
  10016. type: string
  10017. sellaccountid:
  10018. description: 卖方账号ID[报价币种]
  10019. type: integer
  10020. sellorderid:
  10021. description: 卖方委托单号
  10022. type: string
  10023. tradeamount:
  10024. description: 成交金额
  10025. type: number
  10026. tradecharge:
  10027. description: 成交手续费(买方)
  10028. type: number
  10029. tradedate:
  10030. description: 交易日(yyyyMMdd)
  10031. type: string
  10032. tradeid:
  10033. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10034. type: string
  10035. trademode:
  10036. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10037. 21:竞拍-大宗式 22:受托竞价
  10038. type: integer
  10039. tradeprice:
  10040. description: 成交价格
  10041. type: number
  10042. tradeqty:
  10043. description: 成交数量
  10044. type: integer
  10045. vendorname1:
  10046. description: 预售商品供应商名称
  10047. type: string
  10048. vendorname2:
  10049. description: 挂牌商品供应商名称
  10050. type: string
  10051. required:
  10052. - goodscode
  10053. - goodsname
  10054. - tradeid
  10055. - trademode
  10056. type: object
  10057. models.HsbyBuyMyTradeDetail:
  10058. properties:
  10059. accountid:
  10060. description: 账户ID[报价币种]
  10061. type: integer
  10062. agreeunit:
  10063. description: 合约单位
  10064. type: number
  10065. amount:
  10066. description: 金额 = 价格 * 数量 * 合约单位
  10067. type: number
  10068. buyorsell:
  10069. description: 买卖 - 0:买 1:卖
  10070. type: integer
  10071. currencysign:
  10072. description: 货币符号
  10073. type: string
  10074. decimalplace:
  10075. description: 报价小数位
  10076. type: integer
  10077. goodscode:
  10078. description: 商品代码(内部)
  10079. type: string
  10080. goodsid:
  10081. description: 商品ID
  10082. type: integer
  10083. goodsname:
  10084. description: 商品名称
  10085. type: string
  10086. marketid:
  10087. description: 市场ID
  10088. type: integer
  10089. orderamount:
  10090. description: 委托金额
  10091. type: number
  10092. orderid:
  10093. description: 单号(成交单号)
  10094. type: string
  10095. picurls1:
  10096. description: 预售商品介绍图片[多张用逗号分隔]
  10097. type: string
  10098. picurls2:
  10099. description: 挂牌商品介绍图片[多张用逗号分隔]
  10100. type: string
  10101. price:
  10102. description: 价格
  10103. type: number
  10104. qty:
  10105. description: 数量
  10106. type: integer
  10107. time:
  10108. description: 时间
  10109. type: string
  10110. trademode:
  10111. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10112. 21:竞拍-大宗式 22:受托竞价
  10113. type: integer
  10114. vendorname1:
  10115. description: 预售商品供应商名称
  10116. type: string
  10117. vendorname2:
  10118. description: 挂牌商品供应商名称
  10119. type: string
  10120. required:
  10121. - accountid
  10122. - buyorsell
  10123. - goodscode
  10124. - goodsid
  10125. - goodsname
  10126. - marketid
  10127. - orderid
  10128. - qty
  10129. - time
  10130. - trademode
  10131. type: object
  10132. models.HsbyGoodsOrderDetail:
  10133. properties:
  10134. buyorsell:
  10135. description: 买卖 - 0:买 1:卖
  10136. type: integer
  10137. currencysign:
  10138. description: 货币符号
  10139. type: string
  10140. customername:
  10141. description: 客户名称(企业名称),已脱敏
  10142. type: string
  10143. enableqty:
  10144. description: 可用数量
  10145. type: integer
  10146. goodunit:
  10147. description: 报价单位
  10148. type: string
  10149. orderid:
  10150. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10151. type: string
  10152. orderprice:
  10153. description: 委托价格
  10154. type: number
  10155. ordertime:
  10156. description: 委托时间
  10157. type: string
  10158. required:
  10159. - buyorsell
  10160. - orderid
  10161. - ordertime
  10162. type: object
  10163. models.HsbyListingGoodsDetail:
  10164. properties:
  10165. agreeunit:
  10166. description: 合约单位
  10167. type: number
  10168. buymaxqty:
  10169. description: 购买上限 [71] - 0为不限
  10170. type: integer
  10171. currency:
  10172. description: 货币
  10173. type: string
  10174. currencysign:
  10175. description: 货币符号
  10176. type: string
  10177. decimalplace:
  10178. description: 报价小数位
  10179. type: integer
  10180. desccityid:
  10181. description: 目的地(市)ID
  10182. type: integer
  10183. descprovinceid:
  10184. description: 目的地(省)ID
  10185. type: integer
  10186. goodscode:
  10187. description: 商品代码(内部)
  10188. type: string
  10189. goodsdesc:
  10190. description: 商品详情
  10191. type: string
  10192. goodsid:
  10193. description: 商品ID(自增ID SEQ_GOODS)
  10194. type: integer
  10195. goodsname:
  10196. description: 商品名称
  10197. type: string
  10198. goodsprice:
  10199. description: 商品价格
  10200. type: number
  10201. hotindex:
  10202. description: 景点热度
  10203. type: integer
  10204. last:
  10205. description: 现价
  10206. type: number
  10207. limitdown:
  10208. description: 跌停价
  10209. type: number
  10210. limitup:
  10211. description: 涨停价
  10212. type: number
  10213. lotsize:
  10214. description: 手数最小变动单位
  10215. type: integer
  10216. marketid:
  10217. description: 所属市场ID
  10218. type: integer
  10219. picurls:
  10220. description: 介绍图片[多张用逗号分隔]
  10221. type: string
  10222. quoteminunit:
  10223. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10224. type: integer
  10225. stepvalue:
  10226. description: 价格最小变动单位
  10227. type: number
  10228. trademode:
  10229. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10230. 21:竞拍-大宗式 22:受托竞价
  10231. type: integer
  10232. vendorattr:
  10233. description: 供应商附件(多张,逗号分隔)
  10234. type: string
  10235. vendorname:
  10236. description: 供应商名称
  10237. type: string
  10238. vendorphone:
  10239. description: 供应商客服电话
  10240. type: string
  10241. videourls:
  10242. description: 介绍视频[多张用逗号分隔]
  10243. type: string
  10244. required:
  10245. - goodscode
  10246. - goodsid
  10247. - goodsname
  10248. - marketid
  10249. - trademode
  10250. type: object
  10251. models.HsbyMarketGoods:
  10252. properties:
  10253. accountid:
  10254. description: 账户ID[报价币种]
  10255. type: integer
  10256. agreeunit:
  10257. description: 合约单位
  10258. type: number
  10259. buyorsell:
  10260. description: 买卖 - 0:买 1:卖
  10261. type: integer
  10262. categoryid:
  10263. description: 类别ID(WRCATEGORY)
  10264. type: integer
  10265. currency:
  10266. description: 货币
  10267. type: string
  10268. currencysign:
  10269. description: 货币符号
  10270. type: string
  10271. customername:
  10272. description: 卖家名称
  10273. type: string
  10274. decimalplace:
  10275. description: 报价小数位
  10276. type: integer
  10277. goodscode:
  10278. description: 商品代码(内部)
  10279. type: string
  10280. goodsid:
  10281. description: 商品ID
  10282. type: integer
  10283. goodsname:
  10284. description: 商品名称
  10285. type: string
  10286. goodsprice:
  10287. description: 商品价格
  10288. type: number
  10289. hascoupon:
  10290. description: 是否可用优惠卷
  10291. type: boolean
  10292. hotindex:
  10293. description: 景点热度
  10294. type: integer
  10295. marketid:
  10296. description: 市场ID
  10297. type: integer
  10298. orderid:
  10299. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10300. type: string
  10301. orderprice:
  10302. description: 委托价格
  10303. type: number
  10304. orderstatus:
  10305. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10306. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10307. 16:成交失败违约(荷兰式竞拍专用)
  10308. type: integer
  10309. picurls:
  10310. description: 介绍图片[多张用逗号分隔]
  10311. type: string
  10312. quoteminunit:
  10313. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10314. type: integer
  10315. sellUserID:
  10316. description: 卖方UserID
  10317. type: integer
  10318. trademode:
  10319. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10320. 21:竞拍-大宗式 22:受托竞价
  10321. type: integer
  10322. videourls:
  10323. description: 介绍视频[多张用逗号分隔]
  10324. type: string
  10325. required:
  10326. - accountid
  10327. - buyorsell
  10328. - goodscode
  10329. - goodsid
  10330. - goodsname
  10331. - marketid
  10332. - orderid
  10333. - trademode
  10334. type: object
  10335. models.HsbyMarketGoodsDetail:
  10336. properties:
  10337. accountid:
  10338. description: 账户ID[报价币种]
  10339. type: integer
  10340. agreeunit:
  10341. description: 合约单位
  10342. type: number
  10343. buymaxqty:
  10344. description: 购买上限 [71] - 0为不限
  10345. type: integer
  10346. buyorsell:
  10347. description: 买卖 - 0:买 1:卖
  10348. type: integer
  10349. cancelqty:
  10350. description: 撤单数量
  10351. type: integer
  10352. categoryid:
  10353. description: 类别ID(WRCATEGORY)
  10354. type: integer
  10355. currency:
  10356. description: 货币
  10357. type: string
  10358. currencysign:
  10359. description: 货币符号
  10360. type: string
  10361. customername:
  10362. description: 卖家名称
  10363. type: string
  10364. decimalplace:
  10365. description: 报价小数位
  10366. type: integer
  10367. goodscode:
  10368. description: 商品代码(内部)
  10369. type: string
  10370. goodsdesc:
  10371. description: 商品详情
  10372. type: string
  10373. goodsid:
  10374. description: 商品ID
  10375. type: integer
  10376. goodsname:
  10377. description: 商品名称
  10378. type: string
  10379. goodsprice:
  10380. description: 商品价格
  10381. type: number
  10382. hotindex:
  10383. description: 景点热度
  10384. type: integer
  10385. lotsize:
  10386. description: 手数最小变动单位
  10387. type: integer
  10388. marketid:
  10389. description: 市场ID
  10390. type: integer
  10391. orderid:
  10392. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10393. type: string
  10394. orderprice:
  10395. description: 委托价格
  10396. type: number
  10397. orderqty:
  10398. description: 委托数量
  10399. type: integer
  10400. orderstatus:
  10401. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10402. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10403. 16:成交失败违约(荷兰式竞拍专用)
  10404. type: integer
  10405. picurls:
  10406. description: 介绍图片[多张用逗号分隔]
  10407. type: string
  10408. quoteminunit:
  10409. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10410. type: integer
  10411. sellUserID:
  10412. description: 卖方UserID
  10413. type: integer
  10414. trademode:
  10415. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10416. 21:竞拍-大宗式 22:受托竞价
  10417. type: integer
  10418. tradeqty:
  10419. description: 成交数量
  10420. type: integer
  10421. vendorattr:
  10422. description: 供应商附件(多张,逗号分隔)
  10423. type: string
  10424. vendorname:
  10425. description: 供应商名称
  10426. type: string
  10427. vendorphone:
  10428. description: 供应商客服电话
  10429. type: string
  10430. videourls:
  10431. description: 介绍视频[多张用逗号分隔]
  10432. type: string
  10433. required:
  10434. - accountid
  10435. - buyorsell
  10436. - goodscode
  10437. - goodsid
  10438. - goodsname
  10439. - marketid
  10440. - orderid
  10441. - orderqty
  10442. - trademode
  10443. type: object
  10444. models.HsbyMarketInfo:
  10445. properties:
  10446. marketid:
  10447. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10448. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10449. type: integer
  10450. marketname:
  10451. description: 市场名称
  10452. type: string
  10453. marketstatus:
  10454. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10455. type: integer
  10456. trademode:
  10457. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10458. 21:竞拍-大宗式 22:受托竞价
  10459. type: integer
  10460. required:
  10461. - marketid
  10462. - marketstatus
  10463. - trademode
  10464. type: object
  10465. models.HsbyMyGoods:
  10466. properties:
  10467. accountid:
  10468. description: 账号Id
  10469. type: integer
  10470. agreeunit:
  10471. description: 合约单位
  10472. type: number
  10473. buyaverageprice:
  10474. description: 持仓均价
  10475. type: number
  10476. buycurholderamount:
  10477. description: 买当前持仓总金额[商品币种]
  10478. type: number
  10479. buycurpositionqty:
  10480. description: 买当前持仓总数量
  10481. type: integer
  10482. buymaxqty:
  10483. description: 购买上限 [71] - 0为不限
  10484. type: integer
  10485. currencysign:
  10486. description: 货币符号
  10487. type: string
  10488. decimalplace:
  10489. description: 报价小数位
  10490. type: integer
  10491. enableqty:
  10492. description: 可用数量
  10493. type: integer
  10494. goodscode:
  10495. description: 商品代码(内部)
  10496. type: string
  10497. goodsid:
  10498. description: 商品Id
  10499. type: integer
  10500. goodsname:
  10501. description: 商品名称
  10502. type: string
  10503. goodsprice:
  10504. description: 商品价格
  10505. type: number
  10506. goodsstatus:
  10507. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10508. type: integer
  10509. last:
  10510. description: 现价(仅使用于挂牌点选)
  10511. type: number
  10512. limitdown:
  10513. description: 跌停价(仅使用于挂牌点选)
  10514. type: number
  10515. limitup:
  10516. description: 涨停价(仅使用于挂牌点选)
  10517. type: number
  10518. lotsize:
  10519. description: 手数最小变动单位
  10520. type: integer
  10521. marketid:
  10522. description: 所属市场ID
  10523. type: integer
  10524. picurls:
  10525. description: 介绍图片[多张用逗号分隔]
  10526. type: string
  10527. quoteminunit:
  10528. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10529. type: integer
  10530. stepvalue:
  10531. description: 价格最小变动单位
  10532. type: number
  10533. trademode:
  10534. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10535. 21:竞拍-大宗式 22:受托竞价
  10536. type: integer
  10537. required:
  10538. - accountid
  10539. - goodscode
  10540. - goodsid
  10541. - goodsname
  10542. - marketid
  10543. - trademode
  10544. type: object
  10545. models.HsbyMyPackage:
  10546. properties:
  10547. accountid:
  10548. description: 账户ID
  10549. type: integer
  10550. address:
  10551. description: 提货人详细地址
  10552. type: string
  10553. agreeunit:
  10554. description: 合约单位
  10555. type: number
  10556. amount:
  10557. description: 提货金额
  10558. type: number
  10559. auditer:
  10560. description: 审核人
  10561. type: integer
  10562. audittime:
  10563. description: 审核时间
  10564. type: string
  10565. averageprice:
  10566. description: 均价
  10567. type: number
  10568. cardnum:
  10569. description: 提货人证件号码
  10570. type: string
  10571. cardtypeid:
  10572. description: 提货人证件类型
  10573. type: integer
  10574. checkremark:
  10575. description: 审核备注
  10576. type: string
  10577. currencysign:
  10578. description: 货币符号
  10579. type: string
  10580. decimalplace:
  10581. description: 报价小数位
  10582. type: integer
  10583. goodscode:
  10584. description: 商品代码(内部)
  10585. type: string
  10586. goodsid:
  10587. description: 商品ID
  10588. type: integer
  10589. goodsname:
  10590. description: 商品名称
  10591. type: string
  10592. handlestatus:
  10593. description: 处理状态
  10594. type: integer
  10595. marketid:
  10596. description: 市场ID
  10597. type: integer
  10598. phonenum:
  10599. description: 提货人联系方式
  10600. type: string
  10601. picurls:
  10602. description: 介绍图片[多张用逗号分隔]
  10603. type: string
  10604. qty:
  10605. description: 提货数量
  10606. type: number
  10607. recivername:
  10608. description: 提货人姓名
  10609. type: string
  10610. reqtime:
  10611. description: 更新时间
  10612. type: string
  10613. takemode:
  10614. description: 提货方式 - 2:自提 3:配送
  10615. type: integer
  10616. takeorderid:
  10617. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10618. type: string
  10619. takeorderstatus:
  10620. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10621. type: integer
  10622. takeremark:
  10623. description: 提货备注
  10624. type: string
  10625. tradedate:
  10626. description: 交易日(yyyyMMdd)
  10627. type: string
  10628. trademode:
  10629. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10630. 21:竞拍-大宗式 22:受托竞价
  10631. type: integer
  10632. userid:
  10633. description: 用户ID
  10634. type: integer
  10635. vendorname:
  10636. description: 供应商名称
  10637. type: string
  10638. required:
  10639. - goodscode
  10640. - goodsname
  10641. - takeorderid
  10642. - trademode
  10643. type: object
  10644. models.HsbyPreGoods:
  10645. properties:
  10646. agreeunit:
  10647. description: 合约单位
  10648. type: number
  10649. currency:
  10650. description: 货币
  10651. type: string
  10652. currencysign:
  10653. description: 货币符号
  10654. type: string
  10655. decimalplace:
  10656. description: 报价小数位
  10657. type: integer
  10658. desccityid:
  10659. description: 目的地(市)
  10660. type: integer
  10661. descprovinceid:
  10662. description: 目的地(省)
  10663. type: integer
  10664. enableqty:
  10665. description: 剩余数量
  10666. type: integer
  10667. goodscode:
  10668. description: 商品代码(内部)
  10669. type: string
  10670. goodsid:
  10671. description: 商品ID(自增ID SEQ_GOODS)
  10672. type: integer
  10673. goodsname:
  10674. description: 商品名称
  10675. type: string
  10676. goodsstatus:
  10677. description: 商品状态- 2:未上市 3:上市
  10678. type: integer
  10679. lasttradedate:
  10680. description: 最后交易日期(状态:待退市)
  10681. type: string
  10682. listingdate:
  10683. description: 交易开始日期
  10684. type: string
  10685. marketid:
  10686. description: 所属市场ID
  10687. type: integer
  10688. picurls:
  10689. description: 介绍图片[多张用逗号分隔]
  10690. type: string
  10691. presaledqty:
  10692. description: 已预售量(预售结束时更新)
  10693. type: integer
  10694. presaleqty:
  10695. description: 预售数量
  10696. type: integer
  10697. quoteminunit:
  10698. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10699. type: integer
  10700. refprice:
  10701. description: 参考价格[一口价]
  10702. type: number
  10703. relatedgoodsid:
  10704. description: 关联交易合约ID
  10705. type: integer
  10706. trademode:
  10707. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10708. 21:竞拍-大宗式 22:受托竞价
  10709. type: integer
  10710. videourls:
  10711. description: 介绍视频[多张用逗号分隔]
  10712. type: string
  10713. required:
  10714. - goodscode
  10715. - goodsid
  10716. - goodsname
  10717. - marketid
  10718. - trademode
  10719. type: object
  10720. models.HsbyPreGoodsDetail:
  10721. properties:
  10722. agreeunit:
  10723. description: 合约单位
  10724. type: number
  10725. buymaxqty:
  10726. description: 购买上限 [71] - 0为不限
  10727. type: integer
  10728. currency:
  10729. description: 货币
  10730. type: string
  10731. currencysign:
  10732. description: 货币符号
  10733. type: string
  10734. customername:
  10735. description: 发行单位
  10736. type: string
  10737. decimalplace:
  10738. description: 报价小数位
  10739. type: integer
  10740. desccityid:
  10741. description: 目的地(市)ID
  10742. type: integer
  10743. descprovinceid:
  10744. description: 目的地(省)ID
  10745. type: integer
  10746. enableqty:
  10747. description: 剩余数量
  10748. type: integer
  10749. goodscode:
  10750. description: 商品代码(内部)
  10751. type: string
  10752. goodsdesc:
  10753. description: 商品详情
  10754. type: string
  10755. goodsid:
  10756. description: 商品ID(自增ID SEQ_GOODS)
  10757. type: integer
  10758. goodsname:
  10759. description: 商品名称
  10760. type: string
  10761. goodsstatus:
  10762. description: 商品状态- 2:未上市 3:上市
  10763. type: integer
  10764. goodunit:
  10765. description: 报价单位
  10766. type: string
  10767. lasttradedate:
  10768. description: 最后交易日期(状态:待退市)
  10769. type: string
  10770. listingdate:
  10771. description: 交易开始日期
  10772. type: string
  10773. lotsize:
  10774. description: 手数最小变动单位
  10775. type: integer
  10776. marketid:
  10777. description: 所属市场ID
  10778. type: integer
  10779. picurls:
  10780. description: 介绍图片[多张用逗号分隔]
  10781. type: string
  10782. presaledqty:
  10783. description: 已预售量(预售结束时更新)
  10784. type: integer
  10785. presaleqty:
  10786. description: 预售数量
  10787. type: integer
  10788. quoteminunit:
  10789. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10790. type: integer
  10791. refprice:
  10792. description: 参考价格[一口价]
  10793. type: number
  10794. relatedgoodsid:
  10795. description: 关联交易合约ID
  10796. type: integer
  10797. stepvalue:
  10798. description: 价格最小变动单位
  10799. type: number
  10800. trademode:
  10801. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10802. 21:竞拍-大宗式 22:受托竞价
  10803. type: integer
  10804. vendorattr:
  10805. description: 供应商附件(多张,逗号分隔)
  10806. type: string
  10807. vendorname:
  10808. description: 供应商名称
  10809. type: string
  10810. vendorphone:
  10811. description: 供应商客服电话
  10812. type: string
  10813. videourls:
  10814. description: 介绍视频[多张用逗号分隔]
  10815. type: string
  10816. required:
  10817. - goodscode
  10818. - goodsid
  10819. - goodsname
  10820. - marketid
  10821. - trademode
  10822. type: object
  10823. models.HsbySellCollectionOrder:
  10824. properties:
  10825. agreeunit:
  10826. description: 合约单位
  10827. type: number
  10828. buyaccountid:
  10829. description: 买方账号ID[报价币种]
  10830. type: integer
  10831. buyorderid:
  10832. description: 买方委托单号
  10833. type: string
  10834. createtime:
  10835. description: 创建时间
  10836. type: string
  10837. currencysign:
  10838. description: 货币符号
  10839. type: string
  10840. decimalplace:
  10841. description: 报价小数位
  10842. type: integer
  10843. goodscode:
  10844. description: 商品代码(内部)
  10845. type: string
  10846. goodsid:
  10847. description: 商品ID
  10848. type: integer
  10849. goodsname:
  10850. description: 商品名称
  10851. type: string
  10852. marketid:
  10853. description: 市场ID
  10854. type: integer
  10855. offamount:
  10856. description: 优惠金额
  10857. type: number
  10858. payamount:
  10859. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10860. type: number
  10861. payflag:
  10862. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10863. type: integer
  10864. paylimitedtime:
  10865. description: 支付期限
  10866. type: string
  10867. paytime:
  10868. description: 付款时间
  10869. type: string
  10870. picurls:
  10871. description: 商品介绍图片[多张用逗号分隔]
  10872. type: string
  10873. sellaccountid:
  10874. description: 卖方账号ID[报价币种]
  10875. type: integer
  10876. sellorderid:
  10877. description: 卖方委托单号
  10878. type: string
  10879. tradeamount:
  10880. description: 成交金额
  10881. type: number
  10882. tradecharge:
  10883. description: 成交手续费(买方)
  10884. type: number
  10885. tradedate:
  10886. description: 交易日(yyyyMMdd)
  10887. type: string
  10888. tradeid:
  10889. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10890. type: string
  10891. trademode:
  10892. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10893. 21:竞拍-大宗式 22:受托竞价
  10894. type: integer
  10895. tradeprice:
  10896. description: 成交价格
  10897. type: number
  10898. tradeqty:
  10899. description: 成交数量
  10900. type: integer
  10901. required:
  10902. - goodscode
  10903. - goodsname
  10904. - tradeid
  10905. - trademode
  10906. type: object
  10907. models.HsbySellMyDetail:
  10908. properties:
  10909. accountid:
  10910. description: 账户ID[报价币种]
  10911. type: integer
  10912. agreeunit:
  10913. description: 合约单位
  10914. type: number
  10915. buyorsell:
  10916. description: 买卖 - 0:买 1:卖
  10917. type: integer
  10918. currencysign:
  10919. description: 货币符号
  10920. type: string
  10921. decimalplace:
  10922. description: 报价小数位
  10923. type: integer
  10924. goodscode:
  10925. description: 商品代码(内部)
  10926. type: string
  10927. goodsid:
  10928. description: 商品ID
  10929. type: integer
  10930. goodsname:
  10931. description: 商品名称
  10932. type: string
  10933. marketid:
  10934. description: 市场ID
  10935. type: integer
  10936. orderid:
  10937. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10938. type: string
  10939. ordertype:
  10940. description: 单据类型:0 - 发布中, 1 - 已完成
  10941. type: integer
  10942. picurls:
  10943. description: 介绍图片[多张用逗号分隔]
  10944. type: string
  10945. price:
  10946. description: 价格
  10947. type: number
  10948. qty:
  10949. description: 数量
  10950. type: integer
  10951. time:
  10952. description: 时间
  10953. type: string
  10954. trademode:
  10955. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10956. 21:竞拍-大宗式 22:受托竞价
  10957. type: integer
  10958. vendorname:
  10959. description: 供应商名称
  10960. type: string
  10961. required:
  10962. - accountid
  10963. - buyorsell
  10964. - goodscode
  10965. - goodsid
  10966. - goodsname
  10967. - marketid
  10968. - orderid
  10969. - time
  10970. - trademode
  10971. type: object
  10972. models.HsbyTopGoods:
  10973. properties:
  10974. agreeunit:
  10975. description: 合约单位
  10976. type: number
  10977. currency:
  10978. description: 货币
  10979. type: string
  10980. currencysign:
  10981. description: 货币符号
  10982. type: string
  10983. decimalplace:
  10984. description: 报价小数位
  10985. type: integer
  10986. desccityid:
  10987. description: 目的地(市)
  10988. type: integer
  10989. descprovinceid:
  10990. description: 目的地(省)
  10991. type: integer
  10992. goodscode:
  10993. description: 商品代码(内部)
  10994. type: string
  10995. goodsid:
  10996. description: 商品ID(自增ID SEQ_GOODS)
  10997. type: integer
  10998. goodsname:
  10999. description: 商品名称
  11000. type: string
  11001. hotindex:
  11002. description: 景点热度
  11003. type: integer
  11004. last:
  11005. description: 现价
  11006. type: number
  11007. marketid:
  11008. description: 所属市场ID
  11009. type: integer
  11010. picurls:
  11011. description: 介绍图片[多张用逗号分隔]
  11012. type: string
  11013. quoteminunit:
  11014. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11015. type: integer
  11016. trademode:
  11017. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11018. 21:竞拍-大宗式 22:受托竞价
  11019. type: integer
  11020. videourls:
  11021. description: 介绍视频[多张用逗号分隔]
  11022. type: string
  11023. required:
  11024. - goodscode
  11025. - goodsid
  11026. - goodsname
  11027. - marketid
  11028. - trademode
  11029. type: object
  11030. models.HybsMyBuyOrderDetail:
  11031. properties:
  11032. accountid:
  11033. description: 账户ID[报价币种]
  11034. type: integer
  11035. agreeunit:
  11036. description: 合约单位
  11037. type: number
  11038. buyorsell:
  11039. description: 买卖 - 0:买 1:卖
  11040. type: integer
  11041. cancelqty:
  11042. description: 撤单数量
  11043. type: integer
  11044. currencysign:
  11045. description: 货币符号
  11046. type: string
  11047. decimalplace:
  11048. description: 报价小数位
  11049. type: integer
  11050. goodscode:
  11051. description: 商品代码(内部)
  11052. type: string
  11053. goodsid:
  11054. description: 商品ID
  11055. type: integer
  11056. goodsname:
  11057. description: 商品名称
  11058. type: string
  11059. listingselecttype:
  11060. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11061. type: integer
  11062. marketid:
  11063. description: 市场ID
  11064. type: integer
  11065. mybuystatus:
  11066. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  11067. type: integer
  11068. orderamount:
  11069. description: 委托金额
  11070. type: number
  11071. orderid:
  11072. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11073. type: string
  11074. orderprice:
  11075. description: 委托价格
  11076. type: number
  11077. orderqty:
  11078. description: 委托数量
  11079. type: integer
  11080. orderstatus:
  11081. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11082. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11083. 16:成交失败违约(荷兰式竞拍专用)
  11084. type: integer
  11085. ordertime:
  11086. description: 委托时间
  11087. type: string
  11088. picurls1:
  11089. description: 预售商品介绍图片[多张用逗号分隔]
  11090. type: string
  11091. picurls2:
  11092. description: 挂牌商品介绍图片[多张用逗号分隔]
  11093. type: string
  11094. trademode:
  11095. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11096. 21:竞拍-大宗式 22:受托竞价
  11097. type: integer
  11098. tradeqty:
  11099. description: 成交数量
  11100. type: integer
  11101. vendorname1:
  11102. description: 预售商品供应商名称
  11103. type: string
  11104. vendorname2:
  11105. description: 挂牌商品供应商名称
  11106. type: string
  11107. required:
  11108. - accountid
  11109. - buyorsell
  11110. - goodscode
  11111. - goodsid
  11112. - goodsname
  11113. - marketid
  11114. - orderid
  11115. - orderqty
  11116. - ordertime
  11117. - trademode
  11118. type: object
  11119. models.InternalEnableTradeDetail:
  11120. properties:
  11121. agreeunit:
  11122. description: 合约乘数
  11123. type: number
  11124. areauserid:
  11125. description: 企业ID
  11126. type: integer
  11127. convertratio:
  11128. description: 品种系数
  11129. type: number
  11130. deliverygoodscode:
  11131. description: 现货品种代码
  11132. type: string
  11133. deliverygoodsid:
  11134. description: 现货品种ID(SEQ_DELIVERYGOODS)
  11135. type: integer
  11136. deliverygoodsname:
  11137. description: 现货品种名称
  11138. type: string
  11139. futurehedgeqty:
  11140. description: '[已关联数量]期货持仓套期量'
  11141. type: number
  11142. goodsid:
  11143. description: 期货合约ID
  11144. type: integer
  11145. hedgeditemid:
  11146. description: 被套期项目ID
  11147. type: string
  11148. hedgeditemnum:
  11149. description: 项目编号
  11150. type: string
  11151. unexehedgeqty:
  11152. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  11153. type: number
  11154. unexespotqty:
  11155. description: 未执行现货量
  11156. type: number
  11157. wrstandardcode:
  11158. description: 现货品类代码
  11159. type: string
  11160. wrstandardid:
  11161. description: 现货品类ID(SEQ_WRSTANDARD)
  11162. type: integer
  11163. wrstandardname:
  11164. description: 现货品类名称
  11165. type: string
  11166. required:
  11167. - areauserid
  11168. - goodsid
  11169. type: object
  11170. models.InternalUncorrelatedTradeDetail:
  11171. properties:
  11172. accountid:
  11173. description: 账号ID
  11174. type: integer
  11175. accountname:
  11176. description: 套期主体
  11177. type: string
  11178. agreeunit:
  11179. description: 合约乘数
  11180. type: number
  11181. areauserid:
  11182. description: 所属机构
  11183. type: integer
  11184. bizsubjectid:
  11185. description: 归属业务部门ID - SubjectID
  11186. type: integer
  11187. buyorsell:
  11188. description: 方向 - 0:买 1:卖
  11189. type: integer
  11190. channelbuildtype:
  11191. description: 委托单据类型 0:无 1:建仓 2:平仓
  11192. type: integer
  11193. convertratio:
  11194. description: 品种系数
  11195. type: number
  11196. createtime:
  11197. description: 创建时间
  11198. type: string
  11199. creatorid:
  11200. description: 创建人ID
  11201. type: integer
  11202. creatorsrc:
  11203. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11204. type: integer
  11205. enableqty:
  11206. description: 项目可关联手数 = 成交手数 - 关联数量
  11207. type: number
  11208. enumdicname:
  11209. description: 单位
  11210. type: string
  11211. goodscode:
  11212. description: 合约代码
  11213. type: string
  11214. goodsgroupid:
  11215. description: 对冲品种ID[期货合约商品组ID]
  11216. type: integer
  11217. goodsid:
  11218. description: 商品ID
  11219. type: integer
  11220. goodsname:
  11221. description: 合约名称
  11222. type: string
  11223. hedgeditemid:
  11224. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11225. type: integer
  11226. hedgeflag:
  11227. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11228. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11229. type: integer
  11230. linkdetailid:
  11231. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11232. type: string
  11233. linkstatus:
  11234. description: 关联状态 - 1:成功 2:失败 3:解绑
  11235. type: integer
  11236. middlegoodsid:
  11237. description: 套保品种ID
  11238. type: integer
  11239. middlegoodsqty:
  11240. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  11241. type: number
  11242. relatedlot:
  11243. description: '[数量]关联手数'
  11244. type: number
  11245. relatedmode:
  11246. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11247. type: integer
  11248. relatedqty:
  11249. description: '[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio'
  11250. type: number
  11251. retcode:
  11252. description: 返回码
  11253. type: integer
  11254. saleuserid:
  11255. description: 业务员ID
  11256. type: integer
  11257. tradedate:
  11258. description: 关联交易日(yyyyMMdd)
  11259. type: string
  11260. tradeid:
  11261. description: 成交单号
  11262. type: string
  11263. tradelot:
  11264. description: 成交手数
  11265. type: integer
  11266. tradeprice:
  11267. description: 成交价
  11268. type: number
  11269. tradetime:
  11270. description: 成交时间
  11271. type: string
  11272. tradetradedate:
  11273. description: 成交交易日(yyyyMMdd)
  11274. type: string
  11275. type: object
  11276. models.Loginaccount:
  11277. properties:
  11278. accountname:
  11279. description: 账户名称
  11280. type: string
  11281. canoutin:
  11282. description: 是否可出入金 - 0:不可 1:可
  11283. type: integer
  11284. clientroleid:
  11285. description: 终端角色ID
  11286. type: integer
  11287. haslogined:
  11288. description: 是否已登录 - 0:未登录 1:已登录
  11289. type: integer
  11290. hasupdatedpwd:
  11291. description: 是否已更改密码 - 0:未修改 1:已修改
  11292. type: integer
  11293. lastloginip:
  11294. description: 最新登录地址
  11295. type: string
  11296. lastloginmode:
  11297. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11298. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11299. type: integer
  11300. lastloginremark:
  11301. description: 最新登录描述
  11302. type: string
  11303. lastlogintime:
  11304. description: 最新登录时间
  11305. type: string
  11306. logincode:
  11307. description: 登录代码
  11308. type: string
  11309. loginfailnum:
  11310. description: 连续登录失败次数(登录成功时清零)
  11311. type: integer
  11312. loginid:
  11313. description: 登陆账号
  11314. type: integer
  11315. loginport:
  11316. description: 最新登录端口
  11317. type: integer
  11318. loginstatus:
  11319. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11320. type: integer
  11321. loginusertype:
  11322. description: 登录账号类型 - 1:投资者 2:机构交易员
  11323. type: integer
  11324. mobile:
  11325. description: 手机号码(加密存储)
  11326. type: string
  11327. modifierid:
  11328. description: 修改人
  11329. type: integer
  11330. modifysrc:
  11331. description: 审核来源 - 1:管理端 2:终端
  11332. type: integer
  11333. modifytime:
  11334. description: 修改时间
  11335. type: string
  11336. password:
  11337. description: 登陆密码
  11338. type: string
  11339. pwdwrongcount:
  11340. description: 密码错误次数
  11341. type: integer
  11342. relateduserid:
  11343. description: 关联用户ID(机构)
  11344. type: integer
  11345. taaccountrighttype:
  11346. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11347. type: integer
  11348. unfreezetime:
  11349. description: 账户解冻时间
  11350. type: string
  11351. userid:
  11352. description: 用户ID
  11353. type: integer
  11354. required:
  11355. - loginid
  11356. type: object
  11357. models.MainAccountInfo:
  11358. properties:
  11359. accountid:
  11360. description: 账号id
  11361. type: integer
  11362. accountname:
  11363. description: 账号名称(taaccount表中的名称)
  11364. type: string
  11365. appid:
  11366. description: AppID
  11367. type: string
  11368. authcode:
  11369. description: 授权码
  11370. type: string
  11371. brokerid:
  11372. description: 经纪商id
  11373. type: string
  11374. fcid:
  11375. description: 期货公司id
  11376. type: integer
  11377. fcname:
  11378. description: 期货公司代码
  11379. type: string
  11380. hedgeaccountcode:
  11381. description: 外部账号代码(主账号登录代码)
  11382. type: string
  11383. hedgeaccountpwd:
  11384. description: 密码
  11385. type: string
  11386. ismain:
  11387. description: 是否主账号
  11388. type: integer
  11389. relateduserid:
  11390. description: 关联用户id
  11391. type: integer
  11392. userid:
  11393. description: 关联用户id
  11394. type: integer
  11395. type: object
  11396. models.Market:
  11397. properties:
  11398. auctionwrtype:
  11399. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11400. type: integer
  11401. canacceptquote:
  11402. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11403. type: integer
  11404. cangoodsexercise:
  11405. description: '[期权]是否可现货行权- 0:否 1:是'
  11406. type: integer
  11407. cangoodsexercisetype:
  11408. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11409. type: integer
  11410. canmanualquotestrike:
  11411. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11412. type: integer
  11413. canmutistage:
  11414. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11415. type: integer
  11416. canpreexercise:
  11417. description: '[期权]是否可预申报- 0:否 1:是'
  11418. type: integer
  11419. clearinterval:
  11420. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11421. type: integer
  11422. contracttmp:
  11423. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11424. type: string
  11425. exchareaid:
  11426. description: 所属交易所,可以没有
  11427. type: integer
  11428. goodstype:
  11429. description: 商品类型 - 1:交易商品 2:仓单商品
  11430. type: integer
  11431. hasrebate:
  11432. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11433. type: integer
  11434. hastradecredit:
  11435. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11436. type: integer
  11437. haswr:
  11438. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11439. type: integer
  11440. isdeductmargin:
  11441. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11442. type: integer
  11443. isrecordsource:
  11444. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11445. type: integer
  11446. isreleasemargin:
  11447. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11448. type: integer
  11449. marginformula:
  11450. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11451. type: integer
  11452. marginformula2:
  11453. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11454. type: integer
  11455. marketid:
  11456. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11457. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11458. type: integer
  11459. marketname:
  11460. description: 市场名称
  11461. type: string
  11462. marketserviceid:
  11463. description: 市场服务ID
  11464. type: integer
  11465. marketstatus:
  11466. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11467. type: integer
  11468. markettype:
  11469. description: 市场类型- 1:非交易服务 2:交易服务
  11470. type: integer
  11471. matchermode:
  11472. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11473. type: integer
  11474. openmethod:
  11475. description: 开盘模式 - 0 自动 1手动
  11476. type: integer
  11477. otcuserid:
  11478. description: 场外期权做市商[场外期权]
  11479. type: integer
  11480. outersynctime:
  11481. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11482. type: string
  11483. pendingflag:
  11484. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11485. type: integer
  11486. pendingtime:
  11487. description: 待开市时间[通道交易-对冲](HH:mm)
  11488. type: string
  11489. performancetempid:
  11490. description: 履约计划模板ID - 作废
  11491. type: integer
  11492. premiumquotemode:
  11493. description: 权利金报价方式 - 1:自动 2:手动
  11494. type: integer
  11495. rebateratio:
  11496. description: 返利比率[竞价式]
  11497. type: number
  11498. reckonorder:
  11499. description: 结算顺序
  11500. type: integer
  11501. reckonpricealgorithm:
  11502. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11503. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11504. type: integer
  11505. reckonpriceparam:
  11506. description: 结算价参数
  11507. type: integer
  11508. reckontime:
  11509. description: 结算时间[通道交易-对冲](HH:mm)
  11510. type: string
  11511. roleprioritytype:
  11512. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11513. type: integer
  11514. selllistingauditflag:
  11515. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11516. type: integer
  11517. trademarkettype:
  11518. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11519. type: integer
  11520. trademode:
  11521. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11522. 21:竞拍-大宗式 22:受托竞价
  11523. type: integer
  11524. tradeproperty:
  11525. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11526. 8:场外期权
  11527. type: integer
  11528. tradetype:
  11529. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11530. type: integer
  11531. required:
  11532. - marketid
  11533. - marketstatus
  11534. - openmethod
  11535. - reckonpricealgorithm
  11536. - trademode
  11537. - tradeproperty
  11538. type: object
  11539. models.Marketrun:
  11540. properties:
  11541. afternexttradedate:
  11542. description: 下下交易日
  11543. type: string
  11544. clearquoteflag:
  11545. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11546. type: integer
  11547. lastreckondate:
  11548. description: 最新交易日(结算成功)
  11549. type: string
  11550. machinedate:
  11551. description: 机器时间
  11552. type: string
  11553. manualflag:
  11554. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11555. type: integer
  11556. marketid:
  11557. description: 市场ID
  11558. type: integer
  11559. nexttradedate:
  11560. description: 下一交易日
  11561. type: string
  11562. pretradedate:
  11563. description: 上一交易日
  11564. type: string
  11565. reckonflag:
  11566. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11567. type: integer
  11568. runstatus:
  11569. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11570. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11571. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11572. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11573. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11574. 62.今日免清算
  11575. type: integer
  11576. sectionid:
  11577. description: 时间段号[多时段时用]
  11578. type: integer
  11579. tradedate:
  11580. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11581. type: string
  11582. tradedate2:
  11583. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11584. type: string
  11585. updatetime:
  11586. description: 更新时间
  11587. type: string
  11588. required:
  11589. - marketid
  11590. - nexttradedate
  11591. - reckonflag
  11592. - runstatus
  11593. - tradedate
  11594. - tradedate2
  11595. type: object
  11596. models.Messageboard:
  11597. properties:
  11598. contactnum:
  11599. description: 联系电话
  11600. type: string
  11601. createtime:
  11602. description: 创建时间
  11603. type: string
  11604. message:
  11605. description: 留言信息
  11606. type: string
  11607. messageboardid:
  11608. description: 留言簿ID(SEQ_MessageBoard)
  11609. type: integer
  11610. userid:
  11611. description: 用户ID
  11612. type: integer
  11613. required:
  11614. - messageboardid
  11615. type: object
  11616. models.MyCoupon:
  11617. properties:
  11618. accountid:
  11619. description: 资金账户ID
  11620. type: integer
  11621. areauserid:
  11622. description: 所属机构
  11623. type: integer
  11624. conditionvalue:
  11625. description: 条件阈值(可为0)
  11626. type: number
  11627. couponcategroy:
  11628. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11629. type: integer
  11630. couponname:
  11631. description: 优惠券名称
  11632. type: string
  11633. coupontypeid:
  11634. description: 优惠券类型ID
  11635. type: string
  11636. couponvalue:
  11637. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11638. type: number
  11639. curfreezeqty:
  11640. description: 期末冻结数量
  11641. type: integer
  11642. curqty:
  11643. description: 期末数量
  11644. type: integer
  11645. isgeneral:
  11646. description: 是否通用券 - 0:否 1:是
  11647. type: integer
  11648. isunusable:
  11649. description: 是否不可用
  11650. type: boolean
  11651. limitedflag:
  11652. description: 是否指定商品 - 0:不限 1:限制
  11653. type: integer
  11654. limitedgoodsids:
  11655. description: 指定商品IDs[逗号分隔,前后加逗号]
  11656. type: string
  11657. orifreezeqty:
  11658. description: 期初冻结数量
  11659. type: integer
  11660. oriqty:
  11661. description: 期初数量
  11662. type: integer
  11663. reasontype:
  11664. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11665. type: integer
  11666. todaydecrease:
  11667. description: 今日减少
  11668. type: integer
  11669. todayincrease:
  11670. description: 今日增加
  11671. type: integer
  11672. userid:
  11673. description: 用户ID
  11674. type: integer
  11675. userscope:
  11676. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11677. type: string
  11678. required:
  11679. - accountid
  11680. - coupontypeid
  11681. type: object
  11682. models.MyCouponHold:
  11683. properties:
  11684. accountid:
  11685. description: 资金账户ID
  11686. type: integer
  11687. conditionvalue:
  11688. description: 条件阈值(可为0)
  11689. type: number
  11690. couponcategroy:
  11691. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11692. type: integer
  11693. couponholdid:
  11694. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11695. type: string
  11696. couponname:
  11697. description: 优惠券名称
  11698. type: string
  11699. coupontypeid:
  11700. description: 优惠券类型ID - SEQ_COUPONTYPE
  11701. type: string
  11702. couponvalue:
  11703. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11704. type: number
  11705. createtime:
  11706. description: 创建时间
  11707. type: string
  11708. enddate:
  11709. description: 结束日期
  11710. type: string
  11711. giveapplyid:
  11712. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11713. type: integer
  11714. holdstatus:
  11715. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11716. type: integer
  11717. isgeneral:
  11718. description: 是否通用券 - 0:否 1:是
  11719. type: integer
  11720. limitedflag:
  11721. description: 是否指定商品 - 0:不限 1:限制
  11722. type: integer
  11723. limitedgoodsids:
  11724. description: 指定商品IDs[逗号分隔]
  11725. type: string
  11726. qty:
  11727. description: 数量(按1平铺)
  11728. type: integer
  11729. startdate:
  11730. description: 开始日期
  11731. type: string
  11732. userid:
  11733. description: 用户ID
  11734. type: integer
  11735. userscope:
  11736. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11737. type: string
  11738. required:
  11739. - couponholdid
  11740. type: object
  11741. models.MyUsedCoupon:
  11742. properties:
  11743. accountid:
  11744. description: 资金账户ID(买方)
  11745. type: integer
  11746. conditionvalue:
  11747. description: 条件阈值(可为0)
  11748. type: number
  11749. couponcategroy:
  11750. description: 种类 - 1:现金券 2:折扣券
  11751. type: integer
  11752. couponname:
  11753. description: 优惠券名称
  11754. type: string
  11755. coupontypeid:
  11756. description: 优惠券类型ID(买方)
  11757. type: string
  11758. couponvalue:
  11759. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11760. type: number
  11761. createtime:
  11762. description: 创建时间
  11763. type: string
  11764. goodsid:
  11765. description: 商品ID
  11766. type: integer
  11767. handlestatus:
  11768. description: 处理状态
  11769. type: integer
  11770. marketid:
  11771. description: 市场ID
  11772. type: integer
  11773. offamount:
  11774. description: 优惠金额
  11775. type: number
  11776. orderid:
  11777. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11778. type: string
  11779. sellaccountid:
  11780. description: 资金账户ID(卖方)
  11781. type: integer
  11782. tradeamount:
  11783. description: 成交金额
  11784. type: number
  11785. tradeid:
  11786. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11787. type: string
  11788. usedqty:
  11789. description: 使用数量
  11790. type: integer
  11791. required:
  11792. - coupontypeid
  11793. - orderid
  11794. type: object
  11795. models.OperationPrimaryMenu:
  11796. properties:
  11797. Children:
  11798. description: 二级功能菜单
  11799. items:
  11800. $ref: '#/definitions/models.OperationSecondaryMenu'
  11801. type: array
  11802. Key:
  11803. description: 菜单KEY
  11804. type: string
  11805. Label:
  11806. description: 菜单标题
  11807. type: string
  11808. type: object
  11809. models.OperationSecondaryMenu:
  11810. properties:
  11811. Key:
  11812. description: 菜单KEY
  11813. type: string
  11814. Label:
  11815. description: 菜单标题
  11816. type: string
  11817. TabList:
  11818. description: 三级功能菜单
  11819. items:
  11820. $ref: '#/definitions/models.OperationTabMenu'
  11821. type: array
  11822. type: object
  11823. models.OperationTabMenu:
  11824. properties:
  11825. Key:
  11826. description: 菜单KEY
  11827. type: string
  11828. Label:
  11829. description: 菜单标题
  11830. type: string
  11831. type: object
  11832. models.Patradelinkdetail:
  11833. properties:
  11834. accountname:
  11835. description: 套期主体
  11836. type: string
  11837. agreeunit:
  11838. description: 合约乘数
  11839. type: number
  11840. amount:
  11841. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11842. type: number
  11843. areauserid:
  11844. description: 所属机构
  11845. type: integer
  11846. bizsubjectid:
  11847. description: 归属业务部门ID - SubjectID
  11848. type: integer
  11849. buyorsell:
  11850. description: 方向 - 0:买 1:卖
  11851. type: integer
  11852. convertratio:
  11853. description: 品种系数
  11854. type: number
  11855. convertratiochange:
  11856. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11857. type: number
  11858. createtime:
  11859. description: '[日期时间]创建时间'
  11860. type: string
  11861. creatorid:
  11862. description: 创建人ID
  11863. type: integer
  11864. creatorsrc:
  11865. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11866. type: integer
  11867. goodscode:
  11868. description: 商品代码(内部)
  11869. type: string
  11870. goodsgroupid:
  11871. description: 对冲品种ID[期货合约商品组ID]
  11872. type: integer
  11873. goodsid:
  11874. description: 商品ID
  11875. type: integer
  11876. hedgeditemid:
  11877. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11878. type: integer
  11879. hedgeflag:
  11880. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11881. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11882. type: integer
  11883. linkdetailid:
  11884. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11885. type: string
  11886. linkstatus:
  11887. description: 关联状态 - 1:成功 2:失败 3:解绑
  11888. type: integer
  11889. middlegoodsid:
  11890. description: 套保品种ID
  11891. type: integer
  11892. name:
  11893. description: 账户名/子账户
  11894. type: string
  11895. optioncode:
  11896. description: '[期货合约]期权代码 [期权]'
  11897. type: string
  11898. ordertype:
  11899. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11900. type: integer
  11901. relatedlot:
  11902. description: '[数量]关联手数'
  11903. type: number
  11904. relatedmode:
  11905. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11906. type: integer
  11907. relatedqty:
  11908. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11909. type: number
  11910. retcode:
  11911. description: 返回码
  11912. type: integer
  11913. saleuserid:
  11914. description: 业务员ID
  11915. type: integer
  11916. tradedate:
  11917. description: 关联交易日(yyyyMMdd)
  11918. type: string
  11919. tradeid:
  11920. description: '[成交单号]内部成交单ID'
  11921. type: string
  11922. tradelot:
  11923. description: 成交手数
  11924. type: integer
  11925. tradeprice:
  11926. description: '[价格]成交价格'
  11927. type: number
  11928. tradetradedate:
  11929. description: 成交交易日(yyyyMMdd)
  11930. type: string
  11931. type: object
  11932. models.QhjAccountOutInApply:
  11933. properties:
  11934. accountcode:
  11935. description: 资金账号
  11936. type: string
  11937. accountname:
  11938. description: 用户名称(名称)
  11939. type: string
  11940. accountpwd:
  11941. description: 资金密码
  11942. type: string
  11943. accountticket:
  11944. description: 最新账户服务流水号
  11945. type: string
  11946. amount:
  11947. description: 金额
  11948. type: number
  11949. applyremark:
  11950. description: 申请备注
  11951. type: string
  11952. applystatus:
  11953. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11954. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11955. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11956. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11957. type: integer
  11958. auditid:
  11959. description: 审核人
  11960. type: integer
  11961. audittime:
  11962. description: 审核时间
  11963. type: string
  11964. bank_apply_ticket:
  11965. description: 银行申请流水
  11966. type: string
  11967. bankaccountname:
  11968. description: 银行账户名
  11969. type: string
  11970. bankaccountno:
  11971. description: 银行卡号
  11972. type: string
  11973. bankid:
  11974. description: 银行编号
  11975. type: string
  11976. bankticket:
  11977. description: 银行流水
  11978. type: string
  11979. branchbankid:
  11980. description: 银行支行号
  11981. type: string
  11982. branchbankname:
  11983. description: 银行支行名称
  11984. type: string
  11985. capamountout:
  11986. description: 出金(劣后本金) - 外部子账户
  11987. type: number
  11988. certificatephotourl:
  11989. description: 凭证地址
  11990. type: string
  11991. charge:
  11992. description: 手续费
  11993. type: number
  11994. checkerrorflag:
  11995. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11996. type: integer
  11997. currency:
  11998. description: 币种
  11999. type: string
  12000. cusbankid:
  12001. description: 托管银行编号
  12002. type: string
  12003. exchticket:
  12004. description: 银行服务流水号
  12005. type: string
  12006. executetype:
  12007. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12008. 7:外部子账户:入金 8:外部子账户:出金'
  12009. type: integer
  12010. extendinfo:
  12011. description: 扩展信息
  12012. type: string
  12013. extoperateid:
  12014. description: 交易服务流水号
  12015. type: integer
  12016. infamount:
  12017. description: 劣后金额(自有)
  12018. type: number
  12019. logincode:
  12020. description: 登录账号(账号)
  12021. type: string
  12022. netaddr:
  12023. description: 调转网址
  12024. type: string
  12025. priamount:
  12026. description: 优先金额(授信)
  12027. type: number
  12028. reauditid:
  12029. description: 复审人
  12030. type: integer
  12031. reauditremark:
  12032. description: 复审备注
  12033. type: string
  12034. reaudittime:
  12035. description: 复审时间
  12036. type: string
  12037. relatedorderid:
  12038. description: 三方关联ID
  12039. type: string
  12040. remark:
  12041. description: 备注
  12042. type: string
  12043. remark2:
  12044. description: 备注(失败原因)
  12045. type: string
  12046. soucreamount:
  12047. description: 原始出入金金额
  12048. type: number
  12049. soucrecurrencyid:
  12050. description: 原始出入金币种
  12051. type: integer
  12052. tradedate:
  12053. description: 交易日(yyyyMMdd)
  12054. type: string
  12055. updatetime:
  12056. description: 更新时间(申请时间)
  12057. type: string
  12058. userid:
  12059. description: 用户id
  12060. type: integer
  12061. userinfotype:
  12062. description: 账户类型 1-个人 2-企业
  12063. type: integer
  12064. type: object
  12065. models.QhjAgreementChangeLog:
  12066. properties:
  12067. agreementcontent:
  12068. description: 协议内容
  12069. type: string
  12070. agreementfrequency:
  12071. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12072. type: integer
  12073. agreementid:
  12074. description: 协议ID
  12075. type: integer
  12076. agreementname:
  12077. description: 协议名称
  12078. type: string
  12079. agreementno:
  12080. description: 协议编号
  12081. type: string
  12082. agreementtype:
  12083. description: 协议类型 - 1:注册 2:登录 3:交易
  12084. type: integer
  12085. agreementversion:
  12086. description: 协议版本号
  12087. type: integer
  12088. logid:
  12089. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12090. type: integer
  12091. reviserid:
  12092. description: 修改人
  12093. type: integer
  12094. revisersrc:
  12095. description: 修改来源 - 1:管理端 2:终端
  12096. type: integer
  12097. updatetime:
  12098. description: 更新时间
  12099. type: string
  12100. type: object
  12101. models.QhjAgreementConfig:
  12102. properties:
  12103. agreementcontent:
  12104. description: 协议内容
  12105. type: string
  12106. agreementfrequency:
  12107. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12108. type: integer
  12109. agreementid:
  12110. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12111. type: integer
  12112. agreementname:
  12113. description: 协议名称
  12114. type: string
  12115. agreementno:
  12116. description: 协议编号
  12117. type: string
  12118. agreementtype:
  12119. description: 协议类型 - 1:注册 2:登录 3:交易
  12120. type: integer
  12121. agreementversion:
  12122. description: 协议版本号(从1开始每次修改加1)
  12123. type: integer
  12124. createtime:
  12125. description: 创建时间
  12126. type: string
  12127. creatorid:
  12128. description: 创建人
  12129. type: integer
  12130. creatorsrc:
  12131. description: 创建来源 - 1:管理端 2:终端
  12132. type: integer
  12133. isvalid:
  12134. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12135. type: integer
  12136. reviserid:
  12137. description: 修改人
  12138. type: integer
  12139. revisersrc:
  12140. description: 修改来源 - 1:管理端 2:终端
  12141. type: integer
  12142. updatetime:
  12143. description: 更新时间
  12144. type: string
  12145. type: object
  12146. models.QhjAreaFinanceConfig:
  12147. properties:
  12148. additionalratio:
  12149. description: 追加款比例
  12150. type: number
  12151. advanceratio:
  12152. description: 预付款比例
  12153. type: number
  12154. alarmratio:
  12155. description: 告警比例
  12156. type: number
  12157. consumptiondirectreward:
  12158. description: 消费直推奖励值
  12159. type: number
  12160. consumptionenabled:
  12161. description: 是否启用消费奖励 - 0:不启用 1:启用
  12162. type: integer
  12163. consumptionindirectreward:
  12164. description: 消费间推奖励值
  12165. type: number
  12166. consumptionmodel:
  12167. description: 消费奖励方式 - 1:比率 2:固定
  12168. type: integer
  12169. customerservicenum:
  12170. description: 客服电话
  12171. type: string
  12172. dayinterestrate:
  12173. description: 日利率
  12174. type: number
  12175. disableconsumptiontips:
  12176. description: 关闭消费奖励提示
  12177. type: string
  12178. modifierid:
  12179. description: 修改人ID
  12180. type: integer
  12181. modifysrc:
  12182. description: 审核来源 - 1:管理端 2:终端
  12183. type: integer
  12184. modifytime:
  12185. description: 修改时间
  12186. type: string
  12187. promotionvalue:
  12188. description: 推广奖励值(固定)
  12189. type: number
  12190. scoreconfigvalue1:
  12191. description: 提货积分配置1
  12192. type: integer
  12193. scoreconfigvalue2:
  12194. description: 提货积分配置2
  12195. type: integer
  12196. userid:
  12197. description: 机构用户ID其他做市关系,都设置为 1
  12198. type: integer
  12199. username:
  12200. description: 用户名称
  12201. type: string
  12202. type: object
  12203. models.QhjBankAccountSign:
  12204. properties:
  12205. accountcode:
  12206. description: 资金账号
  12207. type: string
  12208. accountname:
  12209. description: 资金账号对应的账号名(UserName)
  12210. type: string
  12211. accountname2:
  12212. description: 资金账号对应的账号名(UserName) - 密文
  12213. type: string
  12214. accounttype:
  12215. description: 账户类型(UserType)
  12216. type: integer
  12217. applicationtime:
  12218. description: 最后一次更新的时间
  12219. type: string
  12220. applyexchticket:
  12221. description: 申请流水
  12222. type: string
  12223. auditid:
  12224. description: 审核人
  12225. type: integer
  12226. audittime:
  12227. description: 审核时间
  12228. type: string
  12229. bankaccountname:
  12230. description: 签约银行卡账号名
  12231. type: string
  12232. bankaccountname2:
  12233. description: 签约银行卡账号名 - 密文
  12234. type: string
  12235. bankaccountno:
  12236. description: 银行卡号
  12237. type: string
  12238. bankaccountno2:
  12239. description: 银行卡号 - 密文
  12240. type: string
  12241. bankaccounttype:
  12242. description: 银行账户类型 - 1-对私; 2-对公
  12243. type: integer
  12244. bankcardtype:
  12245. description: 银行卡类型
  12246. type: integer
  12247. bankchildaccount:
  12248. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12249. type: string
  12250. bankcity:
  12251. description: 开户行城市
  12252. type: string
  12253. bankid:
  12254. description: 签约银行ID
  12255. type: string
  12256. bankname:
  12257. description: 签约银行名称
  12258. type: string
  12259. bankprovince:
  12260. description: 开户行省份
  12261. type: string
  12262. branchbankid:
  12263. description: 签约银行支行号
  12264. type: string
  12265. branchbankname:
  12266. description: 签约银行支行名称
  12267. type: string
  12268. cardno:
  12269. description: 证件号码
  12270. type: string
  12271. cardno2:
  12272. description: 证件号码 - 密文
  12273. type: string
  12274. cardtype:
  12275. description: 证件类型
  12276. type: string
  12277. currency:
  12278. description: 币种
  12279. type: string
  12280. cusbankid:
  12281. description: 托管银行编号
  12282. type: string
  12283. direct:
  12284. description: 方向(可以判断那方先发起的签约)
  12285. type: integer
  12286. exchticket:
  12287. description: 最后一次签约成功的流水号
  12288. type: string
  12289. extendinfo:
  12290. description: 扩展信息(JSON字符串)
  12291. type: string
  12292. mobilephone:
  12293. description: 手机号
  12294. type: string
  12295. mobilephone2:
  12296. description: 手机号 - 密文
  12297. type: string
  12298. netaddr:
  12299. description: 调转网址
  12300. type: string
  12301. relateduserid:
  12302. description: 关联使用者userid
  12303. type: integer
  12304. signstatus:
  12305. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12306. 10:审核拒绝 11:换签待审核
  12307. type: integer
  12308. updatetime:
  12309. description: 更新时间(签解约更新时间)
  12310. type: string
  12311. type: object
  12312. models.QhjBankInfo:
  12313. properties:
  12314. bankid:
  12315. description: 银行ID
  12316. type: string
  12317. bankname:
  12318. description: 银行名称
  12319. type: string
  12320. clearbankno:
  12321. description: 清算系统银行编号
  12322. type: string
  12323. orderindex:
  12324. description: 排序顺序
  12325. type: integer
  12326. status:
  12327. description: 状态 - 0:正常 1:注销
  12328. type: integer
  12329. type: object
  12330. models.QhjBrokerApply:
  12331. properties:
  12332. applicantid:
  12333. description: 申请人
  12334. type: integer
  12335. applysrc:
  12336. description: 申请来源 - 1:管理端 2:终端
  12337. type: integer
  12338. applystatus:
  12339. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12340. type: integer
  12341. applytime:
  12342. description: 申请时间
  12343. type: string
  12344. auditorid:
  12345. description: 审核人
  12346. type: integer
  12347. auditremark:
  12348. description: 审核备注
  12349. type: string
  12350. auditsrc:
  12351. description: 审核来源 - 1:管理端 2:终端
  12352. type: integer
  12353. audittime:
  12354. description: 审核时间
  12355. type: string
  12356. audittradedate:
  12357. description: 审核交易日(yyyyMMdd)
  12358. type: string
  12359. brokerapplyid:
  12360. description: 申请ID(SEQ_BROKERAPPLY)
  12361. type: integer
  12362. cardbackphotourl:
  12363. description: 证件背面图片地址
  12364. type: string
  12365. cardfrontphotourl:
  12366. description: 证件正面图片地址
  12367. type: string
  12368. cardnum:
  12369. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12370. type: string
  12371. customername:
  12372. description: 姓名
  12373. type: string
  12374. logincode:
  12375. description: 登录代码
  12376. type: string
  12377. mobile:
  12378. description: 手机号码
  12379. type: string
  12380. parentuserid:
  12381. description: 所属机构id
  12382. type: integer
  12383. parentusername:
  12384. description: 所属机构名称
  12385. type: string
  12386. refereeuserid:
  12387. description: 推荐人id(经纪人)
  12388. type: integer
  12389. refernum:
  12390. description: 推荐码
  12391. type: string
  12392. remark:
  12393. description: 备注
  12394. type: string
  12395. subarealevelpath:
  12396. description: 层级路径
  12397. type: string
  12398. tradedate:
  12399. description: 交易日(yyyyMMdd)
  12400. type: string
  12401. userid:
  12402. description: 申请人用户ID
  12403. type: integer
  12404. userinfotype:
  12405. description: 用户类型 1-个人 2-企业
  12406. type: integer
  12407. username:
  12408. description: 用户名称
  12409. type: string
  12410. type: object
  12411. models.QhjBrokerApplyEx:
  12412. properties:
  12413. applylist:
  12414. description: 经纪人申请记录(只返回最新一条)
  12415. items:
  12416. $ref: '#/definitions/models.QhjBrokerApply'
  12417. type: array
  12418. canrecommend:
  12419. description: 是否经纪人 0-不是 1-是
  12420. type: integer
  12421. refernum:
  12422. description: 推荐码
  12423. type: string
  12424. userid:
  12425. description: 用户id
  12426. type: integer
  12427. userinfotype:
  12428. description: 用户类型 1-个人 2-企业
  12429. type: integer
  12430. type: object
  12431. models.QhjBrokerRewardLog:
  12432. properties:
  12433. accountid:
  12434. description: 资金账号ID
  12435. type: integer
  12436. createtime:
  12437. description: 创建时间(时间)
  12438. type: string
  12439. handlestatus:
  12440. description: 处理状态
  12441. type: integer
  12442. logid:
  12443. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12444. type: string
  12445. marketid:
  12446. description: 市场ID
  12447. type: integer
  12448. mmaccountid:
  12449. description: 做市商资金账号ID
  12450. type: string
  12451. mmuserid:
  12452. description: 做市商用户ID
  12453. type: string
  12454. rewardamount:
  12455. description: 奖励金额
  12456. type: number
  12457. rewardmodel:
  12458. description: 消费奖励方式 - 1:比率 2:固定
  12459. type: integer
  12460. rewardtype:
  12461. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12462. type: integer
  12463. rewardvalue:
  12464. description: 配置奖励值
  12465. type: number
  12466. srcamount:
  12467. description: 成交金额 [消费奖励] (金额)
  12468. type: number
  12469. srcgoodsid:
  12470. description: 来源商品ID [消费奖励]
  12471. type: string
  12472. srctime:
  12473. description: 来源时间 (成交时间) [消费奖励]
  12474. type: string
  12475. srctradeid:
  12476. description: 来源成交单ID [消费奖励] - 排除提货成交
  12477. type: string
  12478. srcuserid:
  12479. description: 来源用户ID(推广账户)
  12480. type: string
  12481. srcusername:
  12482. description: 推广账户名称
  12483. type: string
  12484. tradedate:
  12485. description: 交易日(yyyyMMdd)
  12486. type: string
  12487. userid:
  12488. description: 经纪人用户ID
  12489. type: integer
  12490. type: object
  12491. models.QhjContract:
  12492. properties:
  12493. contractconfirmtime:
  12494. description: 合同确认时间(时间)
  12495. type: string
  12496. currisklevel:
  12497. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12498. type: integer
  12499. decimalplace:
  12500. description: 商品报价小数位
  12501. type: integer
  12502. enumdicname:
  12503. description: 单位名称
  12504. type: string
  12505. goodscode:
  12506. description: 商品代码
  12507. type: string
  12508. goodsid:
  12509. description: 商品ID [5:融资单]
  12510. type: integer
  12511. goodsname:
  12512. description: 商品名称
  12513. type: string
  12514. goodunitid:
  12515. description: 商品单位id
  12516. type: integer
  12517. initmargin:
  12518. description: 初始保证金(首付款)
  12519. type: number
  12520. lenderamount:
  12521. description: 贷款金额(总额|订单总额)
  12522. type: number
  12523. marginratio:
  12524. description: 保证金比率(首付比例)
  12525. type: number
  12526. payamount:
  12527. description: 已付(已付货款)
  12528. type: number
  12529. reckonrecovermargin:
  12530. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12531. type: number
  12532. recoveredmargin:
  12533. description: 已追缴保证金
  12534. type: number
  12535. remainamount:
  12536. description: 合同剩余金额(融资额)
  12537. type: number
  12538. scfcontractid:
  12539. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12540. type: string
  12541. scfcontractstatus:
  12542. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12543. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12544. type: integer
  12545. scfcontracttype:
  12546. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12547. type: integer
  12548. totalinterest:
  12549. description: 已计总利息(利息)
  12550. type: number
  12551. tradeprice:
  12552. description: 成交价格(成本价格)
  12553. type: number
  12554. userid:
  12555. description: 用户ID
  12556. type: integer
  12557. username:
  12558. description: 用户名称
  12559. type: string
  12560. wrqty:
  12561. description: 仓单数量(数量)
  12562. type: number
  12563. type: object
  12564. models.QhjContractLog:
  12565. properties:
  12566. amount:
  12567. description: 支付金额
  12568. type: number
  12569. amounttype:
  12570. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12571. type: integer
  12572. logid:
  12573. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12574. type: string
  12575. remainamount:
  12576. description: 剩余货款
  12577. type: number
  12578. scfcontractid:
  12579. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12580. type: integer
  12581. updatetime:
  12582. description: 更新时间
  12583. type: string
  12584. type: object
  12585. models.QhjCusBankSignBankEx:
  12586. properties:
  12587. banklst:
  12588. description: 银行列表
  12589. items:
  12590. $ref: '#/definitions/models.QhjBankInfo'
  12591. type: array
  12592. canallot:
  12593. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12594. type: integer
  12595. canallotquery:
  12596. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12597. type: integer
  12598. canbindcard:
  12599. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12600. type: integer
  12601. caninamount:
  12602. description: 是否可入金 - 0:不可 1:可以
  12603. type: integer
  12604. caninamount2:
  12605. description: 是否可入金(网银端) - 0:不可 1:可以
  12606. type: integer
  12607. canmodifybankcard:
  12608. description: 是否可修改银行卡号 - 0:不可 1:可以
  12609. type: integer
  12610. canmodifyphone:
  12611. description: 是否可修改手机号 - 0:不可 1:可以
  12612. type: integer
  12613. canmodifysigninfo:
  12614. description: 是否可修改签约信息 - 0:不可 1:可以
  12615. type: integer
  12616. canoutamount:
  12617. description: 是否可出金 - 0:不可 1:可以
  12618. type: integer
  12619. canoutamount2:
  12620. description: 是否可出金(网银端) - 0:不可 1:可以
  12621. type: integer
  12622. canrelease:
  12623. description: 是否可解约 - 0:不可 1:可以
  12624. type: integer
  12625. canrelease2:
  12626. description: 是否可解约(网银端) - 0:不可 1:可以
  12627. type: integer
  12628. cansign:
  12629. description: 是否可签约 - 0:不可 1:可以
  12630. type: integer
  12631. cansign2:
  12632. description: 是否可签约(网银端) - 0:不可 1:可以
  12633. type: integer
  12634. currency:
  12635. description: 币种
  12636. type: string
  12637. cusbankid:
  12638. description: 托管银行编号(对应清算中心TRAN_NO)
  12639. type: string
  12640. cusbankname:
  12641. description: 银行业务名称
  12642. type: string
  12643. cusbankshortname:
  12644. description: 银行业务简称
  12645. type: string
  12646. exchbankid:
  12647. description: 交易所开户银行ID
  12648. type: string
  12649. exchpaybankaccname:
  12650. description: 交易所支出结算账户户名
  12651. type: string
  12652. exchpaybankaccno:
  12653. description: 交易所支出结算账户
  12654. type: string
  12655. isneedcheck:
  12656. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12657. type: integer
  12658. isneedclear:
  12659. description: 是否需要清算 - 0:不需要 1:需要
  12660. type: integer
  12661. lastcheckstatus:
  12662. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12663. type: integer
  12664. lastchecktime:
  12665. description: 最后对账时间
  12666. type: string
  12667. lastclearstatus:
  12668. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12669. type: integer
  12670. lastcleartime:
  12671. description: 最后清算时间
  12672. type: string
  12673. lastsignintime:
  12674. description: 最后签到时间
  12675. type: string
  12676. lastsignouttime:
  12677. description: 最后签退时间
  12678. type: string
  12679. riskinfo:
  12680. description: 签约风险提示书
  12681. type: string
  12682. signstatus:
  12683. description: 当前签到/签退状态 - 1:签到 2:签退
  12684. type: integer
  12685. tradedate:
  12686. description: 交易日(yyyyMMdd)
  12687. type: string
  12688. updatetime:
  12689. description: 当前签到/签退更新时间
  12690. type: string
  12691. type: object
  12692. models.QhjCustomer:
  12693. properties:
  12694. address:
  12695. description: 通讯地址
  12696. type: string
  12697. attachment1:
  12698. description: 附件1
  12699. type: string
  12700. attachment2:
  12701. description: 附件2
  12702. type: string
  12703. audittime:
  12704. description: 审核时间
  12705. type: string
  12706. cardbackphotourl:
  12707. description: 证件反面图片地址
  12708. type: string
  12709. cardfrontphotourl:
  12710. description: 证件正面图片地址
  12711. type: string
  12712. cardnum:
  12713. description: 证件号码
  12714. type: string
  12715. cardtype:
  12716. description: 证件类型
  12717. type: integer
  12718. cardtypename:
  12719. description: 证件类型名称
  12720. type: string
  12721. cityid:
  12722. description: 市
  12723. type: integer
  12724. cityname:
  12725. description: 城市名称
  12726. type: string
  12727. contactname:
  12728. description: 联系人
  12729. type: string
  12730. countryid:
  12731. description: 国家
  12732. type: integer
  12733. countryname:
  12734. description: 国家名称
  12735. type: string
  12736. createtime:
  12737. description: 创建时间
  12738. type: string
  12739. customername:
  12740. description: 客户名称
  12741. type: string
  12742. districtid:
  12743. description: 区域
  12744. type: integer
  12745. districtname:
  12746. description: 地区名称
  12747. type: string
  12748. email:
  12749. description: 邮件
  12750. type: string
  12751. legalpersonname:
  12752. description: 法人姓名(企业)
  12753. type: string
  12754. logincode:
  12755. description: 登录账号(代码)
  12756. type: string
  12757. memberuserid:
  12758. description: 所属机构ID(所属会员)
  12759. type: integer
  12760. memberusername:
  12761. description: 所属会员名称
  12762. type: string
  12763. mobile:
  12764. description: 手机号码
  12765. type: string
  12766. modifytime:
  12767. description: 修改时间
  12768. type: string
  12769. nickname:
  12770. description: 昵称
  12771. type: string
  12772. parentuserid:
  12773. description: 上级机构(所属机构)
  12774. type: integer
  12775. parentusername:
  12776. description: 所属机构名称
  12777. type: string
  12778. provinceid:
  12779. description: 省
  12780. type: integer
  12781. provincename:
  12782. description: 省名称
  12783. type: string
  12784. proxystatementurl:
  12785. description: 授权委托书
  12786. type: string
  12787. remark:
  12788. description: 备注
  12789. type: string
  12790. status:
  12791. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12792. type: integer
  12793. statusdesc:
  12794. description: 账户状态中文描述
  12795. type: string
  12796. taxpayernum:
  12797. description: 纳税人识别号
  12798. type: string
  12799. telphone:
  12800. description: 联系电话
  12801. type: string
  12802. userid:
  12803. description: 用户ID
  12804. type: integer
  12805. userinfotype:
  12806. description: 客户类型 1-个人 2-企业
  12807. type: integer
  12808. username:
  12809. description: 用户名称
  12810. type: string
  12811. type: object
  12812. models.QhjCustomerSignLog:
  12813. properties:
  12814. agreementcontent:
  12815. description: 协议内容
  12816. type: string
  12817. agreementid:
  12818. description: 协议ID
  12819. type: integer
  12820. agreementname:
  12821. description: 协议名称
  12822. type: string
  12823. agreementno:
  12824. description: 协议编号
  12825. type: string
  12826. agreementtype:
  12827. description: 协议类型 - 1:注册 2:登录 3:交易
  12828. type: integer
  12829. agreementversion:
  12830. description: 协议版本号
  12831. type: integer
  12832. createtime:
  12833. description: 创建时间
  12834. type: string
  12835. goodscode:
  12836. description: 商品代码
  12837. type: string
  12838. goodsid:
  12839. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12840. type: integer
  12841. goodsname:
  12842. description: 商品名称
  12843. type: string
  12844. logid:
  12845. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  12846. type: integer
  12847. nodetype:
  12848. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12849. type: integer
  12850. signadressurl:
  12851. description: 签约文件地址
  12852. type: string
  12853. signtimestamp:
  12854. description: 签约状态时间戳
  12855. type: string
  12856. userid:
  12857. description: 客户ID
  12858. type: integer
  12859. username:
  12860. description: 客户名称
  12861. type: string
  12862. type: object
  12863. models.QhjCustomerSignStatus:
  12864. properties:
  12865. createtime:
  12866. description: 创建时间
  12867. type: string
  12868. goodscode:
  12869. description: 商品代码
  12870. type: string
  12871. goodsid:
  12872. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12873. type: integer
  12874. goodsname:
  12875. description: 商品名称
  12876. type: string
  12877. nodetype:
  12878. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  12879. type: integer
  12880. signtimestamp:
  12881. description: 签约状态时间戳
  12882. type: string
  12883. tradedate:
  12884. description: 创建交易日(yyyyMMdd)
  12885. type: string
  12886. updatetime:
  12887. description: 更新时间
  12888. type: string
  12889. userid:
  12890. description: 客户ID
  12891. type: integer
  12892. username:
  12893. description: 客户名称
  12894. type: string
  12895. type: object
  12896. models.QhjMgrAccountOutInApply:
  12897. properties:
  12898. accountcode:
  12899. description: 资金账号
  12900. type: string
  12901. accountname:
  12902. description: 用户名称(名称)
  12903. type: string
  12904. accountpwd:
  12905. description: 资金密码
  12906. type: string
  12907. accountticket:
  12908. description: 最新账户服务流水号
  12909. type: string
  12910. amount:
  12911. description: 金额
  12912. type: number
  12913. applyremark:
  12914. description: 申请备注
  12915. type: string
  12916. applystatus:
  12917. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12918. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12919. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12920. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12921. type: integer
  12922. auditid:
  12923. description: 审核人
  12924. type: integer
  12925. audittime:
  12926. description: 审核时间
  12927. type: string
  12928. bank_apply_ticket:
  12929. description: 银行申请流水
  12930. type: string
  12931. bankaccountname:
  12932. description: 银行账户名
  12933. type: string
  12934. bankaccountno:
  12935. description: 银行卡号
  12936. type: string
  12937. bankid:
  12938. description: 银行编号
  12939. type: string
  12940. bankname:
  12941. description: 银行名称
  12942. type: string
  12943. bankticket:
  12944. description: 银行流水
  12945. type: string
  12946. branchbankid:
  12947. description: 银行支行号
  12948. type: string
  12949. branchbankname:
  12950. description: 银行支行名称
  12951. type: string
  12952. capamountout:
  12953. description: 出金(劣后本金) - 外部子账户
  12954. type: number
  12955. certificatephotourl:
  12956. description: 凭证地址
  12957. type: string
  12958. charge:
  12959. description: 手续费
  12960. type: number
  12961. checkerrorflag:
  12962. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12963. type: integer
  12964. currency:
  12965. description: 币种
  12966. type: string
  12967. cusbankid:
  12968. description: 托管银行编号
  12969. type: string
  12970. exchticket:
  12971. description: 银行服务流水号
  12972. type: string
  12973. executetype:
  12974. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12975. 7:外部子账户:入金 8:外部子账户:出金'
  12976. type: integer
  12977. extendinfo:
  12978. description: 扩展信息
  12979. type: string
  12980. extoperateid:
  12981. description: 交易服务流水号
  12982. type: integer
  12983. infamount:
  12984. description: 劣后金额(自有)
  12985. type: number
  12986. logincode:
  12987. description: 登录账号(账号)
  12988. type: string
  12989. netaddr:
  12990. description: 调转网址
  12991. type: string
  12992. priamount:
  12993. description: 优先金额(授信)
  12994. type: number
  12995. reauditid:
  12996. description: 复审人
  12997. type: integer
  12998. reauditremark:
  12999. description: 复审备注
  13000. type: string
  13001. reaudittime:
  13002. description: 复审时间
  13003. type: string
  13004. relatedorderid:
  13005. description: 三方关联ID
  13006. type: string
  13007. remark:
  13008. description: 备注
  13009. type: string
  13010. remark2:
  13011. description: 备注(失败原因)
  13012. type: string
  13013. soucreamount:
  13014. description: 原始出入金金额
  13015. type: number
  13016. soucrecurrencyid:
  13017. description: 原始出入金币种
  13018. type: integer
  13019. tradedate:
  13020. description: 交易日(yyyyMMdd)
  13021. type: string
  13022. updatetime:
  13023. description: 更新时间(申请时间)
  13024. type: string
  13025. userid:
  13026. description: 用户id
  13027. type: integer
  13028. userinfotype:
  13029. description: 账户类型 1-个人 2-企业
  13030. type: integer
  13031. type: object
  13032. models.QhjMgrBrokerApply:
  13033. properties:
  13034. applicantid:
  13035. description: 申请人
  13036. type: integer
  13037. applysrc:
  13038. description: 申请来源 - 1:管理端 2:终端
  13039. type: integer
  13040. applystatus:
  13041. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13042. type: integer
  13043. applytime:
  13044. description: 申请时间
  13045. type: string
  13046. auditorid:
  13047. description: 审核人
  13048. type: integer
  13049. auditremark:
  13050. description: 审核备注
  13051. type: string
  13052. auditsrc:
  13053. description: 审核来源 - 1:管理端 2:终端
  13054. type: integer
  13055. audittime:
  13056. description: 审核时间
  13057. type: string
  13058. audittradedate:
  13059. description: 审核交易日(yyyyMMdd)
  13060. type: string
  13061. brokerapplyid:
  13062. description: 申请ID(SEQ_BROKERAPPLY)
  13063. type: integer
  13064. cardbackphotourl:
  13065. description: 证件背面图片地址
  13066. type: string
  13067. cardfrontphotourl:
  13068. description: 证件正面图片地址
  13069. type: string
  13070. cardnum:
  13071. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13072. type: string
  13073. customername:
  13074. description: 姓名
  13075. type: string
  13076. filterstatus:
  13077. description: 筛选条件
  13078. type: string
  13079. logincode:
  13080. description: 登录代码
  13081. type: string
  13082. mobile:
  13083. description: 手机号码
  13084. type: string
  13085. parentuserid:
  13086. description: 所属机构id
  13087. type: integer
  13088. parentusername:
  13089. description: 所属机构名称
  13090. type: string
  13091. refereeuserid:
  13092. description: 推荐人id(经纪人)
  13093. type: integer
  13094. refernum:
  13095. description: 推荐码
  13096. type: string
  13097. remark:
  13098. description: 备注
  13099. type: string
  13100. subarealevelpath:
  13101. description: 层级路径
  13102. type: string
  13103. tradedate:
  13104. description: 交易日(yyyyMMdd)
  13105. type: string
  13106. userid:
  13107. description: 申请人用户ID
  13108. type: integer
  13109. userinfotype:
  13110. description: 用户类型 1-个人 2-企业
  13111. type: integer
  13112. username:
  13113. description: 用户名称
  13114. type: string
  13115. type: object
  13116. models.QhjMgrBrokerRewardReport:
  13117. properties:
  13118. createtime:
  13119. description: 创建时间(注册时间)
  13120. type: string
  13121. cycletime:
  13122. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13123. type: string
  13124. cycletype:
  13125. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13126. type: integer
  13127. directtotalnum:
  13128. description: 直推总人数【期末】
  13129. type: integer
  13130. indirecttotalnum:
  13131. description: 间推总人数【期末】
  13132. type: integer
  13133. mobile:
  13134. description: 电话号码
  13135. type: string
  13136. refereeuserid:
  13137. description: 推荐人id(经纪人id)
  13138. type: integer
  13139. refereeusername:
  13140. description: 推荐人名称(经纪人) 上级经纪人名称
  13141. type: string
  13142. refernum:
  13143. description: 推荐码
  13144. type: string
  13145. subarealevelpath:
  13146. description: 用户层级路径
  13147. type: string
  13148. todayrewardamount:
  13149. description: 奖励总金额【汇总】
  13150. type: number
  13151. updatetime:
  13152. description: 更新时间
  13153. type: string
  13154. userid:
  13155. description: 经纪人用户ID
  13156. type: integer
  13157. userinfotype:
  13158. description: 用户类型 1-个人 2-企业
  13159. type: integer
  13160. username:
  13161. description: 用户名称
  13162. type: string
  13163. type: object
  13164. models.QhjMgrContract:
  13165. properties:
  13166. contractconfirmtime:
  13167. description: 合同确认时间(时间)
  13168. type: string
  13169. currisklevel:
  13170. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13171. type: integer
  13172. decimalplace:
  13173. description: 商品报价小数位
  13174. type: integer
  13175. enumdicname:
  13176. description: 单位名称
  13177. type: string
  13178. goodscode:
  13179. description: 商品代码
  13180. type: string
  13181. goodsid:
  13182. description: 商品ID [5:融资单]
  13183. type: integer
  13184. goodsname:
  13185. description: 商品名称
  13186. type: string
  13187. goodunitid:
  13188. description: 商品单位id
  13189. type: integer
  13190. initmargin:
  13191. description: 初始保证金(首付款)
  13192. type: number
  13193. lenderamount:
  13194. description: 贷款金额(总额|订单总额)
  13195. type: number
  13196. logincode:
  13197. description: 账号(登录代码)
  13198. type: string
  13199. marginratio:
  13200. description: 保证金比率(首付比例)
  13201. type: number
  13202. mobile:
  13203. description: 电话号码(用户资料里的电话)
  13204. type: string
  13205. payamount:
  13206. description: 已付(已付货款)
  13207. type: number
  13208. reckonrecovermargin:
  13209. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13210. type: number
  13211. recoveredmargin:
  13212. description: 已追缴保证金
  13213. type: number
  13214. remainamount:
  13215. description: 合同剩余金额(融资额)
  13216. type: number
  13217. scfcontractid:
  13218. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13219. type: string
  13220. scfcontractstatus:
  13221. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13222. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13223. type: integer
  13224. scfcontracttype:
  13225. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13226. type: integer
  13227. totalinterest:
  13228. description: 已计总利息(利息)
  13229. type: number
  13230. tradedate:
  13231. description: 交易日
  13232. type: string
  13233. tradeprice:
  13234. description: 成交价格(成本价格)
  13235. type: number
  13236. userid:
  13237. description: 用户ID
  13238. type: integer
  13239. userinfotype:
  13240. description: 用户类型 1-个人 2-企业
  13241. type: integer
  13242. username:
  13243. description: 用户名称
  13244. type: string
  13245. wrqty:
  13246. description: 仓单数量(数量)
  13247. type: number
  13248. type: object
  13249. models.QhjMgrCustomer:
  13250. properties:
  13251. address:
  13252. description: 通讯地址
  13253. type: string
  13254. attachment1:
  13255. description: 附件1
  13256. type: string
  13257. audittime:
  13258. description: 审核时间
  13259. type: string
  13260. birthday:
  13261. description: 生日
  13262. type: string
  13263. brokerid:
  13264. description: 所属客户经理id
  13265. type: integer
  13266. brokername:
  13267. description: 所属客户经理名称
  13268. type: string
  13269. cardbackphotourl:
  13270. description: 证件反面图片地址
  13271. type: string
  13272. cardfrontphotourl:
  13273. description: 证件正面图片地址
  13274. type: string
  13275. cardnum:
  13276. description: 证件号码
  13277. type: string
  13278. cardtype:
  13279. description: 证件类型
  13280. type: integer
  13281. cardtypename:
  13282. description: 证件类型名称
  13283. type: string
  13284. cityid:
  13285. description: 市
  13286. type: integer
  13287. cityname:
  13288. description: 城市名称
  13289. type: string
  13290. contactname:
  13291. description: 联系人
  13292. type: string
  13293. countryid:
  13294. description: 国家
  13295. type: integer
  13296. countryname:
  13297. description: 国家名称
  13298. type: string
  13299. createtime:
  13300. description: 创建时间
  13301. type: string
  13302. customername:
  13303. description: 客户名称
  13304. type: string
  13305. districtid:
  13306. description: 区域
  13307. type: integer
  13308. districtname:
  13309. description: 地区名称
  13310. type: string
  13311. email:
  13312. description: 邮件
  13313. type: string
  13314. legalpersonname:
  13315. description: 法人姓名(企业)
  13316. type: string
  13317. logincode:
  13318. description: 登录账号(代码)
  13319. type: string
  13320. memberuserid:
  13321. description: 所属机构ID(所属会员)
  13322. type: integer
  13323. memberusername:
  13324. description: 所属会员名称
  13325. type: string
  13326. mobile:
  13327. description: 手机号码
  13328. type: string
  13329. modifytime:
  13330. description: 修改时间
  13331. type: string
  13332. nickname:
  13333. description: 昵称
  13334. type: string
  13335. parentuserid:
  13336. description: 上级机构(所属机构)
  13337. type: integer
  13338. parentusername:
  13339. description: 所属机构名称
  13340. type: string
  13341. provinceid:
  13342. description: 省
  13343. type: integer
  13344. provincename:
  13345. description: 省名称
  13346. type: string
  13347. proxystatementurl:
  13348. description: 授权委托书
  13349. type: string
  13350. querytype:
  13351. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13352. type: integer
  13353. remark:
  13354. description: 备注
  13355. type: string
  13356. sex:
  13357. description: 性别 0-女 1-男
  13358. type: integer
  13359. status:
  13360. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13361. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13362. type: integer
  13363. statusdesc:
  13364. description: 账户状态中文描述
  13365. type: string
  13366. taxpayernum:
  13367. description: 纳税人识别号
  13368. type: string
  13369. telphone:
  13370. description: 联系电话
  13371. type: string
  13372. userid:
  13373. description: 用户ID
  13374. type: integer
  13375. userinfotype:
  13376. description: 客户类型 1-个人 2-企业
  13377. type: integer
  13378. username:
  13379. description: 用户名称
  13380. type: string
  13381. type: object
  13382. models.QhjMgrPickGoods:
  13383. properties:
  13384. enumdicname:
  13385. description: 单位名称(提货商品)
  13386. type: string
  13387. goodsid:
  13388. description: 商品id
  13389. type: integer
  13390. imageaddress:
  13391. description: 图片
  13392. type: string
  13393. modifierid:
  13394. description: 修改人
  13395. type: integer
  13396. modifiername:
  13397. description: 修改人名称
  13398. type: string
  13399. modifysrc:
  13400. description: 修改来源 - 1:管理端 2:终端
  13401. type: integer
  13402. pickupgoodsagreeunit:
  13403. description: 合约乘数
  13404. type: number
  13405. pickupgoodsdesc:
  13406. description: 描述
  13407. type: string
  13408. pickupgoodsid:
  13409. description: 提货商品ID
  13410. type: string
  13411. pickupgoodsname:
  13412. description: 提货商品名称
  13413. type: string
  13414. pickupgoodsstatus:
  13415. description: 状态 - 1:正常 2:停用 3:注销
  13416. type: integer
  13417. pickupgoodsunitid:
  13418. description: 单位ID
  13419. type: integer
  13420. pickupratio:
  13421. description: 提货系数
  13422. type: number
  13423. preparedays:
  13424. description: 备货期(天)
  13425. type: integer
  13426. remark:
  13427. description: 备注
  13428. type: string
  13429. updatetime:
  13430. description: 更新时间
  13431. type: string
  13432. type: object
  13433. models.QhjMgrPositionRsp:
  13434. properties:
  13435. accountid:
  13436. description: 账号Id
  13437. type: integer
  13438. accountname:
  13439. description: 用户名称
  13440. type: string
  13441. agreeunit:
  13442. description: 合约乘数
  13443. type: number
  13444. averageprice:
  13445. description: 均价
  13446. type: number
  13447. avialqty:
  13448. description: 可用数量
  13449. type: number
  13450. decimalplace:
  13451. description: 报价小数位
  13452. type: integer
  13453. enumdicname:
  13454. description: 单位名称(商品)
  13455. type: string
  13456. frozenqty:
  13457. description: 冻结数量
  13458. type: number
  13459. goodscode:
  13460. description: 商品代码(内部)
  13461. type: string
  13462. goodsid:
  13463. description: 商品Id
  13464. type: integer
  13465. goodsname:
  13466. description: 商品名称
  13467. type: string
  13468. goodunitid:
  13469. description: 报价单位ID
  13470. type: integer
  13471. holderamount:
  13472. description: 金额
  13473. type: number
  13474. holderqty:
  13475. description: 持有数量
  13476. type: number
  13477. holdertype:
  13478. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13479. type: integer
  13480. logincode:
  13481. description: 登录代码(账户)
  13482. type: string
  13483. marketid:
  13484. description: 市场id
  13485. type: integer
  13486. qtydecimalplace:
  13487. description: 成交量小数位
  13488. type: integer
  13489. trademode:
  13490. description: 交易模式
  13491. type: integer
  13492. userid:
  13493. description: 用户id
  13494. type: integer
  13495. userinfotype:
  13496. description: 账户类型 1-个人 2-企业
  13497. type: integer
  13498. type: object
  13499. models.QhjMgrSubArea:
  13500. properties:
  13501. accountname:
  13502. description: 账户名称(机构名称)
  13503. type: string
  13504. memberuserid:
  13505. description: 所属会员ID
  13506. type: integer
  13507. parenttopuser:
  13508. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13509. type: string
  13510. parentuserid:
  13511. description: 所属机构ID
  13512. type: integer
  13513. rootuserid:
  13514. description: 根用户ID
  13515. type: string
  13516. subaccountlevel:
  13517. description: 子账户层数
  13518. type: integer
  13519. subarealevelpath:
  13520. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13521. type: string
  13522. userid:
  13523. description: 用户ID
  13524. type: integer
  13525. usertype:
  13526. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13527. type: integer
  13528. type: object
  13529. models.QhjMgrTradeDetailRsp:
  13530. properties:
  13531. accountid:
  13532. description: 资金账号
  13533. type: integer
  13534. accountname:
  13535. description: 用户名称
  13536. type: string
  13537. agreeunit:
  13538. description: 合约乘数
  13539. type: number
  13540. buyorsell:
  13541. description: 成交类型(方向) 0:买 1:卖
  13542. type: integer
  13543. decimalplace:
  13544. description: 报价小数位
  13545. type: integer
  13546. enumdicname:
  13547. description: 单位名称(商品)
  13548. type: string
  13549. goodscode:
  13550. description: 商品代码(内部)
  13551. type: string
  13552. goodsid:
  13553. description: 商品id
  13554. type: integer
  13555. goodsname:
  13556. description: 商品名称
  13557. type: string
  13558. goodunitid:
  13559. description: 报价单位ID
  13560. type: integer
  13561. logincode:
  13562. description: 登录代码(账户)
  13563. type: string
  13564. marketid:
  13565. description: 市场id
  13566. type: integer
  13567. orderid:
  13568. description: 关联委托单号
  13569. type: string
  13570. qtydecimalplace:
  13571. description: 成交量小数位
  13572. type: integer
  13573. tradeamount:
  13574. description: 金额
  13575. type: number
  13576. tradedate:
  13577. description: 交易日
  13578. type: string
  13579. tradeid:
  13580. description: 成交单号
  13581. type: string
  13582. trademode:
  13583. description: 交易模式
  13584. type: integer
  13585. tradeprice:
  13586. description: 价格
  13587. type: number
  13588. tradeqty:
  13589. description: 数量
  13590. type: number
  13591. tradetime:
  13592. description: 成交时间
  13593. type: string
  13594. userid:
  13595. description: 用户id
  13596. type: integer
  13597. userinfotype:
  13598. description: 账户类型 1-个人 2-企业
  13599. type: integer
  13600. type: object
  13601. models.QhjMgrTradeOrderDetailRsp:
  13602. properties:
  13603. accountid:
  13604. description: 资金账号
  13605. type: integer
  13606. accountname:
  13607. description: 用户名称
  13608. type: string
  13609. agreeunit:
  13610. description: 合约乘数
  13611. type: number
  13612. amount:
  13613. description: 金额
  13614. type: number
  13615. decimalplace:
  13616. description: 报价小数位
  13617. type: integer
  13618. enumdicname:
  13619. description: 单位名称(商品)
  13620. type: string
  13621. goodscode:
  13622. description: 商品代码(内部)
  13623. type: string
  13624. goodsid:
  13625. description: 商品id
  13626. type: integer
  13627. goodsname:
  13628. description: 商品名称
  13629. type: string
  13630. goodunitid:
  13631. description: 报价单位ID
  13632. type: integer
  13633. logincode:
  13634. description: 登录代码(账户)
  13635. type: string
  13636. marketid:
  13637. description: 市场id
  13638. type: integer
  13639. orderid:
  13640. description: 关联委托单号
  13641. type: string
  13642. orderprice:
  13643. description: 价格
  13644. type: number
  13645. orderqty:
  13646. description: 数量
  13647. type: number
  13648. orderstatus:
  13649. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13650. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13651. 16:成交失败违约(荷兰式竞拍专用)
  13652. type: integer
  13653. ordertime:
  13654. description: 委托时间
  13655. type: string
  13656. qtydecimalplace:
  13657. description: 成交量小数位
  13658. type: integer
  13659. tradedate:
  13660. description: 交易日
  13661. type: string
  13662. trademode:
  13663. description: 交易模式
  13664. type: integer
  13665. userid:
  13666. description: 用户id
  13667. type: integer
  13668. userinfotype:
  13669. description: 账户类型 1-个人 2-企业
  13670. type: integer
  13671. type: object
  13672. models.QhjMgrTradePayOrder:
  13673. properties:
  13674. accountname:
  13675. description: 用户名称
  13676. type: string
  13677. advanceratio:
  13678. description: 首付比率
  13679. type: number
  13680. agreeunit:
  13681. description: 合约乘数
  13682. type: number
  13683. buyaccountid:
  13684. description: 买方账号ID[报价币种]
  13685. type: integer
  13686. buyorderid:
  13687. description: 买方委托单号(关联单号)
  13688. type: string
  13689. createtime:
  13690. description: 创建时间
  13691. type: string
  13692. decimalplace:
  13693. description: 报价小数位
  13694. type: integer
  13695. enumdicname:
  13696. description: 单位名称(商品)
  13697. type: string
  13698. goodscode:
  13699. description: 商品代码(内部)
  13700. type: string
  13701. goodsid:
  13702. description: 商品ID
  13703. type: integer
  13704. goodsname:
  13705. description: 商品名称
  13706. type: string
  13707. goodunitid:
  13708. description: 报价单位ID
  13709. type: integer
  13710. logincode:
  13711. description: 登录代码(账户)
  13712. type: string
  13713. marketid:
  13714. description: 市场id
  13715. type: integer
  13716. offamount:
  13717. description: 优惠金额
  13718. type: number
  13719. operatetype:
  13720. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13721. type: integer
  13722. payamount:
  13723. description: 支付金额(金额)
  13724. type: number
  13725. payflag:
  13726. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13727. type: integer
  13728. paylimitedtime:
  13729. description: 支付期限
  13730. type: string
  13731. paytime:
  13732. description: 付款时间
  13733. type: string
  13734. qtydecimalplace:
  13735. description: 成交量小数位
  13736. type: integer
  13737. sellaccountid:
  13738. description: 卖方账号ID[报价币种]
  13739. type: integer
  13740. sellorderid:
  13741. description: 卖方委托单号
  13742. type: string
  13743. tradeamount:
  13744. description: 成交金额(优惠后金额)
  13745. type: number
  13746. tradecharge:
  13747. description: 成交手续费(买方)
  13748. type: number
  13749. tradedate:
  13750. description: 交易日(yyyyMMdd)
  13751. type: string
  13752. tradeid:
  13753. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13754. type: string
  13755. trademode:
  13756. description: 交易模式
  13757. type: integer
  13758. tradeprice:
  13759. description: 成交价格(价格)
  13760. type: number
  13761. tradeqty:
  13762. description: 成交数量(数量)
  13763. type: number
  13764. tradetime:
  13765. description: 成交时间
  13766. type: string
  13767. userid:
  13768. description: 用户id
  13769. type: integer
  13770. userinfotype:
  13771. description: 账户类型 1-个人 2-企业
  13772. type: integer
  13773. type: object
  13774. models.QhjMyTeamEx:
  13775. properties:
  13776. accountname:
  13777. description: 用户名称
  13778. type: string
  13779. accountstatus:
  13780. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13781. type: integer
  13782. createtime:
  13783. description: 创建时间
  13784. type: string
  13785. mobile:
  13786. description: 手机号码
  13787. type: string
  13788. refereeuserid:
  13789. description: 推荐人id
  13790. type: integer
  13791. refernum:
  13792. description: 推荐码
  13793. type: string
  13794. subList:
  13795. items:
  13796. $ref: '#/definitions/models.QhjMyTeamEx'
  13797. type: array
  13798. userid:
  13799. description: 用户id
  13800. type: integer
  13801. userinfotype:
  13802. description: 用户类型 1-个人 2-企业
  13803. type: integer
  13804. type: object
  13805. models.QhjNodeAgreementConfig:
  13806. properties:
  13807. agreementcontent:
  13808. description: 协议内容
  13809. type: string
  13810. agreementid:
  13811. description: 协议ID
  13812. type: integer
  13813. agreementname:
  13814. description: 协议名称
  13815. type: string
  13816. agreementno:
  13817. description: 协议编号
  13818. type: string
  13819. agreementtype:
  13820. description: 协议类型 - 1:注册 2:登录 3:交易
  13821. type: integer
  13822. agreementversion:
  13823. description: 协议版本号
  13824. type: integer
  13825. configid:
  13826. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13827. type: integer
  13828. createtime:
  13829. description: 创建时间
  13830. type: string
  13831. goodsid:
  13832. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13833. type: integer
  13834. nodetype:
  13835. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13836. type: integer
  13837. type: object
  13838. models.QhjParentAreaList:
  13839. properties:
  13840. accountname:
  13841. description: 账户名称(机构名称)
  13842. type: string
  13843. userid:
  13844. description: 用户ID
  13845. type: integer
  13846. usertype:
  13847. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13848. type: integer
  13849. type: object
  13850. models.QhjPayOrder:
  13851. properties:
  13852. advanceratio:
  13853. description: 首付比率
  13854. type: number
  13855. buyaccountid:
  13856. description: 买方账号ID[报价币种]
  13857. type: integer
  13858. buyorderid:
  13859. description: 买方委托单号
  13860. type: string
  13861. createtime:
  13862. description: 创建时间
  13863. type: string
  13864. decimalplace:
  13865. description: 商品报价小数位
  13866. type: integer
  13867. enumdicname:
  13868. description: 单位名称
  13869. type: string
  13870. goodscode:
  13871. description: 商品代码
  13872. type: string
  13873. goodsid:
  13874. description: 商品ID
  13875. type: integer
  13876. goodsname:
  13877. description: 商品名称
  13878. type: string
  13879. goodunitid:
  13880. description: 商品单位id
  13881. type: integer
  13882. marketid:
  13883. description: 市场ID
  13884. type: integer
  13885. offamount:
  13886. description: 优惠金额
  13887. type: number
  13888. operatetype:
  13889. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13890. type: integer
  13891. payamount:
  13892. description: 支付金额
  13893. type: number
  13894. payflag:
  13895. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13896. type: integer
  13897. paylimitedtime:
  13898. description: 支付期限
  13899. type: string
  13900. paytime:
  13901. description: 付款时间
  13902. type: string
  13903. qtydecimalplace:
  13904. description: 成交量小数位
  13905. type: integer
  13906. sellaccountid:
  13907. description: 卖方账号ID[报价币种]
  13908. type: integer
  13909. sellorderid:
  13910. description: 卖方委托单号
  13911. type: string
  13912. tradeamount:
  13913. description: 成交金额(优惠后金额)
  13914. type: number
  13915. tradecharge:
  13916. description: 成交手续费(买方)
  13917. type: number
  13918. tradedate:
  13919. description: 交易日(yyyyMMdd)
  13920. type: string
  13921. tradeid:
  13922. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13923. type: string
  13924. tradeprice:
  13925. description: 成交价格
  13926. type: number
  13927. tradeqty:
  13928. description: 成交数量
  13929. type: number
  13930. type: object
  13931. models.QhjPickArea:
  13932. properties:
  13933. address:
  13934. description: 详细地址
  13935. type: string
  13936. cityid:
  13937. description: 市
  13938. type: integer
  13939. cityname:
  13940. description: 城市名称
  13941. type: string
  13942. countryid:
  13943. description: 国家
  13944. type: integer
  13945. countryname:
  13946. description: 国家名称
  13947. type: string
  13948. districtid:
  13949. description: 地区
  13950. type: integer
  13951. districtname:
  13952. description: 地区名称
  13953. type: string
  13954. fromuserid:
  13955. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  13956. type: integer
  13957. fromusername:
  13958. description: 所属机构名称
  13959. type: string
  13960. provinceid:
  13961. description: 省
  13962. type: integer
  13963. provincename:
  13964. description: 省名称
  13965. type: string
  13966. suborgtype:
  13967. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  13968. type: integer
  13969. userid:
  13970. description: 机构用户ID 其他做市关系,都设置为 1
  13971. type: integer
  13972. username:
  13973. description: 机构用户名称(门店门称)
  13974. type: string
  13975. type: object
  13976. models.QhjPickGoods:
  13977. properties:
  13978. enumdicname:
  13979. description: 单位名称(提货商品)
  13980. type: string
  13981. goodsid:
  13982. description: 商品id
  13983. type: integer
  13984. imageaddress:
  13985. description: 图片
  13986. type: string
  13987. modifierid:
  13988. description: 修改人
  13989. type: integer
  13990. modifiername:
  13991. description: 修改人名称
  13992. type: string
  13993. modifysrc:
  13994. description: 修改来源 - 1:管理端 2:终端
  13995. type: integer
  13996. pickupgoodsagreeunit:
  13997. description: 合约乘数
  13998. type: number
  13999. pickupgoodsdesc:
  14000. description: 描述
  14001. type: string
  14002. pickupgoodsid:
  14003. description: 提货商品ID
  14004. type: string
  14005. pickupgoodsname:
  14006. description: 提货商品名称
  14007. type: string
  14008. pickupgoodsstatus:
  14009. description: 状态 - 1:正常 2:停用 3:注销
  14010. type: integer
  14011. pickupgoodsunitid:
  14012. description: 单位ID
  14013. type: integer
  14014. pickupratio:
  14015. description: 提货系数
  14016. type: number
  14017. preparedays:
  14018. description: 备货期(天)
  14019. type: integer
  14020. remark:
  14021. description: 备注
  14022. type: string
  14023. updatetime:
  14024. description: 更新时间
  14025. type: string
  14026. type: object
  14027. models.QhjRSTriggerLog:
  14028. properties:
  14029. accountid:
  14030. description: 用户资金账户
  14031. type: integer
  14032. accountname:
  14033. description: 账号名称(ACCOUNTID对应的名称)
  14034. type: string
  14035. currencyid:
  14036. description: 币种id
  14037. type: integer
  14038. currencyname:
  14039. description: 币种名称
  14040. type: string
  14041. decimalplace:
  14042. description: 商品报价小数位
  14043. type: integer
  14044. enumdicname:
  14045. description: 单位名称
  14046. type: string
  14047. goodscode:
  14048. description: 定投商品代码
  14049. type: string
  14050. goodsid:
  14051. description: 定投商品ID
  14052. type: integer
  14053. goodsname:
  14054. description: 定投商品名称
  14055. type: string
  14056. goodunitid:
  14057. description: 定投商品单位id
  14058. type: integer
  14059. logid:
  14060. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14061. type: string
  14062. logincode:
  14063. description: 账号(登录代码)
  14064. type: string
  14065. qtydecimalplace:
  14066. description: 成交量小数位
  14067. type: integer
  14068. regularlycycle:
  14069. description: 定投频率 - 1:每周 2:每月
  14070. type: integer
  14071. regularlycyclevalue:
  14072. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14073. type: string
  14074. regularlymode:
  14075. description: 定投方式 - 1:按数量 2:按金额
  14076. type: integer
  14077. regularlymodevalue:
  14078. description: 定投方式值 - 数量或金额
  14079. type: number
  14080. regularlystrategyid:
  14081. description: 定投策略ID
  14082. type: integer
  14083. retcode:
  14084. description: 错误码
  14085. type: string
  14086. tradeid:
  14087. description: 成交单ID
  14088. type: string
  14089. triggeramount:
  14090. description: 触发金额
  14091. type: number
  14092. triggerqty:
  14093. description: 触发数量
  14094. type: number
  14095. triggerstatus:
  14096. description: 触发状态 - 1:成功 2:失败
  14097. type: integer
  14098. triggertime:
  14099. description: 触发时间
  14100. type: string
  14101. triggertradedate:
  14102. description: 触发交易日
  14103. type: string
  14104. userid:
  14105. description: 所属用户ID
  14106. type: integer
  14107. userinfotype:
  14108. description: 用户类型 1-个人 2-企业
  14109. type: integer
  14110. username:
  14111. description: 用户名称(userid对应的名称)
  14112. type: string
  14113. type: object
  14114. models.QhjRStrategy:
  14115. properties:
  14116. accountid:
  14117. description: 用户资金账户
  14118. type: integer
  14119. accountname:
  14120. description: 账号名称(ACCOUNTID对应的名称)
  14121. type: string
  14122. currencyid:
  14123. description: 币种id
  14124. type: integer
  14125. currencyname:
  14126. description: 币种名称
  14127. type: string
  14128. decimalplace:
  14129. description: 商品报价小数位
  14130. type: integer
  14131. enumdicname:
  14132. description: 单位名称
  14133. type: string
  14134. goodscode:
  14135. description: 定投商品代码
  14136. type: string
  14137. goodsid:
  14138. description: 定投商品ID
  14139. type: integer
  14140. goodsname:
  14141. description: 定投商品名称
  14142. type: string
  14143. goodunitid:
  14144. description: 定投商品单位id
  14145. type: integer
  14146. lasteffecttradedate:
  14147. description: 最新生效交易日
  14148. type: string
  14149. laststoptradedate:
  14150. description: 最新暂停交易日
  14151. type: string
  14152. lasttriggertradedate:
  14153. description: 最新触发交易日
  14154. type: string
  14155. logincode:
  14156. description: 账号(登录代码)
  14157. type: string
  14158. nexttriggeramount:
  14159. description: 下次触发金额
  14160. type: number
  14161. nexttriggerdate:
  14162. description: 下次触发日期
  14163. type: string
  14164. nexttriggerqty:
  14165. description: 下次触发数量 [按小数位放大值]
  14166. type: number
  14167. qtydecimalplace:
  14168. description: 成交量小数位
  14169. type: integer
  14170. regularlycycle:
  14171. description: 定投频率 - 1:每周 2:每月
  14172. type: integer
  14173. regularlycyclevalue:
  14174. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14175. type: string
  14176. regularlymode:
  14177. description: 定投方式 - 1:按数量 2:按金额
  14178. type: integer
  14179. regularlymodevalue:
  14180. description: 定投方式值 - 数量或金额
  14181. type: number
  14182. regularlystrategyid:
  14183. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14184. type: integer
  14185. regularlystrategystatus:
  14186. description: 策略状态 - 1:正常 2:暂停 3:终止
  14187. type: integer
  14188. remark:
  14189. description: 备注
  14190. type: string
  14191. triggersuccesstimes:
  14192. description: 累计定投成功次数
  14193. type: string
  14194. triggertotalamount:
  14195. description: 累计定投金额(成功)
  14196. type: number
  14197. triggertotalqty:
  14198. description: 累计定投数量(成功) [按小数位放大值]
  14199. type: number
  14200. triggertotaltimes:
  14201. description: 累计定投总次数
  14202. type: string
  14203. updatesrc:
  14204. description: 更新来源 - 1:管理端 2:终端
  14205. type: integer
  14206. updatetime:
  14207. description: 更新时间
  14208. type: string
  14209. updatorid:
  14210. description: 更新人
  14211. type: string
  14212. userid:
  14213. description: 所属用户ID
  14214. type: integer
  14215. userinfotype:
  14216. description: 用户类型 1-个人 2-企业
  14217. type: integer
  14218. username:
  14219. description: 用户名称(userid对应的名称)
  14220. type: string
  14221. type: object
  14222. models.QhjReckonPriceLog:
  14223. properties:
  14224. decimalplace:
  14225. description: 商品报价小数位
  14226. type: integer
  14227. goodscode:
  14228. description: 商品代码
  14229. type: string
  14230. goodsid:
  14231. description: 商品ID
  14232. type: integer
  14233. goodsname:
  14234. description: 商品名称
  14235. type: string
  14236. lastreckonprice:
  14237. description: 上日结算价
  14238. type: number
  14239. nextdnlimitprice:
  14240. description: 下个交易日跌停价
  14241. type: number
  14242. nexttrade:
  14243. description: 下个交易日
  14244. type: string
  14245. nextuplimitprice:
  14246. description: 下个交易日涨停价
  14247. type: number
  14248. reckonprice:
  14249. description: 今日结算价(定投价)
  14250. type: number
  14251. reckontime:
  14252. description: 结算时间
  14253. type: string
  14254. totalholderqty:
  14255. description: 总持仓数
  14256. type: integer
  14257. totalstock:
  14258. description: 总库存
  14259. type: integer
  14260. tradedate:
  14261. description: 交易日
  14262. type: string
  14263. updowncount:
  14264. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14265. type: integer
  14266. updownflag:
  14267. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14268. type: integer
  14269. updownrate:
  14270. description: 今日涨跌幅
  14271. type: number
  14272. updownrate_2d:
  14273. description: 连续两日涨跌幅
  14274. type: number
  14275. updownrate_3d:
  14276. description: 连续三日涨跌幅
  14277. type: number
  14278. type: object
  14279. models.QhjScoreLog:
  14280. properties:
  14281. accountid:
  14282. description: 账户ID
  14283. type: integer
  14284. createtime:
  14285. description: 创建时间(时间)
  14286. type: string
  14287. goodsid:
  14288. description: 商品ID
  14289. type: integer
  14290. hasuploaded:
  14291. description: 是否已同步(千海金) 0:未同步 1;已同步
  14292. type: integer
  14293. logid:
  14294. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14295. type: string
  14296. marketid:
  14297. description: 市场ID
  14298. type: integer
  14299. relatedamount:
  14300. description: 关联金额
  14301. type: number
  14302. relatedorderid:
  14303. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14304. type: string
  14305. scoreconfigvalue1:
  14306. description: 积分配置1
  14307. type: integer
  14308. scoreconfigvalue2:
  14309. description: 积分配置1
  14310. type: integer
  14311. scoretype:
  14312. description: 积分类型 - 1:提货积分
  14313. type: integer
  14314. scorevalue:
  14315. description: 积分
  14316. type: number
  14317. tradedate:
  14318. description: 交易日(yyyyMMdd)
  14319. type: string
  14320. uploadedtime:
  14321. description: 同步时间
  14322. type: string
  14323. userid:
  14324. description: 用户ID
  14325. type: integer
  14326. type: object
  14327. models.QhjSiteColumnDetail:
  14328. properties:
  14329. author:
  14330. description: 作者
  14331. type: string
  14332. brief:
  14333. description: 简介
  14334. type: string
  14335. columnid:
  14336. description: 所属栏目
  14337. type: integer
  14338. context:
  14339. description: 内容
  14340. type: string
  14341. coverimage:
  14342. description: 封面图片
  14343. type: string
  14344. creaedate:
  14345. description: 创建时间
  14346. type: string
  14347. creatorid:
  14348. description: 创建人
  14349. type: integer
  14350. hits:
  14351. description: 点击数
  14352. type: integer
  14353. id:
  14354. description: ID(SEQ_SITE_COLUMNDETAIL)
  14355. type: integer
  14356. isshow:
  14357. description: 是否展示 - 0:不展示 1:展示
  14358. type: integer
  14359. istop:
  14360. description: 是否置顶 - 0:不置 1:置顶
  14361. type: integer
  14362. modifierid:
  14363. description: 操作人
  14364. type: integer
  14365. publishdate:
  14366. description: 发布日期
  14367. type: string
  14368. status:
  14369. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14370. type: integer
  14371. title:
  14372. description: 标题
  14373. type: string
  14374. updatedate:
  14375. description: 修改时间
  14376. type: string
  14377. userid:
  14378. description: 用户ID(默认为0, 核心为为机构用户ID)
  14379. type: integer
  14380. username:
  14381. description: 用户名称
  14382. type: string
  14383. type: object
  14384. models.QhjTeamOrder:
  14385. properties:
  14386. accountid:
  14387. description: 账户ID[报价币种]
  14388. type: integer
  14389. accountname:
  14390. description: 账户名称
  14391. type: string
  14392. agreeunit:
  14393. description: 合约乘数
  14394. type: number
  14395. buyorsell:
  14396. description: 方向 - 0:买 1:卖
  14397. type: integer
  14398. decimalplace:
  14399. description: 报价小数位
  14400. type: integer
  14401. enumdicname:
  14402. description: 单位名称
  14403. type: string
  14404. goodscode:
  14405. description: 商品代码(内部)
  14406. type: string
  14407. goodsid:
  14408. description: 商品ID
  14409. type: integer
  14410. goodsname:
  14411. description: 商品名称
  14412. type: string
  14413. goodunitid:
  14414. description: 报价单位ID
  14415. type: integer
  14416. marketid:
  14417. description: 市场ID
  14418. type: integer
  14419. marketname:
  14420. description: 市场名称
  14421. type: string
  14422. qtydecimalplace:
  14423. description: 成交量小数位
  14424. type: integer
  14425. refereeuserid:
  14426. description: 推荐人ID
  14427. type: integer
  14428. tradeamount:
  14429. description: 成交金额[账户币种,用于所有权]
  14430. type: number
  14431. tradedate:
  14432. description: 交易日(yyyyMMdd)
  14433. type: string
  14434. trademode:
  14435. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14436. 21:竞拍-大宗式 22:受托竞价
  14437. type: integer
  14438. tradeprice:
  14439. description: 成交价格
  14440. type: number
  14441. tradeqty:
  14442. description: 成交数量
  14443. type: number
  14444. tradetime:
  14445. description: 成交时间
  14446. type: string
  14447. userid:
  14448. description: 用户ID
  14449. type: integer
  14450. type: object
  14451. models.QhjTradeGoodsPickup:
  14452. properties:
  14453. accountid:
  14454. description: 账户ID
  14455. type: integer
  14456. address:
  14457. description: 提货人详细地址
  14458. type: string
  14459. amount:
  14460. description: 提货金额
  14461. type: number
  14462. artradedate:
  14463. description: 自动收货交易日(yyyyMMdd)
  14464. type: string
  14465. auditer:
  14466. description: 审核人
  14467. type: integer
  14468. auditsrc:
  14469. description: 更新来源 - 1:管理端 2:终端
  14470. type: integer
  14471. audittime:
  14472. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14473. type: string
  14474. audittradedate:
  14475. description: 审核交易日(yyyyMMdd)
  14476. type: string
  14477. cardnum:
  14478. description: 提货人证件号码
  14479. type: string
  14480. cardtypeid:
  14481. description: 提货人证件类型
  14482. type: integer
  14483. checkremark:
  14484. description: 审核备注
  14485. type: string
  14486. cityid:
  14487. description: 市
  14488. type: integer
  14489. cityname:
  14490. description: 城市名称
  14491. type: string
  14492. confirmtime:
  14493. description: 取货时间 或 收货时间
  14494. type: string
  14495. countryid:
  14496. description: 国家
  14497. type: integer
  14498. countryname:
  14499. description: 国家名称
  14500. type: string
  14501. decimalplace:
  14502. description: 商品报价小数位
  14503. type: integer
  14504. districtid:
  14505. description: 地区
  14506. type: integer
  14507. districtname:
  14508. description: 地区名称
  14509. type: string
  14510. enumdicname:
  14511. description: 单位名称(提货商品)
  14512. type: string
  14513. expresscompany:
  14514. description: 物流公司
  14515. type: string
  14516. expressnum:
  14517. description: 物流单号
  14518. type: string
  14519. goodsagreeunit:
  14520. description: 交易商品乘数
  14521. type: number
  14522. goodscode:
  14523. description: 商品代码
  14524. type: string
  14525. goodsid:
  14526. description: 商品ID
  14527. type: integer
  14528. goodsname:
  14529. description: 商品名称
  14530. type: string
  14531. goodsqty:
  14532. description: 交易商品手数(69模式按成交量小数位放大取整)
  14533. type: number
  14534. handlestatus:
  14535. description: 处理状态
  14536. type: integer
  14537. logincode:
  14538. description: 账号(登录代码, 有可能为空)
  14539. type: string
  14540. marketid:
  14541. description: 市场ID
  14542. type: integer
  14543. phonenum:
  14544. description: 提货人联系方式
  14545. type: string
  14546. pickupgoodsagreeunit:
  14547. description: 提货商品合约乘数
  14548. type: number
  14549. pickupgoodsid:
  14550. description: 提货商品ID
  14551. type: string
  14552. pickupgoodsname:
  14553. description: 提货商品名称
  14554. type: string
  14555. pickupgoodsqty:
  14556. description: 提货商品手数(数量)
  14557. type: number
  14558. pickupgoodsunitid:
  14559. description: 单位ID(提货商品)
  14560. type: integer
  14561. pickupratio:
  14562. description: 提货系数
  14563. type: number
  14564. preparedays:
  14565. description: 备货期(天)-提货单明细表
  14566. type: integer
  14567. provinceid:
  14568. description: 省
  14569. type: integer
  14570. provincename:
  14571. description: 省名称
  14572. type: string
  14573. qty:
  14574. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14575. type: number
  14576. qtydecimalplace:
  14577. description: 商品数量小数位
  14578. type: integer
  14579. recivername:
  14580. description: 提货人姓名
  14581. type: string
  14582. reqtime:
  14583. description: 提货申请时间
  14584. type: string
  14585. storeuserid:
  14586. description: 门店用户ID (千海金)
  14587. type: integer
  14588. storeusername:
  14589. description: 门店用户名称
  14590. type: string
  14591. takemode:
  14592. description: 提货方式 - 2:自提 3:配送(邮寄)
  14593. type: integer
  14594. takeorderid:
  14595. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14596. type: string
  14597. takeorderstatus:
  14598. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14599. 7:已拒绝 8:已撤销
  14600. type: integer
  14601. takeremark:
  14602. description: 提货备注
  14603. type: string
  14604. tradedate:
  14605. description: 交易日(yyyyMMdd)
  14606. type: string
  14607. updatetime:
  14608. description: 更新时间
  14609. type: string
  14610. userid:
  14611. description: 用户ID
  14612. type: integer
  14613. userinfotype:
  14614. description: 客户类型 1-个人 2-企业
  14615. type: integer
  14616. username:
  14617. description: 用户名称
  14618. type: string
  14619. type: object
  14620. models.QhjUserNodeCfgAndStatus:
  14621. properties:
  14622. agreementcontent:
  14623. description: 协议内容
  14624. type: string
  14625. agreementid:
  14626. description: 协议ID
  14627. type: integer
  14628. agreementname:
  14629. description: 协议名称
  14630. type: string
  14631. agreementno:
  14632. description: 协议编号
  14633. type: string
  14634. agreementtype:
  14635. description: 协议类型 - 1:注册 2:登录 3:交易
  14636. type: integer
  14637. agreementversion:
  14638. description: 协议版本号
  14639. type: integer
  14640. configid:
  14641. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14642. type: integer
  14643. createtime:
  14644. description: 创建时间
  14645. type: string
  14646. goodsid:
  14647. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14648. type: integer
  14649. nodetype:
  14650. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14651. type: integer
  14652. signtimestamp:
  14653. description: 签约状态时间戳(最近一次)
  14654. type: string
  14655. tradedate:
  14656. description: 签约交易日(yyyyMMdd)
  14657. type: string
  14658. userid:
  14659. description: 客户ID
  14660. type: integer
  14661. type: object
  14662. models.Qhjgoodsex:
  14663. properties:
  14664. canfinance:
  14665. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14666. type: integer
  14667. canregularlybuy:
  14668. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14669. type: integer
  14670. defaulttradeuserid:
  14671. description: 默认交易用户ID
  14672. type: integer
  14673. deliverygoodsid:
  14674. description: 现货品种ID
  14675. type: integer
  14676. goodsid:
  14677. description: 商品ID(自增ID SEQ_GOODS)
  14678. type: integer
  14679. minamount:
  14680. description: 最小购买金额
  14681. type: number
  14682. regularlybuyminamount:
  14683. description: 定投最小金额
  14684. type: number
  14685. regularlybuyminqty:
  14686. description: 定投最小数量
  14687. type: number
  14688. spotgoodsbrandid:
  14689. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14690. type: integer
  14691. visibilityforenterprise:
  14692. description: 企业客户是否可见 - 0:不可见 1:可见
  14693. type: integer
  14694. visibilityforpersonal:
  14695. description: 个人客户是否可见 - 0:不可见 1:可见
  14696. type: integer
  14697. wrstandardid:
  14698. description: 现货商品ID
  14699. type: integer
  14700. type: object
  14701. models.QueryErrorInfosRsp:
  14702. properties:
  14703. description:
  14704. description: 异常描述
  14705. type: string
  14706. errorcode:
  14707. description: 异常代码
  14708. type: string
  14709. errorid:
  14710. description: 异常ID
  14711. type: integer
  14712. modulecode:
  14713. description: 所属模块
  14714. type: string
  14715. operatecode:
  14716. description: 所属操作
  14717. type: string
  14718. rownumber:
  14719. description: 行号
  14720. type: string
  14721. required:
  14722. - errorid
  14723. type: object
  14724. models.QueryHedgeOrderDetailRsp:
  14725. properties:
  14726. accountid:
  14727. description: 账户ID
  14728. type: integer
  14729. buyorsell:
  14730. description: 买卖 - 0:买 1:卖
  14731. type: integer
  14732. cancellogincode:
  14733. description: 撤单人
  14734. type: string
  14735. channelbuildtype:
  14736. description: 开平标志 - 0:无 1:建仓 2:平仓
  14737. type: integer
  14738. channelinnerorderstatus:
  14739. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14740. 9:全部成交
  14741. type: integer
  14742. channeloperatetype:
  14743. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14744. type: integer
  14745. closetype:
  14746. description: 平仓方式 - 0:无 1:平今 2:平昨
  14747. type: integer
  14748. curexchangerate:
  14749. description: 当前汇率
  14750. type: number
  14751. decimalplace:
  14752. description: 商品报价小数位
  14753. type: integer
  14754. exchangefullname:
  14755. description: 外部交易所全称
  14756. type: string
  14757. goodscode:
  14758. description: 商品代码(内部)
  14759. type: string
  14760. goodsid:
  14761. description: 商品ID
  14762. type: integer
  14763. goodsname:
  14764. description: 商品名称
  14765. type: string
  14766. marketid:
  14767. description: 市场ID
  14768. type: integer
  14769. openfreezemargin:
  14770. description: 冻结保证金(冻结交易金额)
  14771. type: number
  14772. orderid:
  14773. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14774. type: string
  14775. orderlogincode:
  14776. description: 委托人
  14777. type: string
  14778. orderprice:
  14779. description: 委托价格(账户)
  14780. type: number
  14781. orderqty:
  14782. description: 委托数量
  14783. type: integer
  14784. ordertime:
  14785. description: 委托时间
  14786. type: string
  14787. pricemode:
  14788. description: '取价方式 - 1:市价 2: 限价'
  14789. type: integer
  14790. tradedate:
  14791. description: 交易日(yyyyMMdd)
  14792. type: string
  14793. tradeqty:
  14794. description: 成交数量
  14795. type: integer
  14796. type: object
  14797. models.QueryHedgeTradeDetailRsp:
  14798. properties:
  14799. accountid:
  14800. description: 账号ID
  14801. type: integer
  14802. buyorsell:
  14803. description: 方向 - 0:买 1:卖
  14804. type: integer
  14805. channelbuildtype:
  14806. description: 委托单据类型 0:无 1:建仓 2:平仓
  14807. type: integer
  14808. closecharge:
  14809. description: 平仓手续费(账户)
  14810. type: number
  14811. closecharge2:
  14812. description: 平仓手续费(商品)
  14813. type: number
  14814. closepl:
  14815. description: 平仓盈亏(账户)
  14816. type: number
  14817. closepl2:
  14818. description: 平仓盈亏(商品)
  14819. type: number
  14820. closepl3:
  14821. description: 平仓盈亏(账户)(逐笔)
  14822. type: number
  14823. closepl4:
  14824. description: 平仓盈亏(商品)(逐笔)
  14825. type: number
  14826. closetype:
  14827. description: 平仓方式 - 0:无 1:平今 2:平昨
  14828. type: integer
  14829. curexchangerate:
  14830. description: 当前汇率
  14831. type: number
  14832. decimalplace:
  14833. description: 商品报价小数位
  14834. type: integer
  14835. exchangefullname:
  14836. description: 外部交易所全称
  14837. type: string
  14838. goodscode:
  14839. description: 商品代码(内部)
  14840. type: string
  14841. goodsid:
  14842. description: 商品ID
  14843. type: integer
  14844. goodsname:
  14845. description: 商品名称
  14846. type: string
  14847. marketid:
  14848. description: 市场ID
  14849. type: integer
  14850. opencharge:
  14851. description: 建仓手续费(账户)
  14852. type: number
  14853. opencharge2:
  14854. description: 建仓手续费(商品)
  14855. type: number
  14856. orderid:
  14857. description: 委托单号
  14858. type: string
  14859. orderlogincode:
  14860. description: 委托人
  14861. type: string
  14862. tradeamount:
  14863. description: 成交金额(账户)
  14864. type: number
  14865. tradedate:
  14866. description: 交易日(yyyyMMdd)
  14867. type: string
  14868. tradeid:
  14869. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14870. type: string
  14871. tradeprice:
  14872. description: 成交价格
  14873. type: number
  14874. tradeqty:
  14875. description: 成交数量
  14876. type: integer
  14877. tradetime:
  14878. description: 成交时间
  14879. type: string
  14880. tradetype:
  14881. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  14882. type: integer
  14883. type: object
  14884. models.QuotePrimaryMenu:
  14885. properties:
  14886. Index:
  14887. description: 序号
  14888. type: integer
  14889. Key:
  14890. description: 键名
  14891. type: string
  14892. Name:
  14893. description: 菜单名称
  14894. type: string
  14895. SubMenus:
  14896. description: 子菜单
  14897. items:
  14898. $ref: '#/definitions/models.QuoteSecondaryMenu'
  14899. type: array
  14900. SubTitleType:
  14901. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  14902. type: integer
  14903. TradeModes:
  14904. description: 包含市场交易类型
  14905. type: string
  14906. type: object
  14907. models.QuoteSecondaryMenu:
  14908. properties:
  14909. ExExchangeCode:
  14910. description: 外部交易所代码
  14911. type: string
  14912. ExExchangeID:
  14913. description: 外部交易所ID
  14914. type: integer
  14915. GoodsGroupIDs:
  14916. description: 商品组ID列表
  14917. items:
  14918. type: integer
  14919. type: array
  14920. Index:
  14921. description: 序号
  14922. type: integer
  14923. MarketID:
  14924. description: 市场ID
  14925. type: integer
  14926. MenuTitle:
  14927. description: 菜单标题(市场名称或外部交易所名称)
  14928. type: string
  14929. TradeMode:
  14930. description: 交易模式
  14931. type: integer
  14932. type: object
  14933. models.RelatedTaAccount:
  14934. properties:
  14935. accountid:
  14936. description: 资金账户ID
  14937. type: integer
  14938. type: object
  14939. models.RoleMenu:
  14940. properties:
  14941. hasright:
  14942. description: 是否有权限 0-没有权限 1-有权限
  14943. type: integer
  14944. iconame:
  14945. description: 菜单图标
  14946. type: string
  14947. menutype:
  14948. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  14949. type: integer
  14950. parentcode:
  14951. description: 上级资源代码
  14952. type: string
  14953. remark:
  14954. description: 菜单备注
  14955. type: string
  14956. resourcecode:
  14957. description: 菜单代码
  14958. type: string
  14959. resourcelevel:
  14960. description: 级别
  14961. type: integer
  14962. resourcename:
  14963. description: 菜单名称
  14964. type: string
  14965. roleid:
  14966. description: 角色id
  14967. type: integer
  14968. sort:
  14969. description: 排序
  14970. type: integer
  14971. subMenu:
  14972. description: 子级菜单(结构同上层一样, swag解析不出来)
  14973. items:
  14974. $ref: '#/definitions/models.RoleMenu'
  14975. type: array
  14976. url:
  14977. description: URL
  14978. type: string
  14979. userid:
  14980. description: 用户id
  14981. type: integer
  14982. type: object
  14983. models.SearchGoods:
  14984. properties:
  14985. goodscode:
  14986. description: 商品代码(内部)
  14987. type: string
  14988. goodsid:
  14989. description: 商品ID(自增ID SEQ_GOODS)
  14990. type: integer
  14991. goodsname:
  14992. description: 商品名称
  14993. type: string
  14994. marketid:
  14995. description: 所属市场ID
  14996. type: integer
  14997. marketname:
  14998. description: 市场名称
  14999. type: string
  15000. trademode:
  15001. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15002. 21:竞拍-大宗式 22:受托竞价
  15003. type: integer
  15004. required:
  15005. - goodscode
  15006. - goodsid
  15007. - goodsname
  15008. - marketid
  15009. - trademode
  15010. type: object
  15011. models.Systemparam:
  15012. properties:
  15013. loginid:
  15014. description: 更新用户账号,登录账号
  15015. type: string
  15016. modifyflag:
  15017. description: 修改标志0 不允许修改 1 允许修改
  15018. type: integer
  15019. paramcode:
  15020. description: 参数代码
  15021. type: string
  15022. paramname:
  15023. description: 参数名
  15024. type: string
  15025. paramtype:
  15026. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  15027. type: integer
  15028. paramvalue:
  15029. description: 参数值
  15030. type: string
  15031. paramvalue2:
  15032. description: 参数值(CLOB)
  15033. type: string
  15034. regexpress:
  15035. description: 正则表达式
  15036. type: string
  15037. remark:
  15038. description: 备注
  15039. type: string
  15040. serverip:
  15041. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  15042. type: string
  15043. showflag:
  15044. description: 是否显示0 不显示 1 显示
  15045. type: integer
  15046. updatetime:
  15047. description: 更新时间
  15048. type: string
  15049. userid:
  15050. description: 更新用户ID
  15051. type: integer
  15052. required:
  15053. - paramcode
  15054. type: object
  15055. models.Szdz3convertconfig:
  15056. properties:
  15057. canin:
  15058. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  15059. type: integer
  15060. canout:
  15061. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  15062. type: integer
  15063. converttype:
  15064. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15065. 6:交易转花生米(不设置)
  15066. type: integer
  15067. createtime:
  15068. description: 创建时间
  15069. type: string
  15070. creatorid:
  15071. description: 创建人
  15072. type: integer
  15073. daymaxvalue:
  15074. description: 当日最大转入限制
  15075. type: number
  15076. freezedays:
  15077. description: 冻结天数 [5:花生米转交易]
  15078. type: integer
  15079. innergoodsid:
  15080. description: 内部商品ID[交易]
  15081. type: integer
  15082. inratio:
  15083. description: 目标值
  15084. type: integer
  15085. modifierid:
  15086. description: 修改人
  15087. type: integer
  15088. modifytime:
  15089. description: 修改时间
  15090. type: string
  15091. outergoodscode:
  15092. description: 外部商品代码[JD\PD]
  15093. type: string
  15094. outratio:
  15095. description: 源值
  15096. type: integer
  15097. pddecimalplace:
  15098. description: PD小数位
  15099. type: integer
  15100. timemaxvalue:
  15101. description: 单次最大转入限制
  15102. type: number
  15103. timeminvalue:
  15104. description: 单次最小转入限制
  15105. type: number
  15106. required:
  15107. - converttype
  15108. - innergoodsid
  15109. - outergoodscode
  15110. type: object
  15111. models.Szdz3searchwhitelist:
  15112. properties:
  15113. createtime:
  15114. description: 创建时间
  15115. type: string
  15116. creatorid:
  15117. description: 创建人
  15118. type: integer
  15119. modifierid:
  15120. description: 修改人
  15121. type: integer
  15122. modifytime:
  15123. description: 修改时间
  15124. type: string
  15125. userid:
  15126. description: 用户ID
  15127. type: integer
  15128. required:
  15129. - userid
  15130. type: object
  15131. models.TBGoods:
  15132. properties:
  15133. agreeunit:
  15134. description: 合约乘数
  15135. type: number
  15136. enumdicname:
  15137. description: 单位名称
  15138. type: string
  15139. goodscode:
  15140. description: 商品代码(内部)
  15141. type: string
  15142. goodsid:
  15143. description: 商品ID(自增ID SEQ_GOODS)
  15144. type: integer
  15145. goodsname:
  15146. description: 商品名称
  15147. type: string
  15148. type: object
  15149. models.TBGoodsGroup:
  15150. properties:
  15151. GDLST:
  15152. description: 商品列表
  15153. items:
  15154. $ref: '#/definitions/models.TBGoods'
  15155. type: array
  15156. convertratio:
  15157. description: 折算系数
  15158. type: number
  15159. enumdicname:
  15160. description: 单位名称
  15161. type: string
  15162. exexchangecode:
  15163. description: 交易所代码
  15164. type: string
  15165. exexchangename:
  15166. description: 交易所名称
  15167. type: string
  15168. goodsgroupid:
  15169. description: 商品组ID(自增ID)
  15170. type: integer
  15171. goodsgroupname:
  15172. description: 商品组名称
  15173. type: string
  15174. goodunitid:
  15175. description: 报价单位ID
  15176. type: integer
  15177. type: object
  15178. models.TBMiddleGoods:
  15179. properties:
  15180. GPLST:
  15181. description: 期货品种列表
  15182. items:
  15183. $ref: '#/definitions/models.TBGoodsGroup'
  15184. type: array
  15185. WDLST:
  15186. description: 商品信息列表(现货品类)
  15187. items:
  15188. $ref: '#/definitions/models.TBWrstandard'
  15189. type: array
  15190. areauserid:
  15191. description: 机构用户ID
  15192. type: integer
  15193. enumdicname:
  15194. description: 单位名称
  15195. type: string
  15196. goodsunitid:
  15197. description: 套保品种单位id
  15198. type: integer
  15199. middlegoodscode:
  15200. description: 套保品种代码
  15201. type: string
  15202. middlegoodsid:
  15203. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15204. type: integer
  15205. middlegoodsname:
  15206. description: 套保品种名称
  15207. type: string
  15208. needarbitrageratio:
  15209. description: 套利比率
  15210. type: number
  15211. needhedgeratio:
  15212. description: 套保比率
  15213. type: number
  15214. type: object
  15215. models.TBWrstandard:
  15216. properties:
  15217. convertratio:
  15218. description: 折算系数
  15219. type: number
  15220. deliverygoodsname:
  15221. description: 品种名称
  15222. type: string
  15223. enumdicname:
  15224. description: 单位名称
  15225. type: string
  15226. vatrate:
  15227. description: 增值税率
  15228. type: number
  15229. wrstandardcode:
  15230. description: 现货商品代码
  15231. type: string
  15232. wrstandardid:
  15233. description: 现货商品ID(SEQ_WRSTANDARD)
  15234. type: integer
  15235. wrstandardname:
  15236. description: 现货商品名称
  15237. type: string
  15238. type: object
  15239. models.Taaccount:
  15240. properties:
  15241. accountflag:
  15242. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15243. type: integer
  15244. accountid:
  15245. description: 资金账户ID
  15246. type: integer
  15247. accountname:
  15248. description: 账户名称
  15249. type: string
  15250. balance:
  15251. description: 期初余额
  15252. type: number
  15253. capitalbalance:
  15254. description: 本金余额[外部子账户实际出入金余额]
  15255. type: number
  15256. changeflag:
  15257. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15258. type: integer
  15259. changetime:
  15260. description: 账户状态变更时间
  15261. type: string
  15262. closepl:
  15263. description: 今日平仓盈亏
  15264. type: number
  15265. creditdecrease:
  15266. description: 今日授信减少
  15267. type: number
  15268. creditincrease:
  15269. description: 今日授信增加
  15270. type: number
  15271. curamount:
  15272. description: 总市值(从持仓中统计)
  15273. type: number
  15274. currencyid:
  15275. description: 货币ID
  15276. type: integer
  15277. currentbalance:
  15278. description: 期末余额
  15279. type: number
  15280. freezecharge:
  15281. description: 手续费冻结
  15282. type: number
  15283. freezemargin:
  15284. description: 冻结保证金
  15285. type: number
  15286. fromaccountid:
  15287. description: 所属上级账户
  15288. type: integer
  15289. inamount:
  15290. description: 今日入金金额(包括三方入金)
  15291. type: number
  15292. ismain:
  15293. description: 是否母账号 0:不是母账户 1:是母账户
  15294. type: integer
  15295. ismarketaccount:
  15296. description: 是否机构接单账号 0:不是 1:是
  15297. type: integer
  15298. isreckonaccount:
  15299. description: 是否机构分润账号 0:不是 1:是
  15300. type: integer
  15301. mortgagecredit:
  15302. description: 授信金额
  15303. type: number
  15304. orifreezecharge:
  15305. description: 期初手续费冻结
  15306. type: number
  15307. orifreezemargin:
  15308. description: 期初冻结保证金
  15309. type: number
  15310. orimortgagecredit:
  15311. description: 期初授信金额
  15312. type: number
  15313. oriothercredit:
  15314. description: 期初其它授信金额
  15315. type: number
  15316. oriotherfreezemargin:
  15317. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15318. type: number
  15319. orioutamountfreeze:
  15320. description: 期初出金冻结
  15321. type: number
  15322. oriusedmargin:
  15323. description: 期初占用保证金
  15324. type: number
  15325. othercredit:
  15326. description: 其它授信金额
  15327. type: number
  15328. othercreditdecrease:
  15329. description: 今日其它授信减少
  15330. type: number
  15331. othercreditincrease:
  15332. description: 今日其它授信增加
  15333. type: number
  15334. otherfreezemargin:
  15335. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15336. type: number
  15337. otherincome:
  15338. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15339. type: number
  15340. otherpay:
  15341. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15342. type: number
  15343. outamount:
  15344. description: 今日出金金额(包括三方出金)
  15345. type: number
  15346. outamountfreeze:
  15347. description: 出金冻结
  15348. type: number
  15349. outthreshold:
  15350. description: 出金阈值
  15351. type: number
  15352. parentaccountid:
  15353. description: 所属根账号
  15354. type: integer
  15355. paycharge:
  15356. description: 今日手续费支出
  15357. type: number
  15358. relatedaccountstatus:
  15359. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15360. type: integer
  15361. relateduserid:
  15362. description: 关联用户
  15363. type: integer
  15364. remainamount:
  15365. description: 融资额(从融资合同中统计)
  15366. type: number
  15367. serivcegroup:
  15368. description: 服务分组
  15369. type: integer
  15370. signstatus:
  15371. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15372. type: integer
  15373. sublevelpath:
  15374. description: 账号层级路径(逗号分隔,首尾加逗号)
  15375. type: string
  15376. taaccounttype:
  15377. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15378. type: integer
  15379. thirdinamount:
  15380. description: 今日三方入金
  15381. type: number
  15382. thirdoutamount:
  15383. description: 今日三方出金
  15384. type: number
  15385. tradestatus:
  15386. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15387. type: integer
  15388. tradestatuschangetime:
  15389. description: 激活时间
  15390. type: string
  15391. transferamount:
  15392. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15393. type: number
  15394. usedmargin:
  15395. description: 占用保证金
  15396. type: number
  15397. userid:
  15398. description: 用户ID
  15399. type: integer
  15400. required:
  15401. - accountid
  15402. - userid
  15403. type: object
  15404. models.Tablecolumnconfig:
  15405. properties:
  15406. aligntype:
  15407. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15408. type: integer
  15409. autoid:
  15410. description: AutoID
  15411. type: integer
  15412. columnfield:
  15413. description: 列字段
  15414. type: string
  15415. columntitle:
  15416. description: 列Title
  15417. type: string
  15418. columnwidth:
  15419. description: 列宽
  15420. type: string
  15421. formatterstring:
  15422. description: 格式化字符
  15423. type: string
  15424. formattertype:
  15425. description: 格式化类型
  15426. type: string
  15427. groupname:
  15428. description: 表头分组名称
  15429. type: string
  15430. isshow:
  15431. description: 是否显示 - 0:不显示 1:显示
  15432. type: integer
  15433. needsummary:
  15434. description: 是否需要汇总 - 0:不需要 1:需要
  15435. type: integer
  15436. orderindex:
  15437. description: 顺序
  15438. type: integer
  15439. remark:
  15440. description: 备注
  15441. type: string
  15442. summarytype:
  15443. description: 汇总类型 - 1:加总 2:最后一个
  15444. type: integer
  15445. tablekey:
  15446. description: 列表Key
  15447. type: string
  15448. required:
  15449. - autoid
  15450. type: object
  15451. models.TjmdHolderDetailTradeInfo:
  15452. properties:
  15453. agreeunit:
  15454. description: 合约乘数
  15455. type: number
  15456. buyaccountid:
  15457. description: 买方账户
  15458. type: string
  15459. buyusername:
  15460. description: 买方
  15461. type: string
  15462. delistingdate:
  15463. description: 最后结算日
  15464. type: string
  15465. expiredate:
  15466. description: 到期结算价定价日
  15467. type: string
  15468. exprieprice:
  15469. description: 到期清算价格
  15470. type: string
  15471. goodscode:
  15472. description: 商品代码
  15473. type: string
  15474. goodsid:
  15475. description: 商品ID
  15476. type: integer
  15477. goodsname:
  15478. description: 商品名称(交易标的)
  15479. type: string
  15480. lasttradedate:
  15481. description: 最后交易日
  15482. type: string
  15483. listingdate:
  15484. description: 开始交易日
  15485. type: string
  15486. openprice:
  15487. description: 成交价
  15488. type: number
  15489. openqty:
  15490. description: 交易数量
  15491. type: integer
  15492. sellaccountid:
  15493. description: 卖方账户
  15494. type: string
  15495. sellusername:
  15496. description: 卖方
  15497. type: string
  15498. tradeamount:
  15499. description: 初始名义价值
  15500. type: number
  15501. tradedate:
  15502. description: 成交日期
  15503. type: string
  15504. tradeid:
  15505. description: 成交编号
  15506. type: string
  15507. type: object
  15508. models.TjmdMarketSection:
  15509. properties:
  15510. marketsectionid:
  15511. description: 市场版块ID(SEQ_MARKETSECTION)
  15512. type: integer
  15513. marketsectionname:
  15514. description: 市场版块名称
  15515. type: string
  15516. mlist:
  15517. description: 市场列表(板块下面有多少个市场)
  15518. items:
  15519. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  15520. type: array
  15521. orderindex:
  15522. description: 排序
  15523. type: integer
  15524. pictureurl:
  15525. description: 图片url, 规格(90*90)
  15526. type: string
  15527. remark:
  15528. description: 备注
  15529. type: string
  15530. type: object
  15531. models.TjmdMarketSectionConfig:
  15532. properties:
  15533. auctionwrtype:
  15534. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  15535. type: integer
  15536. canacceptquote:
  15537. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  15538. type: integer
  15539. cangoodsexercise:
  15540. description: '[期权]是否可现货行权- 0:否 1:是'
  15541. type: integer
  15542. cangoodsexercisetype:
  15543. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  15544. type: integer
  15545. canmanualquotestrike:
  15546. description: 是否可手动报行权价- 0:否 1:是 [期权]
  15547. type: integer
  15548. canmutistage:
  15549. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  15550. type: integer
  15551. canpreexercise:
  15552. description: '[期权]是否可预申报- 0:否 1:是'
  15553. type: integer
  15554. clearinterval:
  15555. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  15556. type: integer
  15557. contracttmp:
  15558. description: 合同模板[荷兰式][竞价式][仓单贸易]
  15559. type: string
  15560. exchareaid:
  15561. description: 所属交易所,可以没有
  15562. type: integer
  15563. financemarketid:
  15564. description: 融资回购市场ID [仓单贸易]
  15565. type: integer
  15566. goodstype:
  15567. description: 商品类型 - 1:交易商品 2:仓单商品
  15568. type: integer
  15569. hasrebate:
  15570. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  15571. type: integer
  15572. hastradecredit:
  15573. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  15574. type: integer
  15575. haswr:
  15576. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  15577. type: integer
  15578. isdeductmargin:
  15579. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  15580. type: integer
  15581. isrecordsource:
  15582. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  15583. type: integer
  15584. isreleasemargin:
  15585. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  15586. type: integer
  15587. isupdatereckonprice:
  15588. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  15589. type: integer
  15590. listingmode:
  15591. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15592. type: integer
  15593. marginformula:
  15594. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15595. type: integer
  15596. marginformula2:
  15597. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15598. type: integer
  15599. marketid:
  15600. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  15601. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  15602. type: integer
  15603. marketname:
  15604. description: 市场名称
  15605. type: string
  15606. marketsectionid:
  15607. description: 市场版块ID(SEQ_MARKETSECTION)
  15608. type: integer
  15609. marketserviceid:
  15610. description: 市场服务ID
  15611. type: integer
  15612. marketstatus:
  15613. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  15614. type: integer
  15615. markettype:
  15616. description: 市场类型- 1:非交易服务 2:交易服务
  15617. type: integer
  15618. matchermode:
  15619. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  15620. type: integer
  15621. nowrquotaflag:
  15622. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  15623. type: integer
  15624. openmethod:
  15625. description: 开盘模式 - 0 自动 1手动
  15626. type: integer
  15627. orderindex:
  15628. description: 排序
  15629. type: integer
  15630. otcuserid:
  15631. description: 场外期权做市商[场外期权]
  15632. type: integer
  15633. outersynctime:
  15634. description: 外部同步时间点(h24:mi:ss)[场外期权]
  15635. type: string
  15636. paylaterflag:
  15637. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  15638. type: integer
  15639. pendingflag:
  15640. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  15641. type: integer
  15642. pendingtime:
  15643. description: 待开市时间[通道交易-对冲](HH:mm)
  15644. type: string
  15645. performancetempid:
  15646. description: 履约计划模板ID - 作废
  15647. type: integer
  15648. premiumquotemode:
  15649. description: 权利金报价方式 - 1:自动 2:手动
  15650. type: integer
  15651. rebateratio:
  15652. description: 返利比率[竞价式]
  15653. type: number
  15654. reckonorder:
  15655. description: 结算顺序
  15656. type: integer
  15657. reckonpricealgorithm:
  15658. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  15659. 6.卖一价 7.买一卖一均价 8.外部结算价'
  15660. type: integer
  15661. reckonpriceparam:
  15662. description: 结算价参数
  15663. type: integer
  15664. reckontime:
  15665. description: 结算时间[通道交易-对冲](HH:mm)
  15666. type: string
  15667. roleprioritytype:
  15668. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  15669. type: integer
  15670. selllistingauditflag:
  15671. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  15672. type: integer
  15673. trademarkettype:
  15674. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  15675. type: integer
  15676. trademode:
  15677. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15678. 21:竞拍-大宗式 22:受托竞价
  15679. type: integer
  15680. tradeproperty:
  15681. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  15682. 8:场外期权
  15683. type: integer
  15684. tradetype:
  15685. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  15686. type: integer
  15687. updatereckonpriceinterval:
  15688. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  15689. type: integer
  15690. type: object
  15691. models.TjmdQuoteGoods:
  15692. properties:
  15693. buyqty:
  15694. description: 买量(暂不做, 无值, 保留字段)
  15695. type: number
  15696. decimalplace:
  15697. description: 报价小数位
  15698. type: integer
  15699. goodscode:
  15700. description: 合约代码
  15701. type: string
  15702. goodsgroupid:
  15703. description: 商品组ID(自增ID)
  15704. type: integer
  15705. goodsgroupname:
  15706. description: 商品组名称
  15707. type: string
  15708. goodsid:
  15709. description: 合约id
  15710. type: integer
  15711. goodsname:
  15712. description: 合约名称
  15713. type: string
  15714. refgoodscode:
  15715. description: 标的合约代码
  15716. type: string
  15717. refgoodsid:
  15718. description: 标的合约id
  15719. type: integer
  15720. refgoodsname:
  15721. description: 标的合约名称
  15722. type: string
  15723. sellqty:
  15724. description: 卖量(暂不做, 无值, 保留字段)
  15725. type: number
  15726. type: object
  15727. models.TjmdTodayAccountMargin:
  15728. properties:
  15729. accountid:
  15730. description: 账号ID
  15731. type: integer
  15732. goodsid:
  15733. description: 商品ID
  15734. type: integer
  15735. infoc:
  15736. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  15737. description: 配置参数
  15738. marketid:
  15739. description: 市场ID
  15740. type: integer
  15741. type: object
  15742. models.TjmdTradeOrderDetail:
  15743. properties:
  15744. buyorsell:
  15745. description: 买卖方向 0-买 1-卖
  15746. type: integer
  15747. goodsid:
  15748. description: 商品id
  15749. type: integer
  15750. marketmaxsub:
  15751. description: 市价最大偏移范围 [浮动价 - 点差]
  15752. type: number
  15753. orderid:
  15754. description: 委托单号
  15755. type: string
  15756. orderprice:
  15757. description: 委托价格
  15758. type: number
  15759. orderqty:
  15760. description: 委托数量
  15761. type: integer
  15762. pricemode:
  15763. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  15764. type: integer
  15765. userid:
  15766. description: 用户id
  15767. type: integer
  15768. username:
  15769. description: 用户名称(已脱敏)
  15770. type: string
  15771. type: object
  15772. models.TjmdTransferApply:
  15773. properties:
  15774. applyid:
  15775. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  15776. type: integer
  15777. applystatus:
  15778. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  15779. type: integer
  15780. applytime:
  15781. description: 申请时间(时间)
  15782. type: string
  15783. auditremark:
  15784. description: 审核备注(拒绝原因?)
  15785. type: string
  15786. begindate:
  15787. description: 开始交易日(yyyymmdd)
  15788. type: string
  15789. buyorsell:
  15790. description: 买卖 - 0:买 1:卖
  15791. type: integer
  15792. enddate:
  15793. description: 结束交易日(yyyymmdd)
  15794. type: string
  15795. goodscode:
  15796. description: 商品代码
  15797. type: string
  15798. goodsid:
  15799. description: 商品ID
  15800. type: integer
  15801. goodsname:
  15802. description: 商品名称
  15803. type: string
  15804. marketid:
  15805. description: 市场ID
  15806. type: integer
  15807. qty:
  15808. description: 转让数量(数量)
  15809. type: number
  15810. tradeid:
  15811. description: 成交单号(关联持仓)
  15812. type: string
  15813. transferamount:
  15814. description: 转让总金额(金额)
  15815. type: number
  15816. transferprice:
  15817. description: 转让价格(协议价格)
  15818. type: number
  15819. type: object
  15820. models.TradeHolderDetail:
  15821. properties:
  15822. accountid:
  15823. description: 账号ID
  15824. type: integer
  15825. agreeunit:
  15826. description: 合约乘数
  15827. type: number
  15828. buyorsell:
  15829. description: 方向 - 0:买 1:卖
  15830. type: integer
  15831. currencyid:
  15832. description: 商品币种id
  15833. type: integer
  15834. currencyname:
  15835. description: 币种名称
  15836. type: string
  15837. decimalplace:
  15838. description: 商品价格小数位
  15839. type: integer
  15840. enumdicname:
  15841. description: 商品单位名称
  15842. type: string
  15843. expirecycle:
  15844. description: 行权周期(天) - 1:滚动行权时填写
  15845. type: integer
  15846. expiredate:
  15847. description: 行权日(yyyyMMdd) - 到期日
  15848. type: string
  15849. expiretype:
  15850. description: 行权日类型 - 1:滚动行权 2:固定日行权
  15851. type: integer
  15852. freezeqty:
  15853. description: 冻结数量
  15854. type: number
  15855. goodscode:
  15856. description: 商品代码
  15857. type: string
  15858. goodsid:
  15859. description: 商品ID
  15860. type: integer
  15861. goodsname:
  15862. description: 商品名称
  15863. type: string
  15864. goodunitid:
  15865. description: 商品单位id
  15866. type: integer
  15867. holderamount:
  15868. description: 持仓金额
  15869. type: number
  15870. holdercredit:
  15871. description: 持仓授信金额
  15872. type: number
  15873. holderdays:
  15874. description: 剩余冻结天数
  15875. type: integer
  15876. holderprice:
  15877. description: 持仓价格
  15878. type: number
  15879. holderqty:
  15880. description: 持仓数量
  15881. type: number
  15882. isconfirmexercise:
  15883. description: 是否确认行权- 0:否 1:是
  15884. type: integer
  15885. ispreexercise:
  15886. description: 是否预申报- 0:否 1:是 2:不可行权
  15887. type: integer
  15888. marketid:
  15889. description: 市场id
  15890. type: integer
  15891. marketname:
  15892. description: 市场名称
  15893. type: string
  15894. openprice:
  15895. description: 建仓价格
  15896. type: number
  15897. openqty:
  15898. description: 建仓数量
  15899. type: number
  15900. optiontype:
  15901. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15902. type: integer
  15903. preexerciseprice:
  15904. description: 预申报价格
  15905. type: number
  15906. premium:
  15907. description: 权利金
  15908. type: number
  15909. qtydecimalplace:
  15910. description: 商品成交量小数位
  15911. type: integer
  15912. refgoodscode:
  15913. description: 标的合约代码
  15914. type: string
  15915. refgoodsid:
  15916. description: 标的合约id
  15917. type: integer
  15918. releaseamount:
  15919. description: 释放持仓金额
  15920. type: number
  15921. releaseholdercredit:
  15922. description: 释放持仓授信金额
  15923. type: number
  15924. taname:
  15925. description: 资金账号名称
  15926. type: string
  15927. tradeamount:
  15928. description: 成交金额
  15929. type: number
  15930. tradedate:
  15931. description: 交易日(yyyyMMdd)
  15932. type: string
  15933. tradeid:
  15934. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15935. type: string
  15936. trademode:
  15937. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15938. 21:竞拍-大宗式 22:受托竞价 46:掉期
  15939. type: integer
  15940. tradeproperty:
  15941. description: 交易属性
  15942. type: integer
  15943. tradetime:
  15944. description: 交易时间
  15945. type: string
  15946. userid:
  15947. description: 用户id
  15948. type: integer
  15949. username:
  15950. description: 用户名称
  15951. type: string
  15952. type: object
  15953. models.Unlinkermcphedgeplan:
  15954. properties:
  15955. accountid:
  15956. description: 期货账户ID - 作废
  15957. type: integer
  15958. accountname:
  15959. description: 交易用户
  15960. type: string
  15961. applyid:
  15962. description: 申请人
  15963. type: integer
  15964. applysrc:
  15965. description: 申请来源 - 1:管理端 2:终端
  15966. type: integer
  15967. applytime:
  15968. description: 申请时间
  15969. type: string
  15970. areauserid:
  15971. description: '[企业ID]机构ID'
  15972. type: integer
  15973. auditid:
  15974. description: 审核人
  15975. type: integer
  15976. auditremark:
  15977. description: 审核备注
  15978. type: string
  15979. auditsrc:
  15980. description: 审核来源 - 1:管理端 2:终端
  15981. type: integer
  15982. audittime:
  15983. description: 审核时间
  15984. type: string
  15985. audittradedate:
  15986. description: 审核交易日(yyyyMMdd)
  15987. type: string
  15988. biztype:
  15989. description: 业务类型 - 1:套保
  15990. type: integer
  15991. contracttype:
  15992. description: 计划类型 - 1:采购 -1:销售
  15993. type: integer
  15994. convertfactor:
  15995. description: 标仓系数 - 作废
  15996. type: number
  15997. createtime:
  15998. description: 创建时间
  15999. type: string
  16000. currencyid:
  16001. description: 结算币种ID - 作废
  16002. type: integer
  16003. deliverygoodsid:
  16004. description: 现货品种ID
  16005. type: integer
  16006. enumdicname:
  16007. description: 结算币种
  16008. type: string
  16009. hedgeplanid:
  16010. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  16011. type: string
  16012. hedgeplanno:
  16013. description: '[计划编号]套保计划编号,模糊查询'
  16014. type: string
  16015. hedgeplanstatus:
  16016. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  16017. type: integer
  16018. isrelated:
  16019. description: 是否已关联计划项目 - 0:否 1:是
  16020. type: integer
  16021. planqty:
  16022. description: '[计划量]计划数量'
  16023. type: number
  16024. plantime:
  16025. description: 计划时间
  16026. type: string
  16027. producttype:
  16028. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  16029. type: integer
  16030. remark:
  16031. description: 备注
  16032. type: string
  16033. spotgoodsdesc:
  16034. description: 商品型号
  16035. type: string
  16036. tradedate:
  16037. description: 交易日(yyyyMMdd)
  16038. type: string
  16039. tradeuserid:
  16040. description: 交易用户ID
  16041. type: integer
  16042. updatetime:
  16043. description: 更新时间
  16044. type: string
  16045. wrstandardid:
  16046. description: 现货商品ID
  16047. type: integer
  16048. wrstandardname:
  16049. description: 现货商品,模糊查询
  16050. type: string
  16051. required:
  16052. - areauserid
  16053. type: object
  16054. models.UserCollectConfig:
  16055. properties:
  16056. accountstatus:
  16057. description: 账户状态 - 1:正常 2:停用 3:注销
  16058. type: integer
  16059. collectaccountname:
  16060. description: 收款人账户名称
  16061. type: string
  16062. collectaccountno:
  16063. description: 收款人账户
  16064. type: string
  16065. collectbankname:
  16066. description: 收款人开户行
  16067. type: string
  16068. collectbranchbankname:
  16069. description: 收款人开户支行
  16070. type: string
  16071. collectconfigid:
  16072. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  16073. type: string
  16074. remark:
  16075. description: 备注
  16076. type: string
  16077. userid:
  16078. description: 收款人用户ID
  16079. type: integer
  16080. type: object
  16081. models.UserReceiveInfo:
  16082. properties:
  16083. address:
  16084. description: 提货人详细地址
  16085. type: string
  16086. autoid:
  16087. description: AutoID
  16088. type: integer
  16089. cardnum:
  16090. description: 证件号码(加密存储)
  16091. type: string
  16092. cardtypeid:
  16093. description: 证件类型
  16094. type: integer
  16095. cityid:
  16096. description: 市
  16097. type: integer
  16098. cityname:
  16099. description: 城市名称
  16100. type: string
  16101. countryid:
  16102. description: 国家
  16103. type: integer
  16104. countryname:
  16105. description: 国家名称
  16106. type: string
  16107. districtid:
  16108. description: 地区
  16109. type: integer
  16110. districtname:
  16111. description: 地区名称
  16112. type: string
  16113. hasencrypt:
  16114. description: 数据是否已加密 - 0:未加密 1:已加密
  16115. type: integer
  16116. isdefault:
  16117. description: 是否默认地址 - 0:否 1:是
  16118. type: integer
  16119. phonenum:
  16120. description: 提货人联系方式(加密存储)
  16121. type: string
  16122. provinceid:
  16123. description: 省
  16124. type: integer
  16125. provincename:
  16126. description: 省名称
  16127. type: string
  16128. receivername:
  16129. description: 提货人姓名
  16130. type: string
  16131. takeremark:
  16132. description: 提货备注
  16133. type: string
  16134. userid:
  16135. description: 用户ID
  16136. type: integer
  16137. type: object
  16138. models.Useraccount:
  16139. properties:
  16140. accountname:
  16141. description: 账户名称(机构名称)
  16142. type: string
  16143. accountstatus:
  16144. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16145. type: integer
  16146. applysrc:
  16147. description: 申请来源 - 1:管理端 2:终端
  16148. type: integer
  16149. auditremark:
  16150. description: 审核备注
  16151. type: string
  16152. auditsrc:
  16153. description: 审核来源 - 1:管理端 2:终端
  16154. type: integer
  16155. audittime:
  16156. description: 审核时间
  16157. type: string
  16158. audituserid:
  16159. description: 审核人
  16160. type: integer
  16161. broker:
  16162. description: 所属经纪人ID
  16163. type: integer
  16164. canceltime:
  16165. description: 销户时间
  16166. type: string
  16167. canceluserid:
  16168. description: 销户人
  16169. type: integer
  16170. canrecommend:
  16171. description: 是否可推荐 - 0:不可 1;可
  16172. type: integer
  16173. createtime:
  16174. description: 创建时间
  16175. type: string
  16176. creatorid:
  16177. description: 创建人
  16178. type: integer
  16179. hasauth:
  16180. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16181. type: integer
  16182. isanonymous:
  16183. description: 是否匿名下单 - 0:否 1:是
  16184. type: integer
  16185. maxinvestornum:
  16186. description: 最大用户数(经纪会员下投资者个数)
  16187. type: integer
  16188. memberuserid:
  16189. description: 所属会员ID
  16190. type: integer
  16191. modifierid:
  16192. description: 修改人
  16193. type: integer
  16194. modifyremark:
  16195. description: 变更备注
  16196. type: string
  16197. modifystatus:
  16198. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16199. type: integer
  16200. modifytime:
  16201. description: 修改时间
  16202. type: string
  16203. parenttopuser:
  16204. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16205. type: string
  16206. parentuserid:
  16207. description: 所属机构ID
  16208. type: integer
  16209. reckonaccountid:
  16210. description: 默认结算资金账号ID(机构分润使用) 作废
  16211. type: integer
  16212. refercount:
  16213. description: 推荐总人数
  16214. type: integer
  16215. refereeuserid:
  16216. description: 推荐人ID
  16217. type: integer
  16218. refernum:
  16219. description: 推荐码
  16220. type: string
  16221. rootuserid:
  16222. description: 根用户ID
  16223. type: integer
  16224. subaccountlevel:
  16225. description: 子账户层数
  16226. type: integer
  16227. subarealevelpath:
  16228. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16229. type: string
  16230. userid:
  16231. description: 用户ID
  16232. type: integer
  16233. usertype:
  16234. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16235. type: integer
  16236. required:
  16237. - userid
  16238. type: object
  16239. models.Userfavoritegoods:
  16240. properties:
  16241. goodsid:
  16242. description: 商品ID
  16243. type: integer
  16244. required:
  16245. - goodsid
  16246. type: object
  16247. models.Userinfo:
  16248. properties:
  16249. address:
  16250. description: 地址
  16251. type: string
  16252. attachment1:
  16253. description: 附件1
  16254. type: string
  16255. attachment2:
  16256. description: 附件2
  16257. type: string
  16258. bankaccount:
  16259. description: 银行帐号 (加密存储)
  16260. type: string
  16261. bankaccountname:
  16262. description: 收款人名称
  16263. type: string
  16264. bankcardfrontphotourl:
  16265. description: 银行卡正面照地址
  16266. type: string
  16267. bankid:
  16268. description: 银行编码
  16269. type: string
  16270. bankname:
  16271. description: 银行名称
  16272. type: string
  16273. biznature:
  16274. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16275. type: integer
  16276. bizscope:
  16277. description: 企业经营范围(企业)
  16278. type: string
  16279. cardbackphotourl:
  16280. description: 证件背面图片地址
  16281. type: string
  16282. cardfrontphotourl:
  16283. description: 证件正面图片地址
  16284. type: string
  16285. cardnum:
  16286. description: 证件号码(加密存储)
  16287. type: string
  16288. cardtypeid:
  16289. description: 证件类型ID
  16290. type: integer
  16291. cityid:
  16292. description: 市
  16293. type: integer
  16294. company:
  16295. description: 公司(个人)
  16296. type: string
  16297. contactname:
  16298. description: 联系人
  16299. type: string
  16300. countryid:
  16301. description: 国家
  16302. type: integer
  16303. createtime:
  16304. description: 创建时间
  16305. type: string
  16306. creatorid:
  16307. description: 创建人
  16308. type: integer
  16309. customername:
  16310. description: 客户名称(企业名称)
  16311. type: string
  16312. districtid:
  16313. description: 地区
  16314. type: integer
  16315. email:
  16316. description: 邮件(加密存储)
  16317. type: string
  16318. fax:
  16319. description: 传真(加密存储)
  16320. type: string
  16321. halfbodyphotourl:
  16322. description: 半身照地址
  16323. type: string
  16324. hasencrypt:
  16325. description: 数据是否已加密 - 0:未加密 1:已加密
  16326. type: integer
  16327. headurl:
  16328. description: 头像地址
  16329. type: string
  16330. legalcardbackphotourl:
  16331. description: 法人身份证背面照地址
  16332. type: string
  16333. legalcardfrontphotourl:
  16334. description: 法人身份证正面照地址
  16335. type: string
  16336. legalpersonname:
  16337. description: 法人姓名(企业)
  16338. type: string
  16339. mobile:
  16340. description: 手机号码(加密存储)
  16341. type: string
  16342. mobile2:
  16343. description: 手机号码[明文-尚志]
  16344. type: string
  16345. modifierid:
  16346. description: 修改人
  16347. type: integer
  16348. modifiertime:
  16349. description: 修改时间
  16350. type: string
  16351. needinvoice:
  16352. description: 是否需要发票 - 0:不需要 1:需要
  16353. type: integer
  16354. nickname:
  16355. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16356. type: string
  16357. openmode:
  16358. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16359. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16360. type: integer
  16361. otherurl:
  16362. description: 其它图片地址[使用分号分隔]
  16363. type: string
  16364. postalcode:
  16365. description: 邮政编码
  16366. type: string
  16367. provinceid:
  16368. description: 省
  16369. type: integer
  16370. qq:
  16371. description: QQ(加密存储
  16372. type: string
  16373. remark:
  16374. description: 备注
  16375. type: string
  16376. sex:
  16377. description: '用户性别 0: 女 1: 男'
  16378. type: integer
  16379. signpdfurl:
  16380. description: 签约pdf文件
  16381. type: string
  16382. telphone:
  16383. description: 联系电话(加密存储)
  16384. type: string
  16385. userid:
  16386. description: 用户ID
  16387. type: integer
  16388. userinfotype:
  16389. description: 用户信息类型 - 1:个人 2:企业
  16390. type: integer
  16391. userstatus:
  16392. description: 用户状态 - 1:正常 2:注销
  16393. type: integer
  16394. usertype:
  16395. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16396. type: integer
  16397. wechat:
  16398. description: 微信(加密存储)
  16399. type: string
  16400. wskhinfo:
  16401. description: 开户申请信息(JSON)
  16402. type: string
  16403. required:
  16404. - userid
  16405. type: object
  16406. models.WRSConverTDetail:
  16407. properties:
  16408. convertratio:
  16409. description: 套保系数
  16410. type: number
  16411. deliverygoodscode:
  16412. description: 现货商品代码
  16413. type: string
  16414. deliverygoodsid:
  16415. description: 现货品种ID
  16416. type: integer
  16417. deliverygoodsname:
  16418. description: 现货商品名称
  16419. type: string
  16420. enumdicname:
  16421. description: 单位名称
  16422. type: string
  16423. goodsunitid:
  16424. description: 套保品种单位id
  16425. type: integer
  16426. middlegoodscode:
  16427. description: 套保品种代码
  16428. type: string
  16429. middlegoodsid:
  16430. description: 套保品种ID
  16431. type: integer
  16432. middlegoodsname:
  16433. description: 套保品种名称
  16434. type: string
  16435. modifytime:
  16436. description: 修改时间
  16437. type: string
  16438. wrstandardid:
  16439. description: 品类ID
  16440. type: integer
  16441. type: object
  16442. models.WRStandardInfo:
  16443. properties:
  16444. areauserid:
  16445. description: 所属机构
  16446. type: integer
  16447. convertfactor:
  16448. description: 标仓系数
  16449. type: number
  16450. createtime:
  16451. description: 创建时间
  16452. type: string
  16453. creatorid:
  16454. description: 创建人
  16455. type: integer
  16456. deliverygoodsid:
  16457. description: 品种ID
  16458. type: integer
  16459. deliverygoodsname:
  16460. description: 交割商品名称
  16461. type: string
  16462. factoryitemjson:
  16463. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  16464. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  16465. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  16466. 逗号分隔'
  16467. type: string
  16468. isvalid:
  16469. description: 是否有效 - 0:无效 1:有效
  16470. type: integer
  16471. minivalue:
  16472. description: 最小变动值
  16473. type: integer
  16474. minivaluedp:
  16475. description: 最小变动值小数位
  16476. type: integer
  16477. realminivalue:
  16478. description: 实际最小变动值
  16479. type: integer
  16480. realminivaluedp:
  16481. description: 实际最小变动值小数位
  16482. type: integer
  16483. remark:
  16484. description: 备注
  16485. type: string
  16486. unitid:
  16487. description: 单位ID
  16488. type: integer
  16489. unitname:
  16490. description: 单位
  16491. type: string
  16492. updatetime:
  16493. description: 更新时间
  16494. type: string
  16495. updatorid:
  16496. description: 更新人
  16497. type: integer
  16498. wrsstatus:
  16499. description: 状态 - 作废 - 0:未激活 1:正常
  16500. type: integer
  16501. wrstandardcode:
  16502. description: 现货品类代码
  16503. type: string
  16504. wrstandardid:
  16505. description: 现货品类ID(SEQ_WRSTANDARD)
  16506. type: integer
  16507. wrstandardname:
  16508. description: 现货品类名称
  16509. type: string
  16510. required:
  16511. - wrstandardid
  16512. type: object
  16513. models.WRTradeBargainApply:
  16514. properties:
  16515. accountid:
  16516. description: 摘牌资金账号
  16517. type: integer
  16518. applyprice:
  16519. description: 申请价格(议价价格)
  16520. type: string
  16521. applyqty:
  16522. description: 摘牌数量(议价数量)
  16523. type: number
  16524. applyremark:
  16525. description: 申请备注
  16526. type: string
  16527. applystatus:
  16528. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  16529. type: integer
  16530. applytime:
  16531. description: 申请时间(议价时间)
  16532. type: string
  16533. begindate:
  16534. description: 开始交易日(yyyymmdd)
  16535. type: string
  16536. buyorsell:
  16537. description: 买卖(挂牌类型) - 0:买 1:卖
  16538. type: integer
  16539. confirmremark:
  16540. description: 确认备注
  16541. type: string
  16542. confirmtime:
  16543. description: 确认时间
  16544. type: string
  16545. confirmuserid:
  16546. description: 确认人
  16547. type: integer
  16548. deliverygoodscode:
  16549. description: 品种代码
  16550. type: string
  16551. deliverygoodsid:
  16552. description: 品种ID
  16553. type: integer
  16554. deliverygoodsname:
  16555. description: 品种名称
  16556. type: string
  16557. deliverymonth:
  16558. description: 交收月
  16559. type: string
  16560. enddate:
  16561. description: 结束交易日(yyyymmdd)
  16562. type: string
  16563. enumdicname:
  16564. description: 单位名称
  16565. type: string
  16566. fixedprice:
  16567. description: 挂牌价格
  16568. type: number
  16569. handlestatus:
  16570. description: 处理状态
  16571. type: integer
  16572. marginvalue:
  16573. description: 履约保证金比例
  16574. type: number
  16575. marketid:
  16576. description: 市场ID
  16577. type: integer
  16578. matchaccountid:
  16579. description: 挂牌方资金账号
  16580. type: integer
  16581. matchuserid:
  16582. description: 挂牌方用户id
  16583. type: integer
  16584. matchusername:
  16585. description: 挂牌方用户名称(已脱敏)
  16586. type: string
  16587. minivalue:
  16588. description: 现货商品最小变动值
  16589. type: integer
  16590. optioncompare:
  16591. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16592. type: string
  16593. orderqty:
  16594. description: 挂牌数量
  16595. type: integer
  16596. refprice:
  16597. description: 参考价格
  16598. type: string
  16599. retcode:
  16600. description: 委托返回代码
  16601. type: integer
  16602. templatename:
  16603. description: 履约方式(履约模板名称)
  16604. type: string
  16605. tradedate:
  16606. description: 交易日(yyyyMMdd)
  16607. type: string
  16608. userid:
  16609. description: 摘牌人用户ID(议价人ID)
  16610. type: integer
  16611. username:
  16612. description: 议价人名字(已脱敏)
  16613. type: string
  16614. validtime:
  16615. description: 有效期限
  16616. type: string
  16617. warehouseid:
  16618. description: 仓库ID
  16619. type: integer
  16620. warehousename:
  16621. description: 仓库名称
  16622. type: string
  16623. wrbargainid:
  16624. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  16625. type: string
  16626. wrfactortypeid:
  16627. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16628. type: string
  16629. wrfactortypename:
  16630. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16631. type: string
  16632. wrstandardcode:
  16633. description: 现货商品代码
  16634. type: string
  16635. wrstandardid:
  16636. description: 现货商品ID
  16637. type: integer
  16638. wrstandardname:
  16639. description: 商品名称
  16640. type: string
  16641. wrtradeorderid:
  16642. description: 关联委托单ID
  16643. type: string
  16644. wrtypename:
  16645. description: 商品
  16646. type: string
  16647. type: object
  16648. models.Warehouseinfo:
  16649. properties:
  16650. address:
  16651. description: 详细地址
  16652. type: string
  16653. areauserid:
  16654. description: 所属机构
  16655. type: integer
  16656. autoid:
  16657. description: 自增ID
  16658. type: integer
  16659. cityid:
  16660. description: 市
  16661. type: integer
  16662. contactname:
  16663. description: 联系人
  16664. type: string
  16665. contactnum:
  16666. description: 联系电话
  16667. type: string
  16668. countryid:
  16669. description: 国家
  16670. type: integer
  16671. createtime:
  16672. description: 创建时间
  16673. type: string
  16674. districtid:
  16675. description: 区
  16676. type: integer
  16677. hasvideo:
  16678. description: 是否有视频 - 0:无 1:有
  16679. type: integer
  16680. provinceid:
  16681. description: 省
  16682. type: integer
  16683. remark:
  16684. description: 审核备注
  16685. type: string
  16686. videourl:
  16687. description: 视频地址
  16688. type: string
  16689. warehousecode:
  16690. description: 仓库代码
  16691. type: string
  16692. warehousename:
  16693. description: 仓库名称
  16694. type: string
  16695. warehousestatus:
  16696. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  16697. type: integer
  16698. warehousetype:
  16699. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  16700. type: integer
  16701. required:
  16702. - autoid
  16703. - warehousecode
  16704. type: object
  16705. models.WrAverageTradePrice:
  16706. properties:
  16707. averageprice:
  16708. description: 成交均价
  16709. type: number
  16710. tradedate:
  16711. description: 交易日yyyymm
  16712. type: string
  16713. type: object
  16714. models.WrBrandAndYears:
  16715. properties:
  16716. brandlst:
  16717. description: 品牌列表
  16718. items:
  16719. $ref: '#/definitions/models.DgFactoryItem'
  16720. type: array
  16721. yearslst:
  16722. description: 年份列表
  16723. items:
  16724. $ref: '#/definitions/models.DgFactoryItem'
  16725. type: array
  16726. type: object
  16727. models.WrBsGoodsInfo:
  16728. properties:
  16729. buyorsell:
  16730. description: 买卖方向 0-买 1-卖
  16731. type: integer
  16732. goodsid:
  16733. description: 交易合约ID
  16734. type: integer
  16735. lstitem:
  16736. description: 商品信息项
  16737. items:
  16738. $ref: '#/definitions/models.WrTypeItem'
  16739. type: array
  16740. lststep:
  16741. description: 履约规则
  16742. items:
  16743. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16744. type: array
  16745. type: object
  16746. models.WrBuybackDetail:
  16747. properties:
  16748. buybackamount:
  16749. description: 回购金额
  16750. type: number
  16751. buybackqty:
  16752. description: 回购数量
  16753. type: number
  16754. buybackreleasemargin:
  16755. description: 回购释放保证金
  16756. type: number
  16757. buybacktime:
  16758. description: 回购时间
  16759. type: string
  16760. errordesc:
  16761. description: 错误描述
  16762. type: string
  16763. handlestatus:
  16764. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  16765. type: integer
  16766. relatedwrid:
  16767. description: 关联仓单ID
  16768. type: integer
  16769. scfcontractid:
  16770. description: SCF合同ID
  16771. type: string
  16772. scfwrbuybackid:
  16773. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  16774. type: integer
  16775. tradedate:
  16776. description: 交易日(yyyyMMdd)
  16777. type: string
  16778. type: object
  16779. models.WrClientAdSpaceConfig:
  16780. properties:
  16781. adspaceid:
  16782. description: 广告位ID
  16783. type: integer
  16784. adspacename:
  16785. description: 广告位名称
  16786. type: string
  16787. adspacetype:
  16788. description: 广告位类型 - 1:固定广告位
  16789. type: integer
  16790. areauserid:
  16791. description: 所属机构ID
  16792. type: integer
  16793. createdate:
  16794. description: 创建时间
  16795. type: string
  16796. imagepath:
  16797. description: 图片
  16798. type: string
  16799. modifierid:
  16800. description: 操作人
  16801. type: integer
  16802. recsize:
  16803. description: 推荐尺寸
  16804. type: string
  16805. title:
  16806. description: 标题
  16807. type: string
  16808. updatedate:
  16809. description: 更新时间
  16810. type: string
  16811. urlcontent:
  16812. description: 链接(地址\商品ID\功能菜单Key\appid)
  16813. type: string
  16814. urltype:
  16815. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  16816. type: integer
  16817. type: object
  16818. models.WrDeliveryAvalidHoldLB:
  16819. properties:
  16820. accountid:
  16821. description: 资金账号
  16822. type: integer
  16823. avalidqty:
  16824. description: 数量(可点选数量)
  16825. type: number
  16826. deliverygoodsid:
  16827. description: 品种id
  16828. type: integer
  16829. enumdicname:
  16830. description: 单位名称
  16831. type: string
  16832. goodsid:
  16833. description: x合约商品id
  16834. type: integer
  16835. ladingbillid:
  16836. description: 提单id
  16837. type: string
  16838. pgoodscode:
  16839. description: p商品代码(点价合约)
  16840. type: string
  16841. pgoodsid:
  16842. description: p商品id(点价合约)
  16843. type: integer
  16844. pgoodsname:
  16845. description: p商品名称(点价合约)
  16846. type: string
  16847. pricemove:
  16848. description: 升贴水
  16849. type: number
  16850. subnum:
  16851. description: 提单子id
  16852. type: integer
  16853. userid:
  16854. description: 用户id
  16855. type: integer
  16856. username:
  16857. description: 仓单持有人
  16858. type: string
  16859. warehousecode:
  16860. description: 仓库代码
  16861. type: string
  16862. warehouseid:
  16863. description: 仓库id
  16864. type: integer
  16865. warehousename:
  16866. description: 仓库名称
  16867. type: string
  16868. wrfactortypeid:
  16869. description: 仓单要素id
  16870. type: string
  16871. wrstandardcode:
  16872. description: 品代码
  16873. type: string
  16874. wrstandardid:
  16875. description: 品类d
  16876. type: integer
  16877. wrstandardname:
  16878. description: 品类名称
  16879. type: string
  16880. wrtypename:
  16881. description: 商品
  16882. type: string
  16883. xgoodscode:
  16884. description: x合约代码
  16885. type: string
  16886. xgoodsname:
  16887. description: x合约名称
  16888. type: string
  16889. type: object
  16890. models.WrDeliveryDetail:
  16891. properties:
  16892. accountid:
  16893. description: 账号ID
  16894. type: integer
  16895. averageprice:
  16896. description: 交割均价 = 交割金额 / 交割数量
  16897. type: number
  16898. begindate:
  16899. description: 开始交易日(yyyymmdd)
  16900. type: string
  16901. buyorsell:
  16902. description: 方向 - 0:买 1:卖
  16903. type: integer
  16904. deliveryamount:
  16905. description: 货款金额(X总货款+P总货款)
  16906. type: number
  16907. deliveryid:
  16908. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  16909. type: string
  16910. deliveryorderid:
  16911. description: 申报单号
  16912. type: string
  16913. deliverypricemove:
  16914. description: 升贴水(升贴水总额)
  16915. type: number
  16916. deliveryqty:
  16917. description: 交收数量(点选数量)
  16918. type: number
  16919. deliverystatus:
  16920. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  16921. type: integer
  16922. deliverytime:
  16923. description: 交割时间
  16924. type: string
  16925. deliverytotalamount:
  16926. description: 交收金额
  16927. type: number
  16928. enddate:
  16929. description: 结束交易日(yyyymmdd)
  16930. type: string
  16931. enumdicname:
  16932. description: 单位名称
  16933. type: string
  16934. matchaccountid:
  16935. description: 对手账号ID
  16936. type: integer
  16937. matchusername:
  16938. description: 对手方名称(仓单持有人)
  16939. type: string
  16940. p1goodsremainamount:
  16941. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  16942. type: number
  16943. pdeliverycloseqty:
  16944. description: p合约平仓数量
  16945. type: number
  16946. pdeliveryprice:
  16947. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  16948. type: number
  16949. pgoodscode:
  16950. description: 商品代码
  16951. type: string
  16952. pgoodsid:
  16953. description: p点选合约id
  16954. type: integer
  16955. pgoodsname:
  16956. description: 商品名称
  16957. type: string
  16958. ppricemode:
  16959. description: 点价价格方式 - 1:商品价 2:固定值
  16960. type: integer
  16961. tradedate:
  16962. description: 交易日(yyyymmdd)
  16963. type: string
  16964. userid:
  16965. description: 用户id
  16966. type: integer
  16967. username:
  16968. description: 用户名称
  16969. type: string
  16970. warehousename:
  16971. description: 仓库名称
  16972. type: string
  16973. wrfactortypeid:
  16974. description: 仓单要素类型ID
  16975. type: string
  16976. wrtypename:
  16977. description: 商品
  16978. type: string
  16979. xdeliverycloseqty:
  16980. description: 合约数量
  16981. type: number
  16982. xgoodsamount:
  16983. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  16984. type: number
  16985. xgoodscode:
  16986. description: 商品代码
  16987. type: string
  16988. xgoodsid:
  16989. description: x交易合约ID
  16990. type: integer
  16991. xgoodsname:
  16992. description: 商品名称
  16993. type: string
  16994. type: object
  16995. models.WrDeliveryGoodsSection:
  16996. properties:
  16997. dglst:
  16998. description: 板块商品列表
  16999. items:
  17000. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  17001. type: array
  17002. imagepath:
  17003. description: 图片地址
  17004. type: string
  17005. orderindex:
  17006. description: 排序
  17007. type: integer
  17008. sectionid:
  17009. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  17010. = 1的版块1 - 云融指数
  17011. type: integer
  17012. sectionname:
  17013. description: 版块名称
  17014. type: string
  17015. sectiontype:
  17016. description: 版块类型 - 1:指数版块 2:普通版块
  17017. type: integer
  17018. type: object
  17019. models.WrDeliveryGoodsSectionConfig:
  17020. properties:
  17021. deliverygoodscode:
  17022. description: 现货商品代码
  17023. type: string
  17024. deliverygoodsid:
  17025. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17026. type: integer
  17027. deliverygoodsname:
  17028. description: 现货商品名称
  17029. type: string
  17030. orderindex:
  17031. description: 排序
  17032. type: integer
  17033. type: object
  17034. models.WrDraftUserInfo:
  17035. properties:
  17036. address:
  17037. description: 地址
  17038. type: string
  17039. attachment1:
  17040. description: 附件1
  17041. type: string
  17042. attachment2:
  17043. description: 附件2
  17044. type: string
  17045. attachment3:
  17046. description: 附件3
  17047. type: string
  17048. attachment4:
  17049. description: 附件4
  17050. type: string
  17051. attachment5:
  17052. description: 附件5
  17053. type: string
  17054. bankaccount:
  17055. description: 银行帐号 (加密存储)
  17056. type: string
  17057. bankaccountname:
  17058. description: 收款人名称
  17059. type: string
  17060. bankcardfrontphotourl:
  17061. description: 银行卡正面照地址
  17062. type: string
  17063. bankid:
  17064. description: 银行编码
  17065. type: string
  17066. bankname:
  17067. description: 银行名称
  17068. type: string
  17069. birthday:
  17070. description: 生日(个人:年月日)
  17071. type: string
  17072. biznature:
  17073. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17074. type: integer
  17075. bizscope:
  17076. description: 企业经营范围(企业)
  17077. type: string
  17078. biztype:
  17079. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17080. type: integer
  17081. cardbackphotourl:
  17082. description: 证件背面图片地址
  17083. type: string
  17084. cardfrontphotourl:
  17085. description: 证件正面图片地址
  17086. type: string
  17087. cardnum:
  17088. description: 证件号码(加密存储)
  17089. type: string
  17090. cardtypeid:
  17091. description: 证件类型ID
  17092. type: integer
  17093. cityid:
  17094. description: 市
  17095. type: integer
  17096. company:
  17097. description: 公司(个人)
  17098. type: string
  17099. contactcardbackphotourl:
  17100. description: 联系人证件背面图片地址
  17101. type: string
  17102. contactcardfrontphotourl:
  17103. description: 联系人证件正面图片地址
  17104. type: string
  17105. contactname:
  17106. description: 联系人
  17107. type: string
  17108. countryid:
  17109. description: 国家
  17110. type: integer
  17111. createtime:
  17112. description: 创建时间
  17113. type: string
  17114. creatorid:
  17115. description: 创建人
  17116. type: integer
  17117. creditquota:
  17118. description: 授信额度(金瑞)
  17119. type: number
  17120. customername:
  17121. description: 客户名称(企业名称)
  17122. type: string
  17123. districtid:
  17124. description: 地区
  17125. type: integer
  17126. email:
  17127. description: 邮件(加密存储)
  17128. type: string
  17129. fax:
  17130. description: 传真(加密存储)
  17131. type: string
  17132. halfbodyphotourl:
  17133. description: 半身照地址
  17134. type: string
  17135. hasencrypt:
  17136. description: 数据是否已加密 - 0:未加密 1:已加密
  17137. type: integer
  17138. headurl:
  17139. description: 头像地址
  17140. type: string
  17141. legalcardbackphotourl:
  17142. description: 法人身份证背面照地址
  17143. type: string
  17144. legalcardfrontphotourl:
  17145. description: 法人身份证正面照地址
  17146. type: string
  17147. legalpersonname:
  17148. description: 法人姓名(企业)
  17149. type: string
  17150. mobile:
  17151. description: 手机号码(加密存储)
  17152. type: string
  17153. mobile2:
  17154. description: 手机号码[明文-尚志]
  17155. type: string
  17156. modifierid:
  17157. description: 修改人
  17158. type: integer
  17159. modifiertime:
  17160. description: 修改时间
  17161. type: string
  17162. needinvoice:
  17163. description: 是否需要发票 - 0:不需要 1:需要
  17164. type: integer
  17165. nickname:
  17166. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17167. type: string
  17168. openmode:
  17169. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17170. 6:苹果手机端注册 7:PC交易端注册"
  17171. type: integer
  17172. otherurl:
  17173. description: 其它图片地址[使用分号分隔]
  17174. type: string
  17175. postalcode:
  17176. description: 邮政编码
  17177. type: string
  17178. provinceid:
  17179. description: 省
  17180. type: integer
  17181. proxystatementurl:
  17182. description: 授权委托书
  17183. type: string
  17184. qq:
  17185. description: QQ(加密存储
  17186. type: string
  17187. remark:
  17188. description: 备注
  17189. type: string
  17190. sex:
  17191. description: '用户性别 0: 女 1: 男'
  17192. type: integer
  17193. signpdfurl:
  17194. description: 签约pdf文件
  17195. type: string
  17196. taxpayernum:
  17197. description: 纳税人识别号
  17198. type: string
  17199. telphone:
  17200. description: 联系电话(加密存储)
  17201. type: string
  17202. userid:
  17203. description: 用户ID
  17204. type: integer
  17205. userinfotype:
  17206. description: 用户信息类型 - 1:个人 2:企业
  17207. type: integer
  17208. userstatus:
  17209. description: 用户状态 - 1:正常 2:注销
  17210. type: integer
  17211. usertype:
  17212. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17213. type: integer
  17214. wechat:
  17215. description: 微信(加密存储)
  17216. type: string
  17217. wskhinfo:
  17218. description: 开户申请信息(JSON)
  17219. type: string
  17220. type: object
  17221. models.WrFAProductDetail:
  17222. properties:
  17223. accountid:
  17224. description: 资金账号
  17225. type: integer
  17226. areauserid:
  17227. description: 金融机构ID
  17228. type: integer
  17229. financingdays:
  17230. description: 天数(天)
  17231. type: integer
  17232. interestminlen:
  17233. description: 最小起息天数
  17234. type: integer
  17235. interestrate:
  17236. description: 利率
  17237. type: number
  17238. interestratemode:
  17239. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17240. type: integer
  17241. interestsettlemode:
  17242. description: 结息方式 - 1:按日结息 3:按月结息
  17243. type: integer
  17244. interestsettlevalue:
  17245. description: 结息方式值
  17246. type: integer
  17247. isautoloan:
  17248. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17249. type: integer
  17250. loantag:
  17251. description: '放款标识: "放款快" 或者为空'
  17252. type: string
  17253. marginratio:
  17254. description: 保证金比率质押率 - [仓单质押]
  17255. type: number
  17256. productdetailid:
  17257. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17258. type: integer
  17259. productid:
  17260. description: 金融产品ID
  17261. type: integer
  17262. productname:
  17263. description: 产品名称
  17264. type: string
  17265. updatetime:
  17266. description: 更新时间
  17267. type: string
  17268. username:
  17269. description: 融出方
  17270. type: string
  17271. type: object
  17272. models.WrFactorTypeInfo:
  17273. properties:
  17274. deliverygoodscode:
  17275. description: 品种代码
  17276. type: string
  17277. deliverygoodsname:
  17278. description: 品种名称
  17279. type: string
  17280. dgfactoryitemid:
  17281. description: 选择项id
  17282. type: integer
  17283. dgfactoryitemtypeid:
  17284. description: 要素选择项ID (1-仓库 2-品牌)
  17285. type: integer
  17286. dgfactoryitemvalue:
  17287. description: 要素项值
  17288. type: string
  17289. itemtypename:
  17290. description: 要素项名称
  17291. type: string
  17292. optioncompare:
  17293. description: 选择比较串
  17294. type: string
  17295. warehouseid:
  17296. description: 仓库id
  17297. type: integer
  17298. wrfactortypeid:
  17299. description: 仓单要素ID
  17300. type: string
  17301. wrfactortypename:
  17302. description: 要素名称
  17303. type: string
  17304. wrfactortypename2:
  17305. description: 要素名称(不含仓库)
  17306. type: string
  17307. wrstandardcode:
  17308. description: 品类代码
  17309. type: string
  17310. wrstandardid:
  17311. description: 品类id
  17312. type: integer
  17313. wrstandardname:
  17314. description: 品类名称
  17315. type: string
  17316. type: object
  17317. models.WrFilterItem:
  17318. properties:
  17319. itemcode:
  17320. description: 代码
  17321. type: string
  17322. itemid:
  17323. description: 项id
  17324. type: integer
  17325. itemname:
  17326. description: 名称
  17327. type: string
  17328. itemtype:
  17329. description: 类型 1-品种 2-品类(商品) 3-仓库
  17330. type: integer
  17331. type: object
  17332. models.WrFinanceBuyApply:
  17333. properties:
  17334. applydate:
  17335. description: 申请时间
  17336. type: string
  17337. applystatus:
  17338. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17339. type: integer
  17340. applyuserid:
  17341. description: 申请人
  17342. type: integer
  17343. auditdate:
  17344. description: 审核时间
  17345. type: string
  17346. auditremark:
  17347. description: 审核备注
  17348. type: string
  17349. audituserid:
  17350. description: 审核人
  17351. type: integer
  17352. buyaccountid:
  17353. description: 买方资金账号
  17354. type: integer
  17355. buyorsell:
  17356. description: 买卖 - 0:买 1:卖
  17357. type: integer
  17358. buyuserid:
  17359. description: 买方用户ID
  17360. type: integer
  17361. buyusername:
  17362. description: 买方名称
  17363. type: string
  17364. buywrtradeorderid:
  17365. description: 融资方买委托单ID
  17366. type: string
  17367. deliverygoodscode:
  17368. description: 品种代码
  17369. type: string
  17370. deliverygoodsid:
  17371. description: 品种ID
  17372. type: integer
  17373. deliverygoodsname:
  17374. description: 品种名称
  17375. type: string
  17376. deliverymonth:
  17377. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17378. type: string
  17379. enumdicname:
  17380. description: 单位名称
  17381. type: string
  17382. financeaccountid:
  17383. description: 融资方资金帐户ID
  17384. type: integer
  17385. financeapplyid:
  17386. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17387. type: string
  17388. financeareauserid:
  17389. description: 融资方用户ID
  17390. type: string
  17391. financename:
  17392. description: 融出方名称
  17393. type: string
  17394. financetype:
  17395. description: 融资类型 1-融资回购
  17396. type: integer
  17397. financingdays:
  17398. description: 天数(天)
  17399. type: integer
  17400. freezebuymargin:
  17401. description: 冻结融资保证金(买方)
  17402. type: number
  17403. handleremark:
  17404. description: 处理备注
  17405. type: string
  17406. handlestatus:
  17407. description: 处理状态
  17408. type: integer
  17409. interestminlen:
  17410. description: 最小起息天数
  17411. type: integer
  17412. interestrate:
  17413. description: 利率
  17414. type: number
  17415. interestratemode:
  17416. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17417. type: integer
  17418. interestsettlemode:
  17419. description: 结息方式 - 1:按日结息 3:按月结息
  17420. type: integer
  17421. interestsettlevalue:
  17422. description: 结息方式值
  17423. type: integer
  17424. isautoloan:
  17425. description: 是否自动放款 - 0:手动 1:自动
  17426. type: integer
  17427. marginratio:
  17428. description: 保证金比率质押率 - [仓单质押]
  17429. type: number
  17430. marketid:
  17431. description: 市场ID
  17432. type: integer
  17433. minivalue:
  17434. description: 现货商品最小变动值
  17435. type: integer
  17436. optioncompare:
  17437. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17438. type: string
  17439. orderqty:
  17440. description: 委托数量(商品数量)
  17441. type: number
  17442. productdetailid:
  17443. description: 产品组合ID
  17444. type: integer
  17445. productid:
  17446. description: 金融产品ID
  17447. type: integer
  17448. productname:
  17449. description: 产品名称
  17450. type: string
  17451. remark:
  17452. description: 备注
  17453. type: string
  17454. scfcontractid:
  17455. description: 仓单回购合同ID
  17456. type: string
  17457. sellaccountid:
  17458. description: 卖方资金账号
  17459. type: integer
  17460. selluserid:
  17461. description: 卖方用户ID
  17462. type: integer
  17463. sellwrtradeorderid:
  17464. description: 卖方委托单ID
  17465. type: string
  17466. tradeamount:
  17467. description: 成交金额(借款金额)
  17468. type: number
  17469. tradedate:
  17470. description: 交易日(yyyyMMdd)
  17471. type: string
  17472. tradeprice:
  17473. description: 成交价格
  17474. type: number
  17475. warehouseid:
  17476. description: 仓库ID
  17477. type: integer
  17478. warehousename:
  17479. description: 仓库名称
  17480. type: string
  17481. wrfactortypeid:
  17482. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17483. type: string
  17484. wrfactortypename:
  17485. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17486. type: string
  17487. wrpricetype:
  17488. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  17489. type: integer
  17490. wrstandardcode:
  17491. description: 现货商品代码
  17492. type: string
  17493. wrstandardid:
  17494. description: 现货商品ID
  17495. type: integer
  17496. wrstandardname:
  17497. description: 商品名称
  17498. type: string
  17499. wrtypename:
  17500. description: 商品
  17501. type: string
  17502. type: object
  17503. models.WrFriendApply:
  17504. properties:
  17505. applicantid:
  17506. description: 申请人
  17507. type: integer
  17508. applyname:
  17509. description: 申请人名称
  17510. type: string
  17511. applysrc:
  17512. description: 申请来源 - 1:管理端 2:终端
  17513. type: integer
  17514. applystatus:
  17515. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17516. type: integer
  17517. applytime:
  17518. description: 申请时间
  17519. type: string
  17520. auditname:
  17521. description: 审核人名称
  17522. type: string
  17523. auditorid:
  17524. description: 审核人
  17525. type: integer
  17526. auditremark:
  17527. description: 审核备注
  17528. type: string
  17529. auditsrc:
  17530. description: 审核来源 - 1:管理端 2:终端
  17531. type: integer
  17532. audittime:
  17533. description: 审核时间
  17534. type: string
  17535. friendapplyid:
  17536. description: 申请ID(SEQ_FRIENDAPPLY)
  17537. type: string
  17538. friendname:
  17539. description: 好友名字(已脱敏)
  17540. type: string
  17541. frienduserid:
  17542. description: 好友用户ID
  17543. type: string
  17544. remark:
  17545. description: 备注
  17546. type: string
  17547. userid:
  17548. description: 申请人用户ID
  17549. type: integer
  17550. type: object
  17551. models.WrFtDeliveryGoods:
  17552. properties:
  17553. deliverygoodscode:
  17554. description: 品种代码
  17555. type: string
  17556. deliverygoodsid:
  17557. description: 品种ID
  17558. type: integer
  17559. deliverygoodsname:
  17560. description: 品种名称
  17561. type: string
  17562. wdlst:
  17563. description: 商品列表
  17564. items:
  17565. $ref: '#/definitions/models.WrFtWrstandard'
  17566. type: array
  17567. type: object
  17568. models.WrFtWrstandard:
  17569. properties:
  17570. enumdicname:
  17571. description: 单位名称
  17572. type: string
  17573. minivalue:
  17574. description: 最小变动值
  17575. type: integer
  17576. wrstandardcode:
  17577. description: 现货商品代码
  17578. type: string
  17579. wrstandardid:
  17580. description: 现货商品ID
  17581. type: integer
  17582. wrstandardname:
  17583. description: 商品名称
  17584. type: string
  17585. type: object
  17586. models.WrGoodsInfo:
  17587. properties:
  17588. haswr:
  17589. description: 0:仓单预售 1:仓单贸易
  17590. type: integer
  17591. lstitem:
  17592. description: 商品信息项
  17593. items:
  17594. $ref: '#/definitions/models.WrTypeItem'
  17595. type: array
  17596. lststep:
  17597. description: 履约规则
  17598. items:
  17599. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17600. type: array
  17601. marketid:
  17602. description: 市场id
  17603. type: integer
  17604. type: object
  17605. models.WrGoodsPerformanceStep:
  17606. properties:
  17607. autoid:
  17608. description: AutoID
  17609. type: integer
  17610. isauto:
  17611. description: 是否自动 - 0:不自动 1:自动
  17612. type: integer
  17613. remark:
  17614. description: 备注
  17615. type: string
  17616. stepdate:
  17617. description: 天数信息(T+N)
  17618. type: string
  17619. stepdays:
  17620. description: 距离上一步天数
  17621. type: integer
  17622. stepindex:
  17623. description: 步骤序号
  17624. type: integer
  17625. stepinfo:
  17626. description: 步骤信息(步骤名称+步骤值)
  17627. type: string
  17628. steptypeid:
  17629. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17630. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17631. type: integer
  17632. steptypename:
  17633. description: 步骤名称
  17634. type: string
  17635. stepvalue:
  17636. description: 步骤值
  17637. type: number
  17638. templateid:
  17639. description: 履约计划模板ID
  17640. type: integer
  17641. type: object
  17642. models.WrHoldLB:
  17643. properties:
  17644. accountid:
  17645. description: 持有人帐户ID
  17646. type: integer
  17647. bannerpicurl:
  17648. description: Banner图
  17649. type: string
  17650. createtime:
  17651. description: 创建时间(过户时间)
  17652. type: string
  17653. deliverygoodscode:
  17654. description: 品种代码
  17655. type: string
  17656. deliverygoodsid:
  17657. description: 品种ID
  17658. type: integer
  17659. deliverygoodsname:
  17660. description: 品种名称
  17661. type: string
  17662. enableqty:
  17663. description: 可用数量
  17664. type: number
  17665. enumdicname:
  17666. description: 单位名称
  17667. type: string
  17668. freezerqty:
  17669. description: 冻结数量
  17670. type: number
  17671. ladingbillid:
  17672. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17673. type: string
  17674. minivalue:
  17675. description: 现货商品最小变动值
  17676. type: integer
  17677. optioncompare:
  17678. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17679. type: string
  17680. parentsubnum:
  17681. description: 拆分父子单号
  17682. type: integer
  17683. pledgeqty:
  17684. description: 质押数量
  17685. type: number
  17686. qty:
  17687. description: 数量
  17688. type: number
  17689. subnum:
  17690. description: 提单子单号
  17691. type: integer
  17692. thumurls:
  17693. description: 缩略图
  17694. type: string
  17695. tradedate:
  17696. description: 交易日(yyyyMMdd)
  17697. type: string
  17698. userid:
  17699. description: 持有人ID
  17700. type: integer
  17701. warehouseid:
  17702. description: 仓库ID
  17703. type: integer
  17704. warehousename:
  17705. description: 仓库名称
  17706. type: string
  17707. wrfactortypeid:
  17708. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17709. type: string
  17710. wrfactortypename:
  17711. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17712. type: string
  17713. wrholdeno:
  17714. description: 仓单编号
  17715. type: string
  17716. wrid:
  17717. description: 仓单变更ID
  17718. type: string
  17719. wrstandardcode:
  17720. description: 现货商品代码
  17721. type: string
  17722. wrstandardid:
  17723. description: 现货商品ID
  17724. type: integer
  17725. wrstandardname:
  17726. description: 商品名称
  17727. type: string
  17728. wrtypename:
  17729. description: 商品
  17730. type: string
  17731. type: object
  17732. models.WrMarketTradeConfig:
  17733. properties:
  17734. basisdownratio:
  17735. description: 浮动价基差下限比例(仓单贸易)
  17736. type: number
  17737. basisupratio:
  17738. description: 浮动价基差上限比例(仓单贸易)
  17739. type: number
  17740. buychargealgorithm:
  17741. description: 买方手续费收取方式 1:比率 2:固定
  17742. type: integer
  17743. buychargealgorithm2:
  17744. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  17745. type: integer
  17746. buychargealgorithmvalue:
  17747. description: 买方手续费设置值(交易所部分)
  17748. type: number
  17749. buychargealgorithmvalue2:
  17750. description: 买方手续费设置值(会员部分)
  17751. type: number
  17752. buychargealgorithmvalue3:
  17753. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  17754. type: number
  17755. buychargealgorithmvalue4:
  17756. description: 回购买方手续费设置值(会员部分) --77:现货商城
  17757. type: number
  17758. buyfirstmarginalgorithm:
  17759. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  17760. type: integer
  17761. buyfirstmarginvalue:
  17762. description: 买方出价保证金设置值 - [竞拍]
  17763. type: number
  17764. buymarginalgorithm:
  17765. description: 买方保证金方式 - 1:比率 2:固定
  17766. type: integer
  17767. buymarginvalue:
  17768. description: 买方保证金设置值
  17769. type: number
  17770. buyreleaseratio:
  17771. description: 买方释放比率[2:分步履约]
  17772. type: number
  17773. executemode:
  17774. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  17775. type: integer
  17776. executeside:
  17777. description: 执行方[2:分步履约] - 1:买方 2:卖方
  17778. type: integer
  17779. failedchargealgorithm:
  17780. description: 流拍手续费收取方式 1:比率 2:固定
  17781. type: integer
  17782. failedchargevalue:
  17783. description: 流拍手续费设置值
  17784. type: number
  17785. failedchargevalue2:
  17786. description: 流拍卖方手续费设置值
  17787. type: number
  17788. holddays:
  17789. description: 合同期限[2:分步履约]
  17790. type: integer
  17791. listingmode:
  17792. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17793. type: integer
  17794. marketid:
  17795. description: 市场ID-仓单贸易、竞拍、预售
  17796. type: integer
  17797. minqty:
  17798. description: 最小执行量[2:分步履约]
  17799. type: number
  17800. modifierid:
  17801. description: 修改人
  17802. type: integer
  17803. nowrquotaflag:
  17804. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  17805. type: integer
  17806. performancetempid:
  17807. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17808. 立即执行(-1)
  17809. type: integer
  17810. performancetempid2:
  17811. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17812. 立即执行
  17813. type: integer
  17814. performancetempid2s:
  17815. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17816. - 履约方式: 立即执行
  17817. type: string
  17818. performancetempids:
  17819. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17820. - 履约方式: 立即执行(-1)
  17821. type: string
  17822. performanceway:
  17823. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  17824. type: integer
  17825. sellchargealgorithm:
  17826. description: 卖方手续费收取方式 1:比率 2:固定
  17827. type: integer
  17828. sellchargealgorithm2:
  17829. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  17830. type: integer
  17831. sellchargealgorithmvalue:
  17832. description: 卖方手续费设置值(交易所部分)
  17833. type: number
  17834. sellchargealgorithmvalue2:
  17835. description: 卖方手续费设置值(会员部分)
  17836. type: number
  17837. sellchargealgorithmvalue3:
  17838. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  17839. type: number
  17840. sellchargealgorithmvalue4:
  17841. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  17842. type: number
  17843. sellmarginalgorithm:
  17844. description: 卖方保证金方式 - 1:比率 2:固定
  17845. type: integer
  17846. sellmarginvalue:
  17847. description: 卖方保证金设置值
  17848. type: number
  17849. sellmarginvalue2:
  17850. description: 卖方保证金设置值(无仓单)
  17851. type: number
  17852. sellreleaseratio:
  17853. description: 卖方释放比率[2:分步履约]
  17854. type: number
  17855. updatetime:
  17856. description: 更新时间
  17857. type: string
  17858. type: object
  17859. models.WrOrderDetail:
  17860. properties:
  17861. accountid:
  17862. description: 交易账号(资金账号)
  17863. type: integer
  17864. allfriendsflag:
  17865. description: 是否全好友可见 - 0:否 1:是
  17866. type: integer
  17867. amount:
  17868. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  17869. type: number
  17870. bannerpicurl:
  17871. description: Banner图
  17872. type: string
  17873. begindate:
  17874. description: 开始交易日(yyyymmdd)
  17875. type: string
  17876. buyorsell:
  17877. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17878. type: integer
  17879. canbargain:
  17880. description: 是否可议价 - 0:不可 1:可
  17881. type: integer
  17882. cancelqty:
  17883. description: 撤销数量
  17884. type: number
  17885. canpart:
  17886. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  17887. type: integer
  17888. delistminqty:
  17889. description: 起摘数量
  17890. type: integer
  17891. deliverygoodscode:
  17892. description: 品种代码
  17893. type: string
  17894. deliverygoodsid:
  17895. description: 品种ID
  17896. type: integer
  17897. deliverygoodsname:
  17898. description: 品种名称
  17899. type: string
  17900. deliverymonth:
  17901. description: 交收月
  17902. type: string
  17903. enddate:
  17904. description: 结束交易日(yyyymmdd)
  17905. type: string
  17906. enumdicname:
  17907. description: 单位名称
  17908. type: string
  17909. fixedprice:
  17910. description: 固定价格 - [挂牌]
  17911. type: number
  17912. freezecharge:
  17913. description: 冻结手续费
  17914. type: number
  17915. freezemargin:
  17916. description: 冻结保证金(保证金)
  17917. type: number
  17918. futupricemove:
  17919. description: 期货升贴水
  17920. type: number
  17921. futushow:
  17922. description: 期货合约/升贴水
  17923. type: string
  17924. goodscode:
  17925. description: 期货合约
  17926. type: string
  17927. goodsid:
  17928. description: 期货商品id
  17929. type: integer
  17930. goodsname:
  17931. description: 商品名称
  17932. type: string
  17933. haswr:
  17934. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17935. type: integer
  17936. isspecified:
  17937. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  17938. type: integer
  17939. ladingbillid:
  17940. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17941. type: string
  17942. marginvalue:
  17943. description: 保证金设置值(履约保证金)
  17944. type: number
  17945. marketid:
  17946. description: 市场ID
  17947. type: integer
  17948. matchusername:
  17949. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  17950. type: string
  17951. minivalue:
  17952. description: 现货商品最小变动值
  17953. type: integer
  17954. optioncompare:
  17955. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17956. type: string
  17957. orderqty:
  17958. description: 委托数量
  17959. type: number
  17960. ordertime:
  17961. description: 委托时间(挂牌时间)
  17962. type: string
  17963. performancetemplateid:
  17964. description: 履约模板id
  17965. type: integer
  17966. pricemove:
  17967. description: 升贴水(浮动价时填写) - [挂牌]
  17968. type: number
  17969. taname:
  17970. description: 交易用户名称(资金账号名称)
  17971. type: string
  17972. thumurls:
  17973. description: 缩略图
  17974. type: string
  17975. tradedate:
  17976. description: 交易日(yyyyMMdd)
  17977. type: string
  17978. tradeprice:
  17979. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17980. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17981. type: number
  17982. tradeqty:
  17983. description: 成交数量
  17984. type: number
  17985. userid:
  17986. description: 用户ID
  17987. type: integer
  17988. validtime:
  17989. description: 挂牌有效期
  17990. type: string
  17991. validtype:
  17992. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17993. type: integer
  17994. warehouseid:
  17995. description: 仓库ID
  17996. type: integer
  17997. warehousename:
  17998. description: 仓库名称
  17999. type: string
  18000. wrfactortypeid:
  18001. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18002. type: string
  18003. wrfactortypename:
  18004. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18005. type: string
  18006. wrpricetype:
  18007. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18008. type: integer
  18009. wrstandardcode:
  18010. description: 现货商品代码
  18011. type: string
  18012. wrstandardid:
  18013. description: 现货商品ID
  18014. type: integer
  18015. wrstandardname:
  18016. description: 商品名称
  18017. type: string
  18018. wrtradeorderid:
  18019. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18020. type: string
  18021. wrtradeorderstatus:
  18022. 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:撤单解冻贷款失败
  18023. type: integer
  18024. wrtradetype:
  18025. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18026. type: integer
  18027. wrtypename:
  18028. description: 商品
  18029. type: string
  18030. type: object
  18031. models.WrOrderQuote:
  18032. properties:
  18033. bannerpicurl:
  18034. description: Banner图
  18035. type: string
  18036. buyprice:
  18037. description: 买价
  18038. type: number
  18039. buypricemove:
  18040. description: 买升贴水(基差)
  18041. type: number
  18042. buyqty:
  18043. description: 买量
  18044. type: number
  18045. deliverygoodscode:
  18046. description: 品种代码
  18047. type: string
  18048. deliverygoodsid:
  18049. description: 品种id
  18050. type: integer
  18051. deliverygoodsname:
  18052. description: 品种名称
  18053. type: string
  18054. deliverymonth:
  18055. description: 交收月
  18056. type: string
  18057. enumdicname:
  18058. description: 单位名称
  18059. type: string
  18060. goodscode:
  18061. description: 商品合约(浮动价列表才有)
  18062. type: string
  18063. goodsid:
  18064. description: 商品id(浮动价列表才有)
  18065. type: integer
  18066. minivalue:
  18067. description: 现货商品最小变动值
  18068. type: integer
  18069. pictureurls:
  18070. description: 详情图片(逗号分隔)
  18071. type: string
  18072. sellprice:
  18073. description: 卖价
  18074. type: number
  18075. sellpricemove:
  18076. description: 卖升贴水(基差)
  18077. type: number
  18078. sellqty:
  18079. description: 卖量
  18080. type: number
  18081. thumurls:
  18082. description: 缩略图片(1:1)(逗号分隔)
  18083. type: string
  18084. warehousecode:
  18085. description: 仓库代码
  18086. type: string
  18087. warehouseid:
  18088. description: 仓库id
  18089. type: integer
  18090. warehousename:
  18091. description: 仓库名称
  18092. type: string
  18093. wrfactortypeid:
  18094. description: 仓单要素id
  18095. type: string
  18096. wrfactortypename:
  18097. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18098. type: string
  18099. wrgoodsname:
  18100. description: 商品(商品名称+仓库要素名称 拼接)
  18101. type: string
  18102. wrstandardcode:
  18103. description: 商品代码
  18104. type: string
  18105. wrstandardid:
  18106. description: 商品id
  18107. type: integer
  18108. wrstandardname:
  18109. description: 商品名称
  18110. type: string
  18111. type: object
  18112. models.WrOrderQuoteDetail:
  18113. properties:
  18114. buyorsell:
  18115. description: 买卖 - 0:买 1:卖
  18116. type: integer
  18117. delistminqty:
  18118. description: 起摘数量
  18119. type: number
  18120. deliverymonth:
  18121. description: 交收月
  18122. type: string
  18123. enumdicname:
  18124. description: 单位名称
  18125. type: string
  18126. fixedprice:
  18127. description: 买(卖)价
  18128. type: number
  18129. marketid:
  18130. description: 市场id
  18131. type: integer
  18132. minivalue:
  18133. description: 现货商品最小变动值
  18134. type: integer
  18135. orderqty:
  18136. description: 买(卖)量(=委托量-成交量)
  18137. type: number
  18138. ordertime:
  18139. description: 委托时间
  18140. type: string
  18141. pricemove:
  18142. description: 买(卖)升贴水- 基差
  18143. type: number
  18144. userid:
  18145. description: 购买方(销售方)用户ID
  18146. type: integer
  18147. username:
  18148. description: 购买方(销售方)
  18149. type: string
  18150. wrtradeorderid:
  18151. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18152. type: string
  18153. type: object
  18154. models.WrOutInApply:
  18155. properties:
  18156. applyid:
  18157. description: 申请单id
  18158. type: string
  18159. applystatus:
  18160. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18161. 8:已撤销
  18162. type: integer
  18163. applytime:
  18164. description: 申请时间
  18165. type: string
  18166. applytype:
  18167. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18168. type: integer
  18169. bannerpicurl:
  18170. description: Banner图
  18171. type: string
  18172. begindate:
  18173. description: 开始交易日(yyyymmdd)
  18174. type: string
  18175. deliverygoodscode:
  18176. description: 品种代码
  18177. type: string
  18178. deliverygoodsid:
  18179. description: 品种ID
  18180. type: integer
  18181. deliverygoodsname:
  18182. description: 品种名称
  18183. type: string
  18184. enddate:
  18185. description: 结束交易日(yyyymmdd)
  18186. type: string
  18187. enumdicname:
  18188. description: 单位名称
  18189. type: string
  18190. expresscompany:
  18191. description: 物流公司
  18192. type: string
  18193. expressnum:
  18194. description: 物流单号
  18195. type: string
  18196. minivalue:
  18197. description: 现货商品最小变动值
  18198. type: integer
  18199. optioncompare:
  18200. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18201. type: string
  18202. qty:
  18203. description: 数量
  18204. type: integer
  18205. userid:
  18206. description: 用户id
  18207. type: integer
  18208. warehouseid:
  18209. description: 仓库ID
  18210. type: integer
  18211. warehousename:
  18212. description: 仓库名称
  18213. type: string
  18214. wrfactortypeid:
  18215. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18216. type: string
  18217. wrfactortypename:
  18218. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18219. type: string
  18220. wrstandardcode:
  18221. description: 现货商品代码
  18222. type: string
  18223. wrstandardid:
  18224. description: 现货商品ID
  18225. type: integer
  18226. wrstandardname:
  18227. description: 商品名称
  18228. type: string
  18229. wrtypename:
  18230. description: 商品
  18231. type: string
  18232. type: object
  18233. models.WrPerformancePlan:
  18234. properties:
  18235. activatemonth:
  18236. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18237. type: string
  18238. amount:
  18239. description: 履约金额(总金额)
  18240. type: number
  18241. begindate:
  18242. description: 开始交易日(yyyymmdd)
  18243. type: string
  18244. buyaccountid:
  18245. description: 买方账号
  18246. type: integer
  18247. buyerfreezeamount:
  18248. description: 履约冻结(买履约)
  18249. type: number
  18250. buyerfreezeamountremain:
  18251. description: 履约冻结剩余(买履约)
  18252. type: number
  18253. buyorsell:
  18254. description: 买卖方向 0-买 1-卖
  18255. type: integer
  18256. buypaidamount:
  18257. description: 买方已冻/已扣金额 (已付金额)
  18258. type: number
  18259. buyusername:
  18260. description: 买方名字
  18261. type: string
  18262. contractid:
  18263. description: 合同ID
  18264. type: integer
  18265. createtime:
  18266. description: 创建时间
  18267. type: string
  18268. creatorid:
  18269. description: 创建人
  18270. type: integer
  18271. curstepdeadline:
  18272. description: 当前步骤到期时间
  18273. type: string
  18274. curstepid:
  18275. description: 当前步骤ID
  18276. type: string
  18277. curstepname:
  18278. description: 当前步骤名称
  18279. type: string
  18280. deliverygoodscode:
  18281. description: 品种代码
  18282. type: string
  18283. deliverygoodsid:
  18284. description: 品种ID
  18285. type: integer
  18286. deliverygoodsname:
  18287. description: 品种名称
  18288. type: string
  18289. enddate:
  18290. description: 结束交易日(yyyymmdd)
  18291. type: string
  18292. enumdicname:
  18293. description: 单位名称
  18294. type: string
  18295. expressfee:
  18296. description: 运费
  18297. type: number
  18298. expressfeeconfirmed:
  18299. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18300. type: integer
  18301. hasovershort:
  18302. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18303. type: integer
  18304. haswr:
  18305. description: 类型 0-仓单预售 1-仓单贸易
  18306. type: integer
  18307. marketid:
  18308. description: 市场ID
  18309. type: integer
  18310. middleaccountid:
  18311. description: 中间商资金账号ID
  18312. type: integer
  18313. middleuserid:
  18314. description: 中间商用户ID
  18315. type: integer
  18316. minivalue:
  18317. description: 现货商品最小变动值
  18318. type: integer
  18319. optioncompare:
  18320. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18321. type: string
  18322. overshortamount:
  18323. description: 溢短金额
  18324. type: number
  18325. overshortqty:
  18326. description: 溢短数量
  18327. type: number
  18328. paymenttype:
  18329. description: 付款方式 - 1:冻结 2:扣款
  18330. type: integer
  18331. performanceplanid:
  18332. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18333. type: string
  18334. performancestatus:
  18335. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18336. 9:超时待处理 10:超时关闭
  18337. type: integer
  18338. performancetype:
  18339. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18340. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18341. type: integer
  18342. qty:
  18343. description: 履约数量
  18344. type: number
  18345. relatedorderid:
  18346. description: 关联单号(履约类型的关联单号)
  18347. type: string
  18348. remark:
  18349. description: 备注
  18350. type: string
  18351. sellaccountid:
  18352. description: 卖方账号
  18353. type: integer
  18354. sellerfreezeamount:
  18355. description: 履约冻结(卖履约)
  18356. type: number
  18357. sellerfreezeamountremain:
  18358. description: 履约冻结剩余(卖履约)
  18359. type: number
  18360. sellreceivedamount:
  18361. description: 卖方已收金额
  18362. type: number
  18363. sellusername:
  18364. description: 卖方名字
  18365. type: string
  18366. shipremark:
  18367. description: 发货备注[物流单号]
  18368. type: string
  18369. starttime:
  18370. description: 开始时间
  18371. type: string
  18372. steptypeid:
  18373. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18374. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18375. type: integer
  18376. typename:
  18377. description: 履约类型 名称
  18378. type: string
  18379. unpaidamount:
  18380. description: 剩余款(待支付金额)
  18381. type: number
  18382. userid:
  18383. description: 用户id
  18384. type: integer
  18385. warehouseid:
  18386. description: 仓库ID
  18387. type: integer
  18388. warehousename:
  18389. description: 仓库名称
  18390. type: string
  18391. wrfactortypeid:
  18392. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18393. type: string
  18394. wrfactortypename:
  18395. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18396. type: string
  18397. wrstandardcode:
  18398. description: 现货商品代码
  18399. type: string
  18400. wrstandardid:
  18401. description: 现货商品ID
  18402. type: integer
  18403. wrstandardname:
  18404. description: 商品名称
  18405. type: string
  18406. wrtransferuserid:
  18407. description: 仓单受让用户
  18408. type: integer
  18409. wrtypename:
  18410. description: 商品
  18411. type: string
  18412. required:
  18413. - userid
  18414. type: object
  18415. models.WrPerformancePlanStep:
  18416. properties:
  18417. delaydays:
  18418. description: 延期申请天数
  18419. type: integer
  18420. deliverygoodscode:
  18421. description: 品种代码
  18422. type: string
  18423. deliverygoodsid:
  18424. description: 品种ID
  18425. type: integer
  18426. deliverygoodsname:
  18427. description: 品种名称
  18428. type: string
  18429. endtime:
  18430. description: 结束日期
  18431. type: string
  18432. enumdicname:
  18433. description: 单位名称
  18434. type: string
  18435. executeside:
  18436. description: 步骤执行方 - 1:买方 2:卖方
  18437. type: integer
  18438. handlestatus:
  18439. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18440. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18441. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18442. type: integer
  18443. isauto:
  18444. description: 是否自动 - 0:不自动 1:自动
  18445. type: integer
  18446. islastreceivestep:
  18447. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18448. type: integer
  18449. minivalue:
  18450. description: 现货商品最小变动值
  18451. type: integer
  18452. optioncompare:
  18453. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18454. type: string
  18455. overdays:
  18456. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18457. type: integer
  18458. performancestepid:
  18459. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18460. type: string
  18461. planid:
  18462. description: 所属履约计划ID
  18463. type: string
  18464. realamount:
  18465. description: 实际完成金额
  18466. type: number
  18467. relatedorderid:
  18468. description: 关联单号
  18469. type: string
  18470. remaindays:
  18471. description: 剩余天数
  18472. type: integer
  18473. remark:
  18474. description: 错误备注
  18475. type: string
  18476. starttime:
  18477. description: 开始日期
  18478. type: string
  18479. stepamount:
  18480. description: 步骤金额
  18481. type: number
  18482. stepdays:
  18483. description: 距离上一步天数(分钟)
  18484. type: integer
  18485. stepindex:
  18486. description: 步骤序号
  18487. type: integer
  18488. steplanchtype:
  18489. description: 步骤启动类型 - 1:系统自动 2:手动
  18490. type: integer
  18491. stepremark:
  18492. description: 步骤备注
  18493. type: string
  18494. stepstatus:
  18495. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  18496. type: integer
  18497. steptypeid:
  18498. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18499. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18500. type: integer
  18501. steptypename:
  18502. description: 步骤名称
  18503. type: string
  18504. stepvalue:
  18505. description: 步骤值
  18506. type: number
  18507. warehouseid:
  18508. description: 仓库ID
  18509. type: integer
  18510. warehousename:
  18511. description: 仓库名称
  18512. type: string
  18513. wrfactortypeid:
  18514. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18515. type: string
  18516. wrfactortypename:
  18517. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18518. type: string
  18519. wrstandardcode:
  18520. description: 现货商品代码
  18521. type: string
  18522. wrstandardid:
  18523. description: 现货商品ID
  18524. type: integer
  18525. wrstandardname:
  18526. description: 商品名称
  18527. type: string
  18528. wrtypename:
  18529. description: 商品
  18530. type: string
  18531. type: object
  18532. models.WrPerformanceStepType:
  18533. properties:
  18534. canauto:
  18535. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  18536. type: integer
  18537. steptypeid:
  18538. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  18539. type: integer
  18540. steptypename:
  18541. description: 步骤类型名称
  18542. type: string
  18543. type: object
  18544. models.WrPerformanceTemplateEx:
  18545. properties:
  18546. autoid:
  18547. description: AutoID 模板id
  18548. type: integer
  18549. createtime:
  18550. description: 创建时间
  18551. type: string
  18552. creatorid:
  18553. description: 创建人
  18554. type: integer
  18555. lstStep:
  18556. description: 步骤信息列表
  18557. items:
  18558. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18559. type: array
  18560. paymenttype:
  18561. description: 支付方式 - 1:冻结 2:扣款
  18562. type: integer
  18563. takemode:
  18564. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  18565. type: integer
  18566. templatename:
  18567. description: 模板名称
  18568. type: string
  18569. templatetype:
  18570. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  18571. (无仓单) 5:挂牌期权 6:竞拍-降价式
  18572. type: integer
  18573. userid:
  18574. description: 所属用户
  18575. type: integer
  18576. type: object
  18577. models.WrPosition:
  18578. properties:
  18579. accountid:
  18580. description: 帐户ID
  18581. type: integer
  18582. buyexcuteqty:
  18583. description: 采购履约中数量
  18584. type: number
  18585. creditcurqty:
  18586. description: 授信当前数量(预售仓单:预售当前量)
  18587. type: number
  18588. creditenableqty:
  18589. description: '授信可用数量(预售仓单: 可用数量)'
  18590. type: number
  18591. creditfreezeqty:
  18592. description: '授信冻结数量(预售仓单: 当前数量)'
  18593. type: number
  18594. credittotalqty:
  18595. description: 授信总数量(预售仓单:预售总量)
  18596. type: number
  18597. credittradeqty:
  18598. description: 授信成交数量(预售仓单:成交总量)
  18599. type: number
  18600. deliverygoodscode:
  18601. description: 品种代码
  18602. type: string
  18603. deliverygoodsid:
  18604. description: 品种ID
  18605. type: integer
  18606. deliverygoodsname:
  18607. description: 品种名称
  18608. type: string
  18609. enalbeqty:
  18610. description: 可用数量
  18611. type: number
  18612. enumdicname:
  18613. description: 单位名称
  18614. type: string
  18615. freezeqty:
  18616. description: 总冻结数量
  18617. type: number
  18618. haswr:
  18619. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18620. type: integer
  18621. minivalue:
  18622. description: 现货商品最小变动值
  18623. type: integer
  18624. modifytime:
  18625. description: 修改时间(过户时间)
  18626. type: string
  18627. optioncompare:
  18628. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18629. type: string
  18630. pledgeqty:
  18631. description: 质押数量
  18632. type: number
  18633. querytype:
  18634. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  18635. type: integer
  18636. sellexcuteqty:
  18637. description: 销售履约中数量
  18638. type: number
  18639. totalqty:
  18640. description: 总数量(库存数量)
  18641. type: number
  18642. warehouseid:
  18643. description: 仓库ID
  18644. type: integer
  18645. warehousename:
  18646. description: 仓库名称
  18647. type: string
  18648. wrfactortypeid:
  18649. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18650. type: string
  18651. wrfactortypename:
  18652. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18653. type: string
  18654. wrpositionid:
  18655. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18656. type: string
  18657. wrpositionno:
  18658. description: 仓单编号
  18659. type: string
  18660. wrstandardcode:
  18661. description: 现货商品代码
  18662. type: string
  18663. wrstandardid:
  18664. description: 现货商品ID
  18665. type: integer
  18666. wrstandardname:
  18667. description: 商品名称
  18668. type: string
  18669. wrtypename:
  18670. description: 商品
  18671. type: string
  18672. wruserid:
  18673. description: 持有人ID
  18674. type: integer
  18675. type: object
  18676. models.WrPreSaleInfo:
  18677. properties:
  18678. bannerpicurl:
  18679. description: Banner图
  18680. type: string
  18681. baseqty:
  18682. description: 中签基数
  18683. type: number
  18684. createtime:
  18685. description: 创建时间
  18686. type: string
  18687. deliverygoodsid:
  18688. description: 现货品种ID
  18689. type: integer
  18690. enddate:
  18691. description: 预售结束日期
  18692. type: string
  18693. enumdicname:
  18694. description: 单位名称
  18695. type: string
  18696. lotteryflag:
  18697. description: 摇号标识 - 0:未摇号 1:已摇号
  18698. type: integer
  18699. lotteryqty:
  18700. description: 摇号总量
  18701. type: number
  18702. luckyqty:
  18703. description: 已中签量
  18704. type: number
  18705. marketid:
  18706. description: 市场ID
  18707. type: integer
  18708. maxbuyqty:
  18709. description: 单人最大申购量
  18710. type: number
  18711. maxluckyqty:
  18712. description: 单人最大中签量
  18713. type: number
  18714. pictureurls:
  18715. description: 详情图片(逗号分隔)
  18716. type: string
  18717. placeqty:
  18718. description: 已配售量
  18719. type: number
  18720. presaleapplyid:
  18721. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18722. example: "0"
  18723. type: string
  18724. presaleqty:
  18725. description: 预售总量
  18726. type: number
  18727. presalestatus:
  18728. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  18729. type: integer
  18730. sellaccountid:
  18731. description: 发行方资金账户ID
  18732. type: integer
  18733. selluserid:
  18734. description: 发行方用户ID
  18735. type: integer
  18736. sellwrtradeorderid:
  18737. description: 发行方卖委托单ID
  18738. type: string
  18739. startdate:
  18740. description: 预售开始日期
  18741. type: string
  18742. takestartdate:
  18743. description: 提货开始日期
  18744. type: string
  18745. thumurls:
  18746. description: 缩略图片(1:1)(逗号分隔)
  18747. type: string
  18748. tradedate:
  18749. description: 交易日
  18750. type: string
  18751. unitid:
  18752. description: 单位ID
  18753. type: integer
  18754. unitprice:
  18755. description: 商品单价
  18756. type: number
  18757. username:
  18758. description: 发行方用户名称
  18759. type: string
  18760. warehousecode:
  18761. description: 仓库代码(仓库简称)
  18762. type: string
  18763. warehouseid:
  18764. description: 仓库ID
  18765. type: integer
  18766. warehousename:
  18767. description: 仓库名称
  18768. type: string
  18769. wrfactortypeid:
  18770. description: 仓单要素类型ID - 根据现货商品\仓库生成
  18771. example: "0"
  18772. type: string
  18773. wrstandardid:
  18774. description: 现货商品ID
  18775. type: integer
  18776. wrstandardname:
  18777. description: 现货商品名称
  18778. type: string
  18779. type: object
  18780. models.WrQuoteOrderMyq:
  18781. properties:
  18782. buyorsell:
  18783. description: 买卖 - 0:买 1:卖
  18784. type: integer
  18785. canbargain:
  18786. description: 是否可议价 - 0:不可 1:可
  18787. type: integer
  18788. canpart:
  18789. description: 是否允许部份摘牌 - 0:不允许 1:允许
  18790. type: integer
  18791. delistminqty:
  18792. description: 起摘数量
  18793. type: number
  18794. deliverygoodscode:
  18795. description: 品种代码
  18796. type: string
  18797. deliverygoodsid:
  18798. description: 品种ID
  18799. type: integer
  18800. deliverygoodsname:
  18801. description: 品种名称
  18802. type: string
  18803. deliverymonth:
  18804. description: 交收月
  18805. type: string
  18806. enumdicname:
  18807. description: 单位名称
  18808. type: string
  18809. fixedprice:
  18810. description: 买(卖)价
  18811. type: number
  18812. goodscode:
  18813. description: 商品合约代码
  18814. type: string
  18815. marginflag:
  18816. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  18817. type: integer
  18818. marginvalue:
  18819. description: 保证金设置值
  18820. type: number
  18821. minivalue:
  18822. description: 现货商品最小变动值
  18823. type: integer
  18824. orderqty:
  18825. description: 买(卖)量(=委托量-成交量)
  18826. type: number
  18827. ordertime:
  18828. description: 委托时间
  18829. type: string
  18830. performancetemplateid:
  18831. description: 履约模板id
  18832. type: integer
  18833. pricemove:
  18834. description: 买(卖)升贴水- 基差
  18835. type: number
  18836. templatename:
  18837. description: 履约模板名称
  18838. type: string
  18839. userid:
  18840. description: 购买方(销售方)用户ID
  18841. type: integer
  18842. username:
  18843. description: 购买方(销售方)
  18844. type: string
  18845. validtime:
  18846. description: 有效期限
  18847. type: string
  18848. validtype:
  18849. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18850. type: integer
  18851. warehousename:
  18852. description: 仓库名称
  18853. type: string
  18854. wrfactortypeid:
  18855. description: 仓单要素id
  18856. type: string
  18857. wrstandardcode:
  18858. description: 现货商品代码
  18859. type: string
  18860. wrstandardid:
  18861. description: 现货商品ID
  18862. type: integer
  18863. wrstandardname:
  18864. description: 商品名称
  18865. type: string
  18866. wrtradeorderid:
  18867. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18868. type: string
  18869. wrtypename:
  18870. description: 商品
  18871. type: string
  18872. type: object
  18873. models.WrReckonSpotGoodsTradeSum:
  18874. properties:
  18875. begindate:
  18876. description: 开始日期(结果含开始日期) yyyymmdd
  18877. type: string
  18878. enddate:
  18879. description: 结束日期(结果含结束日期) yyyymmdd
  18880. type: string
  18881. istoday:
  18882. description: 是否当日
  18883. type: boolean
  18884. marketid:
  18885. description: 市场ID
  18886. type: integer
  18887. price:
  18888. description: 价格 = 日成交金额 / 日成交数量
  18889. type: string
  18890. reckondate:
  18891. description: 日期 格式 yyyymmdd
  18892. type: string
  18893. tradeamount:
  18894. description: 日成交金额(当日单方向成交金额)
  18895. type: number
  18896. tradeqty:
  18897. description: 日成交数量(当日单方向成交数量)
  18898. type: number
  18899. wrstandardid:
  18900. description: 现货商品ID
  18901. type: integer
  18902. type: object
  18903. models.WrScfContract:
  18904. properties:
  18905. borroweruserid:
  18906. description: 借款用户ID
  18907. type: integer
  18908. buybackwrpositionqty:
  18909. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  18910. type: number
  18911. closeinterest:
  18912. description: 已结利息 -> 已结费用
  18913. type: number
  18914. currisklevel:
  18915. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  18916. type: integer
  18917. deadline:
  18918. description: 截止日期(yyyyMMdd) -> 借款到期时间
  18919. type: string
  18920. deliverygoodscode:
  18921. description: 品种代码
  18922. type: string
  18923. deliverygoodsid:
  18924. description: 品种ID
  18925. type: integer
  18926. deliverygoodsname:
  18927. description: 品种名称
  18928. type: string
  18929. enumdicname:
  18930. description: 单位名称
  18931. type: string
  18932. financingdays:
  18933. description: 天数(天)
  18934. type: integer
  18935. initmargin:
  18936. description: 保证金 - [仓单回购]
  18937. type: number
  18938. interestamount:
  18939. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  18940. type: number
  18941. interestdebt:
  18942. description: 利息欠款(记录负数) -> 费用欠款
  18943. type: number
  18944. interestminlen:
  18945. description: 最小起息天数
  18946. type: integer
  18947. interestrate:
  18948. description: 利率
  18949. type: number
  18950. interestratemode:
  18951. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18952. type: integer
  18953. interestsettlemode:
  18954. description: 结息方式 - 1:按日结息 3:按月结息
  18955. type: integer
  18956. interestsettlevalue:
  18957. description: 结息方式值
  18958. type: integer
  18959. isautoloan:
  18960. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  18961. type: integer
  18962. lastcloseinterestday:
  18963. description: 最近结息日(yyyyMMdd)
  18964. type: string
  18965. lenderamount:
  18966. description: 贷款金额 -> 借款金额
  18967. type: number
  18968. lenderuserid:
  18969. description: 贷款方用户ID -> 融出方用户ID
  18970. type: integer
  18971. lenderusername:
  18972. description: 融出方
  18973. type: string
  18974. marginratio:
  18975. description: 保证金比率质押率 - [仓单质押]
  18976. type: number
  18977. marketid:
  18978. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  18979. type: integer
  18980. minivalue:
  18981. description: 现货商品最小变动值
  18982. type: integer
  18983. optioncompare:
  18984. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18985. type: string
  18986. pricemove:
  18987. description: 估值升贴水值
  18988. type: number
  18989. productdetailid:
  18990. description: 产品组合ID
  18991. type: integer
  18992. productid:
  18993. description: 金融产品ID
  18994. type: integer
  18995. productname:
  18996. description: 产品名称
  18997. type: string
  18998. remainamount:
  18999. description: 合同剩余金额 -> 剩余金额
  19000. type: number
  19001. remainwrpositionqty:
  19002. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  19003. type: number
  19004. remark:
  19005. description: 备注
  19006. type: string
  19007. scfcontractid:
  19008. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  19009. type: string
  19010. scfcontractstatus:
  19011. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  19012. 9:违约结束 10:已注销 11:已关闭 99:未提交
  19013. type: integer
  19014. scfcontracttype:
  19015. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  19016. type: integer
  19017. startinterestday:
  19018. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  19019. type: string
  19020. totalinterest:
  19021. description: 已计利息 -> 已计费用
  19022. type: number
  19023. unpaidinterest:
  19024. description: 未结费用
  19025. type: number
  19026. updatetime:
  19027. description: 更新时间
  19028. type: string
  19029. warehouseid:
  19030. description: 仓库ID
  19031. type: integer
  19032. warehousename:
  19033. description: 仓库名称
  19034. type: string
  19035. wrfactortypeid:
  19036. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19037. type: string
  19038. wrfactortypename:
  19039. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19040. type: string
  19041. wrqty:
  19042. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  19043. type: number
  19044. wrstandardcode:
  19045. description: 现货商品代码
  19046. type: string
  19047. wrstandardid:
  19048. description: 现货商品ID
  19049. type: integer
  19050. wrstandardname:
  19051. description: 商品名称
  19052. type: string
  19053. wrtypename:
  19054. description: 商品
  19055. type: string
  19056. type: object
  19057. models.WrScfContractInterest:
  19058. properties:
  19059. closeinterest:
  19060. description: 已结利息
  19061. type: number
  19062. closeintereststatus:
  19063. description: 结息状态 - 1:未结 2:已结
  19064. type: integer
  19065. closetime:
  19066. description: 结息时间
  19067. type: string
  19068. closetradedate:
  19069. description: 结息交易日
  19070. type: string
  19071. creatorid:
  19072. description: 操作人ID
  19073. type: integer
  19074. dayrate:
  19075. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  19076. type: number
  19077. interest:
  19078. description: 利息
  19079. type: number
  19080. interestamount:
  19081. description: 计息金额
  19082. type: number
  19083. interestday:
  19084. description: 计息日(yyyyMMdd)
  19085. type: string
  19086. scfcontractid:
  19087. description: SCF合同ID
  19088. type: string
  19089. scfcontractinterestid:
  19090. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19091. type: integer
  19092. updatetime:
  19093. description: 更新时间
  19094. type: string
  19095. type: object
  19096. models.WrSearchUser:
  19097. properties:
  19098. userid:
  19099. description: 用户ID
  19100. type: integer
  19101. username:
  19102. description: 用户名称(已脱敏)
  19103. type: string
  19104. username2:
  19105. description: 用户名称(未脱敏)
  19106. type: string
  19107. usertype:
  19108. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19109. type: integer
  19110. required:
  19111. - username
  19112. type: object
  19113. models.WrSiteColumnDetail:
  19114. properties:
  19115. brief:
  19116. description: 简介
  19117. type: string
  19118. context:
  19119. description: 内容
  19120. type: string
  19121. coverimage:
  19122. description: 封面图片
  19123. type: string
  19124. creaedate:
  19125. description: 创建时间
  19126. type: string
  19127. id:
  19128. description: ID(SEQ_SITE_COLUMNDETAIL)
  19129. type: integer
  19130. istop:
  19131. description: 是否置顶 - 0:不置 1:置顶
  19132. type: integer
  19133. publishdate:
  19134. description: 发布日期
  19135. type: string
  19136. title:
  19137. description: 标题
  19138. type: string
  19139. updatedate:
  19140. description: 修改时间
  19141. type: string
  19142. type: object
  19143. models.WrSpecialMatchOrder:
  19144. properties:
  19145. amount:
  19146. description: 金额 = 数量 * 价格
  19147. type: number
  19148. buyorsell:
  19149. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19150. type: integer
  19151. cancelqty:
  19152. description: 撤销数量
  19153. type: number
  19154. deliverygoodscode:
  19155. description: 品种代码
  19156. type: string
  19157. deliverygoodsid:
  19158. description: 品种ID
  19159. type: integer
  19160. deliverygoodsname:
  19161. description: 品种名称
  19162. type: string
  19163. enumdicname:
  19164. description: 单位名称
  19165. type: string
  19166. fixedprice:
  19167. description: 固定价格(价格)
  19168. type: number
  19169. haswr:
  19170. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19171. type: integer
  19172. isspecified:
  19173. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19174. type: integer
  19175. marketid:
  19176. description: 市场ID
  19177. type: integer
  19178. matchuserid:
  19179. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19180. type: integer
  19181. matchusername:
  19182. description: 指定方
  19183. type: string
  19184. minivalue:
  19185. description: 现货商品最小变动值
  19186. type: integer
  19187. optioncompare:
  19188. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19189. type: string
  19190. orderqty:
  19191. description: 委托数量
  19192. type: number
  19193. ordertime:
  19194. description: 委托时间
  19195. type: string
  19196. pricemove:
  19197. description: 升贴水(浮动价时填写) - [挂牌]
  19198. type: number
  19199. tradedate:
  19200. description: 交易日(yyyyMMdd)
  19201. type: string
  19202. tradeprice:
  19203. description: 成交价格
  19204. type: number
  19205. tradeqty:
  19206. description: 成交数量
  19207. type: number
  19208. userid:
  19209. description: 用户ID
  19210. type: integer
  19211. username:
  19212. description: 发起方
  19213. type: string
  19214. warehouseid:
  19215. description: 仓库ID
  19216. type: integer
  19217. warehousename:
  19218. description: 仓库名称
  19219. type: string
  19220. wrfactortypeid:
  19221. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19222. type: string
  19223. wrfactortypename:
  19224. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19225. type: string
  19226. wrpricetype:
  19227. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19228. type: integer
  19229. wrstandardcode:
  19230. description: 现货商品代码
  19231. type: string
  19232. wrstandardid:
  19233. description: 现货商品ID
  19234. type: integer
  19235. wrstandardname:
  19236. description: 商品名称
  19237. type: string
  19238. wrtradeorderid:
  19239. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19240. type: string
  19241. wrtradeorderstatus:
  19242. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19243. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19244. type: integer
  19245. wrtradetype:
  19246. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19247. type: integer
  19248. wrtypename:
  19249. description: 商品
  19250. type: string
  19251. type: object
  19252. models.WrSpotGroupTradeSum:
  19253. properties:
  19254. deliverygoodscode:
  19255. description: 现货品种代码
  19256. type: string
  19257. deliverygoodsid:
  19258. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19259. type: integer
  19260. deliverygoodsname:
  19261. description: 现货品种名称
  19262. type: string
  19263. lastavgprice:
  19264. description: 上上个交易日价格(前2天价格)
  19265. type: string
  19266. lastreckondate:
  19267. description: 上上个交易日(前2天交易日)
  19268. type: string
  19269. reckondate:
  19270. description: 上个交易日(前1天交易日)
  19271. type: string
  19272. todayavgprice:
  19273. description: 上个交易日价格(前1天价格)
  19274. type: string
  19275. updown:
  19276. description: 涨跌
  19277. type: string
  19278. updownratio:
  19279. description: 涨幅(已格式化, 直接显示即可)
  19280. type: string
  19281. type: object
  19282. models.WrSpotGroupTradeSumDetail:
  19283. properties:
  19284. deliverygoodsid:
  19285. description: 现货商品id
  19286. type: integer
  19287. price:
  19288. description: 价格
  19289. type: number
  19290. reckondate:
  19291. description: 日期(yyymmdd, 如:20211031)
  19292. type: string
  19293. type: object
  19294. models.WrSpotGroupTradeSumEx:
  19295. properties:
  19296. lst:
  19297. description: 指数列表
  19298. items:
  19299. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19300. type: array
  19301. prereckondate:
  19302. description: 上上个交易日(yyymmdd)
  19303. type: string
  19304. reckondate:
  19305. description: 上个交易日(yyyymmdd)
  19306. type: string
  19307. type: object
  19308. models.WrStandardFactoryItem:
  19309. properties:
  19310. dgfactoryitemid:
  19311. description: 选择项id
  19312. type: integer
  19313. dgfactoryitemvalue:
  19314. description: 要素项值
  19315. type: string
  19316. warehouseid:
  19317. description: 仓库id
  19318. type: integer
  19319. type: object
  19320. models.WrStandardFactoryItemEx:
  19321. properties:
  19322. dgfactoryitemtypeid:
  19323. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19324. type: integer
  19325. itemlst:
  19326. description: 要素项列表
  19327. items:
  19328. $ref: '#/definitions/models.WrStandardFactoryItem'
  19329. type: array
  19330. itemtypename:
  19331. description: 要素项类型名称
  19332. type: string
  19333. wrstandardid:
  19334. description: 品类
  19335. type: integer
  19336. type: object
  19337. models.WrTradeDetail:
  19338. properties:
  19339. accountid:
  19340. description: 资金账号
  19341. type: integer
  19342. bannerpicurl:
  19343. description: Banner图
  19344. type: string
  19345. begindate:
  19346. description: 开始交易日(yyyymmdd)
  19347. type: string
  19348. buyorsell:
  19349. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19350. type: integer
  19351. chargevalue:
  19352. description: 手续费
  19353. type: number
  19354. deliverygoodscode:
  19355. description: 品种代码
  19356. type: string
  19357. deliverygoodsid:
  19358. description: 品种ID
  19359. type: integer
  19360. deliverygoodsname:
  19361. description: 品种名称
  19362. type: string
  19363. deliverymonth:
  19364. description: 交收月
  19365. type: string
  19366. enddate:
  19367. description: 结束交易日(yyyymmdd)
  19368. type: string
  19369. enumdicname:
  19370. description: 单位名称
  19371. type: string
  19372. haswr:
  19373. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19374. type: integer
  19375. marketid:
  19376. description: 市场ID
  19377. type: integer
  19378. matchaccountid:
  19379. description: 对手账号
  19380. type: integer
  19381. matchusername:
  19382. description: 对手方
  19383. type: string
  19384. minivalue:
  19385. description: 现货商品最小变动值
  19386. type: integer
  19387. optioncompare:
  19388. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19389. type: string
  19390. thumurls:
  19391. description: 缩略图
  19392. type: string
  19393. tradedate:
  19394. description: 交易日(yyyyMMdd)
  19395. type: string
  19396. tradeprice:
  19397. description: 成交价格
  19398. type: number
  19399. tradeqty:
  19400. description: 成交数量
  19401. type: number
  19402. tradetime:
  19403. description: 成交时间
  19404. type: string
  19405. userid:
  19406. description: 用户ID
  19407. type: integer
  19408. warehouseid:
  19409. description: 仓库ID
  19410. type: integer
  19411. warehousename:
  19412. description: 仓库名称
  19413. type: string
  19414. wrfactortypeid:
  19415. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19416. type: string
  19417. wrfactortypename:
  19418. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19419. type: string
  19420. wrstandardcode:
  19421. description: 现货商品代码
  19422. type: string
  19423. wrstandardid:
  19424. description: 现货商品ID
  19425. type: integer
  19426. wrstandardname:
  19427. description: 商品名称
  19428. type: string
  19429. wrtradedetailid:
  19430. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19431. type: string
  19432. wrtradetype:
  19433. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19434. type: integer
  19435. wrtypename:
  19436. description: 商品
  19437. type: string
  19438. type: object
  19439. models.WrTradeOrderDetail:
  19440. properties:
  19441. buyorsell:
  19442. description: 买卖方向 0-买 1-卖
  19443. type: integer
  19444. goodsid:
  19445. description: 商品id
  19446. type: integer
  19447. orderid:
  19448. description: 委托单号
  19449. type: string
  19450. orderprice:
  19451. description: 委托价格
  19452. type: number
  19453. orderqty:
  19454. description: 委托数量
  19455. type: integer
  19456. userid:
  19457. description: 用户id
  19458. type: integer
  19459. username:
  19460. description: 用户名称(已脱敏)
  19461. type: string
  19462. type: object
  19463. models.WrTypeItem:
  19464. properties:
  19465. name:
  19466. description: 名称
  19467. type: string
  19468. value:
  19469. description: 值
  19470. type: string
  19471. type: object
  19472. models.WrUserFriend:
  19473. properties:
  19474. friendname:
  19475. description: 朋友名称(已脱敏)
  19476. type: string
  19477. frienduserid:
  19478. description: 朋友id
  19479. type: integer
  19480. isfriend:
  19481. description: 是否好友 0-不是 1-是
  19482. type: integer
  19483. userid:
  19484. description: 用户id
  19485. type: integer
  19486. type: object
  19487. models.WrUserReceiptInfo:
  19488. properties:
  19489. address:
  19490. description: 地址[发票类型:企业]
  19491. type: string
  19492. autoid:
  19493. description: AutoID
  19494. type: integer
  19495. contactinfo:
  19496. description: 联系方式
  19497. type: string
  19498. idnum:
  19499. description: 身份证号码[发票类型:个人]
  19500. type: string
  19501. isdefault:
  19502. description: 是否默认地址 - 0:否 1:是
  19503. type: integer
  19504. receiptaccount:
  19505. description: 发票帐号[发票类型:企业]
  19506. type: string
  19507. receiptbank:
  19508. description: 发票开户行[发票类型:企业]
  19509. type: string
  19510. receipttype:
  19511. description: 发票类型 - 1:个人 2:企业
  19512. type: integer
  19513. taxpayerid:
  19514. description: 纳税人识别号
  19515. type: string
  19516. userid:
  19517. description: 用户ID
  19518. type: integer
  19519. username:
  19520. description: 户名(个人姓名或企业名称)
  19521. type: string
  19522. type: object
  19523. models.Wrtradetradequote:
  19524. properties:
  19525. begindate:
  19526. description: 开始日期(结果含开始日期) yyyymmdd
  19527. type: string
  19528. buyaccountid:
  19529. description: 买方账号ID
  19530. type: integer
  19531. buyuserid:
  19532. description: 买方用户ID
  19533. type: integer
  19534. deliverygoodsid:
  19535. description: 现货品种ID
  19536. type: integer
  19537. enddate:
  19538. description: 结束日期(结果含结束日期) yyyymmdd
  19539. type: string
  19540. marketid:
  19541. description: 市场ID
  19542. type: integer
  19543. sellaccountid:
  19544. description: 卖方账号ID
  19545. type: integer
  19546. selluserid:
  19547. description: 卖方用户ID
  19548. type: integer
  19549. tradeamount:
  19550. description: 成交金额
  19551. type: number
  19552. tradedate:
  19553. description: 交易日(yyyyMMdd)
  19554. type: string
  19555. tradeprice:
  19556. description: 成交价格
  19557. type: number
  19558. tradeqty:
  19559. description: 成交数量
  19560. type: integer
  19561. tradetime:
  19562. description: 成交时间
  19563. type: string
  19564. wrfactortypeid:
  19565. description: 仓单要素类型ID
  19566. type: integer
  19567. wrstandardid:
  19568. description: 现货商品ID
  19569. type: integer
  19570. wrtradedetailid:
  19571. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19572. type: string
  19573. type: object
  19574. models.XHBRAND:
  19575. properties:
  19576. brandid:
  19577. description: 品牌id
  19578. type: integer
  19579. brandname:
  19580. description: 品牌名称
  19581. type: string
  19582. isvalid:
  19583. description: 是否有效 0-无效 1-有效
  19584. type: integer
  19585. type: object
  19586. models.XHDeliveryGoods:
  19587. properties:
  19588. areauserid:
  19589. description: 所属机构
  19590. type: integer
  19591. bdlst:
  19592. description: 品牌列表
  19593. items:
  19594. $ref: '#/definitions/models.XHBRAND'
  19595. type: array
  19596. deliverygoodscode:
  19597. description: 现货品种代码
  19598. type: string
  19599. deliverygoodsid:
  19600. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19601. type: integer
  19602. deliverygoodsname:
  19603. description: 现货品种名称
  19604. type: string
  19605. dgstatus:
  19606. description: 品种状态 - 作废 - 0:未激活 1:正常
  19607. type: integer
  19608. filterSubEmpty:
  19609. description: 过滤下级为空的
  19610. type: integer
  19611. isvalid:
  19612. description: 是否有效 - 0:无效 1:有效
  19613. type: integer
  19614. remark:
  19615. description: 备注
  19616. type: string
  19617. unitid:
  19618. description: 单位id(目前看,数据库中是空值)
  19619. type: integer
  19620. wdlst:
  19621. description: 品类(现货商品)列表
  19622. items:
  19623. $ref: '#/definitions/models.XHWrstandard'
  19624. type: array
  19625. type: object
  19626. models.XHMiddleGoods:
  19627. properties:
  19628. GPLST:
  19629. description: 期货品种列表
  19630. items:
  19631. $ref: '#/definitions/models.TBGoodsGroup'
  19632. type: array
  19633. convertratio:
  19634. description: 拆算系数
  19635. type: number
  19636. costratio:
  19637. description: 成本权重
  19638. type: number
  19639. deliverygoodsid:
  19640. description: 现货商品id
  19641. type: integer
  19642. enumdicname:
  19643. description: 单位名称
  19644. type: string
  19645. middlegoodscode:
  19646. description: 套保品种代码
  19647. type: string
  19648. middlegoodsid:
  19649. description: 套保品种id
  19650. type: integer
  19651. middlegoodsname:
  19652. description: 套保品种名称
  19653. type: string
  19654. unitid:
  19655. description: 单位id
  19656. type: integer
  19657. type: object
  19658. models.XHWrstandard:
  19659. properties:
  19660. bannerpicurl:
  19661. description: banner图
  19662. type: string
  19663. deliverygoodsid:
  19664. description: 品种ID
  19665. type: integer
  19666. enumdicname:
  19667. description: 单位名称
  19668. type: string
  19669. mglst:
  19670. description: 套保品列表
  19671. items:
  19672. $ref: '#/definitions/models.XHMiddleGoods'
  19673. type: array
  19674. pictureurls:
  19675. description: 详情图片(逗号分隔)
  19676. type: string
  19677. thumurls:
  19678. description: 缩略图片(1:1)(逗号分隔)
  19679. type: string
  19680. unitid:
  19681. description: 单位id
  19682. type: integer
  19683. vatrate:
  19684. description: 增值税率
  19685. type: number
  19686. wrstandardcode:
  19687. description: 现货商品代码
  19688. type: string
  19689. wrstandardid:
  19690. description: 现货商品ID(SEQ_WRSTANDARD)
  19691. type: integer
  19692. wrstandardname:
  19693. description: 现货商品名称
  19694. type: string
  19695. type: object
  19696. models.XhcpSellBackApplyEx:
  19697. properties:
  19698. applyremark:
  19699. description: 申请备注
  19700. type: string
  19701. expirytype:
  19702. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19703. type: integer
  19704. goodsspec:
  19705. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19706. type: integer
  19707. holeflag:
  19708. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19709. type: integer
  19710. isunopened:
  19711. description: 是否原封 - 1:否 2:是
  19712. type: integer
  19713. mpflag:
  19714. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19715. type: integer
  19716. openflag:
  19717. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19718. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19719. type: integer
  19720. phonenum:
  19721. description: 联系电话
  19722. type: string
  19723. userid:
  19724. description: 所属用户ID
  19725. type: integer
  19726. zpflag:
  19727. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19728. type: integer
  19729. required:
  19730. - userid
  19731. type: object
  19732. models.Xhcpsellbackapply:
  19733. properties:
  19734. applyid:
  19735. description: 申请人
  19736. type: integer
  19737. applyremark:
  19738. description: 申请备注
  19739. type: string
  19740. applysrc:
  19741. description: 申请来源 - 1:管理端 2:终端
  19742. type: integer
  19743. applystatus:
  19744. description: 申请状态 - 1:待确认 2:已处理
  19745. type: integer
  19746. applytime:
  19747. description: 申请时间
  19748. type: string
  19749. auditremark:
  19750. description: 审核备注
  19751. type: string
  19752. auditsrc:
  19753. description: 审核来源 - 1:管理端 2:终端
  19754. type: integer
  19755. expirytype:
  19756. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19757. type: integer
  19758. goodsspec:
  19759. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19760. type: integer
  19761. holeflag:
  19762. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19763. type: integer
  19764. isunopened:
  19765. description: 是否原封 - 1:否 2:是
  19766. type: integer
  19767. mpflag:
  19768. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19769. type: integer
  19770. openflag:
  19771. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19772. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19773. type: integer
  19774. phonenum:
  19775. description: 联系电话
  19776. type: string
  19777. sellbackapplyid:
  19778. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  19779. type: string
  19780. userid:
  19781. description: 所属用户ID
  19782. type: integer
  19783. zpflag:
  19784. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19785. type: integer
  19786. required:
  19787. - userid
  19788. type: object
  19789. order.QueryHisTradeDetailRsp:
  19790. properties:
  19791. accountid:
  19792. description: 账户ID[报价币种]
  19793. type: integer
  19794. advanceratio:
  19795. description: 首付比率
  19796. type: number
  19797. buildtype:
  19798. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19799. type: integer
  19800. buyorsell:
  19801. description: 方向 - 0:买 1:卖
  19802. type: integer
  19803. charge:
  19804. description: 手续费
  19805. type: number
  19806. closecharge:
  19807. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19808. type: number
  19809. closeexchagechargevalue:
  19810. description: 平仓交易所手续费设置值
  19811. type: number
  19812. closefeealgorithm:
  19813. description: 平仓手续费收取方式 1:比率 2:固定
  19814. type: integer
  19815. closememberchargevalue:
  19816. description: 平仓会员手续费设置值
  19817. type: number
  19818. closepl:
  19819. description: 平仓盈亏
  19820. type: number
  19821. closepl2:
  19822. description: 平仓盈亏[逐笔]
  19823. type: number
  19824. closeqty:
  19825. description: 平仓数量(先建后平操作 需要记录)
  19826. type: number
  19827. creditamount:
  19828. description: 授信金额
  19829. type: number
  19830. decimalplace:
  19831. description: 商品报价小数位
  19832. type: integer
  19833. enumdicname:
  19834. description: 单位名称
  19835. type: string
  19836. gcaccountid:
  19837. description: 账户ID[合约币种]
  19838. type: integer
  19839. goodscode:
  19840. description: 商品代码
  19841. type: string
  19842. goodsid:
  19843. description: 商品ID
  19844. type: integer
  19845. goodsname:
  19846. description: 商品名称
  19847. type: string
  19848. goodunitid:
  19849. description: 商品单位id
  19850. type: integer
  19851. histradedate:
  19852. description: 历史交易日
  19853. type: string
  19854. intclosepl:
  19855. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19856. type: integer
  19857. isconfirmexercise:
  19858. description: 是否确认行权- 0:否 1:是
  19859. type: integer
  19860. ismain:
  19861. description: 是否主单 - 0:不是 1:是
  19862. type: integer
  19863. ispreexercise:
  19864. description: 是否预申报- 0:否 1:是
  19865. type: integer
  19866. isreckoned:
  19867. description: 是否结算 - 0:未结算 1:已结算
  19868. type: integer
  19869. isvaliddata:
  19870. description: 是否有效 - 0:无效 1:有效
  19871. type: integer
  19872. listingselecttype:
  19873. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19874. type: integer
  19875. marketid:
  19876. description: 市场ID
  19877. type: integer
  19878. marketname:
  19879. description: 市场名称
  19880. type: string
  19881. matchaccountid:
  19882. description: 对手账号id
  19883. type: integer
  19884. memberuserid:
  19885. description: 会员id 个人投资者 需要填写
  19886. type: integer
  19887. opencharge:
  19888. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19889. type: number
  19890. openexchagechargevalue:
  19891. description: 建仓交易所手续费设置值
  19892. type: number
  19893. openfeealgorithm:
  19894. description: 建仓手续费收取方式 1:比率 2:固定
  19895. type: integer
  19896. openmemberchargevalue:
  19897. description: 建仓会员手续费设置值
  19898. type: number
  19899. openqty:
  19900. description: 开仓数量(先建后平操作 需要记录)
  19901. type: number
  19902. optiontype:
  19903. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19904. type: integer
  19905. orderid:
  19906. description: 委托单号
  19907. type: string
  19908. payamount:
  19909. description: 支付金额(付款金额)
  19910. type: number
  19911. performanceplanid:
  19912. description: 履约计划ID[期权]
  19913. type: integer
  19914. performancestatus:
  19915. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19916. type: integer
  19917. preexerciseprice:
  19918. description: 预申报价格
  19919. type: number
  19920. premium:
  19921. description: 权利金 - [持仓单的权利金]
  19922. type: number
  19923. qtydecimalplace:
  19924. description: 商品报价小数位
  19925. type: integer
  19926. recvamount:
  19927. description: 到账金额 = 成交金额 - 手续费
  19928. type: number
  19929. relatedouttradeid:
  19930. description: 关联外部成交单ID
  19931. type: integer
  19932. status:
  19933. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19934. type: integer
  19935. totalamount:
  19936. description: 订单总额 = 成交金额 + 手续费
  19937. type: number
  19938. tradeamount:
  19939. description: 成交金额[账户币种,用于所有权]
  19940. type: number
  19941. tradedate:
  19942. description: 交易日(yyyyMMdd)
  19943. type: string
  19944. tradeid:
  19945. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19946. type: string
  19947. trademode:
  19948. description: 交易模式
  19949. type: integer
  19950. tradeprice:
  19951. description: 成交价格
  19952. type: number
  19953. tradeproperty:
  19954. description: 交易属性
  19955. type: integer
  19956. tradeqty:
  19957. description: 成交数量
  19958. type: number
  19959. tradetime:
  19960. description: 成交时间
  19961. type: string
  19962. tradetype:
  19963. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19964. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19965. type: integer
  19966. required:
  19967. - accountid
  19968. - buyorsell
  19969. - goodsid
  19970. - histradedate
  19971. - marketid
  19972. - memberuserid
  19973. - orderid
  19974. - tradeamount
  19975. - tradedate
  19976. - tradeid
  19977. - tradeprice
  19978. - tradeqty
  19979. - tradetime
  19980. type: object
  19981. order.QueryHisTradeOrderDetailRsp:
  19982. properties:
  19983. accountid:
  19984. description: 账户ID[报价币种]
  19985. type: integer
  19986. buildtype:
  19987. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19988. type: integer
  19989. buyorsell:
  19990. description: 买卖 - 0:买 1:卖
  19991. type: integer
  19992. cancelorderid:
  19993. description: 撤单单号(撤单时填写)
  19994. type: string
  19995. cancelqty:
  19996. description: 撤单数量
  19997. type: number
  19998. clientordertime:
  19999. description: 客户端委托时间
  20000. type: string
  20001. clientticket:
  20002. description: 客户端流水号
  20003. type: string
  20004. clienttype:
  20005. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20006. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20007. type: integer
  20008. closeexchagechargevalue:
  20009. description: 平仓交易所手续费设置值
  20010. type: number
  20011. closefeealgorithm:
  20012. description: 平仓手续费收取方式 1:比率 2:固定
  20013. type: integer
  20014. closefreezecharge:
  20015. description: 平仓冻结手续费(先建后平操作,需要记录)
  20016. type: number
  20017. closememberchargevalue:
  20018. description: 平仓会员手续费设置值
  20019. type: number
  20020. closeqty:
  20021. description: 平仓数量(先建后平操作 需要记录)
  20022. type: number
  20023. closetradeqty:
  20024. description: 平仓成交数量(先建后平操作,需要记录)
  20025. type: number
  20026. closeunfreezecharge:
  20027. description: 平仓解冻手续费(先建后平操作,需要记录)
  20028. type: number
  20029. decimalplace:
  20030. description: 商品报价小数位
  20031. type: integer
  20032. delistingtype:
  20033. description: 摘牌类型 - 1:价格最优 2:点选成交
  20034. type: integer
  20035. enumdicname:
  20036. description: 单位名称
  20037. type: string
  20038. freezecharge:
  20039. description: 冻结手续费
  20040. type: number
  20041. freezemargin:
  20042. description: 冻结保证金(冻结交易金额)
  20043. type: number
  20044. gcaccountid:
  20045. description: 账户ID[合约币种]
  20046. type: integer
  20047. goodscode:
  20048. description: 商品代码
  20049. type: string
  20050. goodsid:
  20051. description: 商品ID
  20052. type: integer
  20053. goodsname:
  20054. description: 商品名称
  20055. type: string
  20056. goodunitid:
  20057. description: 商品单位id
  20058. type: integer
  20059. histradedate:
  20060. description: 历史交易日
  20061. type: string
  20062. isconfirmexercise:
  20063. description: 是否确认行权- 0:否 1:是
  20064. type: integer
  20065. ispreexercise:
  20066. description: 是否预申报- 0:否 1:是
  20067. type: integer
  20068. isvaliddata:
  20069. description: 是否有效 - 0:无效 1:有效
  20070. type: integer
  20071. listingselecttype:
  20072. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20073. type: integer
  20074. marginalgorithm:
  20075. description: 保证金收取方式 1:比率 2:固定
  20076. type: integer
  20077. marginvalue:
  20078. description: 即市保证金设置值
  20079. type: number
  20080. marketid:
  20081. description: 市场ID
  20082. type: integer
  20083. marketmaxsub:
  20084. description: 市价最大偏移范围
  20085. type: number
  20086. marketname:
  20087. description: 市场名称
  20088. type: string
  20089. memberuserid:
  20090. description: 所属会员UserID
  20091. type: integer
  20092. openexchagechargevalue:
  20093. description: 建仓交易所手续费设置值
  20094. type: number
  20095. openfeealgorithm:
  20096. description: 建仓手续费收取方式 1:比率 2:固定
  20097. type: integer
  20098. openfreezecharge:
  20099. description: 开仓冻结手续费(先建后平操作,需要记录)
  20100. type: number
  20101. openmemberchargevalue:
  20102. description: 建仓会员手续费设置值
  20103. type: number
  20104. openqty:
  20105. description: 开仓数量(先建后平操作,需要记录)
  20106. type: number
  20107. opentradeqty:
  20108. description: 开仓成交数量(先建后平操作,需要记录)
  20109. type: number
  20110. openunfreezecharge:
  20111. description: 开仓解冻手续费(先建后平操作,需要记录)
  20112. type: number
  20113. operatetype:
  20114. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20115. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20116. 15:管理端协议转让
  20117. type: integer
  20118. operatorid:
  20119. description: 登录账号(LoginID)
  20120. type: integer
  20121. optiontype:
  20122. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20123. type: integer
  20124. orderid:
  20125. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20126. type: string
  20127. orderprice:
  20128. description: 委托价格
  20129. type: number
  20130. orderqty:
  20131. description: 委托数量
  20132. type: number
  20133. ordersrc:
  20134. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20135. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20136. type: integer
  20137. orderstatus:
  20138. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20139. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20140. 16:成交失败违约(荷兰式竞拍专用)
  20141. type: integer
  20142. ordertime:
  20143. description: 委托时间
  20144. type: string
  20145. preexerciseprice:
  20146. description: 预申报价格
  20147. type: number
  20148. premium:
  20149. description: 权利金
  20150. type: number
  20151. preorderid:
  20152. description: 关联预埋单号(止盈止损单时填写)
  20153. type: string
  20154. pricemode:
  20155. description: '取价方式 - 1:市价 2: 限价'
  20156. type: integer
  20157. qtydecimalplace:
  20158. description: 成交量小数位
  20159. type: integer
  20160. quoteid:
  20161. description: 报价单ID
  20162. type: integer
  20163. relatedid:
  20164. description: 关联单号(交割单)
  20165. type: string
  20166. retcode:
  20167. description: 错误代码
  20168. type: integer
  20169. sessionid:
  20170. description: 会话ID
  20171. type: integer
  20172. tradedate:
  20173. description: 交易日(yyyyMMdd)
  20174. type: string
  20175. trademode:
  20176. description: 交易模式
  20177. type: integer
  20178. tradeproperty:
  20179. description: 交易属性
  20180. type: integer
  20181. tradeqty:
  20182. description: 成交数量
  20183. type: number
  20184. unfreezecharge:
  20185. description: 解冻手续费
  20186. type: number
  20187. unfreezemargin:
  20188. description: 解冻保证金
  20189. type: number
  20190. updatetime:
  20191. description: 更新时间
  20192. type: string
  20193. uuid:
  20194. description: 发起端唯一id
  20195. type: string
  20196. validtime:
  20197. description: 有效期限
  20198. type: string
  20199. validtype:
  20200. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20201. type: integer
  20202. volumetype:
  20203. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20204. type: integer
  20205. required:
  20206. - accountid
  20207. - buildtype
  20208. - buyorsell
  20209. - goodsid
  20210. - histradedate
  20211. - marketid
  20212. - memberuserid
  20213. - operatetype
  20214. - orderid
  20215. - orderqty
  20216. - ordertime
  20217. - pricemode
  20218. - tradedate
  20219. - validtype
  20220. type: object
  20221. order.QueryTradeDetailRsp:
  20222. properties:
  20223. accountid:
  20224. description: 账户ID[报价币种]
  20225. type: integer
  20226. advanceratio:
  20227. description: 首付比率
  20228. type: number
  20229. buildtype:
  20230. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20231. type: integer
  20232. buyorsell:
  20233. description: 方向 - 0:买 1:卖
  20234. type: integer
  20235. charge:
  20236. description: 手续费
  20237. type: number
  20238. closecharge:
  20239. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20240. type: number
  20241. closeexchagechargevalue:
  20242. description: 平仓交易所手续费设置值
  20243. type: number
  20244. closefeealgorithm:
  20245. description: 平仓手续费收取方式 1:比率 2:固定
  20246. type: integer
  20247. closememberchargevalue:
  20248. description: 平仓会员手续费设置值
  20249. type: number
  20250. closepl:
  20251. description: 平仓盈亏
  20252. type: number
  20253. closepl2:
  20254. description: 平仓盈亏[逐笔]
  20255. type: number
  20256. closeqty:
  20257. description: 平仓数量(先建后平操作 需要记录)
  20258. type: number
  20259. creditamount:
  20260. description: 授信金额
  20261. type: number
  20262. decimalplace:
  20263. description: 商品报价小数位
  20264. type: integer
  20265. enumdicname:
  20266. description: 单位名称
  20267. type: string
  20268. gcaccountid:
  20269. description: 账户ID[合约币种]
  20270. type: integer
  20271. goodscode:
  20272. description: 商品代码
  20273. type: string
  20274. goodsid:
  20275. description: 商品ID
  20276. type: integer
  20277. goodsname:
  20278. description: 商品名称
  20279. type: string
  20280. goodunitid:
  20281. description: 商品单位id
  20282. type: integer
  20283. intclosepl:
  20284. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20285. type: integer
  20286. isconfirmexercise:
  20287. description: 是否确认行权- 0:否 1:是
  20288. type: integer
  20289. ismain:
  20290. description: 是否主单 - 0:不是 1:是
  20291. type: integer
  20292. ispreexercise:
  20293. description: 是否预申报- 0:否 1:是
  20294. type: integer
  20295. isreckoned:
  20296. description: 是否结算 - 0:未结算 1:已结算
  20297. type: integer
  20298. listingselecttype:
  20299. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20300. type: integer
  20301. marketid:
  20302. description: 市场ID
  20303. type: integer
  20304. marketname:
  20305. description: 市场名称
  20306. type: string
  20307. matchaccountid:
  20308. description: 对手账号id
  20309. type: integer
  20310. memberuserid:
  20311. description: 会员id 个人投资者 需要填写
  20312. type: integer
  20313. opencharge:
  20314. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20315. type: number
  20316. openexchagechargevalue:
  20317. description: 建仓交易所手续费设置值
  20318. type: number
  20319. openfeealgorithm:
  20320. description: 建仓手续费收取方式 1:比率 2:固定
  20321. type: integer
  20322. openmemberchargevalue:
  20323. description: 建仓会员手续费设置值
  20324. type: number
  20325. openqty:
  20326. description: 开仓数量(先建后平操作 需要记录)
  20327. type: number
  20328. optiontype:
  20329. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20330. type: integer
  20331. orderid:
  20332. description: 委托单号
  20333. type: string
  20334. payamount:
  20335. description: 支付金额(付款金额)
  20336. type: number
  20337. performanceplanid:
  20338. description: 履约计划ID[期权]
  20339. type: integer
  20340. performancestatus:
  20341. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20342. type: integer
  20343. preexerciseprice:
  20344. description: 预申报价格
  20345. type: number
  20346. premium:
  20347. description: 权利金 - [持仓单的权利金]
  20348. type: number
  20349. qtydecimalplace:
  20350. description: 商品报价小数位
  20351. type: integer
  20352. recvamount:
  20353. description: 到账金额 = 成交金额 - 手续费
  20354. type: number
  20355. relatedouttradeid:
  20356. description: 关联外部成交单ID
  20357. type: integer
  20358. status:
  20359. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20360. type: integer
  20361. totalamount:
  20362. description: 订单总额 = 成交金额 + 手续费
  20363. type: number
  20364. tradeamount:
  20365. description: 成交金额[账户币种,用于所有权]
  20366. type: number
  20367. tradedate:
  20368. description: 交易日(yyyyMMdd)
  20369. type: string
  20370. tradeid:
  20371. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20372. type: string
  20373. trademode:
  20374. description: 交易模式
  20375. type: integer
  20376. tradeprice:
  20377. description: 成交价格
  20378. type: number
  20379. tradeproperty:
  20380. description: 交易属性
  20381. type: integer
  20382. tradeqty:
  20383. description: 成交数量
  20384. type: number
  20385. tradetime:
  20386. description: 成交时间
  20387. type: string
  20388. tradetype:
  20389. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20390. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20391. type: integer
  20392. required:
  20393. - accountid
  20394. - buyorsell
  20395. - goodsid
  20396. - marketid
  20397. - memberuserid
  20398. - orderid
  20399. - tradeamount
  20400. - tradedate
  20401. - tradeid
  20402. - tradeprice
  20403. - tradeqty
  20404. - tradetime
  20405. type: object
  20406. order.QueryTradeOrderDetailRsp:
  20407. properties:
  20408. accountid:
  20409. description: 账户ID[报价币种]
  20410. type: integer
  20411. buildtype:
  20412. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20413. type: integer
  20414. buyorsell:
  20415. description: 买卖 - 0:买 1:卖
  20416. type: integer
  20417. cancelorderid:
  20418. description: 撤单单号(撤单时填写)
  20419. type: string
  20420. cancelqty:
  20421. description: 撤单数量
  20422. type: number
  20423. clienttype:
  20424. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20425. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20426. type: integer
  20427. closefreezecharge:
  20428. description: 平仓冻结手续费(先建后平操作,需要记录)
  20429. type: number
  20430. closeqty:
  20431. description: 平仓数量(先建后平操作 需要记录)
  20432. type: number
  20433. closetradeqty:
  20434. description: 平仓成交数量(先建后平操作,需要记录)
  20435. type: number
  20436. closeunfreezecharge:
  20437. description: 平仓解冻手续费(先建后平操作,需要记录)
  20438. type: number
  20439. decimalplace:
  20440. description: 商品报价小数位
  20441. type: integer
  20442. delistingtype:
  20443. description: 摘牌类型 - 1:价格最优 2:点选成交
  20444. type: integer
  20445. enableqty:
  20446. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20447. type: number
  20448. enumdicname:
  20449. description: 单位名称
  20450. type: string
  20451. freezecharge:
  20452. description: 冻结手续费
  20453. type: number
  20454. freezemargin:
  20455. description: 冻结保证金(冻结交易金额)
  20456. type: number
  20457. goodscode:
  20458. description: 商品代码
  20459. type: string
  20460. goodsid:
  20461. description: 商品ID
  20462. type: integer
  20463. goodsname:
  20464. description: 商品名称
  20465. type: string
  20466. goodunitid:
  20467. description: 商品单位id
  20468. type: integer
  20469. listingselecttype:
  20470. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20471. type: integer
  20472. marketid:
  20473. description: 市场ID
  20474. type: integer
  20475. marketname:
  20476. description: 市场名称
  20477. type: string
  20478. openfreezecharge:
  20479. description: 开仓冻结手续费(先建后平操作,需要记录)
  20480. type: number
  20481. openqty:
  20482. description: 开仓数量(先建后平操作,需要记录)
  20483. type: number
  20484. opentradeqty:
  20485. description: 开仓成交数量(先建后平操作,需要记录)
  20486. type: number
  20487. openunfreezecharge:
  20488. description: 开仓解冻手续费(先建后平操作,需要记录)
  20489. type: number
  20490. operatetype:
  20491. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20492. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20493. 15:管理端协议转让
  20494. type: integer
  20495. operatorid:
  20496. description: 登录账号(LoginID)
  20497. type: integer
  20498. orderid:
  20499. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20500. type: string
  20501. orderprice:
  20502. description: 委托价格
  20503. type: number
  20504. orderqty:
  20505. description: 委托数量
  20506. type: number
  20507. ordersrc:
  20508. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20509. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20510. type: integer
  20511. orderstatus:
  20512. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20513. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20514. 16:成交失败违约(荷兰式竞拍专用)
  20515. type: integer
  20516. ordertime:
  20517. description: 委托时间
  20518. type: string
  20519. preorderid:
  20520. description: 关联预埋单号(止盈止损单时填写)
  20521. type: string
  20522. pricemode:
  20523. description: '取价方式 - 1:市价 2: 限价'
  20524. type: integer
  20525. qtydecimalplace:
  20526. description: 商品报价小数位
  20527. type: integer
  20528. relatedid:
  20529. description: 关联单号(交割单)
  20530. type: string
  20531. tradedate:
  20532. description: 交易日(yyyyMMdd)
  20533. type: string
  20534. trademode:
  20535. description: 交易模式
  20536. type: integer
  20537. tradeqty:
  20538. description: 成交数量
  20539. type: number
  20540. unfreezecharge:
  20541. description: 解冻手续费
  20542. type: number
  20543. unfreezemargin:
  20544. description: 解冻保证金
  20545. type: number
  20546. validtime:
  20547. description: 有效期限
  20548. type: string
  20549. validtype:
  20550. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20551. type: integer
  20552. volumetype:
  20553. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20554. type: integer
  20555. required:
  20556. - accountid
  20557. - buildtype
  20558. - buyorsell
  20559. - goodsid
  20560. - marketid
  20561. - operatetype
  20562. - orderqty
  20563. - ordertime
  20564. - pricemode
  20565. - tradedate
  20566. - validtype
  20567. type: object
  20568. order.QueryTradePositionRsp:
  20569. properties:
  20570. accountid:
  20571. description: 资金账户
  20572. type: integer
  20573. agreeunit:
  20574. description: 合约单位
  20575. type: number
  20576. averageprice:
  20577. description: 持仓均价
  20578. type: number
  20579. buyorsell:
  20580. description: 方向 - 0:买 1:卖
  20581. type: integer
  20582. closetotalqty:
  20583. description: 平仓总数量
  20584. type: number
  20585. curholderamount:
  20586. description: 当前持仓总金额[商品币种]
  20587. type: number
  20588. curpositionqty:
  20589. description: 当前持仓总数量
  20590. type: number
  20591. currencyid:
  20592. description: 报价货币ID
  20593. type: integer
  20594. curtdposition:
  20595. description: 期末今日头寸
  20596. type: number
  20597. decimalplace:
  20598. description: 报价小数位
  20599. type: integer
  20600. enableqty:
  20601. description: 可用量
  20602. type: number
  20603. fretdposition:
  20604. description: 冻结今日头寸
  20605. type: number
  20606. frozenqty:
  20607. description: 持仓冻结数量
  20608. type: number
  20609. goodscode:
  20610. description: 商品代码
  20611. type: string
  20612. goodsid:
  20613. description: 商品Id
  20614. type: integer
  20615. goodsname:
  20616. description: 商品名称
  20617. type: string
  20618. goodunit:
  20619. description: 报价单位
  20620. type: string
  20621. goodunitid:
  20622. description: 报价单位ID
  20623. type: integer
  20624. holderamount:
  20625. description: 期初持仓总金额[商品币种]
  20626. type: number
  20627. lastprice:
  20628. description: 最新价
  20629. type: number
  20630. marketamount:
  20631. description: 市值
  20632. type: number
  20633. marketid:
  20634. description: 所属市场ID
  20635. type: integer
  20636. openreqqty:
  20637. description: 开仓申请数量(用于比较最大持仓数量)
  20638. type: number
  20639. opentotalqty:
  20640. description: 开仓总数量
  20641. type: number
  20642. otherfrozenqty:
  20643. description: 持仓其他冻结数量(交割冻结)
  20644. type: number
  20645. positionpl:
  20646. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  20647. * 合约单位
  20648. type: number
  20649. positionplrate:
  20650. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  20651. type: number
  20652. positionqty:
  20653. description: 期初持仓数量
  20654. type: number
  20655. qtydecimalplace:
  20656. description: 成交量小数位
  20657. type: integer
  20658. refgoodscode:
  20659. description: 参考商品代码
  20660. type: string
  20661. refgoodsid:
  20662. description: 参考商品ID
  20663. type: integer
  20664. tnqty:
  20665. description: T+N冻结总量
  20666. type: number
  20667. tnusedqty:
  20668. description: T+N使用量(可以使用T+N的冻结数量)
  20669. type: number
  20670. trademode:
  20671. description: 交易模式
  20672. type: integer
  20673. tradeproperty:
  20674. description: 交易属性
  20675. type: integer
  20676. usedmargin:
  20677. description: 占用保证金[商品币种]
  20678. type: number
  20679. required:
  20680. - goodsid
  20681. type: object
  20682. pb.GoodsMarginCfgStruct:
  20683. properties:
  20684. CustomerTypeID:
  20685. description: 投资者客户类型
  20686. type: integer
  20687. GoodsID:
  20688. description: 商品ID
  20689. type: integer
  20690. IsDefault:
  20691. description: 是否默认标志位
  20692. type: integer
  20693. LockMarginValue:
  20694. description: 锁仓保证金
  20695. type: number
  20696. MarginAlgorithm:
  20697. description: 保证金计算方式
  20698. type: integer
  20699. MarketMarginValue:
  20700. description: 即市保证金值
  20701. type: number
  20702. RealMarginAlgorithm:
  20703. description: 实付保证金计算方式
  20704. type: integer
  20705. RealMarginValue:
  20706. description: 实付比例
  20707. type: number
  20708. ReckonMarginValue:
  20709. description: 结算保证金值
  20710. type: number
  20711. type: object
  20712. quote.HistoryData:
  20713. properties:
  20714. c:
  20715. description: 收盘价
  20716. type: number
  20717. f:
  20718. description: 是否补充数据
  20719. type: boolean
  20720. h:
  20721. description: 最高价
  20722. type: number
  20723. hv:
  20724. description: 持仓量
  20725. type: integer
  20726. l:
  20727. description: 最低价
  20728. type: number
  20729. o:
  20730. description: 开盘价
  20731. type: number
  20732. s:
  20733. description: 结算价,日线周期(包括)以上才有
  20734. type: number
  20735. ts:
  20736. description: 时间
  20737. type: string
  20738. tt:
  20739. description: 总金额
  20740. type: number
  20741. tv:
  20742. description: 总量(成交量)
  20743. type: integer
  20744. type: object
  20745. quote.HistoryTikData:
  20746. properties:
  20747. AV:
  20748. description: 卖量
  20749. type: integer
  20750. Ask:
  20751. description: 卖价
  20752. type: number
  20753. BV:
  20754. description: 买量
  20755. type: integer
  20756. Bid:
  20757. description: 买价
  20758. type: number
  20759. HI:
  20760. description: 单笔持仓
  20761. type: integer
  20762. HV:
  20763. description: 持仓量
  20764. type: integer
  20765. PE:
  20766. description: 现价
  20767. type: number
  20768. TDR:
  20769. description: 交易方向,0:买 1:卖
  20770. type: integer
  20771. TK:
  20772. description: 交易类型
  20773. type: integer
  20774. TS:
  20775. description: 行情时间文本
  20776. type: string
  20777. TT:
  20778. description: 现金额
  20779. type: number
  20780. Vol:
  20781. description: 现量
  20782. type: integer
  20783. type: object
  20784. quote.QueryQuoteDayRsp:
  20785. properties:
  20786. ask:
  20787. description: 卖1
  20788. type: number
  20789. ask2:
  20790. description: 卖2
  20791. type: number
  20792. ask3:
  20793. description: 卖3
  20794. type: number
  20795. ask4:
  20796. description: 卖4
  20797. type: number
  20798. ask5:
  20799. description: 卖5
  20800. type: number
  20801. ask6:
  20802. description: 卖6
  20803. type: number
  20804. ask7:
  20805. description: 卖7
  20806. type: number
  20807. ask8:
  20808. description: 卖8
  20809. type: number
  20810. ask9:
  20811. description: 卖9
  20812. type: number
  20813. ask10:
  20814. description: 卖10
  20815. type: number
  20816. askorderid:
  20817. description: 卖单号1
  20818. type: integer
  20819. askorderid2:
  20820. description: 卖单号2
  20821. type: integer
  20822. askorderid3:
  20823. description: 卖单号3
  20824. type: integer
  20825. askorderid4:
  20826. description: 卖单号4
  20827. type: integer
  20828. askorderid5:
  20829. description: 卖单号5
  20830. type: integer
  20831. askordervolume:
  20832. description: 卖单量1
  20833. type: integer
  20834. askordervolume2:
  20835. description: 卖单量2
  20836. type: integer
  20837. askordervolume3:
  20838. description: 卖单量3
  20839. type: integer
  20840. askordervolume4:
  20841. description: 卖单量4
  20842. type: integer
  20843. askordervolume5:
  20844. description: 卖单量5
  20845. type: integer
  20846. askordervolume6:
  20847. description: 卖单量6
  20848. type: integer
  20849. askordervolume7:
  20850. description: 卖单量7
  20851. type: integer
  20852. askordervolume8:
  20853. description: 卖单量8
  20854. type: integer
  20855. askordervolume9:
  20856. description: 卖单量9
  20857. type: integer
  20858. askordervolume10:
  20859. description: 卖单量10
  20860. type: integer
  20861. askqueueinfo:
  20862. description: 大利市卖港股用
  20863. type: string
  20864. askvolume:
  20865. description: 卖量1
  20866. type: integer
  20867. askvolume2:
  20868. description: 卖量2
  20869. type: integer
  20870. askvolume3:
  20871. description: 卖量3
  20872. type: integer
  20873. askvolume4:
  20874. description: 卖量4
  20875. type: integer
  20876. askvolume5:
  20877. description: 卖量5
  20878. type: integer
  20879. askvolume6:
  20880. description: 卖量6
  20881. type: integer
  20882. askvolume7:
  20883. description: 卖量7
  20884. type: integer
  20885. askvolume8:
  20886. description: 卖量8
  20887. type: integer
  20888. askvolume9:
  20889. description: 卖量9
  20890. type: integer
  20891. askvolume10:
  20892. description: 卖量10
  20893. type: integer
  20894. averageprice:
  20895. description: 均价
  20896. type: number
  20897. bid:
  20898. description: 买1
  20899. type: number
  20900. bid2:
  20901. description: 买2
  20902. type: number
  20903. bid3:
  20904. description: 买3
  20905. type: number
  20906. bid4:
  20907. description: 买4
  20908. type: number
  20909. bid5:
  20910. description: 买5
  20911. type: number
  20912. bid6:
  20913. description: 买6
  20914. type: number
  20915. bid7:
  20916. description: 买7
  20917. type: number
  20918. bid8:
  20919. description: 买8
  20920. type: number
  20921. bid9:
  20922. description: 买9
  20923. type: number
  20924. bid10:
  20925. description: 买10
  20926. type: number
  20927. bidorderid:
  20928. description: 买单号1
  20929. type: integer
  20930. bidorderid2:
  20931. description: 买单号2
  20932. type: integer
  20933. bidorderid3:
  20934. description: 买单号3
  20935. type: integer
  20936. bidorderid4:
  20937. description: 买单号4
  20938. type: integer
  20939. bidorderid5:
  20940. description: 买单号5
  20941. type: integer
  20942. bidordervolume:
  20943. description: 买单量1
  20944. type: integer
  20945. bidordervolume2:
  20946. description: 买单量2
  20947. type: integer
  20948. bidordervolume3:
  20949. description: 买单量3
  20950. type: integer
  20951. bidordervolume4:
  20952. description: 买单量4
  20953. type: integer
  20954. bidordervolume5:
  20955. description: 买单量5
  20956. type: integer
  20957. bidordervolume6:
  20958. description: 买单量6
  20959. type: integer
  20960. bidordervolume7:
  20961. description: 买单量7
  20962. type: integer
  20963. bidordervolume8:
  20964. description: 买单量8
  20965. type: integer
  20966. bidordervolume9:
  20967. description: 买单量9
  20968. type: integer
  20969. bidordervolume10:
  20970. description: 买单量10
  20971. type: integer
  20972. bidqueueinfo:
  20973. description: 大利市买港股用
  20974. type: string
  20975. bidvolume:
  20976. description: 买量1
  20977. type: integer
  20978. bidvolume2:
  20979. description: 买量2
  20980. type: integer
  20981. bidvolume3:
  20982. description: 买量3
  20983. type: integer
  20984. bidvolume4:
  20985. description: 买量4
  20986. type: integer
  20987. bidvolume5:
  20988. description: 买量5
  20989. type: integer
  20990. bidvolume6:
  20991. description: 买量6
  20992. type: integer
  20993. bidvolume7:
  20994. description: 买量7
  20995. type: integer
  20996. bidvolume8:
  20997. description: 买量8
  20998. type: integer
  20999. bidvolume9:
  21000. description: 买量9
  21001. type: integer
  21002. bidvolume10:
  21003. description: 买量10
  21004. type: integer
  21005. calloptionpremiums:
  21006. description: 认购期权1
  21007. type: integer
  21008. calloptionpremiums2:
  21009. description: 认购期权2
  21010. type: integer
  21011. calloptionpremiums3:
  21012. description: 认购期权3
  21013. type: integer
  21014. calloptionpremiums4:
  21015. description: 认购期权4
  21016. type: integer
  21017. calloptionpremiums5:
  21018. description: 认购期权5
  21019. type: integer
  21020. cleartime:
  21021. description: 清盘时间
  21022. type: integer
  21023. exchangecode:
  21024. description: 交易所代码
  21025. type: integer
  21026. exchangedate:
  21027. description: 交易日
  21028. type: integer
  21029. goodscode:
  21030. description: 商品代码
  21031. type: string
  21032. grepmarketprice:
  21033. description: 暗盘价 港股专用
  21034. type: number
  21035. highest:
  21036. description: 最高价
  21037. type: number
  21038. holdincrement:
  21039. description: 单笔持仓
  21040. type: integer
  21041. holdvolume:
  21042. description: 持仓
  21043. type: integer
  21044. iep:
  21045. description: 平衡价 港股专用
  21046. type: number
  21047. iev:
  21048. description: 平衡量 港股专用
  21049. type: number
  21050. inventory:
  21051. description: 库存
  21052. type: integer
  21053. iscleared:
  21054. description: 是否清盘标志
  21055. type: integer
  21056. issettled:
  21057. description: 是否结算标志
  21058. type: integer
  21059. last:
  21060. description: 最新价
  21061. type: number
  21062. lastlot:
  21063. description: 最新成交手数
  21064. type: integer
  21065. lasttime:
  21066. description: 行情时间(只有现价变化行情时间才变化)
  21067. type: string
  21068. lastturnover:
  21069. description: 最新成交金额
  21070. type: number
  21071. lastvolume:
  21072. description: 最新成交量
  21073. type: integer
  21074. limitdown:
  21075. description: 跌停价
  21076. type: number
  21077. limitup:
  21078. description: 涨停价
  21079. type: number
  21080. lowest:
  21081. description: 最低价
  21082. type: number
  21083. nontotalholdervolume:
  21084. description: 非交易持仓量
  21085. type: integer
  21086. nontotallot:
  21087. description: 非交易总手数
  21088. type: integer
  21089. nontotalturnover:
  21090. description: 非交易总金额
  21091. type: integer
  21092. nontotalvolume:
  21093. description: 非交易总量
  21094. type: integer
  21095. opened:
  21096. description: 开盘价
  21097. type: number
  21098. opentime:
  21099. description: 开盘时间
  21100. type: string
  21101. orderid:
  21102. description: 序号
  21103. type: integer
  21104. preclose:
  21105. description: 昨收
  21106. type: number
  21107. preholdvolume:
  21108. description: 昨持仓
  21109. type: integer
  21110. presettle:
  21111. description: 昨结价
  21112. type: number
  21113. publictradetype:
  21114. description: 公共交易标志类型 港股专用
  21115. type: string
  21116. putoptionpremiums:
  21117. description: 认沽期权1
  21118. type: integer
  21119. putoptionpremiums2:
  21120. description: 认沽期权2
  21121. type: integer
  21122. putoptionpremiums3:
  21123. description: 认沽期权3
  21124. type: integer
  21125. putoptionpremiums4:
  21126. description: 认沽期权4
  21127. type: integer
  21128. putoptionpremiums5:
  21129. description: 认沽期权5
  21130. type: integer
  21131. settle:
  21132. description: 结算价
  21133. type: number
  21134. strikeprice:
  21135. description: 发行价
  21136. type: number
  21137. totalaskvolume:
  21138. description: 内盘
  21139. type: integer
  21140. totalbidvolume:
  21141. description: 外盘
  21142. type: integer
  21143. totallot:
  21144. description: 总手数
  21145. type: integer
  21146. totalturnover:
  21147. description: 总金额
  21148. type: number
  21149. totalvolume:
  21150. description: 总量
  21151. type: integer
  21152. utclasttime:
  21153. description: utc的行情时间
  21154. type: string
  21155. type: object
  21156. quote.QueryTSDataRsp:
  21157. properties:
  21158. Count:
  21159. description: 交易日应有数据个数
  21160. type: integer
  21161. decimalPlace:
  21162. description: 小数位
  21163. type: integer
  21164. endTime:
  21165. description: 结束时间
  21166. type: string
  21167. goodsCode:
  21168. description: 商品代码
  21169. type: string
  21170. historyDatas:
  21171. description: 历史数据
  21172. items:
  21173. $ref: '#/definitions/quote.HistoryData'
  21174. type: array
  21175. outGoodsCode:
  21176. description: 外部商品代码
  21177. type: string
  21178. preSettle:
  21179. description: 昨结价
  21180. type: number
  21181. runSteps:
  21182. description: 交易日开休市计划
  21183. items:
  21184. $ref: '#/definitions/quote.TSDataRunStep'
  21185. type: array
  21186. startTime:
  21187. description: 开始时间
  21188. type: string
  21189. tradeDate:
  21190. description: 交易日
  21191. type: string
  21192. type: object
  21193. quote.TSDataRunStep:
  21194. properties:
  21195. end:
  21196. description: 真实结束时间
  21197. type: string
  21198. endflag:
  21199. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21200. type: integer
  21201. endtime:
  21202. description: 结束时间(HH:mm)
  21203. type: string
  21204. endweekday:
  21205. description: 结束周几
  21206. type: integer
  21207. groupid:
  21208. description: 分组ID
  21209. type: integer
  21210. runstep:
  21211. description: 运行阶段 - 2:连续交易
  21212. type: integer
  21213. sectionid:
  21214. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21215. 结束时间=结算时间 结束周几=结算周几
  21216. type: integer
  21217. start:
  21218. description: 真实开始时间
  21219. type: string
  21220. startflag:
  21221. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21222. type: integer
  21223. starttime:
  21224. description: 起始时间(HH:mm)
  21225. type: string
  21226. startweekday:
  21227. description: 起始周几
  21228. type: integer
  21229. tradeweekday:
  21230. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21231. type: integer
  21232. type: object
  21233. szdz.QueryConvertLogRsp:
  21234. properties:
  21235. accountid:
  21236. description: 资金账户ID
  21237. type: integer
  21238. clientticket:
  21239. description: 客户端流水号
  21240. type: string
  21241. converttype:
  21242. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21243. type: integer
  21244. createtime:
  21245. description: 记账时间
  21246. type: string
  21247. daymaxvalue:
  21248. description: 配置当日最大转入限制
  21249. type: number
  21250. daymaxvalue2:
  21251. description: 配置当日最大转入限制(转入)
  21252. type: number
  21253. goodscode:
  21254. description: 商品代码
  21255. type: string
  21256. goodsname:
  21257. description: 商品名称
  21258. type: string
  21259. handlestatus:
  21260. description: 处理状态
  21261. type: integer
  21262. innergoodsid:
  21263. description: 内部商品ID
  21264. type: integer
  21265. inratio:
  21266. description: 配置转入比值
  21267. type: integer
  21268. invalue:
  21269. description: 目标值
  21270. type: number
  21271. logid:
  21272. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21273. type: integer
  21274. mobile:
  21275. description: 手机号码(加密存储)
  21276. type: string
  21277. outergoodscode:
  21278. description: 外部商品代码[JD\PD]
  21279. type: string
  21280. outratio:
  21281. description: 配置转出比值
  21282. type: integer
  21283. outvalue:
  21284. description: 源值
  21285. type: number
  21286. pddecimalplace:
  21287. description: PD小数位
  21288. type: integer
  21289. qty:
  21290. description: 数量
  21291. type: string
  21292. remark:
  21293. description: 备注
  21294. type: string
  21295. sessionid:
  21296. description: 会话ID
  21297. type: integer
  21298. timemaxvalue:
  21299. description: 配置单次最大转入限制
  21300. type: number
  21301. timemaxvalue2:
  21302. description: 配置单次最大转入限制(转入)
  21303. type: number
  21304. timeminvalue:
  21305. description: 配置单次最小数量限制
  21306. type: number
  21307. timeminvalue2:
  21308. description: 配置单次最小数量限制(转入)
  21309. type: number
  21310. tradedate:
  21311. description: 交易日(yyyyMMdd)
  21312. type: string
  21313. userid:
  21314. description: 用户ID
  21315. type: integer
  21316. required:
  21317. - logid
  21318. type: object
  21319. szdz.QueryGoodsPickupRsp:
  21320. properties:
  21321. accountid:
  21322. description: 账户ID
  21323. type: integer
  21324. address:
  21325. description: 提货人详细地址
  21326. type: string
  21327. auditer:
  21328. description: 审核人
  21329. type: integer
  21330. audittime:
  21331. description: 审核时间
  21332. type: string
  21333. cardnum:
  21334. description: 提货人证件号码
  21335. type: string
  21336. cardtypeid:
  21337. description: 提货人证件类型
  21338. type: integer
  21339. checkremark:
  21340. description: 审核备注
  21341. type: string
  21342. goodscode:
  21343. description: 商品代码
  21344. type: string
  21345. goodsid:
  21346. description: 商品ID
  21347. type: integer
  21348. goodsname:
  21349. description: 商品名称
  21350. type: string
  21351. handlestatus:
  21352. description: 处理状态
  21353. type: integer
  21354. marketid:
  21355. description: 市场ID
  21356. type: integer
  21357. phonenum:
  21358. description: 提货人联系方式
  21359. type: string
  21360. qty:
  21361. description: 提货数量
  21362. type: number
  21363. recivername:
  21364. description: 提货人姓名
  21365. type: string
  21366. reqtime:
  21367. description: 更新时间
  21368. type: string
  21369. takemode:
  21370. description: 提货方式 - 2:自提 3:配送
  21371. type: integer
  21372. takeorderid:
  21373. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21374. type: string
  21375. takeorderstatus:
  21376. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21377. type: integer
  21378. takeremark:
  21379. description: 提货备注
  21380. type: string
  21381. tradedate:
  21382. description: 交易日(yyyyMMdd)
  21383. type: string
  21384. userid:
  21385. description: 用户ID
  21386. type: integer
  21387. required:
  21388. - takeorderid
  21389. type: object
  21390. szdz.QueryRecieptOrderRsp:
  21391. properties:
  21392. accountName:
  21393. description: 所属账号名称(已脱敏)
  21394. type: string
  21395. accountid:
  21396. description: 资金账号
  21397. type: integer
  21398. buyorsell:
  21399. description: 方向 - 0:买 1:卖
  21400. type: integer
  21401. enableqty:
  21402. description: 可摘数量
  21403. type: integer
  21404. goodscode:
  21405. description: 商品代码
  21406. type: string
  21407. goodsid:
  21408. description: 商品ID
  21409. type: integer
  21410. goodsname:
  21411. description: 商品名称
  21412. type: string
  21413. orderid:
  21414. description: 委托单号
  21415. type: string
  21416. orderprice:
  21417. description: 委托价格
  21418. type: number
  21419. ordertime:
  21420. description: 委托时间
  21421. type: string
  21422. tradedate:
  21423. description: 交易日(yyyyMMdd)
  21424. type: string
  21425. required:
  21426. - ordertime
  21427. type: object
  21428. szdz.QuerySZDZTradePositionRsp:
  21429. properties:
  21430. accountid:
  21431. description: 账号Id
  21432. type: integer
  21433. agreeunit:
  21434. description: 合约单位
  21435. type: number
  21436. averageprice:
  21437. description: 持仓均价
  21438. type: number
  21439. buyorsell:
  21440. description: 方向 - 0:买 1:卖
  21441. type: integer
  21442. closetotalqty:
  21443. description: 平仓总数量
  21444. type: integer
  21445. curholderamount:
  21446. description: 当前持仓总金额
  21447. type: number
  21448. curpositionqty:
  21449. description: 当前持仓总数量
  21450. type: integer
  21451. currencyid:
  21452. description: 报价货币ID
  21453. type: integer
  21454. curtdposition:
  21455. description: 期末今日头寸
  21456. type: integer
  21457. decimalplace:
  21458. description: 报价小数位
  21459. type: integer
  21460. enableqty:
  21461. description: 可用量
  21462. type: integer
  21463. fretdposition:
  21464. description: 冻结今日头寸
  21465. type: integer
  21466. frozenqty:
  21467. description: 持仓冻结数量
  21468. type: integer
  21469. goodscode:
  21470. description: 商品代码(内部)
  21471. type: string
  21472. goodsid:
  21473. description: 商品Id
  21474. type: integer
  21475. goodsname:
  21476. description: 商品名称
  21477. type: string
  21478. goodunit:
  21479. description: 报价单位
  21480. type: string
  21481. goodunitid:
  21482. description: 报价单位ID
  21483. type: integer
  21484. holderamount:
  21485. description: 期初持仓总金额
  21486. type: number
  21487. marketid:
  21488. description: 市场ID
  21489. type: integer
  21490. openreqqty:
  21491. description: 开仓申请数量
  21492. type: integer
  21493. opentotalqty:
  21494. description: 开仓总数量
  21495. type: integer
  21496. otherfrozenqty:
  21497. description: 持仓其他冻结数量(交割冻结)
  21498. type: integer
  21499. positionqty:
  21500. description: 期初持仓数量
  21501. type: integer
  21502. szdz3freezqty:
  21503. description: 尚志大宗转换冻结总数量
  21504. type: integer
  21505. tnqty:
  21506. description: T+N冻结总量
  21507. type: integer
  21508. tnusedqty:
  21509. description: T+N使用量
  21510. type: integer
  21511. trademode:
  21512. description: 交易模式
  21513. type: integer
  21514. usedmargin:
  21515. description: 占用保证金
  21516. type: number
  21517. type: object
  21518. taaccount.QueryAmountLogRsp:
  21519. properties:
  21520. OPERATETYPENAME:
  21521. description: 资金操作类型名称
  21522. type: string
  21523. accountid:
  21524. description: 资金账户ID
  21525. type: integer
  21526. agoodscode:
  21527. description: 竞拍商品代码
  21528. type: string
  21529. agoodsname:
  21530. description: 竞拍商品名称
  21531. type: string
  21532. amount:
  21533. description: 资金金额
  21534. type: number
  21535. amountadjusttype:
  21536. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21537. type: integer
  21538. autoid:
  21539. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21540. type: integer
  21541. balance:
  21542. description: 期初余额
  21543. type: number
  21544. businesscode:
  21545. description: 业务编号
  21546. type: integer
  21547. createtime:
  21548. description: 发生时间
  21549. type: string
  21550. currencyid:
  21551. description: 币种ID
  21552. type: integer
  21553. currentbalance:
  21554. description: 期末余额(变动后金额)
  21555. type: number
  21556. dgoodscode:
  21557. description: 交割商品代码
  21558. type: string
  21559. dgoodsname:
  21560. description: 交割商品名称
  21561. type: string
  21562. goodscode:
  21563. description: 商品代码
  21564. type: string
  21565. goodsid:
  21566. description: 商品ID
  21567. type: integer
  21568. goodsname:
  21569. description: 商品名称
  21570. type: string
  21571. marketid:
  21572. description: 市场ID
  21573. type: integer
  21574. marketname:
  21575. description: 市场名称
  21576. type: string
  21577. moneyticket:
  21578. description: 资金流水号:银行端流水号
  21579. type: integer
  21580. operatetype:
  21581. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21582. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21583. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21584. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21585. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21586. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21587. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21588. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21589. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21590. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21591. type: integer
  21592. relationorderid:
  21593. description: 关联单号
  21594. type: string
  21595. remark:
  21596. description: 备注
  21597. type: string
  21598. trademode:
  21599. description: 交易模式
  21600. type: integer
  21601. required:
  21602. - accountid
  21603. - amount
  21604. - amountadjusttype
  21605. - autoid
  21606. - balance
  21607. - createtime
  21608. - currentbalance
  21609. - operatetype
  21610. type: object
  21611. taaccount.QueryHisAmountLogRsp:
  21612. properties:
  21613. OPERATETYPENAME:
  21614. description: 资金操作类型名称
  21615. type: string
  21616. accountid:
  21617. description: 资金账户ID
  21618. type: integer
  21619. agoodscode:
  21620. description: 竞拍商品代码
  21621. type: string
  21622. agoodsname:
  21623. description: 竞拍商品名称
  21624. type: string
  21625. amount:
  21626. description: 资金金额
  21627. type: number
  21628. amountadjusttype:
  21629. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21630. type: integer
  21631. autoid:
  21632. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21633. type: integer
  21634. balance:
  21635. description: 期初余额
  21636. type: number
  21637. businesscode:
  21638. description: 业务编号
  21639. type: integer
  21640. createtime:
  21641. description: 发生时间
  21642. type: string
  21643. currencyid:
  21644. description: 币种ID
  21645. type: integer
  21646. currentbalance:
  21647. description: 期末余额(变动后金额)
  21648. type: number
  21649. dgoodscode:
  21650. description: 交割商品代码
  21651. type: string
  21652. dgoodsname:
  21653. description: 交割商品名称
  21654. type: string
  21655. goodscode:
  21656. description: 商品代码
  21657. type: string
  21658. goodsid:
  21659. description: 商品ID
  21660. type: integer
  21661. goodsname:
  21662. description: 商品名称
  21663. type: string
  21664. histradedate:
  21665. description: 历史交易日
  21666. type: string
  21667. isvaliddata:
  21668. description: 是否有效 - 0:无效 1:有效
  21669. type: integer
  21670. marketid:
  21671. description: 市场ID
  21672. type: integer
  21673. marketname:
  21674. description: 市场名称
  21675. type: string
  21676. moneyticket:
  21677. description: 资金流水号:银行端流水号
  21678. type: integer
  21679. operatetype:
  21680. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21681. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21682. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21683. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21684. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21685. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21686. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21687. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21688. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21689. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21690. type: integer
  21691. relationorderid:
  21692. description: 关联单号
  21693. type: string
  21694. remark:
  21695. description: 备注
  21696. type: string
  21697. trademode:
  21698. description: 交易模式
  21699. type: integer
  21700. required:
  21701. - accountid
  21702. - amount
  21703. - amountadjusttype
  21704. - autoid
  21705. - balance
  21706. - createtime
  21707. - currentbalance
  21708. - histradedate
  21709. - operatetype
  21710. type: object
  21711. trade.QueryRecieptOrderRsp:
  21712. properties:
  21713. accountName:
  21714. description: 所属账号名称(已脱敏)
  21715. type: string
  21716. accountid:
  21717. description: 资金账号
  21718. type: integer
  21719. buyorsell:
  21720. description: 方向 - 0:买 1:卖
  21721. type: integer
  21722. enableqty:
  21723. description: 可摘数量
  21724. type: integer
  21725. goodscode:
  21726. description: 商品代码
  21727. type: string
  21728. goodsid:
  21729. description: 商品ID
  21730. type: integer
  21731. goodsname:
  21732. description: 商品名称
  21733. type: string
  21734. orderid:
  21735. description: 委托单号
  21736. type: string
  21737. orderprice:
  21738. description: 委托价格
  21739. type: number
  21740. ordertime:
  21741. description: 委托时间
  21742. type: string
  21743. tradedate:
  21744. description: 交易日(yyyyMMdd)
  21745. type: string
  21746. required:
  21747. - ordertime
  21748. type: object
  21749. user.LoginQueryRsp:
  21750. properties:
  21751. areaRoles:
  21752. description: 所属角色信息
  21753. items:
  21754. $ref: '#/definitions/models.Arearole'
  21755. type: array
  21756. externalExchanges:
  21757. description: 外部交易所
  21758. items:
  21759. $ref: '#/definitions/models.Externalexchange'
  21760. type: array
  21761. goodsgroups:
  21762. description: 商品组
  21763. items:
  21764. $ref: '#/definitions/models.Goodsgroup'
  21765. type: array
  21766. loginAccount:
  21767. $ref: '#/definitions/models.Loginaccount'
  21768. description: 登录账号
  21769. markets:
  21770. description: 市场
  21771. items:
  21772. $ref: '#/definitions/models.Market'
  21773. type: array
  21774. systemParams:
  21775. description: 系统参数
  21776. items:
  21777. $ref: '#/definitions/models.Systemparam'
  21778. type: array
  21779. userAccount:
  21780. $ref: '#/definitions/models.Useraccount'
  21781. description: 用户账号
  21782. userInfo:
  21783. $ref: '#/definitions/models.Userinfo'
  21784. description: 用户信息
  21785. username:
  21786. description: 用户姓名
  21787. type: string
  21788. type: object
  21789. info:
  21790. contact: {}
  21791. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  21792. termsOfService: http://www.muchinfo.cn
  21793. title: MTP2.0 查询服务 API
  21794. version: "1.0"
  21795. paths:
  21796. /CPTrade/QueryCPTradeMyBidInfos:
  21797. get:
  21798. parameters:
  21799. - description: 资金账户
  21800. in: query
  21801. name: accountid
  21802. required: true
  21803. type: integer
  21804. - description: 预售市场ID
  21805. in: query
  21806. name: marketid
  21807. type: integer
  21808. - description: 预售商品ID
  21809. in: query
  21810. name: goodsid
  21811. type: integer
  21812. produces:
  21813. - application/json
  21814. responses:
  21815. "200":
  21816. description: OK
  21817. schema:
  21818. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  21819. "500":
  21820. description: Internal Server Error
  21821. schema:
  21822. $ref: '#/definitions/app.Response'
  21823. security:
  21824. - ApiKeyAuth: []
  21825. summary: 查询产能预售我的出价信息
  21826. tags:
  21827. - 产能预售
  21828. /CPTrade/QueryCPTradeOrderDetail:
  21829. get:
  21830. parameters:
  21831. - description: 预售商品ID
  21832. in: query
  21833. name: goodsid
  21834. type: integer
  21835. - description: 预售市场ID
  21836. in: query
  21837. name: marketid
  21838. type: integer
  21839. - description: 预售商品ID列表 - 格式:1,2,3
  21840. in: query
  21841. name: goodsids
  21842. type: string
  21843. produces:
  21844. - application/json
  21845. responses:
  21846. "200":
  21847. description: OK
  21848. schema:
  21849. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  21850. "500":
  21851. description: Internal Server Error
  21852. schema:
  21853. $ref: '#/definitions/app.Response'
  21854. security:
  21855. - ApiKeyAuth: []
  21856. summary: 查询产能预售委托单信息
  21857. tags:
  21858. - 产能预售
  21859. /CPTrade/QueryMyCPTradeGoods:
  21860. get:
  21861. parameters:
  21862. - description: 资金账户
  21863. in: query
  21864. name: accountid
  21865. required: true
  21866. type: integer
  21867. produces:
  21868. - application/json
  21869. responses:
  21870. "200":
  21871. description: OK
  21872. schema:
  21873. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  21874. "500":
  21875. description: Internal Server Error
  21876. schema:
  21877. $ref: '#/definitions/app.Response'
  21878. security:
  21879. - ApiKeyAuth: []
  21880. summary: 查询我的预售信息
  21881. tags:
  21882. - 产能预售
  21883. /CPTrade/QueryPositionCancel:
  21884. get:
  21885. parameters:
  21886. - description: 账户ID
  21887. in: query
  21888. name: userid
  21889. required: true
  21890. type: integer
  21891. - description: 注销ID
  21892. in: query
  21893. name: cancelid
  21894. type: integer
  21895. - description: 资金账户ID
  21896. in: query
  21897. name: accountid
  21898. type: integer
  21899. produces:
  21900. - application/json
  21901. responses:
  21902. "200":
  21903. description: OK
  21904. schema:
  21905. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  21906. "500":
  21907. description: Internal Server Error
  21908. schema:
  21909. $ref: '#/definitions/app.Response'
  21910. security:
  21911. - ApiKeyAuth: []
  21912. summary: 查询远期订单注销申请信息
  21913. tags:
  21914. - 产能预售
  21915. /CPTrade/QueryPreasleApply:
  21916. get:
  21917. parameters:
  21918. - description: 账户ID
  21919. in: query
  21920. name: userid
  21921. required: true
  21922. type: integer
  21923. - description: 申请ID
  21924. in: query
  21925. name: applyid
  21926. type: integer
  21927. - description: 资金账户ID
  21928. in: query
  21929. name: accountid
  21930. type: integer
  21931. produces:
  21932. - application/json
  21933. responses:
  21934. "200":
  21935. description: OK
  21936. schema:
  21937. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  21938. "500":
  21939. description: Internal Server Error
  21940. schema:
  21941. $ref: '#/definitions/app.Response'
  21942. security:
  21943. - ApiKeyAuth: []
  21944. summary: 查询产能预售申请信息
  21945. tags:
  21946. - 产能预售
  21947. /CPTrade/QueryPresaleGoodsEx:
  21948. get:
  21949. parameters:
  21950. - description: 预售商品ID
  21951. in: query
  21952. name: goodsid
  21953. type: integer
  21954. - description: 预售市场ID
  21955. in: query
  21956. name: marketid
  21957. type: integer
  21958. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  21959. in: query
  21960. name: presalemode
  21961. type: integer
  21962. - description: 预售商品ID列表 - 格式:1,2,3
  21963. in: query
  21964. name: goodsids
  21965. type: string
  21966. - description: 预售商品代码
  21967. in: query
  21968. name: goodscode
  21969. type: string
  21970. produces:
  21971. - application/json
  21972. responses:
  21973. "200":
  21974. description: OK
  21975. schema:
  21976. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  21977. "500":
  21978. description: Internal Server Error
  21979. schema:
  21980. $ref: '#/definitions/app.Response'
  21981. security:
  21982. - ApiKeyAuth: []
  21983. summary: 查询产能预售商品扩展信息
  21984. tags:
  21985. - 产能预售
  21986. /CPTrade/QueryUserGoodsData:
  21987. get:
  21988. parameters:
  21989. - description: 资金账户ID
  21990. in: query
  21991. name: accountid
  21992. required: true
  21993. type: integer
  21994. produces:
  21995. - application/json
  21996. responses:
  21997. "200":
  21998. description: OK
  21999. schema:
  22000. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  22001. "500":
  22002. description: Internal Server Error
  22003. schema:
  22004. $ref: '#/definitions/app.Response'
  22005. security:
  22006. - ApiKeyAuth: []
  22007. summary: 查询远期订单信息
  22008. tags:
  22009. - 产能预售
  22010. /Common/GetAllEnums:
  22011. get:
  22012. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  22013. parameters:
  22014. - description: 起始自增ID
  22015. in: query
  22016. name: autoid
  22017. type: integer
  22018. produces:
  22019. - application/json
  22020. responses:
  22021. "200":
  22022. description: OK
  22023. schema:
  22024. $ref: '#/definitions/models.Enumdicitem'
  22025. "500":
  22026. description: Internal Server Error
  22027. schema:
  22028. $ref: '#/definitions/app.Response'
  22029. summary: 获取所有枚举信息
  22030. tags:
  22031. - 通用服务
  22032. /Common/GetClientMenus:
  22033. get:
  22034. parameters:
  22035. - description: 登录账号
  22036. in: query
  22037. name: loginID
  22038. required: true
  22039. type: integer
  22040. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  22041. in: query
  22042. name: clientType
  22043. type: integer
  22044. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  22045. in: query
  22046. name: name
  22047. type: string
  22048. produces:
  22049. - application/json
  22050. responses:
  22051. "200":
  22052. description: OK
  22053. schema:
  22054. items:
  22055. $ref: '#/definitions/common.ClientMenu'
  22056. type: array
  22057. "500":
  22058. description: Internal Server Error
  22059. schema:
  22060. $ref: '#/definitions/app.Response'
  22061. security:
  22062. - ApiKeyAuth: []
  22063. summary: 获取交易端菜单
  22064. tags:
  22065. - 通用服务
  22066. /Common/GetDivisions:
  22067. get:
  22068. produces:
  22069. - application/json
  22070. responses:
  22071. "200":
  22072. description: OK
  22073. schema:
  22074. $ref: '#/definitions/models.Division'
  22075. "500":
  22076. description: Internal Server Error
  22077. schema:
  22078. $ref: '#/definitions/app.Response'
  22079. summary: 查询区域信息
  22080. tags:
  22081. - 通用服务
  22082. /Common/GetPCWebMenus:
  22083. get:
  22084. parameters:
  22085. - description: 登录账号
  22086. in: query
  22087. name: loginID
  22088. required: true
  22089. type: integer
  22090. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  22091. in: query
  22092. name: name
  22093. type: string
  22094. produces:
  22095. - application/json
  22096. responses:
  22097. "200":
  22098. description: OK
  22099. schema:
  22100. items:
  22101. $ref: '#/definitions/common.PCWebMenu'
  22102. type: array
  22103. "500":
  22104. description: Internal Server Error
  22105. schema:
  22106. $ref: '#/definitions/app.Response'
  22107. security:
  22108. - ApiKeyAuth: []
  22109. summary: 获取PCWeb交易端菜单
  22110. tags:
  22111. - 通用服务
  22112. /Common/GetServerTime:
  22113. get:
  22114. produces:
  22115. - application/json
  22116. responses:
  22117. "200":
  22118. description: OK
  22119. schema:
  22120. $ref: '#/definitions/app.Response'
  22121. "500":
  22122. description: Internal Server Error
  22123. schema:
  22124. $ref: '#/definitions/app.Response'
  22125. summary: 获取服务器时间
  22126. tags:
  22127. - 通用服务
  22128. /Common/NoticeReaded:
  22129. post:
  22130. parameters:
  22131. - description: 登录账号
  22132. in: query
  22133. name: loginID
  22134. required: true
  22135. type: integer
  22136. - description: 通知公告ID
  22137. in: query
  22138. name: noticeID
  22139. required: true
  22140. type: integer
  22141. produces:
  22142. - application/json
  22143. responses:
  22144. "200":
  22145. description: OK
  22146. schema:
  22147. $ref: '#/definitions/app.Response'
  22148. "500":
  22149. description: Internal Server Error
  22150. schema:
  22151. $ref: '#/definitions/app.Response'
  22152. security:
  22153. - ApiKeyAuth: []
  22154. summary: 通知公告设置已读请求
  22155. tags:
  22156. - 通用服务
  22157. /Common/QueryErrorInfos:
  22158. get:
  22159. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22160. parameters:
  22161. - description: 起始行号前索引
  22162. in: query
  22163. name: rowNumber
  22164. type: string
  22165. produces:
  22166. - application/json
  22167. responses:
  22168. "200":
  22169. description: OK
  22170. schema:
  22171. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22172. "500":
  22173. description: Internal Server Error
  22174. schema:
  22175. $ref: '#/definitions/app.Response'
  22176. summary: 获取数据库错误信息
  22177. tags:
  22178. - 通用服务
  22179. /Common/QueryImageConfigs:
  22180. get:
  22181. parameters:
  22182. - description: 用户id
  22183. in: query
  22184. name: userId
  22185. type: integer
  22186. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22187. in: query
  22188. name: imageType
  22189. type: integer
  22190. produces:
  22191. - application/json
  22192. responses:
  22193. "200":
  22194. description: OK
  22195. schema:
  22196. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22197. "500":
  22198. description: Internal Server Error
  22199. schema:
  22200. $ref: '#/definitions/app.Response'
  22201. summary: 查询轮播图配置信息
  22202. tags:
  22203. - 通用服务
  22204. /Common/QueryNotice:
  22205. get:
  22206. parameters:
  22207. - description: 页码
  22208. in: query
  22209. name: page
  22210. type: integer
  22211. - description: 每页条数
  22212. in: query
  22213. name: pagesize
  22214. type: integer
  22215. - description: 登录账号
  22216. in: query
  22217. name: loginID
  22218. required: true
  22219. type: integer
  22220. - description: 消息类型 - 1:公告通知 2:系统消息
  22221. in: query
  22222. name: msgType
  22223. type: integer
  22224. - description: 是否只获取未读信息
  22225. in: query
  22226. name: onlyUnRead
  22227. type: boolean
  22228. - description: 自增ID,传入后会返回这个ID后面的记录
  22229. in: query
  22230. name: lastID
  22231. type: integer
  22232. produces:
  22233. - application/json
  22234. responses:
  22235. "200":
  22236. description: OK
  22237. schema:
  22238. $ref: '#/definitions/common.QueryNoticeRsp'
  22239. "500":
  22240. description: Internal Server Error
  22241. schema:
  22242. $ref: '#/definitions/app.Response'
  22243. security:
  22244. - ApiKeyAuth: []
  22245. summary: 通知公告系统消息查询
  22246. tags:
  22247. - 通用服务
  22248. /Common/QueryProvincesAndCities:
  22249. get:
  22250. parameters:
  22251. - description: 省ID
  22252. in: query
  22253. name: provinceID
  22254. type: integer
  22255. produces:
  22256. - application/json
  22257. responses:
  22258. "200":
  22259. description: OK
  22260. schema:
  22261. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22262. "500":
  22263. description: Internal Server Error
  22264. schema:
  22265. $ref: '#/definitions/app.Response'
  22266. summary: 查询省市信息(不包括区)
  22267. tags:
  22268. - 通用服务
  22269. /Common/QueryTableDefine:
  22270. get:
  22271. parameters:
  22272. - description: 表key
  22273. in: query
  22274. name: tableKey
  22275. type: string
  22276. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22277. in: query
  22278. name: tableType
  22279. type: integer
  22280. produces:
  22281. - application/json
  22282. responses:
  22283. "200":
  22284. description: OK
  22285. schema:
  22286. $ref: '#/definitions/common.QueryTableDefineRsp'
  22287. "500":
  22288. description: Internal Server Error
  22289. schema:
  22290. $ref: '#/definitions/app.Response'
  22291. summary: 查询交易端列表头信息
  22292. tags:
  22293. - 通用服务
  22294. /Common/QueryTraderMenu:
  22295. get:
  22296. parameters:
  22297. - description: 登录账号
  22298. in: query
  22299. name: loginid
  22300. required: true
  22301. type: integer
  22302. produces:
  22303. - application/json
  22304. responses:
  22305. "200":
  22306. description: OK
  22307. schema:
  22308. $ref: '#/definitions/common.QueryTraderMenuRsp'
  22309. "500":
  22310. description: Internal Server Error
  22311. schema:
  22312. $ref: '#/definitions/app.Response'
  22313. summary: 查询交易端菜单
  22314. tags:
  22315. - 通用服务
  22316. /Delivery/QueryDeliveryRelation:
  22317. get:
  22318. parameters:
  22319. - description: 商品ID
  22320. in: query
  22321. name: goodsid
  22322. type: integer
  22323. - description: 品种ID
  22324. in: query
  22325. name: deliverygoodsid
  22326. type: integer
  22327. - description: 市场ID
  22328. in: query
  22329. name: marketid
  22330. type: integer
  22331. produces:
  22332. - application/json
  22333. responses:
  22334. "200":
  22335. description: OK
  22336. schema:
  22337. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  22338. "500":
  22339. description: Internal Server Error
  22340. schema:
  22341. $ref: '#/definitions/app.Response'
  22342. security:
  22343. - ApiKeyAuth: []
  22344. summary: 查询商品交割关系表
  22345. tags:
  22346. - 交割服务
  22347. /Ermcp/GetErmcpGoods:
  22348. get:
  22349. parameters:
  22350. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  22351. in: query
  22352. name: userid
  22353. type: integer
  22354. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22355. in: query
  22356. name: lastUpdateTime
  22357. type: string
  22358. produces:
  22359. - application/json
  22360. responses:
  22361. "200":
  22362. description: OK
  22363. schema:
  22364. $ref: '#/definitions/models.ErmcpGoods'
  22365. "500":
  22366. description: Internal Server Error
  22367. schema:
  22368. $ref: '#/definitions/app.Response'
  22369. security:
  22370. - ApiKeyAuth: []
  22371. summary: 查询企业风管期货商品信息
  22372. tags:
  22373. - 企业风险管理(app)
  22374. /Ermcp/GetErmcpGoodsSortByPosition:
  22375. get:
  22376. parameters:
  22377. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  22378. in: query
  22379. name: sortIndex
  22380. type: string
  22381. produces:
  22382. - application/json
  22383. responses:
  22384. "200":
  22385. description: OK
  22386. schema:
  22387. $ref: '#/definitions/models.Goodssortbypreposition'
  22388. "500":
  22389. description: Internal Server Error
  22390. schema:
  22391. $ref: '#/definitions/app.Response'
  22392. security:
  22393. - ApiKeyAuth: []
  22394. summary: 查询企业风管期货主力、次主力商品信息
  22395. tags:
  22396. - 企业风险管理(app)
  22397. /Ermcp/GetErmcpOutAccountStatus:
  22398. get:
  22399. parameters:
  22400. - description: 登录账号
  22401. in: query
  22402. name: loginID
  22403. required: true
  22404. type: integer
  22405. produces:
  22406. - application/json
  22407. responses:
  22408. "200":
  22409. description: OK
  22410. schema:
  22411. $ref: '#/definitions/models.Hedgemarketopenlog'
  22412. "500":
  22413. description: Internal Server Error
  22414. schema:
  22415. $ref: '#/definitions/app.Response'
  22416. security:
  22417. - ApiKeyAuth: []
  22418. summary: 获取目标登录账号当前对冲账号在线状态
  22419. tags:
  22420. - 企业风险管理(app)
  22421. /Ermcp/GetErmcpRoleFuncMenuLists:
  22422. get:
  22423. parameters:
  22424. - description: 登录账号
  22425. in: query
  22426. name: loginID
  22427. required: true
  22428. type: integer
  22429. produces:
  22430. - application/json
  22431. responses:
  22432. "200":
  22433. description: OK
  22434. schema:
  22435. $ref: '#/definitions/models.Funcmenulist'
  22436. "500":
  22437. description: Internal Server Error
  22438. schema:
  22439. $ref: '#/definitions/app.Response'
  22440. security:
  22441. - ApiKeyAuth: []
  22442. summary: 获取企业风管终端权限
  22443. tags:
  22444. - 企业风险管理(app)
  22445. /Ermcp/QueryAccMgrBizGroupSet:
  22446. get:
  22447. parameters:
  22448. - description: 用户ID
  22449. in: query
  22450. name: userid
  22451. required: true
  22452. type: integer
  22453. - description: 现货商品id
  22454. in: query
  22455. name: deliverygoodsid
  22456. type: integer
  22457. produces:
  22458. - application/json
  22459. responses:
  22460. "200":
  22461. description: OK
  22462. schema:
  22463. items:
  22464. $ref: '#/definitions/models.ErmcpBizGroupEx'
  22465. type: array
  22466. "500":
  22467. description: Internal Server Error
  22468. schema:
  22469. $ref: '#/definitions/app.Response'
  22470. security:
  22471. - ApiKeyAuth: []
  22472. summary: 查询业务类型分组(账户管理/账户设置)
  22473. tags:
  22474. - 企业风险管理(app)
  22475. /Ermcp/QueryAccMgrLoginUser:
  22476. get:
  22477. parameters:
  22478. - description: 用户ID
  22479. in: query
  22480. name: userid
  22481. required: true
  22482. type: integer
  22483. - description: 用户类型 2-机构 7-企业成员
  22484. in: query
  22485. name: usertype
  22486. type: integer
  22487. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  22488. in: query
  22489. name: querytype
  22490. required: true
  22491. type: integer
  22492. produces:
  22493. - application/json
  22494. responses:
  22495. "200":
  22496. description: OK
  22497. schema:
  22498. items:
  22499. $ref: '#/definitions/models.ErmcpLoginUserEx'
  22500. type: array
  22501. "500":
  22502. description: Internal Server Error
  22503. schema:
  22504. $ref: '#/definitions/app.Response'
  22505. security:
  22506. - ApiKeyAuth: []
  22507. summary: 查询账户管理登录账号(账户管理/登录账号)
  22508. tags:
  22509. - 企业风险管理(app)
  22510. /Ermcp/QueryAccMgrMainAccountInfo:
  22511. get:
  22512. parameters:
  22513. - description: 用户ID
  22514. in: query
  22515. name: userid
  22516. type: integer
  22517. - description: 主账号id
  22518. in: query
  22519. name: accountid
  22520. type: integer
  22521. produces:
  22522. - application/json
  22523. responses:
  22524. "200":
  22525. description: OK
  22526. schema:
  22527. items:
  22528. $ref: '#/definitions/models.MainAccountInfo'
  22529. type: array
  22530. "500":
  22531. description: Internal Server Error
  22532. schema:
  22533. $ref: '#/definitions/app.Response'
  22534. security:
  22535. - ApiKeyAuth: []
  22536. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  22537. tags:
  22538. - 企业风险管理(app)
  22539. /Ermcp/QueryAccMgrRole:
  22540. get:
  22541. parameters:
  22542. - description: 用户ID
  22543. in: query
  22544. name: userid
  22545. required: true
  22546. type: integer
  22547. produces:
  22548. - application/json
  22549. responses:
  22550. "200":
  22551. description: OK
  22552. schema:
  22553. items:
  22554. $ref: '#/definitions/models.ErmcpRole'
  22555. type: array
  22556. "500":
  22557. description: Internal Server Error
  22558. schema:
  22559. $ref: '#/definitions/app.Response'
  22560. security:
  22561. - ApiKeyAuth: []
  22562. summary: 查询账户管理角色设置(账户管理/角色设置)
  22563. tags:
  22564. - 企业风险管理(app)
  22565. /Ermcp/QueryAccMgrRoleMenu:
  22566. get:
  22567. parameters:
  22568. - description: 用户ID
  22569. in: query
  22570. name: userid
  22571. required: true
  22572. type: integer
  22573. - description: 角色id(可多个,逗号隔开)
  22574. in: query
  22575. name: roleid
  22576. type: string
  22577. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  22578. in: query
  22579. name: menutype
  22580. type: integer
  22581. produces:
  22582. - application/json
  22583. responses:
  22584. "200":
  22585. description: OK
  22586. schema:
  22587. items:
  22588. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  22589. type: array
  22590. "500":
  22591. description: Internal Server Error
  22592. schema:
  22593. $ref: '#/definitions/app.Response'
  22594. security:
  22595. - ApiKeyAuth: []
  22596. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  22597. tags:
  22598. - 企业风险管理(app)
  22599. /Ermcp/QueryAccMgrTaAccountInfo:
  22600. get:
  22601. parameters:
  22602. - description: 用户ID
  22603. in: query
  22604. name: userid
  22605. required: true
  22606. type: integer
  22607. - description: 账号id
  22608. in: query
  22609. name: accountid
  22610. type: integer
  22611. produces:
  22612. - application/json
  22613. responses:
  22614. "200":
  22615. description: OK
  22616. schema:
  22617. items:
  22618. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  22619. type: array
  22620. "500":
  22621. description: Internal Server Error
  22622. schema:
  22623. $ref: '#/definitions/app.Response'
  22624. security:
  22625. - ApiKeyAuth: []
  22626. summary: 查询账户管理授信(账户管理/账户设置/授信)
  22627. tags:
  22628. - 企业风险管理(app)
  22629. /Ermcp/QueryAccMgrTaaccount:
  22630. get:
  22631. parameters:
  22632. - description: 用户ID
  22633. in: query
  22634. name: userid
  22635. required: true
  22636. type: integer
  22637. produces:
  22638. - application/json
  22639. responses:
  22640. "200":
  22641. description: OK
  22642. schema:
  22643. items:
  22644. $ref: '#/definitions/models.ErmcpTaAccountEx'
  22645. type: array
  22646. "500":
  22647. description: Internal Server Error
  22648. schema:
  22649. $ref: '#/definitions/app.Response'
  22650. security:
  22651. - ApiKeyAuth: []
  22652. summary: 查询账户管理期货账号(账户管理/期货账号)
  22653. tags:
  22654. - 企业风险管理(app)
  22655. /Ermcp/QueryAvaildGoodsGroup:
  22656. get:
  22657. parameters:
  22658. - description: 所属机构ID
  22659. in: query
  22660. name: userid
  22661. required: true
  22662. type: integer
  22663. produces:
  22664. - application/json
  22665. responses:
  22666. "200":
  22667. description: OK
  22668. schema:
  22669. items:
  22670. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  22671. type: array
  22672. "500":
  22673. description: Internal Server Error
  22674. schema:
  22675. $ref: '#/definitions/app.Response'
  22676. security:
  22677. - ApiKeyAuth: []
  22678. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  22679. tags:
  22680. - 企业风险管理(app)
  22681. /Ermcp/QueryBusinessDj:
  22682. get:
  22683. parameters:
  22684. - description: 用户ID
  22685. in: query
  22686. name: UserId
  22687. required: true
  22688. type: integer
  22689. - description: 用户类型 2-机构 7-企业成员
  22690. in: query
  22691. name: usertype
  22692. type: integer
  22693. - description: 现货合同ID, 不填则查所有
  22694. in: query
  22695. name: relatedid
  22696. type: string
  22697. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22698. in: query
  22699. name: applystatus
  22700. type: string
  22701. produces:
  22702. - application/json
  22703. responses:
  22704. "200":
  22705. description: OK
  22706. schema:
  22707. items:
  22708. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  22709. type: array
  22710. "500":
  22711. description: Internal Server Error
  22712. schema:
  22713. $ref: '#/definitions/app.Response'
  22714. security:
  22715. - ApiKeyAuth: []
  22716. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  22717. tags:
  22718. - 企业风险管理(app)
  22719. /Ermcp/QueryBusinessFp:
  22720. get:
  22721. parameters:
  22722. - description: 用户ID
  22723. in: query
  22724. name: UserId
  22725. required: true
  22726. type: integer
  22727. - description: 用户类型 2-机构 7-企业成员
  22728. in: query
  22729. name: usertype
  22730. type: integer
  22731. - description: 现货合同ID, 不填则查所有
  22732. in: query
  22733. name: relatedid
  22734. type: string
  22735. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22736. in: query
  22737. name: applystatus
  22738. type: string
  22739. produces:
  22740. - application/json
  22741. responses:
  22742. "200":
  22743. description: OK
  22744. schema:
  22745. items:
  22746. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  22747. type: array
  22748. "500":
  22749. description: Internal Server Error
  22750. schema:
  22751. $ref: '#/definitions/app.Response'
  22752. security:
  22753. - ApiKeyAuth: []
  22754. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  22755. tags:
  22756. - 企业风险管理(app)
  22757. /Ermcp/QueryBusinessJs:
  22758. get:
  22759. parameters:
  22760. - description: 用户ID
  22761. in: query
  22762. name: UserId
  22763. required: true
  22764. type: integer
  22765. - description: 用户类型 2-机构 7-企业成员
  22766. in: query
  22767. name: usertype
  22768. type: integer
  22769. - description: 现货合同ID, 不填则查所有
  22770. in: query
  22771. name: relatedid
  22772. type: string
  22773. - description: 操作申请id
  22774. in: query
  22775. name: operateapplyid
  22776. type: string
  22777. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22778. in: query
  22779. name: applystatus
  22780. type: string
  22781. produces:
  22782. - application/json
  22783. responses:
  22784. "200":
  22785. description: OK
  22786. schema:
  22787. items:
  22788. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  22789. type: array
  22790. "500":
  22791. description: Internal Server Error
  22792. schema:
  22793. $ref: '#/definitions/app.Response'
  22794. security:
  22795. - ApiKeyAuth: []
  22796. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  22797. tags:
  22798. - 企业风险管理(app)
  22799. /Ermcp/QueryBusinessJsEx:
  22800. get:
  22801. parameters:
  22802. - description: 用户ID
  22803. in: query
  22804. name: UserId
  22805. required: true
  22806. type: integer
  22807. - description: 用户类型 2-机构 7-企业成员
  22808. in: query
  22809. name: usertype
  22810. type: integer
  22811. - description: 现货合同ID, 不填则查所有
  22812. in: query
  22813. name: relatedid
  22814. type: string
  22815. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22816. in: query
  22817. name: applystatus
  22818. type: string
  22819. produces:
  22820. - application/json
  22821. responses:
  22822. "200":
  22823. description: OK
  22824. schema:
  22825. items:
  22826. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  22827. type: array
  22828. "500":
  22829. description: Internal Server Error
  22830. schema:
  22831. $ref: '#/definitions/app.Response'
  22832. security:
  22833. - ApiKeyAuth: []
  22834. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  22835. tags:
  22836. - 企业风险管理(app)
  22837. /Ermcp/QueryBusinessKx:
  22838. get:
  22839. parameters:
  22840. - description: 用户ID
  22841. in: query
  22842. name: UserId
  22843. required: true
  22844. type: integer
  22845. - description: 用户类型 2-机构 7-企业成员
  22846. in: query
  22847. name: usertype
  22848. type: integer
  22849. - description: 现货合同ID, 不填则查所有
  22850. in: query
  22851. name: relatedid
  22852. type: string
  22853. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22854. in: query
  22855. name: applystatus
  22856. type: string
  22857. produces:
  22858. - application/json
  22859. responses:
  22860. "200":
  22861. description: OK
  22862. schema:
  22863. items:
  22864. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  22865. type: array
  22866. "500":
  22867. description: Internal Server Error
  22868. schema:
  22869. $ref: '#/definitions/app.Response'
  22870. security:
  22871. - ApiKeyAuth: []
  22872. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  22873. tags:
  22874. - 企业风险管理(app)
  22875. /Ermcp/QueryChangeLog:
  22876. get:
  22877. parameters:
  22878. - description: 合同ID
  22879. in: query
  22880. name: RelatedId
  22881. required: true
  22882. type: string
  22883. produces:
  22884. - application/json
  22885. responses:
  22886. "200":
  22887. description: OK
  22888. schema:
  22889. items:
  22890. $ref: '#/definitions/ermcp.QryOPLogRsp'
  22891. type: array
  22892. "500":
  22893. description: Internal Server Error
  22894. schema:
  22895. $ref: '#/definitions/app.Response'
  22896. security:
  22897. - ApiKeyAuth: []
  22898. summary: 查询变更记录
  22899. tags:
  22900. - 企业风险管理(app)
  22901. /Ermcp/QueryErmcpHisOrderDetails:
  22902. get:
  22903. parameters:
  22904. - description: 资金账户ID
  22905. in: query
  22906. name: accountID
  22907. required: true
  22908. type: integer
  22909. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22910. in: query
  22911. name: startDate
  22912. type: string
  22913. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22914. in: query
  22915. name: endDate
  22916. type: string
  22917. produces:
  22918. - application/json
  22919. responses:
  22920. "200":
  22921. description: OK
  22922. schema:
  22923. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22924. "500":
  22925. description: Internal Server Error
  22926. schema:
  22927. $ref: '#/definitions/app.Response'
  22928. security:
  22929. - ApiKeyAuth: []
  22930. summary: 获取企业风管期货历史委托单信息
  22931. tags:
  22932. - 企业风险管理(app)
  22933. /Ermcp/QueryErmcpHisTradeDetails:
  22934. get:
  22935. parameters:
  22936. - description: 资金账户ID
  22937. in: query
  22938. name: accountID
  22939. required: true
  22940. type: integer
  22941. - description: 商品ID
  22942. in: query
  22943. name: goodsID
  22944. type: integer
  22945. - description: 买卖方向,0:买 1:卖
  22946. in: query
  22947. name: buyOrSell
  22948. type: integer
  22949. - description: 关联委托单号
  22950. in: query
  22951. name: orderID
  22952. type: integer
  22953. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22954. in: query
  22955. name: startDate
  22956. type: string
  22957. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22958. in: query
  22959. name: endDate
  22960. type: string
  22961. produces:
  22962. - application/json
  22963. responses:
  22964. "200":
  22965. description: OK
  22966. schema:
  22967. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22968. "500":
  22969. description: Internal Server Error
  22970. schema:
  22971. $ref: '#/definitions/app.Response'
  22972. security:
  22973. - ApiKeyAuth: []
  22974. summary: 获取企业风管期货历史成交单信息
  22975. tags:
  22976. - 企业风险管理(app)
  22977. /Ermcp/QueryErmcpInnerHolderDetails:
  22978. get:
  22979. parameters:
  22980. - description: 资金账户ID
  22981. in: query
  22982. name: accountID
  22983. required: true
  22984. type: integer
  22985. - description: 商品ID
  22986. in: query
  22987. name: goodsID
  22988. type: integer
  22989. - description: 买卖方向,0:买 1:卖
  22990. in: query
  22991. name: buyOrSell
  22992. type: integer
  22993. produces:
  22994. - application/json
  22995. responses:
  22996. "200":
  22997. description: OK
  22998. schema:
  22999. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  23000. "500":
  23001. description: Internal Server Error
  23002. schema:
  23003. $ref: '#/definitions/app.Response'
  23004. security:
  23005. - ApiKeyAuth: []
  23006. summary: 获取企业风管期货内部持仓单信息
  23007. tags:
  23008. - 企业风险管理(app)
  23009. /Ermcp/QueryErmcpOrderDetails:
  23010. get:
  23011. parameters:
  23012. - description: 资金账户ID
  23013. in: query
  23014. name: accountID
  23015. required: true
  23016. type: integer
  23017. produces:
  23018. - application/json
  23019. responses:
  23020. "200":
  23021. description: OK
  23022. schema:
  23023. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23024. "500":
  23025. description: Internal Server Error
  23026. schema:
  23027. $ref: '#/definitions/app.Response'
  23028. security:
  23029. - ApiKeyAuth: []
  23030. summary: 获取企业风管期货委托单信息
  23031. tags:
  23032. - 企业风险管理(app)
  23033. /Ermcp/QueryErmcpTradeDetails:
  23034. get:
  23035. parameters:
  23036. - description: 资金账户ID
  23037. in: query
  23038. name: accountID
  23039. required: true
  23040. type: integer
  23041. - description: 商品ID
  23042. in: query
  23043. name: goodsID
  23044. type: integer
  23045. - description: 买卖方向,0:买 1:卖
  23046. in: query
  23047. name: buyOrSell
  23048. type: integer
  23049. - description: 关联委托单号
  23050. in: query
  23051. name: orderID
  23052. type: integer
  23053. produces:
  23054. - application/json
  23055. responses:
  23056. "200":
  23057. description: OK
  23058. schema:
  23059. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23060. "500":
  23061. description: Internal Server Error
  23062. schema:
  23063. $ref: '#/definitions/app.Response'
  23064. security:
  23065. - ApiKeyAuth: []
  23066. summary: 获取企业风管期货成交单信息
  23067. tags:
  23068. - 企业风险管理(app)
  23069. /Ermcp/QueryErmcpTradePosition:
  23070. get:
  23071. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  23072. parameters:
  23073. - description: 资金账户ID
  23074. in: query
  23075. name: accountID
  23076. required: true
  23077. type: integer
  23078. - description: 所属市场ID
  23079. in: query
  23080. name: marketID
  23081. type: integer
  23082. produces:
  23083. - application/json
  23084. responses:
  23085. "200":
  23086. description: OK
  23087. schema:
  23088. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  23089. "500":
  23090. description: Internal Server Error
  23091. schema:
  23092. $ref: '#/definitions/app.Response'
  23093. security:
  23094. - ApiKeyAuth: []
  23095. summary: 获取企业风管期货持仓头寸信息
  23096. tags:
  23097. - 企业风险管理(app)
  23098. /Ermcp/QueryExposureDetail:
  23099. get:
  23100. parameters:
  23101. - description: 所属机构ID
  23102. in: query
  23103. name: areaUserId
  23104. required: true
  23105. type: integer
  23106. - description: 套保商品
  23107. in: query
  23108. name: middleGoodsId
  23109. required: true
  23110. type: integer
  23111. produces:
  23112. - application/json
  23113. responses:
  23114. "200":
  23115. description: OK
  23116. schema:
  23117. items:
  23118. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  23119. type: array
  23120. "500":
  23121. description: Internal Server Error
  23122. schema:
  23123. $ref: '#/definitions/app.Response'
  23124. security:
  23125. - ApiKeyAuth: []
  23126. summary: 查询敞口现货明细
  23127. tags:
  23128. - 企业风险管理(app)
  23129. /Ermcp/QueryExposureGoods:
  23130. get:
  23131. parameters:
  23132. - description: 套保商品id
  23133. in: query
  23134. name: middlegoodsid
  23135. required: true
  23136. type: integer
  23137. produces:
  23138. - application/json
  23139. responses:
  23140. "200":
  23141. description: OK
  23142. schema:
  23143. items:
  23144. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23145. type: array
  23146. "500":
  23147. description: Internal Server Error
  23148. schema:
  23149. $ref: '#/definitions/app.Response'
  23150. security:
  23151. - ApiKeyAuth: []
  23152. summary: 查询敞口主力合约
  23153. tags:
  23154. - 企业风险管理(app)
  23155. /Ermcp/QueryExposureHedgePosition:
  23156. get:
  23157. parameters:
  23158. - description: 用户id
  23159. in: query
  23160. name: userid
  23161. required: true
  23162. type: integer
  23163. produces:
  23164. - application/json
  23165. responses:
  23166. "200":
  23167. description: OK
  23168. schema:
  23169. items:
  23170. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23171. type: array
  23172. "500":
  23173. description: Internal Server Error
  23174. schema:
  23175. $ref: '#/definitions/app.Response'
  23176. security:
  23177. - ApiKeyAuth: []
  23178. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23179. tags:
  23180. - 企业风险管理(app)
  23181. /Ermcp/QueryExposureHedgePositionDetail:
  23182. get:
  23183. parameters:
  23184. - description: 所属机构ID
  23185. in: query
  23186. name: userid
  23187. required: true
  23188. type: integer
  23189. - description: 商品id
  23190. in: query
  23191. name: goodsId
  23192. required: true
  23193. type: integer
  23194. produces:
  23195. - application/json
  23196. responses:
  23197. "200":
  23198. description: OK
  23199. schema:
  23200. items:
  23201. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23202. type: array
  23203. "500":
  23204. description: Internal Server Error
  23205. schema:
  23206. $ref: '#/definitions/app.Response'
  23207. security:
  23208. - ApiKeyAuth: []
  23209. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23210. tags:
  23211. - 企业风险管理(app)
  23212. /Ermcp/QueryExposureSpot:
  23213. get:
  23214. parameters:
  23215. - description: 所属机构ID
  23216. in: query
  23217. name: areaUserId
  23218. required: true
  23219. type: integer
  23220. produces:
  23221. - application/json
  23222. responses:
  23223. "200":
  23224. description: OK
  23225. schema:
  23226. items:
  23227. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23228. type: array
  23229. "500":
  23230. description: Internal Server Error
  23231. schema:
  23232. $ref: '#/definitions/app.Response'
  23233. security:
  23234. - ApiKeyAuth: []
  23235. summary: 查询敞口现货头寸(敞口/现货头寸)
  23236. tags:
  23237. - 企业风险管理(app)
  23238. /Ermcp/QueryExposureSpotDetail:
  23239. get:
  23240. parameters:
  23241. - description: 所属机构ID
  23242. in: query
  23243. name: areaUserId
  23244. required: true
  23245. type: integer
  23246. - description: 现货品种ID
  23247. in: query
  23248. name: wrstandardId
  23249. required: true
  23250. type: integer
  23251. produces:
  23252. - application/json
  23253. responses:
  23254. "200":
  23255. description: OK
  23256. schema:
  23257. items:
  23258. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23259. type: array
  23260. "500":
  23261. description: Internal Server Error
  23262. schema:
  23263. $ref: '#/definitions/app.Response'
  23264. security:
  23265. - ApiKeyAuth: []
  23266. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23267. tags:
  23268. - 企业风险管理(app)
  23269. /Ermcp/QueryFuturesCompany:
  23270. get:
  23271. produces:
  23272. - application/json
  23273. responses:
  23274. "200":
  23275. description: OK
  23276. schema:
  23277. items:
  23278. $ref: '#/definitions/models.ErmcpFuturesCompany'
  23279. type: array
  23280. "500":
  23281. description: Internal Server Error
  23282. schema:
  23283. $ref: '#/definitions/app.Response'
  23284. security:
  23285. - ApiKeyAuth: []
  23286. summary: 查询期货公司
  23287. tags:
  23288. - 企业风险管理(app)
  23289. /Ermcp/QueryGGConvertConfig:
  23290. get:
  23291. parameters:
  23292. - description: 品种id(不填则查所有)
  23293. in: query
  23294. name: goodsgroupid
  23295. type: integer
  23296. produces:
  23297. - application/json
  23298. responses:
  23299. "200":
  23300. description: OK
  23301. schema:
  23302. items:
  23303. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  23304. type: array
  23305. "500":
  23306. description: Internal Server Error
  23307. schema:
  23308. $ref: '#/definitions/app.Response'
  23309. security:
  23310. - ApiKeyAuth: []
  23311. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  23312. tags:
  23313. - 企业风险管理(app)
  23314. /Ermcp/QueryGoodsBrand:
  23315. get:
  23316. parameters:
  23317. - description: 用户ID
  23318. in: query
  23319. name: userid
  23320. required: true
  23321. type: integer
  23322. - description: 现货商品ID
  23323. in: query
  23324. name: wrstandardid
  23325. type: integer
  23326. produces:
  23327. - application/json
  23328. responses:
  23329. "200":
  23330. description: OK
  23331. schema:
  23332. items:
  23333. $ref: '#/definitions/models.ErmcpGoodsBrand'
  23334. type: array
  23335. "500":
  23336. description: Internal Server Error
  23337. schema:
  23338. $ref: '#/definitions/app.Response'
  23339. security:
  23340. - ApiKeyAuth: []
  23341. summary: 查询商品品牌
  23342. tags:
  23343. - 企业风险管理(app)
  23344. /Ermcp/QueryGoodsModel:
  23345. get:
  23346. parameters:
  23347. - description: 用户ID
  23348. in: query
  23349. name: userid
  23350. required: true
  23351. type: integer
  23352. produces:
  23353. - application/json
  23354. responses:
  23355. "200":
  23356. description: OK
  23357. schema:
  23358. items:
  23359. $ref: '#/definitions/models.ErmcpGoodsModel'
  23360. type: array
  23361. "500":
  23362. description: Internal Server Error
  23363. schema:
  23364. $ref: '#/definitions/app.Response'
  23365. security:
  23366. - ApiKeyAuth: []
  23367. summary: 查询商品型号
  23368. tags:
  23369. - 企业风险管理(app)
  23370. /Ermcp/QueryHisExposure:
  23371. get:
  23372. parameters:
  23373. - description: 用户id
  23374. in: query
  23375. name: userid
  23376. required: true
  23377. type: integer
  23378. - description: 每个品种记录数
  23379. in: query
  23380. name: lastNum
  23381. required: true
  23382. type: integer
  23383. produces:
  23384. - application/json
  23385. responses:
  23386. "200":
  23387. description: OK
  23388. schema:
  23389. items:
  23390. $ref: '#/definitions/ermcp.HisExposureRsp'
  23391. type: array
  23392. "500":
  23393. description: Internal Server Error
  23394. schema:
  23395. $ref: '#/definitions/app.Response'
  23396. security:
  23397. - ApiKeyAuth: []
  23398. summary: 查询历史敞口(菜单:敞口/历史敞口)
  23399. tags:
  23400. - 企业风险管理(app)
  23401. /Ermcp/QueryMiddleGoods:
  23402. get:
  23403. parameters:
  23404. - description: 所属机构ID
  23405. in: query
  23406. name: userid
  23407. required: true
  23408. type: integer
  23409. - description: 状态 0-停用 1-正常
  23410. in: query
  23411. name: status
  23412. required: true
  23413. type: integer
  23414. produces:
  23415. - application/json
  23416. responses:
  23417. "200":
  23418. description: OK
  23419. schema:
  23420. items:
  23421. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  23422. type: array
  23423. "500":
  23424. description: Internal Server Error
  23425. schema:
  23426. $ref: '#/definitions/app.Response'
  23427. security:
  23428. - ApiKeyAuth: []
  23429. summary: 查询套保品种(菜单:套保品种)
  23430. tags:
  23431. - 企业风险管理(app)
  23432. /Ermcp/QueryMiddleGoodsChangeLog:
  23433. get:
  23434. parameters:
  23435. - description: 所属机构ID
  23436. in: query
  23437. name: userid
  23438. required: true
  23439. type: integer
  23440. - description: 套保品种id
  23441. in: query
  23442. name: middlegoodsid
  23443. required: true
  23444. type: integer
  23445. produces:
  23446. - application/json
  23447. responses:
  23448. "200":
  23449. description: OK
  23450. schema:
  23451. items:
  23452. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  23453. type: array
  23454. "500":
  23455. description: Internal Server Error
  23456. schema:
  23457. $ref: '#/definitions/app.Response'
  23458. security:
  23459. - ApiKeyAuth: []
  23460. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  23461. tags:
  23462. - 企业风险管理(app)
  23463. /Ermcp/QueryMiddleGoodsDetail:
  23464. get:
  23465. parameters:
  23466. - description: 所属机构ID
  23467. in: query
  23468. name: userid
  23469. required: true
  23470. type: integer
  23471. - description: 套保品种id
  23472. in: query
  23473. name: middlegoodsid
  23474. type: integer
  23475. produces:
  23476. - application/json
  23477. responses:
  23478. "200":
  23479. description: OK
  23480. schema:
  23481. items:
  23482. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  23483. type: array
  23484. "500":
  23485. description: Internal Server Error
  23486. schema:
  23487. $ref: '#/definitions/app.Response'
  23488. security:
  23489. - ApiKeyAuth: []
  23490. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  23491. tags:
  23492. - 企业风险管理(app)
  23493. /Ermcp/QueryPendingAuditInfo:
  23494. get:
  23495. parameters:
  23496. - description: 用户ID
  23497. in: query
  23498. name: UserId
  23499. required: true
  23500. type: integer
  23501. produces:
  23502. - application/json
  23503. responses:
  23504. "200":
  23505. description: OK
  23506. schema:
  23507. items:
  23508. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  23509. type: array
  23510. "500":
  23511. description: Internal Server Error
  23512. schema:
  23513. $ref: '#/definitions/app.Response'
  23514. security:
  23515. - ApiKeyAuth: []
  23516. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  23517. tags:
  23518. - 企业风险管理(app)
  23519. /Ermcp/QueryRealtimeExposure:
  23520. get:
  23521. parameters:
  23522. - description: 所属机构ID
  23523. in: query
  23524. name: userid
  23525. required: true
  23526. type: integer
  23527. produces:
  23528. - application/json
  23529. responses:
  23530. "200":
  23531. description: OK
  23532. schema:
  23533. items:
  23534. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  23535. type: array
  23536. "500":
  23537. description: Internal Server Error
  23538. schema:
  23539. $ref: '#/definitions/app.Response'
  23540. security:
  23541. - ApiKeyAuth: []
  23542. summary: 查询实时敞口
  23543. tags:
  23544. - 企业风险管理(app)
  23545. /Ermcp/QueryRealtimeExposurePosition:
  23546. get:
  23547. parameters:
  23548. - description: 用户id
  23549. in: query
  23550. name: userid
  23551. required: true
  23552. type: integer
  23553. - description: 套保商品ID
  23554. in: query
  23555. name: middleGoodsId
  23556. required: true
  23557. type: integer
  23558. produces:
  23559. - application/json
  23560. responses:
  23561. "200":
  23562. description: OK
  23563. schema:
  23564. items:
  23565. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  23566. type: array
  23567. "500":
  23568. description: Internal Server Error
  23569. schema:
  23570. $ref: '#/definitions/app.Response'
  23571. security:
  23572. - ApiKeyAuth: []
  23573. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  23574. tags:
  23575. - 企业风险管理(app)
  23576. /Ermcp/QueryRoleMenu:
  23577. get:
  23578. parameters:
  23579. - description: 登录ID
  23580. in: query
  23581. name: loginid
  23582. required: true
  23583. type: integer
  23584. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  23585. in: query
  23586. name: menutype
  23587. type: integer
  23588. produces:
  23589. - application/json
  23590. responses:
  23591. "200":
  23592. description: OK
  23593. schema:
  23594. items:
  23595. $ref: '#/definitions/models.RoleMenu'
  23596. type: array
  23597. "500":
  23598. description: Internal Server Error
  23599. schema:
  23600. $ref: '#/definitions/app.Response'
  23601. security:
  23602. - ApiKeyAuth: []
  23603. summary: 查询角色菜单和权限
  23604. tags:
  23605. - 企业风险管理(app)
  23606. /Ermcp/QueryTradeConfigTMP:
  23607. get:
  23608. parameters:
  23609. - description: 所属机构id
  23610. in: query
  23611. name: areauserid
  23612. type: integer
  23613. produces:
  23614. - application/json
  23615. responses:
  23616. "200":
  23617. description: OK
  23618. schema:
  23619. items:
  23620. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  23621. type: array
  23622. "500":
  23623. description: Internal Server Error
  23624. schema:
  23625. $ref: '#/definitions/app.Response'
  23626. security:
  23627. - ApiKeyAuth: []
  23628. summary: 查询交易模板配置
  23629. tags:
  23630. - 企业风险管理(app)
  23631. /Ermcp/QueryUserInfo:
  23632. get:
  23633. parameters:
  23634. - description: 所属机构用户ID
  23635. in: query
  23636. name: MemberUserID
  23637. required: true
  23638. type: integer
  23639. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  23640. in: query
  23641. name: queryType
  23642. required: true
  23643. type: integer
  23644. produces:
  23645. - application/json
  23646. responses:
  23647. "200":
  23648. description: OK
  23649. schema:
  23650. items:
  23651. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  23652. type: array
  23653. "500":
  23654. description: Internal Server Error
  23655. schema:
  23656. $ref: '#/definitions/app.Response'
  23657. security:
  23658. - ApiKeyAuth: []
  23659. summary: 查询客户资料
  23660. tags:
  23661. - 企业风险管理(app)
  23662. /Ermcp/QueryWarehouseInfo:
  23663. get:
  23664. parameters:
  23665. - description: 用户ID
  23666. in: query
  23667. name: userid
  23668. required: true
  23669. type: integer
  23670. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  23671. in: query
  23672. name: status
  23673. type: string
  23674. produces:
  23675. - application/json
  23676. responses:
  23677. "200":
  23678. description: OK
  23679. schema:
  23680. items:
  23681. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  23682. type: array
  23683. "500":
  23684. description: Internal Server Error
  23685. schema:
  23686. $ref: '#/definitions/app.Response'
  23687. security:
  23688. - ApiKeyAuth: []
  23689. summary: 查询仓库信息
  23690. tags:
  23691. - 企业风险管理(app)
  23692. /Ermcp3/QryAreaExpourseContractDetail:
  23693. get:
  23694. parameters:
  23695. - description: 用户ID
  23696. in: query
  23697. name: userid
  23698. required: true
  23699. type: integer
  23700. - description: 套保商品id
  23701. in: query
  23702. name: middlegoodsid
  23703. required: true
  23704. type: integer
  23705. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23706. in: query
  23707. name: cycletype
  23708. required: true
  23709. type: integer
  23710. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23711. 全(0)【原值】
  23712. in: query
  23713. name: cycletime
  23714. required: true
  23715. type: string
  23716. produces:
  23717. - application/json
  23718. responses:
  23719. "200":
  23720. description: OK
  23721. schema:
  23722. items:
  23723. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  23724. type: array
  23725. "500":
  23726. description: Internal Server Error
  23727. schema:
  23728. $ref: '#/definitions/app.Response'
  23729. security:
  23730. - ApiKeyAuth: []
  23731. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  23732. tags:
  23733. - 企业风险管理v3(app)
  23734. /Ermcp3/QryAreaExpourseFutuDetail:
  23735. get:
  23736. parameters:
  23737. - description: 用户ID
  23738. in: query
  23739. name: userid
  23740. required: true
  23741. type: integer
  23742. - description: 套保商品id
  23743. in: query
  23744. name: middlegoodsid
  23745. required: true
  23746. type: integer
  23747. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23748. in: query
  23749. name: cycletype
  23750. required: true
  23751. type: integer
  23752. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23753. 全(0)【原值】
  23754. in: query
  23755. name: cycletime
  23756. required: true
  23757. type: string
  23758. produces:
  23759. - application/json
  23760. responses:
  23761. "200":
  23762. description: OK
  23763. schema:
  23764. items:
  23765. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  23766. type: array
  23767. "500":
  23768. description: Internal Server Error
  23769. schema:
  23770. $ref: '#/definitions/app.Response'
  23771. security:
  23772. - ApiKeyAuth: []
  23773. summary: 查询敞口期货明细(敞口报表/期货明细)
  23774. tags:
  23775. - 企业风险管理v3(app)
  23776. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  23777. get:
  23778. parameters:
  23779. - description: 用户ID
  23780. in: query
  23781. name: userid
  23782. required: true
  23783. type: integer
  23784. - description: 套保商品id
  23785. in: query
  23786. name: middlegoodsid
  23787. required: true
  23788. type: integer
  23789. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23790. in: query
  23791. name: cycletype
  23792. required: true
  23793. type: integer
  23794. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23795. 全(0)【原值】
  23796. in: query
  23797. name: cycletime
  23798. required: true
  23799. type: string
  23800. produces:
  23801. - application/json
  23802. responses:
  23803. "200":
  23804. description: OK
  23805. schema:
  23806. items:
  23807. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  23808. type: array
  23809. "500":
  23810. description: Internal Server Error
  23811. schema:
  23812. $ref: '#/definitions/app.Response'
  23813. security:
  23814. - ApiKeyAuth: []
  23815. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  23816. tags:
  23817. - 企业风险管理v3(app)
  23818. /Ermcp3/QryAreaExpourseParamChLogDetail:
  23819. get:
  23820. parameters:
  23821. - description: 用户ID
  23822. in: query
  23823. name: userid
  23824. required: true
  23825. type: integer
  23826. - description: 套保商品id
  23827. in: query
  23828. name: middlegoodsid
  23829. required: true
  23830. type: integer
  23831. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23832. in: query
  23833. name: cycletype
  23834. required: true
  23835. type: integer
  23836. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23837. 全(0)【原值】
  23838. in: query
  23839. name: cycletime
  23840. required: true
  23841. type: string
  23842. produces:
  23843. - application/json
  23844. responses:
  23845. "200":
  23846. description: OK
  23847. schema:
  23848. items:
  23849. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  23850. type: array
  23851. "500":
  23852. description: Internal Server Error
  23853. schema:
  23854. $ref: '#/definitions/app.Response'
  23855. security:
  23856. - ApiKeyAuth: []
  23857. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  23858. tags:
  23859. - 企业风险管理v3(app)
  23860. /Ermcp3/QryAreaExpourseReport:
  23861. get:
  23862. parameters:
  23863. - description: 用户ID
  23864. in: query
  23865. name: userid
  23866. required: true
  23867. type: integer
  23868. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  23869. in: query
  23870. name: querytype
  23871. required: true
  23872. type: integer
  23873. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23874. in: query
  23875. name: cycletype
  23876. required: true
  23877. type: integer
  23878. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23879. 全(0)【原值】
  23880. in: query
  23881. name: cycletime
  23882. required: true
  23883. type: string
  23884. produces:
  23885. - application/json
  23886. responses:
  23887. "200":
  23888. description: OK
  23889. schema:
  23890. items:
  23891. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  23892. type: array
  23893. "500":
  23894. description: Internal Server Error
  23895. schema:
  23896. $ref: '#/definitions/app.Response'
  23897. security:
  23898. - ApiKeyAuth: []
  23899. summary: 查询敞口报表
  23900. tags:
  23901. - 企业风险管理v3(app)
  23902. /Ermcp3/QryAreaSpotplReport:
  23903. get:
  23904. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  23905. parameters:
  23906. - description: 用户ID
  23907. in: query
  23908. name: userid
  23909. required: true
  23910. type: integer
  23911. - description: 查询类型 1-报表 2-报表明细
  23912. in: query
  23913. name: querytype
  23914. required: true
  23915. type: integer
  23916. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23917. in: query
  23918. name: cycletype
  23919. required: true
  23920. type: integer
  23921. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23922. 全(0)【原值】
  23923. in: query
  23924. name: cycletime
  23925. required: true
  23926. type: string
  23927. - description: 现货品种id(明细必填)
  23928. in: query
  23929. name: deliverygoodsid
  23930. type: integer
  23931. - description: 币种id(明细必填)
  23932. in: query
  23933. name: currencyid
  23934. type: integer
  23935. - description: 日/周/月报表汇总维度 1:品种+品类
  23936. in: query
  23937. name: sumflag
  23938. type: integer
  23939. produces:
  23940. - application/json
  23941. responses:
  23942. "200":
  23943. description: OK
  23944. schema:
  23945. items:
  23946. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  23947. type: array
  23948. "500":
  23949. description: Internal Server Error
  23950. schema:
  23951. $ref: '#/definitions/app.Response'
  23952. security:
  23953. - ApiKeyAuth: []
  23954. summary: 查询现货报表
  23955. tags:
  23956. - 企业风险管理v3(app)
  23957. /Ermcp3/QryAreaStockReport:
  23958. get:
  23959. parameters:
  23960. - description: 用户ID
  23961. in: query
  23962. name: userid
  23963. required: true
  23964. type: integer
  23965. - description: 查询类型 1-报表 2-报表明细
  23966. in: query
  23967. name: querytype
  23968. required: true
  23969. type: integer
  23970. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23971. in: query
  23972. name: cycletype
  23973. required: true
  23974. type: integer
  23975. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23976. 全(0)【原值】
  23977. in: query
  23978. name: cycletime
  23979. required: true
  23980. type: string
  23981. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  23982. in: query
  23983. name: sumfields
  23984. type: string
  23985. - description: 品种ID
  23986. in: query
  23987. name: deliverygoodsid
  23988. type: integer
  23989. - description: 品类ID
  23990. in: query
  23991. name: wrstandardid
  23992. type: integer
  23993. - description: 品牌ID
  23994. in: query
  23995. name: spotgoodsbrandid
  23996. type: integer
  23997. - description: 仓库ID
  23998. in: query
  23999. name: warehouseinfoid
  24000. type: integer
  24001. produces:
  24002. - application/json
  24003. responses:
  24004. "200":
  24005. description: OK
  24006. schema:
  24007. items:
  24008. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  24009. type: array
  24010. "500":
  24011. description: Internal Server Error
  24012. schema:
  24013. $ref: '#/definitions/app.Response'
  24014. security:
  24015. - ApiKeyAuth: []
  24016. summary: 查询库存报表
  24017. tags:
  24018. - 企业风险管理v3(app)
  24019. /Ermcp3/QryAreaSumPL:
  24020. get:
  24021. parameters:
  24022. - description: 用户ID
  24023. in: query
  24024. name: userid
  24025. required: true
  24026. type: integer
  24027. - description: 查询类型 1-报表 2-报表明细
  24028. in: query
  24029. name: querytype
  24030. required: true
  24031. type: integer
  24032. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24033. in: query
  24034. name: cycletype
  24035. required: true
  24036. type: integer
  24037. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24038. 全(0)【原值】
  24039. in: query
  24040. name: cycletime
  24041. required: true
  24042. type: string
  24043. - description: 币种id(明细必填)
  24044. in: query
  24045. name: currencyid
  24046. type: integer
  24047. produces:
  24048. - application/json
  24049. responses:
  24050. "200":
  24051. description: OK
  24052. schema:
  24053. items:
  24054. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  24055. type: array
  24056. "500":
  24057. description: Internal Server Error
  24058. schema:
  24059. $ref: '#/definitions/app.Response'
  24060. security:
  24061. - ApiKeyAuth: []
  24062. summary: 查询汇总损益表
  24063. tags:
  24064. - 企业风险管理v3(app)
  24065. /Ermcp3/QryFinanceReport:
  24066. get:
  24067. parameters:
  24068. - description: 用户ID
  24069. in: query
  24070. name: userid
  24071. required: true
  24072. type: integer
  24073. - description: 查询类型 1-报表 2-报表明细
  24074. in: query
  24075. name: querytype
  24076. required: true
  24077. type: integer
  24078. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24079. in: query
  24080. name: cycletype
  24081. required: true
  24082. type: integer
  24083. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24084. 全(0)【原值】
  24085. in: query
  24086. name: cycletime
  24087. required: true
  24088. type: string
  24089. - description: 币种id(报表明细必填)
  24090. in: query
  24091. name: currencyid
  24092. type: integer
  24093. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  24094. in: query
  24095. name: sumfields
  24096. type: string
  24097. produces:
  24098. - application/json
  24099. responses:
  24100. "200":
  24101. description: OK
  24102. schema:
  24103. items:
  24104. $ref: '#/definitions/models.Ermcp3FinanceReport'
  24105. type: array
  24106. "500":
  24107. description: Internal Server Error
  24108. schema:
  24109. $ref: '#/definitions/app.Response'
  24110. security:
  24111. - ApiKeyAuth: []
  24112. summary: 查询财务报表
  24113. tags:
  24114. - 企业风险管理v3(app)
  24115. /Ermcp3/QrySCMiddleGoodsReport:
  24116. get:
  24117. parameters:
  24118. - description: 用户ID
  24119. in: query
  24120. name: userid
  24121. required: true
  24122. type: integer
  24123. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24124. in: query
  24125. name: cycletype
  24126. required: true
  24127. type: integer
  24128. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24129. 全(0)【原值】
  24130. in: query
  24131. name: cycletime
  24132. required: true
  24133. type: string
  24134. - description: 合同id
  24135. in: query
  24136. name: spotcontractid
  24137. type: integer
  24138. - description: 套保品种id
  24139. in: query
  24140. name: middlegoodsid
  24141. type: integer
  24142. - description: 现货品种id
  24143. in: query
  24144. name: deliverygoodsid
  24145. type: integer
  24146. - description: 现货商品id
  24147. in: query
  24148. name: wrstandardid
  24149. type: integer
  24150. - description: 合同编号(模糊匹配)
  24151. in: query
  24152. name: contractno
  24153. type: string
  24154. produces:
  24155. - application/json
  24156. responses:
  24157. "200":
  24158. description: OK
  24159. schema:
  24160. items:
  24161. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24162. type: array
  24163. "500":
  24164. description: Internal Server Error
  24165. schema:
  24166. $ref: '#/definitions/app.Response'
  24167. security:
  24168. - ApiKeyAuth: []
  24169. summary: 查询定价报表
  24170. tags:
  24171. - 企业风险管理v3(app)
  24172. /Ermcp3/QryTaFutureDataReport:
  24173. get:
  24174. parameters:
  24175. - description: 用户ID
  24176. in: query
  24177. name: userid
  24178. required: true
  24179. type: integer
  24180. - description: 查询类型 1-报表 2-报表明细
  24181. in: query
  24182. name: querytype
  24183. required: true
  24184. type: integer
  24185. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24186. in: query
  24187. name: cycletype
  24188. required: true
  24189. type: integer
  24190. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24191. 全(0)【原值】
  24192. in: query
  24193. name: cycletime
  24194. required: true
  24195. type: string
  24196. - description: 币种id(查明细必填)
  24197. in: query
  24198. name: currencyid
  24199. type: integer
  24200. - description: 品种id(查明细必填)
  24201. in: query
  24202. name: goodsgroupid
  24203. type: integer
  24204. - description: 商品id(查明细必填)
  24205. in: query
  24206. name: goodsid
  24207. type: integer
  24208. - description: 买卖方向(查明细必填)
  24209. in: query
  24210. name: buyorsell
  24211. type: integer
  24212. produces:
  24213. - application/json
  24214. responses:
  24215. "200":
  24216. description: OK
  24217. schema:
  24218. items:
  24219. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24220. type: array
  24221. "500":
  24222. description: Internal Server Error
  24223. schema:
  24224. $ref: '#/definitions/app.Response'
  24225. security:
  24226. - ApiKeyAuth: []
  24227. summary: 查询期货报表
  24228. tags:
  24229. - 企业风险管理v3(app)
  24230. /Ermcp3/QueryAreaStock:
  24231. get:
  24232. parameters:
  24233. - description: 用户ID
  24234. in: query
  24235. name: userid
  24236. required: true
  24237. type: integer
  24238. produces:
  24239. - application/json
  24240. responses:
  24241. "200":
  24242. description: OK
  24243. schema:
  24244. items:
  24245. $ref: '#/definitions/models.Ermcp3AreaStock'
  24246. type: array
  24247. "500":
  24248. description: Internal Server Error
  24249. schema:
  24250. $ref: '#/definitions/app.Response'
  24251. security:
  24252. - ApiKeyAuth: []
  24253. summary: 查询机构库存(库存管理/当前库存)
  24254. tags:
  24255. - 企业风险管理v3(app)
  24256. /Ermcp3/QueryAreaStockApply:
  24257. get:
  24258. parameters:
  24259. - description: 用户ID
  24260. in: query
  24261. name: userid
  24262. required: true
  24263. type: integer
  24264. - description: 用户类型 2-机构 7-企业成员
  24265. in: query
  24266. name: usertype
  24267. type: integer
  24268. - description: 现货商品ID
  24269. in: query
  24270. name: deliverygoodsid
  24271. type: integer
  24272. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  24273. in: query
  24274. name: inouttype
  24275. type: string
  24276. - description: 合同ID
  24277. in: query
  24278. name: spotcontractid
  24279. type: integer
  24280. - description: 品类ID
  24281. in: query
  24282. name: wrstandardid
  24283. type: integer
  24284. - description: 品牌ID
  24285. in: query
  24286. name: spotgoodsbrandid
  24287. type: integer
  24288. - description: 仓库ID
  24289. in: query
  24290. name: warehouseinfoid
  24291. type: integer
  24292. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24293. in: query
  24294. name: applystatus
  24295. type: string
  24296. produces:
  24297. - application/json
  24298. responses:
  24299. "200":
  24300. description: OK
  24301. schema:
  24302. items:
  24303. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  24304. type: array
  24305. "500":
  24306. description: Internal Server Error
  24307. schema:
  24308. $ref: '#/definitions/app.Response'
  24309. security:
  24310. - ApiKeyAuth: []
  24311. summary: 查询库存申请(出入库记录|库存审核)
  24312. tags:
  24313. - 企业风险管理v3(app)
  24314. /Ermcp3/QueryAreaStockApplySum:
  24315. get:
  24316. parameters:
  24317. - description: 合同ID
  24318. in: query
  24319. name: spotcontractid
  24320. required: true
  24321. type: integer
  24322. produces:
  24323. - application/json
  24324. responses:
  24325. "200":
  24326. description: OK
  24327. schema:
  24328. items:
  24329. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  24330. type: array
  24331. "500":
  24332. description: Internal Server Error
  24333. schema:
  24334. $ref: '#/definitions/app.Response'
  24335. security:
  24336. - ApiKeyAuth: []
  24337. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  24338. tags:
  24339. - 企业风险管理v3(app)
  24340. /Ermcp3/QueryDGFactoryItem:
  24341. get:
  24342. parameters:
  24343. - description: 用户id
  24344. in: query
  24345. name: userid
  24346. type: integer
  24347. - description: 用户类型 2-机构 7-企业成员
  24348. in: query
  24349. name: usertype
  24350. type: integer
  24351. - description: 选择项ID(SEQ_DGFACTORYITEM)
  24352. in: query
  24353. name: dgfactoryitemid
  24354. type: integer
  24355. - description: 现货品种ID
  24356. in: query
  24357. name: deliverygoodsid
  24358. type: integer
  24359. - description: 要素项类型
  24360. in: query
  24361. name: dgfactoryitemtypeid
  24362. type: integer
  24363. - description: 顺序
  24364. in: query
  24365. name: orderindex
  24366. type: integer
  24367. produces:
  24368. - application/json
  24369. responses:
  24370. "200":
  24371. description: OK
  24372. schema:
  24373. items:
  24374. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  24375. type: array
  24376. "500":
  24377. description: Internal Server Error
  24378. schema:
  24379. $ref: '#/definitions/app.Response'
  24380. security:
  24381. - ApiKeyAuth: []
  24382. summary: 查询品种要素定义项
  24383. tags:
  24384. - 企业风险管理v3(app)
  24385. /Ermcp3/QueryDeliveryGoods:
  24386. get:
  24387. parameters:
  24388. - description: 用户id
  24389. in: query
  24390. name: userid
  24391. required: true
  24392. type: integer
  24393. - description: 用户类型 2-机构 7-企业成员
  24394. in: query
  24395. name: usertype
  24396. type: integer
  24397. - description: 排除已配置的业务类型商品 1-套保 2-套利
  24398. in: query
  24399. name: excludecfg
  24400. type: integer
  24401. produces:
  24402. - application/json
  24403. responses:
  24404. "200":
  24405. description: OK
  24406. schema:
  24407. items:
  24408. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  24409. type: array
  24410. "500":
  24411. description: Internal Server Error
  24412. schema:
  24413. $ref: '#/definitions/app.Response'
  24414. security:
  24415. - ApiKeyAuth: []
  24416. summary: 查询现货商品
  24417. tags:
  24418. - 企业风险管理v3(app)
  24419. /Ermcp3/QueryDeliveryGoodsDetail:
  24420. get:
  24421. parameters:
  24422. - description: 用户id
  24423. in: query
  24424. name: userid
  24425. required: true
  24426. type: integer
  24427. - description: 用户类型 2-机构 7-企业成员
  24428. in: query
  24429. name: usertype
  24430. type: integer
  24431. - description: 现货商品id
  24432. in: query
  24433. name: deliverygoodsid
  24434. type: integer
  24435. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  24436. in: query
  24437. name: filtersubempty
  24438. type: integer
  24439. produces:
  24440. - application/json
  24441. responses:
  24442. "200":
  24443. description: OK
  24444. schema:
  24445. items:
  24446. $ref: '#/definitions/models.XHDeliveryGoods'
  24447. type: array
  24448. "500":
  24449. description: Internal Server Error
  24450. schema:
  24451. $ref: '#/definitions/app.Response'
  24452. security:
  24453. - ApiKeyAuth: []
  24454. summary: 查询现货商品详情
  24455. tags:
  24456. - 企业风险管理v3(app)
  24457. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  24458. get:
  24459. parameters:
  24460. - description: 合同id
  24461. in: query
  24462. name: spotcontractid
  24463. required: true
  24464. type: string
  24465. produces:
  24466. - application/json
  24467. responses:
  24468. "200":
  24469. description: OK
  24470. schema:
  24471. items:
  24472. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  24473. type: array
  24474. "500":
  24475. description: Internal Server Error
  24476. schema:
  24477. $ref: '#/definitions/app.Response'
  24478. security:
  24479. - ApiKeyAuth: []
  24480. summary: 查询现货合同期现配置信息
  24481. tags:
  24482. - 企业风险管理v3(app)
  24483. /Ermcp3/QueryExposureDetail:
  24484. get:
  24485. parameters:
  24486. - description: 用户id
  24487. in: query
  24488. name: userid
  24489. required: true
  24490. type: integer
  24491. - description: 用户类型 2-机构 7-企业成员
  24492. in: query
  24493. name: usertype
  24494. type: integer
  24495. - description: 套保商品
  24496. in: query
  24497. name: middlegoodsid
  24498. required: true
  24499. type: integer
  24500. produces:
  24501. - application/json
  24502. responses:
  24503. "200":
  24504. description: OK
  24505. schema:
  24506. items:
  24507. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  24508. type: array
  24509. "500":
  24510. description: Internal Server Error
  24511. schema:
  24512. $ref: '#/definitions/app.Response'
  24513. security:
  24514. - ApiKeyAuth: []
  24515. summary: 查询敞口现货明细
  24516. tags:
  24517. - 企业风险管理v3(app)
  24518. /Ermcp3/QueryExposureSpot:
  24519. get:
  24520. parameters:
  24521. - description: 用户id
  24522. in: query
  24523. name: userid
  24524. required: true
  24525. type: integer
  24526. - description: 用户类型 2-机构 7-企业成员
  24527. in: query
  24528. name: usertype
  24529. type: integer
  24530. produces:
  24531. - application/json
  24532. responses:
  24533. "200":
  24534. description: OK
  24535. schema:
  24536. items:
  24537. $ref: '#/definitions/models.Ermcp3AreaSpot'
  24538. type: array
  24539. "500":
  24540. description: Internal Server Error
  24541. schema:
  24542. $ref: '#/definitions/app.Response'
  24543. security:
  24544. - ApiKeyAuth: []
  24545. summary: 查询敞口现货头寸(敞口/现货头寸)
  24546. tags:
  24547. - 企业风险管理v3(app)
  24548. /Ermcp3/QueryExposureSpotDetail:
  24549. get:
  24550. parameters:
  24551. - description: 用户id
  24552. in: query
  24553. name: userid
  24554. required: true
  24555. type: integer
  24556. - description: 用户类型 2-机构 7-企业成员
  24557. in: query
  24558. name: usertype
  24559. type: integer
  24560. - description: 现货商品ID
  24561. in: query
  24562. name: wrstandardid
  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.Ermcp3AreaSpotDetail'
  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. - 企业风险管理v3(app)
  24583. /Ermcp3/QueryGoodsGroup:
  24584. get:
  24585. parameters:
  24586. - description: 用户id
  24587. in: query
  24588. name: userid
  24589. required: true
  24590. type: integer
  24591. - description: 用户类型 2-机构 7-企业成员
  24592. in: query
  24593. name: usertype
  24594. type: integer
  24595. - description: 排除套保品中已关联的商品组 1-排除
  24596. in: query
  24597. name: excludecfg
  24598. type: integer
  24599. produces:
  24600. - application/json
  24601. responses:
  24602. "200":
  24603. description: OK
  24604. schema:
  24605. items:
  24606. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  24607. type: array
  24608. "500":
  24609. description: Internal Server Error
  24610. schema:
  24611. $ref: '#/definitions/app.Response'
  24612. security:
  24613. - ApiKeyAuth: []
  24614. summary: 查询期货商品组
  24615. tags:
  24616. - 企业风险管理v3(app)
  24617. /Ermcp3/QueryGoodsWrstandard:
  24618. get:
  24619. parameters:
  24620. - description: 用户id
  24621. in: query
  24622. name: userid
  24623. required: true
  24624. type: integer
  24625. - description: 用户类型 2-机构 7-企业成员
  24626. in: query
  24627. name: usertype
  24628. type: integer
  24629. - description: 现货商品id
  24630. in: query
  24631. name: deliverygoodsid
  24632. type: integer
  24633. produces:
  24634. - application/json
  24635. responses:
  24636. "200":
  24637. description: OK
  24638. schema:
  24639. items:
  24640. $ref: '#/definitions/models.Ermcp3Wrstandard'
  24641. type: array
  24642. "500":
  24643. description: Internal Server Error
  24644. schema:
  24645. $ref: '#/definitions/app.Response'
  24646. security:
  24647. - ApiKeyAuth: []
  24648. summary: 查询商品品类
  24649. tags:
  24650. - 企业风险管理v3(app)
  24651. /Ermcp3/QueryGoodsbrand:
  24652. get:
  24653. parameters:
  24654. - description: 用户id
  24655. in: query
  24656. name: userid
  24657. required: true
  24658. type: integer
  24659. - description: 用户类型 2-机构 7-企业成员
  24660. in: query
  24661. name: usertype
  24662. type: integer
  24663. produces:
  24664. - application/json
  24665. responses:
  24666. "200":
  24667. description: OK
  24668. schema:
  24669. items:
  24670. $ref: '#/definitions/models.Ermcp3Brand'
  24671. type: array
  24672. "500":
  24673. description: Internal Server Error
  24674. schema:
  24675. $ref: '#/definitions/app.Response'
  24676. security:
  24677. - ApiKeyAuth: []
  24678. summary: 查询商品品牌
  24679. tags:
  24680. - 企业风险管理v3(app)
  24681. /Ermcp3/QueryHPMiddleGoods:
  24682. get:
  24683. parameters:
  24684. - description: 用户ID(填登录用户的userid)
  24685. in: query
  24686. name: userid
  24687. required: true
  24688. type: integer
  24689. - description: 买卖方向 0-买 1-卖
  24690. in: query
  24691. name: buyorsell
  24692. required: true
  24693. type: integer
  24694. - description: 商品组id
  24695. in: query
  24696. name: goodsgroupid
  24697. required: true
  24698. type: integer
  24699. - description: 套保计划编号(模糊匹配)
  24700. in: query
  24701. name: hedgeplanno
  24702. type: string
  24703. - description: 现货商品名称(模糊匹配)
  24704. in: query
  24705. name: wrstandardname
  24706. type: string
  24707. produces:
  24708. - application/json
  24709. responses:
  24710. "200":
  24711. description: OK
  24712. schema:
  24713. items:
  24714. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  24715. type: array
  24716. "500":
  24717. description: Internal Server Error
  24718. schema:
  24719. $ref: '#/definitions/app.Response'
  24720. security:
  24721. - ApiKeyAuth: []
  24722. summary: 查询可关联套保计划
  24723. tags:
  24724. - 企业风险管理v3(app)
  24725. /Ermcp3/QueryHedgePlan:
  24726. get:
  24727. parameters:
  24728. - description: 用户ID
  24729. in: query
  24730. name: userid
  24731. required: true
  24732. type: integer
  24733. - description: 用户类型 2-机构 7-企业成员
  24734. in: query
  24735. name: usertype
  24736. type: integer
  24737. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24738. in: query
  24739. name: hedgeplanstatus
  24740. required: true
  24741. type: string
  24742. produces:
  24743. - application/json
  24744. responses:
  24745. "200":
  24746. description: OK
  24747. schema:
  24748. items:
  24749. $ref: '#/definitions/models.Ermcp3HedgePlan'
  24750. type: array
  24751. "500":
  24752. description: Internal Server Error
  24753. schema:
  24754. $ref: '#/definitions/app.Response'
  24755. security:
  24756. - ApiKeyAuth: []
  24757. summary: 查询套保计划
  24758. tags:
  24759. - 企业风险管理v3(app)
  24760. /Ermcp3/QueryInnerTradeLink:
  24761. get:
  24762. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  24763. parameters:
  24764. - description: 外部成交单号
  24765. in: query
  24766. name: outtradeid
  24767. required: true
  24768. type: integer
  24769. produces:
  24770. - application/json
  24771. responses:
  24772. "200":
  24773. description: OK
  24774. schema:
  24775. items:
  24776. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  24777. type: array
  24778. "500":
  24779. description: Internal Server Error
  24780. schema:
  24781. $ref: '#/definitions/app.Response'
  24782. security:
  24783. - ApiKeyAuth: []
  24784. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  24785. tags:
  24786. - 企业风险管理v3(app)
  24787. /Ermcp3/QueryMiddleGoodsDetail:
  24788. get:
  24789. parameters:
  24790. - description: 用户id
  24791. in: query
  24792. name: userid
  24793. required: true
  24794. type: integer
  24795. - description: 用户类型 2-机构 7-企业成员
  24796. in: query
  24797. name: usertype
  24798. type: integer
  24799. - description: 套保品种id
  24800. in: query
  24801. name: middlegoodsid
  24802. type: integer
  24803. produces:
  24804. - application/json
  24805. responses:
  24806. "200":
  24807. description: OK
  24808. schema:
  24809. items:
  24810. $ref: '#/definitions/models.TBMiddleGoods'
  24811. type: array
  24812. "500":
  24813. description: Internal Server Error
  24814. schema:
  24815. $ref: '#/definitions/app.Response'
  24816. security:
  24817. - ApiKeyAuth: []
  24818. summary: 查询套保品种详情(套保品种/商品详情)
  24819. tags:
  24820. - 企业风险管理v3(app)
  24821. /Ermcp3/QueryOutTradeLink:
  24822. get:
  24823. description: 页面 app 现货->期现关联->外部成交单关联
  24824. parameters:
  24825. - description: 用户ID(填登录用户的userid)
  24826. in: query
  24827. name: userid
  24828. required: true
  24829. type: integer
  24830. - description: 外部订单号(模糊匹配)
  24831. in: query
  24832. name: outtradeid
  24833. type: string
  24834. - description: 合约名称/代码(模糊匹配)
  24835. in: query
  24836. name: goodsname
  24837. type: string
  24838. - description: 关联状态 0-未关联 1-已关联
  24839. in: query
  24840. name: hasinnerorder
  24841. type: integer
  24842. produces:
  24843. - application/json
  24844. responses:
  24845. "200":
  24846. description: OK
  24847. schema:
  24848. items:
  24849. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  24850. type: array
  24851. "500":
  24852. description: Internal Server Error
  24853. schema:
  24854. $ref: '#/definitions/app.Response'
  24855. security:
  24856. - ApiKeyAuth: []
  24857. summary: 查询外部成交单关联
  24858. tags:
  24859. - 企业风险管理v3(app)
  24860. /Ermcp3/QueryPaAreaAuditCfg:
  24861. get:
  24862. parameters:
  24863. - description: 用户id
  24864. in: query
  24865. name: userid
  24866. required: true
  24867. type: integer
  24868. produces:
  24869. - application/json
  24870. responses:
  24871. "200":
  24872. description: OK
  24873. schema:
  24874. items:
  24875. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  24876. type: array
  24877. "500":
  24878. description: Internal Server Error
  24879. schema:
  24880. $ref: '#/definitions/app.Response'
  24881. security:
  24882. - ApiKeyAuth: []
  24883. summary: 查询审核设置
  24884. tags:
  24885. - 企业风险管理v3(app)
  24886. /Ermcp3/QueryPaAreaSubject:
  24887. get:
  24888. parameters:
  24889. - description: 用户id
  24890. in: query
  24891. name: userid
  24892. required: true
  24893. type: integer
  24894. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  24895. in: query
  24896. name: subjectid
  24897. type: integer
  24898. - description: 主体类型 - 1:交易主体 2:业务部门
  24899. in: query
  24900. name: subjecttype
  24901. type: integer
  24902. - description: '主体状态 - 1:正常 2: 停用'
  24903. in: query
  24904. name: subjectstatus
  24905. type: integer
  24906. produces:
  24907. - application/json
  24908. responses:
  24909. "200":
  24910. description: OK
  24911. schema:
  24912. items:
  24913. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  24914. type: array
  24915. "500":
  24916. description: Internal Server Error
  24917. schema:
  24918. $ref: '#/definitions/app.Response'
  24919. security:
  24920. - ApiKeyAuth: []
  24921. summary: 查询交易主体
  24922. tags:
  24923. - 企业风险管理v3(app)
  24924. /Ermcp3/QueryPaTradeLink:
  24925. get:
  24926. description: 页面 app 现货->期现关联->期现单据关联
  24927. parameters:
  24928. - description: 用户ID
  24929. in: query
  24930. name: userid
  24931. required: true
  24932. type: integer
  24933. produces:
  24934. - application/json
  24935. responses:
  24936. "200":
  24937. description: OK
  24938. schema:
  24939. items:
  24940. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  24941. type: array
  24942. "500":
  24943. description: Internal Server Error
  24944. schema:
  24945. $ref: '#/definitions/app.Response'
  24946. security:
  24947. - ApiKeyAuth: []
  24948. summary: 查询期现单据关联
  24949. tags:
  24950. - 企业风险管理v3(app)
  24951. /Ermcp3/QueryPaTradeLinkDetail:
  24952. get:
  24953. description: 页面 app 现货->期现关联->关联记录
  24954. parameters:
  24955. - description: 用户ID(填登录用户的userid)
  24956. in: query
  24957. name: userid
  24958. required: true
  24959. type: integer
  24960. - description: 关联状态 1:成功 2:失败 3:解绑
  24961. in: query
  24962. name: linkstatus
  24963. type: integer
  24964. - description: 期货订单号(模糊匹配)
  24965. in: query
  24966. name: tradeid
  24967. type: string
  24968. - description: 现货编号(模糊匹配)
  24969. in: query
  24970. name: contractno
  24971. type: string
  24972. - description: 期货账户(模糊匹配)
  24973. in: query
  24974. name: taname
  24975. type: string
  24976. produces:
  24977. - application/json
  24978. responses:
  24979. "200":
  24980. description: OK
  24981. schema:
  24982. items:
  24983. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  24984. type: array
  24985. "500":
  24986. description: Internal Server Error
  24987. schema:
  24988. $ref: '#/definitions/app.Response'
  24989. security:
  24990. - ApiKeyAuth: []
  24991. summary: 查询期现关联记录
  24992. tags:
  24993. - 企业风险管理v3(app)
  24994. /Ermcp3/QueryParamChangeApp:
  24995. get:
  24996. description: |-
  24997. 原型页面:
  24998. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  24999. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  25000. parameters:
  25001. - description: 用户ID
  25002. in: query
  25003. name: userid
  25004. required: true
  25005. type: integer
  25006. - description: 现货品种id
  25007. in: query
  25008. name: deliverygoodsid
  25009. type: integer
  25010. - description: 现货商品id
  25011. in: query
  25012. name: wrstandardid
  25013. type: integer
  25014. - description: 套保商品id
  25015. in: query
  25016. name: middlegoodsid
  25017. type: integer
  25018. - description: 操作类型 1:新增 2:修改
  25019. in: query
  25020. name: operatetype
  25021. type: integer
  25022. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  25023. in: query
  25024. name: paramchangetype
  25025. type: integer
  25026. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25027. in: query
  25028. name: ftstatus
  25029. type: string
  25030. produces:
  25031. - application/json
  25032. responses:
  25033. "200":
  25034. description: OK
  25035. schema:
  25036. items:
  25037. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  25038. type: array
  25039. "500":
  25040. description: Internal Server Error
  25041. schema:
  25042. $ref: '#/definitions/app.Response'
  25043. security:
  25044. - ApiKeyAuth: []
  25045. summary: 查询现货商品参数变更申请(流水)
  25046. tags:
  25047. - 企业风险管理v3(app)
  25048. /Ermcp3/QueryRootUserAccount:
  25049. get:
  25050. parameters:
  25051. - description: 用户ID
  25052. in: query
  25053. name: userid
  25054. required: true
  25055. type: integer
  25056. produces:
  25057. - application/json
  25058. responses:
  25059. "200":
  25060. description: OK
  25061. schema:
  25062. items:
  25063. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  25064. type: array
  25065. "500":
  25066. description: Internal Server Error
  25067. schema:
  25068. $ref: '#/definitions/app.Response'
  25069. security:
  25070. - ApiKeyAuth: []
  25071. summary: 查询顶级用户信息
  25072. tags:
  25073. - 企业风险管理v3(app)
  25074. /Ermcp3/QuerySCMiddleGoods:
  25075. get:
  25076. description: |-
  25077. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  25078. 现货编号 即 合同编号
  25079. parameters:
  25080. - description: 用户ID(填登录用户的userid)
  25081. in: query
  25082. name: userid
  25083. required: true
  25084. type: integer
  25085. - description: 买卖方向 0-买 1-卖
  25086. in: query
  25087. name: buyorsell
  25088. required: true
  25089. type: integer
  25090. - description: 商品组id
  25091. in: query
  25092. name: goodsgroupid
  25093. required: true
  25094. type: integer
  25095. - description: 业务类型 1:套保 2:套利
  25096. in: query
  25097. name: biztype
  25098. type: integer
  25099. - description: 现货编号(模糊匹配)
  25100. in: query
  25101. name: contractno
  25102. type: string
  25103. - description: 对手方(模糊匹配)
  25104. in: query
  25105. name: customername
  25106. type: string
  25107. - description: 现货商品名称(模糊匹配)
  25108. in: query
  25109. name: wrstandardname
  25110. type: string
  25111. produces:
  25112. - application/json
  25113. responses:
  25114. "200":
  25115. description: OK
  25116. schema:
  25117. items:
  25118. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  25119. type: array
  25120. "500":
  25121. description: Internal Server Error
  25122. schema:
  25123. $ref: '#/definitions/app.Response'
  25124. security:
  25125. - ApiKeyAuth: []
  25126. summary: 查询现货订单
  25127. tags:
  25128. - 企业风险管理v3(app)
  25129. /Ermcp3/QuerySpotContract:
  25130. get:
  25131. parameters:
  25132. - description: 用户id(当指定contractid, userid可不填)
  25133. in: query
  25134. name: userid
  25135. required: true
  25136. type: integer
  25137. - description: 用户类型 2-机构 7-企业成员
  25138. in: query
  25139. name: usertype
  25140. type: integer
  25141. - description: 合同类型 1-采购, -1-销售
  25142. in: query
  25143. name: contracttype
  25144. type: integer
  25145. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25146. in: query
  25147. name: querytype
  25148. type: string
  25149. - description: 合同ID(SpotContractId)
  25150. in: query
  25151. name: contractid
  25152. type: string
  25153. - description: 合同编号(模糊匹配)
  25154. in: query
  25155. name: contractno
  25156. type: string
  25157. - description: 商品名称(模糊匹配)
  25158. in: query
  25159. name: wrstandardname
  25160. type: string
  25161. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25162. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25163. in: query
  25164. name: status
  25165. type: string
  25166. - description: 是否只查今日的合同 1-查今日合同
  25167. in: query
  25168. name: istoday
  25169. type: integer
  25170. produces:
  25171. - application/json
  25172. responses:
  25173. "200":
  25174. description: OK
  25175. schema:
  25176. items:
  25177. $ref: '#/definitions/models.Ermcp3Contract'
  25178. type: array
  25179. "500":
  25180. description: Internal Server Error
  25181. schema:
  25182. $ref: '#/definitions/app.Response'
  25183. security:
  25184. - ApiKeyAuth: []
  25185. summary: 查询现货合同
  25186. tags:
  25187. - 企业风险管理v3(app)
  25188. /Ermcp3/QuerySpotContractBS:
  25189. get:
  25190. parameters:
  25191. - description: 用户id
  25192. in: query
  25193. name: userid
  25194. required: true
  25195. type: integer
  25196. - description: 用户类型 2-机构 7-企业成员
  25197. in: query
  25198. name: usertype
  25199. type: integer
  25200. - description: 合同类型 1-采购, -1-销售
  25201. in: query
  25202. name: contracttype
  25203. required: true
  25204. type: integer
  25205. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25206. in: query
  25207. name: querytype
  25208. type: integer
  25209. - description: 合同ID(SpotContractId)
  25210. in: query
  25211. name: contractid
  25212. type: string
  25213. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25214. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25215. in: query
  25216. name: status
  25217. type: string
  25218. - description: 是否只查今日的合同 1-查今日合同
  25219. in: query
  25220. name: istoday
  25221. type: integer
  25222. produces:
  25223. - application/json
  25224. responses:
  25225. "200":
  25226. description: OK
  25227. schema:
  25228. items:
  25229. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25230. type: array
  25231. "500":
  25232. description: Internal Server Error
  25233. schema:
  25234. $ref: '#/definitions/app.Response'
  25235. security:
  25236. - ApiKeyAuth: []
  25237. summary: 查询合同(采购/销售)
  25238. tags:
  25239. - 企业风险管理v3(app)
  25240. /Ermcp3/QuerySpotGoodsPrice:
  25241. get:
  25242. parameters:
  25243. - description: 用户ID
  25244. in: query
  25245. name: userid
  25246. required: true
  25247. type: integer
  25248. produces:
  25249. - application/json
  25250. responses:
  25251. "200":
  25252. description: OK
  25253. schema:
  25254. items:
  25255. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25256. type: array
  25257. "500":
  25258. description: Internal Server Error
  25259. schema:
  25260. $ref: '#/definitions/app.Response'
  25261. security:
  25262. - ApiKeyAuth: []
  25263. summary: 查询现货市价(现货市价)
  25264. tags:
  25265. - 企业风险管理v3(app)
  25266. /Ermcp3/QuerySpotGoodsPriceLog:
  25267. get:
  25268. parameters:
  25269. - description: 用户ID
  25270. in: query
  25271. name: userid
  25272. required: true
  25273. type: integer
  25274. - description: 现货商品ID
  25275. in: query
  25276. name: deliverygoodsid
  25277. required: true
  25278. type: integer
  25279. - description: 品牌ID
  25280. in: query
  25281. name: brandid
  25282. type: integer
  25283. - description: 品类ID
  25284. in: query
  25285. name: wrstandardid
  25286. type: integer
  25287. produces:
  25288. - application/json
  25289. responses:
  25290. "200":
  25291. description: OK
  25292. schema:
  25293. items:
  25294. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  25295. type: array
  25296. "500":
  25297. description: Internal Server Error
  25298. schema:
  25299. $ref: '#/definitions/app.Response'
  25300. security:
  25301. - ApiKeyAuth: []
  25302. summary: 查询现货市价详情(现货市价/详情)
  25303. tags:
  25304. - 企业风险管理v3(app)
  25305. /Ermcp3/QuerySubTaaccount:
  25306. get:
  25307. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  25308. parameters:
  25309. - description: 母账号id
  25310. in: query
  25311. name: parentaccountid
  25312. type: integer
  25313. - description: 母账号代码
  25314. in: query
  25315. name: parentaccountcode
  25316. type: string
  25317. produces:
  25318. - application/json
  25319. responses:
  25320. "200":
  25321. description: OK
  25322. schema:
  25323. items:
  25324. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  25325. type: array
  25326. "500":
  25327. description: Internal Server Error
  25328. schema:
  25329. $ref: '#/definitions/app.Response'
  25330. security:
  25331. - ApiKeyAuth: []
  25332. summary: 查询期货子账户
  25333. tags:
  25334. - 企业风险管理v3(app)
  25335. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  25336. get:
  25337. parameters:
  25338. - description: 套期项目ID
  25339. in: query
  25340. name: hedgeditemid
  25341. required: true
  25342. type: integer
  25343. produces:
  25344. - application/json
  25345. responses:
  25346. "200":
  25347. description: OK
  25348. schema:
  25349. items:
  25350. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  25351. type: array
  25352. "500":
  25353. description: Internal Server Error
  25354. schema:
  25355. $ref: '#/definitions/app.Response'
  25356. security:
  25357. - ApiKeyAuth: []
  25358. summary: 现货成交明细查询
  25359. tags:
  25360. - 企业风险管理v8
  25361. /Ermcp8/QueryERMCP2HedgedItemspot:
  25362. get:
  25363. parameters:
  25364. - description: 套期项目ID
  25365. in: query
  25366. name: hedgeditemid
  25367. required: true
  25368. type: integer
  25369. produces:
  25370. - application/json
  25371. responses:
  25372. "200":
  25373. description: OK
  25374. schema:
  25375. items:
  25376. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  25377. type: array
  25378. "500":
  25379. description: Internal Server Error
  25380. schema:
  25381. $ref: '#/definitions/app.Response'
  25382. security:
  25383. - ApiKeyAuth: []
  25384. summary: 套期计划明细查询
  25385. tags:
  25386. - 企业风险管理v8
  25387. /Ermcp8/QueryERMCPJRLinkPos:
  25388. get:
  25389. parameters:
  25390. - description: 套期项目ID
  25391. in: query
  25392. name: hedgeditemid
  25393. required: true
  25394. type: integer
  25395. produces:
  25396. - application/json
  25397. responses:
  25398. "200":
  25399. description: OK
  25400. schema:
  25401. items:
  25402. $ref: '#/definitions/models.Ermcpjrlinkpos'
  25403. type: array
  25404. "500":
  25405. description: Internal Server Error
  25406. schema:
  25407. $ref: '#/definitions/app.Response'
  25408. security:
  25409. - ApiKeyAuth: []
  25410. summary: 期货持仓明细查询
  25411. tags:
  25412. - 企业风险管理v8
  25413. /Ermcp8/QueryERMCPPatradeLinkDetail:
  25414. get:
  25415. parameters:
  25416. - description: 套期项目ID
  25417. in: query
  25418. name: hedgeditemid
  25419. required: true
  25420. type: integer
  25421. produces:
  25422. - application/json
  25423. responses:
  25424. "200":
  25425. description: OK
  25426. schema:
  25427. items:
  25428. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  25429. type: array
  25430. "500":
  25431. description: Internal Server Error
  25432. schema:
  25433. $ref: '#/definitions/app.Response'
  25434. security:
  25435. - ApiKeyAuth: []
  25436. summary: 期货成交单明细查询
  25437. tags:
  25438. - 企业风险管理v8
  25439. /Ermcp8/QueryErmcp2AreaExposure:
  25440. get:
  25441. parameters:
  25442. - description: 用户ID
  25443. in: query
  25444. name: userid
  25445. required: true
  25446. type: string
  25447. produces:
  25448. - application/json
  25449. responses:
  25450. "200":
  25451. description: OK
  25452. schema:
  25453. items:
  25454. $ref: '#/definitions/models.Ermcp2AreaExposure'
  25455. type: array
  25456. "500":
  25457. description: Internal Server Error
  25458. schema:
  25459. $ref: '#/definitions/app.Response'
  25460. security:
  25461. - ApiKeyAuth: []
  25462. summary: 企业敞口查询
  25463. tags:
  25464. - 企业风险管理v8
  25465. /Ermcp8/QueryErmcp2HedgedItem:
  25466. get:
  25467. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  25468. parameters:
  25469. - description: 用户ID
  25470. in: query
  25471. name: userid
  25472. required: true
  25473. type: string
  25474. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25475. in: query
  25476. name: hedgedtype
  25477. type: integer
  25478. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25479. in: query
  25480. name: hedgeditemstatus
  25481. type: integer
  25482. produces:
  25483. - application/json
  25484. responses:
  25485. "200":
  25486. description: OK
  25487. schema:
  25488. items:
  25489. $ref: '#/definitions/models.Ermcp2hedgeditem'
  25490. type: array
  25491. "500":
  25492. description: Internal Server Error
  25493. schema:
  25494. $ref: '#/definitions/app.Response'
  25495. security:
  25496. - ApiKeyAuth: []
  25497. summary: 查询被套期项目信息
  25498. tags:
  25499. - 企业风险管理v8
  25500. /Ermcp8/QueryErmcp2HedgedItemLink:
  25501. get:
  25502. parameters:
  25503. - description: 现货合同ID
  25504. in: query
  25505. name: spotcontractid
  25506. required: true
  25507. type: integer
  25508. produces:
  25509. - application/json
  25510. responses:
  25511. "200":
  25512. description: OK
  25513. schema:
  25514. items:
  25515. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  25516. type: array
  25517. "500":
  25518. description: Internal Server Error
  25519. schema:
  25520. $ref: '#/definitions/app.Response'
  25521. security:
  25522. - ApiKeyAuth: []
  25523. summary: 现货合同关联被套期项目查询
  25524. tags:
  25525. - 企业风险管理v8
  25526. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  25527. get:
  25528. parameters:
  25529. - description: 用户ID
  25530. in: query
  25531. name: userid
  25532. required: true
  25533. type: integer
  25534. - description: 套保品种ID
  25535. in: query
  25536. name: middlegoodsid
  25537. required: true
  25538. type: integer
  25539. produces:
  25540. - application/json
  25541. responses:
  25542. "200":
  25543. description: OK
  25544. schema:
  25545. items:
  25546. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  25547. type: array
  25548. "500":
  25549. description: Internal Server Error
  25550. schema:
  25551. $ref: '#/definitions/app.Response'
  25552. security:
  25553. - ApiKeyAuth: []
  25554. summary: 敞口明细 - 计划变动明细
  25555. tags:
  25556. - 企业风险管理v8
  25557. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  25558. get:
  25559. parameters:
  25560. - description: 用户ID
  25561. in: query
  25562. name: userid
  25563. required: true
  25564. type: integer
  25565. - description: 套保品种ID
  25566. in: query
  25567. name: middlegoodsid
  25568. required: true
  25569. type: integer
  25570. produces:
  25571. - application/json
  25572. responses:
  25573. "200":
  25574. description: OK
  25575. schema:
  25576. items:
  25577. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  25578. type: array
  25579. "500":
  25580. description: Internal Server Error
  25581. schema:
  25582. $ref: '#/definitions/app.Response'
  25583. security:
  25584. - ApiKeyAuth: []
  25585. summary: 敞口明细 - 现货变动明细查询
  25586. tags:
  25587. - 企业风险管理v8
  25588. /Ermcp8/QueryErmcp8EnableHedgeditem:
  25589. get:
  25590. parameters:
  25591. - description: 用户ID
  25592. in: query
  25593. name: userid
  25594. required: true
  25595. type: integer
  25596. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  25597. in: query
  25598. name: spottype
  25599. required: true
  25600. type: integer
  25601. produces:
  25602. - application/json
  25603. responses:
  25604. "200":
  25605. description: OK
  25606. schema:
  25607. items:
  25608. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  25609. type: array
  25610. "500":
  25611. description: Internal Server Error
  25612. schema:
  25613. $ref: '#/definitions/app.Response'
  25614. security:
  25615. - ApiKeyAuth: []
  25616. summary: 可关联项目查询
  25617. tags:
  25618. - 企业风险管理v8
  25619. /Ermcp8/QueryErmcp8HedgeditemReport:
  25620. get:
  25621. parameters:
  25622. - description: 用户ID
  25623. in: query
  25624. name: userid
  25625. required: true
  25626. type: integer
  25627. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25628. in: query
  25629. name: cycletype
  25630. type: integer
  25631. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25632. 全(0)【原值】
  25633. in: query
  25634. name: cycletime
  25635. required: true
  25636. type: string
  25637. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25638. in: query
  25639. name: hedgedtype
  25640. type: integer
  25641. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25642. in: query
  25643. name: hedgeditemstatus
  25644. type: integer
  25645. - description: 项目编号,模糊查询
  25646. in: query
  25647. name: hedgeditemnum
  25648. type: string
  25649. - description: 现货商品ID
  25650. in: query
  25651. name: wrstandardid
  25652. type: integer
  25653. produces:
  25654. - application/json
  25655. responses:
  25656. "200":
  25657. description: OK
  25658. schema:
  25659. items:
  25660. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  25661. type: array
  25662. "500":
  25663. description: Internal Server Error
  25664. schema:
  25665. $ref: '#/definitions/app.Response'
  25666. security:
  25667. - ApiKeyAuth: []
  25668. summary: 套期项目报表查询
  25669. tags:
  25670. - 企业风险管理v8
  25671. /Ermcp8/QueryErmcp8RunningHedgeditem:
  25672. get:
  25673. parameters:
  25674. - description: 用户ID
  25675. in: query
  25676. name: userid
  25677. required: true
  25678. type: string
  25679. produces:
  25680. - application/json
  25681. responses:
  25682. "200":
  25683. description: OK
  25684. schema:
  25685. items:
  25686. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  25687. type: array
  25688. "500":
  25689. description: Internal Server Error
  25690. schema:
  25691. $ref: '#/definitions/app.Response'
  25692. security:
  25693. - ApiKeyAuth: []
  25694. summary: 查询执行中项目查询信息
  25695. tags:
  25696. - 企业风险管理v8
  25697. /Ermcp8/QueryInternalEnableTradeDetail:
  25698. get:
  25699. parameters:
  25700. - description: 企业ID
  25701. in: query
  25702. name: areauserid
  25703. required: true
  25704. type: integer
  25705. - description: 期货合约ID
  25706. in: query
  25707. name: goodsid
  25708. required: true
  25709. type: integer
  25710. produces:
  25711. - application/json
  25712. responses:
  25713. "200":
  25714. description: OK
  25715. schema:
  25716. items:
  25717. $ref: '#/definitions/models.InternalEnableTradeDetail'
  25718. type: array
  25719. "500":
  25720. description: Internal Server Error
  25721. schema:
  25722. $ref: '#/definitions/app.Response'
  25723. security:
  25724. - ApiKeyAuth: []
  25725. summary: 内部成交单可关联项目查询
  25726. tags:
  25727. - 企业风险管理v8
  25728. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  25729. get:
  25730. parameters:
  25731. - description: 用户编号
  25732. in: query
  25733. name: userid
  25734. required: true
  25735. type: integer
  25736. - description: 起始日期(格式yyyymmdd)
  25737. in: query
  25738. name: begindate
  25739. type: string
  25740. - description: 终止日期(格式yyyymmdd)
  25741. in: query
  25742. name: enddate
  25743. type: string
  25744. - description: 合约代码
  25745. in: query
  25746. name: goodscode
  25747. type: string
  25748. - description: 合约名称
  25749. in: query
  25750. name: goodsname
  25751. type: string
  25752. - description: 成交单号
  25753. in: query
  25754. name: tradeid
  25755. type: integer
  25756. - description: 方向 - 0:买 1:卖
  25757. in: query
  25758. name: buyorsell
  25759. type: integer
  25760. - description: 套期主体
  25761. in: query
  25762. name: accountname
  25763. type: string
  25764. produces:
  25765. - application/json
  25766. responses:
  25767. "200":
  25768. description: OK
  25769. schema:
  25770. items:
  25771. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  25772. type: array
  25773. "500":
  25774. description: Internal Server Error
  25775. schema:
  25776. $ref: '#/definitions/app.Response'
  25777. security:
  25778. - ApiKeyAuth: []
  25779. summary: 内部未关联成交单查询
  25780. tags:
  25781. - 企业风险管理v8
  25782. /Ermcp8/QueryPatradeLinkDetail:
  25783. get:
  25784. parameters:
  25785. - description: 用户ID
  25786. in: query
  25787. name: userid
  25788. required: true
  25789. type: integer
  25790. - description: 套保品种ID
  25791. in: query
  25792. name: middlegoodsid
  25793. required: true
  25794. type: integer
  25795. produces:
  25796. - application/json
  25797. responses:
  25798. "200":
  25799. description: OK
  25800. schema:
  25801. items:
  25802. $ref: '#/definitions/models.Patradelinkdetail'
  25803. type: array
  25804. "500":
  25805. description: Internal Server Error
  25806. schema:
  25807. $ref: '#/definitions/app.Response'
  25808. security:
  25809. - ApiKeyAuth: []
  25810. summary: 敞口明细 - 期货变动明细
  25811. tags:
  25812. - 企业风险管理v8
  25813. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  25814. get:
  25815. parameters:
  25816. - description: 企业ID
  25817. in: query
  25818. name: areauserid
  25819. required: true
  25820. type: integer
  25821. - description: 计划类型 - 1:采购 -1:销售
  25822. in: query
  25823. name: contracttype
  25824. type: integer
  25825. - description: 计划编号,模糊查询
  25826. in: query
  25827. name: hedgeplanno
  25828. type: string
  25829. - description: 现货商品,模糊查询
  25830. in: query
  25831. name: wrstandardname
  25832. type: string
  25833. produces:
  25834. - application/json
  25835. responses:
  25836. "200":
  25837. description: OK
  25838. schema:
  25839. items:
  25840. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  25841. type: array
  25842. "500":
  25843. description: Internal Server Error
  25844. schema:
  25845. $ref: '#/definitions/app.Response'
  25846. security:
  25847. - ApiKeyAuth: []
  25848. summary: 未关联购销计划
  25849. tags:
  25850. - 企业风险管理v8
  25851. /Ermcp8/QueryUnLinkSpotContract:
  25852. get:
  25853. parameters:
  25854. - description: 用户ID
  25855. in: query
  25856. name: userid
  25857. required: true
  25858. type: integer
  25859. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  25860. in: query
  25861. name: pricetype
  25862. type: integer
  25863. - description: 合同编号, 模拟查询
  25864. in: query
  25865. name: contractno
  25866. type: string
  25867. - description: 对手方, 模拟查询
  25868. in: query
  25869. name: customername
  25870. type: string
  25871. - description: 项合同类型 - 1:采购 -1:销售
  25872. in: query
  25873. name: contracttype
  25874. type: integer
  25875. produces:
  25876. - application/json
  25877. responses:
  25878. "200":
  25879. description: OK
  25880. schema:
  25881. items:
  25882. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  25883. type: array
  25884. "500":
  25885. description: Internal Server Error
  25886. schema:
  25887. $ref: '#/definitions/app.Response'
  25888. security:
  25889. - ApiKeyAuth: []
  25890. summary: 未关联合同查询
  25891. tags:
  25892. - 企业风险管理v8
  25893. /Erms2/QueryArbitrageStrategy:
  25894. get:
  25895. parameters:
  25896. - description: 账户ID
  25897. in: query
  25898. name: userid
  25899. required: true
  25900. type: integer
  25901. - description: 商品组ID(品种ID)
  25902. in: query
  25903. name: goodsgroupid
  25904. type: string
  25905. produces:
  25906. - application/json
  25907. responses:
  25908. "200":
  25909. description: OK
  25910. schema:
  25911. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  25912. "500":
  25913. description: Internal Server Error
  25914. schema:
  25915. $ref: '#/definitions/app.Response'
  25916. security:
  25917. - ApiKeyAuth: []
  25918. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  25919. tags:
  25920. - 风险管理
  25921. /Erms2/QueryInnerTradeDetail:
  25922. get:
  25923. parameters:
  25924. - description: 资金账户
  25925. in: query
  25926. name: accountid
  25927. required: true
  25928. type: integer
  25929. produces:
  25930. - application/json
  25931. responses:
  25932. "200":
  25933. description: OK
  25934. schema:
  25935. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  25936. "500":
  25937. description: Internal Server Error
  25938. schema:
  25939. $ref: '#/definitions/app.Response'
  25940. security:
  25941. - ApiKeyAuth: []
  25942. summary: 查询内部成交单信息
  25943. tags:
  25944. - 风险管理
  25945. /Erms2/QuerySpotContract:
  25946. get:
  25947. parameters:
  25948. - description: 策略申请ID
  25949. in: query
  25950. name: asapplyid
  25951. required: true
  25952. type: integer
  25953. - description: 现货合同ID
  25954. in: query
  25955. name: spotcontractid
  25956. type: integer
  25957. produces:
  25958. - application/json
  25959. responses:
  25960. "200":
  25961. description: OK
  25962. schema:
  25963. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  25964. "500":
  25965. description: Internal Server Error
  25966. schema:
  25967. $ref: '#/definitions/app.Response'
  25968. security:
  25969. - ApiKeyAuth: []
  25970. summary: 查询现货合同表信息(指定策略ID、未结束的)
  25971. tags:
  25972. - 风险管理
  25973. /Erms3/AddErms2ASApply:
  25974. post:
  25975. parameters:
  25976. - description: 申请参数
  25977. in: body
  25978. name: jsonBody
  25979. required: true
  25980. schema:
  25981. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  25982. produces:
  25983. - application/json
  25984. responses:
  25985. "200":
  25986. description: OK
  25987. schema:
  25988. $ref: '#/definitions/app.Response'
  25989. "500":
  25990. description: Internal Server Error
  25991. schema:
  25992. $ref: '#/definitions/app.Response'
  25993. security:
  25994. - ApiKeyAuth: []
  25995. summary: 新增期现套利业务申请
  25996. tags:
  25997. - 风险管理v3
  25998. /Erms3/AddErms2SpotTradeApply:
  25999. post:
  26000. parameters:
  26001. - description: 申请参数
  26002. in: body
  26003. name: jsonBody
  26004. required: true
  26005. schema:
  26006. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  26007. produces:
  26008. - application/json
  26009. responses:
  26010. "200":
  26011. description: OK
  26012. schema:
  26013. $ref: '#/definitions/app.Response'
  26014. "500":
  26015. description: Internal Server Error
  26016. schema:
  26017. $ref: '#/definitions/app.Response'
  26018. security:
  26019. - ApiKeyAuth: []
  26020. summary: 新增现货贸易业务申请
  26021. tags:
  26022. - 风险管理v3
  26023. /Erms3/AddSpotContractApply:
  26024. post:
  26025. parameters:
  26026. - description: 申请参数
  26027. in: body
  26028. name: jsonBody
  26029. required: true
  26030. schema:
  26031. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  26032. produces:
  26033. - application/json
  26034. responses:
  26035. "200":
  26036. description: OK
  26037. schema:
  26038. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  26039. "500":
  26040. description: Internal Server Error
  26041. schema:
  26042. $ref: '#/definitions/app.Response'
  26043. security:
  26044. - ApiKeyAuth: []
  26045. summary: 新增现货合同申请
  26046. tags:
  26047. - 风险管理v3
  26048. /Erms3/AddUserInfoApply:
  26049. post:
  26050. parameters:
  26051. - description: 用户信息
  26052. in: body
  26053. name: jsonBody
  26054. required: true
  26055. schema:
  26056. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  26057. produces:
  26058. - application/json
  26059. responses:
  26060. "200":
  26061. description: OK
  26062. schema:
  26063. $ref: '#/definitions/app.Response'
  26064. "500":
  26065. description: Internal Server Error
  26066. schema:
  26067. $ref: '#/definitions/app.Response'
  26068. security:
  26069. - ApiKeyAuth: []
  26070. summary: 新增客户申请
  26071. tags:
  26072. - 风险管理v3
  26073. /Erms3/DeleteUserInfoApply:
  26074. get:
  26075. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  26076. parameters:
  26077. - description: 用户ID
  26078. in: query
  26079. name: userID
  26080. required: true
  26081. type: integer
  26082. produces:
  26083. - application/json
  26084. responses:
  26085. "200":
  26086. description: OK
  26087. schema:
  26088. $ref: '#/definitions/app.Response'
  26089. "500":
  26090. description: Internal Server Error
  26091. schema:
  26092. $ref: '#/definitions/app.Response'
  26093. security:
  26094. - ApiKeyAuth: []
  26095. summary: 删除客户申请
  26096. tags:
  26097. - 风险管理v3
  26098. /Erms3/ModifyUserInfoApply:
  26099. post:
  26100. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  26101. int, "userstate": 2 }'
  26102. parameters:
  26103. - description: 用户信息
  26104. in: body
  26105. name: jsonBody
  26106. required: true
  26107. schema:
  26108. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  26109. produces:
  26110. - application/json
  26111. responses:
  26112. "200":
  26113. description: OK
  26114. schema:
  26115. $ref: '#/definitions/app.Response'
  26116. "500":
  26117. description: Internal Server Error
  26118. schema:
  26119. $ref: '#/definitions/app.Response'
  26120. security:
  26121. - ApiKeyAuth: []
  26122. summary: 修改客户申请
  26123. tags:
  26124. - 风险管理v3
  26125. /Erms3/QueryBusinessInfo:
  26126. get:
  26127. parameters:
  26128. - description: 资金账号ID列表,用逗号分隔
  26129. in: query
  26130. name: accountids
  26131. required: true
  26132. type: string
  26133. - description: 状态,0为未结束 1为已结束
  26134. in: query
  26135. name: status
  26136. required: true
  26137. type: integer
  26138. produces:
  26139. - application/json
  26140. responses:
  26141. "200":
  26142. description: OK
  26143. schema:
  26144. items:
  26145. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  26146. type: array
  26147. "500":
  26148. description: Internal Server Error
  26149. schema:
  26150. $ref: '#/definitions/app.Response'
  26151. security:
  26152. - ApiKeyAuth: []
  26153. summary: 查询业务表单数据
  26154. tags:
  26155. - 风险管理v3
  26156. /Erms3/QueryPendingAuditContract:
  26157. get:
  26158. parameters:
  26159. - description: 资金账号ID列表,逗号隔开
  26160. in: query
  26161. name: accountids
  26162. required: true
  26163. type: string
  26164. - description: 合同类型 1-采购 -1-销售
  26165. in: query
  26166. name: contracttype
  26167. required: true
  26168. type: integer
  26169. - description: 合同模式 1-普通 2-回购
  26170. in: query
  26171. name: contractmode
  26172. required: true
  26173. type: integer
  26174. produces:
  26175. - application/json
  26176. responses:
  26177. "200":
  26178. description: OK
  26179. schema:
  26180. items:
  26181. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26182. type: array
  26183. "500":
  26184. description: Internal Server Error
  26185. schema:
  26186. $ref: '#/definitions/app.Response'
  26187. security:
  26188. - ApiKeyAuth: []
  26189. summary: 查询待审核合同
  26190. tags:
  26191. - 风险管理v3
  26192. /Erms3/QueryPendingBusiness:
  26193. get:
  26194. parameters:
  26195. - description: 资金账号ID列表,逗号隔开
  26196. in: query
  26197. name: accountids
  26198. required: true
  26199. type: string
  26200. produces:
  26201. - application/json
  26202. responses:
  26203. "200":
  26204. description: OK
  26205. schema:
  26206. items:
  26207. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26208. type: array
  26209. "500":
  26210. description: Internal Server Error
  26211. schema:
  26212. $ref: '#/definitions/app.Response'
  26213. security:
  26214. - ApiKeyAuth: []
  26215. summary: 查询待审核基差贸易业务
  26216. tags:
  26217. - 风险管理v3
  26218. /Erms3/QuerySpotContractAppleForm:
  26219. get:
  26220. parameters:
  26221. - description: 登录账号
  26222. in: query
  26223. name: loginID
  26224. required: true
  26225. type: integer
  26226. produces:
  26227. - application/json
  26228. responses:
  26229. "200":
  26230. description: OK
  26231. schema:
  26232. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26233. "500":
  26234. description: Internal Server Error
  26235. schema:
  26236. $ref: '#/definitions/app.Response'
  26237. security:
  26238. - ApiKeyAuth: []
  26239. summary: 查询合同申请表单数据
  26240. tags:
  26241. - 风险管理v3
  26242. /Erms3/QuerySpotContractDetail:
  26243. get:
  26244. parameters:
  26245. - description: 资金账号ID列表,用逗号分隔
  26246. in: query
  26247. name: accountids
  26248. required: true
  26249. type: string
  26250. - description: 合同类型,1为采购合同 -1为销售合同
  26251. in: query
  26252. name: contracttype
  26253. required: true
  26254. type: integer
  26255. - description: 合同模式,1为普通合同 2为回购销售合同
  26256. in: query
  26257. name: contractmode
  26258. required: true
  26259. type: integer
  26260. - description: 状态,0为履约中 1为已完成
  26261. in: query
  26262. name: status
  26263. required: true
  26264. type: integer
  26265. produces:
  26266. - application/json
  26267. responses:
  26268. "200":
  26269. description: OK
  26270. schema:
  26271. items:
  26272. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  26273. type: array
  26274. "500":
  26275. description: Internal Server Error
  26276. schema:
  26277. $ref: '#/definitions/app.Response'
  26278. security:
  26279. - ApiKeyAuth: []
  26280. summary: 查询合同详细信息
  26281. tags:
  26282. - 风险管理v3
  26283. /Erms3/QueryUserInfoApplies:
  26284. get:
  26285. parameters:
  26286. - description: 页码
  26287. in: query
  26288. name: page
  26289. type: integer
  26290. - description: 每页条数
  26291. in: query
  26292. name: pagesize
  26293. type: integer
  26294. - description: 客户名称,支持模糊查询
  26295. in: query
  26296. name: userName
  26297. type: string
  26298. produces:
  26299. - application/json
  26300. responses:
  26301. "200":
  26302. description: OK
  26303. schema:
  26304. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  26305. "500":
  26306. description: Internal Server Error
  26307. schema:
  26308. $ref: '#/definitions/app.Response'
  26309. security:
  26310. - ApiKeyAuth: []
  26311. summary: 客户申请信息查询
  26312. tags:
  26313. - 风险管理v3
  26314. /Erms3/QueryUserInfos:
  26315. get:
  26316. parameters:
  26317. - description: 页码
  26318. in: query
  26319. name: page
  26320. type: integer
  26321. - description: 每页条数
  26322. in: query
  26323. name: pagesize
  26324. type: integer
  26325. - description: 客户名称,支持模糊查询
  26326. in: query
  26327. name: userName
  26328. type: string
  26329. produces:
  26330. - application/json
  26331. responses:
  26332. "200":
  26333. description: OK
  26334. schema:
  26335. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  26336. "500":
  26337. description: Internal Server Error
  26338. schema:
  26339. $ref: '#/definitions/app.Response'
  26340. security:
  26341. - ApiKeyAuth: []
  26342. summary: 客户信息查询
  26343. tags:
  26344. - 风险管理v3
  26345. /HSBY/GetHsbyMyCount:
  26346. get:
  26347. description: 说明: 不包括已完成的数量。
  26348. parameters:
  26349. - description: 资金账户列表,格式:1,2,3
  26350. in: query
  26351. name: accountIDs
  26352. required: true
  26353. type: string
  26354. produces:
  26355. - application/json
  26356. responses:
  26357. "200":
  26358. description: OK
  26359. schema:
  26360. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  26361. "500":
  26362. description: Internal Server Error
  26363. schema:
  26364. $ref: '#/definitions/app.Response'
  26365. security:
  26366. - ApiKeyAuth: []
  26367. summary: 获取我的订单与包裹数量
  26368. tags:
  26369. - 定制【海商报业】
  26370. /HSBY/QueryClientFixedADConfigs:
  26371. get:
  26372. produces:
  26373. - application/json
  26374. responses:
  26375. "200":
  26376. description: OK
  26377. schema:
  26378. $ref: '#/definitions/models.Clientfixedadconfig'
  26379. "500":
  26380. description: Internal Server Error
  26381. schema:
  26382. $ref: '#/definitions/app.Response'
  26383. security:
  26384. - ApiKeyAuth: []
  26385. summary: 获取终端固定广告配置
  26386. tags:
  26387. - 定制【海商报业】
  26388. /HSBY/QueryHsbyBuyMyTradeDetail:
  26389. get:
  26390. parameters:
  26391. - description: 页码
  26392. in: query
  26393. name: page
  26394. type: integer
  26395. - description: 每页条数
  26396. in: query
  26397. name: pagesize
  26398. type: integer
  26399. - description: 资金账户列表,格式:1,2,3
  26400. in: query
  26401. name: accountIDs
  26402. required: true
  26403. type: string
  26404. produces:
  26405. - application/json
  26406. responses:
  26407. "200":
  26408. description: OK
  26409. schema:
  26410. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  26411. "500":
  26412. description: Internal Server Error
  26413. schema:
  26414. $ref: '#/definitions/app.Response'
  26415. security:
  26416. - ApiKeyAuth: []
  26417. summary: 查询"我的订单 - 已完成"单据信息
  26418. tags:
  26419. - 定制【海商报业】
  26420. /HSBY/QueryHsbyGoodsOrderDetails:
  26421. get:
  26422. description: 说明:查询结果已按委托价格和委托时间排序
  26423. parameters:
  26424. - description: 商品ID
  26425. in: query
  26426. name: goodsID
  26427. required: true
  26428. type: integer
  26429. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  26430. in: query
  26431. name: accountIDs
  26432. type: string
  26433. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  26434. in: query
  26435. name: buyOrSell
  26436. type: integer
  26437. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  26438. in: query
  26439. name: price
  26440. type: number
  26441. - description: 档位,不传则默认为3档
  26442. in: query
  26443. name: speed
  26444. type: integer
  26445. produces:
  26446. - application/json
  26447. responses:
  26448. "200":
  26449. description: OK
  26450. schema:
  26451. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  26452. "500":
  26453. description: Internal Server Error
  26454. schema:
  26455. $ref: '#/definitions/app.Response'
  26456. security:
  26457. - ApiKeyAuth: []
  26458. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  26459. tags:
  26460. - 定制【海商报业】
  26461. /HSBY/QueryHsbyListingGoodsDetail:
  26462. get:
  26463. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  26464. parameters:
  26465. - description: 商品ID
  26466. in: query
  26467. name: goodsID
  26468. required: true
  26469. type: integer
  26470. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  26471. in: query
  26472. name: accountID
  26473. type: integer
  26474. produces:
  26475. - application/json
  26476. responses:
  26477. "200":
  26478. description: OK
  26479. schema:
  26480. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  26481. "500":
  26482. description: Internal Server Error
  26483. schema:
  26484. $ref: '#/definitions/app.Response'
  26485. security:
  26486. - ApiKeyAuth: []
  26487. summary: 查询二级市场(挂牌点选)商品信息详情
  26488. tags:
  26489. - 定制【海商报业】
  26490. /HSBY/QueryHsbyMarketGoodsDetail:
  26491. get:
  26492. parameters:
  26493. - description: 委托单号
  26494. in: query
  26495. name: orderID
  26496. required: true
  26497. type: integer
  26498. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  26499. in: query
  26500. name: accountID
  26501. type: integer
  26502. produces:
  26503. - application/json
  26504. responses:
  26505. "200":
  26506. description: OK
  26507. schema:
  26508. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26509. "500":
  26510. description: Internal Server Error
  26511. schema:
  26512. $ref: '#/definitions/app.Response'
  26513. security:
  26514. - ApiKeyAuth: []
  26515. summary: 查询三级市场(商城)商品信息详情
  26516. tags:
  26517. - 定制【海商报业】
  26518. /HSBY/QueryHsbyMarketGoodses:
  26519. get:
  26520. parameters:
  26521. - description: 页码
  26522. in: query
  26523. name: page
  26524. type: integer
  26525. - description: 每页条数
  26526. in: query
  26527. name: pagesize
  26528. type: integer
  26529. - description: 市场ID列表,格式:1,2,3
  26530. in: query
  26531. name: marketIDs
  26532. required: true
  26533. type: string
  26534. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  26535. in: query
  26536. name: accountID
  26537. required: true
  26538. type: integer
  26539. - description: 类别ID
  26540. in: query
  26541. name: categoryID
  26542. type: integer
  26543. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26544. in: query
  26545. name: goodsIDs
  26546. type: string
  26547. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  26548. in: query
  26549. name: couponTypeID
  26550. type: integer
  26551. produces:
  26552. - application/json
  26553. responses:
  26554. "200":
  26555. description: OK
  26556. schema:
  26557. $ref: '#/definitions/models.HsbyMarketGoods'
  26558. "500":
  26559. description: Internal Server Error
  26560. schema:
  26561. $ref: '#/definitions/app.Response'
  26562. security:
  26563. - ApiKeyAuth: []
  26564. summary: 查询特卖商品列表(三级商城)
  26565. tags:
  26566. - 定制【海商报业】
  26567. /HSBY/QueryHsbyMarkets:
  26568. get:
  26569. produces:
  26570. - application/json
  26571. responses:
  26572. "200":
  26573. description: OK
  26574. schema:
  26575. $ref: '#/definitions/models.HsbyMarketInfo'
  26576. "500":
  26577. description: Internal Server Error
  26578. schema:
  26579. $ref: '#/definitions/app.Response'
  26580. security:
  26581. - ApiKeyAuth: []
  26582. summary: 查询海商报业相关市场信息
  26583. tags:
  26584. - 定制【海商报业】
  26585. /HSBY/QueryHsbyMyBuyOrderDetails:
  26586. get:
  26587. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  26588. parameters:
  26589. - description: 资金账户列表,格式:1,2,3
  26590. in: query
  26591. name: accountIDs
  26592. required: true
  26593. type: string
  26594. produces:
  26595. - application/json
  26596. responses:
  26597. "200":
  26598. description: OK
  26599. schema:
  26600. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  26601. "500":
  26602. description: Internal Server Error
  26603. schema:
  26604. $ref: '#/definitions/app.Response'
  26605. security:
  26606. - ApiKeyAuth: []
  26607. summary: 查询“我的订单”信息
  26608. tags:
  26609. - 定制【海商报业】
  26610. /HSBY/QueryHsbyMyGoods:
  26611. get:
  26612. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  26613. parameters:
  26614. - description: 资金账户列表,格式:1,2,3
  26615. in: query
  26616. name: accountIDs
  26617. required: true
  26618. type: string
  26619. produces:
  26620. - application/json
  26621. responses:
  26622. "200":
  26623. description: OK
  26624. schema:
  26625. $ref: '#/definitions/models.HsbyMyGoods'
  26626. "500":
  26627. description: Internal Server Error
  26628. schema:
  26629. $ref: '#/definitions/app.Response'
  26630. security:
  26631. - ApiKeyAuth: []
  26632. summary: 查询“我的商品”信息
  26633. tags:
  26634. - 定制【海商报业】
  26635. /HSBY/QueryHsbyMyPackages:
  26636. get:
  26637. parameters:
  26638. - description: 资金账户列表,格式:1,2,3
  26639. in: query
  26640. name: accountIDs
  26641. required: true
  26642. type: string
  26643. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26644. in: query
  26645. name: takeOrderStatus
  26646. type: integer
  26647. produces:
  26648. - application/json
  26649. responses:
  26650. "200":
  26651. description: OK
  26652. schema:
  26653. $ref: '#/definitions/models.HsbyMyPackage'
  26654. "500":
  26655. description: Internal Server Error
  26656. schema:
  26657. $ref: '#/definitions/app.Response'
  26658. security:
  26659. - ApiKeyAuth: []
  26660. summary: 查询我的包裹信息
  26661. tags:
  26662. - 定制【海商报业】
  26663. /HSBY/QueryHsbyPreGoodsDetail:
  26664. get:
  26665. parameters:
  26666. - description: 商品ID
  26667. in: query
  26668. name: goodsID
  26669. required: true
  26670. type: integer
  26671. - description: 资金账户,主要用于获取预售商品购买上限
  26672. in: query
  26673. name: accountID
  26674. type: integer
  26675. produces:
  26676. - application/json
  26677. responses:
  26678. "200":
  26679. description: OK
  26680. schema:
  26681. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  26682. "500":
  26683. description: Internal Server Error
  26684. schema:
  26685. $ref: '#/definitions/app.Response'
  26686. security:
  26687. - ApiKeyAuth: []
  26688. summary: 查询一级市场(预售)商品信息详情
  26689. tags:
  26690. - 定制【海商报业】
  26691. /HSBY/QueryHsbyPreGoodses:
  26692. get:
  26693. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  26694. parameters:
  26695. - description: 页码
  26696. in: query
  26697. name: page
  26698. type: integer
  26699. - description: 每页条数
  26700. in: query
  26701. name: pagesize
  26702. type: integer
  26703. - description: 市场ID列表,格式:1,2,3
  26704. in: query
  26705. name: marketIDs
  26706. required: true
  26707. type: string
  26708. - description: 目的地(省)ID
  26709. in: query
  26710. name: descProvinceID
  26711. type: integer
  26712. - description: 目的地(市)ID
  26713. in: query
  26714. name: descCityID
  26715. type: integer
  26716. produces:
  26717. - application/json
  26718. responses:
  26719. "200":
  26720. description: OK
  26721. schema:
  26722. $ref: '#/definitions/models.HsbyPreGoods'
  26723. "500":
  26724. description: Internal Server Error
  26725. schema:
  26726. $ref: '#/definitions/app.Response'
  26727. security:
  26728. - ApiKeyAuth: []
  26729. summary: 查询新品上市商品列表(一级市场预售)
  26730. tags:
  26731. - 定制【海商报业】
  26732. /HSBY/QueryHsbySellMyDetails:
  26733. get:
  26734. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  26735. parameters:
  26736. - description: 页码
  26737. in: query
  26738. name: page
  26739. type: integer
  26740. - description: 每页条数
  26741. in: query
  26742. name: pagesize
  26743. type: integer
  26744. - description: 资金账户列表,格式:1,2,3
  26745. in: query
  26746. name: accountIDs
  26747. required: true
  26748. type: string
  26749. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  26750. in: query
  26751. name: orderType
  26752. type: integer
  26753. produces:
  26754. - application/json
  26755. responses:
  26756. "200":
  26757. description: OK
  26758. schema:
  26759. $ref: '#/definitions/models.HsbySellMyDetail'
  26760. "500":
  26761. description: Internal Server Error
  26762. schema:
  26763. $ref: '#/definitions/app.Response'
  26764. security:
  26765. - ApiKeyAuth: []
  26766. summary: 查询"我的闲置"单据信息
  26767. tags:
  26768. - 定制【海商报业】
  26769. /HSBY/QueryHsbyTopGoodses:
  26770. get:
  26771. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  26772. parameters:
  26773. - description: 页码
  26774. in: query
  26775. name: page
  26776. type: integer
  26777. - description: 每页条数
  26778. in: query
  26779. name: pagesize
  26780. type: integer
  26781. - description: 市场ID列表,格式:1,2,3
  26782. in: query
  26783. name: marketIDs
  26784. required: true
  26785. type: string
  26786. - description: 目的地(省)ID
  26787. in: query
  26788. name: descProvinceID
  26789. type: integer
  26790. - description: 目的地(市)ID
  26791. in: query
  26792. name: descCityID
  26793. type: integer
  26794. produces:
  26795. - application/json
  26796. responses:
  26797. "200":
  26798. description: OK
  26799. schema:
  26800. $ref: '#/definitions/models.HsbyTopGoods'
  26801. "500":
  26802. description: Internal Server Error
  26803. schema:
  26804. $ref: '#/definitions/app.Response'
  26805. security:
  26806. - ApiKeyAuth: []
  26807. summary: 查询热卖商品列表(二级市场挂牌点选)
  26808. tags:
  26809. - 定制【海商报业】
  26810. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  26811. get:
  26812. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  26813. parameters:
  26814. - description: 商品ID
  26815. in: query
  26816. name: goodsID
  26817. required: true
  26818. type: integer
  26819. produces:
  26820. - application/json
  26821. responses:
  26822. "200":
  26823. description: OK
  26824. schema:
  26825. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26826. "500":
  26827. description: Internal Server Error
  26828. schema:
  26829. $ref: '#/definitions/app.Response'
  26830. security:
  26831. - ApiKeyAuth: []
  26832. summary: 查询游客三级市场(商城)商品信息详情
  26833. tags:
  26834. - 定制【海商报业】
  26835. /HSBY/QueryHsbyVisitorMarketGoodses:
  26836. get:
  26837. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  26838. parameters:
  26839. - description: 页码
  26840. in: query
  26841. name: page
  26842. type: integer
  26843. - description: 每页条数
  26844. in: query
  26845. name: pagesize
  26846. type: integer
  26847. - description: 市场ID列表,格式:1,2,3
  26848. in: query
  26849. name: marketIDs
  26850. required: true
  26851. type: string
  26852. - description: 类别ID
  26853. in: query
  26854. name: categoryID
  26855. type: integer
  26856. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26857. in: query
  26858. name: goodsIDs
  26859. type: string
  26860. produces:
  26861. - application/json
  26862. responses:
  26863. "200":
  26864. description: OK
  26865. schema:
  26866. $ref: '#/definitions/models.HsbyMarketGoods'
  26867. "500":
  26868. description: Internal Server Error
  26869. schema:
  26870. $ref: '#/definitions/app.Response'
  26871. security:
  26872. - ApiKeyAuth: []
  26873. summary: 查询游客特卖商品列表(三级商城)
  26874. tags:
  26875. - 定制【海商报业】
  26876. /HSBY/QueryMyCollectionOrders:
  26877. get:
  26878. parameters:
  26879. - description: 页码
  26880. in: query
  26881. name: page
  26882. type: integer
  26883. - description: 每页条数
  26884. in: query
  26885. name: pagesize
  26886. type: integer
  26887. - description: 资金账户,格式:1,2,3
  26888. in: query
  26889. name: accountIDs
  26890. required: true
  26891. type: string
  26892. produces:
  26893. - application/json
  26894. responses:
  26895. "200":
  26896. description: OK
  26897. schema:
  26898. $ref: '#/definitions/models.HsbySellCollectionOrder'
  26899. "500":
  26900. description: Internal Server Error
  26901. schema:
  26902. $ref: '#/definitions/app.Response'
  26903. security:
  26904. - ApiKeyAuth: []
  26905. summary: 我的闲置中收款信息查询
  26906. tags:
  26907. - 定制【海商报业】
  26908. /HSBY/QueryMyCouponHolds:
  26909. get:
  26910. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  26911. parameters:
  26912. - description: 资金账户列表,格式:1,2,3
  26913. in: query
  26914. name: accountIDs
  26915. required: true
  26916. type: string
  26917. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  26918. in: query
  26919. name: holdStatus
  26920. type: string
  26921. produces:
  26922. - application/json
  26923. responses:
  26924. "200":
  26925. description: OK
  26926. schema:
  26927. $ref: '#/definitions/models.MyCouponHold'
  26928. "500":
  26929. description: Internal Server Error
  26930. schema:
  26931. $ref: '#/definitions/app.Response'
  26932. security:
  26933. - ApiKeyAuth: []
  26934. summary: 我的优惠卷持仓查询
  26935. tags:
  26936. - 定制【海商报业】
  26937. /HSBY/QueryMyCoupons:
  26938. get:
  26939. parameters:
  26940. - description: 资金账户列表,格式:1,2,3
  26941. in: query
  26942. name: accountIDs
  26943. required: true
  26944. type: string
  26945. - description: 商品ID, 一般与sellUserID配套传入
  26946. in: query
  26947. name: goodsID
  26948. type: integer
  26949. - description: 卖方UserID
  26950. in: query
  26951. name: sellUserID
  26952. type: integer
  26953. produces:
  26954. - application/json
  26955. responses:
  26956. "200":
  26957. description: OK
  26958. schema:
  26959. $ref: '#/definitions/models.MyCoupon'
  26960. "500":
  26961. description: Internal Server Error
  26962. schema:
  26963. $ref: '#/definitions/app.Response'
  26964. security:
  26965. - ApiKeyAuth: []
  26966. summary: 我的优惠卷查询
  26967. tags:
  26968. - 定制【海商报业】
  26969. /HSBY/QueryMyPayOrders:
  26970. get:
  26971. parameters:
  26972. - description: 页码
  26973. in: query
  26974. name: page
  26975. type: integer
  26976. - description: 每页条数
  26977. in: query
  26978. name: pagesize
  26979. type: integer
  26980. - description: 资金账户列表,格式:1,2,3
  26981. in: query
  26982. name: accountIDs
  26983. required: true
  26984. type: string
  26985. - description: 买方委托单号
  26986. in: query
  26987. name: buyOrderID
  26988. type: integer
  26989. - description: 卖方委托单号
  26990. in: query
  26991. name: sellOrderID
  26992. type: integer
  26993. produces:
  26994. - application/json
  26995. responses:
  26996. "200":
  26997. description: OK
  26998. schema:
  26999. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  27000. "500":
  27001. description: Internal Server Error
  27002. schema:
  27003. $ref: '#/definitions/app.Response'
  27004. security:
  27005. - ApiKeyAuth: []
  27006. summary: 获取我的订单中待付款信息
  27007. tags:
  27008. - 定制【海商报业】
  27009. /HSBY/QueryMyUsedCoupon:
  27010. get:
  27011. parameters:
  27012. - description: 资金账户列表,格式:1,2,3
  27013. in: query
  27014. name: accountIDs
  27015. required: true
  27016. type: string
  27017. produces:
  27018. - application/json
  27019. responses:
  27020. "200":
  27021. description: OK
  27022. schema:
  27023. $ref: '#/definitions/models.MyUsedCoupon'
  27024. "500":
  27025. description: Internal Server Error
  27026. schema:
  27027. $ref: '#/definitions/app.Response'
  27028. security:
  27029. - ApiKeyAuth: []
  27030. summary: 已使用优惠卷查询
  27031. tags:
  27032. - 定制【海商报业】
  27033. /HSBY/QueryProvincesAndCities:
  27034. get:
  27035. description: 查询结果只包括二级市场商品已关连的省市信息。
  27036. parameters:
  27037. - description: 省ID
  27038. in: query
  27039. name: provinceID
  27040. type: integer
  27041. produces:
  27042. - application/json
  27043. responses:
  27044. "200":
  27045. description: OK
  27046. schema:
  27047. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  27048. "500":
  27049. description: Internal Server Error
  27050. schema:
  27051. $ref: '#/definitions/app.Response'
  27052. security:
  27053. - ApiKeyAuth: []
  27054. summary: 查询省市信息(不包括区)
  27055. tags:
  27056. - 定制【海商报业】
  27057. /HSBY/SetHsbyMyPackagesStatus:
  27058. post:
  27059. parameters:
  27060. - description: 提货单号
  27061. in: query
  27062. name: takeOrderID
  27063. required: true
  27064. type: string
  27065. - description: 资金账号
  27066. in: query
  27067. name: accountID
  27068. required: true
  27069. type: integer
  27070. produces:
  27071. - application/json
  27072. responses:
  27073. "200":
  27074. description: OK
  27075. schema:
  27076. $ref: '#/definitions/app.Response'
  27077. "500":
  27078. description: Internal Server Error
  27079. schema:
  27080. $ref: '#/definitions/app.Response'
  27081. security:
  27082. - ApiKeyAuth: []
  27083. summary: 设置我的包裹已收货状态
  27084. tags:
  27085. - 定制【海商报业】
  27086. /Market/GetAllExExchanges:
  27087. get:
  27088. produces:
  27089. - application/json
  27090. responses:
  27091. "200":
  27092. description: OK
  27093. schema:
  27094. $ref: '#/definitions/models.Goods'
  27095. "500":
  27096. description: Internal Server Error
  27097. schema:
  27098. $ref: '#/definitions/app.Response'
  27099. security:
  27100. - ApiKeyAuth: []
  27101. summary: 获取所有外部交易所信息
  27102. tags:
  27103. - 通用市场
  27104. /Market/QueryGoodsesByLoginID:
  27105. get:
  27106. parameters:
  27107. - description: 登录账号
  27108. in: query
  27109. name: loginID
  27110. required: true
  27111. type: integer
  27112. - description: 市场ID列表,格式:1,2,3
  27113. in: query
  27114. name: marketIDs
  27115. type: string
  27116. produces:
  27117. - application/json
  27118. responses:
  27119. "200":
  27120. description: OK
  27121. schema:
  27122. $ref: '#/definitions/models.Goods'
  27123. "500":
  27124. description: Internal Server Error
  27125. schema:
  27126. $ref: '#/definitions/app.Response'
  27127. security:
  27128. - ApiKeyAuth: []
  27129. summary: 获取登录账号有权限的商品信息
  27130. tags:
  27131. - 通用市场
  27132. /Market/QueryMarketRun:
  27133. get:
  27134. parameters:
  27135. - description: 市场ID,不传返回所有
  27136. in: query
  27137. name: marketID
  27138. type: integer
  27139. produces:
  27140. - application/json
  27141. responses:
  27142. "200":
  27143. description: OK
  27144. schema:
  27145. $ref: '#/definitions/models.Marketrun'
  27146. "500":
  27147. description: Internal Server Error
  27148. schema:
  27149. $ref: '#/definitions/app.Response'
  27150. security:
  27151. - ApiKeyAuth: []
  27152. summary: 查询市场运行信息
  27153. tags:
  27154. - 通用市场
  27155. /Market/QueryMarketsByLoginID:
  27156. get:
  27157. parameters:
  27158. - description: 登录账号
  27159. in: query
  27160. name: loginID
  27161. required: true
  27162. type: integer
  27163. produces:
  27164. - application/json
  27165. responses:
  27166. "200":
  27167. description: OK
  27168. schema:
  27169. $ref: '#/definitions/models.Market'
  27170. "500":
  27171. description: Internal Server Error
  27172. schema:
  27173. $ref: '#/definitions/app.Response'
  27174. security:
  27175. - ApiKeyAuth: []
  27176. summary: 获取登录账号有权限的市场信息
  27177. tags:
  27178. - 通用市场
  27179. /Order/QueryHisTradeDetail:
  27180. get:
  27181. parameters:
  27182. - description: 资金账户 - 格式:1,2,3
  27183. in: query
  27184. name: accountID
  27185. required: true
  27186. type: string
  27187. - description: 成交单号
  27188. in: query
  27189. name: tradeID
  27190. type: integer
  27191. - description: 委托单号
  27192. in: query
  27193. name: orderID
  27194. type: integer
  27195. - description: 商品ID
  27196. in: query
  27197. name: goodsID
  27198. type: integer
  27199. - description: 交易模式 - 格式:1,2,3
  27200. in: query
  27201. name: tradeMode
  27202. type: string
  27203. - description: 委托单据类型
  27204. in: query
  27205. name: buildType
  27206. type: integer
  27207. - description: 成交类别 - 格式:1,2,3
  27208. in: query
  27209. name: tradeType
  27210. type: string
  27211. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27212. in: query
  27213. name: startDate
  27214. type: string
  27215. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27216. in: query
  27217. name: endDate
  27218. type: string
  27219. produces:
  27220. - application/json
  27221. responses:
  27222. "200":
  27223. description: OK
  27224. schema:
  27225. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27226. "500":
  27227. description: Internal Server Error
  27228. schema:
  27229. $ref: '#/definitions/app.Response'
  27230. security:
  27231. - ApiKeyAuth: []
  27232. summary: 历史成交单查询(合约市场)
  27233. tags:
  27234. - 通用单据
  27235. /Order/QueryHisTradeOrderDetail:
  27236. get:
  27237. parameters:
  27238. - description: 资金账户 - 格式:1,2,3
  27239. in: query
  27240. name: accountID
  27241. required: true
  27242. type: string
  27243. - description: 交易模式 - 格式:1,2,3
  27244. in: query
  27245. name: tradeMode
  27246. type: string
  27247. - description: 委托状态 - 格式:1,2,3
  27248. in: query
  27249. name: orderStatus
  27250. type: string
  27251. - description: 委托单号
  27252. in: query
  27253. name: orderID
  27254. type: integer
  27255. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27256. in: query
  27257. name: startDate
  27258. type: string
  27259. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27260. in: query
  27261. name: endDate
  27262. type: string
  27263. produces:
  27264. - application/json
  27265. responses:
  27266. "200":
  27267. description: OK
  27268. schema:
  27269. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27270. "500":
  27271. description: Internal Server Error
  27272. schema:
  27273. $ref: '#/definitions/app.Response'
  27274. security:
  27275. - ApiKeyAuth: []
  27276. summary: 历史委托单查询请求(合约市场)
  27277. tags:
  27278. - 通用单据
  27279. /Order/QueryTradeDetail:
  27280. get:
  27281. parameters:
  27282. - description: 资金账户 - 格式:1,2,3
  27283. in: query
  27284. name: accountID
  27285. required: true
  27286. type: string
  27287. - description: 成交单号
  27288. in: query
  27289. name: tradeID
  27290. type: integer
  27291. - description: 委托单号
  27292. in: query
  27293. name: orderID
  27294. type: integer
  27295. - description: 交易模式 - 格式:1,2,3
  27296. in: query
  27297. name: tradeMode
  27298. type: string
  27299. - description: 委托单据类型
  27300. in: query
  27301. name: buildType
  27302. type: integer
  27303. - description: 成交类别 - 格式:1,2,3
  27304. in: query
  27305. name: tradeType
  27306. type: string
  27307. - description: 商品ID
  27308. in: query
  27309. name: goodsID
  27310. type: integer
  27311. produces:
  27312. - application/json
  27313. responses:
  27314. "200":
  27315. description: OK
  27316. schema:
  27317. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27318. "500":
  27319. description: Internal Server Error
  27320. schema:
  27321. $ref: '#/definitions/app.Response'
  27322. security:
  27323. - ApiKeyAuth: []
  27324. summary: 成交单查询(合约市场)
  27325. tags:
  27326. - 通用单据
  27327. /Order/QueryTradeHolderDetail:
  27328. get:
  27329. parameters:
  27330. - description: 用户id
  27331. in: query
  27332. name: userid
  27333. type: integer
  27334. - description: 资金账号, 格式 1,2,3
  27335. in: query
  27336. name: accids
  27337. type: string
  27338. - description: 交易模式, 格式 1,2,3
  27339. in: query
  27340. name: trademodes
  27341. type: string
  27342. - description: 市场id, 格式 1,2,3
  27343. in: query
  27344. name: marketids
  27345. type: string
  27346. - description: 商品id
  27347. in: query
  27348. name: goodsid
  27349. type: integer
  27350. - description: 买卖方向 0-买 1-卖
  27351. in: query
  27352. name: buyorsell
  27353. type: integer
  27354. produces:
  27355. - application/json
  27356. responses:
  27357. "200":
  27358. description: OK
  27359. schema:
  27360. items:
  27361. $ref: '#/definitions/models.TradeHolderDetail'
  27362. type: array
  27363. "500":
  27364. description: Internal Server Error
  27365. schema:
  27366. $ref: '#/definitions/app.Response'
  27367. security:
  27368. - ApiKeyAuth: []
  27369. summary: 查询持仓明细
  27370. tags:
  27371. - 通用单据
  27372. /Order/QueryTradeOrderDetail:
  27373. get:
  27374. parameters:
  27375. - description: 资金账户 - 格式:1,2,3
  27376. in: query
  27377. name: accountID
  27378. required: true
  27379. type: string
  27380. - description: 交易模式 - 格式:1,2,3
  27381. in: query
  27382. name: tradeMode
  27383. type: string
  27384. - description: 委托状态 - 格式:1,2,3
  27385. in: query
  27386. name: orderStatus
  27387. type: string
  27388. - description: 委托单号
  27389. in: query
  27390. name: orderID
  27391. type: integer
  27392. produces:
  27393. - application/json
  27394. responses:
  27395. "200":
  27396. description: OK
  27397. schema:
  27398. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  27399. "500":
  27400. description: Internal Server Error
  27401. schema:
  27402. $ref: '#/definitions/app.Response'
  27403. security:
  27404. - ApiKeyAuth: []
  27405. summary: 委托单查询请求(合约市场)
  27406. tags:
  27407. - 通用单据
  27408. /Order/QueryTradePosition:
  27409. get:
  27410. parameters:
  27411. - description: 资金账户 - 格式:1,2,3
  27412. in: query
  27413. name: accountID
  27414. required: true
  27415. type: string
  27416. - description: 交易模式 - 格式:1,2,3
  27417. in: query
  27418. name: tradeMode
  27419. type: string
  27420. produces:
  27421. - application/json
  27422. responses:
  27423. "200":
  27424. description: OK
  27425. schema:
  27426. $ref: '#/definitions/order.QueryTradePositionRsp'
  27427. "500":
  27428. description: Internal Server Error
  27429. schema:
  27430. $ref: '#/definitions/app.Response'
  27431. security:
  27432. - ApiKeyAuth: []
  27433. summary: 持仓汇总查询(合约市场)
  27434. tags:
  27435. - 通用单据
  27436. /Qhj/QueryAccountInOutApply:
  27437. get:
  27438. parameters:
  27439. - description: 用户ID
  27440. in: query
  27441. name: userid
  27442. required: true
  27443. type: integer
  27444. - description: 申请起始日期(格式yyyymmdd)
  27445. in: query
  27446. name: begindate
  27447. type: string
  27448. - description: 申请截止日期(格式yyyymmdd)
  27449. in: query
  27450. name: enddate
  27451. type: string
  27452. - description: 模糊搜索名称
  27453. in: query
  27454. name: likename
  27455. type: string
  27456. produces:
  27457. - application/json
  27458. responses:
  27459. "200":
  27460. description: OK
  27461. schema:
  27462. items:
  27463. $ref: '#/definitions/models.QhjAccountOutInApply'
  27464. type: array
  27465. "500":
  27466. description: Internal Server Error
  27467. schema:
  27468. $ref: '#/definitions/app.Response'
  27469. security:
  27470. - ApiKeyAuth: []
  27471. summary: 查询充值提现
  27472. tags:
  27473. - 大连千海金
  27474. /Qhj/QueryAreaFinanceConfig:
  27475. get:
  27476. parameters:
  27477. - description: 机构用户ID 其他做市关系,都设置为 1
  27478. in: query
  27479. name: userid
  27480. type: integer
  27481. produces:
  27482. - application/json
  27483. responses:
  27484. "200":
  27485. description: OK
  27486. schema:
  27487. items:
  27488. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  27489. type: array
  27490. "500":
  27491. description: Internal Server Error
  27492. schema:
  27493. $ref: '#/definitions/app.Response'
  27494. security:
  27495. - ApiKeyAuth: []
  27496. summary: 查询企业配置表
  27497. tags:
  27498. - 大连千海金
  27499. /Qhj/QueryBankAccountSign:
  27500. get:
  27501. parameters:
  27502. - description: 用户ID
  27503. in: query
  27504. name: userid
  27505. required: true
  27506. type: integer
  27507. produces:
  27508. - application/json
  27509. responses:
  27510. "200":
  27511. description: OK
  27512. schema:
  27513. items:
  27514. $ref: '#/definitions/models.QhjBankAccountSign'
  27515. type: array
  27516. "500":
  27517. description: Internal Server Error
  27518. schema:
  27519. $ref: '#/definitions/app.Response'
  27520. security:
  27521. - ApiKeyAuth: []
  27522. summary: 查询签约银行信息(提现账户管理)
  27523. tags:
  27524. - 大连千海金
  27525. /Qhj/QueryBankInfo:
  27526. get:
  27527. produces:
  27528. - application/json
  27529. responses:
  27530. "200":
  27531. description: OK
  27532. schema:
  27533. items:
  27534. $ref: '#/definitions/models.QhjBankInfo'
  27535. type: array
  27536. "500":
  27537. description: Internal Server Error
  27538. schema:
  27539. $ref: '#/definitions/app.Response'
  27540. security:
  27541. - ApiKeyAuth: []
  27542. summary: 查询开户行
  27543. tags:
  27544. - 大连千海金
  27545. /Qhj/QueryBrokerApply:
  27546. get:
  27547. parameters:
  27548. - description: 所属机构ID
  27549. in: query
  27550. name: userid
  27551. type: integer
  27552. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27553. in: query
  27554. name: filterstatus
  27555. type: string
  27556. produces:
  27557. - application/json
  27558. responses:
  27559. "200":
  27560. description: OK
  27561. schema:
  27562. items:
  27563. $ref: '#/definitions/models.QhjBrokerApply'
  27564. type: array
  27565. "500":
  27566. description: Internal Server Error
  27567. schema:
  27568. $ref: '#/definitions/app.Response'
  27569. security:
  27570. - ApiKeyAuth: []
  27571. summary: 查询经纪人申请
  27572. tags:
  27573. - 大连千海金
  27574. /Qhj/QueryBrokerApplyEx:
  27575. get:
  27576. parameters:
  27577. - description: 所属机构ID
  27578. in: query
  27579. name: userid
  27580. type: integer
  27581. produces:
  27582. - application/json
  27583. responses:
  27584. "200":
  27585. description: OK
  27586. schema:
  27587. items:
  27588. $ref: '#/definitions/models.QhjBrokerApplyEx'
  27589. type: array
  27590. "500":
  27591. description: Internal Server Error
  27592. schema:
  27593. $ref: '#/definitions/app.Response'
  27594. security:
  27595. - ApiKeyAuth: []
  27596. summary: 查询经纪人信息和申请记录
  27597. tags:
  27598. - 大连千海金
  27599. /Qhj/QueryBrokerRewardLog:
  27600. get:
  27601. parameters:
  27602. - description: 用户ID
  27603. in: query
  27604. name: userid
  27605. required: true
  27606. type: integer
  27607. - description: 开始交易日(yyyymmdd)
  27608. in: query
  27609. name: begindate
  27610. type: string
  27611. - description: 结束交易日(yyyymmdd)
  27612. in: query
  27613. name: enddate
  27614. type: string
  27615. produces:
  27616. - application/json
  27617. responses:
  27618. "200":
  27619. description: OK
  27620. schema:
  27621. items:
  27622. $ref: '#/definitions/models.QhjBrokerRewardLog'
  27623. type: array
  27624. "500":
  27625. description: Internal Server Error
  27626. schema:
  27627. $ref: '#/definitions/app.Response'
  27628. security:
  27629. - ApiKeyAuth: []
  27630. summary: 查询奖励流水(我的奖励)
  27631. tags:
  27632. - 大连千海金
  27633. /Qhj/QueryContract:
  27634. get:
  27635. parameters:
  27636. - description: 用户ID
  27637. in: query
  27638. name: userid
  27639. type: integer
  27640. - description: scf合同id
  27641. in: query
  27642. name: scfcontractid
  27643. type: integer
  27644. produces:
  27645. - application/json
  27646. responses:
  27647. "200":
  27648. description: OK
  27649. schema:
  27650. items:
  27651. $ref: '#/definitions/models.QhjContract'
  27652. type: array
  27653. "500":
  27654. description: Internal Server Error
  27655. schema:
  27656. $ref: '#/definitions/app.Response'
  27657. security:
  27658. - ApiKeyAuth: []
  27659. summary: 查询融资明细(合同)
  27660. tags:
  27661. - 大连千海金
  27662. /Qhj/QueryContractLog:
  27663. get:
  27664. parameters:
  27665. - description: scf合同id
  27666. in: query
  27667. name: scfcontractid
  27668. required: true
  27669. type: integer
  27670. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  27671. in: query
  27672. name: amounttype
  27673. type: string
  27674. produces:
  27675. - application/json
  27676. responses:
  27677. "200":
  27678. description: OK
  27679. schema:
  27680. items:
  27681. $ref: '#/definitions/models.QhjContractLog'
  27682. type: array
  27683. "500":
  27684. description: Internal Server Error
  27685. schema:
  27686. $ref: '#/definitions/app.Response'
  27687. security:
  27688. - ApiKeyAuth: []
  27689. summary: 查询融资明细流水(融资明细详情页中的流水)
  27690. tags:
  27691. - 大连千海金
  27692. /Qhj/QueryCusBankSignBank:
  27693. get:
  27694. produces:
  27695. - application/json
  27696. responses:
  27697. "200":
  27698. description: OK
  27699. schema:
  27700. items:
  27701. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  27702. type: array
  27703. "500":
  27704. description: Internal Server Error
  27705. schema:
  27706. $ref: '#/definitions/app.Response'
  27707. security:
  27708. - ApiKeyAuth: []
  27709. summary: 查询托管银行
  27710. tags:
  27711. - 大连千海金
  27712. /Qhj/QueryCustomerInfo:
  27713. get:
  27714. parameters:
  27715. - description: 用户ID
  27716. in: query
  27717. name: userid
  27718. required: true
  27719. type: integer
  27720. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27721. in: query
  27722. name: querytype
  27723. required: true
  27724. type: integer
  27725. - description: 客户类型 1-个人 2-企业
  27726. in: query
  27727. name: userinfotype
  27728. type: integer
  27729. - description: 客户名称(模糊匹配)
  27730. in: query
  27731. name: customername
  27732. type: string
  27733. - description: 昵称(模糊匹配)
  27734. in: query
  27735. name: nickname
  27736. type: string
  27737. - description: 是否包含子级 1-包含
  27738. in: query
  27739. name: includesub
  27740. type: integer
  27741. produces:
  27742. - application/json
  27743. responses:
  27744. "200":
  27745. description: OK
  27746. schema:
  27747. items:
  27748. $ref: '#/definitions/models.QhjCustomer'
  27749. type: array
  27750. "500":
  27751. description: Internal Server Error
  27752. schema:
  27753. $ref: '#/definitions/app.Response'
  27754. security:
  27755. - ApiKeyAuth: []
  27756. summary: 查询客户资料
  27757. tags:
  27758. - 大连千海金
  27759. /Qhj/QueryGoodsEx:
  27760. get:
  27761. parameters:
  27762. - description: 商品id
  27763. in: query
  27764. name: goodsid
  27765. type: integer
  27766. produces:
  27767. - application/json
  27768. responses:
  27769. "200":
  27770. description: OK
  27771. schema:
  27772. items:
  27773. $ref: '#/definitions/models.Qhjgoodsex'
  27774. type: array
  27775. "500":
  27776. description: Internal Server Error
  27777. schema:
  27778. $ref: '#/definitions/app.Response'
  27779. security:
  27780. - ApiKeyAuth: []
  27781. summary: 交易商品扩展表
  27782. tags:
  27783. - 大连千海金
  27784. /Qhj/QueryMyTeam:
  27785. get:
  27786. parameters:
  27787. - description: 用户ID
  27788. in: query
  27789. name: userid
  27790. required: true
  27791. type: integer
  27792. produces:
  27793. - application/json
  27794. responses:
  27795. "200":
  27796. description: OK
  27797. schema:
  27798. items:
  27799. $ref: '#/definitions/models.QhjMyTeamEx'
  27800. type: array
  27801. "500":
  27802. description: Internal Server Error
  27803. schema:
  27804. $ref: '#/definitions/app.Response'
  27805. security:
  27806. - ApiKeyAuth: []
  27807. summary: 查询我的团队
  27808. tags:
  27809. - 大连千海金
  27810. /Qhj/QueryMyTeamOrder:
  27811. get:
  27812. parameters:
  27813. - description: 页码
  27814. in: query
  27815. name: page
  27816. type: integer
  27817. - description: 每页条数
  27818. in: query
  27819. name: pagesize
  27820. type: integer
  27821. - description: 用户ID
  27822. in: query
  27823. name: userid
  27824. required: true
  27825. type: integer
  27826. - description: 交易模式
  27827. in: query
  27828. name: trademode
  27829. type: integer
  27830. - description: 名称(模糊搜索账户)
  27831. in: query
  27832. name: filtername
  27833. type: string
  27834. produces:
  27835. - application/json
  27836. responses:
  27837. "200":
  27838. description: OK
  27839. schema:
  27840. items:
  27841. $ref: '#/definitions/models.QhjTeamOrder'
  27842. type: array
  27843. "500":
  27844. description: Internal Server Error
  27845. schema:
  27846. $ref: '#/definitions/app.Response'
  27847. security:
  27848. - ApiKeyAuth: []
  27849. summary: 查询团队订单(我的团队/团队订单)
  27850. tags:
  27851. - 大连千海金
  27852. /Qhj/QueryParentAreaList:
  27853. get:
  27854. parameters:
  27855. - description: 用户ID
  27856. in: query
  27857. name: userid
  27858. required: true
  27859. type: integer
  27860. produces:
  27861. - application/json
  27862. responses:
  27863. "200":
  27864. description: OK
  27865. schema:
  27866. items:
  27867. $ref: '#/definitions/models.QhjParentAreaList'
  27868. type: array
  27869. "500":
  27870. description: Internal Server Error
  27871. schema:
  27872. $ref: '#/definitions/app.Response'
  27873. security:
  27874. - ApiKeyAuth: []
  27875. summary: 查询所属机构列表
  27876. tags:
  27877. - 大连千海金
  27878. /Qhj/QueryPayOrder:
  27879. get:
  27880. parameters:
  27881. - description: 资金账号id
  27882. in: query
  27883. name: accountid
  27884. required: true
  27885. type: integer
  27886. - description: 成交单号
  27887. in: query
  27888. name: tradeid
  27889. type: integer
  27890. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27891. in: query
  27892. name: payflag
  27893. type: string
  27894. produces:
  27895. - application/json
  27896. responses:
  27897. "200":
  27898. description: OK
  27899. schema:
  27900. items:
  27901. $ref: '#/definitions/models.QhjPayOrder'
  27902. type: array
  27903. "500":
  27904. description: Internal Server Error
  27905. schema:
  27906. $ref: '#/definitions/app.Response'
  27907. security:
  27908. - ApiKeyAuth: []
  27909. summary: 查询待付款单据
  27910. tags:
  27911. - 大连千海金
  27912. /Qhj/QueryPickArea:
  27913. get:
  27914. parameters:
  27915. - description: 用户ID
  27916. in: query
  27917. name: userid
  27918. type: integer
  27919. produces:
  27920. - application/json
  27921. responses:
  27922. "200":
  27923. description: OK
  27924. schema:
  27925. items:
  27926. $ref: '#/definitions/models.QhjPickArea'
  27927. type: array
  27928. "500":
  27929. description: Internal Server Error
  27930. schema:
  27931. $ref: '#/definitions/app.Response'
  27932. security:
  27933. - ApiKeyAuth: []
  27934. summary: 查询提货门店
  27935. tags:
  27936. - 大连千海金
  27937. /Qhj/QueryPickGoods:
  27938. get:
  27939. parameters:
  27940. - description: 交易商品id
  27941. in: query
  27942. name: goodsid
  27943. required: true
  27944. type: integer
  27945. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  27946. in: query
  27947. name: status
  27948. type: string
  27949. produces:
  27950. - application/json
  27951. responses:
  27952. "200":
  27953. description: OK
  27954. schema:
  27955. items:
  27956. $ref: '#/definitions/models.QhjPickGoods'
  27957. type: array
  27958. "500":
  27959. description: Internal Server Error
  27960. schema:
  27961. $ref: '#/definitions/app.Response'
  27962. security:
  27963. - ApiKeyAuth: []
  27964. summary: 查询提货商品
  27965. tags:
  27966. - 大连千海金
  27967. /Qhj/QueryRSTriggerLog:
  27968. get:
  27969. parameters:
  27970. - description: 用户ID
  27971. in: query
  27972. name: userid
  27973. type: integer
  27974. - description: 定投策略id
  27975. in: query
  27976. name: regularlystrategyid
  27977. type: integer
  27978. - description: 商品id
  27979. in: query
  27980. name: goodsid
  27981. type: integer
  27982. - description: 开始交易日(yyyymmdd)
  27983. in: query
  27984. name: begindate
  27985. type: string
  27986. - description: 结束交易日(yyyymmdd)
  27987. in: query
  27988. name: enddate
  27989. type: string
  27990. - description: 名称(模糊搜索账户)
  27991. in: query
  27992. name: filtername
  27993. type: string
  27994. produces:
  27995. - application/json
  27996. responses:
  27997. "200":
  27998. description: OK
  27999. schema:
  28000. items:
  28001. $ref: '#/definitions/models.QhjRSTriggerLog'
  28002. type: array
  28003. "500":
  28004. description: Internal Server Error
  28005. schema:
  28006. $ref: '#/definitions/app.Response'
  28007. security:
  28008. - ApiKeyAuth: []
  28009. summary: 查询定投记录(定投管理/详情/定投记录)
  28010. tags:
  28011. - 大连千海金
  28012. /Qhj/QueryRStrategy:
  28013. get:
  28014. parameters:
  28015. - description: 用户ID
  28016. in: query
  28017. name: userid
  28018. type: integer
  28019. - description: 商品id
  28020. in: query
  28021. name: goodsid
  28022. type: integer
  28023. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  28024. in: query
  28025. name: status
  28026. type: string
  28027. - description: 名称(模糊搜索账户)
  28028. in: query
  28029. name: filtername
  28030. type: string
  28031. produces:
  28032. - application/json
  28033. responses:
  28034. "200":
  28035. description: OK
  28036. schema:
  28037. items:
  28038. $ref: '#/definitions/models.QhjRStrategy'
  28039. type: array
  28040. "500":
  28041. description: Internal Server Error
  28042. schema:
  28043. $ref: '#/definitions/app.Response'
  28044. security:
  28045. - ApiKeyAuth: []
  28046. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  28047. tags:
  28048. - 大连千海金
  28049. /Qhj/QueryReckonPriceLog:
  28050. get:
  28051. parameters:
  28052. - description: 商品ID
  28053. in: query
  28054. name: goodsid
  28055. type: integer
  28056. - description: 交易日 格式(yyyymmdd)
  28057. in: query
  28058. name: tradedate
  28059. type: string
  28060. produces:
  28061. - application/json
  28062. responses:
  28063. "200":
  28064. description: OK
  28065. schema:
  28066. items:
  28067. $ref: '#/definitions/models.QhjReckonPriceLog'
  28068. type: array
  28069. "500":
  28070. description: Internal Server Error
  28071. schema:
  28072. $ref: '#/definitions/app.Response'
  28073. security:
  28074. - ApiKeyAuth: []
  28075. summary: 查询定投价(结算价)
  28076. tags:
  28077. - 大连千海金
  28078. /Qhj/QueryScoreLog:
  28079. get:
  28080. parameters:
  28081. - description: 用户ID
  28082. in: query
  28083. name: userid
  28084. required: true
  28085. type: integer
  28086. - description: 开始交易日(yyyymmdd)
  28087. in: query
  28088. name: begindate
  28089. type: string
  28090. - description: 结束交易日(yyyymmdd)
  28091. in: query
  28092. name: enddate
  28093. type: string
  28094. - description: 最近多少条
  28095. in: query
  28096. name: lastnum
  28097. type: integer
  28098. produces:
  28099. - application/json
  28100. responses:
  28101. "200":
  28102. description: OK
  28103. schema:
  28104. items:
  28105. $ref: '#/definitions/models.QhjScoreLog'
  28106. type: array
  28107. "500":
  28108. description: Internal Server Error
  28109. schema:
  28110. $ref: '#/definitions/app.Response'
  28111. security:
  28112. - ApiKeyAuth: []
  28113. summary: 查询积分流水(我的积分)
  28114. tags:
  28115. - 大连千海金
  28116. /Qhj/QuerySiteColumnDetail:
  28117. get:
  28118. parameters:
  28119. - description: 用户ID
  28120. in: query
  28121. name: userid
  28122. required: true
  28123. type: integer
  28124. produces:
  28125. - application/json
  28126. responses:
  28127. "200":
  28128. description: OK
  28129. schema:
  28130. items:
  28131. $ref: '#/definitions/models.QhjSiteColumnDetail'
  28132. type: array
  28133. "500":
  28134. description: Internal Server Error
  28135. schema:
  28136. $ref: '#/definitions/app.Response'
  28137. security:
  28138. - ApiKeyAuth: []
  28139. summary: 查询资讯
  28140. tags:
  28141. - 大连千海金
  28142. /Qhj/QueryTradeGoodsPickup:
  28143. get:
  28144. parameters:
  28145. - description: 用户ID
  28146. in: query
  28147. name: userid
  28148. required: true
  28149. type: integer
  28150. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  28151. 7:已拒绝 8:已撤销
  28152. in: query
  28153. name: takeorderstatus
  28154. type: integer
  28155. produces:
  28156. - application/json
  28157. responses:
  28158. "200":
  28159. description: OK
  28160. schema:
  28161. items:
  28162. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  28163. type: array
  28164. "500":
  28165. description: Internal Server Error
  28166. schema:
  28167. $ref: '#/definitions/app.Response'
  28168. security:
  28169. - ApiKeyAuth: []
  28170. summary: 查询提货
  28171. tags:
  28172. - 大连千海金
  28173. /Qhj/QueryUserCollectConfig:
  28174. get:
  28175. parameters:
  28176. - description: 用户ID
  28177. in: query
  28178. name: userid
  28179. required: true
  28180. type: integer
  28181. produces:
  28182. - application/json
  28183. responses:
  28184. "200":
  28185. description: OK
  28186. schema:
  28187. items:
  28188. $ref: '#/definitions/models.UserCollectConfig'
  28189. type: array
  28190. "500":
  28191. description: Internal Server Error
  28192. schema:
  28193. $ref: '#/definitions/app.Response'
  28194. security:
  28195. - ApiKeyAuth: []
  28196. summary: 查询提现账户设置
  28197. tags:
  28198. - 大连千海金
  28199. /Qhj/QueryUserReceiveInfo:
  28200. get:
  28201. parameters:
  28202. - description: 用户ID
  28203. in: query
  28204. name: userid
  28205. required: true
  28206. type: integer
  28207. produces:
  28208. - application/json
  28209. responses:
  28210. "200":
  28211. description: OK
  28212. schema:
  28213. items:
  28214. $ref: '#/definitions/models.UserReceiveInfo'
  28215. type: array
  28216. "500":
  28217. description: Internal Server Error
  28218. schema:
  28219. $ref: '#/definitions/app.Response'
  28220. security:
  28221. - ApiKeyAuth: []
  28222. summary: 查询收货地址信息
  28223. tags:
  28224. - 大连千海金
  28225. /QhjMgr/QueryAccountInOutApply:
  28226. get:
  28227. parameters:
  28228. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28229. in: query
  28230. name: querytype
  28231. required: true
  28232. type: integer
  28233. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28234. in: query
  28235. name: applystatus
  28236. type: integer
  28237. - description: 申请起始日期(格式yyyymmdd)
  28238. in: query
  28239. name: begindate
  28240. type: string
  28241. - description: 申请截止日期(格式yyyymmdd)
  28242. in: query
  28243. name: enddate
  28244. type: string
  28245. - description: 模糊搜索名称
  28246. in: query
  28247. name: likename
  28248. type: string
  28249. produces:
  28250. - application/json
  28251. responses:
  28252. "200":
  28253. description: OK
  28254. schema:
  28255. items:
  28256. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  28257. type: array
  28258. "500":
  28259. description: Internal Server Error
  28260. schema:
  28261. $ref: '#/definitions/app.Response'
  28262. security:
  28263. - ApiKeyAuth: []
  28264. summary: 查询充值提现
  28265. tags:
  28266. - 大连千海金(PCWeb)
  28267. /QhjMgr/QueryBrokerApply:
  28268. get:
  28269. parameters:
  28270. - description: 所属机构ID
  28271. in: query
  28272. name: userid
  28273. type: integer
  28274. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28275. in: query
  28276. name: filterstatus
  28277. type: string
  28278. - description: 名称(模糊匹配)
  28279. in: query
  28280. name: filtername
  28281. type: string
  28282. - description: 是否包含子级 1-包含
  28283. in: query
  28284. name: includesub
  28285. type: integer
  28286. produces:
  28287. - application/json
  28288. responses:
  28289. "200":
  28290. description: OK
  28291. schema:
  28292. items:
  28293. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28294. type: array
  28295. "500":
  28296. description: Internal Server Error
  28297. schema:
  28298. $ref: '#/definitions/app.Response'
  28299. security:
  28300. - ApiKeyAuth: []
  28301. summary: 查询经纪人申请
  28302. tags:
  28303. - 大连千海金(PCWeb)
  28304. /QhjMgr/QueryBrokerRewardReport:
  28305. get:
  28306. parameters:
  28307. - description: 所属机构ID
  28308. in: query
  28309. name: userid
  28310. required: true
  28311. type: integer
  28312. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28313. in: query
  28314. name: cycletype
  28315. required: true
  28316. type: integer
  28317. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28318. in: query
  28319. name: cycletime
  28320. required: true
  28321. type: string
  28322. - description: 名称(模糊匹配)
  28323. in: query
  28324. name: filtername
  28325. type: string
  28326. - description: 是否包含子级 1-包含
  28327. in: query
  28328. name: includesub
  28329. type: integer
  28330. produces:
  28331. - application/json
  28332. responses:
  28333. "200":
  28334. description: OK
  28335. schema:
  28336. items:
  28337. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  28338. type: array
  28339. "500":
  28340. description: Internal Server Error
  28341. schema:
  28342. $ref: '#/definitions/app.Response'
  28343. security:
  28344. - ApiKeyAuth: []
  28345. summary: 查询经纪人奖励报表(废弃)
  28346. tags:
  28347. - 大连千海金(PCWeb)
  28348. /QhjMgr/QueryContract:
  28349. get:
  28350. parameters:
  28351. - description: 用户ID
  28352. in: query
  28353. name: userid
  28354. type: integer
  28355. - description: 商品id
  28356. in: query
  28357. name: goodsid
  28358. type: integer
  28359. - description: 名称(模糊搜索账户)
  28360. in: query
  28361. name: filtername
  28362. type: string
  28363. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  28364. in: query
  28365. name: risklevel
  28366. type: string
  28367. - description: 开始交易日(yyyymmdd)
  28368. in: query
  28369. name: begindate
  28370. type: string
  28371. - description: 结束交易日(yyyymmdd)
  28372. in: query
  28373. name: enddate
  28374. type: string
  28375. produces:
  28376. - application/json
  28377. responses:
  28378. "200":
  28379. description: OK
  28380. schema:
  28381. items:
  28382. $ref: '#/definitions/models.QhjMgrContract'
  28383. type: array
  28384. "500":
  28385. description: Internal Server Error
  28386. schema:
  28387. $ref: '#/definitions/app.Response'
  28388. security:
  28389. - ApiKeyAuth: []
  28390. summary: 查询融资信息(合同)
  28391. tags:
  28392. - 大连千海金(PCWeb)
  28393. /QhjMgr/QueryCustomerInfo:
  28394. get:
  28395. parameters:
  28396. - description: 用户ID
  28397. in: query
  28398. name: userid
  28399. required: true
  28400. type: integer
  28401. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28402. in: query
  28403. name: querytype
  28404. required: true
  28405. type: integer
  28406. - description: 客户类型 1-个人 2-企业
  28407. in: query
  28408. name: userinfotype
  28409. type: integer
  28410. - description: 客户名称(模糊匹配)
  28411. in: query
  28412. name: customername
  28413. type: string
  28414. - description: 昵称(模糊匹配)
  28415. in: query
  28416. name: nickname
  28417. type: string
  28418. - description: 所属客户经理(模糊匹配)
  28419. in: query
  28420. name: brokername
  28421. type: string
  28422. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  28423. 如0503 -5月3日)
  28424. in: query
  28425. name: birthday
  28426. type: string
  28427. - description: 是否包含子级 1-包含
  28428. in: query
  28429. name: includesub
  28430. type: integer
  28431. produces:
  28432. - application/json
  28433. responses:
  28434. "200":
  28435. description: OK
  28436. schema:
  28437. items:
  28438. $ref: '#/definitions/models.QhjMgrCustomer'
  28439. type: array
  28440. "500":
  28441. description: Internal Server Error
  28442. schema:
  28443. $ref: '#/definitions/app.Response'
  28444. security:
  28445. - ApiKeyAuth: []
  28446. summary: 查询客户资料
  28447. tags:
  28448. - 大连千海金(PCWeb)
  28449. /QhjMgr/QueryPickGoods:
  28450. get:
  28451. parameters:
  28452. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28453. in: query
  28454. name: status
  28455. type: string
  28456. produces:
  28457. - application/json
  28458. responses:
  28459. "200":
  28460. description: OK
  28461. schema:
  28462. items:
  28463. $ref: '#/definitions/models.QhjMgrPickGoods'
  28464. type: array
  28465. "500":
  28466. description: Internal Server Error
  28467. schema:
  28468. $ref: '#/definitions/app.Response'
  28469. security:
  28470. - ApiKeyAuth: []
  28471. summary: 查询提货商品
  28472. tags:
  28473. - 大连千海金(PCWeb)
  28474. /QhjMgr/QuerySubArea:
  28475. get:
  28476. parameters:
  28477. - description: 用户ID
  28478. in: query
  28479. name: userid
  28480. required: true
  28481. type: integer
  28482. produces:
  28483. - application/json
  28484. responses:
  28485. "200":
  28486. description: OK
  28487. schema:
  28488. items:
  28489. $ref: '#/definitions/models.QhjMgrSubArea'
  28490. type: array
  28491. "500":
  28492. description: Internal Server Error
  28493. schema:
  28494. $ref: '#/definitions/app.Response'
  28495. security:
  28496. - ApiKeyAuth: []
  28497. summary: 查询子机构列表
  28498. tags:
  28499. - 大连千海金(PCWeb)
  28500. /QhjMgr/QueryTradeDetail:
  28501. get:
  28502. parameters:
  28503. - description: 用户ID
  28504. in: query
  28505. name: userid
  28506. required: true
  28507. type: integer
  28508. - description: 用户类型 1-个人 2-企业
  28509. in: query
  28510. name: userinfotype
  28511. type: integer
  28512. - description: 交易模式
  28513. in: query
  28514. name: trademode
  28515. type: integer
  28516. - description: 商品id
  28517. in: query
  28518. name: goodsid
  28519. type: integer
  28520. - description: 名称(模糊搜索账户)
  28521. in: query
  28522. name: filtername
  28523. type: string
  28524. - description: 开始交易日(yyyymmdd)
  28525. in: query
  28526. name: begindate
  28527. type: string
  28528. - description: 结束交易日(yyyymmdd)
  28529. in: query
  28530. name: enddate
  28531. type: string
  28532. - description: 是否包含子级 1-包含
  28533. in: query
  28534. name: includesub
  28535. type: integer
  28536. produces:
  28537. - application/json
  28538. responses:
  28539. "200":
  28540. description: OK
  28541. schema:
  28542. items:
  28543. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  28544. type: array
  28545. "500":
  28546. description: Internal Server Error
  28547. schema:
  28548. $ref: '#/definitions/app.Response'
  28549. security:
  28550. - ApiKeyAuth: []
  28551. summary: 查询成交明细
  28552. tags:
  28553. - 大连千海金(PCWeb)
  28554. /QhjMgr/QueryTradeOrderDetail:
  28555. get:
  28556. parameters:
  28557. - description: 用户ID
  28558. in: query
  28559. name: userid
  28560. required: true
  28561. type: integer
  28562. - description: 用户类型 1-个人 2-企业
  28563. in: query
  28564. name: userinfotype
  28565. type: integer
  28566. - description: 交易模式
  28567. in: query
  28568. name: trademode
  28569. type: integer
  28570. - description: 商品id
  28571. in: query
  28572. name: goodsid
  28573. type: integer
  28574. - description: 名称(模糊搜索账户)
  28575. in: query
  28576. name: filtername
  28577. type: string
  28578. - description: 开始交易日(yyyymmdd)
  28579. in: query
  28580. name: begindate
  28581. type: string
  28582. - description: 结束交易日(yyyymmdd)
  28583. in: query
  28584. name: enddate
  28585. type: string
  28586. - description: 是否包含子级 1-包含
  28587. in: query
  28588. name: includesub
  28589. type: integer
  28590. produces:
  28591. - application/json
  28592. responses:
  28593. "200":
  28594. description: OK
  28595. schema:
  28596. items:
  28597. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  28598. type: array
  28599. "500":
  28600. description: Internal Server Error
  28601. schema:
  28602. $ref: '#/definitions/app.Response'
  28603. security:
  28604. - ApiKeyAuth: []
  28605. summary: 查询委托明细
  28606. tags:
  28607. - 大连千海金(PCWeb)
  28608. /QhjMgr/QueryTradePayOrder:
  28609. get:
  28610. parameters:
  28611. - description: 用户ID
  28612. in: query
  28613. name: userid
  28614. required: true
  28615. type: integer
  28616. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28617. in: query
  28618. name: payflag
  28619. type: string
  28620. - description: 用户类型 1-个人 2-企业
  28621. in: query
  28622. name: userinfotype
  28623. type: integer
  28624. - description: 交易模式
  28625. in: query
  28626. name: trademode
  28627. type: integer
  28628. - description: 商品id
  28629. in: query
  28630. name: goodsid
  28631. type: integer
  28632. - description: 名称(模糊搜索账户)
  28633. in: query
  28634. name: filtername
  28635. type: string
  28636. - description: 开始交易日(yyyymmdd)
  28637. in: query
  28638. name: begindate
  28639. type: string
  28640. - description: 结束交易日(yyyymmdd)
  28641. in: query
  28642. name: enddate
  28643. type: string
  28644. - description: 是否包含子级 1-包含
  28645. in: query
  28646. name: includesub
  28647. type: integer
  28648. produces:
  28649. - application/json
  28650. responses:
  28651. "200":
  28652. description: OK
  28653. schema:
  28654. items:
  28655. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  28656. type: array
  28657. "500":
  28658. description: Internal Server Error
  28659. schema:
  28660. $ref: '#/definitions/app.Response'
  28661. security:
  28662. - ApiKeyAuth: []
  28663. summary: 查询待付款单
  28664. tags:
  28665. - 大连千海金(PCWeb)
  28666. /QhjMgr/QueryTradePosition:
  28667. get:
  28668. parameters:
  28669. - description: 用户ID
  28670. in: query
  28671. name: userid
  28672. required: true
  28673. type: integer
  28674. - description: 用户类型 1-个人 2-企业
  28675. in: query
  28676. name: userinfotype
  28677. type: integer
  28678. - description: 交易模式
  28679. in: query
  28680. name: trademode
  28681. type: integer
  28682. - description: 商品id
  28683. in: query
  28684. name: goodsid
  28685. type: integer
  28686. - description: 名称(模糊搜索账户)
  28687. in: query
  28688. name: filtername
  28689. type: string
  28690. - description: 是否包含子级 1-包含
  28691. in: query
  28692. name: includesub
  28693. type: integer
  28694. produces:
  28695. - application/json
  28696. responses:
  28697. "200":
  28698. description: OK
  28699. schema:
  28700. items:
  28701. $ref: '#/definitions/models.QhjMgrPositionRsp'
  28702. type: array
  28703. "500":
  28704. description: Internal Server Error
  28705. schema:
  28706. $ref: '#/definitions/app.Response'
  28707. security:
  28708. - ApiKeyAuth: []
  28709. summary: 查询持仓汇总
  28710. tags:
  28711. - 大连千海金(PCWeb)
  28712. /QhjSys/QueryAgreementChangeLog:
  28713. get:
  28714. parameters:
  28715. - description: 协议ID
  28716. in: query
  28717. name: agreementid
  28718. type: integer
  28719. - description: 协议版本号
  28720. in: query
  28721. name: agreementversion
  28722. type: integer
  28723. - description: 协议类型 - 1:注册 2:登录 3:交易
  28724. in: query
  28725. name: agreementtype
  28726. type: integer
  28727. - description: 协议编号(模糊匹配)
  28728. in: query
  28729. name: agreementno
  28730. type: string
  28731. - description: 协议名称(模糊匹配)
  28732. in: query
  28733. name: agreementname
  28734. type: string
  28735. produces:
  28736. - application/json
  28737. responses:
  28738. "200":
  28739. description: OK
  28740. schema:
  28741. items:
  28742. $ref: '#/definitions/models.QhjAgreementChangeLog'
  28743. type: array
  28744. "500":
  28745. description: Internal Server Error
  28746. schema:
  28747. $ref: '#/definitions/app.Response'
  28748. security:
  28749. - ApiKeyAuth: []
  28750. summary: 查询协议配置变更流水
  28751. tags:
  28752. - 大连千海金(协议和签约信息)
  28753. /QhjSys/QueryAgreementConfig:
  28754. get:
  28755. parameters:
  28756. - description: 协议ID
  28757. in: query
  28758. name: agreementid
  28759. type: integer
  28760. - description: 协议版本号
  28761. in: query
  28762. name: agreementversion
  28763. type: integer
  28764. - description: 协议类型 - 1:注册 2:登录 3:交易
  28765. in: query
  28766. name: agreementtype
  28767. type: integer
  28768. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  28769. in: query
  28770. name: isvalid
  28771. type: integer
  28772. - description: 协议编号(模糊匹配)
  28773. in: query
  28774. name: agreementno
  28775. type: string
  28776. - description: 协议名称(模糊匹配)
  28777. in: query
  28778. name: agreementname
  28779. type: string
  28780. produces:
  28781. - application/json
  28782. responses:
  28783. "200":
  28784. description: OK
  28785. schema:
  28786. items:
  28787. $ref: '#/definitions/models.QhjAgreementConfig'
  28788. type: array
  28789. "500":
  28790. description: Internal Server Error
  28791. schema:
  28792. $ref: '#/definitions/app.Response'
  28793. security:
  28794. - ApiKeyAuth: []
  28795. summary: 查询协议配置
  28796. tags:
  28797. - 大连千海金(协议和签约信息)
  28798. /QhjSys/QueryCustomerSignStatus:
  28799. get:
  28800. parameters:
  28801. - description: 客户ID
  28802. in: query
  28803. name: userid
  28804. type: integer
  28805. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  28806. in: query
  28807. name: nodetype
  28808. type: integer
  28809. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28810. in: query
  28811. name: goodsid
  28812. type: integer
  28813. - description: 创建交易日(yyyyMMdd)
  28814. in: query
  28815. name: tradedate
  28816. type: string
  28817. - description: 用户名称(模糊匹配)
  28818. in: query
  28819. name: username
  28820. type: string
  28821. produces:
  28822. - application/json
  28823. responses:
  28824. "200":
  28825. description: OK
  28826. schema:
  28827. items:
  28828. $ref: '#/definitions/models.QhjCustomerSignStatus'
  28829. type: array
  28830. "500":
  28831. description: Internal Server Error
  28832. schema:
  28833. $ref: '#/definitions/app.Response'
  28834. security:
  28835. - ApiKeyAuth: []
  28836. summary: 查询客户协议签约状态
  28837. tags:
  28838. - 大连千海金(协议和签约信息)
  28839. /QhjSys/QueryNodeAgreementConfig:
  28840. get:
  28841. parameters:
  28842. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28843. in: query
  28844. name: configid
  28845. type: integer
  28846. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28847. in: query
  28848. name: nodetype
  28849. type: integer
  28850. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28851. in: query
  28852. name: goodsid
  28853. type: integer
  28854. - description: 协议ID
  28855. in: query
  28856. name: agreementid
  28857. type: integer
  28858. - description: 协议类型 - 1:注册 2:登录 3:交易
  28859. in: query
  28860. name: agreementtype
  28861. type: integer
  28862. - description: 协议版本号
  28863. in: query
  28864. name: agreementversion
  28865. type: integer
  28866. - description: 协议编号(模糊匹配)
  28867. in: query
  28868. name: agreementno
  28869. type: string
  28870. - description: 协议名称(模糊匹配)
  28871. in: query
  28872. name: agreementname
  28873. type: string
  28874. produces:
  28875. - application/json
  28876. responses:
  28877. "200":
  28878. description: OK
  28879. schema:
  28880. items:
  28881. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  28882. type: array
  28883. "500":
  28884. description: Internal Server Error
  28885. schema:
  28886. $ref: '#/definitions/app.Response'
  28887. security:
  28888. - ApiKeyAuth: []
  28889. summary: 查询协议节点配置
  28890. tags:
  28891. - 大连千海金(协议和签约信息)
  28892. /QhjSys/QueryQhjCustomerSignLog:
  28893. get:
  28894. parameters:
  28895. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  28896. in: query
  28897. name: logid
  28898. type: integer
  28899. - description: 客户ID
  28900. in: query
  28901. name: userid
  28902. type: integer
  28903. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28904. in: query
  28905. name: nodetype
  28906. type: integer
  28907. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28908. in: query
  28909. name: goodsid
  28910. type: integer
  28911. - description: 协议ID
  28912. in: query
  28913. name: agreementid
  28914. type: integer
  28915. - description: 用户名称(模糊匹配)
  28916. in: query
  28917. name: username
  28918. type: string
  28919. - description: 协议编号(模糊匹配)
  28920. in: query
  28921. name: agreementno
  28922. type: string
  28923. - description: 协议名称(模糊匹配)
  28924. in: query
  28925. name: agreementname
  28926. type: string
  28927. produces:
  28928. - application/json
  28929. responses:
  28930. "200":
  28931. description: OK
  28932. schema:
  28933. items:
  28934. $ref: '#/definitions/models.QhjCustomerSignLog'
  28935. type: array
  28936. "500":
  28937. description: Internal Server Error
  28938. schema:
  28939. $ref: '#/definitions/app.Response'
  28940. security:
  28941. - ApiKeyAuth: []
  28942. summary: 查询客户协议签约流水
  28943. tags:
  28944. - 大连千海金(协议和签约信息)
  28945. /QhjSys/QueryUserNodeCfgAndStatus:
  28946. get:
  28947. parameters:
  28948. - description: 客户ID
  28949. in: query
  28950. name: userid
  28951. type: integer
  28952. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28953. in: query
  28954. name: configid
  28955. type: integer
  28956. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28957. in: query
  28958. name: nodetype
  28959. type: string
  28960. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28961. in: query
  28962. name: goodsid
  28963. type: integer
  28964. - description: 协议ID
  28965. in: query
  28966. name: agreementid
  28967. type: integer
  28968. - description: 协议类型 - 1:注册 2:登录 3:交易
  28969. in: query
  28970. name: agreementtype
  28971. type: integer
  28972. - description: 协议版本号
  28973. in: query
  28974. name: agreementversion
  28975. type: integer
  28976. - description: 协议编号(模糊匹配)
  28977. in: query
  28978. name: agreementno
  28979. type: string
  28980. - description: 协议名称(模糊匹配)
  28981. in: query
  28982. name: agreementname
  28983. type: string
  28984. produces:
  28985. - application/json
  28986. responses:
  28987. "200":
  28988. description: OK
  28989. schema:
  28990. items:
  28991. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  28992. type: array
  28993. "500":
  28994. description: Internal Server Error
  28995. schema:
  28996. $ref: '#/definitions/app.Response'
  28997. security:
  28998. - ApiKeyAuth: []
  28999. summary: 查询用户协议节点配置和状态
  29000. tags:
  29001. - 大连千海金(协议和签约信息)
  29002. /Quote/QueryHistoryDatas:
  29003. get:
  29004. parameters:
  29005. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  29006. 日线 12:周线 13:月线 14:年线'
  29007. in: query
  29008. name: cycleType
  29009. required: true
  29010. type: integer
  29011. - description: 商品代码
  29012. in: query
  29013. name: goodsCode
  29014. required: true
  29015. type: string
  29016. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29017. in: query
  29018. name: startTime
  29019. type: string
  29020. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29021. in: query
  29022. name: endTime
  29023. type: string
  29024. - description: 条数
  29025. in: query
  29026. name: count
  29027. type: integer
  29028. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29029. in: query
  29030. name: isAsc
  29031. type: boolean
  29032. produces:
  29033. - application/json
  29034. responses:
  29035. "200":
  29036. description: OK
  29037. schema:
  29038. $ref: '#/definitions/quote.HistoryData'
  29039. "500":
  29040. description: Internal Server Error
  29041. schema:
  29042. $ref: '#/definitions/app.Response'
  29043. security:
  29044. - ApiKeyAuth: []
  29045. summary: 查询行情历史数据
  29046. tags:
  29047. - 行情服务
  29048. /Quote/QueryHistoryTikDatas:
  29049. get:
  29050. parameters:
  29051. - description: 商品代码
  29052. in: query
  29053. name: goodsCode
  29054. required: true
  29055. type: string
  29056. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29057. in: query
  29058. name: startTime
  29059. type: string
  29060. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29061. in: query
  29062. name: endTime
  29063. type: string
  29064. - description: 条数
  29065. in: query
  29066. name: count
  29067. type: integer
  29068. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29069. in: query
  29070. name: isAsc
  29071. type: boolean
  29072. produces:
  29073. - application/json
  29074. responses:
  29075. "200":
  29076. description: OK
  29077. schema:
  29078. $ref: '#/definitions/quote.HistoryTikData'
  29079. "500":
  29080. description: Internal Server Error
  29081. schema:
  29082. $ref: '#/definitions/app.Response'
  29083. security:
  29084. - ApiKeyAuth: []
  29085. summary: 查询行情Tik数据
  29086. tags:
  29087. - 行情服务
  29088. /Quote/QueryQuoteDay:
  29089. get:
  29090. parameters:
  29091. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  29092. in: query
  29093. name: goodsCodes
  29094. type: string
  29095. produces:
  29096. - application/json
  29097. responses:
  29098. "200":
  29099. description: OK
  29100. schema:
  29101. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  29102. "500":
  29103. description: Internal Server Error
  29104. schema:
  29105. $ref: '#/definitions/app.Response'
  29106. security:
  29107. - ApiKeyAuth: []
  29108. summary: 获取商品盘面信息
  29109. tags:
  29110. - 行情服务
  29111. /Quote/QueryTSData:
  29112. get:
  29113. parameters:
  29114. - description: 商品代码
  29115. in: query
  29116. name: goodsCode
  29117. required: true
  29118. type: string
  29119. produces:
  29120. - application/json
  29121. responses:
  29122. "200":
  29123. description: OK
  29124. schema:
  29125. $ref: '#/definitions/quote.QueryTSDataRsp'
  29126. "500":
  29127. description: Internal Server Error
  29128. schema:
  29129. $ref: '#/definitions/app.Response'
  29130. security:
  29131. - ApiKeyAuth: []
  29132. summary: 分时图数据查询
  29133. tags:
  29134. - 行情服务
  29135. /SZDZ/QueryConvertConfig:
  29136. get:
  29137. parameters:
  29138. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  29139. 6:交易转花生米(不设置)
  29140. in: query
  29141. name: convertType
  29142. type: integer
  29143. - description: 外部商品代码[JD\PD]
  29144. in: query
  29145. name: outerGoodsCode
  29146. type: string
  29147. - description: 内部商品ID列表[交易],格式:1,2,3
  29148. in: query
  29149. name: innerGoodsIDs
  29150. type: string
  29151. produces:
  29152. - application/json
  29153. responses:
  29154. "200":
  29155. description: OK
  29156. schema:
  29157. $ref: '#/definitions/models.Szdz3convertconfig'
  29158. "500":
  29159. description: Internal Server Error
  29160. schema:
  29161. $ref: '#/definitions/app.Response'
  29162. security:
  29163. - ApiKeyAuth: []
  29164. summary: 查询交易系统转换设置
  29165. tags:
  29166. - 定制【尚志大宗】
  29167. /SZDZ/QueryConvertLog:
  29168. get:
  29169. parameters:
  29170. - description: 资金账户 - 格式:1,2,3
  29171. in: query
  29172. name: accountID
  29173. required: true
  29174. type: string
  29175. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29176. in: query
  29177. name: startDate
  29178. type: string
  29179. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29180. in: query
  29181. name: endDate
  29182. type: string
  29183. produces:
  29184. - application/json
  29185. responses:
  29186. "200":
  29187. description: OK
  29188. schema:
  29189. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29190. "500":
  29191. description: Internal Server Error
  29192. schema:
  29193. $ref: '#/definitions/app.Response'
  29194. security:
  29195. - ApiKeyAuth: []
  29196. summary: 交易系统转换流水查询
  29197. tags:
  29198. - 定制【尚志大宗】
  29199. /SZDZ/QueryGoodsPickup:
  29200. get:
  29201. parameters:
  29202. - description: 资金账户 - 格式:1,2,3
  29203. in: query
  29204. name: accountID
  29205. required: true
  29206. type: string
  29207. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29208. in: query
  29209. name: takeOrderStatus
  29210. type: integer
  29211. produces:
  29212. - application/json
  29213. responses:
  29214. "200":
  29215. description: OK
  29216. schema:
  29217. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29218. "500":
  29219. description: Internal Server Error
  29220. schema:
  29221. $ref: '#/definitions/app.Response'
  29222. security:
  29223. - ApiKeyAuth: []
  29224. summary: 商品提货单查询
  29225. tags:
  29226. - 定制【尚志大宗】
  29227. /SZDZ/QueryRecieptOrder:
  29228. get:
  29229. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29230. parameters:
  29231. - description: 页码
  29232. in: query
  29233. name: page
  29234. type: integer
  29235. - description: 每页条数
  29236. in: query
  29237. name: pagesize
  29238. type: integer
  29239. - description: 商品ID
  29240. in: query
  29241. name: goodsID
  29242. required: true
  29243. type: integer
  29244. - description: 所属账户名称
  29245. in: query
  29246. name: accountName
  29247. type: string
  29248. - description: 市场ID
  29249. in: query
  29250. name: marketID
  29251. type: integer
  29252. - description: 方向 - 0:买 1:卖
  29253. in: query
  29254. name: buyorsell
  29255. required: true
  29256. type: integer
  29257. produces:
  29258. - application/json
  29259. responses:
  29260. "200":
  29261. description: OK
  29262. schema:
  29263. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29264. "500":
  29265. description: Internal Server Error
  29266. schema:
  29267. $ref: '#/definitions/app.Response'
  29268. security:
  29269. - ApiKeyAuth: []
  29270. summary: 点选挂牌委托单据查询(摘牌大厅)
  29271. tags:
  29272. - 定制【尚志大宗】
  29273. /SZDZ/QuerySZDZTradePosition:
  29274. get:
  29275. parameters:
  29276. - description: 资金账户
  29277. in: query
  29278. name: accountID
  29279. required: true
  29280. type: integer
  29281. produces:
  29282. - application/json
  29283. responses:
  29284. "200":
  29285. description: OK
  29286. schema:
  29287. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29288. "500":
  29289. description: Internal Server Error
  29290. schema:
  29291. $ref: '#/definitions/app.Response'
  29292. security:
  29293. - ApiKeyAuth: []
  29294. summary: 持仓汇总查询(尚志大宗)
  29295. tags:
  29296. - 定制【尚志大宗】
  29297. /SZDZ/SearchWhite:
  29298. get:
  29299. parameters:
  29300. - description: 用户ID
  29301. in: query
  29302. name: userID
  29303. required: true
  29304. type: integer
  29305. produces:
  29306. - application/json
  29307. responses:
  29308. "200":
  29309. description: OK
  29310. schema:
  29311. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29312. "500":
  29313. description: Internal Server Error
  29314. schema:
  29315. $ref: '#/definitions/app.Response'
  29316. security:
  29317. - ApiKeyAuth: []
  29318. summary: 搜索白名单
  29319. tags:
  29320. - 定制【尚志大宗】
  29321. /Search/SearchGoodses:
  29322. get:
  29323. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29324. parameters:
  29325. - description: 检索内容
  29326. in: query
  29327. name: content
  29328. required: true
  29329. type: string
  29330. - description: 交易模式,格式:1,2,3
  29331. in: query
  29332. name: tradeModes
  29333. type: string
  29334. produces:
  29335. - application/json
  29336. responses:
  29337. "200":
  29338. description: OK
  29339. schema:
  29340. $ref: '#/definitions/models.SearchGoods'
  29341. "500":
  29342. description: Internal Server Error
  29343. schema:
  29344. $ref: '#/definitions/app.Response'
  29345. summary: 检索商品信息
  29346. tags:
  29347. - 检索服务
  29348. /TaAccount/GetTaAccounts:
  29349. get:
  29350. parameters:
  29351. - description: 登录账户
  29352. in: query
  29353. name: loginID
  29354. required: true
  29355. type: integer
  29356. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  29357. in: query
  29358. name: taAccountType
  29359. type: integer
  29360. produces:
  29361. - application/json
  29362. responses:
  29363. "200":
  29364. description: OK
  29365. schema:
  29366. $ref: '#/definitions/models.Taaccount'
  29367. "500":
  29368. description: Internal Server Error
  29369. schema:
  29370. $ref: '#/definitions/app.Response'
  29371. security:
  29372. - ApiKeyAuth: []
  29373. summary: 获取资金账户信息
  29374. tags:
  29375. - 资金账户
  29376. /TaAccount/QueryAmountLog:
  29377. get:
  29378. parameters:
  29379. - description: 页码
  29380. in: query
  29381. name: page
  29382. type: integer
  29383. - description: 每页条数
  29384. in: query
  29385. name: pagesize
  29386. type: integer
  29387. - description: 资金账户 - 格式:1,2,3
  29388. in: query
  29389. name: accountID
  29390. required: true
  29391. type: string
  29392. - description: 资金操作类型 - 格式:1,2,3
  29393. in: query
  29394. name: OperateType
  29395. type: string
  29396. produces:
  29397. - application/json
  29398. responses:
  29399. "200":
  29400. description: OK
  29401. schema:
  29402. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  29403. "500":
  29404. description: Internal Server Error
  29405. schema:
  29406. $ref: '#/definitions/app.Response'
  29407. security:
  29408. - ApiKeyAuth: []
  29409. summary: 资金流水查询(当前)
  29410. tags:
  29411. - 资金账户
  29412. /TaAccount/QueryHisAmountLog:
  29413. get:
  29414. parameters:
  29415. - description: 页码
  29416. in: query
  29417. name: page
  29418. type: integer
  29419. - description: 每页条数
  29420. in: query
  29421. name: pagesize
  29422. type: integer
  29423. - description: 资金账户 - 格式:1,2,3
  29424. in: query
  29425. name: accountID
  29426. required: true
  29427. type: string
  29428. - description: 资金操作类型 - 格式:1,2,3
  29429. in: query
  29430. name: OperateType
  29431. type: string
  29432. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29433. in: query
  29434. name: startDate
  29435. type: string
  29436. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29437. in: query
  29438. name: endDate
  29439. type: string
  29440. produces:
  29441. - application/json
  29442. responses:
  29443. "200":
  29444. description: OK
  29445. schema:
  29446. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  29447. "500":
  29448. description: Internal Server Error
  29449. schema:
  29450. $ref: '#/definitions/app.Response'
  29451. security:
  29452. - ApiKeyAuth: []
  29453. summary: 资金流水查询(历史)
  29454. tags:
  29455. - 资金账户
  29456. /TaAccount/QueryRelatedTaAccount:
  29457. get:
  29458. parameters:
  29459. - description: 关联UserID
  29460. in: query
  29461. name: relateduserid
  29462. required: true
  29463. type: integer
  29464. produces:
  29465. - application/json
  29466. responses:
  29467. "200":
  29468. description: OK
  29469. schema:
  29470. items:
  29471. $ref: '#/definitions/models.RelatedTaAccount'
  29472. type: array
  29473. "500":
  29474. description: Internal Server Error
  29475. schema:
  29476. $ref: '#/definitions/app.Response'
  29477. security:
  29478. - ApiKeyAuth: []
  29479. summary: 查询关联资金账户信息
  29480. tags:
  29481. - 资金账户
  29482. /Tjmd/QueryQuoteGoodsList:
  29483. get:
  29484. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  29485. parameters:
  29486. - description: 用户类型
  29487. in: query
  29488. name: usertype
  29489. required: true
  29490. type: integer
  29491. - description: 市场id, 格式 1,2,3
  29492. in: query
  29493. name: marketids
  29494. type: string
  29495. - description: 商品组id
  29496. in: query
  29497. name: goodsgroupid
  29498. type: integer
  29499. - description: 商品id
  29500. in: query
  29501. name: goodsid
  29502. type: integer
  29503. produces:
  29504. - application/json
  29505. responses:
  29506. "200":
  29507. description: OK
  29508. schema:
  29509. items:
  29510. $ref: '#/definitions/models.TjmdQuoteGoods'
  29511. type: array
  29512. "500":
  29513. description: Internal Server Error
  29514. schema:
  29515. $ref: '#/definitions/app.Response'
  29516. security:
  29517. - ApiKeyAuth: []
  29518. summary: 查询掉期报价列表
  29519. tags:
  29520. - 天津麦顿
  29521. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  29522. get:
  29523. parameters:
  29524. - description: 成交单号
  29525. in: query
  29526. name: tradeid
  29527. required: true
  29528. type: string
  29529. produces:
  29530. - application/json
  29531. responses:
  29532. "200":
  29533. description: OK
  29534. schema:
  29535. items:
  29536. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  29537. type: array
  29538. "500":
  29539. description: Internal Server Error
  29540. schema:
  29541. $ref: '#/definitions/app.Response'
  29542. security:
  29543. - ApiKeyAuth: []
  29544. summary: 掉期商品订单详情(交易确认书)
  29545. tags:
  29546. - 天津麦顿
  29547. /Tjmd/QueryTjmdMarketSection:
  29548. get:
  29549. produces:
  29550. - application/json
  29551. responses:
  29552. "200":
  29553. description: OK
  29554. schema:
  29555. items:
  29556. $ref: '#/definitions/models.TjmdMarketSection'
  29557. type: array
  29558. "500":
  29559. description: Internal Server Error
  29560. schema:
  29561. $ref: '#/definitions/app.Response'
  29562. security:
  29563. - ApiKeyAuth: []
  29564. summary: 查询市场板块
  29565. tags:
  29566. - 天津麦顿
  29567. /Tjmd/QueryTjmdTodayAccountMargin:
  29568. get:
  29569. parameters:
  29570. - description: 市场id
  29571. in: query
  29572. name: marketid
  29573. type: string
  29574. - description: 商品id
  29575. in: query
  29576. name: goodsid
  29577. type: string
  29578. - description: 资金账号
  29579. in: query
  29580. name: accountid
  29581. type: string
  29582. produces:
  29583. - application/json
  29584. responses:
  29585. "200":
  29586. description: OK
  29587. schema:
  29588. items:
  29589. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  29590. type: array
  29591. "500":
  29592. description: Internal Server Error
  29593. schema:
  29594. $ref: '#/definitions/app.Response'
  29595. security:
  29596. - ApiKeyAuth: []
  29597. summary: 查询今日账户保证金配置
  29598. tags:
  29599. - 天津麦顿
  29600. /Tjmd/QueryTjmdTradeOrderDetail:
  29601. get:
  29602. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  29603. parameters:
  29604. - description: 页码
  29605. in: query
  29606. name: page
  29607. type: integer
  29608. - description: 每页条数
  29609. in: query
  29610. name: pagesize
  29611. type: integer
  29612. - description: 用户id
  29613. in: query
  29614. name: userid
  29615. required: true
  29616. type: integer
  29617. - description: 用户类型
  29618. in: query
  29619. name: usertype
  29620. required: true
  29621. type: integer
  29622. - description: 市场id, 格式 1,2,3
  29623. in: query
  29624. name: marketids
  29625. type: string
  29626. - description: 商品id
  29627. in: query
  29628. name: goodsid
  29629. required: true
  29630. type: integer
  29631. - description: 买卖方向 0-买 1-卖
  29632. in: query
  29633. name: buyorsell
  29634. required: true
  29635. type: integer
  29636. produces:
  29637. - application/json
  29638. responses:
  29639. "200":
  29640. description: OK
  29641. schema:
  29642. items:
  29643. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  29644. type: array
  29645. "500":
  29646. description: Internal Server Error
  29647. schema:
  29648. $ref: '#/definitions/app.Response'
  29649. security:
  29650. - ApiKeyAuth: []
  29651. summary: 查询掉期买卖大厅
  29652. tags:
  29653. - 天津麦顿
  29654. /Tjmd/QueryTjmdTransferApply:
  29655. get:
  29656. parameters:
  29657. - description: 类型 1-我的申请 2-对方申请
  29658. in: query
  29659. name: applytype
  29660. required: true
  29661. type: integer
  29662. - description: 市场id, 格式 1,2,3
  29663. in: query
  29664. name: marketids
  29665. type: string
  29666. - description: 资金账号, 格式 25000000001,25000000003
  29667. in: query
  29668. name: accountids
  29669. type: string
  29670. - description: 开始交易日(yyyymmdd)
  29671. in: query
  29672. name: begindate
  29673. type: string
  29674. - description: 结束交易日(yyyymmdd)
  29675. in: query
  29676. name: enddate
  29677. type: string
  29678. produces:
  29679. - application/json
  29680. responses:
  29681. "200":
  29682. description: OK
  29683. schema:
  29684. items:
  29685. $ref: '#/definitions/models.TjmdTransferApply'
  29686. type: array
  29687. "500":
  29688. description: Internal Server Error
  29689. schema:
  29690. $ref: '#/definitions/app.Response'
  29691. security:
  29692. - ApiKeyAuth: []
  29693. summary: 查询掉期协议单
  29694. tags:
  29695. - 天津麦顿
  29696. /Trade/QueryRecieptOrder:
  29697. get:
  29698. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29699. parameters:
  29700. - description: 页码
  29701. in: query
  29702. name: page
  29703. type: integer
  29704. - description: 每页条数
  29705. in: query
  29706. name: pagesize
  29707. type: integer
  29708. - description: 商品ID
  29709. in: query
  29710. name: goodsID
  29711. required: true
  29712. type: integer
  29713. - description: 所属账户名称
  29714. in: query
  29715. name: accountName
  29716. type: string
  29717. - description: 市场ID
  29718. in: query
  29719. name: marketID
  29720. type: integer
  29721. - description: 方向 - 0:买 1:卖
  29722. in: query
  29723. name: buyorsell
  29724. required: true
  29725. type: integer
  29726. produces:
  29727. - application/json
  29728. responses:
  29729. "200":
  29730. description: OK
  29731. schema:
  29732. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  29733. "500":
  29734. description: Internal Server Error
  29735. schema:
  29736. $ref: '#/definitions/app.Response'
  29737. security:
  29738. - ApiKeyAuth: []
  29739. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  29740. tags:
  29741. - 通用交易
  29742. /User/AddMessageBoard:
  29743. post:
  29744. parameters:
  29745. - description: 用户ID
  29746. in: query
  29747. name: userID
  29748. required: true
  29749. type: integer
  29750. - description: 留言信息
  29751. in: query
  29752. name: message
  29753. required: true
  29754. type: string
  29755. - description: 联系电话
  29756. in: query
  29757. name: contactNum
  29758. required: true
  29759. type: string
  29760. produces:
  29761. - application/json
  29762. responses:
  29763. "200":
  29764. description: OK
  29765. schema:
  29766. $ref: '#/definitions/app.Response'
  29767. "500":
  29768. description: Internal Server Error
  29769. schema:
  29770. $ref: '#/definitions/app.Response'
  29771. security:
  29772. - ApiKeyAuth: []
  29773. summary: 添加用户留言板信息
  29774. tags:
  29775. - 用户信息
  29776. /User/AddUserFavoriteGoods:
  29777. post:
  29778. parameters:
  29779. - description: 用户ID
  29780. in: query
  29781. name: userID
  29782. required: true
  29783. type: integer
  29784. - description: 商品ID
  29785. in: query
  29786. name: goodsID
  29787. required: true
  29788. type: integer
  29789. produces:
  29790. - application/json
  29791. responses:
  29792. "200":
  29793. description: OK
  29794. schema:
  29795. $ref: '#/definitions/app.Response'
  29796. "500":
  29797. description: Internal Server Error
  29798. schema:
  29799. $ref: '#/definitions/app.Response'
  29800. security:
  29801. - ApiKeyAuth: []
  29802. summary: 添加用户商品收藏信息
  29803. tags:
  29804. - 用户信息
  29805. /User/GetLoginID:
  29806. get:
  29807. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  29808. parameters:
  29809. - description: 登录代码
  29810. in: query
  29811. name: username
  29812. required: true
  29813. type: string
  29814. produces:
  29815. - application/json
  29816. responses:
  29817. "200":
  29818. description: OK
  29819. schema:
  29820. $ref: '#/definitions/app.Response'
  29821. "500":
  29822. description: Internal Server Error
  29823. schema:
  29824. $ref: '#/definitions/app.Response'
  29825. summary: 获取登录ID
  29826. tags:
  29827. - 用户信息
  29828. /User/GetUserAccount:
  29829. get:
  29830. parameters:
  29831. - description: 用户ID
  29832. in: query
  29833. name: userID
  29834. required: true
  29835. type: integer
  29836. produces:
  29837. - application/json
  29838. responses:
  29839. "200":
  29840. description: OK
  29841. schema:
  29842. $ref: '#/definitions/models.Useraccount'
  29843. "500":
  29844. description: Internal Server Error
  29845. schema:
  29846. $ref: '#/definitions/app.Response'
  29847. security:
  29848. - ApiKeyAuth: []
  29849. summary: 获取用户账号信息
  29850. tags:
  29851. - 用户信息
  29852. /User/GetUserAuthStatus:
  29853. get:
  29854. parameters:
  29855. - description: 用户ID
  29856. in: query
  29857. name: userID
  29858. required: true
  29859. type: integer
  29860. produces:
  29861. - application/json
  29862. responses:
  29863. "200":
  29864. description: OK
  29865. schema:
  29866. $ref: '#/definitions/app.Response'
  29867. "500":
  29868. description: Internal Server Error
  29869. schema:
  29870. $ref: '#/definitions/app.Response'
  29871. security:
  29872. - ApiKeyAuth: []
  29873. summary: 获取用户实名认证状态
  29874. tags:
  29875. - 用户信息
  29876. /User/LoginQuery:
  29877. get:
  29878. parameters:
  29879. - description: 登录账号
  29880. in: query
  29881. name: loginID
  29882. required: true
  29883. type: integer
  29884. produces:
  29885. - application/json
  29886. responses:
  29887. "200":
  29888. description: OK
  29889. schema:
  29890. $ref: '#/definitions/user.LoginQueryRsp'
  29891. "500":
  29892. description: Internal Server Error
  29893. schema:
  29894. $ref: '#/definitions/app.Response'
  29895. security:
  29896. - ApiKeyAuth: []
  29897. summary: 账户登录后信息查询
  29898. tags:
  29899. - 用户信息
  29900. /User/QueryMessageBoard:
  29901. get:
  29902. parameters:
  29903. - description: 用户ID
  29904. in: query
  29905. name: userID
  29906. required: true
  29907. type: integer
  29908. produces:
  29909. - application/json
  29910. responses:
  29911. "200":
  29912. description: OK
  29913. schema:
  29914. $ref: '#/definitions/models.Messageboard'
  29915. "500":
  29916. description: Internal Server Error
  29917. schema:
  29918. $ref: '#/definitions/app.Response'
  29919. security:
  29920. - ApiKeyAuth: []
  29921. summary: 获取用户留言板信息
  29922. tags:
  29923. - 用户信息
  29924. /User/QueryUserFavoriteGoodses:
  29925. get:
  29926. parameters:
  29927. - description: 用户ID
  29928. in: query
  29929. name: userID
  29930. required: true
  29931. type: integer
  29932. produces:
  29933. - application/json
  29934. responses:
  29935. "200":
  29936. description: OK
  29937. schema:
  29938. $ref: '#/definitions/models.Userfavoritegoods'
  29939. "500":
  29940. description: Internal Server Error
  29941. schema:
  29942. $ref: '#/definitions/app.Response'
  29943. security:
  29944. - ApiKeyAuth: []
  29945. summary: 获取用户商品收藏信息
  29946. tags:
  29947. - 用户信息
  29948. /User/QueryUserInfo:
  29949. get:
  29950. parameters:
  29951. - description: 用户ID
  29952. in: query
  29953. name: userID
  29954. required: true
  29955. type: integer
  29956. - description: 是否解密
  29957. in: query
  29958. name: isDecrypt
  29959. type: boolean
  29960. produces:
  29961. - application/json
  29962. responses:
  29963. "200":
  29964. description: OK
  29965. schema:
  29966. $ref: '#/definitions/models.Userinfo'
  29967. "500":
  29968. description: Internal Server Error
  29969. schema:
  29970. $ref: '#/definitions/app.Response'
  29971. security:
  29972. - ApiKeyAuth: []
  29973. summary: 获取用户信息
  29974. tags:
  29975. - 用户信息
  29976. /User/QueryUserReferNum:
  29977. get:
  29978. parameters:
  29979. - description: 用户ID
  29980. in: query
  29981. name: userID
  29982. required: true
  29983. type: integer
  29984. produces:
  29985. - application/json
  29986. responses:
  29987. "200":
  29988. description: OK
  29989. schema:
  29990. $ref: '#/definitions/app.Response'
  29991. "500":
  29992. description: Internal Server Error
  29993. schema:
  29994. $ref: '#/definitions/app.Response'
  29995. summary: 获取用户邀请码
  29996. tags:
  29997. - 用户信息
  29998. /User/RemoveUserFavoriteGoods:
  29999. post:
  30000. parameters:
  30001. - description: 用户ID
  30002. in: query
  30003. name: userID
  30004. required: true
  30005. type: integer
  30006. - description: 商品ID
  30007. in: query
  30008. name: goodsID
  30009. required: true
  30010. type: integer
  30011. produces:
  30012. - application/json
  30013. responses:
  30014. "200":
  30015. description: OK
  30016. schema:
  30017. $ref: '#/definitions/app.Response'
  30018. "500":
  30019. description: Internal Server Error
  30020. schema:
  30021. $ref: '#/definitions/app.Response'
  30022. security:
  30023. - ApiKeyAuth: []
  30024. summary: 移除用户商品收藏信息
  30025. tags:
  30026. - 用户信息
  30027. /User/UpdateUserAccountStatus:
  30028. post:
  30029. parameters:
  30030. - description: 用户ID
  30031. in: query
  30032. name: userID
  30033. required: true
  30034. type: integer
  30035. - description: 账户状态 - 4:正常 6:注销(停用)
  30036. in: query
  30037. name: accountStatus
  30038. required: true
  30039. type: integer
  30040. produces:
  30041. - application/json
  30042. responses:
  30043. "200":
  30044. description: OK
  30045. schema:
  30046. $ref: '#/definitions/app.Response'
  30047. "500":
  30048. description: Internal Server Error
  30049. schema:
  30050. $ref: '#/definitions/app.Response'
  30051. security:
  30052. - ApiKeyAuth: []
  30053. summary: 更新用户状态
  30054. tags:
  30055. - 用户信息
  30056. /WRTrade/GetAllDeliveryGoods:
  30057. get:
  30058. produces:
  30059. - application/json
  30060. responses:
  30061. "200":
  30062. description: OK
  30063. schema:
  30064. $ref: '#/definitions/app.Response'
  30065. "500":
  30066. description: Internal Server Error
  30067. schema:
  30068. $ref: '#/definitions/app.Response'
  30069. security:
  30070. - ApiKeyAuth: []
  30071. summary: 获取带仓单分类的种类信息
  30072. tags:
  30073. - 仓单贸易
  30074. - 仓单贸易
  30075. /WrTrade2/InsertXhcpSellBackApply:
  30076. post:
  30077. parameters:
  30078. - description: 回收申请
  30079. in: body
  30080. name: jsonBody
  30081. required: true
  30082. schema:
  30083. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  30084. produces:
  30085. - application/json
  30086. responses:
  30087. "200":
  30088. description: OK
  30089. schema:
  30090. $ref: '#/definitions/app.Response'
  30091. "500":
  30092. description: Internal Server Error
  30093. schema:
  30094. $ref: '#/definitions/app.Response'
  30095. security:
  30096. - ApiKeyAuth: []
  30097. summary: 新增回收申请(新会陈皮)
  30098. tags:
  30099. - 仓单贸易v2
  30100. /WrTrade2/QueryDeliveryGoodsSection:
  30101. get:
  30102. produces:
  30103. - application/json
  30104. responses:
  30105. "200":
  30106. description: OK
  30107. schema:
  30108. items:
  30109. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  30110. type: array
  30111. "500":
  30112. description: Internal Server Error
  30113. schema:
  30114. $ref: '#/definitions/app.Response'
  30115. security:
  30116. - ApiKeyAuth: []
  30117. summary: 查询板块(分类)
  30118. tags:
  30119. - 仓单贸易v2
  30120. /WrTrade2/QueryFaProductDetail:
  30121. get:
  30122. description: 页面 买卖大厅 -> 选择融资方案
  30123. parameters:
  30124. - description: 仓单要素id
  30125. in: query
  30126. name: wrfactortypeid
  30127. required: true
  30128. type: integer
  30129. produces:
  30130. - application/json
  30131. responses:
  30132. "200":
  30133. description: OK
  30134. schema:
  30135. items:
  30136. $ref: '#/definitions/models.WrFAProductDetail'
  30137. type: array
  30138. "500":
  30139. description: Internal Server Error
  30140. schema:
  30141. $ref: '#/definitions/app.Response'
  30142. security:
  30143. - ApiKeyAuth: []
  30144. summary: 查询融资产品列表
  30145. tags:
  30146. - 仓单贸易v2
  30147. /WrTrade2/QueryFilterItem:
  30148. get:
  30149. parameters:
  30150. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  30151. in: query
  30152. name: itype
  30153. required: true
  30154. type: string
  30155. produces:
  30156. - application/json
  30157. responses:
  30158. "200":
  30159. description: OK
  30160. schema:
  30161. items:
  30162. $ref: '#/definitions/models.WrFilterItem'
  30163. type: array
  30164. "500":
  30165. description: Internal Server Error
  30166. schema:
  30167. $ref: '#/definitions/app.Response'
  30168. security:
  30169. - ApiKeyAuth: []
  30170. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  30171. tags:
  30172. - 仓单贸易v2
  30173. /WrTrade2/QueryFtDeliveryGoods:
  30174. get:
  30175. produces:
  30176. - application/json
  30177. responses:
  30178. "200":
  30179. description: OK
  30180. schema:
  30181. items:
  30182. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30183. type: array
  30184. "500":
  30185. description: Internal Server Error
  30186. schema:
  30187. $ref: '#/definitions/app.Response'
  30188. security:
  30189. - ApiKeyAuth: []
  30190. summary: 查询品种品类筛选框列表
  30191. tags:
  30192. - 仓单贸易v2
  30193. /WrTrade2/QueryHoldLB:
  30194. get:
  30195. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30196. parameters:
  30197. - description: 资金账号
  30198. in: query
  30199. name: accountid
  30200. required: true
  30201. type: integer
  30202. - description: 仓库id
  30203. in: query
  30204. name: warehouseid
  30205. type: integer
  30206. - description: 品种id
  30207. in: query
  30208. name: deliverygoodsid
  30209. type: integer
  30210. - description: 品类id
  30211. in: query
  30212. name: wrstandardid
  30213. type: integer
  30214. - description: 仓单要素id
  30215. in: query
  30216. name: wrfactortypeid
  30217. type: integer
  30218. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30219. in: query
  30220. name: dgitemname
  30221. type: string
  30222. produces:
  30223. - application/json
  30224. responses:
  30225. "200":
  30226. description: OK
  30227. schema:
  30228. items:
  30229. $ref: '#/definitions/models.WrHoldLB'
  30230. type: array
  30231. "500":
  30232. description: Internal Server Error
  30233. schema:
  30234. $ref: '#/definitions/app.Response'
  30235. security:
  30236. - ApiKeyAuth: []
  30237. summary: 查询仓单持有记录
  30238. tags:
  30239. - 仓单贸易v2
  30240. /WrTrade2/QueryOrderQuote:
  30241. get:
  30242. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30243. 唯一确定1条记录
  30244. parameters:
  30245. - description: 页码
  30246. in: query
  30247. name: page
  30248. type: integer
  30249. - description: 每页条数
  30250. in: query
  30251. name: pagesize
  30252. type: integer
  30253. - description: 仓单贸易市场id
  30254. in: query
  30255. name: marketid
  30256. type: integer
  30257. - description: 价格方式 - 1:固定价 2-浮动价
  30258. in: query
  30259. name: wrpricetype
  30260. required: true
  30261. type: integer
  30262. - description: 0:仓单预售 1:仓单贸易
  30263. in: query
  30264. name: haswr
  30265. type: integer
  30266. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30267. in: query
  30268. name: dgitemname
  30269. type: string
  30270. - description: 仓库id(筛选条件)
  30271. in: query
  30272. name: warehouseid
  30273. type: integer
  30274. - description: 品种id
  30275. in: query
  30276. name: deliverygoodsid
  30277. type: integer
  30278. - description: 品类id
  30279. in: query
  30280. name: wrstandardid
  30281. type: integer
  30282. - description: 品牌id(dgfactoryitemid)
  30283. in: query
  30284. name: brandid
  30285. type: integer
  30286. - description: 年份id(dgfactoryitemid)
  30287. in: query
  30288. name: yearsid
  30289. type: integer
  30290. - description: 仓单要素id
  30291. in: query
  30292. name: wrfactortypeid
  30293. type: integer
  30294. - description: 交收月(yyyy-mm) 仓单预售填写
  30295. in: query
  30296. name: deliverymonth
  30297. type: string
  30298. produces:
  30299. - application/json
  30300. responses:
  30301. "200":
  30302. description: OK
  30303. schema:
  30304. items:
  30305. $ref: '#/definitions/models.WrOrderQuote'
  30306. type: array
  30307. "500":
  30308. description: Internal Server Error
  30309. schema:
  30310. $ref: '#/definitions/app.Response'
  30311. security:
  30312. - ApiKeyAuth: []
  30313. summary: 查询大厅行情列表
  30314. tags:
  30315. - 仓单贸易v2
  30316. /WrTrade2/QueryOrderQuoteDetail:
  30317. get:
  30318. parameters:
  30319. - description: 页码
  30320. in: query
  30321. name: page
  30322. type: integer
  30323. - description: 每页条数
  30324. in: query
  30325. name: pagesize
  30326. type: integer
  30327. - description: 仓单贸易市场id
  30328. in: query
  30329. name: marketid
  30330. type: integer
  30331. - description: 价格方式 - 1:固定价 2-浮动价
  30332. in: query
  30333. name: wrpricetype
  30334. required: true
  30335. type: integer
  30336. - description: 0:仓单预售 1:仓单贸易
  30337. in: query
  30338. name: haswr
  30339. type: integer
  30340. - description: 仓单要素id
  30341. in: query
  30342. name: wrfactortypeid
  30343. required: true
  30344. type: integer
  30345. - description: 期货商品id(浮动价方式时填)
  30346. in: query
  30347. name: goodsid
  30348. type: integer
  30349. - description: 买卖方向 0-买 1-卖
  30350. in: query
  30351. name: buyorsell
  30352. required: true
  30353. type: integer
  30354. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  30355. in: query
  30356. name: deliverymonth
  30357. type: string
  30358. produces:
  30359. - application/json
  30360. responses:
  30361. "200":
  30362. description: OK
  30363. schema:
  30364. items:
  30365. $ref: '#/definitions/models.WrOrderQuoteDetail'
  30366. type: array
  30367. "500":
  30368. description: Internal Server Error
  30369. schema:
  30370. $ref: '#/definitions/app.Response'
  30371. security:
  30372. - ApiKeyAuth: []
  30373. summary: 查询买卖大厅
  30374. tags:
  30375. - 仓单贸易v2
  30376. /WrTrade2/QueryOrderQuoteMyq:
  30377. get:
  30378. parameters:
  30379. - description: 页码
  30380. in: query
  30381. name: page
  30382. type: integer
  30383. - description: 每页条数
  30384. in: query
  30385. name: pagesize
  30386. type: integer
  30387. - description: 用户id
  30388. in: query
  30389. name: userid
  30390. required: true
  30391. type: integer
  30392. - description: 仓单贸易市场id
  30393. in: query
  30394. name: marketid
  30395. type: integer
  30396. - description: 0:仓单预售 1:仓单贸易
  30397. in: query
  30398. name: haswr
  30399. type: integer
  30400. - description: 买卖方向 0-买 1-卖
  30401. in: query
  30402. name: buyorsell
  30403. required: true
  30404. type: integer
  30405. - description: 品种id
  30406. in: query
  30407. name: deliverygoodsid
  30408. type: integer
  30409. - description: 品类id
  30410. in: query
  30411. name: wrstandardid
  30412. type: integer
  30413. - description: 交收月(yyyy-mm) 仓单预售填写
  30414. in: query
  30415. name: deliverymonth
  30416. type: string
  30417. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30418. in: query
  30419. name: dgitemname
  30420. type: string
  30421. produces:
  30422. - application/json
  30423. responses:
  30424. "200":
  30425. description: OK
  30426. schema:
  30427. items:
  30428. $ref: '#/definitions/models.WrQuoteOrderMyq'
  30429. type: array
  30430. "500":
  30431. description: Internal Server Error
  30432. schema:
  30433. $ref: '#/definitions/app.Response'
  30434. security:
  30435. - ApiKeyAuth: []
  30436. summary: 查询贸易圈挂牌大厅
  30437. tags:
  30438. - 仓单贸易v2
  30439. /WrTrade2/QueryPerformancePlan:
  30440. get:
  30441. parameters:
  30442. - description: 用户id
  30443. in: query
  30444. name: userid
  30445. required: true
  30446. type: integer
  30447. - description: 买卖方向 0-买 1-卖
  30448. in: query
  30449. name: buyorsell
  30450. required: true
  30451. type: integer
  30452. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  30453. 8:释放冻结失败 9:超时待处理 10:超时关闭
  30454. in: query
  30455. name: status
  30456. type: string
  30457. - description: 开始交易日(yyyymmdd)
  30458. in: query
  30459. name: begindate
  30460. type: string
  30461. - description: 结束交易日(yyyymmdd)
  30462. in: query
  30463. name: enddate
  30464. type: string
  30465. produces:
  30466. - application/json
  30467. responses:
  30468. "200":
  30469. description: OK
  30470. schema:
  30471. items:
  30472. $ref: '#/definitions/models.WrPerformancePlan'
  30473. type: array
  30474. "500":
  30475. description: Internal Server Error
  30476. schema:
  30477. $ref: '#/definitions/app.Response'
  30478. security:
  30479. - ApiKeyAuth: []
  30480. summary: 查询履约信息
  30481. tags:
  30482. - 仓单贸易v2
  30483. /WrTrade2/QueryPermancePlanTmp:
  30484. get:
  30485. description: |-
  30486. 返回指定用户的模板和公共模板(用户id为空)
  30487. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  30488. parameters:
  30489. - description: 用户id
  30490. in: query
  30491. name: userid
  30492. type: integer
  30493. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  30494. (无仓单) 5:挂牌期权 6:竞拍-降价式
  30495. in: query
  30496. name: tmptype
  30497. type: string
  30498. - description: 是否包含公共模板(用户id为空的) 1-包含
  30499. in: query
  30500. name: includepub
  30501. type: integer
  30502. - description: 市场id(天津麦顿指定此参数,其它不用)
  30503. in: query
  30504. name: marketid
  30505. type: integer
  30506. produces:
  30507. - application/json
  30508. responses:
  30509. "200":
  30510. description: OK
  30511. schema:
  30512. items:
  30513. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  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/QuerySiteColumnDetail:
  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: columnid
  30538. type: integer
  30539. produces:
  30540. - application/json
  30541. responses:
  30542. "200":
  30543. description: OK
  30544. schema:
  30545. items:
  30546. $ref: '#/definitions/models.WrSiteColumnDetail'
  30547. type: array
  30548. "500":
  30549. description: Internal Server Error
  30550. schema:
  30551. $ref: '#/definitions/app.Response'
  30552. security:
  30553. - ApiKeyAuth: []
  30554. summary: 查询资讯
  30555. tags:
  30556. - 仓单贸易v2
  30557. /WrTrade2/QuerySpotGroupTradeSum:
  30558. get:
  30559. produces:
  30560. - application/json
  30561. responses:
  30562. "200":
  30563. description: OK
  30564. schema:
  30565. items:
  30566. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  30567. type: array
  30568. "500":
  30569. description: Internal Server Error
  30570. schema:
  30571. $ref: '#/definitions/app.Response'
  30572. security:
  30573. - ApiKeyAuth: []
  30574. summary: 查询指数
  30575. tags:
  30576. - 仓单贸易v2
  30577. /WrTrade2/QuerySpotGroupTradeSumDetail:
  30578. get:
  30579. description: 查询的结果将会按日期 从小到大 排序
  30580. parameters:
  30581. - description: 现货商品id
  30582. in: query
  30583. name: deliverygoodsid
  30584. required: true
  30585. type: integer
  30586. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  30587. in: query
  30588. name: lastnum
  30589. type: integer
  30590. produces:
  30591. - application/json
  30592. responses:
  30593. "200":
  30594. description: OK
  30595. schema:
  30596. items:
  30597. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  30598. type: array
  30599. "500":
  30600. description: Internal Server Error
  30601. schema:
  30602. $ref: '#/definitions/app.Response'
  30603. security:
  30604. - ApiKeyAuth: []
  30605. summary: 查询指数详细(价格走势图)
  30606. tags:
  30607. - 仓单贸易v2
  30608. /WrTrade2/QueryWrAverageTradePrice:
  30609. get:
  30610. parameters:
  30611. - description: 页码
  30612. in: query
  30613. name: page
  30614. type: integer
  30615. - description: 每页条数
  30616. in: query
  30617. name: pagesize
  30618. type: integer
  30619. - description: 0:仓单预售 1:仓单贸易
  30620. in: query
  30621. name: haswr
  30622. required: true
  30623. type: integer
  30624. - description: 仓单要素id
  30625. in: query
  30626. name: wrfactortypeid
  30627. required: true
  30628. type: integer
  30629. produces:
  30630. - application/json
  30631. responses:
  30632. "200":
  30633. description: OK
  30634. schema:
  30635. items:
  30636. $ref: '#/definitions/models.WrAverageTradePrice'
  30637. type: array
  30638. "500":
  30639. description: Internal Server Error
  30640. schema:
  30641. $ref: '#/definitions/app.Response'
  30642. security:
  30643. - ApiKeyAuth: []
  30644. summary: 查询成交价(历史走势)
  30645. tags:
  30646. - 仓单贸易v2
  30647. /WrTrade2/QueryWrBrandAndYears:
  30648. get:
  30649. produces:
  30650. - application/json
  30651. responses:
  30652. "200":
  30653. description: OK
  30654. schema:
  30655. items:
  30656. $ref: '#/definitions/models.WrBrandAndYears'
  30657. type: array
  30658. "500":
  30659. description: Internal Server Error
  30660. schema:
  30661. $ref: '#/definitions/app.Response'
  30662. security:
  30663. - ApiKeyAuth: []
  30664. summary: 查询品牌和年份
  30665. tags:
  30666. - 仓单贸易v2
  30667. /WrTrade2/QueryWrBsGoodsInfo:
  30668. get:
  30669. description: 合约交易/买卖大厅/详情
  30670. parameters:
  30671. - description: 商品id
  30672. in: query
  30673. name: goodsid
  30674. required: true
  30675. type: integer
  30676. produces:
  30677. - application/json
  30678. responses:
  30679. "200":
  30680. description: OK
  30681. schema:
  30682. items:
  30683. $ref: '#/definitions/models.WrBsGoodsInfo'
  30684. type: array
  30685. "500":
  30686. description: Internal Server Error
  30687. schema:
  30688. $ref: '#/definitions/app.Response'
  30689. security:
  30690. - ApiKeyAuth: []
  30691. summary: 查询合约交易买卖大厅详情
  30692. tags:
  30693. - 仓单贸易v2
  30694. /WrTrade2/QueryWrBuybackDetail:
  30695. get:
  30696. parameters:
  30697. - description: 融资合同id
  30698. in: query
  30699. name: scfcontractid
  30700. type: integer
  30701. produces:
  30702. - application/json
  30703. responses:
  30704. "200":
  30705. description: OK
  30706. schema:
  30707. items:
  30708. $ref: '#/definitions/models.WrBuybackDetail'
  30709. type: array
  30710. "500":
  30711. description: Internal Server Error
  30712. schema:
  30713. $ref: '#/definitions/app.Response'
  30714. security:
  30715. - ApiKeyAuth: []
  30716. summary: 查询仓单回购明细
  30717. tags:
  30718. - 仓单贸易v2
  30719. /WrTrade2/QueryWrClientAdSpaceConfig:
  30720. get:
  30721. produces:
  30722. - application/json
  30723. responses:
  30724. "200":
  30725. description: OK
  30726. schema:
  30727. items:
  30728. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  30729. type: array
  30730. "500":
  30731. description: Internal Server Error
  30732. schema:
  30733. $ref: '#/definitions/app.Response'
  30734. security:
  30735. - ApiKeyAuth: []
  30736. summary: 查询固定广告配置
  30737. tags:
  30738. - 仓单贸易v2
  30739. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  30740. get:
  30741. parameters:
  30742. - description: 资金账号
  30743. in: query
  30744. name: accountid
  30745. required: true
  30746. type: integer
  30747. - description: 商品id
  30748. in: query
  30749. name: goodsid
  30750. required: true
  30751. type: integer
  30752. produces:
  30753. - application/json
  30754. responses:
  30755. "200":
  30756. description: OK
  30757. schema:
  30758. items:
  30759. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  30760. type: array
  30761. "500":
  30762. description: Internal Server Error
  30763. schema:
  30764. $ref: '#/definitions/app.Response'
  30765. security:
  30766. - ApiKeyAuth: []
  30767. summary: 查询合约交收可点选仓单
  30768. tags:
  30769. - 仓单贸易v2
  30770. /WrTrade2/QueryWrDeliveryDetail:
  30771. get:
  30772. parameters:
  30773. - description: 用户id
  30774. in: query
  30775. name: userid
  30776. required: true
  30777. type: integer
  30778. - description: 资金账号id
  30779. in: query
  30780. name: accountid
  30781. type: integer
  30782. - description: 开始交易日(yyyymmdd)
  30783. in: query
  30784. name: begindate
  30785. type: string
  30786. - description: 结束交易日(yyyymmdd)
  30787. in: query
  30788. name: enddate
  30789. type: string
  30790. produces:
  30791. - application/json
  30792. responses:
  30793. "200":
  30794. description: OK
  30795. schema:
  30796. items:
  30797. $ref: '#/definitions/models.WrDeliveryDetail'
  30798. type: array
  30799. "500":
  30800. description: Internal Server Error
  30801. schema:
  30802. $ref: '#/definitions/app.Response'
  30803. security:
  30804. - ApiKeyAuth: []
  30805. summary: 查询交收
  30806. tags:
  30807. - 仓单贸易v2
  30808. /WrTrade2/QueryWrDraftUserInfo:
  30809. get:
  30810. parameters:
  30811. - description: 用户ID
  30812. in: query
  30813. name: userid
  30814. required: true
  30815. type: integer
  30816. - description: 用户状态 1:正常 2:注销
  30817. in: query
  30818. name: userstatus
  30819. type: integer
  30820. produces:
  30821. - application/json
  30822. responses:
  30823. "200":
  30824. description: OK
  30825. schema:
  30826. items:
  30827. $ref: '#/definitions/models.WrDraftUserInfo'
  30828. type: array
  30829. "500":
  30830. description: Internal Server Error
  30831. schema:
  30832. $ref: '#/definitions/app.Response'
  30833. security:
  30834. - ApiKeyAuth: []
  30835. summary: 查询实名认证信息
  30836. tags:
  30837. - 仓单贸易v2
  30838. /WrTrade2/QueryWrFactorTypeInfo:
  30839. get:
  30840. parameters:
  30841. - description: 仓单要素id
  30842. in: query
  30843. name: wrfactortypeid
  30844. required: true
  30845. type: integer
  30846. produces:
  30847. - application/json
  30848. responses:
  30849. "200":
  30850. description: OK
  30851. schema:
  30852. items:
  30853. $ref: '#/definitions/models.WrFactorTypeInfo'
  30854. type: array
  30855. "500":
  30856. description: Internal Server Error
  30857. schema:
  30858. $ref: '#/definitions/app.Response'
  30859. security:
  30860. - ApiKeyAuth: []
  30861. summary: 查询仓单要素详细信息
  30862. tags:
  30863. - 仓单贸易v2
  30864. /WrTrade2/QueryWrFactorTypeInfoEx:
  30865. get:
  30866. parameters:
  30867. - description: 仓单要素id
  30868. in: query
  30869. name: wrfactortypeid
  30870. required: true
  30871. type: integer
  30872. produces:
  30873. - application/json
  30874. responses:
  30875. "200":
  30876. description: OK
  30877. schema:
  30878. items:
  30879. $ref: '#/definitions/models.WrTypeItem'
  30880. type: array
  30881. "500":
  30882. description: Internal Server Error
  30883. schema:
  30884. $ref: '#/definitions/app.Response'
  30885. security:
  30886. - ApiKeyAuth: []
  30887. summary: 查询仓单要素详细信息列表项
  30888. tags:
  30889. - 仓单贸易v2
  30890. /WrTrade2/QueryWrFinanceBuyApply:
  30891. get:
  30892. description: 页面 融资信息+ / 申请单
  30893. parameters:
  30894. - description: 用户id
  30895. in: query
  30896. name: userid
  30897. required: true
  30898. type: integer
  30899. produces:
  30900. - application/json
  30901. responses:
  30902. "200":
  30903. description: OK
  30904. schema:
  30905. items:
  30906. $ref: '#/definitions/models.WrFinanceBuyApply'
  30907. type: array
  30908. "500":
  30909. description: Internal Server Error
  30910. schema:
  30911. $ref: '#/definitions/app.Response'
  30912. security:
  30913. - ApiKeyAuth: []
  30914. summary: 查询融资购买申请
  30915. tags:
  30916. - 仓单贸易v2
  30917. /WrTrade2/QueryWrFriendApply:
  30918. get:
  30919. parameters:
  30920. - description: 用户id
  30921. in: query
  30922. name: userid
  30923. required: true
  30924. type: integer
  30925. produces:
  30926. - application/json
  30927. responses:
  30928. "200":
  30929. description: OK
  30930. schema:
  30931. items:
  30932. $ref: '#/definitions/models.WrFriendApply'
  30933. type: array
  30934. "500":
  30935. description: Internal Server Error
  30936. schema:
  30937. $ref: '#/definitions/app.Response'
  30938. security:
  30939. - ApiKeyAuth: []
  30940. summary: 查询好友申请记录
  30941. tags:
  30942. - 仓单贸易v2
  30943. /WrTrade2/QueryWrGoodsInfo:
  30944. get:
  30945. parameters:
  30946. - description: 仓单贸易市场id
  30947. in: query
  30948. name: marketid
  30949. type: integer
  30950. - description: 0:仓单预售 1:仓单贸易
  30951. in: query
  30952. name: haswr
  30953. required: true
  30954. type: integer
  30955. - description: 仓单要素id
  30956. in: query
  30957. name: wrfactortypeid
  30958. required: true
  30959. type: integer
  30960. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  30961. in: query
  30962. name: tmplateid
  30963. type: integer
  30964. produces:
  30965. - application/json
  30966. responses:
  30967. "200":
  30968. description: OK
  30969. schema:
  30970. items:
  30971. $ref: '#/definitions/models.WrGoodsInfo'
  30972. type: array
  30973. "500":
  30974. description: Internal Server Error
  30975. schema:
  30976. $ref: '#/definitions/app.Response'
  30977. security:
  30978. - ApiKeyAuth: []
  30979. summary: 查询仓单商品信息
  30980. tags:
  30981. - 仓单贸易v2
  30982. /WrTrade2/QueryWrMarketTradeConfig:
  30983. get:
  30984. parameters:
  30985. - description: 市场id
  30986. in: query
  30987. name: marketid
  30988. type: integer
  30989. produces:
  30990. - application/json
  30991. responses:
  30992. "200":
  30993. description: OK
  30994. schema:
  30995. items:
  30996. $ref: '#/definitions/models.WrMarketTradeConfig'
  30997. type: array
  30998. "500":
  30999. description: Internal Server Error
  31000. schema:
  31001. $ref: '#/definitions/app.Response'
  31002. security:
  31003. - ApiKeyAuth: []
  31004. summary: 查询市场交易参数配置
  31005. tags:
  31006. - 仓单贸易v2
  31007. /WrTrade2/QueryWrOrderDetail:
  31008. get:
  31009. description: 页面 现货仓单 | 预售仓单 -> 委托单
  31010. parameters:
  31011. - description: 页码
  31012. in: query
  31013. name: page
  31014. type: integer
  31015. - description: 每页条数
  31016. in: query
  31017. name: pagesize
  31018. type: integer
  31019. - description: 用户id
  31020. in: query
  31021. name: userid
  31022. required: true
  31023. type: integer
  31024. - description: 仓单贸易市场id
  31025. in: query
  31026. name: marketid
  31027. type: integer
  31028. - description: 0:仓单预售 1:仓单贸易
  31029. in: query
  31030. name: haswr
  31031. required: true
  31032. type: integer
  31033. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  31034. in: query
  31035. name: bcancel
  31036. type: integer
  31037. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  31038. in: query
  31039. name: wrtradetype
  31040. type: integer
  31041. - description: 开始交易日(yyyymmdd)
  31042. in: query
  31043. name: begindate
  31044. type: string
  31045. - description: 结束交易日(yyyymmdd)
  31046. in: query
  31047. name: enddate
  31048. type: string
  31049. produces:
  31050. - application/json
  31051. responses:
  31052. "200":
  31053. description: OK
  31054. schema:
  31055. items:
  31056. $ref: '#/definitions/models.WrOrderDetail'
  31057. type: array
  31058. "500":
  31059. description: Internal Server Error
  31060. schema:
  31061. $ref: '#/definitions/app.Response'
  31062. security:
  31063. - ApiKeyAuth: []
  31064. summary: 查询仓单委托单
  31065. tags:
  31066. - 仓单贸易v2
  31067. /WrTrade2/QueryWrOutInApply:
  31068. get:
  31069. parameters:
  31070. - description: 用户id
  31071. in: query
  31072. name: userid
  31073. required: true
  31074. type: integer
  31075. - description: 开始交易日(yyyymmdd)
  31076. in: query
  31077. name: begindate
  31078. type: string
  31079. - description: 结束交易日(yyyymmdd)
  31080. in: query
  31081. name: enddate
  31082. type: string
  31083. produces:
  31084. - application/json
  31085. responses:
  31086. "200":
  31087. description: OK
  31088. schema:
  31089. items:
  31090. $ref: '#/definitions/models.WrOutInApply'
  31091. type: array
  31092. "500":
  31093. description: Internal Server Error
  31094. schema:
  31095. $ref: '#/definitions/app.Response'
  31096. security:
  31097. - ApiKeyAuth: []
  31098. summary: 查询提货申请
  31099. tags:
  31100. - 仓单贸易v2
  31101. /WrTrade2/QueryWrPerformancePlanStep:
  31102. get:
  31103. parameters:
  31104. - description: 履约计划id(performanceplanid)
  31105. in: query
  31106. name: planid
  31107. required: true
  31108. type: integer
  31109. - description: 当前步骤id
  31110. in: query
  31111. name: curstepid
  31112. type: integer
  31113. produces:
  31114. - application/json
  31115. responses:
  31116. "200":
  31117. description: OK
  31118. schema:
  31119. items:
  31120. $ref: '#/definitions/models.WrPerformancePlanStep'
  31121. type: array
  31122. "500":
  31123. description: Internal Server Error
  31124. schema:
  31125. $ref: '#/definitions/app.Response'
  31126. security:
  31127. - ApiKeyAuth: []
  31128. summary: 查询履约信息详情
  31129. tags:
  31130. - 仓单贸易v2
  31131. /WrTrade2/QueryWrPerformanceStepType:
  31132. get:
  31133. produces:
  31134. - application/json
  31135. responses:
  31136. "200":
  31137. description: OK
  31138. schema:
  31139. items:
  31140. $ref: '#/definitions/models.WrPerformanceStepType'
  31141. type: array
  31142. "500":
  31143. description: Internal Server Error
  31144. schema:
  31145. $ref: '#/definitions/app.Response'
  31146. security:
  31147. - ApiKeyAuth: []
  31148. summary: 查询履约步骤枚举
  31149. tags:
  31150. - 仓单贸易v2
  31151. /WrTrade2/QueryWrPosition:
  31152. get:
  31153. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  31154. parameters:
  31155. - description: 用户id
  31156. in: query
  31157. name: userid
  31158. required: true
  31159. type: integer
  31160. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  31161. in: query
  31162. name: querytype
  31163. required: true
  31164. type: integer
  31165. - description: 0:仓单预售 1:仓单贸易
  31166. in: query
  31167. name: haswr
  31168. required: true
  31169. type: integer
  31170. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31171. in: query
  31172. name: dgitemname
  31173. type: string
  31174. - description: 仓库id(筛选条件)
  31175. in: query
  31176. name: warehouseid
  31177. type: integer
  31178. - description: 品种id
  31179. in: query
  31180. name: deliverygoodsid
  31181. type: integer
  31182. - description: 品类id
  31183. in: query
  31184. name: wrstandardid
  31185. type: integer
  31186. produces:
  31187. - application/json
  31188. responses:
  31189. "200":
  31190. description: OK
  31191. schema:
  31192. items:
  31193. $ref: '#/definitions/models.WrPosition'
  31194. type: array
  31195. "500":
  31196. description: Internal Server Error
  31197. schema:
  31198. $ref: '#/definitions/app.Response'
  31199. security:
  31200. - ApiKeyAuth: []
  31201. summary: 查询现货(预售)仓单持仓
  31202. tags:
  31203. - 仓单贸易v2
  31204. /WrTrade2/QueryWrPreSaleInfo:
  31205. get:
  31206. parameters:
  31207. - description: 市场id
  31208. in: query
  31209. name: marketid
  31210. type: integer
  31211. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31212. in: query
  31213. name: presalestatus
  31214. type: string
  31215. - description: 摇号标识 - 0:未摇号 1:已摇号
  31216. in: query
  31217. name: lotteryflag
  31218. type: integer
  31219. - description: 最近多少条记录(按创建时间倒序)
  31220. in: query
  31221. name: lastnum
  31222. type: integer
  31223. produces:
  31224. - application/json
  31225. responses:
  31226. "200":
  31227. description: OK
  31228. schema:
  31229. items:
  31230. $ref: '#/definitions/models.WrPreSaleInfo'
  31231. type: array
  31232. "500":
  31233. description: Internal Server Error
  31234. schema:
  31235. $ref: '#/definitions/app.Response'
  31236. security:
  31237. - ApiKeyAuth: []
  31238. summary: 查询新品发布
  31239. tags:
  31240. - 仓单贸易v2
  31241. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31242. get:
  31243. parameters:
  31244. - description: 市场id
  31245. in: query
  31246. name: marketid
  31247. required: true
  31248. type: integer
  31249. - description: 现货商品id
  31250. in: query
  31251. name: wrstandardid
  31252. required: true
  31253. type: integer
  31254. - description: 开始交易日(yyyymmdd)
  31255. in: query
  31256. name: begindate
  31257. type: string
  31258. - description: 结束交易日(yyyymmdd)
  31259. in: query
  31260. name: enddate
  31261. type: string
  31262. - description: 最近多少条记录(按交易日倒序)
  31263. in: query
  31264. name: lastnum
  31265. type: integer
  31266. - description: 是否今日
  31267. in: query
  31268. name: istoday
  31269. type: boolean
  31270. produces:
  31271. - application/json
  31272. responses:
  31273. "200":
  31274. description: OK
  31275. schema:
  31276. items:
  31277. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31278. type: array
  31279. "500":
  31280. description: Internal Server Error
  31281. schema:
  31282. $ref: '#/definitions/app.Response'
  31283. security:
  31284. - ApiKeyAuth: []
  31285. summary: 查询价格走势
  31286. tags:
  31287. - 仓单贸易v2
  31288. /WrTrade2/QueryWrScfContract:
  31289. get:
  31290. parameters:
  31291. - description: 用户id
  31292. in: query
  31293. name: userid
  31294. required: true
  31295. type: integer
  31296. - description: 融资合同id
  31297. in: query
  31298. name: scfcontractid
  31299. type: integer
  31300. produces:
  31301. - application/json
  31302. responses:
  31303. "200":
  31304. description: OK
  31305. schema:
  31306. items:
  31307. $ref: '#/definitions/models.WrScfContract'
  31308. type: array
  31309. "500":
  31310. description: Internal Server Error
  31311. schema:
  31312. $ref: '#/definitions/app.Response'
  31313. security:
  31314. - ApiKeyAuth: []
  31315. summary: 查询仓单贸易融资合同
  31316. tags:
  31317. - 仓单贸易v2
  31318. /WrTrade2/QueryWrScfContractInterest:
  31319. get:
  31320. parameters:
  31321. - description: 融资合同id
  31322. in: query
  31323. name: scfcontractid
  31324. type: integer
  31325. produces:
  31326. - application/json
  31327. responses:
  31328. "200":
  31329. description: OK
  31330. schema:
  31331. items:
  31332. $ref: '#/definitions/models.WrScfContractInterest'
  31333. type: array
  31334. "500":
  31335. description: Internal Server Error
  31336. schema:
  31337. $ref: '#/definitions/app.Response'
  31338. security:
  31339. - ApiKeyAuth: []
  31340. summary: 查询融资合同费用明细
  31341. tags:
  31342. - 仓单贸易v2
  31343. /WrTrade2/QueryWrSearchUser:
  31344. get:
  31345. parameters:
  31346. - description: 用户名称(模糊匹配)
  31347. in: query
  31348. name: username
  31349. required: true
  31350. type: string
  31351. produces:
  31352. - application/json
  31353. responses:
  31354. "200":
  31355. description: OK
  31356. schema:
  31357. items:
  31358. $ref: '#/definitions/models.WrSearchUser'
  31359. type: array
  31360. "500":
  31361. description: Internal Server Error
  31362. schema:
  31363. $ref: '#/definitions/app.Response'
  31364. security:
  31365. - ApiKeyAuth: []
  31366. summary: 查询用户
  31367. tags:
  31368. - 仓单贸易v2
  31369. /WrTrade2/QueryWrSpecialMatchOrder:
  31370. get:
  31371. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  31372. parameters:
  31373. - description: 页码
  31374. in: query
  31375. name: page
  31376. type: integer
  31377. - description: 每页条数
  31378. in: query
  31379. name: pagesize
  31380. type: integer
  31381. - description: 用户id
  31382. in: query
  31383. name: userid
  31384. required: true
  31385. type: integer
  31386. - description: 仓单贸易市场id
  31387. in: query
  31388. name: marketid
  31389. type: integer
  31390. - description: 0:仓单预售 1:仓单贸易
  31391. in: query
  31392. name: haswr
  31393. required: true
  31394. type: integer
  31395. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  31396. in: query
  31397. name: isspecified
  31398. type: integer
  31399. produces:
  31400. - application/json
  31401. responses:
  31402. "200":
  31403. description: OK
  31404. schema:
  31405. items:
  31406. $ref: '#/definitions/models.WrSpecialMatchOrder'
  31407. type: array
  31408. "500":
  31409. description: Internal Server Error
  31410. schema:
  31411. $ref: '#/definitions/app.Response'
  31412. security:
  31413. - ApiKeyAuth: []
  31414. summary: 查询指定成交
  31415. tags:
  31416. - 仓单贸易v2
  31417. /WrTrade2/QueryWrStandardFactoryItem:
  31418. get:
  31419. parameters:
  31420. - description: 品类id
  31421. in: query
  31422. name: wrstandardid
  31423. required: true
  31424. type: integer
  31425. produces:
  31426. - application/json
  31427. responses:
  31428. "200":
  31429. description: OK
  31430. schema:
  31431. items:
  31432. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  31433. type: array
  31434. "500":
  31435. description: Internal Server Error
  31436. schema:
  31437. $ref: '#/definitions/app.Response'
  31438. security:
  31439. - ApiKeyAuth: []
  31440. summary: 查询品类要素定义项
  31441. tags:
  31442. - 仓单贸易v2
  31443. /WrTrade2/QueryWrTradeBargainApply:
  31444. get:
  31445. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  31446. 议价->对方议价 填写matchuserid=登录用户id
  31447. parameters:
  31448. - description: 议价人id(摘牌方)
  31449. in: query
  31450. name: userid
  31451. type: integer
  31452. - description: 挂牌方id(查对方议价时,填写此项)
  31453. in: query
  31454. name: matchuserid
  31455. type: integer
  31456. - description: 关联委托单id
  31457. in: query
  31458. name: wrtradeorderid
  31459. type: integer
  31460. - description: 0:仓单预售 1:仓单贸易
  31461. in: query
  31462. name: haswr
  31463. required: true
  31464. type: integer
  31465. - description: 开始交易日(yyyymmdd)
  31466. in: query
  31467. name: begindate
  31468. type: string
  31469. - description: 结束交易日(yyyymmdd)
  31470. in: query
  31471. name: enddate
  31472. type: string
  31473. produces:
  31474. - application/json
  31475. responses:
  31476. "200":
  31477. description: OK
  31478. schema:
  31479. items:
  31480. $ref: '#/definitions/models.WRTradeBargainApply'
  31481. type: array
  31482. "500":
  31483. description: Internal Server Error
  31484. schema:
  31485. $ref: '#/definitions/app.Response'
  31486. security:
  31487. - ApiKeyAuth: []
  31488. summary: 查询议价单
  31489. tags:
  31490. - 仓单贸易v2
  31491. /WrTrade2/QueryWrTradeDetail:
  31492. get:
  31493. parameters:
  31494. - description: 页码
  31495. in: query
  31496. name: page
  31497. type: integer
  31498. - description: 每页条数
  31499. in: query
  31500. name: pagesize
  31501. type: integer
  31502. - description: 用户id
  31503. in: query
  31504. name: userid
  31505. required: true
  31506. type: integer
  31507. - description: 仓单贸易市场id
  31508. in: query
  31509. name: marketid
  31510. type: integer
  31511. - description: 0:仓单预售 1:仓单贸易
  31512. in: query
  31513. name: haswr
  31514. required: true
  31515. type: integer
  31516. - description: 开始交易日(yyyymmdd)
  31517. in: query
  31518. name: begindate
  31519. type: string
  31520. - description: 结束交易日(yyyymmdd)
  31521. in: query
  31522. name: enddate
  31523. type: string
  31524. produces:
  31525. - application/json
  31526. responses:
  31527. "200":
  31528. description: OK
  31529. schema:
  31530. items:
  31531. $ref: '#/definitions/models.WrTradeDetail'
  31532. type: array
  31533. "500":
  31534. description: Internal Server Error
  31535. schema:
  31536. $ref: '#/definitions/app.Response'
  31537. security:
  31538. - ApiKeyAuth: []
  31539. summary: 查询仓单成交明细
  31540. tags:
  31541. - 仓单贸易v2
  31542. /WrTrade2/QueryWrTradeOrderDetail:
  31543. get:
  31544. parameters:
  31545. - description: 页码
  31546. in: query
  31547. name: page
  31548. type: integer
  31549. - description: 每页条数
  31550. in: query
  31551. name: pagesize
  31552. type: integer
  31553. - description: 商品id
  31554. in: query
  31555. name: goodsid
  31556. required: true
  31557. type: integer
  31558. - description: 买卖方向 0-买 1-卖
  31559. in: query
  31560. name: buyorsell
  31561. required: true
  31562. type: integer
  31563. produces:
  31564. - application/json
  31565. responses:
  31566. "200":
  31567. description: OK
  31568. schema:
  31569. items:
  31570. $ref: '#/definitions/models.WrTradeOrderDetail'
  31571. type: array
  31572. "500":
  31573. description: Internal Server Error
  31574. schema:
  31575. $ref: '#/definitions/app.Response'
  31576. security:
  31577. - ApiKeyAuth: []
  31578. summary: 查询合约交易买卖大厅
  31579. tags:
  31580. - 仓单贸易v2
  31581. /WrTrade2/QueryWrTradeQuote:
  31582. get:
  31583. parameters:
  31584. - description: 现货商品id
  31585. in: query
  31586. name: wrstandardid
  31587. required: true
  31588. type: integer
  31589. - description: 开始日期(yyyymmdd)
  31590. in: query
  31591. name: begindate
  31592. required: true
  31593. type: string
  31594. - description: 结束日期(yyyymmdd)
  31595. in: query
  31596. name: enddate
  31597. required: true
  31598. type: string
  31599. - description: 市场id
  31600. in: query
  31601. name: marketid
  31602. type: integer
  31603. produces:
  31604. - application/json
  31605. responses:
  31606. "200":
  31607. description: OK
  31608. schema:
  31609. items:
  31610. $ref: '#/definitions/models.Wrtradetradequote'
  31611. type: array
  31612. "500":
  31613. description: Internal Server Error
  31614. schema:
  31615. $ref: '#/definitions/app.Response'
  31616. security:
  31617. - ApiKeyAuth: []
  31618. summary: 查询仓单贸易成交行情
  31619. tags:
  31620. - 仓单贸易v2
  31621. /WrTrade2/QueryWrUserFriend:
  31622. get:
  31623. parameters:
  31624. - description: 用户id
  31625. in: query
  31626. name: userid
  31627. required: true
  31628. type: integer
  31629. - description: 新朋友userid, 如果填写了此项则查找新朋友
  31630. in: query
  31631. name: newuserid
  31632. type: integer
  31633. produces:
  31634. - application/json
  31635. responses:
  31636. "200":
  31637. description: OK
  31638. schema:
  31639. items:
  31640. $ref: '#/definitions/models.WrUserFriend'
  31641. type: array
  31642. "500":
  31643. description: Internal Server Error
  31644. schema:
  31645. $ref: '#/definitions/app.Response'
  31646. security:
  31647. - ApiKeyAuth: []
  31648. summary: 查询我的朋友
  31649. tags:
  31650. - 仓单贸易v2
  31651. /WrTrade2/QueryWrUserReceiptInfo:
  31652. get:
  31653. parameters:
  31654. - description: 用户id
  31655. in: query
  31656. name: userid
  31657. type: integer
  31658. - description: 发票类型 - 1:个人 2:企业
  31659. in: query
  31660. name: receipttype
  31661. type: integer
  31662. produces:
  31663. - application/json
  31664. responses:
  31665. "200":
  31666. description: OK
  31667. schema:
  31668. items:
  31669. $ref: '#/definitions/models.WrUserReceiptInfo'
  31670. type: array
  31671. "500":
  31672. description: Internal Server Error
  31673. schema:
  31674. $ref: '#/definitions/app.Response'
  31675. security:
  31676. - ApiKeyAuth: []
  31677. summary: 查询发票信息
  31678. tags:
  31679. - 仓单贸易v2
  31680. /WrTrade2/QueryXhcpSellBackApply:
  31681. get:
  31682. parameters:
  31683. - description: 用户ID
  31684. in: query
  31685. name: userid
  31686. required: true
  31687. type: integer
  31688. produces:
  31689. - application/json
  31690. responses:
  31691. "200":
  31692. description: OK
  31693. schema:
  31694. items:
  31695. $ref: '#/definitions/models.Xhcpsellbackapply'
  31696. type: array
  31697. "500":
  31698. description: Internal Server Error
  31699. schema:
  31700. $ref: '#/definitions/app.Response'
  31701. security:
  31702. - ApiKeyAuth: []
  31703. summary: 查询我的回收申请(新会陈皮)
  31704. tags:
  31705. - 仓单贸易v2
  31706. /ZJ/GetBankTip:
  31707. get:
  31708. produces:
  31709. - application/json
  31710. responses:
  31711. "200":
  31712. description: OK
  31713. schema:
  31714. type: string
  31715. "500":
  31716. description: Internal Server Error
  31717. schema:
  31718. $ref: '#/definitions/app.Response'
  31719. summary: 获取中江网银端出入金提示信息
  31720. tags:
  31721. - 中江
  31722. /ZJ/GetCusBankChannels:
  31723. get:
  31724. produces:
  31725. - application/json
  31726. responses:
  31727. "200":
  31728. description: OK
  31729. schema:
  31730. items:
  31731. type: string
  31732. type: array
  31733. "500":
  31734. description: Internal Server Error
  31735. schema:
  31736. $ref: '#/definitions/app.Response'
  31737. summary: 获取中江出入金渠道显示列表
  31738. tags:
  31739. - 中江
  31740. securityDefinitions:
  31741. ApiKeyAuth:
  31742. in: header
  31743. name: Authorization
  31744. type: apiKey
  31745. swagger: "2.0"