swagger.yaml 886 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagedetailpath:
  126. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  127. type: string
  128. imagepath:
  129. description: 图片
  130. type: string
  131. imagetype:
  132. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  133. type: integer
  134. isshow:
  135. description: 是否展示 - 0:不展示 1:展示
  136. type: integer
  137. marketid:
  138. description: 市场ID
  139. type: integer
  140. modifierid:
  141. description: 操作人
  142. type: integer
  143. sort:
  144. description: 排序
  145. type: integer
  146. title:
  147. description: 标题
  148. type: string
  149. trademode:
  150. description: 交易模式
  151. type: integer
  152. updatedate:
  153. description: 修改时间
  154. type: string
  155. url:
  156. description: 链接(地址或商品ID)
  157. type: string
  158. urltype:
  159. description: 链接类型 - 1:直接地址 2:商品ID
  160. type: integer
  161. required:
  162. - configid
  163. type: object
  164. common.QueryNoticeRsp:
  165. properties:
  166. auditoruserid:
  167. description: 审核人
  168. type: integer
  169. auditremark:
  170. description: 审核备注
  171. type: string
  172. audittime:
  173. description: 审核日期
  174. type: string
  175. autoid:
  176. description: 自增ID
  177. type: integer
  178. content:
  179. description: 内容
  180. type: string
  181. createtime:
  182. description: 创建时间
  183. type: string
  184. creatorid:
  185. description: 建仓人
  186. type: integer
  187. endtime:
  188. description: 结束时间
  189. type: string
  190. istop:
  191. description: 是否置顶 - 0:不置顶 1:置顶
  192. type: integer
  193. msgiconurl:
  194. description: 消息图标Url
  195. type: string
  196. msgtype:
  197. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  198. type: integer
  199. publisher:
  200. description: 消息发布者
  201. type: string
  202. readed:
  203. description: 是否已读
  204. type: boolean
  205. scheduletime:
  206. description: 计划发送时间
  207. type: string
  208. sendtype:
  209. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  210. type: integer
  211. sentstatus:
  212. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  213. type: integer
  214. title:
  215. description: 标题
  216. type: string
  217. userid:
  218. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  219. type: integer
  220. required:
  221. - autoid
  222. type: object
  223. common.QueryProvincesAndCitiesRsp:
  224. properties:
  225. cities:
  226. description: 市
  227. items:
  228. $ref: '#/definitions/models.Division'
  229. type: array
  230. province:
  231. $ref: '#/definitions/models.Division'
  232. description: 省
  233. type: object
  234. common.QueryTableDefineRsp:
  235. properties:
  236. columns:
  237. description: 列头信息数组
  238. items:
  239. $ref: '#/definitions/models.Tablecolumnconfig'
  240. type: array
  241. remark:
  242. description: Remark
  243. type: string
  244. tabelmenu:
  245. description: 列表菜单
  246. type: string
  247. tablekey:
  248. description: 列表Key
  249. type: string
  250. tablename:
  251. description: 列表名称
  252. type: string
  253. tabletype:
  254. description: 列表类型 - 1:管理端 2:终端
  255. type: integer
  256. required:
  257. - tablekey
  258. type: object
  259. common.QueryTraderMenuRsp:
  260. properties:
  261. OperationMenu:
  262. description: 功能菜单
  263. items:
  264. $ref: '#/definitions/models.OperationPrimaryMenu'
  265. type: array
  266. QuoteMenu:
  267. description: 报价牌分类菜单
  268. items:
  269. $ref: '#/definitions/models.QuotePrimaryMenu'
  270. type: array
  271. type: object
  272. cptrade.Cptradepositioncancel:
  273. properties:
  274. accountid:
  275. description: 申请人账户ID
  276. type: integer
  277. applystatus:
  278. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  279. type: integer
  280. applytime:
  281. description: 申请时间
  282. type: string
  283. cancelid:
  284. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  285. type: integer
  286. cancelqty:
  287. description: 注销数量
  288. type: integer
  289. createtime:
  290. description: 创建时间
  291. type: string
  292. creatorid:
  293. description: 创建人ID
  294. type: integer
  295. creatorname:
  296. description: 创建人
  297. type: string
  298. goodscode:
  299. description: 订单商品代码
  300. type: string
  301. goodsid:
  302. description: 商品ID
  303. type: integer
  304. goodsname:
  305. description: 订单商品名称
  306. type: string
  307. goodunit:
  308. description: 报价单位
  309. type: string
  310. handlestatus:
  311. description: 处理状态
  312. type: integer
  313. marketid:
  314. description: 市场ID
  315. type: integer
  316. marketname:
  317. description: 市场名称
  318. type: string
  319. tradedate:
  320. description: 交易日(yyyyMMdd)
  321. type: string
  322. userid:
  323. description: 申请人ID
  324. type: integer
  325. required:
  326. - cancelid
  327. type: object
  328. cptrade.Cptradepresaleapply:
  329. properties:
  330. accountid:
  331. description: 申请人账户ID
  332. type: integer
  333. applyid:
  334. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  335. type: integer
  336. applyremark:
  337. description: 申请备注
  338. type: string
  339. applystatus:
  340. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  341. type: integer
  342. applytime:
  343. description: 申请时间
  344. type: string
  345. attachmenturl:
  346. description: 附件地址
  347. type: string
  348. endtime:
  349. description: 预售结束时间
  350. type: string
  351. goodscode:
  352. description: 商品代码
  353. type: string
  354. goodsid:
  355. description: 商品ID
  356. type: integer
  357. goodsname:
  358. description: 商品名称
  359. type: string
  360. goodunit:
  361. description: 报价单位
  362. type: string
  363. handlestatus:
  364. description: 处理状态
  365. type: integer
  366. marketid:
  367. description: 预售市场ID
  368. type: integer
  369. marketname:
  370. description: 预售市场名称
  371. type: string
  372. presaleqty:
  373. description: 预售数量
  374. type: integer
  375. relatedgoodscode:
  376. description: 关联交易合约代码
  377. type: string
  378. relatedgoodsid:
  379. description: 关联交易合约ID
  380. type: integer
  381. relatedgoodsname:
  382. description: 关联交易合约名称
  383. type: string
  384. starttime:
  385. description: 预售开始时间
  386. type: string
  387. tradedate:
  388. description: 交易日(yyyyMMdd)
  389. type: string
  390. trademode:
  391. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  392. type: integer
  393. userid:
  394. description: 申请人ID
  395. type: integer
  396. required:
  397. - applyid
  398. type: object
  399. cptrade.Cptradeusergoodsdata:
  400. properties:
  401. EnabledQty:
  402. description: 可用量
  403. type: integer
  404. GoodsCode:
  405. description: 订单商品代码
  406. type: string
  407. GoodsName:
  408. description: 订单商品名称
  409. type: string
  410. WRStandardCode:
  411. description: 仓单标准代码
  412. type: string
  413. WRStandardName:
  414. description: 仓单标准名称
  415. type: string
  416. accountid:
  417. description: 账户ID
  418. type: integer
  419. cancelqty:
  420. description: 注销量
  421. type: integer
  422. curpresaleqty:
  423. description: 当前预售量
  424. type: integer
  425. deliveryqty:
  426. description: 交割量
  427. type: integer
  428. freezeamount:
  429. description: 冻结金额
  430. type: number
  431. goodsid:
  432. description: 商品ID
  433. type: integer
  434. goodunit:
  435. description: 报价单位
  436. type: string
  437. hasspotfreeze:
  438. description: 是否有现货冻结 - 0:否 1:有
  439. type: integer
  440. inqty:
  441. description: 转入量(总数量)
  442. type: integer
  443. marketid:
  444. description: 市场ID
  445. type: integer
  446. presaledamount:
  447. description: 已预售总金额
  448. type: integer
  449. presaledqty:
  450. description: 已预售量
  451. type: integer
  452. userid:
  453. description: 用户ID
  454. type: integer
  455. wrstandardid:
  456. description: 仓单标准ID
  457. type: integer
  458. required:
  459. - accountid
  460. - goodsid
  461. type: object
  462. cptrade.QueryCPTradeMyBidRsp:
  463. properties:
  464. accountid:
  465. description: 账户ID[报价币种]
  466. type: integer
  467. goodsid:
  468. description: 商品ID
  469. type: integer
  470. goodunit:
  471. description: 报价单位
  472. type: string
  473. marketid:
  474. description: 市场ID
  475. type: integer
  476. orderid:
  477. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  478. type: integer
  479. orderprice:
  480. description: 委托价格
  481. type: number
  482. orderqty:
  483. description: 委托数量
  484. type: integer
  485. ordertime:
  486. description: 委托时间
  487. type: string
  488. ordertotalprice:
  489. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  490. type: number
  491. ordertotalweight:
  492. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  493. type: integer
  494. totaltotalprice:
  495. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  496. type: number
  497. tradeprice:
  498. description: 成交价格
  499. type: number
  500. tradeqty:
  501. description: 成交数量
  502. type: integer
  503. required:
  504. - accountid
  505. - goodsid
  506. - marketid
  507. - orderid
  508. - orderqty
  509. - ordertime
  510. - tradeprice
  511. - tradeqty
  512. type: object
  513. cptrade.QueryCPTradeOrderDetailRsq:
  514. properties:
  515. accountid:
  516. description: 账户ID[报价币种]
  517. type: integer
  518. buildtype:
  519. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  520. type: integer
  521. buyorsell:
  522. description: 买卖 - 0:买 1:卖
  523. type: integer
  524. cancelorderid:
  525. description: 撤单单号(撤单时填写)
  526. type: integer
  527. cancelqty:
  528. description: 撤单数量
  529. type: integer
  530. clientordertime:
  531. description: 客户端委托时间
  532. type: string
  533. clientticket:
  534. description: 客户端流水号
  535. type: string
  536. clienttype:
  537. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  538. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  539. type: integer
  540. closeexchagechargevalue:
  541. description: 平仓交易所手续费设置值
  542. type: number
  543. closefeealgorithm:
  544. description: 平仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. closefreezecharge:
  547. description: 平仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. closememberchargevalue:
  550. description: 平仓会员手续费设置值
  551. type: number
  552. closeqty:
  553. description: 平仓数量(先建后平操作 需要记录)
  554. type: integer
  555. closetradeqty:
  556. description: 平仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. closeunfreezecharge:
  559. description: 平仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. delistingtype:
  562. description: 摘牌类型 - 1:价格最优 2:点选成交
  563. type: integer
  564. freezecharge:
  565. description: 冻结手续费
  566. type: number
  567. freezemargin:
  568. description: 冻结保证金(冻结交易金额)
  569. type: number
  570. gcaccountid:
  571. description: 账户ID[合约币种]
  572. type: integer
  573. goodsid:
  574. description: 商品ID
  575. type: integer
  576. isconfirmexercise:
  577. description: 是否确认行权- 0:否 1:是
  578. type: integer
  579. ispreexercise:
  580. description: 是否预申报- 0:否 1:是
  581. type: integer
  582. listingselecttype:
  583. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  584. type: integer
  585. marginalgorithm:
  586. description: 保证金收取方式 1:比率 2:固定
  587. type: integer
  588. marginvalue:
  589. description: 即市保证金设置值
  590. type: number
  591. marketid:
  592. description: 市场ID
  593. type: integer
  594. marketmaxsub:
  595. description: 市价最大偏移范围
  596. type: number
  597. memberuserid:
  598. description: 所属会员UserID
  599. type: integer
  600. openexchagechargevalue:
  601. description: 建仓交易所手续费设置值
  602. type: number
  603. openfeealgorithm:
  604. description: 建仓手续费收取方式 1:比率 2:固定
  605. type: integer
  606. openfreezecharge:
  607. description: 开仓冻结手续费(先建后平操作,需要记录)
  608. type: number
  609. openmemberchargevalue:
  610. description: 建仓会员手续费设置值
  611. type: number
  612. openqty:
  613. description: 开仓数量(先建后平操作,需要记录)
  614. type: integer
  615. opentradeqty:
  616. description: 开仓成交数量(先建后平操作,需要记录)
  617. type: integer
  618. openunfreezecharge:
  619. description: 开仓解冻手续费(先建后平操作,需要记录)
  620. type: number
  621. operatetype:
  622. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  623. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  624. 15:管理端协议转让
  625. type: integer
  626. operatorid:
  627. description: 登录账号(LoginID)
  628. type: integer
  629. optiontype:
  630. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  631. type: integer
  632. orderprice:
  633. description: 委托价格
  634. type: number
  635. orderqty:
  636. description: 委托数量
  637. type: integer
  638. ordersrc:
  639. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  640. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  641. type: integer
  642. orderstatus:
  643. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  644. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  645. 16:成交失败违约(荷兰式竞拍专用)
  646. type: integer
  647. ordertime:
  648. description: 委托时间
  649. type: string
  650. preexerciseprice:
  651. description: 预申报价格
  652. type: number
  653. premium:
  654. description: 权利金
  655. type: number
  656. preorderid:
  657. description: 关联预埋单号(止盈止损单时填写)
  658. type: integer
  659. pricemode:
  660. description: '取价方式 - 1:市价 2: 限价'
  661. type: integer
  662. quoteid:
  663. description: 报价单ID
  664. type: integer
  665. relatedid:
  666. description: 关联单号(交割单)
  667. type: integer
  668. retcode:
  669. description: 错误代码
  670. type: integer
  671. sessionid:
  672. description: 会话ID
  673. type: integer
  674. strorderid:
  675. description: 委托单号
  676. type: string
  677. tradedate:
  678. description: 交易日(yyyyMMdd)
  679. type: string
  680. tradeproperty:
  681. description: 交易属性
  682. type: integer
  683. tradeqty:
  684. description: 成交数量
  685. type: integer
  686. unfreezecharge:
  687. description: 解冻手续费
  688. type: number
  689. unfreezemargin:
  690. description: 解冻保证金
  691. type: number
  692. updatetime:
  693. description: 更新时间
  694. type: string
  695. uuid:
  696. description: 发起端唯一id
  697. type: string
  698. validtime:
  699. description: 有效期限
  700. type: string
  701. validtype:
  702. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  703. type: integer
  704. volumetype:
  705. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  706. type: integer
  707. required:
  708. - accountid
  709. - buildtype
  710. - buyorsell
  711. - goodsid
  712. - marketid
  713. - memberuserid
  714. - operatetype
  715. - orderqty
  716. - ordertime
  717. - pricemode
  718. - strorderid
  719. - tradedate
  720. - validtype
  721. type: object
  722. cptrade.QueryMyCPTradeGoodsRsp:
  723. properties:
  724. accountid:
  725. description: 卖方账户ID
  726. type: integer
  727. agreeunit:
  728. description: 合约单位
  729. type: number
  730. applyid:
  731. description: 关联申请ID
  732. type: integer
  733. attachmenturl:
  734. description: 附件地址
  735. type: string
  736. createtime:
  737. description: 创建时间
  738. type: string
  739. currencyid:
  740. description: 报价货币ID
  741. type: integer
  742. decimalplace:
  743. description: 报价小数位
  744. type: integer
  745. endtime:
  746. description: 预售结束时间
  747. type: string
  748. floorprice:
  749. description: 底价[大宗式竞拍]
  750. type: number
  751. goodscode:
  752. description: 商品代码(预售)
  753. type: string
  754. goodsdetail:
  755. description: 详情[大宗]
  756. type: string
  757. goodsid:
  758. description: 商品ID(自增ID SEQ_GOODS)
  759. type: integer
  760. goodsname:
  761. description: 商品名称(预售)
  762. type: string
  763. goodunit:
  764. description: 报价单位
  765. type: string
  766. goodunitid:
  767. description: 报价单位ID
  768. type: integer
  769. marketid:
  770. description: 所属市场ID
  771. type: integer
  772. marketname:
  773. description: 预售市场名称
  774. type: string
  775. presaledamount:
  776. description: 已预售总金额(预售结束时更新)
  777. type: number
  778. presaledqty:
  779. description: 已预售量(预售结束时更新)
  780. type: integer
  781. presalemode:
  782. description: 预售模式 - 1:一口价 2:大宗式竞拍
  783. type: integer
  784. presaleqty:
  785. description: 预售数量
  786. type: integer
  787. refprice:
  788. description: 参考价格[一口价]
  789. type: number
  790. relatedgoodscode:
  791. description: 商品代码(订单)
  792. type: string
  793. relatedgoodsid:
  794. description: 关联交易合约ID
  795. type: integer
  796. relatedgoodsname:
  797. description: 商品名称(订单)
  798. type: string
  799. relatedmarketid:
  800. description: 关联交易合约市场ID
  801. type: integer
  802. sellstatus:
  803. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  804. type: integer
  805. startprice:
  806. description: 起拍价[大宗式竞拍]
  807. type: number
  808. starttime:
  809. description: 预售开始时间
  810. type: string
  811. tradedate:
  812. description: 交易日(yyyyMMdd)
  813. type: string
  814. tradeprice:
  815. description: 成交价[大宗]
  816. type: number
  817. userid:
  818. description: 卖方用户ID
  819. type: integer
  820. required:
  821. - goodscode
  822. - goodsid
  823. - goodsname
  824. - marketid
  825. - relatedgoodscode
  826. - relatedgoodsname
  827. type: object
  828. cptrade.QueryPresaleGoodsExRsp:
  829. properties:
  830. attachmenturl:
  831. description: 附件地址
  832. type: string
  833. createtime:
  834. description: 创建时间
  835. type: string
  836. endtime:
  837. description: 预售结束时间
  838. type: string
  839. floorprice:
  840. description: 底价[大宗式竞拍]
  841. type: number
  842. goodsdetail:
  843. description: 详情[大宗]
  844. type: string
  845. goodsid:
  846. description: 商品ID(预售)
  847. type: integer
  848. goodunit:
  849. description: 报价单位
  850. type: string
  851. marketid:
  852. description: 预售市场ID - 根据预售模式选择市场
  853. type: integer
  854. presaledamount:
  855. description: 已预售总金额(预售结束时更新)
  856. type: number
  857. presaledqty:
  858. description: 已预售量(预售结束时更新)
  859. type: integer
  860. presalemode:
  861. description: 预售模式 - 1:一口价 2:大宗式竞拍
  862. type: integer
  863. presaleqty:
  864. description: 预售数量
  865. type: integer
  866. refprice:
  867. description: 参考价格[一口价]
  868. type: number
  869. relatedgoodsid:
  870. description: 关联交易合约ID
  871. type: integer
  872. relatedmarketid:
  873. description: 关联交易合约市场ID
  874. type: integer
  875. sellstatus:
  876. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  877. type: integer
  878. startprice:
  879. description: 起拍价[大宗式竞拍]
  880. type: number
  881. starttime:
  882. description: 预售开始时间
  883. type: string
  884. tradedate:
  885. description: 交易日(yyyyMMdd)
  886. type: string
  887. tradeprice:
  888. description: 成交价[大宗]
  889. type: number
  890. required:
  891. - goodsid
  892. type: object
  893. delivery.QueryDeliveryRelationRsp:
  894. properties:
  895. begindate:
  896. description: 起始日期(yyyyMMdd)
  897. type: string
  898. buytemplateid:
  899. description: 买履约计划模板ID
  900. type: integer
  901. deliverygoodscode:
  902. description: 品种代码
  903. type: string
  904. deliverygoodsid:
  905. description: 交割商品
  906. type: integer
  907. deliverygoodsname:
  908. description: 品种名称
  909. type: string
  910. deliverymode:
  911. description: 交割方式 - 1:点选式 2:申报式
  912. type: integer
  913. deliverypricerule:
  914. description: 交割价规则- 1:行情价 2:建仓价
  915. type: integer
  916. deliverytype:
  917. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  918. type: integer
  919. enddate:
  920. description: 结束日期(yyyyMMdd)
  921. type: string
  922. enumdicname:
  923. description: 品类单位名称
  924. type: string
  925. goodscode:
  926. description: 商品代码
  927. type: string
  928. goodsid:
  929. description: 交易合约ID
  930. type: integer
  931. goodsname:
  932. description: 商品名称
  933. type: string
  934. marketid:
  935. description: 市场ID
  936. type: integer
  937. mindeliveryqty:
  938. description: 最小交割系数(K)
  939. type: integer
  940. p2deliveryprice:
  941. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  942. type: number
  943. p2deliveryratio:
  944. description: P2合约系数(p)
  945. type: integer
  946. p2goodsid:
  947. description: P2合约ID
  948. type: integer
  949. p2pricemode:
  950. description: P2合约价格方式 - 1:商品价 2:固定值
  951. type: integer
  952. pdeliveryprice:
  953. description: P合约价格(商品价时填写0,固定值时填写固定值)
  954. type: number
  955. pdeliveryratio:
  956. description: P合约系数(n)
  957. type: integer
  958. pgoodscode:
  959. description: p合约代码
  960. type: string
  961. pgoodsid:
  962. description: P合约ID
  963. type: integer
  964. ppricemode:
  965. description: P合约价格方式 - 1:商品价 2:固定值
  966. type: integer
  967. rratio:
  968. description: 兑换系数(R)
  969. type: integer
  970. rratio1:
  971. description: 兑换系数(交易合约)(R1)
  972. type: integer
  973. rratio2:
  974. description: 兑换系数(仓单标准)(R2)
  975. type: integer
  976. selltemplateid:
  977. description: 卖履约计划模板ID
  978. type: integer
  979. wrstandardid:
  980. description: 仓单标准ID
  981. type: integer
  982. xdeliveryratio:
  983. description: 交易合约系数(m)
  984. type: integer
  985. required:
  986. - begindate
  987. - enddate
  988. - goodsid
  989. - mindeliveryqty
  990. - xdeliveryratio
  991. type: object
  992. ermcp.ExposureDetailRsp:
  993. properties:
  994. areauserid:
  995. description: 机构ID
  996. type: integer
  997. changeQty:
  998. description: 套保变动量
  999. type: number
  1000. contracttype:
  1001. description: 现货合同类型 - 1:采购 -1:销售
  1002. type: integer
  1003. convertfactor:
  1004. description: 标仓系数
  1005. type: number
  1006. convertratio:
  1007. description: 套保系数
  1008. type: number
  1009. createtime:
  1010. description: 时间
  1011. type: string
  1012. enumdicname:
  1013. description: 现货商品单位名称
  1014. type: string
  1015. logtype:
  1016. description: 类型 - 1:套保计划 2:现货合同
  1017. type: integer
  1018. middlegoodsId:
  1019. description: 套保商品id
  1020. type: integer
  1021. middlegoodscode:
  1022. description: 套保商品代码
  1023. type: string
  1024. middlegoodsname:
  1025. description: 套保商品名称
  1026. type: string
  1027. qty:
  1028. description: 数量
  1029. type: number
  1030. relateNo:
  1031. description: 现货合同/套保计划编号
  1032. type: string
  1033. wrstandardcode:
  1034. description: 现货商品代码
  1035. type: string
  1036. wrstandardid:
  1037. description: 现货商品ID
  1038. type: integer
  1039. wrstandardname:
  1040. description: 现货商品名称
  1041. type: string
  1042. type: object
  1043. ermcp.ExposureHedgePosDetailRsp:
  1044. properties:
  1045. buyorsell:
  1046. description: 买卖方向 0-买 1-卖
  1047. type: integer
  1048. channelbuildtype:
  1049. description: 开平方向 1-建仓 2-平仓
  1050. type: integer
  1051. goodscode:
  1052. description: 商品代码
  1053. type: string
  1054. goodsname:
  1055. description: 商品名称
  1056. type: string
  1057. hedgegoodsid:
  1058. description: 商品id
  1059. type: integer
  1060. tradeqty:
  1061. description: 数量(成交数量)
  1062. type: integer
  1063. tradetime:
  1064. description: 时间(成交时间)
  1065. type: string
  1066. type: object
  1067. ermcp.ExposureHedgePositionRsp:
  1068. properties:
  1069. accountid:
  1070. description: 资金账号[外部母账户]
  1071. type: integer
  1072. curbuyposition:
  1073. description: 期末买头寸
  1074. type: integer
  1075. cursellposition:
  1076. description: 期末卖头寸
  1077. type: integer
  1078. curtdbuyposition:
  1079. description: 期末今日买头寸
  1080. type: integer
  1081. curtdsellposition:
  1082. description: 期末今日卖头寸
  1083. type: integer
  1084. curydbuyposition:
  1085. description: 期末上日买头寸
  1086. type: integer
  1087. curydsellposition:
  1088. description: 期末上日卖头寸
  1089. type: integer
  1090. decreaseqty:
  1091. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1092. type: integer
  1093. fretdbuyposition:
  1094. description: 冻结今日买头寸
  1095. type: integer
  1096. fretdsellposition:
  1097. description: 冻结今日卖头寸
  1098. type: integer
  1099. freydbuyposition:
  1100. description: 冻结上日买头寸
  1101. type: integer
  1102. freydsellposition:
  1103. description: 冻结上日卖头寸
  1104. type: integer
  1105. goodscode:
  1106. description: 商品代码
  1107. type: string
  1108. goodsid:
  1109. description: 商品id
  1110. type: integer
  1111. goodsname:
  1112. description: 商品名称
  1113. type: string
  1114. hedgeaccountcode:
  1115. description: 对冲账号
  1116. type: string
  1117. hedgegoodsid:
  1118. description: 对冲合约ID
  1119. type: integer
  1120. increaseqty:
  1121. description: 增加数量 = 期末买头寸 - 期初买头寸
  1122. type: integer
  1123. marketid:
  1124. description: 市场ID
  1125. type: integer
  1126. relateduserid:
  1127. description: 关联用户id
  1128. type: integer
  1129. totalcurqty:
  1130. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1131. type: integer
  1132. totalydqty:
  1133. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1134. type: integer
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. ydbuyposition:
  1139. description: 期初买头寸
  1140. type: integer
  1141. ydsellposition:
  1142. description: 期初卖头寸
  1143. type: integer
  1144. type: object
  1145. ermcp.ExposureSpotDetailRsp:
  1146. properties:
  1147. contracttype:
  1148. description: 合同类型 1-采购 -1-销售
  1149. type: integer
  1150. createtime:
  1151. description: 创建时间
  1152. type: string
  1153. enumdicname:
  1154. description: 现货商品单位名称
  1155. type: string
  1156. logtype:
  1157. description: 记录类型 1-套保 2-现货合同
  1158. type: integer
  1159. qty:
  1160. description: 数量
  1161. type: number
  1162. recordname:
  1163. description: 类型名称
  1164. type: string
  1165. relatedid:
  1166. description: 套保计划ID/现货合同ID
  1167. type: string
  1168. relatedno:
  1169. description: 编号
  1170. type: string
  1171. strtime:
  1172. description: 时间
  1173. type: string
  1174. wrstandardcode:
  1175. description: 现货商品代码
  1176. type: string
  1177. wrstandardname:
  1178. description: 现货商品名称
  1179. type: string
  1180. type: object
  1181. ermcp.ExposureSpotRsp:
  1182. properties:
  1183. areauserid:
  1184. description: 所属机构
  1185. type: integer
  1186. decreaseqty:
  1187. description: 减少数量=-(销售已定价数量+采购计划数量)
  1188. type: number
  1189. increaseqty:
  1190. description: 增加数量=销售计划数量+采购已定价数量
  1191. type: number
  1192. oritoalspotqty:
  1193. description: 昨日数量
  1194. type: number
  1195. totalspotqty:
  1196. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1197. type: number
  1198. updatetime:
  1199. description: 更新时间
  1200. type: string
  1201. wrstandardcode:
  1202. description: 现货品种代码
  1203. type: string
  1204. wrstandardid:
  1205. description: 现货商品ID
  1206. type: integer
  1207. wrstandardname:
  1208. description: 现货品种
  1209. type: string
  1210. type: object
  1211. ermcp.HisExposureRsp:
  1212. properties:
  1213. data:
  1214. description: 历史敞口
  1215. items:
  1216. $ref: '#/definitions/models.ErmcpHisExposure'
  1217. type: array
  1218. enumdicname:
  1219. description: 单位名称
  1220. type: string
  1221. middlegoodscode:
  1222. description: 套保品种代码
  1223. type: string
  1224. middlegoodsid:
  1225. description: 套保品种ID
  1226. type: integer
  1227. middlegoodsname:
  1228. description: 套保品种名称
  1229. type: string
  1230. type: object
  1231. ermcp.PendingAuditCntRsp:
  1232. properties:
  1233. areastockqty:
  1234. description: '待审核数量: 库存申请'
  1235. type: integer
  1236. businessdjqty:
  1237. description: '待审核数量: 点价'
  1238. type: integer
  1239. businessfpqty:
  1240. description: '待审核数量: 发票'
  1241. type: integer
  1242. businessjsqty:
  1243. description: '待审核数量: 结算'
  1244. type: integer
  1245. businesskxqty:
  1246. description: '待审核数量: 款项'
  1247. type: integer
  1248. hedgeplanqty:
  1249. description: '待审核数量: 套保计划'
  1250. type: integer
  1251. spotcontractqty:
  1252. description: '待审核数量: 现货合同'
  1253. type: integer
  1254. userqty:
  1255. description: '待审核数量: 用户'
  1256. type: integer
  1257. type: object
  1258. ermcp.QryAvalidGPRsp:
  1259. properties:
  1260. goodsgroupid:
  1261. description: 期货品种id
  1262. type: integer
  1263. goodsgroupname:
  1264. description: 期货品种名称
  1265. type: string
  1266. goodunitid:
  1267. description: 品种单位id
  1268. type: integer
  1269. goodunitname:
  1270. description: 品种单位名称
  1271. type: string
  1272. outergroupcode:
  1273. description: 期货品种代码
  1274. type: string
  1275. type: object
  1276. ermcp.QryBusinessDjRsp:
  1277. properties:
  1278. amount:
  1279. description: 点价金额=(点价价格+升贴水)*点价数量
  1280. type: number
  1281. applyid:
  1282. description: 申请人
  1283. type: string
  1284. applyname:
  1285. description: 申请人名称
  1286. type: string
  1287. applystatus:
  1288. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1289. type: integer
  1290. applytime:
  1291. description: 申请时间
  1292. type: string
  1293. attachurl:
  1294. description: 附件
  1295. type: string
  1296. auditid:
  1297. description: 审核人ID
  1298. type: string
  1299. auditname:
  1300. description: 审核人名称
  1301. type: string
  1302. auditremark:
  1303. description: 审核备注
  1304. type: string
  1305. audittime:
  1306. description: 审核时间
  1307. type: string
  1308. buyusername:
  1309. description: 采购方名称
  1310. type: string
  1311. contractno:
  1312. description: 合同编号
  1313. type: string
  1314. contractstatus:
  1315. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1316. type: integer
  1317. contracttype:
  1318. description: 现货合同类型 - 1:采购 -1:销售
  1319. type: integer
  1320. deliverygoodscode:
  1321. description: 现货品种代码
  1322. type: string
  1323. deliverygoodsid:
  1324. description: 现货商品ID
  1325. type: integer
  1326. deliverygoodsname:
  1327. description: 现货品种名称
  1328. type: string
  1329. enumdicname:
  1330. description: 单位名称
  1331. type: string
  1332. goodscode:
  1333. description: 点价合约
  1334. type: string
  1335. goodsname:
  1336. description: 商品名称
  1337. type: string
  1338. operateapplyid:
  1339. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1340. type: string
  1341. operateapplytype:
  1342. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1343. type: integer
  1344. pricedPrice:
  1345. description: 点价价格(非必填)
  1346. type: number
  1347. pricedQty:
  1348. description: 点价数量(非必填)
  1349. type: number
  1350. pricemove:
  1351. description: 升贴水
  1352. type: number
  1353. pricetype:
  1354. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1355. type: integer
  1356. relatedid:
  1357. description: 现货合同ID
  1358. type: string
  1359. sellusername:
  1360. description: 销售方名字
  1361. type: string
  1362. userid:
  1363. description: 用户ID
  1364. type: integer
  1365. wrstandardcode:
  1366. description: 品类代码
  1367. type: string
  1368. wrstandardid:
  1369. description: 品类id
  1370. type: integer
  1371. wrstandardname:
  1372. description: 品类名称
  1373. type: string
  1374. type: object
  1375. ermcp.QryBussinessFpRsp:
  1376. properties:
  1377. applyid:
  1378. description: 申请人
  1379. type: string
  1380. applyname:
  1381. description: 申请人名称
  1382. type: string
  1383. applystatus:
  1384. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1385. type: integer
  1386. applytime:
  1387. description: 申请时间
  1388. type: string
  1389. attachurl:
  1390. description: 附件
  1391. type: string
  1392. auditid:
  1393. description: 审核人ID
  1394. type: string
  1395. auditname:
  1396. description: 审核人名称
  1397. type: string
  1398. auditremark:
  1399. description: 审核备注
  1400. type: string
  1401. audittime:
  1402. description: 审核时间
  1403. type: string
  1404. buyusername:
  1405. description: 采购方名称
  1406. type: string
  1407. contractno:
  1408. description: 合同编号
  1409. type: string
  1410. contractstatus:
  1411. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1412. type: integer
  1413. contracttype:
  1414. description: 现货合同类型 - 1:采购 -1:销售
  1415. type: integer
  1416. deliverygoodscode:
  1417. description: 现货品种代码
  1418. type: string
  1419. deliverygoodsid:
  1420. description: 现货商品ID
  1421. type: integer
  1422. deliverygoodsname:
  1423. description: 现货品种名称
  1424. type: string
  1425. enumdicname:
  1426. description: 单位名称
  1427. type: string
  1428. goodscode:
  1429. description: 点价合约
  1430. type: string
  1431. goodsname:
  1432. description: 商品名称
  1433. type: string
  1434. invoiceamount:
  1435. description: 已开收票金额(销售为开票,采购为收票)
  1436. type: number
  1437. operateapplyid:
  1438. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1439. type: string
  1440. operateapplytype:
  1441. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1442. type: integer
  1443. pricemove:
  1444. description: 升贴水
  1445. type: number
  1446. pricetype:
  1447. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1448. type: integer
  1449. relatedid:
  1450. description: 现货合同ID
  1451. type: string
  1452. sellusername:
  1453. description: 销售方名字
  1454. type: string
  1455. userid:
  1456. description: 用户ID
  1457. type: integer
  1458. wrstandardcode:
  1459. description: 品类代码
  1460. type: string
  1461. wrstandardid:
  1462. description: 品类id
  1463. type: integer
  1464. wrstandardname:
  1465. description: 品类名称
  1466. type: string
  1467. type: object
  1468. ermcp.QryBussinessJsExRsp:
  1469. properties:
  1470. applyid:
  1471. description: 申请人
  1472. type: string
  1473. applyname:
  1474. description: 申请人名称
  1475. type: string
  1476. applystatus:
  1477. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1478. type: integer
  1479. applytime:
  1480. description: 申请时间
  1481. type: string
  1482. attachurl:
  1483. description: 附件
  1484. type: string
  1485. auditid:
  1486. description: 审核人ID
  1487. type: string
  1488. auditname:
  1489. description: 审核人名称
  1490. type: string
  1491. auditremark:
  1492. description: 审核备注
  1493. type: string
  1494. audittime:
  1495. description: 审核时间
  1496. type: string
  1497. buyusername:
  1498. description: 采购方名称
  1499. type: string
  1500. contractno:
  1501. description: 合同编号
  1502. type: string
  1503. contractstatus:
  1504. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1505. type: integer
  1506. contracttype:
  1507. description: 现货合同类型 - 1:采购 -1:销售
  1508. type: integer
  1509. deliverygoodscode:
  1510. description: 现货品种代码
  1511. type: string
  1512. deliverygoodsid:
  1513. description: 现货商品ID
  1514. type: integer
  1515. deliverygoodsname:
  1516. description: 现货品种名称
  1517. type: string
  1518. enumdicname:
  1519. description: 单位名称
  1520. type: string
  1521. goodscode:
  1522. description: 点价合约
  1523. type: string
  1524. goodsname:
  1525. description: 商品名称
  1526. type: string
  1527. operateapplyid:
  1528. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1529. type: string
  1530. operateapplytype:
  1531. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1532. type: integer
  1533. pricemove:
  1534. description: 升贴水
  1535. type: number
  1536. pricetype:
  1537. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1538. type: integer
  1539. reckontype:
  1540. description: 结算类型
  1541. type: string
  1542. reckonvalue:
  1543. description: 值
  1544. type: number
  1545. relatedid:
  1546. description: 现货合同ID
  1547. type: string
  1548. sellusername:
  1549. description: 销售方名字
  1550. type: string
  1551. userid:
  1552. description: 用户ID
  1553. type: integer
  1554. wrstandardcode:
  1555. description: 品类代码
  1556. type: string
  1557. wrstandardid:
  1558. description: 品类id
  1559. type: integer
  1560. wrstandardname:
  1561. description: 品类名称
  1562. type: string
  1563. type: object
  1564. ermcp.QryBussinessJsRsp:
  1565. properties:
  1566. addmargin:
  1567. description: 追加保证金(非必填)
  1568. type: number
  1569. applyid:
  1570. description: 申请人
  1571. type: string
  1572. applyname:
  1573. description: 申请人名称
  1574. type: string
  1575. applystatus:
  1576. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1577. type: integer
  1578. applytime:
  1579. description: 申请时间
  1580. type: string
  1581. attachurl:
  1582. description: 附件
  1583. type: string
  1584. auditid:
  1585. description: 审核人ID
  1586. type: string
  1587. auditname:
  1588. description: 审核人名称
  1589. type: string
  1590. auditremark:
  1591. description: 审核备注
  1592. type: string
  1593. audittime:
  1594. description: 审核时间
  1595. type: string
  1596. buyusername:
  1597. description: 采购方名称
  1598. type: string
  1599. contractno:
  1600. description: 合同编号
  1601. type: string
  1602. contractstatus:
  1603. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1604. type: integer
  1605. contracttype:
  1606. description: 现货合同类型 - 1:采购 -1:销售
  1607. type: integer
  1608. decmargin:
  1609. description: 减少保证金(非必填)
  1610. type: number
  1611. deliverygoodscode:
  1612. description: 现货品种代码
  1613. type: string
  1614. deliverygoodsid:
  1615. description: 现货商品ID
  1616. type: integer
  1617. deliverygoodsname:
  1618. description: 现货品种名称
  1619. type: string
  1620. enumdicname:
  1621. description: 单位名称
  1622. type: string
  1623. goodscode:
  1624. description: 点价合约
  1625. type: string
  1626. goodsname:
  1627. description: 商品名称
  1628. type: string
  1629. operateapplyid:
  1630. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1631. type: string
  1632. operateapplytype:
  1633. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1634. type: integer
  1635. pricemove:
  1636. description: 升贴水
  1637. type: number
  1638. pricetype:
  1639. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1640. type: integer
  1641. reckonadjustamount:
  1642. description: 结算调整金额(非必填)
  1643. type: number
  1644. reckonosamount:
  1645. description: 结算溢短金额(非必填)
  1646. type: number
  1647. reckonotheramount:
  1648. description: 结算其他费用(非必填)
  1649. type: number
  1650. reckonrealqty:
  1651. description: 结算实际数量(非必填)
  1652. type: number
  1653. relatedid:
  1654. description: 现货合同ID
  1655. type: string
  1656. sellusername:
  1657. description: 销售方名字
  1658. type: string
  1659. userid:
  1660. description: 用户ID
  1661. type: integer
  1662. wrstandardcode:
  1663. description: 品类代码
  1664. type: string
  1665. wrstandardid:
  1666. description: 品类id
  1667. type: integer
  1668. wrstandardname:
  1669. description: 品类名称
  1670. type: string
  1671. type: object
  1672. ermcp.QryBussinessKxRsp:
  1673. properties:
  1674. applyid:
  1675. description: 申请人
  1676. type: string
  1677. applyname:
  1678. description: 申请人名称
  1679. type: string
  1680. applystatus:
  1681. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1682. type: integer
  1683. applytime:
  1684. description: 申请时间
  1685. type: string
  1686. attachurl:
  1687. description: 附件
  1688. type: string
  1689. auditid:
  1690. description: 审核人ID
  1691. type: string
  1692. auditname:
  1693. description: 审核人名称
  1694. type: string
  1695. auditremark:
  1696. description: 审核备注
  1697. type: string
  1698. audittime:
  1699. description: 审核时间
  1700. type: string
  1701. buyusername:
  1702. description: 采购方名称
  1703. type: string
  1704. contractno:
  1705. description: 合同编号
  1706. type: string
  1707. contractstatus:
  1708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1709. type: integer
  1710. contracttype:
  1711. description: 现货合同类型 - 1:采购 -1:销售
  1712. type: integer
  1713. deductamount:
  1714. description: 退款(非必填)
  1715. type: number
  1716. deliverygoodscode:
  1717. description: 现货品种代码
  1718. type: string
  1719. deliverygoodsid:
  1720. description: 现货商品ID
  1721. type: integer
  1722. deliverygoodsname:
  1723. description: 现货品种名称
  1724. type: string
  1725. enumdicname:
  1726. description: 单位名称
  1727. type: string
  1728. goodscode:
  1729. description: 点价合约
  1730. type: string
  1731. goodsname:
  1732. description: 商品名称
  1733. type: string
  1734. kxtype:
  1735. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1736. type: integer
  1737. operateapplyid:
  1738. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1739. type: string
  1740. operateapplytype:
  1741. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1742. type: integer
  1743. payamount:
  1744. description: 收付款(非必填)
  1745. type: number
  1746. pricemove:
  1747. description: 升贴水
  1748. type: number
  1749. pricetype:
  1750. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1751. type: integer
  1752. relatedid:
  1753. description: 现货合同ID
  1754. type: string
  1755. sellusername:
  1756. description: 销售方名字
  1757. type: string
  1758. userid:
  1759. description: 用户ID
  1760. type: integer
  1761. wrstandardcode:
  1762. description: 品类代码
  1763. type: string
  1764. wrstandardid:
  1765. description: 品类id
  1766. type: integer
  1767. wrstandardname:
  1768. description: 品类名称
  1769. type: string
  1770. type: object
  1771. ermcp.QryGGCovertCfgRsp:
  1772. properties:
  1773. convertratio:
  1774. description: 折算系数
  1775. type: number
  1776. destgoodsgroupid:
  1777. description: 目标品种ID
  1778. type: integer
  1779. dstcode:
  1780. description: 目录品种代码
  1781. type: string
  1782. dstexchangecode:
  1783. description: 目标期货交易所
  1784. type: string
  1785. dstname:
  1786. description: 目标品种名称
  1787. type: string
  1788. dstunitid:
  1789. description: 目标品种单位ID
  1790. type: integer
  1791. dstunitidname:
  1792. description: 目标品种单位名称
  1793. type: string
  1794. modifytime:
  1795. description: 修改时间
  1796. type: string
  1797. srccode:
  1798. description: 源品种代码
  1799. type: string
  1800. srcexchangecode:
  1801. description: 源期货交易所
  1802. type: string
  1803. srcgoodsgroupid:
  1804. description: 源品种ID
  1805. type: integer
  1806. srcname:
  1807. description: 源品种名称
  1808. type: string
  1809. srcunitid:
  1810. description: 源品种单位ID
  1811. type: integer
  1812. srcunitidname:
  1813. description: 源品种单位名称
  1814. type: string
  1815. type: object
  1816. ermcp.QryMGChangeLogRsp:
  1817. properties:
  1818. aftervalue:
  1819. description: 变更后
  1820. type: number
  1821. applyid:
  1822. description: 操作人
  1823. type: integer
  1824. applyname:
  1825. description: 操作人名称
  1826. type: string
  1827. applysrc:
  1828. description: 操作来源 - 1:管理端 2:终端
  1829. type: integer
  1830. beforevalue:
  1831. description: 变更前
  1832. type: number
  1833. changelogtype:
  1834. description: 变更流水类型 - 1:套保比率变更
  1835. type: integer
  1836. handlestatus:
  1837. description: 处理状态
  1838. type: integer
  1839. logdatetime:
  1840. description: 流水日期
  1841. type: string
  1842. logid:
  1843. description: 流水ID
  1844. type: integer
  1845. logremark:
  1846. description: 流水备注
  1847. type: string
  1848. middlegoodsid:
  1849. description: 套保品种ID
  1850. type: integer
  1851. tradedate:
  1852. description: 交易日(yyyyMMdd)
  1853. type: string
  1854. updatetime:
  1855. description: 更新时间
  1856. type: string
  1857. type: object
  1858. ermcp.QryMiddleGoodsDetailRsp:
  1859. properties:
  1860. cvList:
  1861. description: 期货品种折算列表
  1862. items:
  1863. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1864. type: array
  1865. mg:
  1866. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1867. description: 套保品种基本信息
  1868. wrcList:
  1869. description: 现货品种列表(现货商品折算配置)
  1870. items:
  1871. $ref: '#/definitions/models.WRSConverTDetail'
  1872. type: array
  1873. type: object
  1874. ermcp.QryMiddleGoodsRsp:
  1875. properties:
  1876. areauserid:
  1877. description: 机构用户ID
  1878. type: integer
  1879. createtime:
  1880. description: 修改时间
  1881. type: string
  1882. enumdicname:
  1883. description: 单位名称
  1884. type: string
  1885. evaluateratio:
  1886. description: 估价系数
  1887. type: number
  1888. goodsgroupid:
  1889. description: 关联期货品种ID
  1890. type: integer
  1891. goodsunitid:
  1892. description: 单位ID
  1893. type: integer
  1894. isvalid:
  1895. description: 状态 0-无效(停用) 1-有效(正常)
  1896. type: integer
  1897. middlegoodscode:
  1898. description: 套保品种代码
  1899. type: string
  1900. middlegoodsid:
  1901. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1902. type: integer
  1903. middlegoodsname:
  1904. description: 套保品种名称
  1905. type: string
  1906. modifytime:
  1907. description: 修改时间
  1908. type: string
  1909. needarbitrageratio:
  1910. description: 套利比例
  1911. type: number
  1912. needhedgeratio:
  1913. description: 套保比率
  1914. type: number
  1915. qtydecimalplace:
  1916. description: 数量小数位
  1917. type: integer
  1918. relatedgoodsid:
  1919. description: 关联交易商品ID
  1920. type: integer
  1921. relatedgoodstype:
  1922. description: 关联商品类型 - 1:期货合约 2:现货品种
  1923. type: integer
  1924. remark:
  1925. description: 备注
  1926. type: string
  1927. type: object
  1928. ermcp.QryOPLogRsp:
  1929. properties:
  1930. aftervalue:
  1931. description: 变更后
  1932. type: number
  1933. applyid:
  1934. description: 操作人ID
  1935. type: string
  1936. applyname:
  1937. description: 操作人名称
  1938. type: string
  1939. beforevalue:
  1940. description: 变更前
  1941. type: number
  1942. biztype:
  1943. description: 业务类型 - 1:套保计划 2:现货合同
  1944. type: integer
  1945. contracttype:
  1946. description: 现货合同类型 - 1:采购 -1:销售
  1947. type: integer
  1948. logvalue:
  1949. description: 数值
  1950. type: number
  1951. operatelogtype:
  1952. description: 操作流水类型
  1953. type: integer
  1954. operatelogtypedesc:
  1955. description: 操作流水类型名称
  1956. type: string
  1957. relatedid:
  1958. description: 现货合同ID\套保计划
  1959. type: string
  1960. updatetime:
  1961. description: 更新时间
  1962. type: string
  1963. type: object
  1964. ermcp.QryUserInfoRsp:
  1965. properties:
  1966. address:
  1967. description: 通讯地址
  1968. type: string
  1969. attachment1:
  1970. description: 附件1
  1971. type: string
  1972. audittime:
  1973. description: 审核时间
  1974. type: string
  1975. cardbackphotourl:
  1976. description: 证件反面图片地址
  1977. type: string
  1978. cardfrontphotourl:
  1979. description: 证件正面图片地址
  1980. type: string
  1981. cardnum:
  1982. description: 证件号码
  1983. type: string
  1984. cardtype:
  1985. description: 证件类型
  1986. type: integer
  1987. cardtypename:
  1988. description: 证件类型名称
  1989. type: string
  1990. cityid:
  1991. description: 市
  1992. type: integer
  1993. contactname:
  1994. description: 联系人
  1995. type: string
  1996. countryid:
  1997. description: 国家
  1998. type: integer
  1999. createtime:
  2000. description: 创建时间
  2001. type: string
  2002. customername:
  2003. description: 企业名称
  2004. type: string
  2005. districtid:
  2006. description: 区域
  2007. type: integer
  2008. email:
  2009. description: 邮件
  2010. type: string
  2011. legalpersonname:
  2012. description: 法人姓名(企业)
  2013. type: string
  2014. memberuserid:
  2015. description: 所属机构ID
  2016. type: integer
  2017. mobile:
  2018. description: 手机号码
  2019. type: string
  2020. modifytime:
  2021. description: 修改时间
  2022. type: string
  2023. nickname:
  2024. description: 昵称
  2025. type: string
  2026. provinceid:
  2027. description: 省
  2028. type: integer
  2029. remark:
  2030. description: 备注
  2031. type: string
  2032. status:
  2033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2034. type: integer
  2035. statusdesc:
  2036. description: 账户状态中文描述
  2037. type: string
  2038. taxpayernum:
  2039. description: 纳税人识别号
  2040. type: string
  2041. telphone:
  2042. description: 联系电话
  2043. type: string
  2044. userid:
  2045. description: 用户ID
  2046. type: integer
  2047. userinfotype:
  2048. description: 客户类型
  2049. type: string
  2050. type: object
  2051. ermcp.QryWarehouseRsp:
  2052. properties:
  2053. address:
  2054. description: 详细地址
  2055. type: string
  2056. areauserid:
  2057. description: 所属机构
  2058. type: integer
  2059. autoid:
  2060. description: 自增ID(仓库ID)
  2061. type: integer
  2062. cityid:
  2063. description: 市
  2064. type: integer
  2065. contactname:
  2066. description: 联系人
  2067. type: string
  2068. contactnum:
  2069. description: 联系电话
  2070. type: string
  2071. countryid:
  2072. description: 国家
  2073. type: integer
  2074. createtime:
  2075. description: 创建时间
  2076. type: string
  2077. districtid:
  2078. description: 区
  2079. type: integer
  2080. hasvideo:
  2081. description: 是否有视频 - 0:无 1:有
  2082. type: integer
  2083. provinceid:
  2084. description: 省
  2085. type: integer
  2086. remark:
  2087. description: 审核备注
  2088. type: string
  2089. videourl:
  2090. description: 视频地址
  2091. type: string
  2092. warehousecode:
  2093. description: 仓库代码
  2094. type: string
  2095. warehousename:
  2096. description: 仓库名称
  2097. type: string
  2098. warehousestatus:
  2099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2100. type: integer
  2101. warehousetype:
  2102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2103. type: integer
  2104. type: object
  2105. ermcp.QueryErmcpTradePositionRsp:
  2106. properties:
  2107. agreeunit:
  2108. description: 合约单位
  2109. type: number
  2110. buyorsell:
  2111. description: 方向 - 0:买 1:卖
  2112. type: integer
  2113. curpositionqty:
  2114. description: 持仓(总仓数量, 期末头寸)
  2115. type: integer
  2116. curtdposition:
  2117. description: 今仓数量(期末今日头寸)
  2118. type: integer
  2119. curtdpositionenabled:
  2120. description: 今仓可用
  2121. type: integer
  2122. decimalplace:
  2123. description: 报价小数位
  2124. type: integer
  2125. enableqty:
  2126. description: 可用(总仓可用)
  2127. type: integer
  2128. exexchangename:
  2129. description: 外部交易所名称
  2130. type: string
  2131. exexehangecode:
  2132. description: 外部交易所代码
  2133. type: string
  2134. exexehangeid:
  2135. description: 外部交易所id
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. last:
  2147. description: 现价
  2148. type: number
  2149. marketid:
  2150. description: 所属市场ID
  2151. type: integer
  2152. openaverageprice:
  2153. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2154. type: number
  2155. opencost:
  2156. description: 开仓成本
  2157. type: number
  2158. openpl:
  2159. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2160. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2161. type: number
  2162. outgoodscode:
  2163. description: 商品代码(外部)
  2164. type: string
  2165. positionaverageprice:
  2166. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2167. type: number
  2168. positioncost:
  2169. description: 持仓成本
  2170. type: number
  2171. positionpl:
  2172. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2173. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2174. type: number
  2175. positionplrate:
  2176. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2177. type: number
  2178. usedmargin:
  2179. description: 占用保证金
  2180. type: number
  2181. type: object
  2182. ermcp.RealtimeExposurePositionRsp:
  2183. properties:
  2184. agreeunit:
  2185. description: 合约单位
  2186. type: string
  2187. areauserid:
  2188. description: 所属机构id
  2189. type: integer
  2190. convertratio:
  2191. description: 期货品种系数(折算系数)
  2192. type: number
  2193. curhedgeqty:
  2194. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2195. type: number
  2196. curqty:
  2197. description: 当前持仓
  2198. type: integer
  2199. diffhedgeqty:
  2200. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2201. type: number
  2202. diffqty:
  2203. description: 持仓变动量=当前持仓-昨日持仓
  2204. type: integer
  2205. goodscode:
  2206. description: 商品代码
  2207. type: string
  2208. goodsid:
  2209. description: 商品id
  2210. type: integer
  2211. goodsname:
  2212. description: 商品名称
  2213. type: string
  2214. hedgeaccountcode:
  2215. description: 对冲账号(只有外部账号才有值)
  2216. type: string
  2217. middlegoodscode:
  2218. description: 套保商品代码
  2219. type: string
  2220. middlegoodsid:
  2221. description: 套保商品id
  2222. type: integer
  2223. middlegoodsname:
  2224. description: 套保商品名称
  2225. type: string
  2226. ydqty:
  2227. description: 昨日持仓
  2228. type: integer
  2229. type: object
  2230. ermcp.RealtimeExposureRsp:
  2231. properties:
  2232. AreaUserID:
  2233. description: 所属机构
  2234. type: integer
  2235. BuyFutureQty:
  2236. description: 买入期货数量
  2237. type: number
  2238. BuyPlanQty:
  2239. description: 采购计划数量
  2240. type: number
  2241. BuyPricedQty:
  2242. description: 采购合同已定价数量
  2243. type: number
  2244. MiddleGoodsCode:
  2245. description: 套保品种代码
  2246. type: string
  2247. MiddleGoodsHedgeRatio:
  2248. description: 套保比例
  2249. type: number
  2250. MiddleGoodsID:
  2251. description: 套保品种
  2252. type: integer
  2253. MiddleGoodsName:
  2254. description: 套保品种名称
  2255. type: string
  2256. NeedHedgeExposoure:
  2257. description: 应套保敞口(套保敞口)
  2258. type: number
  2259. NeedHedgeRatio:
  2260. description: 应套保敞口比例
  2261. type: number
  2262. OriBuyFutureQty:
  2263. description: 期初买入期货数量
  2264. type: number
  2265. OriBuyPlanQty:
  2266. description: 期初采购计划数量
  2267. type: number
  2268. OriBuyPricedQty:
  2269. description: 期初采购合同已定价数量
  2270. type: number
  2271. OriSellFutureQty:
  2272. description: 期初卖出期货数量
  2273. type: number
  2274. OriSellPlanQty:
  2275. description: 期初销售计划数量
  2276. type: number
  2277. OriSellPricedQty:
  2278. description: 期初销售合同已定价数量
  2279. type: number
  2280. OriTotalSpotQty:
  2281. description: 期初现货总量
  2282. type: number
  2283. SellFutureQty:
  2284. description: 卖出期货数量
  2285. type: number
  2286. SellPlanQty:
  2287. description: 销售计划数量
  2288. type: number
  2289. SellPricedQty:
  2290. description: 销售合同已定价数量
  2291. type: number
  2292. TotalExposure:
  2293. description: 总敞口 平安:净敞口
  2294. type: number
  2295. TotalFutureQty:
  2296. description: 期货总量 平安:保值净持仓量
  2297. type: number
  2298. TotalHedgeRatio:
  2299. description: 敞口比例
  2300. type: number
  2301. TotalNeedHedgeQty:
  2302. description: 应套保总量(现货应套保总量)
  2303. type: number
  2304. TotalSpotQty:
  2305. description: 现货总量 平安:采销定价净值
  2306. type: number
  2307. arbitrageqty:
  2308. description: 套利量
  2309. type: number
  2310. diffArbitrageQty:
  2311. description: 套利变动量
  2312. type: number
  2313. diffExposoureQty:
  2314. description: 变动量(套保敞口)
  2315. type: number
  2316. diffFutuQty:
  2317. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2318. type: number
  2319. diffHedgeQty:
  2320. description: 套保变动量
  2321. type: number
  2322. diffQty:
  2323. description: 变动量(总敞口) 平安:净敞口今日变动
  2324. type: number
  2325. diffSpotHedgeQty:
  2326. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2327. type: number
  2328. diffSpotQty:
  2329. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2330. type: number
  2331. enumdicname:
  2332. description: 单位名称
  2333. type: string
  2334. hedgeqty:
  2335. description: 套保量
  2336. type: number
  2337. needarbitrageqty:
  2338. description: 应套利量
  2339. type: number
  2340. needarbitrageratio:
  2341. description: 套利比例
  2342. type: number
  2343. needhedgeqty:
  2344. description: 应套保量
  2345. type: number
  2346. oriarbitrageqty:
  2347. description: 期初套利量
  2348. type: number
  2349. orihedgeqty:
  2350. description: 期初套保量
  2351. type: number
  2352. orineedhedgeexposoure:
  2353. description: 期初套保敞口
  2354. type: number
  2355. oritotalexposure:
  2356. description: 期初总敞口
  2357. type: number
  2358. oritotalfutureqty:
  2359. description: 期初期货总量
  2360. type: number
  2361. oritotalneedhedgeqty:
  2362. description: 期初现货应套保量
  2363. type: number
  2364. type: object
  2365. erms2.QueryArbitrageStrategyRsp:
  2366. properties:
  2367. applybasis:
  2368. description: 申请基差
  2369. type: number
  2370. asapplyid:
  2371. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2372. type: string
  2373. asname:
  2374. description: 策略名称
  2375. type: string
  2376. asno:
  2377. description: 策略编号
  2378. type: string
  2379. basischangepl:
  2380. description: 基差变动损益[结算更新]
  2381. type: number
  2382. biztype:
  2383. description: 业务类型 - 1:正向套利 -1:反向套利
  2384. type: integer
  2385. closetradedate:
  2386. description: 完结交易日(yyyyMMdd)
  2387. type: string
  2388. curbasis:
  2389. description: 当前基差[结算更新]
  2390. type: number
  2391. deliverygoodsid:
  2392. description: 现货品种ID
  2393. type: integer
  2394. futureavgprice:
  2395. description: 期货建仓均价
  2396. type: number
  2397. futurecloseamount:
  2398. description: 期货平仓金额
  2399. type: number
  2400. futurecloseqty:
  2401. description: 期货平仓数量
  2402. type: number
  2403. futureopenamount:
  2404. description: 期货开仓金额
  2405. type: number
  2406. futureopenqty:
  2407. description: 期货开仓数量
  2408. type: number
  2409. futurepl:
  2410. description: 期货总盈亏[结算更新]
  2411. type: number
  2412. futureqty:
  2413. description: 期货持仓数量
  2414. type: number
  2415. futurequote:
  2416. description: 期货额度
  2417. type: number
  2418. goodsgroupid:
  2419. description: 期货品种ID
  2420. type: integer
  2421. marketid:
  2422. description: 市场ID
  2423. type: integer
  2424. netexposure:
  2425. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2426. type: number
  2427. netexposurepl:
  2428. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2429. type: number
  2430. netexposurerate:
  2431. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2432. type: number
  2433. openbasis:
  2434. description: 建仓基差
  2435. type: number
  2436. pricedspotqty:
  2437. description: 已定价现货数量
  2438. type: number
  2439. pricedspotqtynotax:
  2440. description: 已定价现货不含税数量
  2441. type: number
  2442. remark:
  2443. description: 备注
  2444. type: string
  2445. spotavgprice:
  2446. description: 现货均价
  2447. type: number
  2448. spotbuyamount:
  2449. description: 现货采购金额
  2450. type: number
  2451. spotbuyqty:
  2452. description: 现货采购数量
  2453. type: number
  2454. spotpl:
  2455. description: 现货总盈亏[结算更新]
  2456. type: number
  2457. spotquota:
  2458. description: 现货额度
  2459. type: number
  2460. spotsellamount:
  2461. description: 现货销售金额
  2462. type: number
  2463. spotsellqty:
  2464. description: 现货销售数量
  2465. type: number
  2466. spotusedquota:
  2467. description: 现货占用资金
  2468. type: number
  2469. strategystatus:
  2470. description: 策略状态 - 0:未结束 1:已结束
  2471. type: integer
  2472. totalpl:
  2473. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2474. type: number
  2475. tradedate:
  2476. description: 交易日(yyyyMMdd)
  2477. type: string
  2478. updatetime:
  2479. description: 更新时间
  2480. type: string
  2481. usedquota:
  2482. description: 已占用资金
  2483. type: number
  2484. userid:
  2485. description: 所属机构
  2486. type: integer
  2487. required:
  2488. - asapplyid
  2489. type: object
  2490. erms2.QueryInnerTradeDetailRsp:
  2491. properties:
  2492. accountid:
  2493. description: 账号ID
  2494. type: integer
  2495. agreeunit:
  2496. description: 合约单位
  2497. type: number
  2498. asapplyid:
  2499. description: 策略申请ID
  2500. type: integer
  2501. asname:
  2502. description: 策略名称
  2503. type: string
  2504. asno:
  2505. description: 策略编号
  2506. type: string
  2507. buyorsell:
  2508. description: 方向 - 0:买 1:卖
  2509. type: integer
  2510. channelbuildtype:
  2511. description: 委托单据类型 0:无 1:建仓 2:平仓
  2512. type: integer
  2513. closetype:
  2514. description: 平仓方式 - 0:无 1:平今 2:平昨
  2515. type: integer
  2516. decimalplace:
  2517. description: 报价小数位
  2518. type: integer
  2519. detailtype:
  2520. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2521. type: integer
  2522. exexchangecode:
  2523. description: 外部交易所代码
  2524. type: string
  2525. exexchangename:
  2526. description: 外部交易所名称
  2527. type: string
  2528. goodscode:
  2529. description: 商品代码(合约)
  2530. type: string
  2531. goodsgroupid:
  2532. description: 商品组ID(品种ID)
  2533. type: integer
  2534. goodsgroupname:
  2535. description: 商品组名称(品种)
  2536. type: string
  2537. goodsid:
  2538. description: 商品ID
  2539. type: integer
  2540. goodsname:
  2541. description: 商品名称(合约)
  2542. type: string
  2543. goodunit:
  2544. description: 报价单位
  2545. type: string
  2546. marketid:
  2547. description: 市场ID
  2548. type: integer
  2549. orderid:
  2550. description: 委托单号
  2551. type: string
  2552. outgoodscode:
  2553. description: 商品代码(外部)
  2554. type: string
  2555. relatedouttradeid:
  2556. description: 关联外部成交单ID
  2557. type: string
  2558. remark:
  2559. description: 备注
  2560. type: string
  2561. spotcontractid:
  2562. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2563. type: integer
  2564. spotcontractno:
  2565. description: 现货合同编号
  2566. type: string
  2567. tradeid:
  2568. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2569. type: string
  2570. tradeprice:
  2571. description: 成交价格
  2572. type: number
  2573. tradeqty:
  2574. description: 成交数量
  2575. type: integer
  2576. tradetime:
  2577. description: 成交时间
  2578. type: string
  2579. updatetime:
  2580. description: 更新时间
  2581. type: string
  2582. required:
  2583. - asapplyid
  2584. - buyorsell
  2585. - goodscode
  2586. - goodsgroupid
  2587. - goodsgroupname
  2588. - goodsname
  2589. - tradeid
  2590. type: object
  2591. erms2.QuerySpotContractRsp:
  2592. properties:
  2593. accountid:
  2594. description: 资金账户ID
  2595. type: integer
  2596. areauserid:
  2597. description: 所属机构
  2598. type: integer
  2599. closedate:
  2600. description: 终止日期
  2601. type: string
  2602. closeremark:
  2603. description: 结束备注
  2604. type: string
  2605. closetradedate:
  2606. description: 完结交易日(yyyyMMdd)
  2607. type: string
  2608. closetype:
  2609. description: 终止类型 - 1:违约 2:提前终止
  2610. type: integer
  2611. contractamount:
  2612. description: 合同金额
  2613. type: number
  2614. contractattachment:
  2615. description: 合同附件
  2616. type: string
  2617. contractno:
  2618. description: 现货合同编号
  2619. type: string
  2620. contractqty:
  2621. description: 合同数量(数值) (用于计算)
  2622. type: number
  2623. contractqtychar:
  2624. description: 合同数量\已订价数量 (用于显示)
  2625. type: string
  2626. contractstatus:
  2627. description: 合同状态 - 0:未结束 1:已结束
  2628. type: integer
  2629. contracttype:
  2630. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2631. type: integer
  2632. customeraccountid:
  2633. description: 客户资金账户ID
  2634. type: integer
  2635. customeruserid:
  2636. description: 客户ID
  2637. type: integer
  2638. deliverygoodsdesc:
  2639. description: 品种说明
  2640. type: string
  2641. deliverygoodsid:
  2642. description: 现货品种ID
  2643. type: integer
  2644. handlestatus:
  2645. description: 处理状态
  2646. type: integer
  2647. invoiceatt:
  2648. description: 发票附件
  2649. type: string
  2650. invoicedatetime:
  2651. description: 开收票更新时间
  2652. type: string
  2653. invoiceopentime:
  2654. description: 开票时间
  2655. type: string
  2656. invoiceremark:
  2657. description: 发票备注
  2658. type: string
  2659. invoicestatus:
  2660. description: 开收票状态 - 0:未开票 1:已开票
  2661. type: integer
  2662. lastdate:
  2663. description: 交货时间
  2664. type: string
  2665. marketid:
  2666. description: 市场ID
  2667. type: integer
  2668. paydatetime:
  2669. description: 收付款更新时间
  2670. type: string
  2671. payremark:
  2672. description: 收付款备注
  2673. type: string
  2674. paystatus:
  2675. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2676. type: integer
  2677. positionqty:
  2678. description: 头寸数量 - 合同数量去小数部分
  2679. type: integer
  2680. producttype:
  2681. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2682. type: integer
  2683. relatedqty:
  2684. description: 已关联数量
  2685. type: number
  2686. relatedstatus:
  2687. description: 关联完结状态 - 0:未结束 1:已结束
  2688. type: integer
  2689. remark:
  2690. description: 备注
  2691. type: string
  2692. signdate:
  2693. description: 签订日期
  2694. type: string
  2695. spotcontractid:
  2696. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2697. type: string
  2698. spotdatetime:
  2699. description: 收发货更新时间
  2700. type: string
  2701. spotprice:
  2702. description: 价格
  2703. type: number
  2704. spotremark:
  2705. description: 收发货备注
  2706. type: string
  2707. spotstatus:
  2708. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2709. type: integer
  2710. tradedate:
  2711. description: 交易日(yyyyMMdd)
  2712. type: string
  2713. userid:
  2714. description: 业务员用户ID
  2715. type: integer
  2716. warehouseid:
  2717. description: 仓库ID
  2718. type: integer
  2719. wrfactortypeid:
  2720. description: 仓单要素类型ID
  2721. type: integer
  2722. wrstandardid:
  2723. description: 仓单标准ID(SEQ_WRSTANDARD)
  2724. type: integer
  2725. required:
  2726. - spotcontractid
  2727. type: object
  2728. erms3.AddErms2ASApplyReq:
  2729. properties:
  2730. applybasis:
  2731. description: 申请基差
  2732. type: number
  2733. applystatus:
  2734. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2735. type: integer
  2736. asapplyid:
  2737. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2738. type: integer
  2739. asname:
  2740. description: 策略名称
  2741. type: string
  2742. asno:
  2743. description: 策略编号
  2744. type: string
  2745. auditid:
  2746. description: 审核人
  2747. type: integer
  2748. auditremark:
  2749. description: 审核备注
  2750. type: string
  2751. audittime:
  2752. description: 审核时间
  2753. type: string
  2754. biztype:
  2755. description: 业务类型 - 1:正向套利 2:反向套利
  2756. type: integer
  2757. createtime:
  2758. description: 创建时间
  2759. type: string
  2760. creatorid:
  2761. description: 创建人
  2762. type: integer
  2763. deliverygoodsid:
  2764. description: 现货品种ID
  2765. type: integer
  2766. futurequote:
  2767. description: 期货额度
  2768. type: number
  2769. goodsgroupid:
  2770. description: 期货品种ID
  2771. type: integer
  2772. marketid:
  2773. description: 市场ID
  2774. type: integer
  2775. remark:
  2776. description: 备注
  2777. type: string
  2778. spotquota:
  2779. description: 现货额度
  2780. type: number
  2781. tradedate:
  2782. description: 交易日(yyyyMMdd)
  2783. type: string
  2784. userid:
  2785. description: 所属机构
  2786. type: integer
  2787. required:
  2788. - asapplyid
  2789. type: object
  2790. erms3.AddErms2SpotTradeApplyReq:
  2791. properties:
  2792. applyjsondetail:
  2793. description: 申请明细(JSON)
  2794. type: string
  2795. applystatus:
  2796. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2797. type: integer
  2798. areauserid:
  2799. description: 所属机构
  2800. type: integer
  2801. auditid:
  2802. description: 审核人
  2803. type: integer
  2804. auditremark:
  2805. description: 审核备注
  2806. type: string
  2807. audittime:
  2808. description: 审核时间
  2809. type: string
  2810. createtime:
  2811. description: 创建时间
  2812. type: string
  2813. creatorid:
  2814. description: 创建人
  2815. type: integer
  2816. deliverygoodsid:
  2817. description: 现货品种ID
  2818. type: integer
  2819. futureaccountid:
  2820. description: 期货资金账户
  2821. type: integer
  2822. goodsgroupid:
  2823. description: 期货品种
  2824. type: integer
  2825. marketid:
  2826. description: 市场ID
  2827. type: integer
  2828. remark:
  2829. description: 备注
  2830. type: string
  2831. spotaccountid:
  2832. description: 现货资金账户
  2833. type: integer
  2834. spottradeid:
  2835. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2836. type: integer
  2837. spottradename:
  2838. description: 业务名称
  2839. type: string
  2840. spottradeno:
  2841. description: 业务编号
  2842. type: string
  2843. tradedate:
  2844. description: 交易日(yyyyMMdd)
  2845. type: string
  2846. wrstandardid:
  2847. description: 仓单标准ID
  2848. type: integer
  2849. required:
  2850. - spottradeid
  2851. type: object
  2852. erms3.AddSpotContractApplyReq:
  2853. properties:
  2854. accountid:
  2855. description: 资金账户ID
  2856. type: integer
  2857. areauserid:
  2858. description: 所属机构
  2859. type: integer
  2860. contractattachment:
  2861. description: 合同附件
  2862. type: string
  2863. contractno:
  2864. description: 现货合同编号
  2865. type: string
  2866. contracttype:
  2867. description: 现货合同类型 - 1:采购 -1:销售
  2868. type: integer
  2869. creatorid:
  2870. description: 申请人
  2871. type: integer
  2872. customeraccountid:
  2873. description: 客户资金账户ID
  2874. type: integer
  2875. customeruserid:
  2876. description: 客户ID
  2877. type: integer
  2878. details:
  2879. description: 明细
  2880. items:
  2881. $ref: '#/definitions/erms3.SoptContractDetail'
  2882. type: array
  2883. orimargin:
  2884. description: 初始保证金
  2885. type: number
  2886. remark:
  2887. description: 备注
  2888. type: string
  2889. signdate:
  2890. description: 签订日期
  2891. type: string
  2892. required:
  2893. - accountid
  2894. - areauserid
  2895. - contractno
  2896. - contracttype
  2897. - customeraccountid
  2898. - customeruserid
  2899. - details
  2900. - orimargin
  2901. - signdate
  2902. type: object
  2903. erms3.AddSpotContractApplyRsp:
  2904. properties:
  2905. contractno:
  2906. description: 现货合同编号
  2907. type: string
  2908. spotcontractid:
  2909. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2910. type: integer
  2911. required:
  2912. - contractno
  2913. type: object
  2914. erms3.AddUserInfoApplyReq:
  2915. properties:
  2916. accountid:
  2917. description: 交易系统帐号Id (加密存储)
  2918. type: integer
  2919. areacode:
  2920. description: 机构代码
  2921. type: string
  2922. areaid:
  2923. description: 机构Id
  2924. type: integer
  2925. attachment1:
  2926. description: 附件1
  2927. type: string
  2928. attachment2:
  2929. description: 附件2
  2930. type: string
  2931. attachment3:
  2932. description: 附件3
  2933. type: string
  2934. attachment4:
  2935. description: 附件4
  2936. type: string
  2937. attachment5:
  2938. description: 附件5
  2939. type: string
  2940. auditedby:
  2941. description: 审核人
  2942. type: string
  2943. auditime:
  2944. description: 审核时间
  2945. type: string
  2946. auditsrc:
  2947. description: 审核来源 - 1:管理端 2:终端
  2948. type: integer
  2949. bankaccount:
  2950. description: 银行帐号 (加密存储)
  2951. type: string
  2952. bankaccountname:
  2953. description: 收款人名称
  2954. type: string
  2955. bankcardbackphotourl:
  2956. description: 银行卡背面照地址
  2957. type: string
  2958. bankcardfrontphotourl:
  2959. description: 银行卡正面照地址
  2960. type: string
  2961. bankid:
  2962. description: 银行编码
  2963. type: string
  2964. bankname:
  2965. description: 银行名称
  2966. type: string
  2967. bankpictureurl:
  2968. description: 银行卡正面地址
  2969. type: string
  2970. biznature:
  2971. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2972. type: integer
  2973. bizscope:
  2974. description: 企业经营范围(企业)
  2975. type: string
  2976. biztype:
  2977. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2978. type: integer
  2979. brokerid:
  2980. description: 经纪人ID(加密存储)
  2981. type: string
  2982. cardaddress:
  2983. description: 证件地址 (加密存储)
  2984. type: string
  2985. cardbackphotourl:
  2986. description: 背面证件照地址
  2987. type: string
  2988. cardfrontphotourl:
  2989. description: 正面证件照地址
  2990. type: string
  2991. cardnum:
  2992. description: 证件号码 (加密存储)
  2993. type: string
  2994. cardtype:
  2995. description: 证件类型
  2996. type: integer
  2997. cityid:
  2998. description: 市
  2999. type: integer
  3000. company:
  3001. description: 公司(个人)
  3002. type: string
  3003. contactcardbackphotourl:
  3004. description: 联系人证件背面图片地址
  3005. type: string
  3006. contactcardfrontphotourl:
  3007. description: 联系人证件正面图片地址
  3008. type: string
  3009. contactname:
  3010. description: 联系人
  3011. type: string
  3012. countryid:
  3013. description: 国家
  3014. type: integer
  3015. createtime:
  3016. description: 开户申请时间
  3017. type: string
  3018. cusbankid:
  3019. description: 签约类型
  3020. type: string
  3021. cusbankname:
  3022. description: 签约类型名称
  3023. type: string
  3024. customername:
  3025. description: 客户名称(企业名称)
  3026. type: string
  3027. districtid:
  3028. description: 地区
  3029. type: integer
  3030. email:
  3031. description: Email地址(加密存储)
  3032. type: string
  3033. halfbodyphotourl:
  3034. description: 半身照地址
  3035. type: string
  3036. headurl:
  3037. description: 头像地址
  3038. type: string
  3039. ipaddress:
  3040. description: IP地址
  3041. type: string
  3042. isvalidate:
  3043. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3044. type: string
  3045. legalcardbackphotourl:
  3046. description: 法人身份证背面照地址
  3047. type: string
  3048. legalcardfrontphotourl:
  3049. description: 法人身份证正面照地址
  3050. type: string
  3051. legalpersonname:
  3052. description: 法人姓名(企业)
  3053. type: string
  3054. logincode:
  3055. description: 登录帐号 (加密存储)
  3056. type: string
  3057. memberareaid:
  3058. description: 所属会员ID
  3059. type: integer
  3060. mobile2:
  3061. description: 手机号码[明文-尚志]
  3062. type: string
  3063. mobilephone:
  3064. description: 手机号码 (加密存储)
  3065. type: string
  3066. modifiedby:
  3067. description: 修改人帐号
  3068. type: integer
  3069. modifiedtime:
  3070. description: 修改时间
  3071. type: string
  3072. nickname:
  3073. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3074. type: string
  3075. openmode:
  3076. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3077. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3078. type: integer
  3079. otherurl:
  3080. description: 其它图片地址[使用分号分隔]
  3081. type: string
  3082. postalcode:
  3083. description: 邮政编码
  3084. type: string
  3085. provinceid:
  3086. description: 省
  3087. type: integer
  3088. proxystatementurl:
  3089. description: 授权委托书
  3090. type: string
  3091. qq:
  3092. description: QQ(加密存储
  3093. type: string
  3094. referral:
  3095. description: 推荐人编码
  3096. type: string
  3097. remark:
  3098. description: 备注
  3099. type: string
  3100. removebeforestatus:
  3101. description: REMOVEBEFORESTATUS
  3102. type: integer
  3103. sex:
  3104. description: 性别 - 0:女 1:男
  3105. type: integer
  3106. signedstatus:
  3107. description: 账户一号签签约状态
  3108. type: integer
  3109. signpdfurl:
  3110. description: 签约pdf文件
  3111. type: string
  3112. subbranch:
  3113. description: 开户支行
  3114. type: string
  3115. taxpayernum:
  3116. description: 纳税人识别号
  3117. type: string
  3118. telphone:
  3119. description: 联系电话(加密存储)
  3120. type: string
  3121. userid:
  3122. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3123. type: integer
  3124. userinfotype:
  3125. description: 用户信息类型 - 1:个人 2:企业
  3126. type: integer
  3127. username:
  3128. description: 用户姓名
  3129. type: string
  3130. userstate:
  3131. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3132. type: integer
  3133. usertype:
  3134. description: 用户类型 - 1:投资者 2:机构
  3135. type: integer
  3136. videourl:
  3137. description: 视频地址
  3138. type: string
  3139. wechat:
  3140. description: 微信号 (加密存储)
  3141. type: string
  3142. required:
  3143. - userid
  3144. type: object
  3145. erms3.CustomerInfo:
  3146. properties:
  3147. accountids:
  3148. description: 资金账户ID列表
  3149. items:
  3150. type: integer
  3151. type: array
  3152. customername:
  3153. description: 名称(企业名称)
  3154. type: string
  3155. mobile:
  3156. description: 手机号码
  3157. type: string
  3158. userid:
  3159. description: 用户ID
  3160. type: integer
  3161. required:
  3162. - userid
  3163. type: object
  3164. erms3.ModifyUserInfoApplyReq:
  3165. properties:
  3166. accountid:
  3167. description: 交易系统帐号Id (加密存储)
  3168. type: integer
  3169. areacode:
  3170. description: 机构代码
  3171. type: string
  3172. areaid:
  3173. description: 机构Id
  3174. type: integer
  3175. attachment1:
  3176. description: 附件1
  3177. type: string
  3178. attachment2:
  3179. description: 附件2
  3180. type: string
  3181. attachment3:
  3182. description: 附件3
  3183. type: string
  3184. attachment4:
  3185. description: 附件4
  3186. type: string
  3187. attachment5:
  3188. description: 附件5
  3189. type: string
  3190. auditedby:
  3191. description: 审核人
  3192. type: string
  3193. auditime:
  3194. description: 审核时间
  3195. type: string
  3196. auditsrc:
  3197. description: 审核来源 - 1:管理端 2:终端
  3198. type: integer
  3199. bankaccount:
  3200. description: 银行帐号 (加密存储)
  3201. type: string
  3202. bankaccountname:
  3203. description: 收款人名称
  3204. type: string
  3205. bankcardbackphotourl:
  3206. description: 银行卡背面照地址
  3207. type: string
  3208. bankcardfrontphotourl:
  3209. description: 银行卡正面照地址
  3210. type: string
  3211. bankid:
  3212. description: 银行编码
  3213. type: string
  3214. bankname:
  3215. description: 银行名称
  3216. type: string
  3217. bankpictureurl:
  3218. description: 银行卡正面地址
  3219. type: string
  3220. biznature:
  3221. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3222. type: integer
  3223. bizscope:
  3224. description: 企业经营范围(企业)
  3225. type: string
  3226. biztype:
  3227. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3228. type: integer
  3229. brokerid:
  3230. description: 经纪人ID(加密存储)
  3231. type: string
  3232. cardaddress:
  3233. description: 证件地址 (加密存储)
  3234. type: string
  3235. cardbackphotourl:
  3236. description: 背面证件照地址
  3237. type: string
  3238. cardfrontphotourl:
  3239. description: 正面证件照地址
  3240. type: string
  3241. cardnum:
  3242. description: 证件号码 (加密存储)
  3243. type: string
  3244. cardtype:
  3245. description: 证件类型
  3246. type: integer
  3247. cityid:
  3248. description: 市
  3249. type: integer
  3250. company:
  3251. description: 公司(个人)
  3252. type: string
  3253. contactcardbackphotourl:
  3254. description: 联系人证件背面图片地址
  3255. type: string
  3256. contactcardfrontphotourl:
  3257. description: 联系人证件正面图片地址
  3258. type: string
  3259. contactname:
  3260. description: 联系人
  3261. type: string
  3262. countryid:
  3263. description: 国家
  3264. type: integer
  3265. createtime:
  3266. description: 开户申请时间
  3267. type: string
  3268. cusbankid:
  3269. description: 签约类型
  3270. type: string
  3271. cusbankname:
  3272. description: 签约类型名称
  3273. type: string
  3274. customername:
  3275. description: 客户名称(企业名称)
  3276. type: string
  3277. districtid:
  3278. description: 地区
  3279. type: integer
  3280. email:
  3281. description: Email地址(加密存储)
  3282. type: string
  3283. halfbodyphotourl:
  3284. description: 半身照地址
  3285. type: string
  3286. headurl:
  3287. description: 头像地址
  3288. type: string
  3289. ipaddress:
  3290. description: IP地址
  3291. type: string
  3292. isvalidate:
  3293. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3294. type: string
  3295. legalcardbackphotourl:
  3296. description: 法人身份证背面照地址
  3297. type: string
  3298. legalcardfrontphotourl:
  3299. description: 法人身份证正面照地址
  3300. type: string
  3301. legalpersonname:
  3302. description: 法人姓名(企业)
  3303. type: string
  3304. logincode:
  3305. description: 登录帐号 (加密存储)
  3306. type: string
  3307. memberareaid:
  3308. description: 所属会员ID
  3309. type: integer
  3310. mobile2:
  3311. description: 手机号码[明文-尚志]
  3312. type: string
  3313. mobilephone:
  3314. description: 手机号码 (加密存储)
  3315. type: string
  3316. modifiedby:
  3317. description: 修改人帐号
  3318. type: integer
  3319. modifiedtime:
  3320. description: 修改时间
  3321. type: string
  3322. nickname:
  3323. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3324. type: string
  3325. openmode:
  3326. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3327. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3328. type: integer
  3329. otherurl:
  3330. description: 其它图片地址[使用分号分隔]
  3331. type: string
  3332. postalcode:
  3333. description: 邮政编码
  3334. type: string
  3335. provinceid:
  3336. description: 省
  3337. type: integer
  3338. proxystatementurl:
  3339. description: 授权委托书
  3340. type: string
  3341. qq:
  3342. description: QQ(加密存储
  3343. type: string
  3344. referral:
  3345. description: 推荐人编码
  3346. type: string
  3347. remark:
  3348. description: 备注
  3349. type: string
  3350. removebeforestatus:
  3351. description: REMOVEBEFORESTATUS
  3352. type: integer
  3353. sex:
  3354. description: 性别 - 0:女 1:男
  3355. type: integer
  3356. signedstatus:
  3357. description: 账户一号签签约状态
  3358. type: integer
  3359. signpdfurl:
  3360. description: 签约pdf文件
  3361. type: string
  3362. subbranch:
  3363. description: 开户支行
  3364. type: string
  3365. taxpayernum:
  3366. description: 纳税人识别号
  3367. type: string
  3368. telphone:
  3369. description: 联系电话(加密存储)
  3370. type: string
  3371. userid:
  3372. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3373. type: integer
  3374. userinfotype:
  3375. description: 用户信息类型 - 1:个人 2:企业
  3376. type: integer
  3377. username:
  3378. description: 用户姓名
  3379. type: string
  3380. userstate:
  3381. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3382. type: integer
  3383. usertype:
  3384. description: 用户类型 - 1:投资者 2:机构
  3385. type: integer
  3386. videourl:
  3387. description: 视频地址
  3388. type: string
  3389. wechat:
  3390. description: 微信号 (加密存储)
  3391. type: string
  3392. required:
  3393. - userid
  3394. type: object
  3395. erms3.QryAuditContractRsp:
  3396. properties:
  3397. accountid:
  3398. description: 交易员ID
  3399. type: string
  3400. applystatus:
  3401. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3402. type: integer
  3403. curdeliveryqty:
  3404. description: 未交收量
  3405. type: integer
  3406. customername:
  3407. description: 采购方ID
  3408. type: string
  3409. deliverygoodsid:
  3410. description: 品种ID
  3411. type: string
  3412. deliveryqty:
  3413. description: 交收量
  3414. type: integer
  3415. enumdicname:
  3416. description: 单位名称
  3417. type: string
  3418. matchaccountid:
  3419. description: 业务员ID
  3420. type: string
  3421. matchcustomername:
  3422. description: 销售方ID
  3423. type: string
  3424. pricedqty:
  3425. description: 定价量
  3426. type: number
  3427. signdate:
  3428. description: 签订日期
  3429. type: string
  3430. spotcontractid:
  3431. description: 合同ID
  3432. type: string
  3433. totaldqty:
  3434. description: 合同量
  3435. type: number
  3436. unpricedqty:
  3437. description: 未定价量
  3438. type: number
  3439. wrstandardname:
  3440. description: 商品名称
  3441. type: string
  3442. required:
  3443. - matchcustomername
  3444. - spotcontractid
  3445. type: object
  3446. erms3.QryPendingBizRsp:
  3447. properties:
  3448. accountid:
  3449. description: 现货账户
  3450. type: string
  3451. areaname:
  3452. description: 所属部门
  3453. type: string
  3454. bizid:
  3455. description: 业务ID
  3456. type: string
  3457. bizname:
  3458. description: 业务名称
  3459. type: string
  3460. status:
  3461. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3462. type: integer
  3463. type:
  3464. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3465. type: integer
  3466. type: object
  3467. erms3.QueryBusinessInfoRsp:
  3468. properties:
  3469. businessid:
  3470. description: 业务ID.
  3471. type: integer
  3472. buyamount:
  3473. description: 采购额.
  3474. type: number
  3475. buyqty:
  3476. description: 采购量.
  3477. type: string
  3478. futurepl:
  3479. description: 期货盈亏.
  3480. type: number
  3481. futureqty:
  3482. description: 期货敞口.
  3483. type: string
  3484. goodsid:
  3485. description: 商品名称/商品代码.
  3486. type: string
  3487. hedgingqty:
  3488. description: 套保量.
  3489. type: string
  3490. sellamount:
  3491. description: 销售额.
  3492. type: number
  3493. sellqty:
  3494. description: 销售量.
  3495. type: string
  3496. spotmarketvalue:
  3497. description: 现货市值.
  3498. type: number
  3499. spotpl:
  3500. description: 浮动权益.
  3501. type: number
  3502. spotqty:
  3503. description: 现货量.
  3504. type: string
  3505. statu:
  3506. description: 状态,0-未结束 1-已结束.
  3507. type: integer
  3508. totalpl:
  3509. description: 总盈亏.
  3510. type: number
  3511. totalqty:
  3512. description: 总敞口.
  3513. type: string
  3514. type:
  3515. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3516. type: integer
  3517. type: object
  3518. erms3.QuerySpotContractAppleFormRsp:
  3519. properties:
  3520. goodses:
  3521. description: 合约列表
  3522. items:
  3523. $ref: '#/definitions/models.GoodsIDAndName'
  3524. type: array
  3525. oppositeusers:
  3526. description: 对方账号列表
  3527. items:
  3528. $ref: '#/definitions/erms3.CustomerInfo'
  3529. type: array
  3530. ouruser:
  3531. $ref: '#/definitions/erms3.CustomerInfo'
  3532. description: 我方账号
  3533. warehouseinfos:
  3534. description: 仓库信息列表
  3535. items:
  3536. $ref: '#/definitions/models.Warehouseinfo'
  3537. type: array
  3538. wrstandards:
  3539. description: 仓单标准列表
  3540. items:
  3541. $ref: '#/definitions/models.WRStandardInfo'
  3542. type: array
  3543. type: object
  3544. erms3.QuerySpotContractInfoRsp:
  3545. properties:
  3546. accountid:
  3547. description: 表示交易员ID.
  3548. type: integer
  3549. curdeliveryqty:
  3550. description: 表示未交收量.
  3551. type: number
  3552. customername:
  3553. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3554. type: string
  3555. deliverygoodsid:
  3556. description: 表示品种ID.
  3557. type: string
  3558. deliveryqty:
  3559. description: 表示交收量.
  3560. type: number
  3561. matchaccountid:
  3562. description: 表示业务员ID.
  3563. type: integer
  3564. matchcustomername:
  3565. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3566. type: string
  3567. priceqty:
  3568. description: 表示定价量.
  3569. type: number
  3570. relatedbizid:
  3571. description: 表示业务ID.
  3572. type: string
  3573. signdate:
  3574. description: 表示签订日期.
  3575. type: string
  3576. spotcontractid:
  3577. description: 合同ID
  3578. type: string
  3579. status:
  3580. description: 表示状态,0-履约中 1-已完成.
  3581. type: integer
  3582. totalqty:
  3583. description: 表示合同量.
  3584. type: number
  3585. unpricedqty:
  3586. description: 表示未定价量.
  3587. type: number
  3588. wrstandardname:
  3589. description: 表示商品ID.
  3590. type: string
  3591. type: object
  3592. erms3.QueryUserInfoAppliesRsp:
  3593. properties:
  3594. biznature:
  3595. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3596. type: integer
  3597. contactname:
  3598. description: 联系人
  3599. type: string
  3600. createtime:
  3601. description: 开户申请时间
  3602. type: string
  3603. userid:
  3604. description: 用户ID(自增ID)
  3605. type: integer
  3606. userinfotype:
  3607. description: 用户信息类型 - 1:个人 2:企业
  3608. type: integer
  3609. username:
  3610. description: 用户姓名
  3611. type: string
  3612. userstate:
  3613. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3614. type: integer
  3615. required:
  3616. - userid
  3617. type: object
  3618. erms3.QueryUserInfosRsp:
  3619. properties:
  3620. biznature:
  3621. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3622. type: integer
  3623. contactname:
  3624. description: 联系人
  3625. type: string
  3626. customername:
  3627. description: 客户名称(企业名称)
  3628. type: string
  3629. userid:
  3630. description: 用户ID
  3631. type: integer
  3632. userinfotype:
  3633. description: 用户信息类型 - 1:个人 2:企业
  3634. type: integer
  3635. userstatus:
  3636. description: 用户状态 - 1:正常 2:注销
  3637. type: integer
  3638. required:
  3639. - userid
  3640. type: object
  3641. erms3.SoptContractDetail:
  3642. properties:
  3643. deliverygoodsdesc:
  3644. description: 现货品种说明
  3645. type: string
  3646. deliverygoodsid:
  3647. description: 现货品种ID
  3648. type: integer
  3649. deliverygoodsname:
  3650. description: 现货品种名称
  3651. type: string
  3652. pointdesc:
  3653. description: 点价描述
  3654. type: string
  3655. producttype:
  3656. description: 产品类型 1:标准仓单 2:等标 3:非标
  3657. type: integer
  3658. producttypename:
  3659. description: 产品类型名称
  3660. type: string
  3661. spotPointOrderVoList:
  3662. description: 点价列表
  3663. items:
  3664. $ref: '#/definitions/erms3.SpotPointOrder'
  3665. type: array
  3666. spotPriceOrderList:
  3667. description: 定价列表
  3668. items:
  3669. $ref: '#/definitions/erms3.SpotPriceOrder'
  3670. type: array
  3671. unitname:
  3672. description: 单位名称
  3673. type: string
  3674. warehouseid:
  3675. description: 仓库ID
  3676. type: integer
  3677. warehousename:
  3678. description: 仓库名称
  3679. type: string
  3680. wrstandardid:
  3681. description: 交易标的ID
  3682. type: integer
  3683. wrstandardname:
  3684. description: 交易标的名称
  3685. type: string
  3686. required:
  3687. - deliverygoodsid
  3688. - producttype
  3689. - unitname
  3690. - warehouseid
  3691. - wrstandardid
  3692. - wrstandardname
  3693. type: object
  3694. erms3.SpotPointOrder:
  3695. properties:
  3696. basic:
  3697. description: 基差
  3698. type: number
  3699. deliveryenddate:
  3700. description: 交收结束日期
  3701. type: string
  3702. deliverystartdate:
  3703. description: 交收开始日期
  3704. type: string
  3705. enddate:
  3706. description: 点价结束日期
  3707. type: string
  3708. goodsid:
  3709. description: 商品ID
  3710. type: integer
  3711. goodsname:
  3712. description: 商品名称
  3713. type: string
  3714. qty:
  3715. description: 数量
  3716. type: number
  3717. startdate:
  3718. description: 点价开始日期
  3719. type: string
  3720. required:
  3721. - basic
  3722. - goodsid
  3723. - qty
  3724. type: object
  3725. erms3.SpotPriceOrder:
  3726. properties:
  3727. amount:
  3728. description: 金额
  3729. type: number
  3730. deliveryenddate:
  3731. description: 交收结束日期
  3732. type: string
  3733. deliverystartdate:
  3734. description: 交收开始日期
  3735. type: string
  3736. price:
  3737. description: 价格
  3738. type: number
  3739. qty:
  3740. description: 数量
  3741. type: number
  3742. required:
  3743. - amount
  3744. - price
  3745. - qty
  3746. type: object
  3747. hsby.GetHsbyMyCountRsp:
  3748. properties:
  3749. myCouponCount:
  3750. description: 我的优惠卷数量
  3751. type: integer
  3752. myOrderDetailListingCount:
  3753. description: 我的订单求购中数量
  3754. type: integer
  3755. myOrderDetailPreCount:
  3756. description: 我的订单抢购中数量
  3757. type: integer
  3758. myPackageUnReceiveCount:
  3759. description: 我的包裹待收货数量
  3760. type: integer
  3761. myPackageUnSendCount:
  3762. description: 我的包裹待发货数量
  3763. type: integer
  3764. myPayOrderCount:
  3765. description: 我的订单待付款数量
  3766. type: integer
  3767. type: object
  3768. hsby.QueryProvincesAndCitiesRsp:
  3769. properties:
  3770. cities:
  3771. description: 市
  3772. items:
  3773. $ref: '#/definitions/models.Division'
  3774. type: array
  3775. province:
  3776. $ref: '#/definitions/models.Division'
  3777. description: 省
  3778. type: object
  3779. models.Arearole:
  3780. properties:
  3781. createtime:
  3782. description: 创建时间
  3783. type: string
  3784. creatorid:
  3785. description: 创建人ID
  3786. type: integer
  3787. fromuserid:
  3788. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3789. type: integer
  3790. isreturnscore:
  3791. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3792. type: integer
  3793. modifierid:
  3794. description: 修改人ID
  3795. type: integer
  3796. modifytime:
  3797. description: 修改时间
  3798. type: string
  3799. orgtype:
  3800. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3801. type: integer
  3802. outuserid:
  3803. description: 外部账户[场外期权做市商]
  3804. type: string
  3805. parentuserid:
  3806. description: 上级组织机构(组织机构)
  3807. type: integer
  3808. roletype:
  3809. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3810. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3811. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3812. type: integer
  3813. rootuserid:
  3814. description: 顶级组织机构用户ID(组织机构)
  3815. type: integer
  3816. shoppassword:
  3817. description: 商城店铺登陆密码(商城店铺角色使用)
  3818. type: string
  3819. sublevelpath:
  3820. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3821. type: string
  3822. suborgtype:
  3823. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3824. type: integer
  3825. tradeaccountid:
  3826. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3827. type: integer
  3828. transurl:
  3829. description: 物流地址(物流机构)
  3830. type: string
  3831. userid:
  3832. description: 机构用户ID其他做市关系,都设置为 1
  3833. type: integer
  3834. required:
  3835. - roletype
  3836. - userid
  3837. type: object
  3838. models.Clientfixedadconfig:
  3839. properties:
  3840. adsort:
  3841. description: 排序
  3842. type: integer
  3843. adtype:
  3844. description: 广告位类型 - 1:新品抢购(HSBY)
  3845. type: integer
  3846. areauserid:
  3847. description: 所属机构ID
  3848. type: integer
  3849. createdate:
  3850. description: 创建时间
  3851. type: string
  3852. creatorid:
  3853. description: 创建人
  3854. type: integer
  3855. imagepath:
  3856. description: 图片
  3857. type: string
  3858. isshow:
  3859. description: 是否展示 - 0:不展示 1:展示
  3860. type: integer
  3861. modifierid:
  3862. description: 操作人
  3863. type: integer
  3864. recsize:
  3865. description: 推荐尺寸
  3866. type: string
  3867. title:
  3868. description: 标题
  3869. type: string
  3870. updatedate:
  3871. description: 更新时间
  3872. type: string
  3873. urlcontent:
  3874. description: 链接(地址或商品ID)
  3875. type: string
  3876. urltype:
  3877. description: 链接类型 - 1:直接地址 2:商品ID
  3878. type: integer
  3879. required:
  3880. - adsort
  3881. - adtype
  3882. type: object
  3883. models.DgFactoryItem:
  3884. properties:
  3885. dgfactoryitemid:
  3886. description: 选择项ID(SEQ_DGFACTORYITEM)
  3887. type: integer
  3888. dgfactoryitemtypeid:
  3889. description: 要素项类型
  3890. type: integer
  3891. dgfactoryitemvalue:
  3892. description: 要素项值(类型为仓库时填写仓库名称)
  3893. type: string
  3894. orderindex:
  3895. description: 顺序
  3896. type: integer
  3897. type: object
  3898. models.Division:
  3899. properties:
  3900. autoid:
  3901. description: 自增ID
  3902. type: integer
  3903. divisioncode:
  3904. description: 行政代码
  3905. type: string
  3906. divisionlevel:
  3907. description: 行政级别
  3908. type: string
  3909. divisionname:
  3910. description: 行政名称
  3911. type: string
  3912. modifierid:
  3913. description: 修改人
  3914. type: integer
  3915. modifytime:
  3916. description: 修改时间
  3917. type: string
  3918. parentcode:
  3919. description: 上级行政代码
  3920. type: string
  3921. pathname:
  3922. description: 路径名称
  3923. type: string
  3924. postcode:
  3925. description: 邮政编码
  3926. type: string
  3927. separablename:
  3928. description: 可拆分的全称
  3929. type: string
  3930. shortcode:
  3931. description: 地区简码
  3932. type: string
  3933. required:
  3934. - autoid
  3935. - divisioncode
  3936. type: object
  3937. models.Enumdicitem:
  3938. properties:
  3939. autoid:
  3940. description: 自增ID
  3941. type: integer
  3942. bankmappedvalue:
  3943. description: 银行服务对应值
  3944. type: string
  3945. enumdiccode:
  3946. description: 所属枚举代码
  3947. type: string
  3948. enumdicid:
  3949. description: 所属枚举ID
  3950. type: integer
  3951. enumdicname:
  3952. description: 枚举项名称
  3953. type: string
  3954. enumitemname:
  3955. description: 枚举项值
  3956. type: integer
  3957. enumitemstatus:
  3958. description: 枚举项状态 - 1.启用 2.不启用
  3959. type: integer
  3960. enumitemvalue:
  3961. description: 通用值 - [币种通用简写]
  3962. type: string
  3963. param1:
  3964. description: 参数1[币种:币种小数位]
  3965. type: string
  3966. param2:
  3967. description: 参数1[币种:币种显示单位]
  3968. type: string
  3969. remark:
  3970. description: 备注
  3971. type: string
  3972. required:
  3973. - autoid
  3974. - enumdiccode
  3975. - enumdicid
  3976. - enumitemname
  3977. type: object
  3978. models.Ermcp2AreaExposure:
  3979. properties:
  3980. areauserid:
  3981. description: 所属机构
  3982. type: integer
  3983. enumdicname:
  3984. description: 单位
  3985. type: string
  3986. futureqty:
  3987. description: 期货套期量
  3988. type: number
  3989. futureqtychange:
  3990. description: 期货变动量 = FutureQty - OriFutureQty
  3991. type: number
  3992. goodsunitid:
  3993. description: 单位ID
  3994. type: integer
  3995. hedgedspotexposure:
  3996. description: 被套期现货敞口量
  3997. type: number
  3998. hedgedspratio:
  3999. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4000. type: number
  4001. hedgedtotalexposourechange:
  4002. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4003. type: number
  4004. hedgedtotalexposure:
  4005. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4006. type: number
  4007. hedgeplanqty:
  4008. description: 套期计划量
  4009. type: number
  4010. hedgeplanqtychange:
  4011. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4012. type: number
  4013. hedgespotqty:
  4014. description: 被套期现货量
  4015. type: number
  4016. middlegoodsid:
  4017. description: 套保品种
  4018. type: integer
  4019. middlegoodsname:
  4020. description: 套保品种名称
  4021. type: string
  4022. orifutureqty:
  4023. description: 期初期货套期量
  4024. type: number
  4025. orihedgedspotexposure:
  4026. description: 期初被套期现货敞口量
  4027. type: number
  4028. orihedgedtotalexposure:
  4029. description: 期初套期敞口量
  4030. type: number
  4031. orihedgeplanqty:
  4032. description: 期初套期计划量
  4033. type: number
  4034. orihedgespotqty:
  4035. description: 期初被套期现货量
  4036. type: number
  4037. orispotexposure:
  4038. description: 期初现货敞口量
  4039. type: number
  4040. orispotqty:
  4041. description: 期初现货总量
  4042. type: number
  4043. oritotalexposure:
  4044. description: 期初总敞口量
  4045. type: number
  4046. spotexposure:
  4047. description: 现货敞口量
  4048. type: number
  4049. spotqty:
  4050. description: 现货总量
  4051. type: number
  4052. spotqtychange:
  4053. description: 现货变动量 = SpotQty - OriSpotQty
  4054. type: number
  4055. spratio:
  4056. description: 总期现比例 = 期货套期量/现货敞口量
  4057. type: number
  4058. totalexposure:
  4059. description: 总敞口量 = 现货敞口量 + 期货套期量
  4060. type: number
  4061. totalexposurechange:
  4062. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4063. type: number
  4064. updatetime:
  4065. description: 更新时间 --DATE
  4066. type: string
  4067. type: object
  4068. models.Ermcp2hedgeditem:
  4069. properties:
  4070. accountname:
  4071. description: 套期主体
  4072. type: string
  4073. applyid:
  4074. description: 申请人
  4075. type: integer
  4076. applysrc:
  4077. description: 申请来源 - 1:管理端 2:终端
  4078. type: integer
  4079. areauserid:
  4080. description: 企业ID
  4081. type: integer
  4082. auditid:
  4083. description: 审核人
  4084. type: integer
  4085. auditremark:
  4086. description: 审核备注
  4087. type: string
  4088. auditsrc:
  4089. description: 审核来源 - 1:管理端 2:终端
  4090. type: integer
  4091. audittime:
  4092. description: 审核时间
  4093. type: string
  4094. audittradedate:
  4095. description: 审核交易日(yyyyMMdd)
  4096. type: string
  4097. createtime:
  4098. description: 申请时间
  4099. type: string
  4100. curprice:
  4101. description: 当前市场价
  4102. type: number
  4103. curstock:
  4104. description: 期末库存量 = 采购总量 - 销售总量
  4105. type: number
  4106. deliverygoodsid:
  4107. description: 现货品种ID
  4108. type: integer
  4109. enddate:
  4110. description: 完成日期
  4111. type: string
  4112. endtradedate:
  4113. description: 完成交易日
  4114. type: string
  4115. enumdicname:
  4116. description: 单位
  4117. type: string
  4118. exeamount:
  4119. description: 执行市价总额
  4120. type: number
  4121. exeavgprice:
  4122. description: 执行市场均价= 执行市价总额 / 执行现货量
  4123. type: number
  4124. execontractamount:
  4125. description: 执行定价总额
  4126. type: number
  4127. exeqty:
  4128. description: 执行现货量
  4129. type: number
  4130. exerestamount:
  4131. description: 执行剩余市价总额【现货贸易】
  4132. type: number
  4133. futurefloatpl:
  4134. description: 期货浮动损益
  4135. type: number
  4136. futurehedgepl:
  4137. description: 期货实际损益
  4138. type: number
  4139. futurehedgeplchange:
  4140. description: 期货实际损益变动
  4141. type: number
  4142. futurepl:
  4143. description: 期货套期损益
  4144. type: number
  4145. futureplchange:
  4146. description: 期货套期损益变动
  4147. type: number
  4148. hedgeamount:
  4149. description: 套期市价总额
  4150. type: number
  4151. hedgecontractamount:
  4152. description: 套期定价总额 【定价采购合同】【现货贸易】
  4153. type: number
  4154. hedgeditemid:
  4155. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4156. type: string
  4157. hedgeditemname:
  4158. description: 项目名称
  4159. type: string
  4160. hedgeditemnum:
  4161. description: 项目编号
  4162. type: string
  4163. hedgeditemstatus:
  4164. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4165. type: integer
  4166. hedgedtype:
  4167. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4168. type: integer
  4169. hedgeqty:
  4170. description: 套期现货量
  4171. type: number
  4172. hedgerate:
  4173. description: 套保比率
  4174. type: number
  4175. hedgerestamount:
  4176. description: 套期剩余市价总额【现货贸易】
  4177. type: number
  4178. hedgesumpl:
  4179. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4180. type: number
  4181. middlegoodslist:
  4182. description: 套期商品列表
  4183. items:
  4184. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4185. type: array
  4186. oriavgprice:
  4187. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4188. type: number
  4189. orifuturehedgepl:
  4190. description: 期初期货实际损益
  4191. type: number
  4192. orifuturepl:
  4193. description: 期初期货套期损益
  4194. type: number
  4195. orispothedgepl:
  4196. description: 期初现货实际损益
  4197. type: number
  4198. orispotpl:
  4199. description: 期初现货套期损益
  4200. type: number
  4201. planenddate:
  4202. description: 计划结束日期
  4203. type: string
  4204. planstartdate:
  4205. description: 计划开始日期
  4206. type: string
  4207. remark:
  4208. description: 备注
  4209. type: string
  4210. spotbookamount:
  4211. description: 现货账面总额
  4212. type: number
  4213. spotfloatpl:
  4214. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4215. type: number
  4216. spothedgepl:
  4217. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4218. type: number
  4219. spothedgeplchange:
  4220. description: 现货实际损益变动
  4221. type: number
  4222. spotpl:
  4223. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4224. type: number
  4225. spotplchange:
  4226. description: 现货套期损益变动
  4227. type: number
  4228. spottradepl:
  4229. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4230. type: number
  4231. sumobspl:
  4232. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4233. type: number
  4234. tradeuserid:
  4235. description: 交易用户ID
  4236. type: integer
  4237. unexeqty:
  4238. description: 未执行现货量 = 套期现货量 - 执行现货量
  4239. type: number
  4240. updatetime:
  4241. description: 更新时间
  4242. type: string
  4243. vatpl:
  4244. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4245. type: number
  4246. vatrate:
  4247. description: 增值税
  4248. type: number
  4249. wrstandardid:
  4250. description: 现货商品ID
  4251. type: integer
  4252. wrstandardname:
  4253. description: 商品名称
  4254. type: string
  4255. type: object
  4256. models.Ermcp2hedgeditemlink:
  4257. properties:
  4258. areauserid:
  4259. description: 企业ID
  4260. type: integer
  4261. createtime:
  4262. description: '[关联时间]创建时间'
  4263. type: string
  4264. customeruserid:
  4265. description: 对手方 【3:采购合同 4:销售合同】
  4266. type: integer
  4267. deliverygoodsid:
  4268. description: 现货品种ID
  4269. type: integer
  4270. enumdicname:
  4271. description: 单位
  4272. type: string
  4273. hedgeditemid:
  4274. description: 被套期项目ID
  4275. type: integer
  4276. hedgeditemlinkid:
  4277. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4278. type: integer
  4279. hedgeditemnum:
  4280. description: 项目编号
  4281. type: string
  4282. hedgedtype:
  4283. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4284. type: integer
  4285. relatedamount:
  4286. description: 市价总额 = 关联数量 * 期初市场价
  4287. type: number
  4288. relatedhedgeplanid:
  4289. description: 关联计划ID 【1:采购计划 2:销售计划】
  4290. type: integer
  4291. relatedqty:
  4292. description: 关联数量
  4293. type: number
  4294. relatedspotcontractid:
  4295. description: 关联合同ID 【3:采购合同 4:销售合同】
  4296. type: integer
  4297. relatedtype:
  4298. description: 关联类型 - 1:套期关联 2:执行关联
  4299. type: integer
  4300. spotgoodsbrandid:
  4301. description: 现货品牌ID
  4302. type: integer
  4303. spotpricedamount:
  4304. description: '[关联定价总额]定价总额'
  4305. type: number
  4306. spotpricedavgprice:
  4307. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4308. type: number
  4309. spottype:
  4310. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4311. type: integer
  4312. tradeuserid:
  4313. description: 交易用户ID
  4314. type: integer
  4315. unexeqty:
  4316. description: 未执行现货量【项目关联时值】
  4317. type: number
  4318. wrstandardid:
  4319. description: 现货商品ID
  4320. type: integer
  4321. wrstandardname:
  4322. description: 现货商品
  4323. type: string
  4324. required:
  4325. - relatedspotcontractid
  4326. type: object
  4327. models.Ermcp2hedgeditemsDetail:
  4328. properties:
  4329. accountname:
  4330. description: 套期主体
  4331. type: string
  4332. areauserid:
  4333. description: 企业ID
  4334. type: integer
  4335. createtime:
  4336. description: '[日期时间]创建时间'
  4337. type: string
  4338. customeruserid:
  4339. description: 对手方 【3:采购合同 4:销售合同】
  4340. type: integer
  4341. deliverygoodsid:
  4342. description: 现货品种ID
  4343. type: integer
  4344. enumdicname:
  4345. description: 单位
  4346. type: string
  4347. hedgeditemid:
  4348. description: 被套期项目ID
  4349. type: string
  4350. hedgeditemspotid:
  4351. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4352. type: string
  4353. hedgedtype:
  4354. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4355. type: integer
  4356. hedgeplanno:
  4357. description: 计划编号
  4358. type: string
  4359. middlegoodschange:
  4360. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4361. type: number
  4362. oriavgprice:
  4363. description: 期初市场价[当初市场价]
  4364. type: number
  4365. relatedamount:
  4366. description: 市价总额 = 关联数量 * 期初市场价
  4367. type: number
  4368. relatedhedgeplanid:
  4369. description: 关联计划ID 【1:采购计划 2:销售计划】
  4370. type: integer
  4371. relatedqty:
  4372. description: '[期间变化量]关联数量'
  4373. type: number
  4374. relatedspotcontractid:
  4375. description: 关联合同ID 【3:采购合同 4:销售合同】
  4376. type: integer
  4377. relatedtype:
  4378. description: 关联类型 - 1:套期关联 2:执行关联
  4379. type: integer
  4380. spotgoodsbrandid:
  4381. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4382. type: integer
  4383. spotpricedamount:
  4384. description: 定价总额
  4385. type: number
  4386. spotpricedavgprice:
  4387. description: 现货均价 = 定价总额 / 关联数量
  4388. type: number
  4389. spottype:
  4390. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4391. type: integer
  4392. tradeuserid:
  4393. description: 交易用户ID
  4394. type: integer
  4395. unexeqty:
  4396. description: 未执行现货量 = 套期现货量 - 执行现货量
  4397. type: number
  4398. wrstandardid:
  4399. description: 现货商品ID
  4400. type: integer
  4401. wrstandardname:
  4402. description: 现货商品
  4403. type: string
  4404. type: object
  4405. models.Ermcp2hedgeditemspot:
  4406. properties:
  4407. areauserid:
  4408. description: 企业ID
  4409. type: integer
  4410. createtime:
  4411. description: 创建时间
  4412. type: string
  4413. customeruserid:
  4414. description: 对手方 【3:采购合同 4:销售合同】
  4415. type: integer
  4416. deliverygoodsid:
  4417. description: 现货品种ID
  4418. type: integer
  4419. enumdicname:
  4420. description: 单位
  4421. type: string
  4422. hedgeditemid:
  4423. description: 被套期项目ID
  4424. type: string
  4425. hedgeditemspotid:
  4426. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4427. type: string
  4428. hedgedtype:
  4429. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4430. type: integer
  4431. hedgeplanno:
  4432. description: 计划编号
  4433. type: string
  4434. oriavgprice:
  4435. description: 期初市场价[当初市场价]
  4436. type: number
  4437. relatedamount:
  4438. description: 市价总额 = 关联数量 * 期初市场价
  4439. type: number
  4440. relatedhedgeplanid:
  4441. description: 关联计划ID 【1:采购计划 2:销售计划】
  4442. type: integer
  4443. relatedqty:
  4444. description: 关联数量[数量]
  4445. type: number
  4446. relatedspotcontractid:
  4447. description: 关联合同ID 【3:采购合同 4:销售合同】
  4448. type: integer
  4449. relatedtype:
  4450. description: 关联类型 - 1:套期关联 2:执行关联
  4451. type: integer
  4452. spotgoodsbrandid:
  4453. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4454. type: integer
  4455. spotpricedamount:
  4456. description: 定价总额
  4457. type: number
  4458. spotpricedavgprice:
  4459. description: 现货均价 = 定价总额 / 关联数量
  4460. type: number
  4461. spottype:
  4462. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4463. type: integer
  4464. tradeuserid:
  4465. description: 交易用户ID
  4466. type: integer
  4467. wrstandardid:
  4468. description: 现货商品ID
  4469. type: integer
  4470. wrstandardname:
  4471. description: 现货商品
  4472. type: string
  4473. required:
  4474. - hedgeditemid
  4475. type: object
  4476. models.Ermcp2hedgeditemspotDetail:
  4477. properties:
  4478. accountname:
  4479. description: 对手方
  4480. type: string
  4481. areauserid:
  4482. description: 企业ID
  4483. type: integer
  4484. brandname:
  4485. description: 品牌
  4486. type: string
  4487. contractno:
  4488. description: 合同编号
  4489. type: string
  4490. createtime:
  4491. description: 创建时间
  4492. type: string
  4493. customeruserid:
  4494. description: 对手方 【3:采购合同 4:销售合同】
  4495. type: integer
  4496. deliverygoodsid:
  4497. description: 现货品种ID
  4498. type: integer
  4499. enumdicname:
  4500. description: 单位
  4501. type: string
  4502. hedgeditemid:
  4503. description: 被套期项目ID
  4504. type: string
  4505. hedgeditemspotid:
  4506. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4507. type: string
  4508. hedgedtype:
  4509. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4510. type: integer
  4511. oriavgprice:
  4512. description: 期初市场价[当初市场价]
  4513. type: number
  4514. relatedamount:
  4515. description: 市价总额 = 关联数量 * 期初市场价
  4516. type: number
  4517. relatedhedgeplanid:
  4518. description: 关联计划ID 【1:采购计划 2:销售计划】
  4519. type: integer
  4520. relatedqty:
  4521. description: 关联数量[数量]
  4522. type: number
  4523. relatedspotcontractid:
  4524. description: 关联合同ID 【3:采购合同 4:销售合同】
  4525. type: integer
  4526. relatedtype:
  4527. description: 关联类型 - 1:套期关联 2:执行关联
  4528. type: integer
  4529. spotgoodsbrandid:
  4530. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4531. type: integer
  4532. spotpricedamount:
  4533. description: 定价总额[金额]
  4534. type: number
  4535. spotpricedavgprice:
  4536. description: 现货均价 = 定价总额 / 关联数量
  4537. type: number
  4538. spottype:
  4539. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4540. type: integer
  4541. tradeuserid:
  4542. description: 交易用户ID
  4543. type: integer
  4544. wrstandardid:
  4545. description: 现货商品ID
  4546. type: integer
  4547. wrstandardname:
  4548. description: 现货商品
  4549. type: string
  4550. required:
  4551. - hedgeditemid
  4552. type: object
  4553. models.Ermcp2himiddlegoods:
  4554. properties:
  4555. futurehedgeqty:
  4556. description: 期货持仓套期量
  4557. type: number
  4558. hedgeditemid:
  4559. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4560. type: integer
  4561. hiexpsoure:
  4562. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4563. type: number
  4564. middlegoodscode:
  4565. description: 套保商品代码
  4566. type: string
  4567. middlegoodsid:
  4568. description: 套保品种ID
  4569. type: integer
  4570. middlegoodsname:
  4571. description: 套保商品名称
  4572. type: string
  4573. unexehedgeqty:
  4574. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4575. type: number
  4576. required:
  4577. - hedgeditemid
  4578. - middlegoodsid
  4579. type: object
  4580. models.Ermcp2stockspotchangelog:
  4581. properties:
  4582. accountname:
  4583. description: 套期主体
  4584. type: string
  4585. aftervalue:
  4586. description: 现货量
  4587. type: number
  4588. beforevalue:
  4589. description: 变更前现货量
  4590. type: number
  4591. contractno:
  4592. description: '[编号]现货合同编号'
  4593. type: string
  4594. contracttype:
  4595. description: 现货合同类型 - 1:采购 -1:销售
  4596. type: integer
  4597. createtime:
  4598. description: 创建时间
  4599. type: string
  4600. customerusername:
  4601. description: 对手方
  4602. type: string
  4603. deliverygoodsid:
  4604. description: 现货品种ID
  4605. type: integer
  4606. exetype:
  4607. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4608. type: integer
  4609. logid:
  4610. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4611. type: string
  4612. logvalue:
  4613. description: '[期间变化量]现货量变更值'
  4614. type: number
  4615. middlegoodschange:
  4616. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4617. type: number
  4618. operatelogtype:
  4619. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4620. 27:生产出库
  4621. type: integer
  4622. relatedid:
  4623. description: 现货合同ID
  4624. type: integer
  4625. spotgoodsbrandid:
  4626. description: 现货品牌ID
  4627. type: integer
  4628. tradedate:
  4629. description: 交易日(yyyyMMdd)
  4630. type: string
  4631. userid:
  4632. description: 机构ID
  4633. type: integer
  4634. warehouseinfoid:
  4635. description: 仓库ID
  4636. type: integer
  4637. wrfactortypeid:
  4638. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4639. type: integer
  4640. wrstandardid:
  4641. description: 现货商品ID
  4642. type: integer
  4643. wrstandardname:
  4644. description: 商品名称
  4645. type: string
  4646. type: object
  4647. models.Ermcp3AreaSpot:
  4648. properties:
  4649. areauserid:
  4650. description: 所属机构
  4651. type: integer
  4652. convertratio:
  4653. description: 套保系数
  4654. type: number
  4655. decreaseqty:
  4656. description: 减少数量=-(销售已定价数量+采购计划数量)
  4657. type: number
  4658. enumdicname:
  4659. description: 单位名称
  4660. type: string
  4661. increaseqty:
  4662. description: 增加数量=销售计划数量+采购已定价数量
  4663. type: number
  4664. oritoalspotqty:
  4665. description: 昨日数量
  4666. type: number
  4667. totalspotqty:
  4668. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4669. type: number
  4670. unitid:
  4671. description: 现货商品单位id
  4672. type: integer
  4673. updatetime:
  4674. description: 更新时间
  4675. type: string
  4676. wrstandardcode:
  4677. description: 现货商品代码
  4678. type: string
  4679. wrstandardid:
  4680. description: 现货商品ID(SEQ_WRSTANDARD)
  4681. type: integer
  4682. wrstandardname:
  4683. description: 现货商品名称
  4684. type: string
  4685. type: object
  4686. models.Ermcp3AreaSpotDetail:
  4687. properties:
  4688. contracttype:
  4689. description: 合同类型 1-采购 -1-销售
  4690. type: integer
  4691. createtime:
  4692. description: 创建时间
  4693. type: string
  4694. enumdicname:
  4695. description: 现货商品单位名称
  4696. type: string
  4697. logtype:
  4698. description: 记录类型 1-套保 2-现货合同
  4699. type: integer
  4700. qty:
  4701. description: 数量
  4702. type: number
  4703. recordname:
  4704. description: 类型名称
  4705. type: string
  4706. relatedid:
  4707. description: 套保计划ID/现货合同ID
  4708. type: string
  4709. relatedno:
  4710. description: 编号
  4711. type: string
  4712. strtime:
  4713. description: 时间
  4714. type: string
  4715. wrstandardcode:
  4716. description: 现货商品代码
  4717. type: string
  4718. wrstandardid:
  4719. description: 现货商品ID(SEQ_WRSTANDARD)
  4720. type: integer
  4721. wrstandardname:
  4722. description: 现货商品名称
  4723. type: string
  4724. type: object
  4725. models.Ermcp3AreaSpotPLReport:
  4726. properties:
  4727. accountid:
  4728. description: 期货账户ID (作废, 默认为0)
  4729. type: integer
  4730. accountname:
  4731. description: 机构名称
  4732. type: string
  4733. actualpl:
  4734. description: 现货损益
  4735. type: number
  4736. areauserid:
  4737. description: 所属机构\交易用户ID
  4738. type: integer
  4739. begindate:
  4740. description: 开始交易日
  4741. type: string
  4742. biztype:
  4743. description: 业务类型 - 1:套保 2:套利
  4744. type: integer
  4745. brandname:
  4746. description: 品牌名称
  4747. type: string
  4748. curamount:
  4749. description: 期末额
  4750. type: number
  4751. curaverageprice:
  4752. description: 期末均价
  4753. type: number
  4754. curbuyamount:
  4755. description: 期末采购总额
  4756. type: number
  4757. curbuyqty:
  4758. description: 期末采购总量
  4759. type: number
  4760. curmarketvalue:
  4761. description: 参考市值(期末市值)
  4762. type: number
  4763. curqty:
  4764. description: 期末量
  4765. type: number
  4766. currencyid:
  4767. description: 结算币种ID【原值】
  4768. type: integer
  4769. currencyname:
  4770. description: 币种名称
  4771. type: string
  4772. cursellamount:
  4773. description: 期末销售总额
  4774. type: number
  4775. cursellqty:
  4776. description: 期末销售总量
  4777. type: number
  4778. curspotprice:
  4779. description: 参考市价(最新价)
  4780. type: number
  4781. cycletime:
  4782. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4783. type: string
  4784. cycletype:
  4785. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4786. type: integer
  4787. deliverygoodscode:
  4788. description: 现货品种代码
  4789. type: string
  4790. deliverygoodsid:
  4791. description: 现货品种ID
  4792. type: integer
  4793. deliverygoodsname:
  4794. description: 现货品种名称
  4795. type: string
  4796. enddate:
  4797. description: 结束交易日
  4798. type: string
  4799. enumdicname:
  4800. description: 现货品种单位名称(作废)
  4801. type: string
  4802. floatpl:
  4803. description: 浮动损益
  4804. type: number
  4805. goodsunitid:
  4806. description: 现货品种单位id(作废)
  4807. type: integer
  4808. oriamount:
  4809. description: 期初额
  4810. type: number
  4811. oriaverageprice:
  4812. description: 期初均价
  4813. type: number
  4814. oribuyamount:
  4815. description: 期初采购总额
  4816. type: number
  4817. oribuyqty:
  4818. description: 期初采购总量
  4819. type: number
  4820. oriqty:
  4821. description: 期初量
  4822. type: number
  4823. orisellamount:
  4824. description: 期初销售总额
  4825. type: number
  4826. orisellqty:
  4827. description: 期初销售总量
  4828. type: number
  4829. reckondate:
  4830. description: 日照时期(yyyyMMdd)
  4831. type: string
  4832. spotgoodsbrandid:
  4833. description: 现货品牌ID
  4834. type: integer
  4835. todaybuyamount:
  4836. description: 今日采购额(今采购额)
  4837. type: number
  4838. todaybuyaverageprice:
  4839. description: 今日采购均价
  4840. type: number
  4841. todaybuyqty:
  4842. description: 今日采购量(今采购量)
  4843. type: number
  4844. todayinqty:
  4845. description: 今日入库量(今入库量)
  4846. type: number
  4847. todayoutqty:
  4848. description: 今日出库量(今出库量)
  4849. type: number
  4850. todaysellamount:
  4851. description: 今日销售额(今销售额)
  4852. type: number
  4853. todaysellaverageprice:
  4854. description: 今日销售均价
  4855. type: number
  4856. todaysellqty:
  4857. description: 今日销售量(今销售量)
  4858. type: number
  4859. unitid:
  4860. description: 品类单位id
  4861. type: integer
  4862. unitidname:
  4863. description: 品类单位名称
  4864. type: string
  4865. updatetime:
  4866. description: 更新时间
  4867. type: string
  4868. wrfactortypeid:
  4869. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4870. type: integer
  4871. wrstandardcode:
  4872. description: 现货商品(品类)代码
  4873. type: string
  4874. wrstandardid:
  4875. description: 现货品类ID
  4876. type: integer
  4877. wrstandardname:
  4878. description: 现货商品(品类)名称
  4879. type: string
  4880. type: object
  4881. models.Ermcp3AreaStock:
  4882. properties:
  4883. brandname:
  4884. description: 品牌名称
  4885. type: string
  4886. curstock:
  4887. description: 期末库存量(今日量)
  4888. type: number
  4889. deliverygoodscode:
  4890. description: 现货品种代码
  4891. type: string
  4892. deliverygoodsid:
  4893. description: 现货品种id
  4894. type: integer
  4895. deliverygoodsname:
  4896. description: 现货品种名称
  4897. type: string
  4898. enumdicname:
  4899. description: 单位名称
  4900. type: string
  4901. goodsunitid:
  4902. description: 现货商品单位id
  4903. type: integer
  4904. oristock:
  4905. description: 期初库存量(昨日量)
  4906. type: number
  4907. spotgoodsbrandid:
  4908. description: 现货品牌ID
  4909. type: integer
  4910. todaybuyinqty:
  4911. description: 今日采购入库量
  4912. type: number
  4913. todayproduceinqty:
  4914. description: 今日生产入库量
  4915. type: number
  4916. todayproduceoutqty:
  4917. description: 今日生产出库量
  4918. type: number
  4919. todayselloutqty:
  4920. description: 今日销售出库量
  4921. type: number
  4922. unitid:
  4923. description: 单位id
  4924. type: integer
  4925. updatetime:
  4926. description: 更新时间
  4927. type: string
  4928. userid:
  4929. description: 机构ID
  4930. type: integer
  4931. username:
  4932. description: 机构名称
  4933. type: string
  4934. warehousecode:
  4935. description: 仓库代码
  4936. type: string
  4937. warehouseinfoid:
  4938. description: 仓库ID
  4939. type: string
  4940. warehousename:
  4941. description: 仓库名称
  4942. type: string
  4943. warehousetype:
  4944. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4945. type: integer
  4946. wrstandardcode:
  4947. description: 品类代码
  4948. type: string
  4949. wrstandardid:
  4950. description: 品类ID
  4951. type: string
  4952. wrstandardname:
  4953. description: 品类名称
  4954. type: string
  4955. required:
  4956. - userid
  4957. type: object
  4958. models.Ermcp3AreaStockApply:
  4959. properties:
  4960. applyid:
  4961. description: 申请人
  4962. type: integer
  4963. applyname:
  4964. description: 申请人名称
  4965. type: string
  4966. applyremark:
  4967. description: 申请备注
  4968. type: string
  4969. applysrc:
  4970. description: 申请来源 - 1:管理端 2:终端
  4971. type: integer
  4972. applystatus:
  4973. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4974. type: integer
  4975. applytime:
  4976. description: 申请时间
  4977. type: string
  4978. auditid:
  4979. description: 审核人
  4980. type: integer
  4981. auditname:
  4982. description: 审核人名称
  4983. type: string
  4984. auditremark:
  4985. description: 审核备注
  4986. type: string
  4987. auditsrc:
  4988. description: 审核来源 - 1:管理端 2:终端
  4989. type: integer
  4990. audittime:
  4991. description: 审核时间
  4992. type: string
  4993. audittradedate:
  4994. description: 审核交易日(yyyyMMdd)
  4995. type: string
  4996. brandname:
  4997. description: 品牌名称
  4998. type: string
  4999. buynickname:
  5000. description: 采购方昵称
  5001. type: string
  5002. buyuserid:
  5003. description: 采购方userid
  5004. type: integer
  5005. buyusername:
  5006. description: 采购方名称
  5007. type: string
  5008. contractno:
  5009. description: 合同编号
  5010. type: string
  5011. contractqty:
  5012. description: 合同量
  5013. type: number
  5014. contracttype:
  5015. description: 现货合同类型 - 1:采购 -1:销售
  5016. type: integer
  5017. deliverygoodscode:
  5018. description: 现货品种代码
  5019. type: string
  5020. deliverygoodsid:
  5021. description: 现货品种id
  5022. type: integer
  5023. deliverygoodsname:
  5024. description: 现货品种名称
  5025. type: string
  5026. detailjson:
  5027. description: 明细数据
  5028. type: string
  5029. enumdicname:
  5030. description: 现货商品单位名称
  5031. type: string
  5032. inoutapplyid:
  5033. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5034. type: string
  5035. inouttype:
  5036. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5037. type: integer
  5038. pricetype:
  5039. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5040. type: integer
  5041. qty:
  5042. description: 数量
  5043. type: number
  5044. sellnickname:
  5045. description: 销售方昵称
  5046. type: string
  5047. selluserid:
  5048. description: 销售方userid
  5049. type: integer
  5050. sellusername:
  5051. description: 销售方名称
  5052. type: string
  5053. spotcontractid:
  5054. description: 关联现货合同ID
  5055. type: string
  5056. spotgoodsbrandid:
  5057. description: 现货品牌ID
  5058. type: integer
  5059. unitid:
  5060. description: 单位id
  5061. type: integer
  5062. userid:
  5063. description: 机构ID
  5064. type: integer
  5065. warehousecode:
  5066. description: 仓库代码
  5067. type: string
  5068. warehouseinfoid:
  5069. description: 现货仓库ID
  5070. type: string
  5071. warehousename:
  5072. description: 仓库名称
  5073. type: string
  5074. warehousetype:
  5075. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5076. type: integer
  5077. wrstandardcode:
  5078. description: 品类代码
  5079. type: string
  5080. wrstandardid:
  5081. description: 品类ID
  5082. type: integer
  5083. wrstandardname:
  5084. description: 品类名称
  5085. type: string
  5086. type: object
  5087. models.Ermcp3AreaStockApplySum:
  5088. properties:
  5089. brandname:
  5090. description: 品牌名称
  5091. type: string
  5092. inouttype:
  5093. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5094. type: integer
  5095. spotcontractid:
  5096. description: 关联现货合同ID
  5097. type: string
  5098. spotgoodsbrandid:
  5099. description: 品牌id
  5100. type: integer
  5101. totalqty:
  5102. description: 总数量
  5103. type: number
  5104. wrstandardid:
  5105. description: 品类id
  5106. type: integer
  5107. wrstandardname:
  5108. description: 品类名称
  5109. type: string
  5110. type: object
  5111. models.Ermcp3AreaStockReportEx:
  5112. properties:
  5113. begindate:
  5114. description: 开始交易日
  5115. type: string
  5116. brandname:
  5117. description: 品牌名称
  5118. type: string
  5119. curstock:
  5120. description: 期末库存量
  5121. type: number
  5122. cycletime:
  5123. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5124. type: string
  5125. cycletype:
  5126. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5127. type: integer
  5128. deliverygoodscode:
  5129. description: 现货品种代码
  5130. type: string
  5131. deliverygoodsid:
  5132. description: 现货品种id
  5133. type: integer
  5134. deliverygoodsname:
  5135. description: 现货品种名称
  5136. type: string
  5137. diffqty:
  5138. description: 库存变化量 = 期末 - 期初
  5139. type: number
  5140. enddate:
  5141. description: 结束交易日
  5142. type: string
  5143. enumdicname:
  5144. description: 单位名称
  5145. type: string
  5146. goodsunitid:
  5147. description: 现货单位id
  5148. type: integer
  5149. oristock:
  5150. description: 期初库存量
  5151. type: number
  5152. reckondate:
  5153. description: 日照时期(yyyyMMdd)
  5154. type: string
  5155. spotgoodsbrandid:
  5156. description: 现货品牌ID
  5157. type: integer
  5158. todaybuyinqty:
  5159. description: 今采购入库量
  5160. type: number
  5161. todayproduceinqty:
  5162. description: 今内部入库量
  5163. type: number
  5164. todayproduceoutqty:
  5165. description: 今内部出库量
  5166. type: number
  5167. todayselloutqty:
  5168. description: 今销售出库量
  5169. type: number
  5170. unbuyinqty:
  5171. description: 采购未入库量(数据库未找到相关字段?)
  5172. type: number
  5173. unitid:
  5174. description: 品类单位id
  5175. type: integer
  5176. unselloutqty:
  5177. description: 销售未出库量(数据库未找到相关字段?)
  5178. type: number
  5179. updatetime:
  5180. description: 更新时间
  5181. type: string
  5182. userid:
  5183. description: 机构ID
  5184. type: integer
  5185. username:
  5186. description: 机构名称
  5187. type: string
  5188. warehousecode:
  5189. description: 仓库代码
  5190. type: string
  5191. warehouseinfoid:
  5192. description: 仓库ID
  5193. type: string
  5194. warehousename:
  5195. description: 仓库名称
  5196. type: string
  5197. warehousetype:
  5198. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5199. type: integer
  5200. wrstandardcode:
  5201. description: 品类代码
  5202. type: string
  5203. wrstandardid:
  5204. description: 品类ID
  5205. type: integer
  5206. wrstandardname:
  5207. description: 品类名称
  5208. type: string
  5209. type: object
  5210. models.Ermcp3ArealSumPL:
  5211. properties:
  5212. accountname:
  5213. description: 机构名称
  5214. type: string
  5215. areauserid:
  5216. description: 所属机构\交易用户ID
  5217. type: integer
  5218. begindate:
  5219. description: 开始交易日
  5220. type: string
  5221. currencyid:
  5222. description: 结算币种ID
  5223. type: integer
  5224. currencyname:
  5225. description: 币种名称
  5226. type: string
  5227. cycletime:
  5228. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5229. type: string
  5230. cycletype:
  5231. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5232. type: integer
  5233. enddate:
  5234. description: 结束交易日
  5235. type: string
  5236. enumdicname:
  5237. description: 单位名称(套保品种)
  5238. type: string
  5239. futureactualpl:
  5240. description: 期货损益
  5241. type: number
  5242. futurefloatpl:
  5243. description: 期货浮动损益
  5244. type: number
  5245. futurespotratio:
  5246. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5247. type: number
  5248. goodsunitid:
  5249. description: 套保品种单位id
  5250. type: integer
  5251. hedgeexposurepl:
  5252. description: 套保敞口损益
  5253. type: number
  5254. middlegoodscode:
  5255. description: 套保品种代码
  5256. type: string
  5257. middlegoodsid:
  5258. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5259. type: integer
  5260. middlegoodsname:
  5261. description: 套保品种名称
  5262. type: string
  5263. reckondate:
  5264. description: 日照时期(yyyyMMdd)
  5265. type: string
  5266. spotactualpl:
  5267. description: 现货损益
  5268. type: number
  5269. spotfloatpl:
  5270. description: 现货浮动损益
  5271. type: number
  5272. sumactualpl:
  5273. description: 实际损益 = (ActualPL + FutureActualPL)
  5274. type: number
  5275. sumpl:
  5276. description: 总敞口损益 | 汇总损益
  5277. type: number
  5278. totalfutureqty:
  5279. description: 期货头寸总量
  5280. type: number
  5281. totalneedhedgeqty:
  5282. description: 应套保总量
  5283. type: number
  5284. totalspotqty:
  5285. description: 现货头寸总量
  5286. type: number
  5287. updatetime:
  5288. description: 更新时间
  5289. type: string
  5290. type: object
  5291. models.Ermcp3Brand:
  5292. properties:
  5293. areauserid:
  5294. description: 用户id
  5295. type: integer
  5296. brandid:
  5297. description: 品牌id
  5298. type: integer
  5299. brandname:
  5300. description: 品牌名称
  5301. type: string
  5302. deliverygoodsid:
  5303. description: 品种ID
  5304. type: integer
  5305. isvalid:
  5306. description: 是否有效
  5307. type: integer
  5308. type: object
  5309. models.Ermcp3Contract:
  5310. properties:
  5311. accountid:
  5312. description: 期货账户id
  5313. type: string
  5314. amount:
  5315. description: 金额 [1:一口价、3:暂定价]
  5316. type: number
  5317. attachment:
  5318. description: 附件
  5319. type: string
  5320. auditremark:
  5321. description: 审核意见
  5322. type: string
  5323. audittime:
  5324. description: 审核时间
  5325. type: string
  5326. biztype:
  5327. description: 业务类型 1-套保 2-套利
  5328. type: integer
  5329. brandname:
  5330. description: 品牌名称
  5331. type: string
  5332. buynickname:
  5333. description: 销售方昵称
  5334. type: string
  5335. buyuserid:
  5336. description: 采购方ID
  5337. type: integer
  5338. buyusername:
  5339. description: 采购方名称
  5340. type: string
  5341. contracctstatus:
  5342. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5343. type: integer
  5344. contractmargin:
  5345. description: 合同保证金
  5346. type: number
  5347. contractno:
  5348. description: 现货合同编号
  5349. type: string
  5350. contracttype:
  5351. description: 现货合同类型 - 1:采购 -1:销售
  5352. type: integer
  5353. convertfactor:
  5354. description: 标仓系数(品类)
  5355. type: number
  5356. createtime:
  5357. description: 创建时间
  5358. type: string
  5359. currencyid:
  5360. description: 币种id
  5361. type: integer
  5362. currencyname:
  5363. description: 币种名称
  5364. type: string
  5365. deliveryenddate:
  5366. description: 交收期(结束)
  5367. type: string
  5368. deliverygoodscode:
  5369. description: 现货品种代码
  5370. type: string
  5371. deliverygoodsid:
  5372. description: 现货品种ID
  5373. type: integer
  5374. deliverygoodsname:
  5375. description: 现货品种名称
  5376. type: string
  5377. deliverystartdate:
  5378. description: 交收期(开始)
  5379. type: string
  5380. enddate:
  5381. description: 点价结束日期 [2:点价 3:暂定价]
  5382. type: string
  5383. enumdicname:
  5384. description: 单位名称
  5385. type: string
  5386. goodscode:
  5387. description: 点价合约代码
  5388. type: string
  5389. goodsid:
  5390. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5391. type: integer
  5392. goodsname:
  5393. description: 点价商品名称
  5394. type: string
  5395. margin:
  5396. description: 当前保证金
  5397. type: number
  5398. meruserid:
  5399. description: 跟单员id
  5400. type: integer
  5401. meruserlogincode:
  5402. description: 跟单员登录代码
  5403. type: string
  5404. merusername:
  5405. description: 跟单员名称
  5406. type: string
  5407. pointdesc:
  5408. description: 点价备注
  5409. type: string
  5410. price:
  5411. description: 价格\暂定价 [1:一口价、3:暂定价]
  5412. type: number
  5413. pricemove:
  5414. description: 升贴水 [2:点价 3:暂定价]
  5415. type: number
  5416. pricetype:
  5417. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5418. type: integer
  5419. producttype:
  5420. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5421. type: integer
  5422. qty:
  5423. description: 数量
  5424. type: number
  5425. remark:
  5426. description: 备注
  5427. type: string
  5428. saleuserid:
  5429. description: 业务员id
  5430. type: integer
  5431. saleuserlogincode:
  5432. description: 业务员登录代码
  5433. type: string
  5434. saleusername:
  5435. description: 业务员名称
  5436. type: string
  5437. sellnickname:
  5438. description: 采购方昵称
  5439. type: string
  5440. selluserid:
  5441. description: 销售方ID
  5442. type: integer
  5443. sellusername:
  5444. description: 销售方名称
  5445. type: string
  5446. spotcontractid:
  5447. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5448. type: string
  5449. spotgoodsbrandid:
  5450. description: 现货品牌ID(DGFactoryItem表的ID)
  5451. type: integer
  5452. spotgoodsdesc:
  5453. description: 商品型号
  5454. type: string
  5455. startdate:
  5456. description: 点价开始日期 [2:点价 3:暂定价]
  5457. type: string
  5458. subjectid:
  5459. description: 交易主体ID
  5460. type: integer
  5461. subjectname:
  5462. description: 交易主体名称
  5463. type: string
  5464. tradeuserid:
  5465. description: 交易员id
  5466. type: integer
  5467. tradeuserlogincode:
  5468. description: 交易员登录代码
  5469. type: string
  5470. tradeusername:
  5471. description: 交易员名称
  5472. type: string
  5473. unitid:
  5474. description: 单位id(取品类上的单位id)
  5475. type: integer
  5476. updatetime:
  5477. description: 更新时间
  5478. type: string
  5479. userid:
  5480. description: 所属机构ID
  5481. type: integer
  5482. vatrate:
  5483. description: 增值税率
  5484. type: number
  5485. wrstandardcode:
  5486. description: 品类代码
  5487. type: string
  5488. wrstandardid:
  5489. description: 品类ID
  5490. type: integer
  5491. wrstandardname:
  5492. description: 品类名称
  5493. type: string
  5494. type: object
  5495. models.Ermcp3ContractMiddleGoodsCfg:
  5496. properties:
  5497. agreeunit:
  5498. description: 合约乘数
  5499. type: number
  5500. convertratio:
  5501. description: 期货品种系数
  5502. type: number
  5503. covertqty:
  5504. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5505. type: integer
  5506. middlegoodsid:
  5507. description: 套保品种ID
  5508. type: integer
  5509. middlegoodspricedqty3:
  5510. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5511. example: "0"
  5512. type: string
  5513. pendingpricedqty:
  5514. description: 待点价量
  5515. example: "0"
  5516. type: string
  5517. relatedmiddlegoodsqty:
  5518. description: 已关联量(套保品种-期货)
  5519. example: "0"
  5520. type: string
  5521. spotcontractid:
  5522. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5523. type: string
  5524. type: object
  5525. models.Ermcp3ExposureContractDetail:
  5526. properties:
  5527. biztype:
  5528. description: 业务类型 1-套保 2-套利
  5529. type: integer
  5530. brandname:
  5531. description: 品牌名称
  5532. type: string
  5533. buyuserid:
  5534. description: 采购方id
  5535. type: integer
  5536. buyusername:
  5537. description: 采购方名称
  5538. type: string
  5539. contractno:
  5540. description: 合同编号
  5541. type: string
  5542. contracttype:
  5543. description: 现货合同类型 - 1:采购 -1:销售
  5544. type: integer
  5545. convertfactor:
  5546. description: 标仓系数
  5547. type: number
  5548. convertratio:
  5549. description: 折算系数(套保品种)
  5550. type: number
  5551. curqty:
  5552. description: 今定价量
  5553. type: number
  5554. deliverygoodscode:
  5555. description: 现货品种代码
  5556. type: string
  5557. deliverygoodsid:
  5558. description: 现货品种id
  5559. type: integer
  5560. deliverygoodsname:
  5561. description: 现货品种名称
  5562. type: string
  5563. diffhedgeqty:
  5564. description: 套保变动量
  5565. type: number
  5566. diffneedhedgeqty:
  5567. description: 应套保变动量
  5568. type: number
  5569. diffqty:
  5570. description: 套保品种今变动量
  5571. type: number
  5572. enumdicname:
  5573. description: 单位名称
  5574. type: string
  5575. mgunitname:
  5576. description: 套保品种单位名称
  5577. type: string
  5578. middlegoodscode:
  5579. description: 套保品种代码
  5580. type: string
  5581. middlegoodsid:
  5582. description: 套保品种id
  5583. type: integer
  5584. middlegoodsname:
  5585. description: 套保品种名称
  5586. type: string
  5587. needarbitrageratio:
  5588. description: 应套利比例
  5589. type: number
  5590. needhedgeratio:
  5591. description: 应套保比例
  5592. type: number
  5593. pricedqty:
  5594. description: 已定价量
  5595. type: number
  5596. qty:
  5597. description: 合同量
  5598. type: number
  5599. reckondate:
  5600. description: 交易日(reckondate)
  5601. type: string
  5602. selluserid:
  5603. description: 销售方id
  5604. type: integer
  5605. sellusername:
  5606. description: 销售方名称
  5607. type: string
  5608. spotcontractid:
  5609. description: 合同id
  5610. type: string
  5611. todaypricedqty:
  5612. description: 今定价量
  5613. type: number
  5614. tradedate:
  5615. description: 交易日
  5616. type: string
  5617. unitid:
  5618. description: 品类单位id
  5619. type: integer
  5620. userid:
  5621. description: 机构id
  5622. type: integer
  5623. username:
  5624. description: 交易用户
  5625. type: string
  5626. wrstandardcode:
  5627. description: 现货商品代码
  5628. type: string
  5629. wrstandardid:
  5630. description: 现货商品id
  5631. type: integer
  5632. wrstandardname:
  5633. description: 现货商品名称
  5634. type: string
  5635. type: object
  5636. models.Ermcp3ExposureDetail:
  5637. properties:
  5638. areauserid:
  5639. description: 机构ID
  5640. type: integer
  5641. changeQty:
  5642. description: 套保变动量
  5643. type: number
  5644. contracttype:
  5645. description: 现货合同类型 - 1:采购 -1:销售
  5646. type: integer
  5647. convertfactor:
  5648. description: 标仓系数
  5649. type: number
  5650. convertratio:
  5651. description: 折算系数
  5652. type: number
  5653. createtime:
  5654. description: 时间
  5655. type: string
  5656. enumdicname:
  5657. description: 现货商品单位名称
  5658. type: string
  5659. logtype:
  5660. description: 类型 - 1:套保计划 2:现货合同
  5661. type: integer
  5662. mgunitid:
  5663. description: 套保品种单位id
  5664. type: integer
  5665. mgunitidname:
  5666. description: 套保品种单位名称
  5667. type: string
  5668. middlegoodsId:
  5669. description: 套保商品id
  5670. type: integer
  5671. middlegoodscode:
  5672. description: 套保商品代码
  5673. type: string
  5674. middlegoodsname:
  5675. description: 套保商品名称
  5676. type: string
  5677. qty:
  5678. description: 数量
  5679. type: number
  5680. relateNo:
  5681. description: 现货合同/套保计划编号
  5682. type: string
  5683. unitid:
  5684. description: 现货商品单位id
  5685. type: integer
  5686. wrstandardcode:
  5687. description: 现货商品代码
  5688. type: string
  5689. wrstandardid:
  5690. description: 现货商品ID(SEQ_WRSTANDARD)
  5691. type: integer
  5692. wrstandardname:
  5693. description: 现货商品名称
  5694. type: string
  5695. type: object
  5696. models.Ermcp3ExposureFutuDetail:
  5697. properties:
  5698. accountid:
  5699. description: 交易账户id
  5700. type: integer
  5701. accountname:
  5702. description: 交易账户
  5703. type: string
  5704. begindate:
  5705. description: 开始交易日
  5706. type: string
  5707. buyorsell:
  5708. description: 方向 0-买 1-卖
  5709. type: integer
  5710. diffmgqty:
  5711. description: 套保品种今变化量
  5712. type: number
  5713. diffneedqty:
  5714. description: 应套保总量变化量
  5715. type: number
  5716. difftradeqty:
  5717. description: 交易品种今变化量
  5718. type: number
  5719. enddate:
  5720. description: 结束交易日
  5721. type: string
  5722. enumdicname:
  5723. description: 单位名称
  5724. type: string
  5725. goodscode:
  5726. description: 商品代码
  5727. type: string
  5728. goodsid:
  5729. description: 商品id
  5730. type: integer
  5731. goodsname:
  5732. description: 商品名称
  5733. type: string
  5734. holdqty:
  5735. description: 期末持仓量
  5736. type: number
  5737. middlegoodscode:
  5738. description: 套保商品代码
  5739. type: string
  5740. middlegoodsid:
  5741. description: 套保商品id
  5742. type: integer
  5743. middlegoodsname:
  5744. description: 套保商品名称
  5745. type: string
  5746. oriholdqty:
  5747. description: 期初持仓量
  5748. type: number
  5749. reckondate:
  5750. description: 交易日(RECKONDATE)
  5751. type: string
  5752. todaycloseqty:
  5753. description: 今平仓量
  5754. type: number
  5755. todayopenqty:
  5756. description: 今开仓量
  5757. type: number
  5758. tradedate:
  5759. description: 交易日(RECKONDATE)
  5760. type: string
  5761. username:
  5762. description: 用户名称(交易用户)
  5763. type: string
  5764. type: object
  5765. models.Ermcp3ExposureHedgeplanDetail:
  5766. properties:
  5767. biztype:
  5768. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5769. type: integer
  5770. changqty:
  5771. description: 应套保总量变化量
  5772. type: number
  5773. contracttype:
  5774. description: 计划类型 - 1:采购 -1:销售
  5775. type: integer
  5776. convertratio:
  5777. description: 折算系数(套保品种)
  5778. type: number
  5779. deliverygoodscode:
  5780. description: 现货商品代码
  5781. type: string
  5782. deliverygoodsid:
  5783. description: 现货商品id
  5784. type: integer
  5785. deliverygoodsname:
  5786. description: 现货商吕名称
  5787. type: string
  5788. dgunitid:
  5789. description: 现货商品单位id
  5790. type: integer
  5791. dgunitidname:
  5792. description: 单位名称(现货商品)
  5793. type: string
  5794. diffqty:
  5795. description: 套保品种今变动量
  5796. type: number
  5797. enumdicname:
  5798. description: 单位名称(品类)
  5799. type: string
  5800. hedgeplanid:
  5801. description: 套保计划id
  5802. type: string
  5803. hedgeplanno:
  5804. description: 套保计划名称
  5805. type: string
  5806. hedgeplanstatus:
  5807. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5808. type: integer
  5809. mgunitidname:
  5810. description: 单位名称(套保商品)
  5811. type: string
  5812. middlegoodscode:
  5813. description: 套保品种代码
  5814. type: string
  5815. middlegoodsid:
  5816. description: 套保品种id
  5817. type: integer
  5818. middlegoodsname:
  5819. description: 套保品种名称
  5820. type: string
  5821. needarbitrageratio:
  5822. description: 应套利比例
  5823. type: number
  5824. needhedgeratio:
  5825. description: 应套保比例
  5826. type: number
  5827. pricedqty:
  5828. description: 已定价量
  5829. type: number
  5830. qty:
  5831. description: 合同量
  5832. type: number
  5833. reckondate:
  5834. description: 交易日(reckondate)
  5835. type: string
  5836. tradedate:
  5837. description: 交易日(登记日)
  5838. type: string
  5839. unitid:
  5840. description: 品类单位id
  5841. type: integer
  5842. userid:
  5843. description: 机构id
  5844. type: integer
  5845. wrstandardcode:
  5846. description: 品类代码
  5847. type: string
  5848. wrstandardid:
  5849. description: 品类id
  5850. type: integer
  5851. wrstandardname:
  5852. description: 品类名称
  5853. type: string
  5854. type: object
  5855. models.Ermcp3ExposureParamChLog:
  5856. properties:
  5857. accountid:
  5858. description: 期货账户ID (作废, 默认为0)
  5859. type: integer
  5860. aftervalue:
  5861. description: 应套保\套利量变更后(调整后应套保总量)
  5862. type: number
  5863. areauserid:
  5864. description: 所属机构\交易用户ID
  5865. type: integer
  5866. beforevalue:
  5867. description: 应套保\套利量变更前(调整前应套保总量)
  5868. type: number
  5869. begindate:
  5870. description: 开始交易日
  5871. type: string
  5872. changelogtype:
  5873. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5874. type: integer
  5875. curvalue:
  5876. description: 当前套保\套利量(套保总量|套利总量)
  5877. type: number
  5878. diffvalue:
  5879. description: 应套保总量变化量
  5880. type: number
  5881. enddate:
  5882. description: 结束交易日
  5883. type: string
  5884. logdatetime:
  5885. description: 流水日期
  5886. type: string
  5887. logid:
  5888. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5889. type: string
  5890. middlegoodscode:
  5891. description: 套保品种代码
  5892. type: string
  5893. middlegoodsid:
  5894. description: 套保品种
  5895. type: integer
  5896. middlegoodsname:
  5897. description: 套保品种名称
  5898. type: string
  5899. paramaftervalue:
  5900. description: 参数变更后(调整后参数值)
  5901. type: number
  5902. parambeforevalue:
  5903. description: 参数变更前(调整前参数值)
  5904. type: number
  5905. reckondate:
  5906. description: 交易日(reckondate)
  5907. type: string
  5908. tradedate:
  5909. description: 交易日(yyyyMMdd)
  5910. type: string
  5911. type: object
  5912. models.Ermcp3ExpourseReport:
  5913. properties:
  5914. accountid:
  5915. description: 期货账户ID (作废, 默认为0)
  5916. type: integer
  5917. accountname:
  5918. description: 机构名称
  5919. type: string
  5920. arbitrageqty:
  5921. description: 套利量
  5922. type: number
  5923. areauserid:
  5924. description: 所属机构\交易用户ID
  5925. type: integer
  5926. begindate:
  5927. description: 开始交易日
  5928. type: string
  5929. buyfutureqty:
  5930. description: 买入期货数量
  5931. type: number
  5932. buyplanqty:
  5933. description: 采购计划数量
  5934. type: number
  5935. buypricedqty:
  5936. description: 采购合同已定价数量
  5937. type: number
  5938. cycletime:
  5939. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5940. type: string
  5941. cycletype:
  5942. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5943. type: integer
  5944. diffexposure:
  5945. description: 变动量(套保敞口)
  5946. type: number
  5947. difffutuqty:
  5948. description: 变动量(期货)
  5949. type: number
  5950. diffhedgeqty:
  5951. description: 变动量(现货应套保总量)
  5952. type: number
  5953. diffmgqtya:
  5954. description: 套保变动量
  5955. type: number
  5956. diffmgqtyb:
  5957. description: 套利变动量
  5958. type: number
  5959. diffneedqty:
  5960. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5961. type: number
  5962. diffqty:
  5963. description: 变动量(总敞口)
  5964. type: number
  5965. diffspotqty:
  5966. description: 变动量(现货) | 除税变动量
  5967. type: number
  5968. enddate:
  5969. description: 结束交易日
  5970. type: string
  5971. enumdicname:
  5972. description: 单位名称
  5973. type: string
  5974. hedgeqty:
  5975. description: 套保量
  5976. type: number
  5977. mgneedhedgeratio:
  5978. description: 套保比例(套保品的)
  5979. type: number
  5980. middlegoodsid:
  5981. description: 套保品种ID
  5982. type: integer
  5983. middlegoodsname:
  5984. description: 套保商品名称
  5985. type: string
  5986. middlgoodscode:
  5987. description: 套保商品代码
  5988. type: string
  5989. needarbitrageqty:
  5990. description: 应套利量
  5991. type: number
  5992. needarbitrageratio:
  5993. description: 套利比例(套保品的)
  5994. type: number
  5995. needhedgeexposoure:
  5996. description: 应套保敞口(套保敞口)
  5997. type: number
  5998. needhedgeqty:
  5999. description: 应套保量
  6000. type: number
  6001. needhedgeratio:
  6002. description: 应套保敞口比例
  6003. type: number
  6004. needqty:
  6005. description: 应套总量 = 应套保量 + 应套利量
  6006. type: number
  6007. oriarbitrageqty:
  6008. description: 期初套利量
  6009. type: number
  6010. oribuyfutureqty:
  6011. description: 期初买入期货数量
  6012. type: number
  6013. oribuyplanqty:
  6014. description: 期初采购计划数量
  6015. type: number
  6016. oribuypricedqty:
  6017. description: 期初采购合同已定价数量
  6018. type: number
  6019. orihedgeqty:
  6020. description: 期初套保量
  6021. type: number
  6022. orineedarbitrageqty:
  6023. description: 期初应套利量
  6024. type: number
  6025. orineedhedgeexposoure:
  6026. description: 期初应套保敞口
  6027. type: number
  6028. orineedhedgeqty:
  6029. description: 期初应套保量
  6030. type: number
  6031. orisellfutureqty:
  6032. description: 期初卖出期货数量
  6033. type: number
  6034. orisellplanqty:
  6035. description: 期初销售计划数量
  6036. type: number
  6037. orisellpricedqty:
  6038. description: 期初销售合同已定价数量
  6039. type: number
  6040. oritotalexposure:
  6041. description: 期初实时总敞口
  6042. type: number
  6043. oritotalfutureqty:
  6044. description: 期初期货头寸总量
  6045. type: number
  6046. oritotalneedhedgeqty:
  6047. description: 期初应套保总量
  6048. type: number
  6049. oritotalspotqty:
  6050. description: 期初现货头寸总量
  6051. type: number
  6052. reckondate:
  6053. description: 日照时期(yyyyMMdd)
  6054. type: string
  6055. sellfutureqty:
  6056. description: 卖出期货数量
  6057. type: number
  6058. sellplanqty:
  6059. description: 销售计划数量
  6060. type: number
  6061. sellpricedqty:
  6062. description: 销售合同已定价数量
  6063. type: number
  6064. totalexposure:
  6065. description: 实时总敞口(总敞口)
  6066. type: number
  6067. totalfutureqty:
  6068. description: 期货头寸总量(期货总量)
  6069. type: number
  6070. totalhedgeratio:
  6071. description: 敞口比例
  6072. type: number
  6073. totalneedhedgeqty:
  6074. description: 应套保总量(现货应套保总量)
  6075. type: number
  6076. totalspotqty:
  6077. description: 现货头寸总量 | 除税总量
  6078. type: number
  6079. unitid:
  6080. description: 单位id
  6081. type: integer
  6082. updatetime:
  6083. description: 更新时间
  6084. type: string
  6085. type: object
  6086. models.Ermcp3FinanceReport:
  6087. properties:
  6088. accountname:
  6089. description: 机构名称
  6090. type: string
  6091. areauserid:
  6092. description: 所属机构\交易用户ID
  6093. type: integer
  6094. begindate:
  6095. description: 开始交易日
  6096. type: string
  6097. biztype:
  6098. description: 业务类型 - 1:套保 2:套利
  6099. type: integer
  6100. brandname:
  6101. description: 品牌名称
  6102. type: string
  6103. buypreinvoicedamount:
  6104. description: 采购预收票额(预收票额)
  6105. type: number
  6106. buyprepaidamount:
  6107. description: 采购预付款额(预付货款额)
  6108. type: number
  6109. buytodayinvoiceamount:
  6110. description: 采购今收票额(今收票额)
  6111. type: number
  6112. buytodayrefundamount:
  6113. description: 采购今收退款额(今收退款额)
  6114. type: number
  6115. buytodaysettleamount:
  6116. description: 采购今付款额(今付货款额)
  6117. type: number
  6118. buyuninvoicedamount:
  6119. description: 采购应收票额(应收票额)
  6120. type: number
  6121. buyunpaidamount:
  6122. description: 采购应付款额(应付货款额)
  6123. type: number
  6124. currencyid:
  6125. description: 结算币种ID
  6126. type: integer
  6127. currencyname:
  6128. description: 币种名称
  6129. type: string
  6130. cycletime:
  6131. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6132. type: string
  6133. cycletype:
  6134. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6135. type: integer
  6136. deliverygoodscode:
  6137. description: 现货品种代码
  6138. type: string
  6139. deliverygoodsid:
  6140. description: 现货品种ID
  6141. type: integer
  6142. deliverygoodsname:
  6143. description: 现货品种名称
  6144. type: string
  6145. enddate:
  6146. description: 结束交易日
  6147. type: string
  6148. reckondate:
  6149. description: 日照时期(yyyyMMdd)
  6150. type: string
  6151. sellpreinvoicedamount:
  6152. description: 销售预开票额(预开票额)
  6153. type: number
  6154. sellprepaidamount:
  6155. description: 销售预收款额(预收货款额)
  6156. type: number
  6157. selltodayinvoiceamount:
  6158. description: 销售今开票额(今开票额)
  6159. type: number
  6160. selltodayrefundamount:
  6161. description: 销售今付退款额(今付退款额)
  6162. type: number
  6163. selltodaysettleamount:
  6164. description: 销售今收款额(今收货款额)
  6165. type: number
  6166. selluninvoicedamount:
  6167. description: 销售应开票额(应开票额)
  6168. type: number
  6169. sellunpaidamount:
  6170. description: 销售应收款额(应收货款额)
  6171. type: number
  6172. spotgoodsbrandid:
  6173. description: 现货品牌ID
  6174. type: integer
  6175. todaypaysum:
  6176. description: 今付款合计
  6177. type: number
  6178. todayreceivesum:
  6179. description: 今收款合计
  6180. type: number
  6181. updatetime:
  6182. description: 更新时间
  6183. type: string
  6184. wrfactortypeid:
  6185. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6186. type: integer
  6187. wrstandardcode:
  6188. description: 品类代码
  6189. type: string
  6190. wrstandardid:
  6191. description: 现货商品ID
  6192. type: integer
  6193. wrstandardname:
  6194. description: 品类名称
  6195. type: string
  6196. type: object
  6197. models.Ermcp3GoodsGroup:
  6198. properties:
  6199. agreeunit:
  6200. description: 合约单位
  6201. type: number
  6202. areauserid:
  6203. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6204. type: integer
  6205. canshort:
  6206. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6207. type: integer
  6208. closepricemode:
  6209. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6210. type: integer
  6211. createtime:
  6212. description: 创建时间
  6213. type: string
  6214. creatorid:
  6215. description: 创建人
  6216. type: integer
  6217. currencyid:
  6218. description: 报价货币ID
  6219. type: integer
  6220. decimalplace:
  6221. description: 报价小数位
  6222. type: integer
  6223. enumdicname:
  6224. description: 单位名称
  6225. type: string
  6226. exchangefullname:
  6227. description: 交易所全称
  6228. type: string
  6229. excludecfg:
  6230. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6231. type: integer
  6232. exexchangecode:
  6233. description: 交易所代码
  6234. type: string
  6235. exexchangeid:
  6236. description: 外部交易所ID[通道交易]
  6237. type: integer
  6238. exexchangename:
  6239. description: 交易所名称
  6240. type: string
  6241. goodsgroupid:
  6242. description: 商品组ID(自增ID)
  6243. type: integer
  6244. goodsgroupname:
  6245. description: 商品组名称
  6246. type: string
  6247. goodsgroupstatus:
  6248. description: 商品组状态 - 1:正常 2:注销
  6249. type: integer
  6250. goodunitid:
  6251. description: 报价单位ID
  6252. type: integer
  6253. groupcategroyid:
  6254. description: 品种分类ID
  6255. type: integer
  6256. innerdealmode:
  6257. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6258. type: integer
  6259. marketid:
  6260. description: 所属市场ID
  6261. type: integer
  6262. modifierid:
  6263. description: 修改人
  6264. type: integer
  6265. modifytime:
  6266. description: 修改时间
  6267. type: string
  6268. outerdealmode:
  6269. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6270. type: integer
  6271. outergroupcode:
  6272. description: 外部商品组代码[通道交易]
  6273. type: string
  6274. quoteminunit:
  6275. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6276. type: integer
  6277. quotesourcegroupid:
  6278. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6279. type: integer
  6280. syncgoodsqty:
  6281. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6282. type: integer
  6283. required:
  6284. - areauserid
  6285. type: object
  6286. models.Ermcp3HPMiddleGoods:
  6287. properties:
  6288. biztype:
  6289. description: 业务类型 1:套保 2:套利
  6290. type: integer
  6291. contracttype:
  6292. description: 合同类型 1:采购 -1:销售
  6293. type: integer
  6294. convertratio:
  6295. description: 折算系数
  6296. type: number
  6297. customername:
  6298. description: 对手手名称
  6299. type: string
  6300. customeruserid:
  6301. description: 对手id
  6302. type: integer
  6303. enumdicname:
  6304. description: 现货单位名称
  6305. type: string
  6306. hedgeplanid:
  6307. description: 计划id
  6308. type: string
  6309. hedgeplanno:
  6310. description: 计划编号
  6311. type: string
  6312. middlegoodsid:
  6313. description: 套保品种ID
  6314. type: integer
  6315. middlegoodsplanqty3:
  6316. description: 应套保计划量
  6317. type: number
  6318. needhedgeratio:
  6319. description: 套保比例
  6320. type: number
  6321. pricedqty:
  6322. description: 已定价量
  6323. type: number
  6324. relatedmiddlegoodsqty:
  6325. description: 已关联量(套保品种)(期货)
  6326. type: number
  6327. unitid:
  6328. description: 现货单位id
  6329. type: integer
  6330. userid:
  6331. description: 用户id
  6332. type: integer
  6333. vatrate:
  6334. description: 增值税率
  6335. type: number
  6336. wrstandardcode:
  6337. description: 现货商品代码
  6338. type: string
  6339. wrstandardid:
  6340. description: 现货商品id
  6341. type: integer
  6342. wrstandardname:
  6343. description: 现货商品名称
  6344. type: string
  6345. type: object
  6346. models.Ermcp3HedgePlan:
  6347. properties:
  6348. accountid:
  6349. description: 资金账号
  6350. type: integer
  6351. areauserid:
  6352. description: 用户ID
  6353. type: integer
  6354. auditid:
  6355. description: 审核id
  6356. type: integer
  6357. auditname:
  6358. description: 审核人名称
  6359. type: string
  6360. auditremark:
  6361. description: 审核备注
  6362. type: string
  6363. auditsrc:
  6364. description: 审核来源 1-管理端 2-终端
  6365. type: integer
  6366. audittime:
  6367. description: 审核时间
  6368. type: string
  6369. contracttype:
  6370. description: 计划类型 - 1:采购 -1:销售
  6371. type: integer
  6372. convertfactor:
  6373. description: 标仓系数
  6374. type: number
  6375. createtime:
  6376. description: 创建时间
  6377. type: string
  6378. currencyid:
  6379. description: 币种id
  6380. type: integer
  6381. currencyname:
  6382. description: 币种名称
  6383. type: string
  6384. deliverygoodscode:
  6385. description: 现货品种代码
  6386. type: string
  6387. deliverygoodsid:
  6388. description: 现货品种ID
  6389. type: integer
  6390. deliverygoodsname:
  6391. description: 现货品种名称
  6392. type: string
  6393. enumdicname:
  6394. description: 单位名称(现货商品)
  6395. type: string
  6396. hedgeplanid:
  6397. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6398. type: string
  6399. hedgeplanno:
  6400. description: 套保计划编号(名称)
  6401. type: string
  6402. hedgeplanstatus:
  6403. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6404. type: integer
  6405. planqty:
  6406. description: 计划数量
  6407. type: number
  6408. plantime:
  6409. description: 计划时间
  6410. type: string
  6411. producttype:
  6412. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6413. type: integer
  6414. remark:
  6415. description: 备注
  6416. type: string
  6417. spotgoodsdesc:
  6418. description: 商品型号
  6419. type: string
  6420. taaccountname:
  6421. description: 资金账号名称
  6422. type: string
  6423. tradeuserid:
  6424. description: 交易用户id
  6425. type: integer
  6426. tradeusername:
  6427. description: 交易用户名称
  6428. type: string
  6429. unitid:
  6430. description: 单位id(现货商品)
  6431. type: integer
  6432. updatetime:
  6433. description: 更新时间
  6434. type: string
  6435. vatrate:
  6436. description: 增值税率
  6437. type: number
  6438. wrstandardcode:
  6439. description: 品类代码
  6440. type: string
  6441. wrstandardid:
  6442. description: 品类id
  6443. type: integer
  6444. wrstandardname:
  6445. description: 品类名称
  6446. type: string
  6447. wrunitid:
  6448. description: 品类单位id
  6449. type: integer
  6450. wrunitidame:
  6451. description: 品类单位名称
  6452. type: string
  6453. type: object
  6454. models.Ermcp3InnerTradeLink:
  6455. properties:
  6456. accountid:
  6457. description: 期货账号代码 | 资金账号ID
  6458. type: integer
  6459. buyorsell:
  6460. description: 方向 - 0:买 1:卖
  6461. type: integer
  6462. channelbuildtype:
  6463. description: 委托单据类型 0:无 1:建仓 2:平仓
  6464. type: integer
  6465. currencyid:
  6466. description: 币种id
  6467. type: integer
  6468. currencyname:
  6469. description: 结算币种 名称
  6470. type: string
  6471. goodscode:
  6472. description: 商品代码
  6473. type: string
  6474. goodsid:
  6475. description: 商品ID
  6476. type: integer
  6477. goodsname:
  6478. description: 商品名称
  6479. type: string
  6480. outtradeid:
  6481. description: 外部成交单号
  6482. type: string
  6483. taname:
  6484. description: 期货账户名称
  6485. type: string
  6486. tradeid:
  6487. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6488. type: string
  6489. tradeprice:
  6490. description: 成交价格
  6491. type: number
  6492. tradeqty:
  6493. description: 期货成交数量
  6494. type: integer
  6495. tradetime:
  6496. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6497. type: string
  6498. username:
  6499. description: 用户名称
  6500. type: string
  6501. type: object
  6502. models.Ermcp3OutTradeLink:
  6503. properties:
  6504. buyorsell:
  6505. description: 买卖方向 - 0:买 1:卖
  6506. type: integer
  6507. channelbuildtype:
  6508. description: 开平标志- 0:无 1:建仓 2:平仓
  6509. type: integer
  6510. currencyname:
  6511. description: 币种名称
  6512. type: string
  6513. exexchangecode:
  6514. description: 交易所代码
  6515. type: string
  6516. exexchangename:
  6517. description: 交易所名称
  6518. type: string
  6519. goodscode:
  6520. description: 合约代码
  6521. type: string
  6522. goodsid:
  6523. description: 合约id
  6524. type: integer
  6525. goodsname:
  6526. description: 合约名称
  6527. type: string
  6528. hasinnerorder:
  6529. description: 是否有内部单关联 - 0:无 1:有
  6530. type: integer
  6531. hedgeaccountcode:
  6532. description: 外部账号 | 对冲账号
  6533. type: string
  6534. outtradeid:
  6535. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6536. type: string
  6537. tradeprice:
  6538. description: 成交价格
  6539. type: number
  6540. tradeqty:
  6541. description: 成交数量
  6542. type: integer
  6543. tradetime:
  6544. description: 成交时间
  6545. type: string
  6546. type: object
  6547. models.Ermcp3PaAreaAuditCfg:
  6548. properties:
  6549. areauserid:
  6550. description: 用户ID
  6551. type: integer
  6552. buyinauditflag:
  6553. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6554. type: integer
  6555. costratioauditflag:
  6556. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6557. type: integer
  6558. customerauditflag:
  6559. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6560. type: integer
  6561. deliveryauditflag:
  6562. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6563. type: integer
  6564. invoiceauditflag:
  6565. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6566. type: integer
  6567. mgneedhedgeratioauditflag:
  6568. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6569. type: integer
  6570. moneyauditflag:
  6571. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6572. type: integer
  6573. operatorid:
  6574. description: 操作人
  6575. type: integer
  6576. operatorsrc:
  6577. description: 操作来源 - 1:管理端 2:终端
  6578. type: integer
  6579. pointpriceauditflag:
  6580. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6581. type: integer
  6582. produceinauditflag:
  6583. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6584. type: integer
  6585. produceoutauditflag:
  6586. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6587. type: integer
  6588. selloutauditflag:
  6589. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6590. type: integer
  6591. sgconvertratioauditflag:
  6592. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6593. type: integer
  6594. sgvtaratioauditflag:
  6595. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6596. type: integer
  6597. spotcontractauditflag:
  6598. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6599. type: integer
  6600. updatetime:
  6601. description: 更新时间
  6602. type: string
  6603. type: object
  6604. models.Ermcp3PaAreaSubject:
  6605. properties:
  6606. areauserid:
  6607. description: 所属机构
  6608. type: integer
  6609. canmodify:
  6610. description: 是否可修改 - 0:否 1:是
  6611. type: integer
  6612. createtime:
  6613. description: 创建时间
  6614. type: string
  6615. creatorid:
  6616. description: 创建人ID
  6617. type: string
  6618. creatorsrc:
  6619. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6620. type: integer
  6621. modifierid:
  6622. description: 修改人
  6623. type: string
  6624. modifiersrc:
  6625. description: 修改人来源 - 1:管理端 2:终端
  6626. type: integer
  6627. modifytime:
  6628. description: 修改时间
  6629. type: string
  6630. parentsubjectid:
  6631. description: 上级主体ID
  6632. type: string
  6633. remark:
  6634. description: 备注
  6635. type: string
  6636. subjectid:
  6637. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6638. type: integer
  6639. subjectname:
  6640. description: 主体名称
  6641. type: string
  6642. subjectstatus:
  6643. description: '主体状态 - 1:正常 2: 停用'
  6644. type: integer
  6645. subjecttype:
  6646. description: 主体类型 - 1:交易主体 2:业务部门
  6647. type: integer
  6648. type: object
  6649. models.Ermcp3PaTradeLink:
  6650. properties:
  6651. accountid:
  6652. description: 期货账户代码 | 账号ID
  6653. type: integer
  6654. agreeunit:
  6655. description: 合约乘数
  6656. type: number
  6657. buyorsell:
  6658. description: 方向 - 0:买 1:卖
  6659. type: integer
  6660. channelbuildtype:
  6661. description: 委托单据类型 0:无 1:建仓 2:平仓
  6662. type: integer
  6663. charge:
  6664. description: 手续费
  6665. type: number
  6666. closepl:
  6667. description: 平仓盈亏
  6668. type: number
  6669. closetype:
  6670. description: 平仓方式 - 0:无 1:平今 2:平昨
  6671. type: integer
  6672. convertratio:
  6673. description: 折算系数
  6674. type: number
  6675. enumdicname:
  6676. description: 单位名称
  6677. type: string
  6678. executeprice:
  6679. description: 执行价 [期权]
  6680. type: integer
  6681. goodscode:
  6682. description: 合约代码
  6683. type: string
  6684. goodsgroupid:
  6685. description: 对冲品种ID[期货合约商品组ID]
  6686. type: integer
  6687. goodsid:
  6688. description: 商品ID
  6689. type: integer
  6690. goodsname:
  6691. description: 合约名称
  6692. type: string
  6693. goodunitid:
  6694. description: 单位id
  6695. type: integer
  6696. hedgeflag:
  6697. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6698. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6699. type: integer
  6700. marketid:
  6701. description: 市场ID
  6702. type: integer
  6703. middlegoodsid:
  6704. description: 套保品种ID
  6705. type: integer
  6706. middlegoodsqty:
  6707. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6708. type: number
  6709. optioncode:
  6710. description: 期权代码 [期权]
  6711. type: string
  6712. ordertype:
  6713. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6714. type: integer
  6715. ordertypename:
  6716. description: 订单类型
  6717. type: string
  6718. parentaccountid:
  6719. description: 所属母账户
  6720. type: integer
  6721. premium:
  6722. description: 权利金 [期权]
  6723. type: number
  6724. relatedlot:
  6725. description: 已关联数量(已关联数量手) | db:关联手数
  6726. type: number
  6727. relatedouttradeid:
  6728. description: 关联外部成交单ID
  6729. type: string
  6730. relatedqty:
  6731. description: 关联数量
  6732. type: number
  6733. spotcontractid:
  6734. description: 现货合同ID [4:套期保值\10\11]
  6735. type: string
  6736. taname:
  6737. description: 期货账户名称
  6738. type: string
  6739. tradeamount:
  6740. description: 成交金额(账户)
  6741. type: number
  6742. tradedate:
  6743. description: 交易日(yyyyMMdd)
  6744. type: string
  6745. tradeid:
  6746. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6747. type: string
  6748. tradelot:
  6749. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6750. type: integer
  6751. tradeprice:
  6752. description: 成交价格
  6753. type: number
  6754. tradetime:
  6755. description: 时间 | db:成交时间
  6756. type: string
  6757. tradetype:
  6758. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6759. type: integer
  6760. userid:
  6761. description: 所属机构 - 所属母账户的UserID
  6762. type: string
  6763. username:
  6764. description: 用户名称
  6765. type: string
  6766. type: object
  6767. models.Ermcp3ParamChangeApp:
  6768. properties:
  6769. aftervalue:
  6770. description: 变更后
  6771. type: number
  6772. applicationid:
  6773. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6774. type: string
  6775. applyid:
  6776. description: 申请人
  6777. type: string
  6778. applyname:
  6779. description: 申请人名称(代码)
  6780. type: string
  6781. applyremark:
  6782. description: 申请备注
  6783. type: string
  6784. applysrc:
  6785. description: 申请来源 - 1:管理端 2:终端
  6786. type: integer
  6787. applystatus:
  6788. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6789. type: integer
  6790. applytime:
  6791. description: 申请时间
  6792. type: string
  6793. areauserid:
  6794. description: 所属机构用户ID
  6795. type: integer
  6796. auditid:
  6797. description: 审核人
  6798. type: string
  6799. auditname:
  6800. description: 审核人名称(代码)
  6801. type: string
  6802. auditremark:
  6803. description: 审核备注
  6804. type: string
  6805. auditsrc:
  6806. description: 审核来源 - 1:管理端 2:终端
  6807. type: integer
  6808. audittime:
  6809. description: 审核时间
  6810. type: string
  6811. audittradedate:
  6812. description: 审核交易日(yyyyMMdd)
  6813. type: string
  6814. beforevalue:
  6815. description: 变更前
  6816. type: number
  6817. deliverygoodscode:
  6818. description: 品种代码
  6819. type: string
  6820. deliverygoodsid:
  6821. description: 品种id
  6822. type: integer
  6823. deliverygoodsname:
  6824. description: 品种名称
  6825. type: string
  6826. middlegoodscode:
  6827. description: 套保品种代码
  6828. type: string
  6829. middlegoodsid:
  6830. description: 套保品种ID [ParamChangeType = 2,3,4]
  6831. type: integer
  6832. middlegoodsname:
  6833. description: 套保品种名称
  6834. type: string
  6835. operatetype:
  6836. description: 操作类型 - 1:新增 2:修改
  6837. type: integer
  6838. paramchangetype:
  6839. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6840. type: integer
  6841. wrstandardcode:
  6842. description: 现货商品代码
  6843. type: string
  6844. wrstandardid:
  6845. description: 现货商品ID [ParamChangeType = 1,2,3]
  6846. type: integer
  6847. wrstandardname:
  6848. description: 现货商品名称
  6849. type: string
  6850. type: object
  6851. models.Ermcp3RootUserAccount:
  6852. properties:
  6853. accountname:
  6854. description: 账户名称(机构名称)
  6855. type: string
  6856. accountstatus:
  6857. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6858. type: integer
  6859. applysrc:
  6860. description: 申请来源 - 1:管理端 2:终端
  6861. type: integer
  6862. auditremark:
  6863. description: 审核备注
  6864. type: string
  6865. auditsrc:
  6866. description: 审核来源 - 1:管理端 2:终端
  6867. type: integer
  6868. audittime:
  6869. description: 审核时间
  6870. type: string
  6871. audituserid:
  6872. description: 审核人
  6873. type: integer
  6874. broker:
  6875. description: 所属经纪人ID
  6876. type: integer
  6877. canceltime:
  6878. description: 销户时间
  6879. type: string
  6880. canceluserid:
  6881. description: 销户人
  6882. type: integer
  6883. canrecommend:
  6884. description: 是否可推荐 - 0:不可 1;可
  6885. type: integer
  6886. createtime:
  6887. description: 创建时间
  6888. type: string
  6889. creatorid:
  6890. description: 创建人
  6891. type: integer
  6892. hasauth:
  6893. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6894. type: integer
  6895. isanonymous:
  6896. description: 是否匿名下单 - 0:否 1:是
  6897. type: integer
  6898. maxinvestornum:
  6899. description: 最大用户数(经纪会员下投资者个数)
  6900. type: integer
  6901. memberuserid:
  6902. description: 所属会员ID
  6903. type: integer
  6904. modifierid:
  6905. description: 修改人
  6906. type: integer
  6907. modifyremark:
  6908. description: 变更备注
  6909. type: string
  6910. modifystatus:
  6911. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6912. type: integer
  6913. modifytime:
  6914. description: 修改时间
  6915. type: string
  6916. nickname:
  6917. description: 昵称
  6918. type: string
  6919. parenttopuser:
  6920. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6921. type: string
  6922. parentuserid:
  6923. description: 所属机构ID
  6924. type: integer
  6925. reckonaccountid:
  6926. description: 默认结算资金账号ID(机构分润使用) 作废
  6927. type: integer
  6928. refercount:
  6929. description: 推荐总人数
  6930. type: integer
  6931. refereeuserid:
  6932. description: 推荐人ID
  6933. type: integer
  6934. refernum:
  6935. description: 推荐码
  6936. type: string
  6937. rootuserid:
  6938. description: 根用户ID
  6939. type: integer
  6940. subaccountlevel:
  6941. description: 子账户层数
  6942. type: integer
  6943. subarealevelpath:
  6944. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6945. type: string
  6946. userid:
  6947. description: 用户ID
  6948. type: integer
  6949. usertype:
  6950. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6951. type: integer
  6952. type: object
  6953. models.Ermcp3SCMiddleGoods:
  6954. properties:
  6955. biztype:
  6956. description: 业务类型 1:套保 2:套利
  6957. type: integer
  6958. contractno:
  6959. description: 合同编号
  6960. type: string
  6961. contracttype:
  6962. description: 合同类型 1:采购 -1:销售
  6963. type: integer
  6964. convertratio:
  6965. description: 折算系数
  6966. type: number
  6967. customername:
  6968. description: 对手手名称
  6969. type: string
  6970. customeruserid:
  6971. description: 对手id
  6972. type: integer
  6973. deliverygoodscode:
  6974. description: 现货品种代码
  6975. type: string
  6976. deliverygoodsid:
  6977. description: 现货品种ID
  6978. type: integer
  6979. deliverygoodsname:
  6980. description: 现货品种名称
  6981. type: string
  6982. enumdicname:
  6983. description: 现货单位名称
  6984. type: string
  6985. middlegoodsid:
  6986. description: 套保品种ID
  6987. type: integer
  6988. middlegoodspricedqty3:
  6989. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6990. type: number
  6991. needhedgeratio:
  6992. description: 套保比例
  6993. type: number
  6994. pricedqty:
  6995. description: 已定价量
  6996. type: number
  6997. relatedmiddlegoodsqty:
  6998. description: 已关联量(套保品种)(期货)
  6999. type: number
  7000. spotcontractid:
  7001. description: 合同编号
  7002. type: string
  7003. unitid:
  7004. description: 现货单位id
  7005. type: integer
  7006. userid:
  7007. description: 用户id
  7008. type: integer
  7009. vatrate:
  7010. description: 增值税率
  7011. type: number
  7012. wrstandardcode:
  7013. description: 现货商品代码
  7014. type: string
  7015. wrstandardid:
  7016. description: 现货商品id
  7017. type: integer
  7018. wrstandardname:
  7019. description: 现货商品名称
  7020. type: string
  7021. type: object
  7022. models.Ermcp3SCMiddleGoodsReport:
  7023. properties:
  7024. begindate:
  7025. description: 开始交易日
  7026. type: string
  7027. contractno:
  7028. description: 合同编号
  7029. type: string
  7030. contracttype:
  7031. description: 合同类型 1:采购 -1:销售
  7032. type: integer
  7033. convertratio:
  7034. description: 折算系数
  7035. type: number
  7036. cycletime:
  7037. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7038. type: string
  7039. cycletype:
  7040. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7041. type: integer
  7042. deliverygoodscode:
  7043. description: 品种代码
  7044. type: string
  7045. deliverygoodsid:
  7046. description: 现货品种ID
  7047. type: integer
  7048. deliverygoodsname:
  7049. description: 品种名称
  7050. type: string
  7051. diffprice:
  7052. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  7053. type: number
  7054. diffqty:
  7055. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  7056. type: number
  7057. enddate:
  7058. description: 结束交易日
  7059. type: string
  7060. hedgeplanqty:
  7061. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  7062. type: number
  7063. matchname:
  7064. description: 交易对手方(个人:用户名称 企业:简称)
  7065. type: string
  7066. matchnickname:
  7067. description: 交易对手方昵称
  7068. type: string
  7069. middlegoodscode:
  7070. description: 套保品种代码
  7071. type: string
  7072. middlegoodsid:
  7073. description: 套保品种ID
  7074. type: integer
  7075. middlegoodsname:
  7076. description: 套保品种名称
  7077. type: string
  7078. middlegoodspricedqty:
  7079. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  7080. type: number
  7081. middlegoodspricedqty2:
  7082. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  7083. type: number
  7084. middlegoodspricedqty3:
  7085. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  7086. type: number
  7087. needhedgeratio:
  7088. description: 套保系数
  7089. type: number
  7090. pricedamount:
  7091. description: 已定价额(现货)
  7092. type: number
  7093. pricedamount2:
  7094. description: 已定价额(现货-基价额)
  7095. type: number
  7096. pricedqty:
  7097. description: 已定价量(现货)
  7098. type: number
  7099. reckondate:
  7100. description: 日照时期(yyyyMMdd)
  7101. type: string
  7102. relatedmiddlegoodsamount:
  7103. description: 已关联额(期货)
  7104. type: number
  7105. relatedmiddlegoodsqty:
  7106. description: 已关联量(套保品种)(期货)
  7107. type: number
  7108. spotcontractid:
  7109. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7110. type: string
  7111. todayavgfutuprice:
  7112. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  7113. type: number
  7114. todayavgprice:
  7115. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  7116. type: number
  7117. todayavgprice2:
  7118. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  7119. type: number
  7120. todaypricedamount:
  7121. description: 今日定价额(现货)
  7122. type: number
  7123. todaypricedamount2:
  7124. description: 今日定价额(现货-基价额)
  7125. type: number
  7126. todaypricedqty:
  7127. description: 今日定价量(现货)
  7128. type: number
  7129. todayrelatedfutureqty:
  7130. description: 今日关联量(期货)
  7131. type: number
  7132. todayrelatedmiddlegoodsamount:
  7133. description: 今日关联额(期货)
  7134. type: number
  7135. todayrelatedmiddlegoodsqty:
  7136. description: 今日关联量(套保品-期货)
  7137. type: number
  7138. updatetime:
  7139. description: 更新时间
  7140. type: string
  7141. userid:
  7142. description: 合同所属用户id
  7143. type: integer
  7144. vatrate:
  7145. description: 增值税率
  7146. type: number
  7147. wrstandardcode:
  7148. description: 商品(品类) 代码
  7149. type: string
  7150. wrstandardid:
  7151. description: 现货商品ID
  7152. type: integer
  7153. wrstandardname:
  7154. description: 商品(品类) 名称
  7155. type: string
  7156. type: object
  7157. models.Ermcp3SellBuyContract:
  7158. properties:
  7159. accountid:
  7160. description: 期货账户id
  7161. type: string
  7162. accountname:
  7163. description: 账户名称
  7164. type: string
  7165. attachment:
  7166. description: 附件
  7167. type: string
  7168. audittime:
  7169. description: 审核时间
  7170. type: string
  7171. bizsubjectid:
  7172. description: 归属业务部门ID - SubjectID
  7173. type: integer
  7174. biztype:
  7175. description: 业务类型 1-套保 2-套利
  7176. type: integer
  7177. brandname:
  7178. description: 品牌名称
  7179. type: string
  7180. contracctstatus:
  7181. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7182. type: integer
  7183. contractmargin:
  7184. description: 合同保证金
  7185. type: number
  7186. contractno:
  7187. description: 合同编号
  7188. type: string
  7189. contracttype:
  7190. description: 合同类型 1-采购, -1-销售
  7191. type: integer
  7192. convertfactor:
  7193. description: 标仓系数(品类)
  7194. type: number
  7195. createtime:
  7196. description: 创建时间
  7197. type: string
  7198. currencyid:
  7199. description: 币种id
  7200. type: integer
  7201. currencyname:
  7202. description: 币种名称
  7203. type: string
  7204. daikaiamount:
  7205. description: 应收(开)票额 | 未收票额
  7206. type: number
  7207. deliveryenddate:
  7208. description: 交割结束日
  7209. type: string
  7210. deliverygoodscode:
  7211. description: 现货品种代码
  7212. type: string
  7213. deliverygoodsid:
  7214. description: 现货商品ID
  7215. type: integer
  7216. deliverygoodsname:
  7217. description: 现货品种名称
  7218. type: string
  7219. deliverystartdate:
  7220. description: 交割开始日
  7221. type: string
  7222. enddate:
  7223. description: 点价结束日
  7224. type: string
  7225. enumdicname:
  7226. description: 单位名称
  7227. type: string
  7228. goodscode:
  7229. description: 点价商品代码
  7230. type: string
  7231. goodsgroupid:
  7232. description: 点价商品组id
  7233. type: integer
  7234. goodsid:
  7235. description: 点价商品ID
  7236. type: integer
  7237. goodsname:
  7238. description: 点价商品名称
  7239. type: string
  7240. invoiceamount:
  7241. description: 已开票额
  7242. type: number
  7243. loanamount:
  7244. description: 贷款总额=已定价额+调整金额
  7245. type: number
  7246. margin:
  7247. description: 保证金
  7248. type: number
  7249. meruserid:
  7250. description: 跟单员id
  7251. type: integer
  7252. meruserlogincode:
  7253. description: 跟单员登录代码
  7254. type: string
  7255. merusername:
  7256. description: 跟单员名称
  7257. type: string
  7258. nickname:
  7259. description: 账户昵称
  7260. type: string
  7261. orireckonrealqty:
  7262. description: 应交收量
  7263. type: number
  7264. payamount:
  7265. description: 已收付额(收款或付款)
  7266. type: number
  7267. preinvoiceamount:
  7268. description: 预收(开)票额
  7269. type: number
  7270. prepayamount:
  7271. description: 预收付额
  7272. type: number
  7273. price:
  7274. description: 价格
  7275. type: number
  7276. pricedamount:
  7277. description: 已定价额
  7278. type: number
  7279. pricedavg:
  7280. description: 已点均价
  7281. type: number
  7282. pricedqty:
  7283. description: 已定价量
  7284. type: number
  7285. pricemove:
  7286. description: 升贴水
  7287. type: number
  7288. pricetype:
  7289. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7290. type: integer
  7291. producttype:
  7292. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7293. type: integer
  7294. qty:
  7295. description: 合同量
  7296. type: number
  7297. reckonadjustamount:
  7298. description: 调整金额
  7299. type: number
  7300. reckonedamount:
  7301. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7302. type: number
  7303. reckonotheramount:
  7304. description: 其它费用
  7305. type: number
  7306. reckonrealqty:
  7307. description: 已交收量
  7308. type: number
  7309. remark:
  7310. description: 备注
  7311. type: string
  7312. saleuserid:
  7313. description: 业务员id
  7314. type: integer
  7315. saleuserlogincode:
  7316. description: 业务员登录代码
  7317. type: string
  7318. saleusername:
  7319. description: 业务员名称
  7320. type: string
  7321. spotcontractid:
  7322. description: 合同ID
  7323. type: string
  7324. spotgoodsbrandid:
  7325. description: 现货品牌ID(DGFactoryItem表的ID)
  7326. type: integer
  7327. spotgoodsdesc:
  7328. description: 商品型号(商品规格)
  7329. type: string
  7330. startdate:
  7331. description: 点价开始日
  7332. type: string
  7333. subjectid:
  7334. description: 交易主体ID
  7335. type: integer
  7336. subjectname:
  7337. description: 交易主体名称
  7338. type: string
  7339. totalamount:
  7340. description: 合计总额
  7341. type: number
  7342. tradeuserid:
  7343. description: 交易员id
  7344. type: integer
  7345. tradeuserlogincode:
  7346. description: 交易员登录代码
  7347. type: string
  7348. tradeusername:
  7349. description: 交易员名称
  7350. type: string
  7351. unpayamount:
  7352. description: 应收付款额(应支付或应收款) | 未付款额
  7353. type: number
  7354. unpricedqty:
  7355. description: 未定价量
  7356. type: number
  7357. unsureqty:
  7358. description: 未确定量 | 未交收量
  7359. type: number
  7360. userid:
  7361. description: 机构ID
  7362. type: integer
  7363. vatrate:
  7364. description: 增值税率
  7365. type: number
  7366. wrstandardcode:
  7367. description: 品类代码
  7368. type: string
  7369. wrstandardid:
  7370. description: 品类ID
  7371. type: integer
  7372. wrstandardname:
  7373. description: 品类名称
  7374. type: string
  7375. type: object
  7376. models.Ermcp3SpotGoodsPrice:
  7377. properties:
  7378. areauserid:
  7379. description: 所属机构id
  7380. type: integer
  7381. brandname:
  7382. description: 品牌名称
  7383. type: string
  7384. currencyid:
  7385. description: 报价货币ID
  7386. type: integer
  7387. currencyname:
  7388. description: 币种名称
  7389. type: string
  7390. deliverygoodscode:
  7391. description: 现货商品代码
  7392. type: string
  7393. deliverygoodsid:
  7394. description: 现货商品id
  7395. type: integer
  7396. deliverygoodsname:
  7397. description: 现货商品名称
  7398. type: string
  7399. enumdicname:
  7400. description: 现货商品单位名称
  7401. type: string
  7402. gbenumdicname:
  7403. description: 品类单位名称
  7404. type: string
  7405. gmunitid:
  7406. description: 品类单位id
  7407. type: integer
  7408. isvalid:
  7409. description: 是否有效 - 0:无效 1:有效
  7410. type: integer
  7411. operateid:
  7412. description: 最后操作人
  7413. type: integer
  7414. operatesrc:
  7415. description: 最后操作来源 - 1:管理端 2:终端
  7416. type: integer
  7417. operatetime:
  7418. description: 最后操作时间
  7419. type: string
  7420. operatorname:
  7421. description: 操作人名称
  7422. type: string
  7423. spotgoodsbrandid:
  7424. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7425. type: integer
  7426. spotgoodsprice:
  7427. description: 现货价格
  7428. type: number
  7429. tradedate:
  7430. description: 交易日(yyyyMMdd)
  7431. type: string
  7432. unitid:
  7433. description: 现货商品单位id
  7434. type: integer
  7435. wrstandardcode:
  7436. description: 品类代码
  7437. type: string
  7438. wrstandardid:
  7439. description: 现货品类ID(通用则为0)
  7440. type: integer
  7441. wrstandardname:
  7442. description: 品类名称
  7443. type: string
  7444. type: object
  7445. models.Ermcp3SpotGoodsPriceLog:
  7446. properties:
  7447. areauserid:
  7448. description: 所属机构id
  7449. type: integer
  7450. brandname:
  7451. description: 品牌名称
  7452. type: string
  7453. currencyid:
  7454. description: 报价货币ID
  7455. type: integer
  7456. deliverygoodscode:
  7457. description: 现货商品代码
  7458. type: string
  7459. deliverygoodsid:
  7460. description: 现货商品id
  7461. type: integer
  7462. deliverygoodsname:
  7463. description: 现货商品名称
  7464. type: string
  7465. enumdicname:
  7466. description: 现货商品单位名称
  7467. type: string
  7468. gbenumdicname:
  7469. description: 品类单位名称
  7470. type: string
  7471. gmunitid:
  7472. description: 品类单位id
  7473. type: integer
  7474. logid:
  7475. description: 日志id
  7476. type: integer
  7477. operateid:
  7478. description: 最后操作人
  7479. type: integer
  7480. operatesrc:
  7481. description: 最后操作来源 - 1:管理端 2:终端
  7482. type: integer
  7483. operatetime:
  7484. description: 最后操作时间
  7485. type: string
  7486. operatorname:
  7487. description: 操作人名称
  7488. type: string
  7489. spotgoodsbrandid:
  7490. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7491. type: integer
  7492. spotgoodsprice:
  7493. description: 现货价格
  7494. type: number
  7495. tradedate:
  7496. description: 交易日(yyyyMMdd)
  7497. type: string
  7498. unitid:
  7499. description: 现货商品单位id
  7500. type: integer
  7501. wrstandardcode:
  7502. description: 品类代码
  7503. type: string
  7504. wrstandardid:
  7505. description: 现货品类ID(通用则为0)
  7506. type: integer
  7507. wrstandardname:
  7508. description: 品类名称
  7509. type: string
  7510. type: object
  7511. models.Ermcp3SubTaaccount:
  7512. properties:
  7513. accountid:
  7514. description: 资金账户ID
  7515. type: integer
  7516. parentaccountcode:
  7517. description: 所属根账号代码(母账号代码)
  7518. type: string
  7519. parentaccountid:
  7520. description: 所属根账号(母账号)
  7521. type: integer
  7522. taname:
  7523. description: 资金账号名称
  7524. type: string
  7525. tradestatus:
  7526. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7527. type: integer
  7528. username:
  7529. description: 交易用户
  7530. type: string
  7531. type: object
  7532. models.Ermcp3TaFutuReDataReport:
  7533. properties:
  7534. accountid:
  7535. description: 交易账户
  7536. type: integer
  7537. accountname:
  7538. description: 交易账号名称
  7539. type: string
  7540. agreeunit:
  7541. description: 商品合约单位
  7542. type: number
  7543. begindate:
  7544. description: 开始交易日
  7545. type: string
  7546. buyorsell:
  7547. description: 持仓方向
  7548. type: integer
  7549. charge:
  7550. description: 手续费
  7551. type: number
  7552. closeavgprice:
  7553. description: 平仓均价
  7554. type: number
  7555. closepl:
  7556. description: 平仓损益
  7557. type: number
  7558. currencyid:
  7559. description: 结算币种ID
  7560. type: integer
  7561. currencyname:
  7562. description: 币种名称
  7563. type: string
  7564. cycletime:
  7565. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7566. type: string
  7567. cycletype:
  7568. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7569. type: integer
  7570. enddate:
  7571. description: 结束交易日
  7572. type: string
  7573. enumdicname:
  7574. description: 单位名称
  7575. type: string
  7576. floatpl:
  7577. description: 浮动损益
  7578. type: number
  7579. goodscode:
  7580. description: 交易合约代码
  7581. type: string
  7582. goodsgroupid:
  7583. description: 交易品种
  7584. type: integer
  7585. goodsgroupname:
  7586. description: 交易品种名称
  7587. type: string
  7588. goodsgroupspotqty:
  7589. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7590. type: number
  7591. goodsid:
  7592. description: 交易合约
  7593. type: integer
  7594. goodsname:
  7595. description: 交易合约名称
  7596. type: string
  7597. goodunitid:
  7598. description: 交易合约单位id
  7599. type: integer
  7600. holdamount:
  7601. description: 期末持仓额
  7602. type: number
  7603. holdqty:
  7604. description: 期末持仓量
  7605. type: number
  7606. lastholdamount:
  7607. description: 当前持仓额
  7608. type: number
  7609. lastprice:
  7610. description: 最新价
  7611. type: number
  7612. middlegoodsid:
  7613. description: 套保品种id
  7614. type: integer
  7615. middlegoodsname:
  7616. description: 套保商品名称
  7617. type: string
  7618. middlegoodsqty:
  7619. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7620. type: number
  7621. middlgoodscode:
  7622. description: 套保商品代码
  7623. type: string
  7624. openamount:
  7625. description: 期末开仓额
  7626. type: number
  7627. openavgprice:
  7628. description: 开仓均价
  7629. type: number
  7630. oriholdamount:
  7631. description: 期初持仓额
  7632. type: number
  7633. oriholdqty:
  7634. description: 期初持仓量
  7635. type: number
  7636. oriopenamount:
  7637. description: 期初开仓额
  7638. type: number
  7639. outergroupcode:
  7640. description: 交易品种代码
  7641. type: string
  7642. qtydecimalplace:
  7643. description: 成交量小数位
  7644. type: integer
  7645. reckondate:
  7646. description: 日照时期(yyyyMMdd)
  7647. type: string
  7648. reckonholdamount:
  7649. description: 结算持仓额
  7650. type: number
  7651. reckonpl:
  7652. description: 结算损益
  7653. type: number
  7654. reckonpl2:
  7655. description: 结算逐笔盈亏
  7656. type: number
  7657. reckonprice:
  7658. description: 结算价
  7659. type: number
  7660. relateduserid:
  7661. description: 账户关联用户ID
  7662. type: integer
  7663. todaycloseamount:
  7664. description: 今平仓额
  7665. type: number
  7666. todaycloseqty:
  7667. description: 今平仓量
  7668. type: number
  7669. todaygoodsgroupspotqty:
  7670. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7671. type: number
  7672. todaymiddlegoodsqty:
  7673. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7674. type: number
  7675. todayopenamount:
  7676. description: 今开仓额
  7677. type: number
  7678. todayopenqty:
  7679. description: 今开仓量
  7680. type: number
  7681. userid:
  7682. description: 账户所属用户ID
  7683. type: integer
  7684. type: object
  7685. models.Ermcp3TradeLinkDetail:
  7686. properties:
  7687. accountid:
  7688. description: 资金账号
  7689. type: integer
  7690. agreeunit:
  7691. description: 合约乘数
  7692. type: number
  7693. areauserid:
  7694. description: 所属机构
  7695. type: string
  7696. bizsubjectid:
  7697. description: 归属业务部门ID - SubjectID
  7698. type: string
  7699. buyorsell:
  7700. description: 方向 - 0:买 1:卖
  7701. type: integer
  7702. channelbuildtype:
  7703. description: 委托单据类型 0:无 1:建仓 2:平仓
  7704. type: integer
  7705. contractno:
  7706. description: 现货编号 (合同编号)
  7707. type: string
  7708. convertratio:
  7709. description: 折算系数
  7710. type: number
  7711. createtime:
  7712. description: 关联时间 | 创建时间
  7713. type: string
  7714. creatorid:
  7715. description: 创建人ID
  7716. type: string
  7717. creatorsrc:
  7718. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7719. type: integer
  7720. enumdicname:
  7721. description: 单位名称
  7722. type: string
  7723. goodscode:
  7724. description: 合约代码
  7725. type: string
  7726. goodsgroupid:
  7727. description: 对冲品种ID[期货合约商品组ID]
  7728. type: integer
  7729. goodsid:
  7730. description: 商品ID
  7731. type: integer
  7732. goodsname:
  7733. description: 合约名称
  7734. type: string
  7735. hedgeflag:
  7736. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7737. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7738. type: integer
  7739. linkdetailid:
  7740. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7741. type: string
  7742. linkstatus:
  7743. description: 关联状态 - 1:成功 2:失败 3:解绑
  7744. type: integer
  7745. middlegoodscode:
  7746. description: 套保品种代码
  7747. type: string
  7748. middlegoodsid:
  7749. description: 套保品种ID
  7750. type: integer
  7751. middlegoodsname:
  7752. description: 套保品种名称
  7753. type: string
  7754. relatedlot:
  7755. description: 关联手数
  7756. type: number
  7757. relatedmode:
  7758. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7759. type: integer
  7760. relatedqty:
  7761. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7762. type: number
  7763. retcode:
  7764. description: 返回码
  7765. type: integer
  7766. saleuserid:
  7767. description: 业务员ID
  7768. type: string
  7769. spotcontractid:
  7770. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7771. type: string
  7772. taname:
  7773. description: 期货账户
  7774. type: string
  7775. tradedate:
  7776. description: 关联交易日(yyyyMMdd)
  7777. type: string
  7778. tradeid:
  7779. description: 期货订单号 | 内部成交单ID
  7780. type: string
  7781. tradelot:
  7782. description: 成交数量 | 成交手数
  7783. type: integer
  7784. tradeprice:
  7785. description: 成交价格
  7786. type: number
  7787. tradetime:
  7788. description: 期货成交时间
  7789. type: string
  7790. tradetradedate:
  7791. description: 成交交易日(yyyyMMdd)
  7792. type: string
  7793. username:
  7794. description: 用户名称
  7795. type: string
  7796. type: object
  7797. models.Ermcp3Wrstandard:
  7798. properties:
  7799. areauserid:
  7800. description: 所属机构
  7801. type: integer
  7802. cantrade:
  7803. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7804. type: integer
  7805. convertfactor:
  7806. description: 标仓系数
  7807. type: number
  7808. createtime:
  7809. description: 创建时间
  7810. type: string
  7811. creatorid:
  7812. description: 创建人
  7813. type: integer
  7814. deliverygoodsid:
  7815. description: 现货品种ID
  7816. type: integer
  7817. enumdicname:
  7818. description: 品类单位名称
  7819. type: string
  7820. isvalid:
  7821. description: 是否有效 0-无效(停用) 1-有效(正常)
  7822. type: integer
  7823. minivalue:
  7824. description: 最小变动值
  7825. type: integer
  7826. minivaluedp:
  7827. description: 最小变动值小数位
  7828. type: integer
  7829. realminivalue:
  7830. description: 实际最小变动值
  7831. type: integer
  7832. realminivaluedp:
  7833. description: 实际最小变动值小数位
  7834. type: integer
  7835. remark:
  7836. description: 备注
  7837. type: string
  7838. unitid:
  7839. description: 品类单位ID
  7840. type: integer
  7841. updatetime:
  7842. description: 更新时间
  7843. type: string
  7844. wrstandardcode:
  7845. description: 品类代码
  7846. type: string
  7847. wrstandardid:
  7848. description: 品类ID(SEQ_WRSTANDARD)
  7849. type: integer
  7850. wrstandardname:
  7851. description: 品类名称
  7852. type: string
  7853. type: object
  7854. models.Ermcp8EnableHedgeditem:
  7855. properties:
  7856. accountname:
  7857. description: 套期主体
  7858. type: string
  7859. hedgeditemid:
  7860. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7861. type: string
  7862. hedgeditemname:
  7863. description: 项目名称
  7864. type: string
  7865. hedgeditemnum:
  7866. description: 项目编号
  7867. type: string
  7868. hedgedtype:
  7869. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7870. type: integer
  7871. planenddate:
  7872. description: 计划结束日期
  7873. type: string
  7874. planstartdate:
  7875. description: 计划开始日期
  7876. type: string
  7877. wrstandardid:
  7878. description: 现货商品ID
  7879. type: integer
  7880. type: object
  7881. models.Ermcp8HedgeditemReport:
  7882. properties:
  7883. accountname:
  7884. description: 套期主体
  7885. type: string
  7886. areauserid:
  7887. description: 企业ID
  7888. type: integer
  7889. curprice:
  7890. description: '[当日现货市场价]当前市场价'
  7891. type: number
  7892. enumdicname:
  7893. description: 单位
  7894. type: string
  7895. exeamount:
  7896. description: '[执行现货金额]执行市价总额'
  7897. type: number
  7898. exeavgprice:
  7899. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7900. type: number
  7901. exeqty:
  7902. description: '[执行数量]执行现货量'
  7903. type: number
  7904. futurehedgepl:
  7905. description: 期货实际损益
  7906. type: number
  7907. futurehedgeplchange:
  7908. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7909. type: number
  7910. futurepl:
  7911. description: 期货套期损益
  7912. type: number
  7913. futureplchange:
  7914. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7915. type: number
  7916. hedgeamount:
  7917. description: '[套期现货金额]套期市价总额'
  7918. type: number
  7919. hedgeditemnum:
  7920. description: 项目编号,模糊查询
  7921. type: string
  7922. hedgeditemstatus:
  7923. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7924. type: integer
  7925. hedgedtype:
  7926. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7927. type: integer
  7928. hedgeqty:
  7929. description: '[套期数量]套期现货量'
  7930. type: number
  7931. oriavgprice:
  7932. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7933. type: number
  7934. orifuturehedgepl:
  7935. description: 期初期货实际损益
  7936. type: number
  7937. orifuturepl:
  7938. description: 期初期货套期损益
  7939. type: number
  7940. orispothedgepl:
  7941. description: 期初现货实际损益
  7942. type: number
  7943. orispotpl:
  7944. description: 期初现货套期损益
  7945. type: number
  7946. planenddate:
  7947. description: 计划结束日期
  7948. type: string
  7949. planstartdate:
  7950. description: 计划开始日期
  7951. type: string
  7952. spothedgepl:
  7953. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7954. type: number
  7955. spothedgeplchange:
  7956. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7957. type: number
  7958. spotpl:
  7959. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7960. type: number
  7961. spotplchange:
  7962. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7963. type: number
  7964. tradeuserid:
  7965. description: 交易用户ID
  7966. type: integer
  7967. unexeqty:
  7968. description: 未执行现货量 = 套期现货量 - 执行现货量
  7969. type: number
  7970. wrstandardcode:
  7971. description: 现货品类代码
  7972. type: string
  7973. wrstandardid:
  7974. description: 现货商品ID
  7975. type: integer
  7976. wrstandardname:
  7977. description: '[现货商品]现货品类名称'
  7978. type: string
  7979. type: object
  7980. models.Ermcp8RunningHedgeditem:
  7981. properties:
  7982. accountname:
  7983. description: 套期主体
  7984. type: string
  7985. applyid:
  7986. description: 申请人
  7987. type: integer
  7988. applysrc:
  7989. description: 申请来源 - 1:管理端 2:终端
  7990. type: integer
  7991. areauserid:
  7992. description: 企业ID
  7993. type: integer
  7994. auditid:
  7995. description: 审核人
  7996. type: integer
  7997. auditremark:
  7998. description: 审核备注
  7999. type: string
  8000. auditsrc:
  8001. description: 审核来源 - 1:管理端 2:终端
  8002. type: integer
  8003. audittime:
  8004. description: 审核时间
  8005. type: string
  8006. audittradedate:
  8007. description: 审核交易日(yyyyMMdd)
  8008. type: string
  8009. createtime:
  8010. description: 申请时间
  8011. type: string
  8012. curprice:
  8013. description: 当前市场价
  8014. type: number
  8015. curstock:
  8016. description: 期末库存量 = 采购总量 - 销售总量
  8017. type: number
  8018. deliverygoodsid:
  8019. description: 现货品种ID
  8020. type: integer
  8021. enddate:
  8022. description: 完成日期
  8023. type: string
  8024. endtradedate:
  8025. description: 完成交易日
  8026. type: string
  8027. enumdicname:
  8028. description: 单位
  8029. type: string
  8030. exeamount:
  8031. description: 执行市价总额
  8032. type: number
  8033. exeavgprice:
  8034. description: 执行市场均价= 执行市价总额 / 执行现货量
  8035. type: number
  8036. execontractamount:
  8037. description: 执行定价总额
  8038. type: number
  8039. exeqty:
  8040. description: 执行现货量
  8041. type: number
  8042. exerestamount:
  8043. description: 执行剩余市价总额【现货贸易】
  8044. type: number
  8045. futurefloatpl:
  8046. description: 期货浮动损益
  8047. type: number
  8048. futurehedgepl:
  8049. description: 期货实际损益
  8050. type: number
  8051. futurehedgeplchange:
  8052. description: 期货实际损益变动
  8053. type: number
  8054. futurepl:
  8055. description: 期货套期损益
  8056. type: number
  8057. futureplchange:
  8058. description: 期货套期损益变动
  8059. type: number
  8060. hedgeamount:
  8061. description: 套期市价总额
  8062. type: number
  8063. hedgecontractamount:
  8064. description: 套期定价总额 【定价采购合同】【现货贸易】
  8065. type: number
  8066. hedgeditemid:
  8067. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8068. type: string
  8069. hedgeditemname:
  8070. description: 项目名称
  8071. type: string
  8072. hedgeditemnum:
  8073. description: 项目编号
  8074. type: string
  8075. hedgeditemstatus:
  8076. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8077. type: integer
  8078. hedgedtype:
  8079. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8080. type: integer
  8081. hedgeqty:
  8082. description: 套期现货量
  8083. type: number
  8084. hedgerate:
  8085. description: 套保比率
  8086. type: number
  8087. hedgerestamount:
  8088. description: 套期剩余市价总额【现货贸易】
  8089. type: number
  8090. hedgesumpl:
  8091. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8092. type: number
  8093. middlegoodslist:
  8094. description: 套期商品列表
  8095. items:
  8096. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8097. type: array
  8098. oriavgprice:
  8099. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8100. type: number
  8101. orifuturehedgepl:
  8102. description: 期初期货实际损益
  8103. type: number
  8104. orifuturepl:
  8105. description: 期初期货套期损益
  8106. type: number
  8107. orispothedgepl:
  8108. description: 期初现货实际损益
  8109. type: number
  8110. orispotpl:
  8111. description: 期初现货套期损益
  8112. type: number
  8113. planenddate:
  8114. description: 计划结束日期
  8115. type: string
  8116. planstartdate:
  8117. description: 计划开始日期
  8118. type: string
  8119. remark:
  8120. description: 备注
  8121. type: string
  8122. spotbookamount:
  8123. description: 现货账面总额
  8124. type: number
  8125. spotfloatpl:
  8126. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8127. type: number
  8128. spothedgepl:
  8129. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8130. type: number
  8131. spothedgeplchange:
  8132. description: 现货实际损益变动
  8133. type: number
  8134. spotpl:
  8135. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8136. type: number
  8137. spotplchange:
  8138. description: 现货套期损益变动
  8139. type: number
  8140. spottradepl:
  8141. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8142. type: number
  8143. sumobspl:
  8144. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8145. type: number
  8146. tradeuserid:
  8147. description: 交易用户ID
  8148. type: integer
  8149. unexeqty:
  8150. description: 未执行现货量 = 套期现货量 - 执行现货量
  8151. type: number
  8152. updatetime:
  8153. description: 更新时间
  8154. type: string
  8155. vatpl:
  8156. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8157. type: number
  8158. vatrate:
  8159. description: 增值税
  8160. type: number
  8161. wrstandardid:
  8162. description: 现货商品ID
  8163. type: integer
  8164. wrstandardname:
  8165. description: 商品名称
  8166. type: string
  8167. type: object
  8168. models.ErmcpBizGroupEx:
  8169. properties:
  8170. acclist:
  8171. description: 账号列表
  8172. items:
  8173. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8174. type: array
  8175. bizgroupid:
  8176. description: 业务分组id
  8177. type: integer
  8178. biztype:
  8179. description: 业务类型 1-套保 2-套利
  8180. type: integer
  8181. wrlist:
  8182. description: 现货商品表
  8183. items:
  8184. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8185. type: array
  8186. type: object
  8187. models.ErmcpBizGroupSpotGoods:
  8188. properties:
  8189. areauserid:
  8190. description: 所属机构id
  8191. type: integer
  8192. bizgroupid:
  8193. description: 分组id
  8194. type: integer
  8195. biztype:
  8196. description: 业务类型 1-套保 2-套利
  8197. type: integer
  8198. deliverygoodscode:
  8199. description: 现货商品代码
  8200. type: string
  8201. deliverygoodsid:
  8202. description: 现货商品id
  8203. type: integer
  8204. deliverygoodsname:
  8205. description: 现货商品名称
  8206. type: string
  8207. unitid:
  8208. description: 现货商品单位id
  8209. type: integer
  8210. type: object
  8211. models.ErmcpBizGroupTaAccount:
  8212. properties:
  8213. accountid:
  8214. description: 账号id
  8215. type: integer
  8216. accountname:
  8217. description: 账号名称
  8218. type: string
  8219. areauserid:
  8220. description: 所属机构id
  8221. type: integer
  8222. bizgroupid:
  8223. description: 业务分组id
  8224. type: integer
  8225. ismain:
  8226. description: 是否主账号 1-是 0-否
  8227. type: integer
  8228. type: object
  8229. models.ErmcpDGFactoryItem:
  8230. properties:
  8231. areauserid:
  8232. description: 用户id
  8233. type: integer
  8234. deliverygoodsid:
  8235. description: 现货品种ID
  8236. type: integer
  8237. dgfactoryitemid:
  8238. description: 选择项ID(SEQ_DGFACTORYITEM)
  8239. type: integer
  8240. dgfactoryitemtypeid:
  8241. description: 要素项类型
  8242. type: integer
  8243. dgfactoryitemvalue:
  8244. description: 要素项值(类型为仓库时填写仓库名称)
  8245. type: string
  8246. isvalid:
  8247. description: 是否有效 - 0:无效 1:有效
  8248. type: integer
  8249. orderindex:
  8250. description: 顺序
  8251. type: integer
  8252. warehouseid:
  8253. description: 仓库ID(类型为仓库时填写)
  8254. type: integer
  8255. type: object
  8256. models.ErmcpDeliveryGoods:
  8257. properties:
  8258. agreeunit:
  8259. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8260. type: integer
  8261. areauserid:
  8262. description: 所属机构
  8263. type: integer
  8264. auditflag:
  8265. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8266. type: integer
  8267. categoryid:
  8268. description: 类别ID(SEQ_WRCATEGORY)
  8269. type: integer
  8270. deliverygoodscode:
  8271. description: 现货品种代码
  8272. type: string
  8273. deliverygoodsid:
  8274. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8275. type: integer
  8276. deliverygoodsname:
  8277. description: 现货品种名称
  8278. type: string
  8279. deliverygoodstype:
  8280. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8281. type: integer
  8282. dgstatus:
  8283. description: 品种状态 - 作废 - 0:未激活 1:正常
  8284. type: integer
  8285. enumdicname:
  8286. description: 现货品种单位名称
  8287. type: string
  8288. goodsunitid:
  8289. description: 现货品种单位ID
  8290. type: integer
  8291. isvalid:
  8292. description: 是否有效 - 0:无效 1:有效
  8293. type: integer
  8294. qtydecimalplace:
  8295. description: 成交量小数位
  8296. type: integer
  8297. remark:
  8298. description: 备注
  8299. type: string
  8300. standardqty:
  8301. description: 标准数量(库位数量) [标准品特有]
  8302. type: integer
  8303. standardqtyrange:
  8304. description: 标准数量偏差范围 [标准品特有]
  8305. type: integer
  8306. type: object
  8307. models.ErmcpFuturesCompany:
  8308. properties:
  8309. brokerid:
  8310. description: 经纪公司代码
  8311. type: string
  8312. channeladdress:
  8313. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8314. type: string
  8315. channelid:
  8316. description: 对冲渠道ID
  8317. type: string
  8318. createtime:
  8319. description: 创建时间
  8320. type: string
  8321. creatorid:
  8322. description: 创建人
  8323. type: string
  8324. fcid:
  8325. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8326. type: integer
  8327. fcname:
  8328. description: 期货公司名称
  8329. type: string
  8330. isvalid:
  8331. description: 是否有效 - 0:无效 1:有效
  8332. type: integer
  8333. mhpaddress:
  8334. description: MHP服务地址(IP:Port)
  8335. type: string
  8336. riskrulegroupid:
  8337. description: 风控规则组ID
  8338. type: string
  8339. tradefeetmpid:
  8340. description: 手续费模板ID[TradeConfigTmpType为2]
  8341. type: string
  8342. trademargintmpid:
  8343. description: 保证金模板ID [TradeConfigTmpType为1]
  8344. type: string
  8345. traderatetmpid:
  8346. description: 汇率模板ID[TradeConfigTmpType为3]
  8347. type: string
  8348. updatetime:
  8349. description: 更新时间
  8350. type: string
  8351. updatorid:
  8352. description: 更新人
  8353. type: string
  8354. type: object
  8355. models.ErmcpGGConvertCfg:
  8356. properties:
  8357. convertratio:
  8358. description: 折算系数
  8359. type: number
  8360. destgoodsgroupid:
  8361. description: 目标品种ID
  8362. type: integer
  8363. dstcode:
  8364. description: 目录品种代码
  8365. type: string
  8366. dstexchangecode:
  8367. description: 目标期货交易所
  8368. type: string
  8369. dstname:
  8370. description: 目标品种名称
  8371. type: string
  8372. dstunitid:
  8373. description: 目标品种单位ID
  8374. type: integer
  8375. dstunitidname:
  8376. description: 目标品种单位名称
  8377. type: string
  8378. modifytime:
  8379. description: 修改时间
  8380. type: string
  8381. srccode:
  8382. description: 源品种代码
  8383. type: string
  8384. srcexchangecode:
  8385. description: 源期货交易所
  8386. type: string
  8387. srcgoodsgroupid:
  8388. description: 源品种ID
  8389. type: integer
  8390. srcname:
  8391. description: 源品种名称
  8392. type: string
  8393. srcunitid:
  8394. description: 源品种单位ID
  8395. type: integer
  8396. srcunitidname:
  8397. description: 源品种单位名称
  8398. type: string
  8399. type: object
  8400. models.ErmcpGoods:
  8401. properties:
  8402. agreeunit:
  8403. description: 合约单位
  8404. type: number
  8405. areauserid:
  8406. description: 所属机构
  8407. type: integer
  8408. auditaccountid:
  8409. description: 审核操作员账号
  8410. type: integer
  8411. audittime:
  8412. description: 审核时间
  8413. type: string
  8414. cancelaccountid:
  8415. description: 注销操作员账号
  8416. type: integer
  8417. canceltime:
  8418. description: 注销时间
  8419. type: string
  8420. closepricemode:
  8421. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8422. type: integer
  8423. closepriceparam:
  8424. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8425. type: number
  8426. createtime:
  8427. description: 创建时间
  8428. type: string
  8429. creatorid:
  8430. description: 创建人
  8431. type: integer
  8432. currencyid:
  8433. description: 报价货币ID
  8434. type: integer
  8435. cutmode:
  8436. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8437. type: integer
  8438. decimalplace:
  8439. description: 报价小数位
  8440. type: integer
  8441. delistingdate:
  8442. description: 商品退市时间(状态:退市) -- 已作废
  8443. type: string
  8444. delistingmode:
  8445. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8446. type: integer
  8447. deliveryflag:
  8448. description: 交割标志 - 0:不可交割 1:可交割
  8449. type: integer
  8450. enumdicname:
  8451. description: 单位名称
  8452. type: string
  8453. forceclosemode:
  8454. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8455. type: integer
  8456. forceclosevalue:
  8457. description: 定期强平参数 [收益权]
  8458. type: integer
  8459. goodscode:
  8460. description: 商品代码(内部)
  8461. type: string
  8462. goodscurrencyid:
  8463. description: 合约货币ID
  8464. type: integer
  8465. goodsgroupid:
  8466. description: 所属商品组ID
  8467. type: integer
  8468. goodsid:
  8469. description: 商品ID(自增ID SEQ_GOODS)
  8470. type: integer
  8471. goodsname:
  8472. description: 商品名称
  8473. type: string
  8474. goodsquotetype:
  8475. description: '合约报价类型: 1-直接报价 2-间接报价'
  8476. type: integer
  8477. goodsstatus:
  8478. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8479. type: integer
  8480. goodstradetype:
  8481. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8482. type: integer
  8483. goodunitid:
  8484. description: 报价单位ID
  8485. type: integer
  8486. hasquoter:
  8487. description: 是否有报价商 - 0:无报价商 1:有报价商
  8488. type: integer
  8489. hqprotecttime:
  8490. description: 行情保护时间(秒)
  8491. type: integer
  8492. innerdealmode:
  8493. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8494. type: integer
  8495. isbuylimited:
  8496. description: 是否限制建仓量 - 0:不限制 1:限制
  8497. type: integer
  8498. isvisible:
  8499. description: 游客是否可见 - 0:不可见 1:可见
  8500. type: integer
  8501. lasttradedate:
  8502. description: 最后交易日期(状态:待退市)
  8503. type: string
  8504. listingdate:
  8505. description: 交易开始日期
  8506. type: string
  8507. marketid:
  8508. description: 所属市场ID
  8509. type: integer
  8510. modifierid:
  8511. description: 修改人
  8512. type: integer
  8513. modifystatus:
  8514. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8515. type: integer
  8516. modifytime:
  8517. description: 修改时间
  8518. type: string
  8519. outerdealmode:
  8520. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8521. type: integer
  8522. outgoodscode:
  8523. description: 商品代码(外部)
  8524. type: string
  8525. pictureurl:
  8526. description: 商品图片
  8527. type: string
  8528. qtydecimalplace:
  8529. description: 成交量小数位
  8530. type: integer
  8531. quotegear:
  8532. description: 行情档位(1-10)
  8533. type: integer
  8534. quoteminunit:
  8535. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8536. type: integer
  8537. quoteshowtype:
  8538. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8539. type: integer
  8540. quoteshowtypeinterval:
  8541. description: 行情报价间隔时间(秒)(成交价时为0)
  8542. type: integer
  8543. relatedgoodsid:
  8544. description: 关联参考商品ID
  8545. type: integer
  8546. remark:
  8547. description: 备注
  8548. type: string
  8549. trademode:
  8550. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8551. 21:竞拍-大宗式 22:受托竞价
  8552. type: integer
  8553. required:
  8554. - goodscode
  8555. - goodsid
  8556. - goodsname
  8557. - marketid
  8558. type: object
  8559. models.ErmcpGoodsBrand:
  8560. properties:
  8561. areauserid:
  8562. description: 所属机构
  8563. type: integer
  8564. brandid:
  8565. description: BrandID(SEQ_SPOTGOODSBRAND)
  8566. type: integer
  8567. brandname:
  8568. description: 品牌名称
  8569. type: string
  8570. createtime:
  8571. description: 创建时间
  8572. type: string
  8573. creatorid:
  8574. description: 创建人
  8575. type: integer
  8576. creatorsrc:
  8577. description: 创建人来源 - 1:管理端 2:终端
  8578. type: integer
  8579. deliverygoodsid:
  8580. description: 现货品种ID
  8581. type: integer
  8582. isvalid:
  8583. description: 是否有效 - 0:无效 1:有效
  8584. type: integer
  8585. updatetime:
  8586. description: 更新时间
  8587. type: string
  8588. updatorid:
  8589. description: 更新人
  8590. type: integer
  8591. updatorsrc:
  8592. description: 更新人来源 - 1:管理端 2:终端
  8593. type: integer
  8594. wrstandardid:
  8595. description: 现货商品ID
  8596. type: integer
  8597. type: object
  8598. models.ErmcpGoodsModel:
  8599. properties:
  8600. areauserid:
  8601. description: 所属机构
  8602. type: integer
  8603. convertfactor:
  8604. description: 标仓系数
  8605. type: number
  8606. createtime:
  8607. description: 创建时间
  8608. type: string
  8609. creatorid:
  8610. description: 创建人
  8611. type: integer
  8612. creatorsrc:
  8613. description: 创建人来源 - 1:管理端 2:终端
  8614. type: integer
  8615. deliverygoodsid:
  8616. description: 现货品种ID
  8617. type: integer
  8618. isvalid:
  8619. description: 是否有效 - 0:无效 1:有效
  8620. type: integer
  8621. modelid:
  8622. description: ModelID(SEQ_SPOTGOODSMODEL)
  8623. type: integer
  8624. modelname:
  8625. description: 型号名称
  8626. type: string
  8627. updatetime:
  8628. description: 更新时间
  8629. type: string
  8630. updatorid:
  8631. description: 更新人
  8632. type: integer
  8633. updatorsrc:
  8634. description: 更新人来源 - 1:管理端 2:终端
  8635. type: integer
  8636. wrstandardid:
  8637. description: 现货商品ID
  8638. type: integer
  8639. type: object
  8640. models.ErmcpHisExposure:
  8641. properties:
  8642. needhedgeexposoure:
  8643. description: 应套保敞口
  8644. type: number
  8645. reckondate:
  8646. description: 日照时期(yyyyMMdd)
  8647. type: string
  8648. totalexposure:
  8649. description: 总敞口
  8650. type: number
  8651. type: object
  8652. models.ErmcpLoginTaAccount:
  8653. properties:
  8654. accountid:
  8655. description: 账号id
  8656. type: integer
  8657. accountname:
  8658. description: 账号名称
  8659. type: string
  8660. type: object
  8661. models.ErmcpLoginUser:
  8662. properties:
  8663. acclist:
  8664. description: 关联资金账号
  8665. items:
  8666. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8667. type: array
  8668. accountname:
  8669. description: 用户名称
  8670. type: string
  8671. clientroleid:
  8672. description: 角色id(usertype=2)
  8673. type: integer
  8674. createtime:
  8675. description: 创建时间
  8676. type: string
  8677. logincode:
  8678. description: 登录代码
  8679. type: string
  8680. loginid:
  8681. description: 登录id(LOGINID)
  8682. type: integer
  8683. loginname:
  8684. description: 登录名称(loginaccount表中的accountname字段)
  8685. type: string
  8686. loginstatus:
  8687. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8688. type: integer
  8689. memberuserid:
  8690. description: 所属会员id
  8691. type: integer
  8692. mobile:
  8693. description: 手机号
  8694. type: string
  8695. modifytime:
  8696. description: 修改时间
  8697. type: string
  8698. password:
  8699. description: 密码(不可解密)
  8700. type: string
  8701. rolename:
  8702. description: 角色名称
  8703. type: string
  8704. rolestatus:
  8705. description: 角色状态 1-启用 2-停用
  8706. type: integer
  8707. roletype:
  8708. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8709. type: string
  8710. userid:
  8711. description: 用户id
  8712. type: integer
  8713. usertype:
  8714. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8715. type: integer
  8716. type: object
  8717. models.ErmcpLoginUserEx:
  8718. properties:
  8719. accountstatus:
  8720. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8721. type: integer
  8722. mobile:
  8723. description: 手机号
  8724. type: string
  8725. querytype:
  8726. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8727. type: integer
  8728. roleid:
  8729. description: 角色id(交易账户->用户id)
  8730. type: integer
  8731. rolename:
  8732. description: 角色名称(交易账户->用户名称)
  8733. type: string
  8734. userlist:
  8735. description: 用户列表
  8736. items:
  8737. $ref: '#/definitions/models.ErmcpLoginUser'
  8738. type: array
  8739. usertype:
  8740. description: 用户类型 2-机构 7-企业成员(云平台)
  8741. type: integer
  8742. type: object
  8743. models.ErmcpMiddleGoodsModel:
  8744. properties:
  8745. areauserid:
  8746. description: 机构用户ID
  8747. type: integer
  8748. createtime:
  8749. description: 修改时间
  8750. type: string
  8751. enumdicname:
  8752. description: 单位名称
  8753. type: string
  8754. evaluateratio:
  8755. description: 估价系数
  8756. type: number
  8757. goodsgroupid:
  8758. description: 关联期货品种ID
  8759. type: integer
  8760. goodsunitid:
  8761. description: 单位ID
  8762. type: integer
  8763. isvalid:
  8764. description: 状态 0-无效(停用) 1-有效(正常)
  8765. type: integer
  8766. middlegoodscode:
  8767. description: 套保品种代码
  8768. type: string
  8769. middlegoodsid:
  8770. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8771. type: integer
  8772. middlegoodsname:
  8773. description: 套保品种名称
  8774. type: string
  8775. modifytime:
  8776. description: 修改时间
  8777. type: string
  8778. needarbitrageratio:
  8779. description: 套利比例
  8780. type: number
  8781. needhedgeratio:
  8782. description: 套保比率
  8783. type: number
  8784. qtydecimalplace:
  8785. description: 数量小数位
  8786. type: integer
  8787. relatedgoodsid:
  8788. description: 关联交易商品ID
  8789. type: integer
  8790. relatedgoodstype:
  8791. description: 关联商品类型 - 1:期货合约 2:现货品种
  8792. type: integer
  8793. remark:
  8794. description: 备注
  8795. type: string
  8796. type: object
  8797. models.ErmcpMiddlegoodsRelateGoods:
  8798. properties:
  8799. agreeunit:
  8800. description: 合约乘数
  8801. type: number
  8802. convertratio:
  8803. description: 折算系数
  8804. type: number
  8805. enumdicname:
  8806. description: 单位名称(交易商品)
  8807. type: string
  8808. goodscode:
  8809. description: 交易商品代码
  8810. type: string
  8811. goodsgroupid:
  8812. description: 交易品种id
  8813. type: integer
  8814. goodsid:
  8815. description: 商品Id
  8816. type: integer
  8817. goodsname:
  8818. description: 交易商品名称
  8819. type: string
  8820. goodunitid:
  8821. description: 交易商品单位id
  8822. type: integer
  8823. middlegoodsid:
  8824. description: 套保商品id
  8825. type: integer
  8826. middlegoodsname:
  8827. description: 套保商品名称
  8828. type: string
  8829. middlegoodsswcode:
  8830. description: 套保商品代码
  8831. type: string
  8832. needarbitrageratio:
  8833. description: 应套利比例
  8834. type: number
  8835. needhedgeratio:
  8836. description: 应套保比例
  8837. type: number
  8838. type: object
  8839. models.ErmcpRole:
  8840. properties:
  8841. areauserid:
  8842. description: 所属机构
  8843. type: integer
  8844. autoid:
  8845. description: 角色ID(自增ID)
  8846. type: integer
  8847. modifierid:
  8848. description: 修改人(创建人)
  8849. type: integer
  8850. modifiername:
  8851. description: 修改人名称
  8852. type: string
  8853. modifytime:
  8854. description: 修改时间(创建时间)
  8855. type: string
  8856. rolename:
  8857. description: 角色名称
  8858. type: string
  8859. rolestatus:
  8860. description: 角色状态 - 1:启用 2:停用
  8861. type: integer
  8862. roletype:
  8863. description: 角色类型 - 1- 管理端 2- 交易端
  8864. type: integer
  8865. type: object
  8866. models.ErmcpRoleMenu:
  8867. properties:
  8868. iconame:
  8869. description: 菜单图标
  8870. type: string
  8871. ishadrole:
  8872. description: 是否有权限
  8873. type: boolean
  8874. menutype:
  8875. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8876. type: integer
  8877. parentcode:
  8878. description: 上级资源代码
  8879. type: string
  8880. remark:
  8881. description: 菜单备注
  8882. type: string
  8883. resourcecode:
  8884. description: 菜单代码
  8885. type: string
  8886. resourcelevel:
  8887. description: 级别
  8888. type: integer
  8889. resourcename:
  8890. description: 菜单名称
  8891. type: string
  8892. roleid:
  8893. description: 角色id
  8894. type: integer
  8895. sort:
  8896. description: 排序
  8897. type: integer
  8898. url:
  8899. description: URL
  8900. type: string
  8901. userid:
  8902. description: 用户id
  8903. type: integer
  8904. type: object
  8905. models.ErmcpRoleMenuEx:
  8906. properties:
  8907. menu:
  8908. $ref: '#/definitions/models.ErmcpRoleMenu'
  8909. description: 父级菜单
  8910. subMenu:
  8911. description: 子级菜单
  8912. items:
  8913. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8914. type: array
  8915. type: object
  8916. models.ErmcpSpotContractModelEx:
  8917. properties:
  8918. accountname:
  8919. description: 套期主体
  8920. type: string
  8921. amount:
  8922. description: 金额 [1:一口价、3:暂定价]
  8923. type: number
  8924. attachment:
  8925. description: 附件
  8926. type: string
  8927. auditremark:
  8928. description: 审核意见
  8929. type: string
  8930. audittime:
  8931. description: 审核时间
  8932. type: string
  8933. avgprice:
  8934. description: 定价均价 = 已定价金额 / 已定价量
  8935. type: number
  8936. brandname:
  8937. description: 品牌名称
  8938. type: string
  8939. buyuserid:
  8940. description: 采购方ID
  8941. type: integer
  8942. buyusername:
  8943. description: 采购方名称
  8944. type: string
  8945. contracctstatus:
  8946. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8947. type: integer
  8948. contractmargin:
  8949. description: 合同保证金
  8950. type: number
  8951. contractno:
  8952. description: '[合同编号]现货合同编号'
  8953. type: string
  8954. contracttype:
  8955. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8956. type: integer
  8957. convertfactor:
  8958. description: 标仓系数
  8959. type: number
  8960. createtime:
  8961. description: 创建时间
  8962. type: string
  8963. customername:
  8964. description: 对手方
  8965. type: string
  8966. customeruserid:
  8967. description: 客户ID
  8968. type: integer
  8969. deliveryenddate:
  8970. description: 交收期(结束)
  8971. type: string
  8972. deliverygoodscode:
  8973. description: 现货品种代码
  8974. type: string
  8975. deliverygoodsid:
  8976. description: 现货品种ID
  8977. type: integer
  8978. deliverygoodsname:
  8979. description: 现货品种名称
  8980. type: string
  8981. deliverystartdate:
  8982. description: 交收期(开始)
  8983. type: string
  8984. enddate:
  8985. description: 点价结束日期 [2:点价 3:暂定价]
  8986. type: string
  8987. enumdicname:
  8988. description: 单位名称
  8989. type: string
  8990. goodscode:
  8991. description: 点价合约代码
  8992. type: string
  8993. goodsid:
  8994. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  8995. type: integer
  8996. goodsname:
  8997. description: 点价商品名称
  8998. type: string
  8999. isrelated:
  9000. description: 是否已关联计划项目 - 0:否 1:是
  9001. type: integer
  9002. isrelated2:
  9003. description: 是否已关联现货项目 - 0:否 1:是
  9004. type: integer
  9005. margin:
  9006. description: 当前保证金
  9007. type: number
  9008. modelname:
  9009. description: 型号名称
  9010. type: string
  9011. price:
  9012. description: 价格\暂定价 [1:一口价、3:暂定价]
  9013. type: number
  9014. pricedamount:
  9015. description: 已定价金额 = (点价价格+升贴水) * 数量
  9016. type: number
  9017. pricedqty:
  9018. description: 已定价量
  9019. type: number
  9020. pricemove:
  9021. description: 升贴水 [2:点价 3:暂定价]
  9022. type: number
  9023. pricetype:
  9024. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9025. type: integer
  9026. producttype:
  9027. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9028. type: integer
  9029. qty:
  9030. description: '[合同数量]数量'
  9031. type: number
  9032. remark:
  9033. description: 备注
  9034. type: string
  9035. selluserid:
  9036. description: 销售方ID
  9037. type: integer
  9038. sellusername:
  9039. description: 销售方名称
  9040. type: string
  9041. spotamount:
  9042. description: 合同现货金额 [不含升贴水]
  9043. type: number
  9044. spotavgprice:
  9045. description: 现货均价 = 合同现货金额 / 已定价量
  9046. type: number
  9047. spotcontractid:
  9048. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9049. type: string
  9050. spotgoodsbrandid:
  9051. description: 现货品牌ID
  9052. type: integer
  9053. spotgoodsdesc:
  9054. description: 商品型号
  9055. type: string
  9056. spotgoodsmodelid:
  9057. description: 现货型号ID
  9058. type: integer
  9059. startdate:
  9060. description: 点价开始日期 [2:点价 3:暂定价]
  9061. type: string
  9062. tradeuserid:
  9063. description: 交易用户ID
  9064. type: integer
  9065. unpricedqty:
  9066. description: 未定价量 = 合同数量 - 已定价量
  9067. type: number
  9068. updatetime:
  9069. description: 更新时间
  9070. type: string
  9071. userid:
  9072. description: 机构ID
  9073. type: integer
  9074. wrstandardcode:
  9075. description: 现货商品代码
  9076. type: string
  9077. wrstandardid:
  9078. description: 现货商品ID
  9079. type: integer
  9080. wrstandardname:
  9081. description: '[现货商品]现货商品名称'
  9082. type: string
  9083. type: object
  9084. models.ErmcpTaAccount:
  9085. properties:
  9086. accountid:
  9087. description: 账户id
  9088. type: integer
  9089. accountname:
  9090. description: 账户名称
  9091. type: string
  9092. currencyid:
  9093. description: 币种id
  9094. type: integer
  9095. hedgeaccountcode:
  9096. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9097. type: string
  9098. ismain:
  9099. description: 是否主账户 0-否 1-是
  9100. type: integer
  9101. parentaccountid:
  9102. description: 父账户id
  9103. type: integer
  9104. relateduserid:
  9105. description: 关联userid
  9106. type: integer
  9107. tradefeetmpid:
  9108. description: 手续费模板id
  9109. type: integer
  9110. tradefeetmpname:
  9111. description: 手续费模板名称
  9112. type: string
  9113. trademargintmpid:
  9114. description: 保证金模板id
  9115. type: integer
  9116. trademargintmpname:
  9117. description: 保证金模板名称
  9118. type: string
  9119. traderatetmpid:
  9120. description: 汇率模板id
  9121. type: integer
  9122. traderatetmpname:
  9123. description: 汇率模板名称
  9124. type: string
  9125. tradestatus:
  9126. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9127. type: integer
  9128. userid:
  9129. description: 用户id
  9130. type: integer
  9131. type: object
  9132. models.ErmcpTaAccountEx:
  9133. properties:
  9134. mainAcc:
  9135. $ref: '#/definitions/models.ErmcpTaAccountM'
  9136. description: 主账号
  9137. subacclist:
  9138. description: 子账号列表
  9139. items:
  9140. $ref: '#/definitions/models.ErmcpTaAccount'
  9141. type: array
  9142. type: object
  9143. models.ErmcpTaAccountInfo:
  9144. properties:
  9145. accountid:
  9146. description: 资金账户ID
  9147. type: integer
  9148. accountname:
  9149. description: 账户名称
  9150. type: string
  9151. balance:
  9152. description: 期初余额
  9153. type: number
  9154. capitalbalance:
  9155. description: 本金余额[外部子账户实际出入金余额]
  9156. type: number
  9157. closepl:
  9158. description: 今日平仓盈亏
  9159. type: number
  9160. creditdecrease:
  9161. description: 今日授信减少
  9162. type: number
  9163. creditincrease:
  9164. description: 今日授信增加
  9165. type: number
  9166. curdebt:
  9167. description: 期末欠款
  9168. type: number
  9169. currencyid:
  9170. description: 货币ID
  9171. type: integer
  9172. currentbalance:
  9173. description: 期末余额
  9174. type: number
  9175. freezecharge:
  9176. description: 手续费冻结
  9177. type: number
  9178. freezemargin:
  9179. description: 冻结保证金
  9180. type: number
  9181. fromaccountid:
  9182. description: 所属上级账户
  9183. type: integer
  9184. inamount:
  9185. description: 今日入金金额(包括三方入金)
  9186. type: number
  9187. ismain:
  9188. description: 是否母账号 0:不是母账户 1:是母账户
  9189. type: integer
  9190. mortgagecredit:
  9191. description: 授信金额
  9192. type: number
  9193. oridebt:
  9194. description: 期初欠款
  9195. type: number
  9196. orifreezecharge:
  9197. description: 期初手续费冻结
  9198. type: number
  9199. orifreezemargin:
  9200. description: 期初冻结保证金
  9201. type: number
  9202. orimortgagecredit:
  9203. description: 期初授信金额
  9204. type: number
  9205. oriothercredit:
  9206. description: 期初其它授信金额
  9207. type: number
  9208. oriotherfreezemargin:
  9209. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9210. type: number
  9211. orioutamountfreeze:
  9212. description: 期初出金冻结
  9213. type: number
  9214. oriusedmargin:
  9215. description: 期初占用保证金
  9216. type: number
  9217. othercredit:
  9218. description: 其它授信金额
  9219. type: number
  9220. othercreditdecrease:
  9221. description: 今日其它授信减少
  9222. type: number
  9223. othercreditincrease:
  9224. description: 今日其它授信增加
  9225. type: number
  9226. otherfreezemargin:
  9227. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9228. type: number
  9229. outamount:
  9230. description: 今日出金金额(包括三方出金)
  9231. type: number
  9232. outamountfreeze:
  9233. description: 出金冻结
  9234. type: number
  9235. outthreshold:
  9236. description: 出金阈值
  9237. type: number
  9238. parentaccountid:
  9239. description: 所属根账号
  9240. type: integer
  9241. paycharge:
  9242. description: 今日手续费支出
  9243. type: number
  9244. relateduserid:
  9245. description: 关联用户
  9246. type: integer
  9247. signstatus:
  9248. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9249. type: integer
  9250. sublevelpath:
  9251. description: 账号层级路径(逗号分隔,首尾加逗号)
  9252. type: string
  9253. taaccounttype:
  9254. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9255. type: integer
  9256. thirdinamount:
  9257. description: 今日三方入金
  9258. type: number
  9259. thirdoutamount:
  9260. description: 今日三方出金
  9261. type: number
  9262. tradestatus:
  9263. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9264. type: integer
  9265. transferamount:
  9266. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9267. type: number
  9268. usedmargin:
  9269. description: 占用保证金
  9270. type: number
  9271. userid:
  9272. description: 用户ID
  9273. type: integer
  9274. type: object
  9275. models.ErmcpTaAccountM:
  9276. properties:
  9277. accountid:
  9278. description: 账户id
  9279. type: integer
  9280. accountname:
  9281. description: 账户名称
  9282. type: string
  9283. currencyid:
  9284. description: 币种id
  9285. type: integer
  9286. fcid:
  9287. description: 期货公司id
  9288. type: integer
  9289. fcname:
  9290. description: 期货公司代码
  9291. type: string
  9292. hedgeaccountcode:
  9293. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9294. type: string
  9295. ismain:
  9296. description: 是否主账户 0-否 1-是
  9297. type: integer
  9298. parentaccountid:
  9299. description: 父账户id
  9300. type: integer
  9301. relateduserid:
  9302. description: 关联userid
  9303. type: integer
  9304. tradefeetmpid:
  9305. description: 手续费模板id
  9306. type: integer
  9307. tradefeetmpname:
  9308. description: 手续费模板名称
  9309. type: string
  9310. trademargintmpid:
  9311. description: 保证金模板id
  9312. type: integer
  9313. trademargintmpname:
  9314. description: 保证金模板名称
  9315. type: string
  9316. traderatetmpid:
  9317. description: 汇率模板id
  9318. type: integer
  9319. traderatetmpname:
  9320. description: 汇率模板名称
  9321. type: string
  9322. tradestatus:
  9323. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9324. type: integer
  9325. userid:
  9326. description: 用户id
  9327. type: integer
  9328. type: object
  9329. models.ErmcpTradeConfigTMP:
  9330. properties:
  9331. areauserid:
  9332. description: 所属机构
  9333. type: integer
  9334. basiccurrencyid:
  9335. description: 基本币种ID[汇率] - 目标币种
  9336. type: integer
  9337. mainaccountid:
  9338. description: 主账户ID
  9339. type: integer
  9340. modifierid:
  9341. description: 修改人
  9342. type: integer
  9343. remark:
  9344. description: 备注
  9345. type: string
  9346. tradeconfigtmpid:
  9347. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9348. type: integer
  9349. tradeconfigtmpname:
  9350. description: 交易配置模板名称
  9351. type: string
  9352. tradeconfigtmptype:
  9353. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9354. type: integer
  9355. updatetime:
  9356. description: 更新时间
  9357. type: string
  9358. type: object
  9359. models.Ermcpjrlinkpos:
  9360. properties:
  9361. areauserid:
  9362. description: 所属企业
  9363. type: integer
  9364. averageprice:
  9365. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9366. type: number
  9367. closepl:
  9368. description: 总平仓盈亏 [期货损益]
  9369. type: number
  9370. executeprice:
  9371. description: 执行价 - 1:期货单 为 0
  9372. type: integer
  9373. futurehedgeqty:
  9374. description: 期货套期量
  9375. type: number
  9376. goodsid:
  9377. description: 期货合约
  9378. type: integer
  9379. middlegoodscode:
  9380. description: 套保商品代码
  9381. type: string
  9382. middlegoodsname:
  9383. description: 套保商品名称
  9384. type: string
  9385. netqty:
  9386. description: 净头寸
  9387. type: number
  9388. optioncode:
  9389. description: 期权代码
  9390. type: string
  9391. ordertype:
  9392. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9393. type: integer
  9394. reckonpl:
  9395. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9396. type: number
  9397. spotcontractid:
  9398. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9399. type: string
  9400. todayfutureclosepl:
  9401. description: 今日平仓盈亏
  9402. type: number
  9403. totalbuyamount:
  9404. description: 买金额 [期货]
  9405. type: number
  9406. totalbuyholdamount:
  9407. description: 买持仓总金额[期货]
  9408. type: number
  9409. totalbuyqty:
  9410. description: 买数量
  9411. type: number
  9412. totalcharge:
  9413. description: 手续费
  9414. type: number
  9415. totalpremium:
  9416. description: 权利金 [期权]
  9417. type: number
  9418. totalsellamount:
  9419. description: 卖金额 [期货]
  9420. type: number
  9421. totalsellholdamount:
  9422. description: 卖持仓总金额[期货]
  9423. type: number
  9424. totalsellqty:
  9425. description: 卖数量
  9426. type: number
  9427. updatetime:
  9428. description: 更新时间
  9429. type: string
  9430. required:
  9431. - spotcontractid
  9432. type: object
  9433. models.Ermcppatradelinkdetail:
  9434. properties:
  9435. agreeunit:
  9436. description: 合约乘数
  9437. type: number
  9438. amount:
  9439. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9440. type: number
  9441. areauserid:
  9442. description: 所属机构
  9443. type: integer
  9444. bizsubjectid:
  9445. description: 归属业务部门ID - SubjectID
  9446. type: integer
  9447. buyorsell:
  9448. description: 方向 - 0:买 1:卖
  9449. type: integer
  9450. convertratio:
  9451. description: 品种系数
  9452. type: number
  9453. createtime:
  9454. description: 创建时间
  9455. type: string
  9456. creatorid:
  9457. description: 创建人ID
  9458. type: integer
  9459. creatorsrc:
  9460. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9461. type: integer
  9462. goodsgroupid:
  9463. description: 对冲品种ID[期货合约商品组ID]
  9464. type: integer
  9465. goodsid:
  9466. description: 商品ID
  9467. type: integer
  9468. hedgeditemid:
  9469. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9470. type: integer
  9471. hedgeflag:
  9472. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9473. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9474. type: integer
  9475. linkdetailid:
  9476. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9477. type: string
  9478. linkstatus:
  9479. description: 关联状态 - 1:成功 2:失败 3:解绑
  9480. type: integer
  9481. middlegoodsid:
  9482. description: 套保品种ID
  9483. type: integer
  9484. name:
  9485. description: 账户名/子账户
  9486. type: string
  9487. optioncode:
  9488. description: '[期货合约]期权代码 [期权]'
  9489. type: string
  9490. ordertype:
  9491. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9492. type: integer
  9493. relatedlot:
  9494. description: '[数量]关联手数'
  9495. type: number
  9496. relatedmode:
  9497. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9498. type: integer
  9499. relatedqty:
  9500. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9501. type: number
  9502. retcode:
  9503. description: 返回码
  9504. type: integer
  9505. saleuserid:
  9506. description: 业务员ID
  9507. type: integer
  9508. tradedate:
  9509. description: 关联交易日(yyyyMMdd)
  9510. type: string
  9511. tradeid:
  9512. description: '[成交单号]内部成交单ID'
  9513. type: string
  9514. tradelot:
  9515. description: 成交手数
  9516. type: integer
  9517. tradeprice:
  9518. description: '[价格]成交价格'
  9519. type: number
  9520. tradetime:
  9521. description: 日期时间
  9522. type: string
  9523. tradetradedate:
  9524. description: 成交交易日(yyyyMMdd)
  9525. type: string
  9526. required:
  9527. - hedgeditemid
  9528. type: object
  9529. models.Externalexchange:
  9530. properties:
  9531. autoid:
  9532. description: AutoID - SEQ_EXTERNALEXCHANGE
  9533. type: integer
  9534. exchangefullname:
  9535. description: 外部交易所全称
  9536. type: string
  9537. exexchangecode:
  9538. description: 外部交易所代码
  9539. type: string
  9540. exexchangename:
  9541. description: 外部交易所名称(简称)
  9542. type: string
  9543. ismarketprice:
  9544. description: 是否支持市价 - 0:不支持 1:支持
  9545. type: integer
  9546. quotegear:
  9547. description: 行情档位(1-10)
  9548. type: integer
  9549. showbrokerflag:
  9550. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9551. type: integer
  9552. updatetime:
  9553. description: 更新时间
  9554. type: string
  9555. required:
  9556. - autoid
  9557. type: object
  9558. models.Funcmenulist:
  9559. properties:
  9560. iconame:
  9561. description: 菜单图标
  9562. type: string
  9563. menutype:
  9564. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9565. type: integer
  9566. parentcode:
  9567. description: 上级资源代码
  9568. type: string
  9569. remark:
  9570. description: 备注
  9571. type: string
  9572. resourcecode:
  9573. description: 资源代码
  9574. type: string
  9575. resourcelevel:
  9576. description: 级别 1-一级 2-二级 3-三级 4-四级
  9577. type: integer
  9578. resourcename:
  9579. description: 资源名
  9580. type: string
  9581. sort:
  9582. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9583. type: integer
  9584. url:
  9585. description: URL
  9586. type: string
  9587. required:
  9588. - resourcecode
  9589. type: object
  9590. models.Goods:
  9591. properties:
  9592. agreeunit:
  9593. description: 合约单位
  9594. type: number
  9595. areauserid:
  9596. description: 所属机构
  9597. type: integer
  9598. auditaccountid:
  9599. description: 审核操作员账号
  9600. type: integer
  9601. audittime:
  9602. description: 审核时间
  9603. type: string
  9604. cancelaccountid:
  9605. description: 注销操作员账号
  9606. type: integer
  9607. canceltime:
  9608. description: 注销时间
  9609. type: string
  9610. closepricemode:
  9611. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9612. type: integer
  9613. closepriceparam:
  9614. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9615. type: number
  9616. createtime:
  9617. description: 创建时间
  9618. type: string
  9619. creatorid:
  9620. description: 创建人
  9621. type: integer
  9622. currencyid:
  9623. description: 报价货币ID
  9624. type: integer
  9625. cutmode:
  9626. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9627. type: integer
  9628. decimalplace:
  9629. description: 报价小数位
  9630. type: integer
  9631. delistingdate:
  9632. description: 商品退市时间(状态:退市) -- 已作废
  9633. type: string
  9634. delistingmode:
  9635. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9636. type: integer
  9637. deliveryflag:
  9638. description: 交割标志 - 0:不可交割 1:可交割
  9639. type: integer
  9640. forceclosemode:
  9641. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9642. type: integer
  9643. forceclosevalue:
  9644. description: 定期强平参数 [收益权]
  9645. type: integer
  9646. goodscode:
  9647. description: 商品代码(内部)
  9648. type: string
  9649. goodscurrencyid:
  9650. description: 合约货币ID
  9651. type: integer
  9652. goodsgroupid:
  9653. description: 所属商品组ID
  9654. type: integer
  9655. goodsid:
  9656. description: 商品ID(自增ID SEQ_GOODS)
  9657. type: integer
  9658. goodsname:
  9659. description: 商品名称
  9660. type: string
  9661. goodsquotetype:
  9662. description: '合约报价类型: 1-直接报价 2-间接报价'
  9663. type: integer
  9664. goodsstatus:
  9665. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9666. type: integer
  9667. goodstradetype:
  9668. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9669. type: integer
  9670. goodunitid:
  9671. description: 报价单位ID
  9672. type: integer
  9673. hasquoter:
  9674. description: 是否有报价商 - 0:无报价商 1:有报价商
  9675. type: integer
  9676. hqprotecttime:
  9677. description: 行情保护时间(秒)
  9678. type: integer
  9679. innerdealmode:
  9680. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9681. type: integer
  9682. isbuylimited:
  9683. description: 是否限制建仓量 - 0:不限制 1:限制
  9684. type: integer
  9685. isvisible:
  9686. description: 游客是否可见 - 0:不可见 1:可见
  9687. type: integer
  9688. lasttradedate:
  9689. description: 最后交易日期(状态:待退市)
  9690. type: string
  9691. listingdate:
  9692. description: 交易开始日期
  9693. type: string
  9694. marketid:
  9695. description: 所属市场ID
  9696. type: integer
  9697. modifierid:
  9698. description: 修改人
  9699. type: integer
  9700. modifystatus:
  9701. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9702. type: integer
  9703. modifytime:
  9704. description: 修改时间
  9705. type: string
  9706. outerdealmode:
  9707. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9708. type: integer
  9709. outgoodscode:
  9710. description: 商品代码(外部)
  9711. type: string
  9712. pictureurl:
  9713. description: 商品图片
  9714. type: string
  9715. qtydecimalplace:
  9716. description: 成交量小数位
  9717. type: integer
  9718. quotegear:
  9719. description: 行情档位(1-10)
  9720. type: integer
  9721. quoteminunit:
  9722. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9723. type: integer
  9724. quoteshowtype:
  9725. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9726. type: integer
  9727. quoteshowtypeinterval:
  9728. description: 行情报价间隔时间(秒)(成交价时为0)
  9729. type: integer
  9730. remark:
  9731. description: 备注
  9732. type: string
  9733. required:
  9734. - goodscode
  9735. - goodsid
  9736. - goodsname
  9737. - marketid
  9738. type: object
  9739. models.GoodsIDAndName:
  9740. properties:
  9741. goodscode:
  9742. description: 商品代码(内部)
  9743. type: string
  9744. goodsid:
  9745. description: 商品ID(自增ID SEQ_GOODS)
  9746. type: integer
  9747. goodsname:
  9748. description: 商品名称
  9749. type: string
  9750. marketid:
  9751. description: 所属市场ID
  9752. type: integer
  9753. required:
  9754. - goodscode
  9755. - goodsid
  9756. - goodsname
  9757. - marketid
  9758. type: object
  9759. models.Goodsgroup:
  9760. properties:
  9761. agreeunit:
  9762. description: 合约单位
  9763. type: number
  9764. canshort:
  9765. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9766. type: integer
  9767. closepricemode:
  9768. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9769. type: integer
  9770. closepriceparam:
  9771. description: 强平最新价浮动比例 - 方式为2时使用
  9772. type: number
  9773. createtime:
  9774. description: 创建时间
  9775. type: string
  9776. creatorid:
  9777. description: 创建人
  9778. type: integer
  9779. currencyid:
  9780. description: 报价货币ID
  9781. type: integer
  9782. decimalplace:
  9783. description: 报价小数位
  9784. type: integer
  9785. exercisetype:
  9786. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9787. type: integer
  9788. exexchangeid:
  9789. description: 外部交易所ID[通道交易]
  9790. type: integer
  9791. goodsgroupid:
  9792. description: 商品组ID(自增ID)
  9793. type: integer
  9794. goodsgroupname:
  9795. description: 商品组名称
  9796. type: string
  9797. goodsgroupstatus:
  9798. description: 商品组状态 - 1:正常 2:注销
  9799. type: integer
  9800. goodunitid:
  9801. description: 报价单位ID
  9802. type: integer
  9803. innerdealmode:
  9804. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9805. type: integer
  9806. isbuylimited:
  9807. description: 是否限制建仓量 - 0:不限制 1:限制
  9808. type: integer
  9809. marketid:
  9810. description: 所属市场ID
  9811. type: integer
  9812. modifierid:
  9813. description: 修改人
  9814. type: integer
  9815. modifytime:
  9816. description: 修改时间
  9817. type: string
  9818. outerdealmode:
  9819. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9820. type: integer
  9821. outergroupcode:
  9822. description: 外部商品组代码[通道交易]
  9823. type: string
  9824. premiumdecimalplace:
  9825. description: 权利金小数位[场外期权]
  9826. type: integer
  9827. premiumspreadalgorithm:
  9828. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9829. type: integer
  9830. premiumspreadvalue:
  9831. description: 权利金点差值[场外期权]
  9832. type: number
  9833. qtydecimalplace:
  9834. description: 成交量小数位
  9835. type: integer
  9836. quotegear:
  9837. description: 行情档位(1-10)
  9838. type: integer
  9839. quoteminunit:
  9840. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9841. type: integer
  9842. quoterid:
  9843. description: 报价商ID[场外期权]
  9844. type: integer
  9845. quotesourcegroupid:
  9846. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9847. type: integer
  9848. syncgoodsqty:
  9849. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9850. type: integer
  9851. required:
  9852. - goodsgroupid
  9853. - goodsgroupname
  9854. - goodsgroupstatus
  9855. - marketid
  9856. type: object
  9857. models.Goodssortbypreposition:
  9858. properties:
  9859. goodscode:
  9860. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9861. type: string
  9862. goodsgroupcode:
  9863. description: 品种代码
  9864. type: string
  9865. prepositionqty:
  9866. description: 昨持仓量
  9867. type: integer
  9868. sortindex:
  9869. description: 排序
  9870. type: integer
  9871. tradedate:
  9872. description: 交易日
  9873. type: string
  9874. updatetime:
  9875. description: 更新时间
  9876. type: string
  9877. required:
  9878. - goodscode
  9879. - tradedate
  9880. type: object
  9881. models.Hedgeinnerholderdetail:
  9882. properties:
  9883. accountid:
  9884. description: 账号ID
  9885. type: integer
  9886. buyorsell:
  9887. description: 方向 - 0:买 1:卖
  9888. type: integer
  9889. freezeqty:
  9890. description: 冻结数量 - 按单平使用
  9891. type: integer
  9892. goodsid:
  9893. description: 商品ID
  9894. type: integer
  9895. holderamount:
  9896. description: 持仓金额 [商品币种]
  9897. type: number
  9898. holderdays:
  9899. description: 剩余冻结天数
  9900. type: integer
  9901. holderprice:
  9902. description: 持仓价格
  9903. type: number
  9904. holderqty:
  9905. description: 持仓数量
  9906. type: integer
  9907. marketid:
  9908. description: 市场ID
  9909. type: integer
  9910. openprice:
  9911. description: 建仓价格
  9912. type: number
  9913. openqty:
  9914. description: 建仓数量
  9915. type: integer
  9916. parentaccountid:
  9917. description: 所属母账户
  9918. type: integer
  9919. releaseamount:
  9920. description: 释放持仓金额[商品币种]
  9921. type: number
  9922. tradeamount:
  9923. description: 成交金额[账户]
  9924. type: number
  9925. tradedate:
  9926. description: 交易日(yyyyMMdd)
  9927. type: string
  9928. tradeid:
  9929. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9930. type: string
  9931. tradetime:
  9932. description: 交易时间
  9933. type: string
  9934. required:
  9935. - buyorsell
  9936. - tradeid
  9937. type: object
  9938. models.Hedgemarketopenlog:
  9939. properties:
  9940. accountid:
  9941. description: 资金账号[外部母账户]
  9942. type: integer
  9943. fcname:
  9944. description: 期货公司名称
  9945. type: string
  9946. handlestatus:
  9947. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9948. type: integer
  9949. marketid:
  9950. description: 市场ID
  9951. type: integer
  9952. status:
  9953. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9954. type: integer
  9955. tradedate:
  9956. description: 交易日(yyyyMMdd)
  9957. type: string
  9958. updatetime:
  9959. description: 更新时间
  9960. type: string
  9961. required:
  9962. - accountid
  9963. type: object
  9964. models.HsbyBuyMyPayOrder:
  9965. properties:
  9966. agreeunit:
  9967. description: 合约单位
  9968. type: number
  9969. buyaccountid:
  9970. description: 买方账号ID[报价币种]
  9971. type: integer
  9972. buyorderid:
  9973. description: 买方委托单号
  9974. type: string
  9975. createtime:
  9976. description: 创建时间
  9977. type: string
  9978. currencysign:
  9979. description: 货币符号
  9980. type: string
  9981. decimalplace:
  9982. description: 报价小数位
  9983. type: integer
  9984. goodscode:
  9985. description: 商品代码(内部)
  9986. type: string
  9987. goodsid:
  9988. description: 商品ID
  9989. type: integer
  9990. goodsname:
  9991. description: 商品名称
  9992. type: string
  9993. marketid:
  9994. description: 市场ID
  9995. type: integer
  9996. offamount:
  9997. description: 优惠金额
  9998. type: number
  9999. originalamount:
  10000. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  10001. type: number
  10002. payamount:
  10003. description: 支付金额 = TradeAmount + TradeCharge
  10004. type: number
  10005. payflag:
  10006. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10007. type: integer
  10008. paylimitedtime:
  10009. description: 支付期限
  10010. type: string
  10011. paytime:
  10012. description: 付款时间
  10013. type: string
  10014. picurls1:
  10015. description: 预售商品介绍图片[多张用逗号分隔]
  10016. type: string
  10017. picurls2:
  10018. description: 挂牌商品介绍图片[多张用逗号分隔]
  10019. type: string
  10020. sellaccountid:
  10021. description: 卖方账号ID[报价币种]
  10022. type: integer
  10023. sellorderid:
  10024. description: 卖方委托单号
  10025. type: string
  10026. tradeamount:
  10027. description: 成交金额
  10028. type: number
  10029. tradecharge:
  10030. description: 成交手续费(买方)
  10031. type: number
  10032. tradedate:
  10033. description: 交易日(yyyyMMdd)
  10034. type: string
  10035. tradeid:
  10036. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10037. type: string
  10038. trademode:
  10039. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10040. 21:竞拍-大宗式 22:受托竞价
  10041. type: integer
  10042. tradeprice:
  10043. description: 成交价格
  10044. type: number
  10045. tradeqty:
  10046. description: 成交数量
  10047. type: integer
  10048. vendorname1:
  10049. description: 预售商品供应商名称
  10050. type: string
  10051. vendorname2:
  10052. description: 挂牌商品供应商名称
  10053. type: string
  10054. required:
  10055. - goodscode
  10056. - goodsname
  10057. - tradeid
  10058. - trademode
  10059. type: object
  10060. models.HsbyBuyMyTradeDetail:
  10061. properties:
  10062. accountid:
  10063. description: 账户ID[报价币种]
  10064. type: integer
  10065. agreeunit:
  10066. description: 合约单位
  10067. type: number
  10068. amount:
  10069. description: 金额 = 价格 * 数量 * 合约单位
  10070. type: number
  10071. buyorsell:
  10072. description: 买卖 - 0:买 1:卖
  10073. type: integer
  10074. currencysign:
  10075. description: 货币符号
  10076. type: string
  10077. decimalplace:
  10078. description: 报价小数位
  10079. type: integer
  10080. goodscode:
  10081. description: 商品代码(内部)
  10082. type: string
  10083. goodsid:
  10084. description: 商品ID
  10085. type: integer
  10086. goodsname:
  10087. description: 商品名称
  10088. type: string
  10089. marketid:
  10090. description: 市场ID
  10091. type: integer
  10092. orderamount:
  10093. description: 委托金额
  10094. type: number
  10095. orderid:
  10096. description: 单号(成交单号)
  10097. type: string
  10098. picurls1:
  10099. description: 预售商品介绍图片[多张用逗号分隔]
  10100. type: string
  10101. picurls2:
  10102. description: 挂牌商品介绍图片[多张用逗号分隔]
  10103. type: string
  10104. price:
  10105. description: 价格
  10106. type: number
  10107. qty:
  10108. description: 数量
  10109. type: integer
  10110. time:
  10111. description: 时间
  10112. type: string
  10113. trademode:
  10114. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10115. 21:竞拍-大宗式 22:受托竞价
  10116. type: integer
  10117. vendorname1:
  10118. description: 预售商品供应商名称
  10119. type: string
  10120. vendorname2:
  10121. description: 挂牌商品供应商名称
  10122. type: string
  10123. required:
  10124. - accountid
  10125. - buyorsell
  10126. - goodscode
  10127. - goodsid
  10128. - goodsname
  10129. - marketid
  10130. - orderid
  10131. - qty
  10132. - time
  10133. - trademode
  10134. type: object
  10135. models.HsbyGoodsOrderDetail:
  10136. properties:
  10137. buyorsell:
  10138. description: 买卖 - 0:买 1:卖
  10139. type: integer
  10140. currencysign:
  10141. description: 货币符号
  10142. type: string
  10143. customername:
  10144. description: 客户名称(企业名称),已脱敏
  10145. type: string
  10146. enableqty:
  10147. description: 可用数量
  10148. type: integer
  10149. goodunit:
  10150. description: 报价单位
  10151. type: string
  10152. orderid:
  10153. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10154. type: string
  10155. orderprice:
  10156. description: 委托价格
  10157. type: number
  10158. ordertime:
  10159. description: 委托时间
  10160. type: string
  10161. required:
  10162. - buyorsell
  10163. - orderid
  10164. - ordertime
  10165. type: object
  10166. models.HsbyListingGoodsDetail:
  10167. properties:
  10168. agreeunit:
  10169. description: 合约单位
  10170. type: number
  10171. buymaxqty:
  10172. description: 购买上限 [71] - 0为不限
  10173. type: integer
  10174. currency:
  10175. description: 货币
  10176. type: string
  10177. currencysign:
  10178. description: 货币符号
  10179. type: string
  10180. decimalplace:
  10181. description: 报价小数位
  10182. type: integer
  10183. desccityid:
  10184. description: 目的地(市)ID
  10185. type: integer
  10186. descprovinceid:
  10187. description: 目的地(省)ID
  10188. type: integer
  10189. goodscode:
  10190. description: 商品代码(内部)
  10191. type: string
  10192. goodsdesc:
  10193. description: 商品详情
  10194. type: string
  10195. goodsid:
  10196. description: 商品ID(自增ID SEQ_GOODS)
  10197. type: integer
  10198. goodsname:
  10199. description: 商品名称
  10200. type: string
  10201. goodsprice:
  10202. description: 商品价格
  10203. type: number
  10204. hotindex:
  10205. description: 景点热度
  10206. type: integer
  10207. last:
  10208. description: 现价
  10209. type: number
  10210. limitdown:
  10211. description: 跌停价
  10212. type: number
  10213. limitup:
  10214. description: 涨停价
  10215. type: number
  10216. lotsize:
  10217. description: 手数最小变动单位
  10218. type: integer
  10219. marketid:
  10220. description: 所属市场ID
  10221. type: integer
  10222. picurls:
  10223. description: 介绍图片[多张用逗号分隔]
  10224. type: string
  10225. quoteminunit:
  10226. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10227. type: integer
  10228. stepvalue:
  10229. description: 价格最小变动单位
  10230. type: number
  10231. trademode:
  10232. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10233. 21:竞拍-大宗式 22:受托竞价
  10234. type: integer
  10235. vendorattr:
  10236. description: 供应商附件(多张,逗号分隔)
  10237. type: string
  10238. vendorname:
  10239. description: 供应商名称
  10240. type: string
  10241. vendorphone:
  10242. description: 供应商客服电话
  10243. type: string
  10244. videourls:
  10245. description: 介绍视频[多张用逗号分隔]
  10246. type: string
  10247. required:
  10248. - goodscode
  10249. - goodsid
  10250. - goodsname
  10251. - marketid
  10252. - trademode
  10253. type: object
  10254. models.HsbyMarketGoods:
  10255. properties:
  10256. accountid:
  10257. description: 账户ID[报价币种]
  10258. type: integer
  10259. agreeunit:
  10260. description: 合约单位
  10261. type: number
  10262. buyorsell:
  10263. description: 买卖 - 0:买 1:卖
  10264. type: integer
  10265. categoryid:
  10266. description: 类别ID(WRCATEGORY)
  10267. type: integer
  10268. currency:
  10269. description: 货币
  10270. type: string
  10271. currencysign:
  10272. description: 货币符号
  10273. type: string
  10274. customername:
  10275. description: 卖家名称
  10276. type: string
  10277. decimalplace:
  10278. description: 报价小数位
  10279. type: integer
  10280. goodscode:
  10281. description: 商品代码(内部)
  10282. type: string
  10283. goodsid:
  10284. description: 商品ID
  10285. type: integer
  10286. goodsname:
  10287. description: 商品名称
  10288. type: string
  10289. goodsprice:
  10290. description: 商品价格
  10291. type: number
  10292. hascoupon:
  10293. description: 是否可用优惠卷
  10294. type: boolean
  10295. hotindex:
  10296. description: 景点热度
  10297. type: integer
  10298. marketid:
  10299. description: 市场ID
  10300. type: integer
  10301. orderid:
  10302. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10303. type: string
  10304. orderprice:
  10305. description: 委托价格
  10306. type: number
  10307. orderstatus:
  10308. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10309. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10310. 16:成交失败违约(荷兰式竞拍专用)
  10311. type: integer
  10312. picurls:
  10313. description: 介绍图片[多张用逗号分隔]
  10314. type: string
  10315. quoteminunit:
  10316. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10317. type: integer
  10318. sellUserID:
  10319. description: 卖方UserID
  10320. type: integer
  10321. trademode:
  10322. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10323. 21:竞拍-大宗式 22:受托竞价
  10324. type: integer
  10325. videourls:
  10326. description: 介绍视频[多张用逗号分隔]
  10327. type: string
  10328. required:
  10329. - accountid
  10330. - buyorsell
  10331. - goodscode
  10332. - goodsid
  10333. - goodsname
  10334. - marketid
  10335. - orderid
  10336. - trademode
  10337. type: object
  10338. models.HsbyMarketGoodsDetail:
  10339. properties:
  10340. accountid:
  10341. description: 账户ID[报价币种]
  10342. type: integer
  10343. agreeunit:
  10344. description: 合约单位
  10345. type: number
  10346. buymaxqty:
  10347. description: 购买上限 [71] - 0为不限
  10348. type: integer
  10349. buyorsell:
  10350. description: 买卖 - 0:买 1:卖
  10351. type: integer
  10352. cancelqty:
  10353. description: 撤单数量
  10354. type: integer
  10355. categoryid:
  10356. description: 类别ID(WRCATEGORY)
  10357. type: integer
  10358. currency:
  10359. description: 货币
  10360. type: string
  10361. currencysign:
  10362. description: 货币符号
  10363. type: string
  10364. customername:
  10365. description: 卖家名称
  10366. type: string
  10367. decimalplace:
  10368. description: 报价小数位
  10369. type: integer
  10370. goodscode:
  10371. description: 商品代码(内部)
  10372. type: string
  10373. goodsdesc:
  10374. description: 商品详情
  10375. type: string
  10376. goodsid:
  10377. description: 商品ID
  10378. type: integer
  10379. goodsname:
  10380. description: 商品名称
  10381. type: string
  10382. goodsprice:
  10383. description: 商品价格
  10384. type: number
  10385. hotindex:
  10386. description: 景点热度
  10387. type: integer
  10388. lotsize:
  10389. description: 手数最小变动单位
  10390. type: integer
  10391. marketid:
  10392. description: 市场ID
  10393. type: integer
  10394. orderid:
  10395. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10396. type: string
  10397. orderprice:
  10398. description: 委托价格
  10399. type: number
  10400. orderqty:
  10401. description: 委托数量
  10402. type: integer
  10403. orderstatus:
  10404. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10405. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10406. 16:成交失败违约(荷兰式竞拍专用)
  10407. type: integer
  10408. picurls:
  10409. description: 介绍图片[多张用逗号分隔]
  10410. type: string
  10411. quoteminunit:
  10412. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10413. type: integer
  10414. sellUserID:
  10415. description: 卖方UserID
  10416. type: integer
  10417. trademode:
  10418. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10419. 21:竞拍-大宗式 22:受托竞价
  10420. type: integer
  10421. tradeqty:
  10422. description: 成交数量
  10423. type: integer
  10424. vendorattr:
  10425. description: 供应商附件(多张,逗号分隔)
  10426. type: string
  10427. vendorname:
  10428. description: 供应商名称
  10429. type: string
  10430. vendorphone:
  10431. description: 供应商客服电话
  10432. type: string
  10433. videourls:
  10434. description: 介绍视频[多张用逗号分隔]
  10435. type: string
  10436. required:
  10437. - accountid
  10438. - buyorsell
  10439. - goodscode
  10440. - goodsid
  10441. - goodsname
  10442. - marketid
  10443. - orderid
  10444. - orderqty
  10445. - trademode
  10446. type: object
  10447. models.HsbyMarketInfo:
  10448. properties:
  10449. marketid:
  10450. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10451. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10452. type: integer
  10453. marketname:
  10454. description: 市场名称
  10455. type: string
  10456. marketstatus:
  10457. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10458. type: integer
  10459. trademode:
  10460. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10461. 21:竞拍-大宗式 22:受托竞价
  10462. type: integer
  10463. required:
  10464. - marketid
  10465. - marketstatus
  10466. - trademode
  10467. type: object
  10468. models.HsbyMyGoods:
  10469. properties:
  10470. accountid:
  10471. description: 账号Id
  10472. type: integer
  10473. agreeunit:
  10474. description: 合约单位
  10475. type: number
  10476. buyaverageprice:
  10477. description: 持仓均价
  10478. type: number
  10479. buycurholderamount:
  10480. description: 买当前持仓总金额[商品币种]
  10481. type: number
  10482. buycurpositionqty:
  10483. description: 买当前持仓总数量
  10484. type: integer
  10485. buymaxqty:
  10486. description: 购买上限 [71] - 0为不限
  10487. type: integer
  10488. currencysign:
  10489. description: 货币符号
  10490. type: string
  10491. decimalplace:
  10492. description: 报价小数位
  10493. type: integer
  10494. enableqty:
  10495. description: 可用数量
  10496. type: integer
  10497. goodscode:
  10498. description: 商品代码(内部)
  10499. type: string
  10500. goodsid:
  10501. description: 商品Id
  10502. type: integer
  10503. goodsname:
  10504. description: 商品名称
  10505. type: string
  10506. goodsprice:
  10507. description: 商品价格
  10508. type: number
  10509. goodsstatus:
  10510. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10511. type: integer
  10512. last:
  10513. description: 现价(仅使用于挂牌点选)
  10514. type: number
  10515. limitdown:
  10516. description: 跌停价(仅使用于挂牌点选)
  10517. type: number
  10518. limitup:
  10519. description: 涨停价(仅使用于挂牌点选)
  10520. type: number
  10521. lotsize:
  10522. description: 手数最小变动单位
  10523. type: integer
  10524. marketid:
  10525. description: 所属市场ID
  10526. type: integer
  10527. picurls:
  10528. description: 介绍图片[多张用逗号分隔]
  10529. type: string
  10530. quoteminunit:
  10531. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10532. type: integer
  10533. stepvalue:
  10534. description: 价格最小变动单位
  10535. type: number
  10536. trademode:
  10537. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10538. 21:竞拍-大宗式 22:受托竞价
  10539. type: integer
  10540. required:
  10541. - accountid
  10542. - goodscode
  10543. - goodsid
  10544. - goodsname
  10545. - marketid
  10546. - trademode
  10547. type: object
  10548. models.HsbyMyPackage:
  10549. properties:
  10550. accountid:
  10551. description: 账户ID
  10552. type: integer
  10553. address:
  10554. description: 提货人详细地址
  10555. type: string
  10556. agreeunit:
  10557. description: 合约单位
  10558. type: number
  10559. amount:
  10560. description: 提货金额
  10561. type: number
  10562. auditer:
  10563. description: 审核人
  10564. type: integer
  10565. audittime:
  10566. description: 审核时间
  10567. type: string
  10568. averageprice:
  10569. description: 均价
  10570. type: number
  10571. cardnum:
  10572. description: 提货人证件号码
  10573. type: string
  10574. cardtypeid:
  10575. description: 提货人证件类型
  10576. type: integer
  10577. checkremark:
  10578. description: 审核备注
  10579. type: string
  10580. currencysign:
  10581. description: 货币符号
  10582. type: string
  10583. decimalplace:
  10584. description: 报价小数位
  10585. type: integer
  10586. goodscode:
  10587. description: 商品代码(内部)
  10588. type: string
  10589. goodsid:
  10590. description: 商品ID
  10591. type: integer
  10592. goodsname:
  10593. description: 商品名称
  10594. type: string
  10595. handlestatus:
  10596. description: 处理状态
  10597. type: integer
  10598. marketid:
  10599. description: 市场ID
  10600. type: integer
  10601. phonenum:
  10602. description: 提货人联系方式
  10603. type: string
  10604. picurls:
  10605. description: 介绍图片[多张用逗号分隔]
  10606. type: string
  10607. qty:
  10608. description: 提货数量
  10609. type: number
  10610. recivername:
  10611. description: 提货人姓名
  10612. type: string
  10613. reqtime:
  10614. description: 更新时间
  10615. type: string
  10616. takemode:
  10617. description: 提货方式 - 2:自提 3:配送
  10618. type: integer
  10619. takeorderid:
  10620. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10621. type: string
  10622. takeorderstatus:
  10623. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10624. type: integer
  10625. takeremark:
  10626. description: 提货备注
  10627. type: string
  10628. tradedate:
  10629. description: 交易日(yyyyMMdd)
  10630. type: string
  10631. trademode:
  10632. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10633. 21:竞拍-大宗式 22:受托竞价
  10634. type: integer
  10635. userid:
  10636. description: 用户ID
  10637. type: integer
  10638. vendorname:
  10639. description: 供应商名称
  10640. type: string
  10641. required:
  10642. - goodscode
  10643. - goodsname
  10644. - takeorderid
  10645. - trademode
  10646. type: object
  10647. models.HsbyPreGoods:
  10648. properties:
  10649. agreeunit:
  10650. description: 合约单位
  10651. type: number
  10652. currency:
  10653. description: 货币
  10654. type: string
  10655. currencysign:
  10656. description: 货币符号
  10657. type: string
  10658. decimalplace:
  10659. description: 报价小数位
  10660. type: integer
  10661. desccityid:
  10662. description: 目的地(市)
  10663. type: integer
  10664. descprovinceid:
  10665. description: 目的地(省)
  10666. type: integer
  10667. enableqty:
  10668. description: 剩余数量
  10669. type: integer
  10670. goodscode:
  10671. description: 商品代码(内部)
  10672. type: string
  10673. goodsid:
  10674. description: 商品ID(自增ID SEQ_GOODS)
  10675. type: integer
  10676. goodsname:
  10677. description: 商品名称
  10678. type: string
  10679. goodsstatus:
  10680. description: 商品状态- 2:未上市 3:上市
  10681. type: integer
  10682. lasttradedate:
  10683. description: 最后交易日期(状态:待退市)
  10684. type: string
  10685. listingdate:
  10686. description: 交易开始日期
  10687. type: string
  10688. marketid:
  10689. description: 所属市场ID
  10690. type: integer
  10691. picurls:
  10692. description: 介绍图片[多张用逗号分隔]
  10693. type: string
  10694. presaledqty:
  10695. description: 已预售量(预售结束时更新)
  10696. type: integer
  10697. presaleqty:
  10698. description: 预售数量
  10699. type: integer
  10700. quoteminunit:
  10701. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10702. type: integer
  10703. refprice:
  10704. description: 参考价格[一口价]
  10705. type: number
  10706. relatedgoodsid:
  10707. description: 关联交易合约ID
  10708. type: integer
  10709. trademode:
  10710. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10711. 21:竞拍-大宗式 22:受托竞价
  10712. type: integer
  10713. videourls:
  10714. description: 介绍视频[多张用逗号分隔]
  10715. type: string
  10716. required:
  10717. - goodscode
  10718. - goodsid
  10719. - goodsname
  10720. - marketid
  10721. - trademode
  10722. type: object
  10723. models.HsbyPreGoodsDetail:
  10724. properties:
  10725. agreeunit:
  10726. description: 合约单位
  10727. type: number
  10728. buymaxqty:
  10729. description: 购买上限 [71] - 0为不限
  10730. type: integer
  10731. currency:
  10732. description: 货币
  10733. type: string
  10734. currencysign:
  10735. description: 货币符号
  10736. type: string
  10737. customername:
  10738. description: 发行单位
  10739. type: string
  10740. decimalplace:
  10741. description: 报价小数位
  10742. type: integer
  10743. desccityid:
  10744. description: 目的地(市)ID
  10745. type: integer
  10746. descprovinceid:
  10747. description: 目的地(省)ID
  10748. type: integer
  10749. enableqty:
  10750. description: 剩余数量
  10751. type: integer
  10752. goodscode:
  10753. description: 商品代码(内部)
  10754. type: string
  10755. goodsdesc:
  10756. description: 商品详情
  10757. type: string
  10758. goodsid:
  10759. description: 商品ID(自增ID SEQ_GOODS)
  10760. type: integer
  10761. goodsname:
  10762. description: 商品名称
  10763. type: string
  10764. goodsstatus:
  10765. description: 商品状态- 2:未上市 3:上市
  10766. type: integer
  10767. goodunit:
  10768. description: 报价单位
  10769. type: string
  10770. lasttradedate:
  10771. description: 最后交易日期(状态:待退市)
  10772. type: string
  10773. listingdate:
  10774. description: 交易开始日期
  10775. type: string
  10776. lotsize:
  10777. description: 手数最小变动单位
  10778. type: integer
  10779. marketid:
  10780. description: 所属市场ID
  10781. type: integer
  10782. picurls:
  10783. description: 介绍图片[多张用逗号分隔]
  10784. type: string
  10785. presaledqty:
  10786. description: 已预售量(预售结束时更新)
  10787. type: integer
  10788. presaleqty:
  10789. description: 预售数量
  10790. type: integer
  10791. quoteminunit:
  10792. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10793. type: integer
  10794. refprice:
  10795. description: 参考价格[一口价]
  10796. type: number
  10797. relatedgoodsid:
  10798. description: 关联交易合约ID
  10799. type: integer
  10800. stepvalue:
  10801. description: 价格最小变动单位
  10802. type: number
  10803. trademode:
  10804. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10805. 21:竞拍-大宗式 22:受托竞价
  10806. type: integer
  10807. vendorattr:
  10808. description: 供应商附件(多张,逗号分隔)
  10809. type: string
  10810. vendorname:
  10811. description: 供应商名称
  10812. type: string
  10813. vendorphone:
  10814. description: 供应商客服电话
  10815. type: string
  10816. videourls:
  10817. description: 介绍视频[多张用逗号分隔]
  10818. type: string
  10819. required:
  10820. - goodscode
  10821. - goodsid
  10822. - goodsname
  10823. - marketid
  10824. - trademode
  10825. type: object
  10826. models.HsbySellCollectionOrder:
  10827. properties:
  10828. agreeunit:
  10829. description: 合约单位
  10830. type: number
  10831. buyaccountid:
  10832. description: 买方账号ID[报价币种]
  10833. type: integer
  10834. buyorderid:
  10835. description: 买方委托单号
  10836. type: string
  10837. createtime:
  10838. description: 创建时间
  10839. type: string
  10840. currencysign:
  10841. description: 货币符号
  10842. type: string
  10843. decimalplace:
  10844. description: 报价小数位
  10845. type: integer
  10846. goodscode:
  10847. description: 商品代码(内部)
  10848. type: string
  10849. goodsid:
  10850. description: 商品ID
  10851. type: integer
  10852. goodsname:
  10853. description: 商品名称
  10854. type: string
  10855. marketid:
  10856. description: 市场ID
  10857. type: integer
  10858. offamount:
  10859. description: 优惠金额
  10860. type: number
  10861. payamount:
  10862. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10863. type: number
  10864. payflag:
  10865. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10866. type: integer
  10867. paylimitedtime:
  10868. description: 支付期限
  10869. type: string
  10870. paytime:
  10871. description: 付款时间
  10872. type: string
  10873. picurls:
  10874. description: 商品介绍图片[多张用逗号分隔]
  10875. type: string
  10876. sellaccountid:
  10877. description: 卖方账号ID[报价币种]
  10878. type: integer
  10879. sellorderid:
  10880. description: 卖方委托单号
  10881. type: string
  10882. tradeamount:
  10883. description: 成交金额
  10884. type: number
  10885. tradecharge:
  10886. description: 成交手续费(买方)
  10887. type: number
  10888. tradedate:
  10889. description: 交易日(yyyyMMdd)
  10890. type: string
  10891. tradeid:
  10892. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10893. type: string
  10894. trademode:
  10895. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10896. 21:竞拍-大宗式 22:受托竞价
  10897. type: integer
  10898. tradeprice:
  10899. description: 成交价格
  10900. type: number
  10901. tradeqty:
  10902. description: 成交数量
  10903. type: integer
  10904. required:
  10905. - goodscode
  10906. - goodsname
  10907. - tradeid
  10908. - trademode
  10909. type: object
  10910. models.HsbySellMyDetail:
  10911. properties:
  10912. accountid:
  10913. description: 账户ID[报价币种]
  10914. type: integer
  10915. agreeunit:
  10916. description: 合约单位
  10917. type: number
  10918. buyorsell:
  10919. description: 买卖 - 0:买 1:卖
  10920. type: integer
  10921. currencysign:
  10922. description: 货币符号
  10923. type: string
  10924. decimalplace:
  10925. description: 报价小数位
  10926. type: integer
  10927. goodscode:
  10928. description: 商品代码(内部)
  10929. type: string
  10930. goodsid:
  10931. description: 商品ID
  10932. type: integer
  10933. goodsname:
  10934. description: 商品名称
  10935. type: string
  10936. marketid:
  10937. description: 市场ID
  10938. type: integer
  10939. orderid:
  10940. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10941. type: string
  10942. ordertype:
  10943. description: 单据类型:0 - 发布中, 1 - 已完成
  10944. type: integer
  10945. picurls:
  10946. description: 介绍图片[多张用逗号分隔]
  10947. type: string
  10948. price:
  10949. description: 价格
  10950. type: number
  10951. qty:
  10952. description: 数量
  10953. type: integer
  10954. time:
  10955. description: 时间
  10956. type: string
  10957. trademode:
  10958. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10959. 21:竞拍-大宗式 22:受托竞价
  10960. type: integer
  10961. vendorname:
  10962. description: 供应商名称
  10963. type: string
  10964. required:
  10965. - accountid
  10966. - buyorsell
  10967. - goodscode
  10968. - goodsid
  10969. - goodsname
  10970. - marketid
  10971. - orderid
  10972. - time
  10973. - trademode
  10974. type: object
  10975. models.HsbyTopGoods:
  10976. properties:
  10977. agreeunit:
  10978. description: 合约单位
  10979. type: number
  10980. currency:
  10981. description: 货币
  10982. type: string
  10983. currencysign:
  10984. description: 货币符号
  10985. type: string
  10986. decimalplace:
  10987. description: 报价小数位
  10988. type: integer
  10989. desccityid:
  10990. description: 目的地(市)
  10991. type: integer
  10992. descprovinceid:
  10993. description: 目的地(省)
  10994. type: integer
  10995. goodscode:
  10996. description: 商品代码(内部)
  10997. type: string
  10998. goodsid:
  10999. description: 商品ID(自增ID SEQ_GOODS)
  11000. type: integer
  11001. goodsname:
  11002. description: 商品名称
  11003. type: string
  11004. hotindex:
  11005. description: 景点热度
  11006. type: integer
  11007. last:
  11008. description: 现价
  11009. type: number
  11010. marketid:
  11011. description: 所属市场ID
  11012. type: integer
  11013. picurls:
  11014. description: 介绍图片[多张用逗号分隔]
  11015. type: string
  11016. quoteminunit:
  11017. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11018. type: integer
  11019. trademode:
  11020. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11021. 21:竞拍-大宗式 22:受托竞价
  11022. type: integer
  11023. videourls:
  11024. description: 介绍视频[多张用逗号分隔]
  11025. type: string
  11026. required:
  11027. - goodscode
  11028. - goodsid
  11029. - goodsname
  11030. - marketid
  11031. - trademode
  11032. type: object
  11033. models.HybsMyBuyOrderDetail:
  11034. properties:
  11035. accountid:
  11036. description: 账户ID[报价币种]
  11037. type: integer
  11038. agreeunit:
  11039. description: 合约单位
  11040. type: number
  11041. buyorsell:
  11042. description: 买卖 - 0:买 1:卖
  11043. type: integer
  11044. cancelqty:
  11045. description: 撤单数量
  11046. type: integer
  11047. currencysign:
  11048. description: 货币符号
  11049. type: string
  11050. decimalplace:
  11051. description: 报价小数位
  11052. type: integer
  11053. goodscode:
  11054. description: 商品代码(内部)
  11055. type: string
  11056. goodsid:
  11057. description: 商品ID
  11058. type: integer
  11059. goodsname:
  11060. description: 商品名称
  11061. type: string
  11062. listingselecttype:
  11063. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11064. type: integer
  11065. marketid:
  11066. description: 市场ID
  11067. type: integer
  11068. mybuystatus:
  11069. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  11070. type: integer
  11071. orderamount:
  11072. description: 委托金额
  11073. type: number
  11074. orderid:
  11075. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11076. type: string
  11077. orderprice:
  11078. description: 委托价格
  11079. type: number
  11080. orderqty:
  11081. description: 委托数量
  11082. type: integer
  11083. orderstatus:
  11084. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11085. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11086. 16:成交失败违约(荷兰式竞拍专用)
  11087. type: integer
  11088. ordertime:
  11089. description: 委托时间
  11090. type: string
  11091. picurls1:
  11092. description: 预售商品介绍图片[多张用逗号分隔]
  11093. type: string
  11094. picurls2:
  11095. description: 挂牌商品介绍图片[多张用逗号分隔]
  11096. type: string
  11097. trademode:
  11098. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11099. 21:竞拍-大宗式 22:受托竞价
  11100. type: integer
  11101. tradeqty:
  11102. description: 成交数量
  11103. type: integer
  11104. vendorname1:
  11105. description: 预售商品供应商名称
  11106. type: string
  11107. vendorname2:
  11108. description: 挂牌商品供应商名称
  11109. type: string
  11110. required:
  11111. - accountid
  11112. - buyorsell
  11113. - goodscode
  11114. - goodsid
  11115. - goodsname
  11116. - marketid
  11117. - orderid
  11118. - orderqty
  11119. - ordertime
  11120. - trademode
  11121. type: object
  11122. models.InternalEnableTradeDetail:
  11123. properties:
  11124. agreeunit:
  11125. description: 合约乘数
  11126. type: number
  11127. areauserid:
  11128. description: 企业ID
  11129. type: integer
  11130. convertratio:
  11131. description: 品种系数
  11132. type: number
  11133. deliverygoodscode:
  11134. description: 现货品种代码
  11135. type: string
  11136. deliverygoodsid:
  11137. description: 现货品种ID(SEQ_DELIVERYGOODS)
  11138. type: integer
  11139. deliverygoodsname:
  11140. description: 现货品种名称
  11141. type: string
  11142. futurehedgeqty:
  11143. description: '[已关联数量]期货持仓套期量'
  11144. type: number
  11145. goodsid:
  11146. description: 期货合约ID
  11147. type: integer
  11148. hedgeditemid:
  11149. description: 被套期项目ID
  11150. type: string
  11151. hedgeditemnum:
  11152. description: 项目编号
  11153. type: string
  11154. tradeuserid:
  11155. description: 交易用户ID
  11156. type: integer
  11157. unexehedgeqty:
  11158. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  11159. type: number
  11160. unexespotqty:
  11161. description: 未执行现货量
  11162. type: number
  11163. wrstandardcode:
  11164. description: 现货品类代码
  11165. type: string
  11166. wrstandardid:
  11167. description: 现货品类ID(SEQ_WRSTANDARD)
  11168. type: integer
  11169. wrstandardname:
  11170. description: 现货品类名称
  11171. type: string
  11172. required:
  11173. - areauserid
  11174. - goodsid
  11175. - tradeuserid
  11176. type: object
  11177. models.InternalUncorrelatedTradeDetail:
  11178. properties:
  11179. accountid:
  11180. description: 账号ID
  11181. type: integer
  11182. accountname:
  11183. description: 套期主体
  11184. type: string
  11185. agreeunit:
  11186. description: 合约乘数
  11187. type: number
  11188. areauserid:
  11189. description: 所属机构
  11190. type: integer
  11191. bizsubjectid:
  11192. description: 归属业务部门ID - SubjectID
  11193. type: integer
  11194. buyorsell:
  11195. description: 方向 - 0:买 1:卖
  11196. type: integer
  11197. channelbuildtype:
  11198. description: 委托单据类型 0:无 1:建仓 2:平仓
  11199. type: integer
  11200. convertratio:
  11201. description: 品种系数
  11202. type: number
  11203. createtime:
  11204. description: 创建时间
  11205. type: string
  11206. creatorid:
  11207. description: 创建人ID
  11208. type: integer
  11209. creatorsrc:
  11210. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11211. type: integer
  11212. enableqty:
  11213. description: 项目可关联数量 = 套保品种数量 - 关联数量
  11214. type: number
  11215. enumdicname:
  11216. description: 单位
  11217. type: string
  11218. goodscode:
  11219. description: 合约代码
  11220. type: string
  11221. goodsgroupid:
  11222. description: 对冲品种ID[期货合约商品组ID]
  11223. type: integer
  11224. goodsid:
  11225. description: 商品ID
  11226. type: integer
  11227. goodsname:
  11228. description: 合约名称
  11229. type: string
  11230. hedgeditemid:
  11231. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11232. type: integer
  11233. hedgeflag:
  11234. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11235. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11236. type: integer
  11237. linkdetailid:
  11238. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11239. type: string
  11240. linkstatus:
  11241. description: 关联状态 - 1:成功 2:失败 3:解绑
  11242. type: integer
  11243. middlegoodsid:
  11244. description: 套保品种ID
  11245. type: integer
  11246. middlegoodsqty:
  11247. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  11248. type: number
  11249. relatedlot:
  11250. description: '[数量]关联手数'
  11251. type: number
  11252. relatedmode:
  11253. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11254. type: integer
  11255. relatedqty:
  11256. description: '[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio'
  11257. type: number
  11258. retcode:
  11259. description: 返回码
  11260. type: integer
  11261. saleuserid:
  11262. description: 业务员ID
  11263. type: integer
  11264. tradedate:
  11265. description: 关联交易日(yyyyMMdd)
  11266. type: string
  11267. tradeid:
  11268. description: 成交单号
  11269. type: string
  11270. tradelot:
  11271. description: 成交手数
  11272. type: integer
  11273. tradeprice:
  11274. description: 成交价
  11275. type: number
  11276. tradetime:
  11277. description: 成交时间
  11278. type: string
  11279. tradetradedate:
  11280. description: 成交交易日(yyyyMMdd)
  11281. type: string
  11282. tradeuserid:
  11283. description: 交易用户ID
  11284. type: integer
  11285. type: object
  11286. models.Loginaccount:
  11287. properties:
  11288. accountname:
  11289. description: 账户名称
  11290. type: string
  11291. canoutin:
  11292. description: 是否可出入金 - 0:不可 1:可
  11293. type: integer
  11294. clientroleid:
  11295. description: 终端角色ID
  11296. type: integer
  11297. haslogined:
  11298. description: 是否已登录 - 0:未登录 1:已登录
  11299. type: integer
  11300. hasupdatedpwd:
  11301. description: 是否已更改密码 - 0:未修改 1:已修改
  11302. type: integer
  11303. lastloginip:
  11304. description: 最新登录地址
  11305. type: string
  11306. lastloginmode:
  11307. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11308. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11309. type: integer
  11310. lastloginremark:
  11311. description: 最新登录描述
  11312. type: string
  11313. lastlogintime:
  11314. description: 最新登录时间
  11315. type: string
  11316. logincode:
  11317. description: 登录代码
  11318. type: string
  11319. loginfailnum:
  11320. description: 连续登录失败次数(登录成功时清零)
  11321. type: integer
  11322. loginid:
  11323. description: 登陆账号
  11324. type: integer
  11325. loginport:
  11326. description: 最新登录端口
  11327. type: integer
  11328. loginstatus:
  11329. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11330. type: integer
  11331. loginusertype:
  11332. description: 登录账号类型 - 1:投资者 2:机构交易员
  11333. type: integer
  11334. mobile:
  11335. description: 手机号码(加密存储)
  11336. type: string
  11337. modifierid:
  11338. description: 修改人
  11339. type: integer
  11340. modifysrc:
  11341. description: 审核来源 - 1:管理端 2:终端
  11342. type: integer
  11343. modifytime:
  11344. description: 修改时间
  11345. type: string
  11346. password:
  11347. description: 登陆密码
  11348. type: string
  11349. pwdwrongcount:
  11350. description: 密码错误次数
  11351. type: integer
  11352. relateduserid:
  11353. description: 关联用户ID(机构)
  11354. type: integer
  11355. taaccountrighttype:
  11356. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11357. type: integer
  11358. unfreezetime:
  11359. description: 账户解冻时间
  11360. type: string
  11361. userid:
  11362. description: 用户ID
  11363. type: integer
  11364. required:
  11365. - loginid
  11366. type: object
  11367. models.MainAccountInfo:
  11368. properties:
  11369. accountid:
  11370. description: 账号id
  11371. type: integer
  11372. accountname:
  11373. description: 账号名称(taaccount表中的名称)
  11374. type: string
  11375. appid:
  11376. description: AppID
  11377. type: string
  11378. authcode:
  11379. description: 授权码
  11380. type: string
  11381. brokerid:
  11382. description: 经纪商id
  11383. type: string
  11384. fcid:
  11385. description: 期货公司id
  11386. type: integer
  11387. fcname:
  11388. description: 期货公司代码
  11389. type: string
  11390. hedgeaccountcode:
  11391. description: 外部账号代码(主账号登录代码)
  11392. type: string
  11393. hedgeaccountpwd:
  11394. description: 密码
  11395. type: string
  11396. ismain:
  11397. description: 是否主账号
  11398. type: integer
  11399. relateduserid:
  11400. description: 关联用户id
  11401. type: integer
  11402. userid:
  11403. description: 关联用户id
  11404. type: integer
  11405. type: object
  11406. models.Market:
  11407. properties:
  11408. auctionwrtype:
  11409. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11410. type: integer
  11411. canacceptquote:
  11412. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11413. type: integer
  11414. cangoodsexercise:
  11415. description: '[期权]是否可现货行权- 0:否 1:是'
  11416. type: integer
  11417. cangoodsexercisetype:
  11418. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11419. type: integer
  11420. canmanualquotestrike:
  11421. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11422. type: integer
  11423. canmutistage:
  11424. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11425. type: integer
  11426. canpreexercise:
  11427. description: '[期权]是否可预申报- 0:否 1:是'
  11428. type: integer
  11429. clearinterval:
  11430. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11431. type: integer
  11432. contracttmp:
  11433. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11434. type: string
  11435. exchareaid:
  11436. description: 所属交易所,可以没有
  11437. type: integer
  11438. goodstype:
  11439. description: 商品类型 - 1:交易商品 2:仓单商品
  11440. type: integer
  11441. hasrebate:
  11442. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11443. type: integer
  11444. hastradecredit:
  11445. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11446. type: integer
  11447. haswr:
  11448. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11449. type: integer
  11450. isdeductmargin:
  11451. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11452. type: integer
  11453. isrecordsource:
  11454. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11455. type: integer
  11456. isreleasemargin:
  11457. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11458. type: integer
  11459. marginformula:
  11460. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11461. type: integer
  11462. marginformula2:
  11463. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11464. type: integer
  11465. marketid:
  11466. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11467. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11468. type: integer
  11469. marketname:
  11470. description: 市场名称
  11471. type: string
  11472. marketserviceid:
  11473. description: 市场服务ID
  11474. type: integer
  11475. marketstatus:
  11476. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11477. type: integer
  11478. markettype:
  11479. description: 市场类型- 1:非交易服务 2:交易服务
  11480. type: integer
  11481. matchermode:
  11482. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11483. type: integer
  11484. openmethod:
  11485. description: 开盘模式 - 0 自动 1手动
  11486. type: integer
  11487. otcuserid:
  11488. description: 场外期权做市商[场外期权]
  11489. type: integer
  11490. outersynctime:
  11491. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11492. type: string
  11493. pendingflag:
  11494. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11495. type: integer
  11496. pendingtime:
  11497. description: 待开市时间[通道交易-对冲](HH:mm)
  11498. type: string
  11499. performancetempid:
  11500. description: 履约计划模板ID - 作废
  11501. type: integer
  11502. premiumquotemode:
  11503. description: 权利金报价方式 - 1:自动 2:手动
  11504. type: integer
  11505. rebateratio:
  11506. description: 返利比率[竞价式]
  11507. type: number
  11508. reckonorder:
  11509. description: 结算顺序
  11510. type: integer
  11511. reckonpricealgorithm:
  11512. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11513. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11514. type: integer
  11515. reckonpriceparam:
  11516. description: 结算价参数
  11517. type: integer
  11518. reckontime:
  11519. description: 结算时间[通道交易-对冲](HH:mm)
  11520. type: string
  11521. roleprioritytype:
  11522. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11523. type: integer
  11524. selllistingauditflag:
  11525. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11526. type: integer
  11527. trademarkettype:
  11528. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11529. type: integer
  11530. trademode:
  11531. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11532. 21:竞拍-大宗式 22:受托竞价
  11533. type: integer
  11534. tradeproperty:
  11535. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11536. 8:场外期权
  11537. type: integer
  11538. tradetype:
  11539. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11540. type: integer
  11541. required:
  11542. - marketid
  11543. - marketstatus
  11544. - openmethod
  11545. - reckonpricealgorithm
  11546. - trademode
  11547. - tradeproperty
  11548. type: object
  11549. models.Marketcalendar:
  11550. properties:
  11551. holidaydate:
  11552. description: 节假日期(yyyy-MM-dd)
  11553. type: string
  11554. marketid:
  11555. description: 市场ID
  11556. type: integer
  11557. type: object
  11558. models.Marketrun:
  11559. properties:
  11560. afternexttradedate:
  11561. description: 下下交易日
  11562. type: string
  11563. clearquoteflag:
  11564. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11565. type: integer
  11566. lastreckondate:
  11567. description: 最新交易日(结算成功)
  11568. type: string
  11569. machinedate:
  11570. description: 机器时间
  11571. type: string
  11572. manualflag:
  11573. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11574. type: integer
  11575. marketid:
  11576. description: 市场ID
  11577. type: integer
  11578. nexttradedate:
  11579. description: 下一交易日
  11580. type: string
  11581. pretradedate:
  11582. description: 上一交易日
  11583. type: string
  11584. reckonflag:
  11585. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11586. type: integer
  11587. runstatus:
  11588. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11589. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11590. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11591. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11592. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11593. 62.今日免清算
  11594. type: integer
  11595. sectionid:
  11596. description: 时间段号[多时段时用]
  11597. type: integer
  11598. tradedate:
  11599. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11600. type: string
  11601. tradedate2:
  11602. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11603. type: string
  11604. updatetime:
  11605. description: 更新时间
  11606. type: string
  11607. required:
  11608. - marketid
  11609. - nexttradedate
  11610. - reckonflag
  11611. - runstatus
  11612. - tradedate
  11613. - tradedate2
  11614. type: object
  11615. models.Messageboard:
  11616. properties:
  11617. contactnum:
  11618. description: 联系电话
  11619. type: string
  11620. createtime:
  11621. description: 创建时间
  11622. type: string
  11623. message:
  11624. description: 留言信息
  11625. type: string
  11626. messageboardid:
  11627. description: 留言簿ID(SEQ_MessageBoard)
  11628. type: integer
  11629. userid:
  11630. description: 用户ID
  11631. type: integer
  11632. required:
  11633. - messageboardid
  11634. type: object
  11635. models.MyCoupon:
  11636. properties:
  11637. accountid:
  11638. description: 资金账户ID
  11639. type: integer
  11640. areauserid:
  11641. description: 所属机构
  11642. type: integer
  11643. conditionvalue:
  11644. description: 条件阈值(可为0)
  11645. type: number
  11646. couponcategroy:
  11647. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11648. type: integer
  11649. couponname:
  11650. description: 优惠券名称
  11651. type: string
  11652. coupontypeid:
  11653. description: 优惠券类型ID
  11654. type: string
  11655. couponvalue:
  11656. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11657. type: number
  11658. curfreezeqty:
  11659. description: 期末冻结数量
  11660. type: integer
  11661. curqty:
  11662. description: 期末数量
  11663. type: integer
  11664. isgeneral:
  11665. description: 是否通用券 - 0:否 1:是
  11666. type: integer
  11667. isunusable:
  11668. description: 是否不可用
  11669. type: boolean
  11670. limitedflag:
  11671. description: 是否指定商品 - 0:不限 1:限制
  11672. type: integer
  11673. limitedgoodsids:
  11674. description: 指定商品IDs[逗号分隔,前后加逗号]
  11675. type: string
  11676. orifreezeqty:
  11677. description: 期初冻结数量
  11678. type: integer
  11679. oriqty:
  11680. description: 期初数量
  11681. type: integer
  11682. reasontype:
  11683. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11684. type: integer
  11685. todaydecrease:
  11686. description: 今日减少
  11687. type: integer
  11688. todayincrease:
  11689. description: 今日增加
  11690. type: integer
  11691. userid:
  11692. description: 用户ID
  11693. type: integer
  11694. userscope:
  11695. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11696. type: string
  11697. required:
  11698. - accountid
  11699. - coupontypeid
  11700. type: object
  11701. models.MyCouponHold:
  11702. properties:
  11703. accountid:
  11704. description: 资金账户ID
  11705. type: integer
  11706. conditionvalue:
  11707. description: 条件阈值(可为0)
  11708. type: number
  11709. couponcategroy:
  11710. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11711. type: integer
  11712. couponholdid:
  11713. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11714. type: string
  11715. couponname:
  11716. description: 优惠券名称
  11717. type: string
  11718. coupontypeid:
  11719. description: 优惠券类型ID - SEQ_COUPONTYPE
  11720. type: string
  11721. couponvalue:
  11722. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11723. type: number
  11724. createtime:
  11725. description: 创建时间
  11726. type: string
  11727. enddate:
  11728. description: 结束日期
  11729. type: string
  11730. giveapplyid:
  11731. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11732. type: integer
  11733. holdstatus:
  11734. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11735. type: integer
  11736. isgeneral:
  11737. description: 是否通用券 - 0:否 1:是
  11738. type: integer
  11739. limitedflag:
  11740. description: 是否指定商品 - 0:不限 1:限制
  11741. type: integer
  11742. limitedgoodsids:
  11743. description: 指定商品IDs[逗号分隔]
  11744. type: string
  11745. qty:
  11746. description: 数量(按1平铺)
  11747. type: integer
  11748. startdate:
  11749. description: 开始日期
  11750. type: string
  11751. userid:
  11752. description: 用户ID
  11753. type: integer
  11754. userscope:
  11755. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11756. type: string
  11757. required:
  11758. - couponholdid
  11759. type: object
  11760. models.MyUsedCoupon:
  11761. properties:
  11762. accountid:
  11763. description: 资金账户ID(买方)
  11764. type: integer
  11765. conditionvalue:
  11766. description: 条件阈值(可为0)
  11767. type: number
  11768. couponcategroy:
  11769. description: 种类 - 1:现金券 2:折扣券
  11770. type: integer
  11771. couponname:
  11772. description: 优惠券名称
  11773. type: string
  11774. coupontypeid:
  11775. description: 优惠券类型ID(买方)
  11776. type: string
  11777. couponvalue:
  11778. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11779. type: number
  11780. createtime:
  11781. description: 创建时间
  11782. type: string
  11783. goodsid:
  11784. description: 商品ID
  11785. type: integer
  11786. handlestatus:
  11787. description: 处理状态
  11788. type: integer
  11789. marketid:
  11790. description: 市场ID
  11791. type: integer
  11792. offamount:
  11793. description: 优惠金额
  11794. type: number
  11795. orderid:
  11796. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11797. type: string
  11798. sellaccountid:
  11799. description: 资金账户ID(卖方)
  11800. type: integer
  11801. tradeamount:
  11802. description: 成交金额
  11803. type: number
  11804. tradeid:
  11805. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11806. type: string
  11807. usedqty:
  11808. description: 使用数量
  11809. type: integer
  11810. required:
  11811. - coupontypeid
  11812. - orderid
  11813. type: object
  11814. models.OperationPrimaryMenu:
  11815. properties:
  11816. Children:
  11817. description: 二级功能菜单
  11818. items:
  11819. $ref: '#/definitions/models.OperationSecondaryMenu'
  11820. type: array
  11821. Key:
  11822. description: 菜单KEY
  11823. type: string
  11824. Label:
  11825. description: 菜单标题
  11826. type: string
  11827. type: object
  11828. models.OperationSecondaryMenu:
  11829. properties:
  11830. Key:
  11831. description: 菜单KEY
  11832. type: string
  11833. Label:
  11834. description: 菜单标题
  11835. type: string
  11836. TabList:
  11837. description: 三级功能菜单
  11838. items:
  11839. $ref: '#/definitions/models.OperationTabMenu'
  11840. type: array
  11841. type: object
  11842. models.OperationTabMenu:
  11843. properties:
  11844. Key:
  11845. description: 菜单KEY
  11846. type: string
  11847. Label:
  11848. description: 菜单标题
  11849. type: string
  11850. type: object
  11851. models.Patradelinkdetail:
  11852. properties:
  11853. accountname:
  11854. description: 套期主体
  11855. type: string
  11856. agreeunit:
  11857. description: 合约乘数
  11858. type: number
  11859. amount:
  11860. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11861. type: number
  11862. areauserid:
  11863. description: 所属机构
  11864. type: integer
  11865. bizsubjectid:
  11866. description: 归属业务部门ID - SubjectID
  11867. type: integer
  11868. buyorsell:
  11869. description: 方向 - 0:买 1:卖
  11870. type: integer
  11871. convertratio:
  11872. description: 品种系数
  11873. type: number
  11874. convertratiochange:
  11875. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11876. type: number
  11877. createtime:
  11878. description: '[日期时间]创建时间'
  11879. type: string
  11880. creatorid:
  11881. description: 创建人ID
  11882. type: integer
  11883. creatorsrc:
  11884. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11885. type: integer
  11886. goodscode:
  11887. description: 商品代码(内部)
  11888. type: string
  11889. goodsgroupid:
  11890. description: 对冲品种ID[期货合约商品组ID]
  11891. type: integer
  11892. goodsid:
  11893. description: 商品ID
  11894. type: integer
  11895. hedgeditemid:
  11896. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11897. type: integer
  11898. hedgeflag:
  11899. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11900. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11901. type: integer
  11902. linkdetailid:
  11903. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11904. type: string
  11905. linkstatus:
  11906. description: 关联状态 - 1:成功 2:失败 3:解绑
  11907. type: integer
  11908. middlegoodsid:
  11909. description: 套保品种ID
  11910. type: integer
  11911. name:
  11912. description: 账户名/子账户
  11913. type: string
  11914. optioncode:
  11915. description: '[期货合约]期权代码 [期权]'
  11916. type: string
  11917. ordertype:
  11918. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11919. type: integer
  11920. relatedlot:
  11921. description: '[数量]关联手数'
  11922. type: number
  11923. relatedmode:
  11924. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11925. type: integer
  11926. relatedqty:
  11927. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11928. type: number
  11929. retcode:
  11930. description: 返回码
  11931. type: integer
  11932. saleuserid:
  11933. description: 业务员ID
  11934. type: integer
  11935. tradedate:
  11936. description: 关联交易日(yyyyMMdd)
  11937. type: string
  11938. tradeid:
  11939. description: '[成交单号]内部成交单ID'
  11940. type: string
  11941. tradelot:
  11942. description: 成交手数
  11943. type: integer
  11944. tradeprice:
  11945. description: '[价格]成交价格'
  11946. type: number
  11947. tradetradedate:
  11948. description: 成交交易日(yyyyMMdd)
  11949. type: string
  11950. type: object
  11951. models.QhjAccountOutInApply:
  11952. properties:
  11953. accountcode:
  11954. description: 资金账号
  11955. type: string
  11956. accountname:
  11957. description: 用户名称(名称)
  11958. type: string
  11959. accountpwd:
  11960. description: 资金密码
  11961. type: string
  11962. accountticket:
  11963. description: 最新账户服务流水号
  11964. type: string
  11965. amount:
  11966. description: 金额
  11967. type: number
  11968. applyremark:
  11969. description: 申请备注
  11970. type: string
  11971. applystatus:
  11972. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11973. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11974. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11975. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11976. type: integer
  11977. auditid:
  11978. description: 审核人
  11979. type: integer
  11980. audittime:
  11981. description: 审核时间
  11982. type: string
  11983. bank_apply_ticket:
  11984. description: 银行申请流水
  11985. type: string
  11986. bankaccountname:
  11987. description: 银行账户名
  11988. type: string
  11989. bankaccountno:
  11990. description: 银行卡号
  11991. type: string
  11992. bankid:
  11993. description: 银行编号
  11994. type: string
  11995. bankticket:
  11996. description: 银行流水
  11997. type: string
  11998. branchbankid:
  11999. description: 银行支行号
  12000. type: string
  12001. branchbankname:
  12002. description: 银行支行名称
  12003. type: string
  12004. capamountout:
  12005. description: 出金(劣后本金) - 外部子账户
  12006. type: number
  12007. certificatephotourl:
  12008. description: 凭证地址
  12009. type: string
  12010. charge:
  12011. description: 手续费
  12012. type: number
  12013. checkerrorflag:
  12014. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12015. type: integer
  12016. currency:
  12017. description: 币种
  12018. type: string
  12019. cusbankid:
  12020. description: 托管银行编号
  12021. type: string
  12022. exchticket:
  12023. description: 银行服务流水号
  12024. type: string
  12025. executetype:
  12026. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12027. 7:外部子账户:入金 8:外部子账户:出金'
  12028. type: integer
  12029. extendinfo:
  12030. description: 扩展信息
  12031. type: string
  12032. extoperateid:
  12033. description: 交易服务流水号
  12034. type: integer
  12035. infamount:
  12036. description: 劣后金额(自有)
  12037. type: number
  12038. logincode:
  12039. description: 登录账号(账号)
  12040. type: string
  12041. netaddr:
  12042. description: 调转网址
  12043. type: string
  12044. priamount:
  12045. description: 优先金额(授信)
  12046. type: number
  12047. reauditid:
  12048. description: 复审人
  12049. type: integer
  12050. reauditremark:
  12051. description: 复审备注
  12052. type: string
  12053. reaudittime:
  12054. description: 复审时间
  12055. type: string
  12056. relatedorderid:
  12057. description: 三方关联ID
  12058. type: string
  12059. remark:
  12060. description: 备注
  12061. type: string
  12062. remark2:
  12063. description: 备注(失败原因)
  12064. type: string
  12065. soucreamount:
  12066. description: 原始出入金金额
  12067. type: number
  12068. soucrecurrencyid:
  12069. description: 原始出入金币种
  12070. type: integer
  12071. tradedate:
  12072. description: 交易日(yyyyMMdd)
  12073. type: string
  12074. updatetime:
  12075. description: 更新时间(申请时间)
  12076. type: string
  12077. userid:
  12078. description: 用户id
  12079. type: integer
  12080. userinfotype:
  12081. description: 账户类型 1-个人 2-企业
  12082. type: integer
  12083. type: object
  12084. models.QhjAgreementChangeLog:
  12085. properties:
  12086. agreementcontent:
  12087. description: 协议内容
  12088. type: string
  12089. agreementfrequency:
  12090. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12091. type: integer
  12092. agreementid:
  12093. description: 协议ID
  12094. type: integer
  12095. agreementname:
  12096. description: 协议名称
  12097. type: string
  12098. agreementno:
  12099. description: 协议编号
  12100. type: string
  12101. agreementtype:
  12102. description: 协议类型 - 1:注册 2:登录 3:交易
  12103. type: integer
  12104. agreementversion:
  12105. description: 协议版本号
  12106. type: integer
  12107. logid:
  12108. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12109. type: integer
  12110. reviserid:
  12111. description: 修改人
  12112. type: integer
  12113. revisersrc:
  12114. description: 修改来源 - 1:管理端 2:终端
  12115. type: integer
  12116. updatetime:
  12117. description: 更新时间
  12118. type: string
  12119. type: object
  12120. models.QhjAgreementConfig:
  12121. properties:
  12122. agreementcontent:
  12123. description: 协议内容
  12124. type: string
  12125. agreementfrequency:
  12126. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12127. type: integer
  12128. agreementid:
  12129. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12130. type: integer
  12131. agreementname:
  12132. description: 协议名称
  12133. type: string
  12134. agreementno:
  12135. description: 协议编号
  12136. type: string
  12137. agreementtype:
  12138. description: 协议类型 - 1:注册 2:登录 3:交易
  12139. type: integer
  12140. agreementversion:
  12141. description: 协议版本号(从1开始每次修改加1)
  12142. type: integer
  12143. createtime:
  12144. description: 创建时间
  12145. type: string
  12146. creatorid:
  12147. description: 创建人
  12148. type: integer
  12149. creatorsrc:
  12150. description: 创建来源 - 1:管理端 2:终端
  12151. type: integer
  12152. isvalid:
  12153. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12154. type: integer
  12155. reviserid:
  12156. description: 修改人
  12157. type: integer
  12158. revisersrc:
  12159. description: 修改来源 - 1:管理端 2:终端
  12160. type: integer
  12161. updatetime:
  12162. description: 更新时间
  12163. type: string
  12164. type: object
  12165. models.QhjAreaFinanceConfig:
  12166. properties:
  12167. additionalratio:
  12168. description: 追加款比例
  12169. type: number
  12170. advanceratio:
  12171. description: 预付款比例
  12172. type: number
  12173. alarmratio:
  12174. description: 告警比例
  12175. type: number
  12176. consumptiondirectreward:
  12177. description: 消费直推奖励值
  12178. type: number
  12179. consumptionenabled:
  12180. description: 是否启用消费奖励 - 0:不启用 1:启用
  12181. type: integer
  12182. consumptionindirectreward:
  12183. description: 消费间推奖励值
  12184. type: number
  12185. consumptionmodel:
  12186. description: 消费奖励方式 - 1:比率 2:固定
  12187. type: integer
  12188. customerservicenum:
  12189. description: 客服电话
  12190. type: string
  12191. dayinterestrate:
  12192. description: 日利率
  12193. type: number
  12194. disableconsumptiontips:
  12195. description: 关闭消费奖励提示
  12196. type: string
  12197. modifierid:
  12198. description: 修改人ID
  12199. type: integer
  12200. modifysrc:
  12201. description: 审核来源 - 1:管理端 2:终端
  12202. type: integer
  12203. modifytime:
  12204. description: 修改时间
  12205. type: string
  12206. promotionvalue:
  12207. description: 推广奖励值(固定)
  12208. type: number
  12209. scoreconfigvalue1:
  12210. description: 提货积分配置1
  12211. type: integer
  12212. scoreconfigvalue2:
  12213. description: 提货积分配置2
  12214. type: integer
  12215. userid:
  12216. description: 机构用户ID其他做市关系,都设置为 1
  12217. type: integer
  12218. username:
  12219. description: 用户名称
  12220. type: string
  12221. type: object
  12222. models.QhjBankAccountSign:
  12223. properties:
  12224. accountcode:
  12225. description: 资金账号
  12226. type: string
  12227. accountname:
  12228. description: 资金账号对应的账号名(UserName)
  12229. type: string
  12230. accountname2:
  12231. description: 资金账号对应的账号名(UserName) - 密文
  12232. type: string
  12233. accounttype:
  12234. description: 账户类型(UserType)
  12235. type: integer
  12236. applicationtime:
  12237. description: 最后一次更新的时间
  12238. type: string
  12239. applyexchticket:
  12240. description: 申请流水
  12241. type: string
  12242. auditid:
  12243. description: 审核人
  12244. type: integer
  12245. audittime:
  12246. description: 审核时间
  12247. type: string
  12248. bankaccountname:
  12249. description: 签约银行卡账号名
  12250. type: string
  12251. bankaccountname2:
  12252. description: 签约银行卡账号名 - 密文
  12253. type: string
  12254. bankaccountno:
  12255. description: 银行卡号
  12256. type: string
  12257. bankaccountno2:
  12258. description: 银行卡号 - 密文
  12259. type: string
  12260. bankaccounttype:
  12261. description: 银行账户类型 - 1-对私; 2-对公
  12262. type: integer
  12263. bankcardtype:
  12264. description: 银行卡类型
  12265. type: integer
  12266. bankchildaccount:
  12267. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12268. type: string
  12269. bankcity:
  12270. description: 开户行城市
  12271. type: string
  12272. bankid:
  12273. description: 签约银行ID
  12274. type: string
  12275. bankname:
  12276. description: 签约银行名称
  12277. type: string
  12278. bankprovince:
  12279. description: 开户行省份
  12280. type: string
  12281. branchbankid:
  12282. description: 签约银行支行号
  12283. type: string
  12284. branchbankname:
  12285. description: 签约银行支行名称
  12286. type: string
  12287. cardno:
  12288. description: 证件号码
  12289. type: string
  12290. cardno2:
  12291. description: 证件号码 - 密文
  12292. type: string
  12293. cardtype:
  12294. description: 证件类型
  12295. type: string
  12296. currency:
  12297. description: 币种
  12298. type: string
  12299. cusbankid:
  12300. description: 托管银行编号
  12301. type: string
  12302. direct:
  12303. description: 方向(可以判断那方先发起的签约)
  12304. type: integer
  12305. exchticket:
  12306. description: 最后一次签约成功的流水号
  12307. type: string
  12308. extendinfo:
  12309. description: 扩展信息(JSON字符串)
  12310. type: string
  12311. mobilephone:
  12312. description: 手机号
  12313. type: string
  12314. mobilephone2:
  12315. description: 手机号 - 密文
  12316. type: string
  12317. netaddr:
  12318. description: 调转网址
  12319. type: string
  12320. relateduserid:
  12321. description: 关联使用者userid
  12322. type: integer
  12323. signstatus:
  12324. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12325. 10:审核拒绝 11:换签待审核
  12326. type: integer
  12327. updatetime:
  12328. description: 更新时间(签解约更新时间)
  12329. type: string
  12330. type: object
  12331. models.QhjBankInfo:
  12332. properties:
  12333. bankid:
  12334. description: 银行ID
  12335. type: string
  12336. bankname:
  12337. description: 银行名称
  12338. type: string
  12339. clearbankno:
  12340. description: 清算系统银行编号
  12341. type: string
  12342. orderindex:
  12343. description: 排序顺序
  12344. type: integer
  12345. status:
  12346. description: 状态 - 0:正常 1:注销
  12347. type: integer
  12348. type: object
  12349. models.QhjBrokerApply:
  12350. properties:
  12351. applicantid:
  12352. description: 申请人
  12353. type: integer
  12354. applysrc:
  12355. description: 申请来源 - 1:管理端 2:终端
  12356. type: integer
  12357. applystatus:
  12358. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12359. type: integer
  12360. applytime:
  12361. description: 申请时间
  12362. type: string
  12363. auditorid:
  12364. description: 审核人
  12365. type: integer
  12366. auditremark:
  12367. description: 审核备注
  12368. type: string
  12369. auditsrc:
  12370. description: 审核来源 - 1:管理端 2:终端
  12371. type: integer
  12372. audittime:
  12373. description: 审核时间
  12374. type: string
  12375. audittradedate:
  12376. description: 审核交易日(yyyyMMdd)
  12377. type: string
  12378. brokerapplyid:
  12379. description: 申请ID(SEQ_BROKERAPPLY)
  12380. type: integer
  12381. cardbackphotourl:
  12382. description: 证件背面图片地址
  12383. type: string
  12384. cardfrontphotourl:
  12385. description: 证件正面图片地址
  12386. type: string
  12387. cardnum:
  12388. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12389. type: string
  12390. customername:
  12391. description: 姓名
  12392. type: string
  12393. logincode:
  12394. description: 登录代码
  12395. type: string
  12396. mobile:
  12397. description: 手机号码
  12398. type: string
  12399. parentuserid:
  12400. description: 所属机构id
  12401. type: integer
  12402. parentusername:
  12403. description: 所属机构名称
  12404. type: string
  12405. refereeuserid:
  12406. description: 推荐人id(经纪人)
  12407. type: integer
  12408. refernum:
  12409. description: 推荐码
  12410. type: string
  12411. remark:
  12412. description: 备注
  12413. type: string
  12414. subarealevelpath:
  12415. description: 层级路径
  12416. type: string
  12417. tradedate:
  12418. description: 交易日(yyyyMMdd)
  12419. type: string
  12420. userid:
  12421. description: 申请人用户ID
  12422. type: integer
  12423. userinfotype:
  12424. description: 用户类型 1-个人 2-企业
  12425. type: integer
  12426. username:
  12427. description: 用户名称
  12428. type: string
  12429. type: object
  12430. models.QhjBrokerApplyEx:
  12431. properties:
  12432. applylist:
  12433. description: 经纪人申请记录(只返回最新一条)
  12434. items:
  12435. $ref: '#/definitions/models.QhjBrokerApply'
  12436. type: array
  12437. canrecommend:
  12438. description: 是否经纪人 0-不是 1-是
  12439. type: integer
  12440. refernum:
  12441. description: 推荐码
  12442. type: string
  12443. userid:
  12444. description: 用户id
  12445. type: integer
  12446. userinfotype:
  12447. description: 用户类型 1-个人 2-企业
  12448. type: integer
  12449. type: object
  12450. models.QhjBrokerRewardLog:
  12451. properties:
  12452. accountid:
  12453. description: 资金账号ID
  12454. type: integer
  12455. createtime:
  12456. description: 创建时间(时间)
  12457. type: string
  12458. handlestatus:
  12459. description: 处理状态
  12460. type: integer
  12461. logid:
  12462. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12463. type: string
  12464. marketid:
  12465. description: 市场ID
  12466. type: integer
  12467. mmaccountid:
  12468. description: 做市商资金账号ID
  12469. type: string
  12470. mmuserid:
  12471. description: 做市商用户ID
  12472. type: string
  12473. rewardamount:
  12474. description: 奖励金额
  12475. type: number
  12476. rewardmodel:
  12477. description: 消费奖励方式 - 1:比率 2:固定
  12478. type: integer
  12479. rewardtype:
  12480. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12481. type: integer
  12482. rewardvalue:
  12483. description: 配置奖励值
  12484. type: number
  12485. srcamount:
  12486. description: 成交金额 [消费奖励] (金额)
  12487. type: number
  12488. srcgoodsid:
  12489. description: 来源商品ID [消费奖励]
  12490. type: string
  12491. srctime:
  12492. description: 来源时间 (成交时间) [消费奖励]
  12493. type: string
  12494. srctradeid:
  12495. description: 来源成交单ID [消费奖励] - 排除提货成交
  12496. type: string
  12497. srcuserid:
  12498. description: 来源用户ID(推广账户)
  12499. type: string
  12500. srcusername:
  12501. description: 推广账户名称
  12502. type: string
  12503. tradedate:
  12504. description: 交易日(yyyyMMdd)
  12505. type: string
  12506. userid:
  12507. description: 经纪人用户ID
  12508. type: integer
  12509. type: object
  12510. models.QhjContract:
  12511. properties:
  12512. contractconfirmtime:
  12513. description: 合同确认时间(时间)
  12514. type: string
  12515. currisklevel:
  12516. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12517. type: integer
  12518. decimalplace:
  12519. description: 商品报价小数位
  12520. type: integer
  12521. enumdicname:
  12522. description: 单位名称
  12523. type: string
  12524. goodscode:
  12525. description: 商品代码
  12526. type: string
  12527. goodsid:
  12528. description: 商品ID [5:融资单]
  12529. type: integer
  12530. goodsname:
  12531. description: 商品名称
  12532. type: string
  12533. goodunitid:
  12534. description: 商品单位id
  12535. type: integer
  12536. initmargin:
  12537. description: 初始保证金(首付款)
  12538. type: number
  12539. lenderamount:
  12540. description: 贷款金额(总额|订单总额)
  12541. type: number
  12542. marginratio:
  12543. description: 保证金比率(首付比例)
  12544. type: number
  12545. payamount:
  12546. description: 已付(已付货款)
  12547. type: number
  12548. reckonrecovermargin:
  12549. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12550. type: number
  12551. recoveredmargin:
  12552. description: 已追缴保证金
  12553. type: number
  12554. remainamount:
  12555. description: 合同剩余金额(融资额)
  12556. type: number
  12557. scfcontractid:
  12558. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12559. type: string
  12560. scfcontractstatus:
  12561. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12562. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12563. type: integer
  12564. scfcontracttype:
  12565. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12566. type: integer
  12567. totalinterest:
  12568. description: 已计总利息(利息)
  12569. type: number
  12570. tradeprice:
  12571. description: 成交价格(成本价格)
  12572. type: number
  12573. userid:
  12574. description: 用户ID
  12575. type: integer
  12576. username:
  12577. description: 用户名称
  12578. type: string
  12579. wrqty:
  12580. description: 仓单数量(数量)
  12581. type: number
  12582. type: object
  12583. models.QhjContractLog:
  12584. properties:
  12585. amount:
  12586. description: 支付金额
  12587. type: number
  12588. amounttype:
  12589. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12590. type: integer
  12591. logid:
  12592. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12593. type: string
  12594. remainamount:
  12595. description: 剩余货款
  12596. type: number
  12597. scfcontractid:
  12598. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12599. type: integer
  12600. updatetime:
  12601. description: 更新时间
  12602. type: string
  12603. type: object
  12604. models.QhjCusBankSignBankEx:
  12605. properties:
  12606. banklst:
  12607. description: 银行列表
  12608. items:
  12609. $ref: '#/definitions/models.QhjBankInfo'
  12610. type: array
  12611. canallot:
  12612. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12613. type: integer
  12614. canallotquery:
  12615. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12616. type: integer
  12617. canbindcard:
  12618. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12619. type: integer
  12620. caninamount:
  12621. description: 是否可入金 - 0:不可 1:可以
  12622. type: integer
  12623. caninamount2:
  12624. description: 是否可入金(网银端) - 0:不可 1:可以
  12625. type: integer
  12626. canmodifybankcard:
  12627. description: 是否可修改银行卡号 - 0:不可 1:可以
  12628. type: integer
  12629. canmodifyphone:
  12630. description: 是否可修改手机号 - 0:不可 1:可以
  12631. type: integer
  12632. canmodifysigninfo:
  12633. description: 是否可修改签约信息 - 0:不可 1:可以
  12634. type: integer
  12635. canoutamount:
  12636. description: 是否可出金 - 0:不可 1:可以
  12637. type: integer
  12638. canoutamount2:
  12639. description: 是否可出金(网银端) - 0:不可 1:可以
  12640. type: integer
  12641. canrelease:
  12642. description: 是否可解约 - 0:不可 1:可以
  12643. type: integer
  12644. canrelease2:
  12645. description: 是否可解约(网银端) - 0:不可 1:可以
  12646. type: integer
  12647. cansign:
  12648. description: 是否可签约 - 0:不可 1:可以
  12649. type: integer
  12650. cansign2:
  12651. description: 是否可签约(网银端) - 0:不可 1:可以
  12652. type: integer
  12653. currency:
  12654. description: 币种
  12655. type: string
  12656. cusbankid:
  12657. description: 托管银行编号(对应清算中心TRAN_NO)
  12658. type: string
  12659. cusbankname:
  12660. description: 银行业务名称
  12661. type: string
  12662. cusbankshortname:
  12663. description: 银行业务简称
  12664. type: string
  12665. exchbankid:
  12666. description: 交易所开户银行ID
  12667. type: string
  12668. exchpaybankaccname:
  12669. description: 交易所支出结算账户户名
  12670. type: string
  12671. exchpaybankaccno:
  12672. description: 交易所支出结算账户
  12673. type: string
  12674. isneedcheck:
  12675. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12676. type: integer
  12677. isneedclear:
  12678. description: 是否需要清算 - 0:不需要 1:需要
  12679. type: integer
  12680. lastcheckstatus:
  12681. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12682. type: integer
  12683. lastchecktime:
  12684. description: 最后对账时间
  12685. type: string
  12686. lastclearstatus:
  12687. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12688. type: integer
  12689. lastcleartime:
  12690. description: 最后清算时间
  12691. type: string
  12692. lastsignintime:
  12693. description: 最后签到时间
  12694. type: string
  12695. lastsignouttime:
  12696. description: 最后签退时间
  12697. type: string
  12698. riskinfo:
  12699. description: 签约风险提示书
  12700. type: string
  12701. signstatus:
  12702. description: 当前签到/签退状态 - 1:签到 2:签退
  12703. type: integer
  12704. tradedate:
  12705. description: 交易日(yyyyMMdd)
  12706. type: string
  12707. updatetime:
  12708. description: 当前签到/签退更新时间
  12709. type: string
  12710. type: object
  12711. models.QhjCustomer:
  12712. properties:
  12713. address:
  12714. description: 通讯地址
  12715. type: string
  12716. attachment1:
  12717. description: 附件1
  12718. type: string
  12719. attachment2:
  12720. description: 附件2
  12721. type: string
  12722. audittime:
  12723. description: 审核时间
  12724. type: string
  12725. cardbackphotourl:
  12726. description: 证件反面图片地址
  12727. type: string
  12728. cardfrontphotourl:
  12729. description: 证件正面图片地址
  12730. type: string
  12731. cardnum:
  12732. description: 证件号码
  12733. type: string
  12734. cardtype:
  12735. description: 证件类型
  12736. type: integer
  12737. cardtypename:
  12738. description: 证件类型名称
  12739. type: string
  12740. cityid:
  12741. description: 市
  12742. type: integer
  12743. cityname:
  12744. description: 城市名称
  12745. type: string
  12746. contactname:
  12747. description: 联系人
  12748. type: string
  12749. countryid:
  12750. description: 国家
  12751. type: integer
  12752. countryname:
  12753. description: 国家名称
  12754. type: string
  12755. createtime:
  12756. description: 创建时间
  12757. type: string
  12758. customername:
  12759. description: 客户名称
  12760. type: string
  12761. districtid:
  12762. description: 区域
  12763. type: integer
  12764. districtname:
  12765. description: 地区名称
  12766. type: string
  12767. email:
  12768. description: 邮件
  12769. type: string
  12770. legalpersonname:
  12771. description: 法人姓名(企业)
  12772. type: string
  12773. logincode:
  12774. description: 登录账号(代码)
  12775. type: string
  12776. memberuserid:
  12777. description: 所属机构ID(所属会员)
  12778. type: integer
  12779. memberusername:
  12780. description: 所属会员名称
  12781. type: string
  12782. mobile:
  12783. description: 手机号码
  12784. type: string
  12785. modifytime:
  12786. description: 修改时间
  12787. type: string
  12788. nickname:
  12789. description: 昵称
  12790. type: string
  12791. parentuserid:
  12792. description: 上级机构(所属机构)
  12793. type: integer
  12794. parentusername:
  12795. description: 所属机构名称
  12796. type: string
  12797. provinceid:
  12798. description: 省
  12799. type: integer
  12800. provincename:
  12801. description: 省名称
  12802. type: string
  12803. proxystatementurl:
  12804. description: 授权委托书
  12805. type: string
  12806. remark:
  12807. description: 备注
  12808. type: string
  12809. status:
  12810. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12811. type: integer
  12812. statusdesc:
  12813. description: 账户状态中文描述
  12814. type: string
  12815. taxpayernum:
  12816. description: 纳税人识别号
  12817. type: string
  12818. telphone:
  12819. description: 联系电话
  12820. type: string
  12821. userid:
  12822. description: 用户ID
  12823. type: integer
  12824. userinfotype:
  12825. description: 客户类型 1-个人 2-企业
  12826. type: integer
  12827. username:
  12828. description: 用户名称
  12829. type: string
  12830. type: object
  12831. models.QhjCustomerSignLog:
  12832. properties:
  12833. agreementcontent:
  12834. description: 协议内容
  12835. type: string
  12836. agreementid:
  12837. description: 协议ID
  12838. type: integer
  12839. agreementname:
  12840. description: 协议名称
  12841. type: string
  12842. agreementno:
  12843. description: 协议编号
  12844. type: string
  12845. agreementtype:
  12846. description: 协议类型 - 1:注册 2:登录 3:交易
  12847. type: integer
  12848. agreementversion:
  12849. description: 协议版本号
  12850. type: integer
  12851. createtime:
  12852. description: 创建时间
  12853. type: string
  12854. goodscode:
  12855. description: 商品代码
  12856. type: string
  12857. goodsid:
  12858. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12859. type: integer
  12860. goodsname:
  12861. description: 商品名称
  12862. type: string
  12863. logid:
  12864. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  12865. type: integer
  12866. nodetype:
  12867. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12868. type: integer
  12869. signadressurl:
  12870. description: 签约文件地址
  12871. type: string
  12872. signtimestamp:
  12873. description: 签约状态时间戳
  12874. type: string
  12875. userid:
  12876. description: 客户ID
  12877. type: integer
  12878. username:
  12879. description: 客户名称
  12880. type: string
  12881. type: object
  12882. models.QhjCustomerSignStatus:
  12883. properties:
  12884. createtime:
  12885. description: 创建时间
  12886. type: string
  12887. goodscode:
  12888. description: 商品代码
  12889. type: string
  12890. goodsid:
  12891. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12892. type: integer
  12893. goodsname:
  12894. description: 商品名称
  12895. type: string
  12896. nodetype:
  12897. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  12898. type: integer
  12899. signtimestamp:
  12900. description: 签约状态时间戳
  12901. type: string
  12902. tradedate:
  12903. description: 创建交易日(yyyyMMdd)
  12904. type: string
  12905. updatetime:
  12906. description: 更新时间
  12907. type: string
  12908. userid:
  12909. description: 客户ID
  12910. type: integer
  12911. username:
  12912. description: 客户名称
  12913. type: string
  12914. type: object
  12915. models.QhjMgrAccountOutInApply:
  12916. properties:
  12917. accountcode:
  12918. description: 资金账号
  12919. type: string
  12920. accountname:
  12921. description: 用户名称(名称)
  12922. type: string
  12923. accountpwd:
  12924. description: 资金密码
  12925. type: string
  12926. accountticket:
  12927. description: 最新账户服务流水号
  12928. type: string
  12929. amount:
  12930. description: 金额
  12931. type: number
  12932. applyremark:
  12933. description: 申请备注
  12934. type: string
  12935. applystatus:
  12936. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12937. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12938. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12939. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12940. type: integer
  12941. auditid:
  12942. description: 审核人
  12943. type: integer
  12944. audittime:
  12945. description: 审核时间
  12946. type: string
  12947. bank_apply_ticket:
  12948. description: 银行申请流水
  12949. type: string
  12950. bankaccountname:
  12951. description: 银行账户名
  12952. type: string
  12953. bankaccountno:
  12954. description: 银行卡号
  12955. type: string
  12956. bankid:
  12957. description: 银行编号
  12958. type: string
  12959. bankname:
  12960. description: 银行名称
  12961. type: string
  12962. bankticket:
  12963. description: 银行流水
  12964. type: string
  12965. branchbankid:
  12966. description: 银行支行号
  12967. type: string
  12968. branchbankname:
  12969. description: 银行支行名称
  12970. type: string
  12971. capamountout:
  12972. description: 出金(劣后本金) - 外部子账户
  12973. type: number
  12974. certificatephotourl:
  12975. description: 凭证地址
  12976. type: string
  12977. charge:
  12978. description: 手续费
  12979. type: number
  12980. checkerrorflag:
  12981. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12982. type: integer
  12983. currency:
  12984. description: 币种
  12985. type: string
  12986. cusbankid:
  12987. description: 托管银行编号
  12988. type: string
  12989. exchticket:
  12990. description: 银行服务流水号
  12991. type: string
  12992. executetype:
  12993. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12994. 7:外部子账户:入金 8:外部子账户:出金'
  12995. type: integer
  12996. extendinfo:
  12997. description: 扩展信息
  12998. type: string
  12999. extoperateid:
  13000. description: 交易服务流水号
  13001. type: integer
  13002. infamount:
  13003. description: 劣后金额(自有)
  13004. type: number
  13005. logincode:
  13006. description: 登录账号(账号)
  13007. type: string
  13008. netaddr:
  13009. description: 调转网址
  13010. type: string
  13011. priamount:
  13012. description: 优先金额(授信)
  13013. type: number
  13014. reauditid:
  13015. description: 复审人
  13016. type: integer
  13017. reauditremark:
  13018. description: 复审备注
  13019. type: string
  13020. reaudittime:
  13021. description: 复审时间
  13022. type: string
  13023. relatedorderid:
  13024. description: 三方关联ID
  13025. type: string
  13026. remark:
  13027. description: 备注
  13028. type: string
  13029. remark2:
  13030. description: 备注(失败原因)
  13031. type: string
  13032. soucreamount:
  13033. description: 原始出入金金额
  13034. type: number
  13035. soucrecurrencyid:
  13036. description: 原始出入金币种
  13037. type: integer
  13038. tradedate:
  13039. description: 交易日(yyyyMMdd)
  13040. type: string
  13041. updatetime:
  13042. description: 更新时间(申请时间)
  13043. type: string
  13044. userid:
  13045. description: 用户id
  13046. type: integer
  13047. userinfotype:
  13048. description: 账户类型 1-个人 2-企业
  13049. type: integer
  13050. type: object
  13051. models.QhjMgrBrokerApply:
  13052. properties:
  13053. applicantid:
  13054. description: 申请人
  13055. type: integer
  13056. applysrc:
  13057. description: 申请来源 - 1:管理端 2:终端
  13058. type: integer
  13059. applystatus:
  13060. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13061. type: integer
  13062. applytime:
  13063. description: 申请时间
  13064. type: string
  13065. auditorid:
  13066. description: 审核人
  13067. type: integer
  13068. auditremark:
  13069. description: 审核备注
  13070. type: string
  13071. auditsrc:
  13072. description: 审核来源 - 1:管理端 2:终端
  13073. type: integer
  13074. audittime:
  13075. description: 审核时间
  13076. type: string
  13077. audittradedate:
  13078. description: 审核交易日(yyyyMMdd)
  13079. type: string
  13080. brokerapplyid:
  13081. description: 申请ID(SEQ_BROKERAPPLY)
  13082. type: integer
  13083. cardbackphotourl:
  13084. description: 证件背面图片地址
  13085. type: string
  13086. cardfrontphotourl:
  13087. description: 证件正面图片地址
  13088. type: string
  13089. cardnum:
  13090. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13091. type: string
  13092. customername:
  13093. description: 姓名
  13094. type: string
  13095. filterstatus:
  13096. description: 筛选条件
  13097. type: string
  13098. logincode:
  13099. description: 登录代码
  13100. type: string
  13101. mobile:
  13102. description: 手机号码
  13103. type: string
  13104. parentuserid:
  13105. description: 所属机构id
  13106. type: integer
  13107. parentusername:
  13108. description: 所属机构名称
  13109. type: string
  13110. refereeuserid:
  13111. description: 推荐人id(经纪人)
  13112. type: integer
  13113. refernum:
  13114. description: 推荐码
  13115. type: string
  13116. remark:
  13117. description: 备注
  13118. type: string
  13119. subarealevelpath:
  13120. description: 层级路径
  13121. type: string
  13122. tradedate:
  13123. description: 交易日(yyyyMMdd)
  13124. type: string
  13125. userid:
  13126. description: 申请人用户ID
  13127. type: integer
  13128. userinfotype:
  13129. description: 用户类型 1-个人 2-企业
  13130. type: integer
  13131. username:
  13132. description: 用户名称
  13133. type: string
  13134. type: object
  13135. models.QhjMgrBrokerRewardReport:
  13136. properties:
  13137. createtime:
  13138. description: 创建时间(注册时间)
  13139. type: string
  13140. cycletime:
  13141. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13142. type: string
  13143. cycletype:
  13144. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13145. type: integer
  13146. directtotalnum:
  13147. description: 直推总人数【期末】
  13148. type: integer
  13149. indirecttotalnum:
  13150. description: 间推总人数【期末】
  13151. type: integer
  13152. mobile:
  13153. description: 电话号码
  13154. type: string
  13155. refereeuserid:
  13156. description: 推荐人id(经纪人id)
  13157. type: integer
  13158. refereeusername:
  13159. description: 推荐人名称(经纪人) 上级经纪人名称
  13160. type: string
  13161. refernum:
  13162. description: 推荐码
  13163. type: string
  13164. subarealevelpath:
  13165. description: 用户层级路径
  13166. type: string
  13167. todayrewardamount:
  13168. description: 奖励总金额【汇总】
  13169. type: number
  13170. updatetime:
  13171. description: 更新时间
  13172. type: string
  13173. userid:
  13174. description: 经纪人用户ID
  13175. type: integer
  13176. userinfotype:
  13177. description: 用户类型 1-个人 2-企业
  13178. type: integer
  13179. username:
  13180. description: 用户名称
  13181. type: string
  13182. type: object
  13183. models.QhjMgrContract:
  13184. properties:
  13185. contractconfirmtime:
  13186. description: 合同确认时间(时间)
  13187. type: string
  13188. currisklevel:
  13189. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13190. type: integer
  13191. decimalplace:
  13192. description: 商品报价小数位
  13193. type: integer
  13194. enumdicname:
  13195. description: 单位名称
  13196. type: string
  13197. goodscode:
  13198. description: 商品代码
  13199. type: string
  13200. goodsid:
  13201. description: 商品ID [5:融资单]
  13202. type: integer
  13203. goodsname:
  13204. description: 商品名称
  13205. type: string
  13206. goodunitid:
  13207. description: 商品单位id
  13208. type: integer
  13209. initmargin:
  13210. description: 初始保证金(首付款)
  13211. type: number
  13212. lenderamount:
  13213. description: 贷款金额(总额|订单总额)
  13214. type: number
  13215. logincode:
  13216. description: 账号(登录代码)
  13217. type: string
  13218. marginratio:
  13219. description: 保证金比率(首付比例)
  13220. type: number
  13221. mobile:
  13222. description: 电话号码(用户资料里的电话)
  13223. type: string
  13224. payamount:
  13225. description: 已付(已付货款)
  13226. type: number
  13227. reckonrecovermargin:
  13228. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13229. type: number
  13230. recoveredmargin:
  13231. description: 已追缴保证金
  13232. type: number
  13233. remainamount:
  13234. description: 合同剩余金额(融资额)
  13235. type: number
  13236. scfcontractid:
  13237. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13238. type: string
  13239. scfcontractstatus:
  13240. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13241. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13242. type: integer
  13243. scfcontracttype:
  13244. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13245. type: integer
  13246. totalinterest:
  13247. description: 已计总利息(利息)
  13248. type: number
  13249. tradedate:
  13250. description: 交易日
  13251. type: string
  13252. tradeprice:
  13253. description: 成交价格(成本价格)
  13254. type: number
  13255. userid:
  13256. description: 用户ID
  13257. type: integer
  13258. userinfotype:
  13259. description: 用户类型 1-个人 2-企业
  13260. type: integer
  13261. username:
  13262. description: 用户名称
  13263. type: string
  13264. wrqty:
  13265. description: 仓单数量(数量)
  13266. type: number
  13267. type: object
  13268. models.QhjMgrCustomer:
  13269. properties:
  13270. address:
  13271. description: 通讯地址
  13272. type: string
  13273. attachment1:
  13274. description: 附件1
  13275. type: string
  13276. audittime:
  13277. description: 审核时间
  13278. type: string
  13279. birthday:
  13280. description: 生日
  13281. type: string
  13282. brokerid:
  13283. description: 所属客户经理id
  13284. type: integer
  13285. brokername:
  13286. description: 所属客户经理名称
  13287. type: string
  13288. cardbackphotourl:
  13289. description: 证件反面图片地址
  13290. type: string
  13291. cardfrontphotourl:
  13292. description: 证件正面图片地址
  13293. type: string
  13294. cardnum:
  13295. description: 证件号码
  13296. type: string
  13297. cardtype:
  13298. description: 证件类型
  13299. type: integer
  13300. cardtypename:
  13301. description: 证件类型名称
  13302. type: string
  13303. cityid:
  13304. description: 市
  13305. type: integer
  13306. cityname:
  13307. description: 城市名称
  13308. type: string
  13309. contactname:
  13310. description: 联系人
  13311. type: string
  13312. countryid:
  13313. description: 国家
  13314. type: integer
  13315. countryname:
  13316. description: 国家名称
  13317. type: string
  13318. createtime:
  13319. description: 创建时间
  13320. type: string
  13321. customername:
  13322. description: 客户名称
  13323. type: string
  13324. districtid:
  13325. description: 区域
  13326. type: integer
  13327. districtname:
  13328. description: 地区名称
  13329. type: string
  13330. email:
  13331. description: 邮件
  13332. type: string
  13333. legalpersonname:
  13334. description: 法人姓名(企业)
  13335. type: string
  13336. logincode:
  13337. description: 登录账号(代码)
  13338. type: string
  13339. memberuserid:
  13340. description: 所属机构ID(所属会员)
  13341. type: integer
  13342. memberusername:
  13343. description: 所属会员名称
  13344. type: string
  13345. mobile:
  13346. description: 手机号码
  13347. type: string
  13348. modifytime:
  13349. description: 修改时间
  13350. type: string
  13351. nickname:
  13352. description: 昵称
  13353. type: string
  13354. parentuserid:
  13355. description: 上级机构(所属机构)
  13356. type: integer
  13357. parentusername:
  13358. description: 所属机构名称
  13359. type: string
  13360. provinceid:
  13361. description: 省
  13362. type: integer
  13363. provincename:
  13364. description: 省名称
  13365. type: string
  13366. proxystatementurl:
  13367. description: 授权委托书
  13368. type: string
  13369. querytype:
  13370. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13371. type: integer
  13372. remark:
  13373. description: 备注
  13374. type: string
  13375. sex:
  13376. description: 性别 0-女 1-男
  13377. type: integer
  13378. status:
  13379. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13380. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13381. type: integer
  13382. statusdesc:
  13383. description: 账户状态中文描述
  13384. type: string
  13385. taxpayernum:
  13386. description: 纳税人识别号
  13387. type: string
  13388. telphone:
  13389. description: 联系电话
  13390. type: string
  13391. userid:
  13392. description: 用户ID
  13393. type: integer
  13394. userinfotype:
  13395. description: 客户类型 1-个人 2-企业
  13396. type: integer
  13397. username:
  13398. description: 用户名称
  13399. type: string
  13400. type: object
  13401. models.QhjMgrPickGoods:
  13402. properties:
  13403. enumdicname:
  13404. description: 单位名称(提货商品)
  13405. type: string
  13406. goodsid:
  13407. description: 商品id
  13408. type: integer
  13409. imageaddress:
  13410. description: 图片
  13411. type: string
  13412. modifierid:
  13413. description: 修改人
  13414. type: integer
  13415. modifiername:
  13416. description: 修改人名称
  13417. type: string
  13418. modifysrc:
  13419. description: 修改来源 - 1:管理端 2:终端
  13420. type: integer
  13421. pickupgoodsagreeunit:
  13422. description: 合约乘数
  13423. type: number
  13424. pickupgoodsdesc:
  13425. description: 描述
  13426. type: string
  13427. pickupgoodsid:
  13428. description: 提货商品ID
  13429. type: string
  13430. pickupgoodsname:
  13431. description: 提货商品名称
  13432. type: string
  13433. pickupgoodsstatus:
  13434. description: 状态 - 1:正常 2:停用 3:注销
  13435. type: integer
  13436. pickupgoodsunitid:
  13437. description: 单位ID
  13438. type: integer
  13439. pickupratio:
  13440. description: 提货系数
  13441. type: number
  13442. preparedays:
  13443. description: 备货期(天)
  13444. type: integer
  13445. remark:
  13446. description: 备注
  13447. type: string
  13448. updatetime:
  13449. description: 更新时间
  13450. type: string
  13451. type: object
  13452. models.QhjMgrPositionRsp:
  13453. properties:
  13454. accountid:
  13455. description: 账号Id
  13456. type: integer
  13457. accountname:
  13458. description: 用户名称
  13459. type: string
  13460. agreeunit:
  13461. description: 合约乘数
  13462. type: number
  13463. averageprice:
  13464. description: 均价
  13465. type: number
  13466. avialqty:
  13467. description: 可用数量
  13468. type: number
  13469. decimalplace:
  13470. description: 报价小数位
  13471. type: integer
  13472. enumdicname:
  13473. description: 单位名称(商品)
  13474. type: string
  13475. frozenqty:
  13476. description: 冻结数量
  13477. type: number
  13478. goodscode:
  13479. description: 商品代码(内部)
  13480. type: string
  13481. goodsid:
  13482. description: 商品Id
  13483. type: integer
  13484. goodsname:
  13485. description: 商品名称
  13486. type: string
  13487. goodunitid:
  13488. description: 报价单位ID
  13489. type: integer
  13490. holderamount:
  13491. description: 金额
  13492. type: number
  13493. holderqty:
  13494. description: 持有数量
  13495. type: number
  13496. holdertype:
  13497. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13498. type: integer
  13499. logincode:
  13500. description: 登录代码(账户)
  13501. type: string
  13502. marketid:
  13503. description: 市场id
  13504. type: integer
  13505. qtydecimalplace:
  13506. description: 成交量小数位
  13507. type: integer
  13508. trademode:
  13509. description: 交易模式
  13510. type: integer
  13511. userid:
  13512. description: 用户id
  13513. type: integer
  13514. userinfotype:
  13515. description: 账户类型 1-个人 2-企业
  13516. type: integer
  13517. type: object
  13518. models.QhjMgrSubArea:
  13519. properties:
  13520. accountname:
  13521. description: 账户名称(机构名称)
  13522. type: string
  13523. memberuserid:
  13524. description: 所属会员ID
  13525. type: integer
  13526. parenttopuser:
  13527. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13528. type: string
  13529. parentuserid:
  13530. description: 所属机构ID
  13531. type: integer
  13532. rootuserid:
  13533. description: 根用户ID
  13534. type: string
  13535. subaccountlevel:
  13536. description: 子账户层数
  13537. type: integer
  13538. subarealevelpath:
  13539. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13540. type: string
  13541. userid:
  13542. description: 用户ID
  13543. type: integer
  13544. usertype:
  13545. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13546. type: integer
  13547. type: object
  13548. models.QhjMgrTradeDetailRsp:
  13549. properties:
  13550. accountid:
  13551. description: 资金账号
  13552. type: integer
  13553. accountname:
  13554. description: 用户名称
  13555. type: string
  13556. agreeunit:
  13557. description: 合约乘数
  13558. type: number
  13559. buyorsell:
  13560. description: 成交类型(方向) 0:买 1:卖
  13561. type: integer
  13562. decimalplace:
  13563. description: 报价小数位
  13564. type: integer
  13565. enumdicname:
  13566. description: 单位名称(商品)
  13567. type: string
  13568. goodscode:
  13569. description: 商品代码(内部)
  13570. type: string
  13571. goodsid:
  13572. description: 商品id
  13573. type: integer
  13574. goodsname:
  13575. description: 商品名称
  13576. type: string
  13577. goodunitid:
  13578. description: 报价单位ID
  13579. type: integer
  13580. logincode:
  13581. description: 登录代码(账户)
  13582. type: string
  13583. marketid:
  13584. description: 市场id
  13585. type: integer
  13586. orderid:
  13587. description: 关联委托单号
  13588. type: string
  13589. qtydecimalplace:
  13590. description: 成交量小数位
  13591. type: integer
  13592. tradeamount:
  13593. description: 金额
  13594. type: number
  13595. tradedate:
  13596. description: 交易日
  13597. type: string
  13598. tradeid:
  13599. description: 成交单号
  13600. type: string
  13601. trademode:
  13602. description: 交易模式
  13603. type: integer
  13604. tradeprice:
  13605. description: 价格
  13606. type: number
  13607. tradeqty:
  13608. description: 数量
  13609. type: number
  13610. tradetime:
  13611. description: 成交时间
  13612. type: string
  13613. userid:
  13614. description: 用户id
  13615. type: integer
  13616. userinfotype:
  13617. description: 账户类型 1-个人 2-企业
  13618. type: integer
  13619. type: object
  13620. models.QhjMgrTradeOrderDetailRsp:
  13621. properties:
  13622. accountid:
  13623. description: 资金账号
  13624. type: integer
  13625. accountname:
  13626. description: 用户名称
  13627. type: string
  13628. agreeunit:
  13629. description: 合约乘数
  13630. type: number
  13631. amount:
  13632. description: 金额
  13633. type: number
  13634. decimalplace:
  13635. description: 报价小数位
  13636. type: integer
  13637. enumdicname:
  13638. description: 单位名称(商品)
  13639. type: string
  13640. goodscode:
  13641. description: 商品代码(内部)
  13642. type: string
  13643. goodsid:
  13644. description: 商品id
  13645. type: integer
  13646. goodsname:
  13647. description: 商品名称
  13648. type: string
  13649. goodunitid:
  13650. description: 报价单位ID
  13651. type: integer
  13652. logincode:
  13653. description: 登录代码(账户)
  13654. type: string
  13655. marketid:
  13656. description: 市场id
  13657. type: integer
  13658. orderid:
  13659. description: 关联委托单号
  13660. type: string
  13661. orderprice:
  13662. description: 价格
  13663. type: number
  13664. orderqty:
  13665. description: 数量
  13666. type: number
  13667. orderstatus:
  13668. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13669. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13670. 16:成交失败违约(荷兰式竞拍专用)
  13671. type: integer
  13672. ordertime:
  13673. description: 委托时间
  13674. type: string
  13675. qtydecimalplace:
  13676. description: 成交量小数位
  13677. type: integer
  13678. tradedate:
  13679. description: 交易日
  13680. type: string
  13681. trademode:
  13682. description: 交易模式
  13683. type: integer
  13684. userid:
  13685. description: 用户id
  13686. type: integer
  13687. userinfotype:
  13688. description: 账户类型 1-个人 2-企业
  13689. type: integer
  13690. type: object
  13691. models.QhjMgrTradePayOrder:
  13692. properties:
  13693. accountname:
  13694. description: 用户名称
  13695. type: string
  13696. advanceratio:
  13697. description: 首付比率
  13698. type: number
  13699. agreeunit:
  13700. description: 合约乘数
  13701. type: number
  13702. buyaccountid:
  13703. description: 买方账号ID[报价币种]
  13704. type: integer
  13705. buyorderid:
  13706. description: 买方委托单号(关联单号)
  13707. type: string
  13708. createtime:
  13709. description: 创建时间
  13710. type: string
  13711. decimalplace:
  13712. description: 报价小数位
  13713. type: integer
  13714. enumdicname:
  13715. description: 单位名称(商品)
  13716. type: string
  13717. goodscode:
  13718. description: 商品代码(内部)
  13719. type: string
  13720. goodsid:
  13721. description: 商品ID
  13722. type: integer
  13723. goodsname:
  13724. description: 商品名称
  13725. type: string
  13726. goodunitid:
  13727. description: 报价单位ID
  13728. type: integer
  13729. logincode:
  13730. description: 登录代码(账户)
  13731. type: string
  13732. marketid:
  13733. description: 市场id
  13734. type: integer
  13735. offamount:
  13736. description: 优惠金额
  13737. type: number
  13738. operatetype:
  13739. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13740. type: integer
  13741. payamount:
  13742. description: 支付金额(金额)
  13743. type: number
  13744. payflag:
  13745. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13746. type: integer
  13747. paylimitedtime:
  13748. description: 支付期限
  13749. type: string
  13750. paytime:
  13751. description: 付款时间
  13752. type: string
  13753. qtydecimalplace:
  13754. description: 成交量小数位
  13755. type: integer
  13756. sellaccountid:
  13757. description: 卖方账号ID[报价币种]
  13758. type: integer
  13759. sellorderid:
  13760. description: 卖方委托单号
  13761. type: string
  13762. tradeamount:
  13763. description: 成交金额(优惠后金额)
  13764. type: number
  13765. tradecharge:
  13766. description: 成交手续费(买方)
  13767. type: number
  13768. tradedate:
  13769. description: 交易日(yyyyMMdd)
  13770. type: string
  13771. tradeid:
  13772. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13773. type: string
  13774. trademode:
  13775. description: 交易模式
  13776. type: integer
  13777. tradeprice:
  13778. description: 成交价格(价格)
  13779. type: number
  13780. tradeqty:
  13781. description: 成交数量(数量)
  13782. type: number
  13783. tradetime:
  13784. description: 成交时间
  13785. type: string
  13786. userid:
  13787. description: 用户id
  13788. type: integer
  13789. userinfotype:
  13790. description: 账户类型 1-个人 2-企业
  13791. type: integer
  13792. type: object
  13793. models.QhjMyTeamEx:
  13794. properties:
  13795. accountname:
  13796. description: 用户名称
  13797. type: string
  13798. accountstatus:
  13799. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13800. type: integer
  13801. createtime:
  13802. description: 创建时间
  13803. type: string
  13804. mobile:
  13805. description: 手机号码
  13806. type: string
  13807. refereeuserid:
  13808. description: 推荐人id
  13809. type: integer
  13810. refernum:
  13811. description: 推荐码
  13812. type: string
  13813. subList:
  13814. items:
  13815. $ref: '#/definitions/models.QhjMyTeamEx'
  13816. type: array
  13817. userid:
  13818. description: 用户id
  13819. type: integer
  13820. userinfotype:
  13821. description: 用户类型 1-个人 2-企业
  13822. type: integer
  13823. type: object
  13824. models.QhjNodeAgreementConfig:
  13825. properties:
  13826. agreementcontent:
  13827. description: 协议内容
  13828. type: string
  13829. agreementid:
  13830. description: 协议ID
  13831. type: integer
  13832. agreementname:
  13833. description: 协议名称
  13834. type: string
  13835. agreementno:
  13836. description: 协议编号
  13837. type: string
  13838. agreementtype:
  13839. description: 协议类型 - 1:注册 2:登录 3:交易
  13840. type: integer
  13841. agreementversion:
  13842. description: 协议版本号
  13843. type: integer
  13844. configid:
  13845. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13846. type: integer
  13847. createtime:
  13848. description: 创建时间
  13849. type: string
  13850. goodsid:
  13851. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13852. type: integer
  13853. nodetype:
  13854. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13855. type: integer
  13856. type: object
  13857. models.QhjParentAreaList:
  13858. properties:
  13859. accountname:
  13860. description: 账户名称(机构名称)
  13861. type: string
  13862. userid:
  13863. description: 用户ID
  13864. type: integer
  13865. usertype:
  13866. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13867. type: integer
  13868. type: object
  13869. models.QhjPayOrder:
  13870. properties:
  13871. advanceratio:
  13872. description: 首付比率
  13873. type: number
  13874. buyaccountid:
  13875. description: 买方账号ID[报价币种]
  13876. type: integer
  13877. buyorderid:
  13878. description: 买方委托单号
  13879. type: string
  13880. createtime:
  13881. description: 创建时间
  13882. type: string
  13883. decimalplace:
  13884. description: 商品报价小数位
  13885. type: integer
  13886. enumdicname:
  13887. description: 单位名称
  13888. type: string
  13889. goodscode:
  13890. description: 商品代码
  13891. type: string
  13892. goodsid:
  13893. description: 商品ID
  13894. type: integer
  13895. goodsname:
  13896. description: 商品名称
  13897. type: string
  13898. goodunitid:
  13899. description: 商品单位id
  13900. type: integer
  13901. marketid:
  13902. description: 市场ID
  13903. type: integer
  13904. offamount:
  13905. description: 优惠金额
  13906. type: number
  13907. operatetype:
  13908. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13909. type: integer
  13910. payamount:
  13911. description: 支付金额
  13912. type: number
  13913. payflag:
  13914. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13915. type: integer
  13916. paylimitedtime:
  13917. description: 支付期限
  13918. type: string
  13919. paytime:
  13920. description: 付款时间
  13921. type: string
  13922. qtydecimalplace:
  13923. description: 成交量小数位
  13924. type: integer
  13925. sellaccountid:
  13926. description: 卖方账号ID[报价币种]
  13927. type: integer
  13928. sellorderid:
  13929. description: 卖方委托单号
  13930. type: string
  13931. tradeamount:
  13932. description: 成交金额(优惠后金额)
  13933. type: number
  13934. tradecharge:
  13935. description: 成交手续费(买方)
  13936. type: number
  13937. tradedate:
  13938. description: 交易日(yyyyMMdd)
  13939. type: string
  13940. tradeid:
  13941. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13942. type: string
  13943. tradeprice:
  13944. description: 成交价格
  13945. type: number
  13946. tradeqty:
  13947. description: 成交数量
  13948. type: number
  13949. type: object
  13950. models.QhjPickArea:
  13951. properties:
  13952. address:
  13953. description: 详细地址
  13954. type: string
  13955. cityid:
  13956. description: 市
  13957. type: integer
  13958. cityname:
  13959. description: 城市名称
  13960. type: string
  13961. countryid:
  13962. description: 国家
  13963. type: integer
  13964. countryname:
  13965. description: 国家名称
  13966. type: string
  13967. districtid:
  13968. description: 地区
  13969. type: integer
  13970. districtname:
  13971. description: 地区名称
  13972. type: string
  13973. fromuserid:
  13974. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  13975. type: integer
  13976. fromusername:
  13977. description: 所属机构名称
  13978. type: string
  13979. provinceid:
  13980. description: 省
  13981. type: integer
  13982. provincename:
  13983. description: 省名称
  13984. type: string
  13985. suborgtype:
  13986. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  13987. type: integer
  13988. userid:
  13989. description: 机构用户ID 其他做市关系,都设置为 1
  13990. type: integer
  13991. username:
  13992. description: 机构用户名称(门店门称)
  13993. type: string
  13994. type: object
  13995. models.QhjPickGoods:
  13996. properties:
  13997. enumdicname:
  13998. description: 单位名称(提货商品)
  13999. type: string
  14000. goodsid:
  14001. description: 商品id
  14002. type: integer
  14003. imageaddress:
  14004. description: 图片
  14005. type: string
  14006. modifierid:
  14007. description: 修改人
  14008. type: integer
  14009. modifiername:
  14010. description: 修改人名称
  14011. type: string
  14012. modifysrc:
  14013. description: 修改来源 - 1:管理端 2:终端
  14014. type: integer
  14015. pickupgoodsagreeunit:
  14016. description: 合约乘数
  14017. type: number
  14018. pickupgoodsdesc:
  14019. description: 描述
  14020. type: string
  14021. pickupgoodsid:
  14022. description: 提货商品ID
  14023. type: string
  14024. pickupgoodsname:
  14025. description: 提货商品名称
  14026. type: string
  14027. pickupgoodsstatus:
  14028. description: 状态 - 1:正常 2:停用 3:注销
  14029. type: integer
  14030. pickupgoodsunitid:
  14031. description: 单位ID
  14032. type: integer
  14033. pickupratio:
  14034. description: 提货系数
  14035. type: number
  14036. preparedays:
  14037. description: 备货期(天)
  14038. type: integer
  14039. remark:
  14040. description: 备注
  14041. type: string
  14042. updatetime:
  14043. description: 更新时间
  14044. type: string
  14045. type: object
  14046. models.QhjRSTriggerLog:
  14047. properties:
  14048. accountid:
  14049. description: 用户资金账户
  14050. type: integer
  14051. accountname:
  14052. description: 账号名称(ACCOUNTID对应的名称)
  14053. type: string
  14054. currencyid:
  14055. description: 币种id
  14056. type: integer
  14057. currencyname:
  14058. description: 币种名称
  14059. type: string
  14060. decimalplace:
  14061. description: 商品报价小数位
  14062. type: integer
  14063. enumdicname:
  14064. description: 单位名称
  14065. type: string
  14066. goodscode:
  14067. description: 定投商品代码
  14068. type: string
  14069. goodsid:
  14070. description: 定投商品ID
  14071. type: integer
  14072. goodsname:
  14073. description: 定投商品名称
  14074. type: string
  14075. goodunitid:
  14076. description: 定投商品单位id
  14077. type: integer
  14078. logid:
  14079. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14080. type: string
  14081. logincode:
  14082. description: 账号(登录代码)
  14083. type: string
  14084. qtydecimalplace:
  14085. description: 成交量小数位
  14086. type: integer
  14087. regularlycycle:
  14088. description: 定投频率 - 1:每周 2:每月
  14089. type: integer
  14090. regularlycyclevalue:
  14091. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14092. type: string
  14093. regularlymode:
  14094. description: 定投方式 - 1:按数量 2:按金额
  14095. type: integer
  14096. regularlymodevalue:
  14097. description: 定投方式值 - 数量或金额
  14098. type: number
  14099. regularlystrategyid:
  14100. description: 定投策略ID
  14101. type: integer
  14102. retcode:
  14103. description: 错误码
  14104. type: string
  14105. tradeid:
  14106. description: 成交单ID
  14107. type: string
  14108. triggeramount:
  14109. description: 触发金额
  14110. type: number
  14111. triggerqty:
  14112. description: 触发数量
  14113. type: number
  14114. triggerstatus:
  14115. description: 触发状态 - 1:成功 2:失败
  14116. type: integer
  14117. triggertime:
  14118. description: 触发时间
  14119. type: string
  14120. triggertradedate:
  14121. description: 触发交易日
  14122. type: string
  14123. userid:
  14124. description: 所属用户ID
  14125. type: integer
  14126. userinfotype:
  14127. description: 用户类型 1-个人 2-企业
  14128. type: integer
  14129. username:
  14130. description: 用户名称(userid对应的名称)
  14131. type: string
  14132. type: object
  14133. models.QhjRStrategy:
  14134. properties:
  14135. accountid:
  14136. description: 用户资金账户
  14137. type: integer
  14138. accountname:
  14139. description: 账号名称(ACCOUNTID对应的名称)
  14140. type: string
  14141. currencyid:
  14142. description: 币种id
  14143. type: integer
  14144. currencyname:
  14145. description: 币种名称
  14146. type: string
  14147. decimalplace:
  14148. description: 商品报价小数位
  14149. type: integer
  14150. enumdicname:
  14151. description: 单位名称
  14152. type: string
  14153. goodscode:
  14154. description: 定投商品代码
  14155. type: string
  14156. goodsid:
  14157. description: 定投商品ID
  14158. type: integer
  14159. goodsname:
  14160. description: 定投商品名称
  14161. type: string
  14162. goodunitid:
  14163. description: 定投商品单位id
  14164. type: integer
  14165. lasteffecttradedate:
  14166. description: 最新生效交易日
  14167. type: string
  14168. laststoptradedate:
  14169. description: 最新暂停交易日
  14170. type: string
  14171. lasttriggertradedate:
  14172. description: 最新触发交易日
  14173. type: string
  14174. logincode:
  14175. description: 账号(登录代码)
  14176. type: string
  14177. nexttriggeramount:
  14178. description: 下次触发金额
  14179. type: number
  14180. nexttriggerdate:
  14181. description: 下次触发日期
  14182. type: string
  14183. nexttriggerqty:
  14184. description: 下次触发数量 [按小数位放大值]
  14185. type: number
  14186. qtydecimalplace:
  14187. description: 成交量小数位
  14188. type: integer
  14189. regularlycycle:
  14190. description: 定投频率 - 1:每周 2:每月
  14191. type: integer
  14192. regularlycyclevalue:
  14193. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14194. type: string
  14195. regularlymode:
  14196. description: 定投方式 - 1:按数量 2:按金额
  14197. type: integer
  14198. regularlymodevalue:
  14199. description: 定投方式值 - 数量或金额
  14200. type: number
  14201. regularlystrategyid:
  14202. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14203. type: integer
  14204. regularlystrategystatus:
  14205. description: 策略状态 - 1:正常 2:暂停 3:终止
  14206. type: integer
  14207. remark:
  14208. description: 备注
  14209. type: string
  14210. triggersuccesstimes:
  14211. description: 累计定投成功次数
  14212. type: string
  14213. triggertotalamount:
  14214. description: 累计定投金额(成功)
  14215. type: number
  14216. triggertotalqty:
  14217. description: 累计定投数量(成功) [按小数位放大值]
  14218. type: number
  14219. triggertotaltimes:
  14220. description: 累计定投总次数
  14221. type: string
  14222. updatesrc:
  14223. description: 更新来源 - 1:管理端 2:终端
  14224. type: integer
  14225. updatetime:
  14226. description: 更新时间
  14227. type: string
  14228. updatorid:
  14229. description: 更新人
  14230. type: string
  14231. userid:
  14232. description: 所属用户ID
  14233. type: integer
  14234. userinfotype:
  14235. description: 用户类型 1-个人 2-企业
  14236. type: integer
  14237. username:
  14238. description: 用户名称(userid对应的名称)
  14239. type: string
  14240. type: object
  14241. models.QhjReckonPriceLog:
  14242. properties:
  14243. decimalplace:
  14244. description: 商品报价小数位
  14245. type: integer
  14246. goodscode:
  14247. description: 商品代码
  14248. type: string
  14249. goodsid:
  14250. description: 商品ID
  14251. type: integer
  14252. goodsname:
  14253. description: 商品名称
  14254. type: string
  14255. lastreckonprice:
  14256. description: 上日结算价
  14257. type: number
  14258. nextdnlimitprice:
  14259. description: 下个交易日跌停价
  14260. type: number
  14261. nexttrade:
  14262. description: 下个交易日
  14263. type: string
  14264. nextuplimitprice:
  14265. description: 下个交易日涨停价
  14266. type: number
  14267. reckonprice:
  14268. description: 今日结算价(定投价)
  14269. type: number
  14270. reckontime:
  14271. description: 结算时间
  14272. type: string
  14273. totalholderqty:
  14274. description: 总持仓数
  14275. type: integer
  14276. totalstock:
  14277. description: 总库存
  14278. type: integer
  14279. tradedate:
  14280. description: 交易日
  14281. type: string
  14282. updowncount:
  14283. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14284. type: integer
  14285. updownflag:
  14286. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14287. type: integer
  14288. updownrate:
  14289. description: 今日涨跌幅
  14290. type: number
  14291. updownrate_2d:
  14292. description: 连续两日涨跌幅
  14293. type: number
  14294. updownrate_3d:
  14295. description: 连续三日涨跌幅
  14296. type: number
  14297. type: object
  14298. models.QhjScoreLog:
  14299. properties:
  14300. accountid:
  14301. description: 账户ID
  14302. type: integer
  14303. createtime:
  14304. description: 创建时间(时间)
  14305. type: string
  14306. goodsid:
  14307. description: 商品ID
  14308. type: integer
  14309. hasuploaded:
  14310. description: 是否已同步(千海金) 0:未同步 1;已同步
  14311. type: integer
  14312. logid:
  14313. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14314. type: string
  14315. marketid:
  14316. description: 市场ID
  14317. type: integer
  14318. relatedamount:
  14319. description: 关联金额
  14320. type: number
  14321. relatedorderid:
  14322. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14323. type: string
  14324. scoreconfigvalue1:
  14325. description: 积分配置1
  14326. type: integer
  14327. scoreconfigvalue2:
  14328. description: 积分配置1
  14329. type: integer
  14330. scoretype:
  14331. description: 积分类型 - 1:提货积分
  14332. type: integer
  14333. scorevalue:
  14334. description: 积分
  14335. type: number
  14336. tradedate:
  14337. description: 交易日(yyyyMMdd)
  14338. type: string
  14339. uploadedtime:
  14340. description: 同步时间
  14341. type: string
  14342. userid:
  14343. description: 用户ID
  14344. type: integer
  14345. type: object
  14346. models.QhjSiteColumnDetail:
  14347. properties:
  14348. author:
  14349. description: 作者
  14350. type: string
  14351. brief:
  14352. description: 简介
  14353. type: string
  14354. columnid:
  14355. description: 所属栏目
  14356. type: integer
  14357. context:
  14358. description: 内容
  14359. type: string
  14360. coverimage:
  14361. description: 封面图片
  14362. type: string
  14363. creaedate:
  14364. description: 创建时间
  14365. type: string
  14366. creatorid:
  14367. description: 创建人
  14368. type: integer
  14369. hits:
  14370. description: 点击数
  14371. type: integer
  14372. id:
  14373. description: ID(SEQ_SITE_COLUMNDETAIL)
  14374. type: integer
  14375. isshow:
  14376. description: 是否展示 - 0:不展示 1:展示
  14377. type: integer
  14378. istop:
  14379. description: 是否置顶 - 0:不置 1:置顶
  14380. type: integer
  14381. modifierid:
  14382. description: 操作人
  14383. type: integer
  14384. publishdate:
  14385. description: 发布日期
  14386. type: string
  14387. status:
  14388. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14389. type: integer
  14390. title:
  14391. description: 标题
  14392. type: string
  14393. updatedate:
  14394. description: 修改时间
  14395. type: string
  14396. userid:
  14397. description: 用户ID(默认为0, 核心为为机构用户ID)
  14398. type: integer
  14399. username:
  14400. description: 用户名称
  14401. type: string
  14402. type: object
  14403. models.QhjTeamOrder:
  14404. properties:
  14405. accountid:
  14406. description: 账户ID[报价币种]
  14407. type: integer
  14408. accountname:
  14409. description: 账户名称
  14410. type: string
  14411. agreeunit:
  14412. description: 合约乘数
  14413. type: number
  14414. buyorsell:
  14415. description: 方向 - 0:买 1:卖
  14416. type: integer
  14417. decimalplace:
  14418. description: 报价小数位
  14419. type: integer
  14420. enumdicname:
  14421. description: 单位名称
  14422. type: string
  14423. goodscode:
  14424. description: 商品代码(内部)
  14425. type: string
  14426. goodsid:
  14427. description: 商品ID
  14428. type: integer
  14429. goodsname:
  14430. description: 商品名称
  14431. type: string
  14432. goodunitid:
  14433. description: 报价单位ID
  14434. type: integer
  14435. marketid:
  14436. description: 市场ID
  14437. type: integer
  14438. marketname:
  14439. description: 市场名称
  14440. type: string
  14441. qtydecimalplace:
  14442. description: 成交量小数位
  14443. type: integer
  14444. refereeuserid:
  14445. description: 推荐人ID
  14446. type: integer
  14447. tradeamount:
  14448. description: 成交金额[账户币种,用于所有权]
  14449. type: number
  14450. tradedate:
  14451. description: 交易日(yyyyMMdd)
  14452. type: string
  14453. trademode:
  14454. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14455. 21:竞拍-大宗式 22:受托竞价
  14456. type: integer
  14457. tradeprice:
  14458. description: 成交价格
  14459. type: number
  14460. tradeqty:
  14461. description: 成交数量
  14462. type: number
  14463. tradetime:
  14464. description: 成交时间
  14465. type: string
  14466. userid:
  14467. description: 用户ID
  14468. type: integer
  14469. type: object
  14470. models.QhjTradeGoodsPickup:
  14471. properties:
  14472. accountid:
  14473. description: 账户ID
  14474. type: integer
  14475. address:
  14476. description: 提货人详细地址
  14477. type: string
  14478. amount:
  14479. description: 提货金额
  14480. type: number
  14481. artradedate:
  14482. description: 自动收货交易日(yyyyMMdd)
  14483. type: string
  14484. auditer:
  14485. description: 审核人
  14486. type: integer
  14487. auditsrc:
  14488. description: 更新来源 - 1:管理端 2:终端
  14489. type: integer
  14490. audittime:
  14491. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14492. type: string
  14493. audittradedate:
  14494. description: 审核交易日(yyyyMMdd)
  14495. type: string
  14496. cardnum:
  14497. description: 提货人证件号码
  14498. type: string
  14499. cardtypeid:
  14500. description: 提货人证件类型
  14501. type: integer
  14502. checkremark:
  14503. description: 审核备注
  14504. type: string
  14505. cityid:
  14506. description: 市
  14507. type: integer
  14508. cityname:
  14509. description: 城市名称
  14510. type: string
  14511. confirmtime:
  14512. description: 取货时间 或 收货时间
  14513. type: string
  14514. countryid:
  14515. description: 国家
  14516. type: integer
  14517. countryname:
  14518. description: 国家名称
  14519. type: string
  14520. decimalplace:
  14521. description: 商品报价小数位
  14522. type: integer
  14523. districtid:
  14524. description: 地区
  14525. type: integer
  14526. districtname:
  14527. description: 地区名称
  14528. type: string
  14529. enumdicname:
  14530. description: 单位名称(提货商品)
  14531. type: string
  14532. expresscompany:
  14533. description: 物流公司
  14534. type: string
  14535. expressnum:
  14536. description: 物流单号
  14537. type: string
  14538. goodsagreeunit:
  14539. description: 交易商品乘数
  14540. type: number
  14541. goodscode:
  14542. description: 商品代码
  14543. type: string
  14544. goodsid:
  14545. description: 商品ID
  14546. type: integer
  14547. goodsname:
  14548. description: 商品名称
  14549. type: string
  14550. goodsqty:
  14551. description: 交易商品手数(69模式按成交量小数位放大取整)
  14552. type: number
  14553. handlestatus:
  14554. description: 处理状态
  14555. type: integer
  14556. logincode:
  14557. description: 账号(登录代码, 有可能为空)
  14558. type: string
  14559. marketid:
  14560. description: 市场ID
  14561. type: integer
  14562. phonenum:
  14563. description: 提货人联系方式
  14564. type: string
  14565. pickupgoodsagreeunit:
  14566. description: 提货商品合约乘数
  14567. type: number
  14568. pickupgoodsid:
  14569. description: 提货商品ID
  14570. type: string
  14571. pickupgoodsname:
  14572. description: 提货商品名称
  14573. type: string
  14574. pickupgoodsqty:
  14575. description: 提货商品手数(数量)
  14576. type: number
  14577. pickupgoodsunitid:
  14578. description: 单位ID(提货商品)
  14579. type: integer
  14580. pickupratio:
  14581. description: 提货系数
  14582. type: number
  14583. preparedays:
  14584. description: 备货期(天)-提货单明细表
  14585. type: integer
  14586. provinceid:
  14587. description: 省
  14588. type: integer
  14589. provincename:
  14590. description: 省名称
  14591. type: string
  14592. qty:
  14593. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14594. type: number
  14595. qtydecimalplace:
  14596. description: 商品数量小数位
  14597. type: integer
  14598. recivername:
  14599. description: 提货人姓名
  14600. type: string
  14601. reqtime:
  14602. description: 提货申请时间
  14603. type: string
  14604. storeuserid:
  14605. description: 门店用户ID (千海金)
  14606. type: integer
  14607. storeusername:
  14608. description: 门店用户名称
  14609. type: string
  14610. takemode:
  14611. description: 提货方式 - 2:自提 3:配送(邮寄)
  14612. type: integer
  14613. takeorderid:
  14614. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14615. type: string
  14616. takeorderstatus:
  14617. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14618. 7:已拒绝 8:已撤销
  14619. type: integer
  14620. takeremark:
  14621. description: 提货备注
  14622. type: string
  14623. tradedate:
  14624. description: 交易日(yyyyMMdd)
  14625. type: string
  14626. updatetime:
  14627. description: 更新时间
  14628. type: string
  14629. userid:
  14630. description: 用户ID
  14631. type: integer
  14632. userinfotype:
  14633. description: 客户类型 1-个人 2-企业
  14634. type: integer
  14635. username:
  14636. description: 用户名称
  14637. type: string
  14638. type: object
  14639. models.QhjUserNodeCfgAndStatus:
  14640. properties:
  14641. agreementcontent:
  14642. description: 协议内容
  14643. type: string
  14644. agreementid:
  14645. description: 协议ID
  14646. type: integer
  14647. agreementname:
  14648. description: 协议名称
  14649. type: string
  14650. agreementno:
  14651. description: 协议编号
  14652. type: string
  14653. agreementtype:
  14654. description: 协议类型 - 1:注册 2:登录 3:交易
  14655. type: integer
  14656. agreementversion:
  14657. description: 协议版本号
  14658. type: integer
  14659. configid:
  14660. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14661. type: integer
  14662. createtime:
  14663. description: 创建时间
  14664. type: string
  14665. goodsid:
  14666. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14667. type: integer
  14668. nodetype:
  14669. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14670. type: integer
  14671. signtimestamp:
  14672. description: 签约状态时间戳(最近一次)
  14673. type: string
  14674. tradedate:
  14675. description: 签约交易日(yyyyMMdd)
  14676. type: string
  14677. userid:
  14678. description: 客户ID
  14679. type: integer
  14680. type: object
  14681. models.Qhjgoodsex:
  14682. properties:
  14683. canfinance:
  14684. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14685. type: integer
  14686. canregularlybuy:
  14687. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14688. type: integer
  14689. defaulttradeuserid:
  14690. description: 默认交易用户ID
  14691. type: integer
  14692. deliverygoodsid:
  14693. description: 现货品种ID
  14694. type: integer
  14695. goodsid:
  14696. description: 商品ID(自增ID SEQ_GOODS)
  14697. type: integer
  14698. minamount:
  14699. description: 最小购买金额
  14700. type: number
  14701. regularlybuyminamount:
  14702. description: 定投最小金额
  14703. type: number
  14704. regularlybuyminqty:
  14705. description: 定投最小数量
  14706. type: number
  14707. spotgoodsbrandid:
  14708. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14709. type: integer
  14710. visibilityforenterprise:
  14711. description: 企业客户是否可见 - 0:不可见 1:可见
  14712. type: integer
  14713. visibilityforpersonal:
  14714. description: 个人客户是否可见 - 0:不可见 1:可见
  14715. type: integer
  14716. wrstandardid:
  14717. description: 现货商品ID
  14718. type: integer
  14719. type: object
  14720. models.QueryErrorInfosRsp:
  14721. properties:
  14722. description:
  14723. description: 异常描述
  14724. type: string
  14725. errorcode:
  14726. description: 异常代码
  14727. type: string
  14728. errorid:
  14729. description: 异常ID
  14730. type: integer
  14731. modulecode:
  14732. description: 所属模块
  14733. type: string
  14734. operatecode:
  14735. description: 所属操作
  14736. type: string
  14737. rownumber:
  14738. description: 行号
  14739. type: string
  14740. required:
  14741. - errorid
  14742. type: object
  14743. models.QueryHedgeOrderDetailRsp:
  14744. properties:
  14745. accountid:
  14746. description: 账户ID
  14747. type: integer
  14748. buyorsell:
  14749. description: 买卖 - 0:买 1:卖
  14750. type: integer
  14751. cancellogincode:
  14752. description: 撤单人
  14753. type: string
  14754. channelbuildtype:
  14755. description: 开平标志 - 0:无 1:建仓 2:平仓
  14756. type: integer
  14757. channelinnerorderstatus:
  14758. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14759. 9:全部成交
  14760. type: integer
  14761. channeloperatetype:
  14762. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14763. type: integer
  14764. closetype:
  14765. description: 平仓方式 - 0:无 1:平今 2:平昨
  14766. type: integer
  14767. curexchangerate:
  14768. description: 当前汇率
  14769. type: number
  14770. decimalplace:
  14771. description: 商品报价小数位
  14772. type: integer
  14773. exchangefullname:
  14774. description: 外部交易所全称
  14775. type: string
  14776. goodscode:
  14777. description: 商品代码(内部)
  14778. type: string
  14779. goodsid:
  14780. description: 商品ID
  14781. type: integer
  14782. goodsname:
  14783. description: 商品名称
  14784. type: string
  14785. marketid:
  14786. description: 市场ID
  14787. type: integer
  14788. openfreezemargin:
  14789. description: 冻结保证金(冻结交易金额)
  14790. type: number
  14791. orderid:
  14792. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14793. type: string
  14794. orderlogincode:
  14795. description: 委托人
  14796. type: string
  14797. orderprice:
  14798. description: 委托价格(账户)
  14799. type: number
  14800. orderqty:
  14801. description: 委托数量
  14802. type: integer
  14803. ordertime:
  14804. description: 委托时间
  14805. type: string
  14806. pricemode:
  14807. description: '取价方式 - 1:市价 2: 限价'
  14808. type: integer
  14809. tradedate:
  14810. description: 交易日(yyyyMMdd)
  14811. type: string
  14812. tradeqty:
  14813. description: 成交数量
  14814. type: integer
  14815. type: object
  14816. models.QueryHedgeTradeDetailRsp:
  14817. properties:
  14818. accountid:
  14819. description: 账号ID
  14820. type: integer
  14821. buyorsell:
  14822. description: 方向 - 0:买 1:卖
  14823. type: integer
  14824. channelbuildtype:
  14825. description: 委托单据类型 0:无 1:建仓 2:平仓
  14826. type: integer
  14827. closecharge:
  14828. description: 平仓手续费(账户)
  14829. type: number
  14830. closecharge2:
  14831. description: 平仓手续费(商品)
  14832. type: number
  14833. closepl:
  14834. description: 平仓盈亏(账户)
  14835. type: number
  14836. closepl2:
  14837. description: 平仓盈亏(商品)
  14838. type: number
  14839. closepl3:
  14840. description: 平仓盈亏(账户)(逐笔)
  14841. type: number
  14842. closepl4:
  14843. description: 平仓盈亏(商品)(逐笔)
  14844. type: number
  14845. closetype:
  14846. description: 平仓方式 - 0:无 1:平今 2:平昨
  14847. type: integer
  14848. curexchangerate:
  14849. description: 当前汇率
  14850. type: number
  14851. decimalplace:
  14852. description: 商品报价小数位
  14853. type: integer
  14854. exchangefullname:
  14855. description: 外部交易所全称
  14856. type: string
  14857. goodscode:
  14858. description: 商品代码(内部)
  14859. type: string
  14860. goodsid:
  14861. description: 商品ID
  14862. type: integer
  14863. goodsname:
  14864. description: 商品名称
  14865. type: string
  14866. marketid:
  14867. description: 市场ID
  14868. type: integer
  14869. opencharge:
  14870. description: 建仓手续费(账户)
  14871. type: number
  14872. opencharge2:
  14873. description: 建仓手续费(商品)
  14874. type: number
  14875. orderid:
  14876. description: 委托单号
  14877. type: string
  14878. orderlogincode:
  14879. description: 委托人
  14880. type: string
  14881. tradeamount:
  14882. description: 成交金额(账户)
  14883. type: number
  14884. tradedate:
  14885. description: 交易日(yyyyMMdd)
  14886. type: string
  14887. tradeid:
  14888. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14889. type: string
  14890. tradeprice:
  14891. description: 成交价格
  14892. type: number
  14893. tradeqty:
  14894. description: 成交数量
  14895. type: integer
  14896. tradetime:
  14897. description: 成交时间
  14898. type: string
  14899. tradetype:
  14900. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  14901. type: integer
  14902. type: object
  14903. models.QuotePrimaryMenu:
  14904. properties:
  14905. Index:
  14906. description: 序号
  14907. type: integer
  14908. Key:
  14909. description: 键名
  14910. type: string
  14911. Name:
  14912. description: 菜单名称
  14913. type: string
  14914. SubMenus:
  14915. description: 子菜单
  14916. items:
  14917. $ref: '#/definitions/models.QuoteSecondaryMenu'
  14918. type: array
  14919. SubTitleType:
  14920. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  14921. type: integer
  14922. TradeModes:
  14923. description: 包含市场交易类型
  14924. type: string
  14925. type: object
  14926. models.QuoteSecondaryMenu:
  14927. properties:
  14928. ExExchangeCode:
  14929. description: 外部交易所代码
  14930. type: string
  14931. ExExchangeID:
  14932. description: 外部交易所ID
  14933. type: integer
  14934. GoodsGroupIDs:
  14935. description: 商品组ID列表
  14936. items:
  14937. type: integer
  14938. type: array
  14939. Index:
  14940. description: 序号
  14941. type: integer
  14942. MarketID:
  14943. description: 市场ID
  14944. type: integer
  14945. MenuTitle:
  14946. description: 菜单标题(市场名称或外部交易所名称)
  14947. type: string
  14948. TradeMode:
  14949. description: 交易模式
  14950. type: integer
  14951. type: object
  14952. models.RelatedTaAccount:
  14953. properties:
  14954. accountid:
  14955. description: 资金账户ID
  14956. type: integer
  14957. type: object
  14958. models.RoleMenu:
  14959. properties:
  14960. hasright:
  14961. description: 是否有权限 0-没有权限 1-有权限
  14962. type: integer
  14963. iconame:
  14964. description: 菜单图标
  14965. type: string
  14966. menutype:
  14967. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  14968. type: integer
  14969. parentcode:
  14970. description: 上级资源代码
  14971. type: string
  14972. remark:
  14973. description: 菜单备注
  14974. type: string
  14975. resourcecode:
  14976. description: 菜单代码
  14977. type: string
  14978. resourcelevel:
  14979. description: 级别
  14980. type: integer
  14981. resourcename:
  14982. description: 菜单名称
  14983. type: string
  14984. roleid:
  14985. description: 角色id
  14986. type: integer
  14987. sort:
  14988. description: 排序
  14989. type: integer
  14990. subMenu:
  14991. description: 子级菜单(结构同上层一样, swag解析不出来)
  14992. items:
  14993. $ref: '#/definitions/models.RoleMenu'
  14994. type: array
  14995. url:
  14996. description: URL
  14997. type: string
  14998. userid:
  14999. description: 用户id
  15000. type: integer
  15001. type: object
  15002. models.SearchGoods:
  15003. properties:
  15004. goodscode:
  15005. description: 商品代码(内部)
  15006. type: string
  15007. goodsid:
  15008. description: 商品ID(自增ID SEQ_GOODS)
  15009. type: integer
  15010. goodsname:
  15011. description: 商品名称
  15012. type: string
  15013. marketid:
  15014. description: 所属市场ID
  15015. type: integer
  15016. marketname:
  15017. description: 市场名称
  15018. type: string
  15019. trademode:
  15020. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15021. 21:竞拍-大宗式 22:受托竞价
  15022. type: integer
  15023. required:
  15024. - goodscode
  15025. - goodsid
  15026. - goodsname
  15027. - marketid
  15028. - trademode
  15029. type: object
  15030. models.Systemparam:
  15031. properties:
  15032. loginid:
  15033. description: 更新用户账号,登录账号
  15034. type: string
  15035. modifyflag:
  15036. description: 修改标志0 不允许修改 1 允许修改
  15037. type: integer
  15038. paramcode:
  15039. description: 参数代码
  15040. type: string
  15041. paramname:
  15042. description: 参数名
  15043. type: string
  15044. paramtype:
  15045. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  15046. type: integer
  15047. paramvalue:
  15048. description: 参数值
  15049. type: string
  15050. paramvalue2:
  15051. description: 参数值(CLOB)
  15052. type: string
  15053. regexpress:
  15054. description: 正则表达式
  15055. type: string
  15056. remark:
  15057. description: 备注
  15058. type: string
  15059. serverip:
  15060. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  15061. type: string
  15062. showflag:
  15063. description: 是否显示0 不显示 1 显示
  15064. type: integer
  15065. updatetime:
  15066. description: 更新时间
  15067. type: string
  15068. userid:
  15069. description: 更新用户ID
  15070. type: integer
  15071. required:
  15072. - paramcode
  15073. type: object
  15074. models.Szdz3convertconfig:
  15075. properties:
  15076. canin:
  15077. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  15078. type: integer
  15079. canout:
  15080. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  15081. type: integer
  15082. converttype:
  15083. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15084. 6:交易转花生米(不设置)
  15085. type: integer
  15086. createtime:
  15087. description: 创建时间
  15088. type: string
  15089. creatorid:
  15090. description: 创建人
  15091. type: integer
  15092. daymaxvalue:
  15093. description: 当日最大转入限制
  15094. type: number
  15095. freezedays:
  15096. description: 冻结天数 [5:花生米转交易]
  15097. type: integer
  15098. innergoodsid:
  15099. description: 内部商品ID[交易]
  15100. type: integer
  15101. inratio:
  15102. description: 目标值
  15103. type: integer
  15104. modifierid:
  15105. description: 修改人
  15106. type: integer
  15107. modifytime:
  15108. description: 修改时间
  15109. type: string
  15110. outergoodscode:
  15111. description: 外部商品代码[JD\PD]
  15112. type: string
  15113. outratio:
  15114. description: 源值
  15115. type: integer
  15116. pddecimalplace:
  15117. description: PD小数位
  15118. type: integer
  15119. timemaxvalue:
  15120. description: 单次最大转入限制
  15121. type: number
  15122. timeminvalue:
  15123. description: 单次最小转入限制
  15124. type: number
  15125. required:
  15126. - converttype
  15127. - innergoodsid
  15128. - outergoodscode
  15129. type: object
  15130. models.Szdz3searchwhitelist:
  15131. properties:
  15132. createtime:
  15133. description: 创建时间
  15134. type: string
  15135. creatorid:
  15136. description: 创建人
  15137. type: integer
  15138. modifierid:
  15139. description: 修改人
  15140. type: integer
  15141. modifytime:
  15142. description: 修改时间
  15143. type: string
  15144. userid:
  15145. description: 用户ID
  15146. type: integer
  15147. required:
  15148. - userid
  15149. type: object
  15150. models.TBGoods:
  15151. properties:
  15152. agreeunit:
  15153. description: 合约乘数
  15154. type: number
  15155. enumdicname:
  15156. description: 单位名称
  15157. type: string
  15158. goodscode:
  15159. description: 商品代码(内部)
  15160. type: string
  15161. goodsid:
  15162. description: 商品ID(自增ID SEQ_GOODS)
  15163. type: integer
  15164. goodsname:
  15165. description: 商品名称
  15166. type: string
  15167. type: object
  15168. models.TBGoodsGroup:
  15169. properties:
  15170. GDLST:
  15171. description: 商品列表
  15172. items:
  15173. $ref: '#/definitions/models.TBGoods'
  15174. type: array
  15175. convertratio:
  15176. description: 折算系数
  15177. type: number
  15178. enumdicname:
  15179. description: 单位名称
  15180. type: string
  15181. exexchangecode:
  15182. description: 交易所代码
  15183. type: string
  15184. exexchangename:
  15185. description: 交易所名称
  15186. type: string
  15187. goodsgroupid:
  15188. description: 商品组ID(自增ID)
  15189. type: integer
  15190. goodsgroupname:
  15191. description: 商品组名称
  15192. type: string
  15193. goodunitid:
  15194. description: 报价单位ID
  15195. type: integer
  15196. type: object
  15197. models.TBMiddleGoods:
  15198. properties:
  15199. GPLST:
  15200. description: 期货品种列表
  15201. items:
  15202. $ref: '#/definitions/models.TBGoodsGroup'
  15203. type: array
  15204. WDLST:
  15205. description: 商品信息列表(现货品类)
  15206. items:
  15207. $ref: '#/definitions/models.TBWrstandard'
  15208. type: array
  15209. areauserid:
  15210. description: 机构用户ID
  15211. type: integer
  15212. enumdicname:
  15213. description: 单位名称
  15214. type: string
  15215. goodsunitid:
  15216. description: 套保品种单位id
  15217. type: integer
  15218. middlegoodscode:
  15219. description: 套保品种代码
  15220. type: string
  15221. middlegoodsid:
  15222. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15223. type: integer
  15224. middlegoodsname:
  15225. description: 套保品种名称
  15226. type: string
  15227. needarbitrageratio:
  15228. description: 套利比率
  15229. type: number
  15230. needhedgeratio:
  15231. description: 套保比率
  15232. type: number
  15233. type: object
  15234. models.TBWrstandard:
  15235. properties:
  15236. convertratio:
  15237. description: 折算系数
  15238. type: number
  15239. deliverygoodsname:
  15240. description: 品种名称
  15241. type: string
  15242. enumdicname:
  15243. description: 单位名称
  15244. type: string
  15245. vatrate:
  15246. description: 增值税率
  15247. type: number
  15248. wrstandardcode:
  15249. description: 现货商品代码
  15250. type: string
  15251. wrstandardid:
  15252. description: 现货商品ID(SEQ_WRSTANDARD)
  15253. type: integer
  15254. wrstandardname:
  15255. description: 现货商品名称
  15256. type: string
  15257. type: object
  15258. models.Taaccount:
  15259. properties:
  15260. accountflag:
  15261. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15262. type: integer
  15263. accountid:
  15264. description: 资金账户ID
  15265. type: integer
  15266. accountname:
  15267. description: 账户名称
  15268. type: string
  15269. balance:
  15270. description: 期初余额
  15271. type: number
  15272. capitalbalance:
  15273. description: 本金余额[外部子账户实际出入金余额]
  15274. type: number
  15275. changeflag:
  15276. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15277. type: integer
  15278. changetime:
  15279. description: 账户状态变更时间
  15280. type: string
  15281. closepl:
  15282. description: 今日平仓盈亏
  15283. type: number
  15284. creditdecrease:
  15285. description: 今日授信减少
  15286. type: number
  15287. creditincrease:
  15288. description: 今日授信增加
  15289. type: number
  15290. curamount:
  15291. description: 总市值(从持仓中统计)
  15292. type: number
  15293. currencyid:
  15294. description: 货币ID
  15295. type: integer
  15296. currentbalance:
  15297. description: 期末余额
  15298. type: number
  15299. freezecharge:
  15300. description: 手续费冻结
  15301. type: number
  15302. freezemargin:
  15303. description: 冻结保证金
  15304. type: number
  15305. fromaccountid:
  15306. description: 所属上级账户
  15307. type: integer
  15308. inamount:
  15309. description: 今日入金金额(包括三方入金)
  15310. type: number
  15311. ismain:
  15312. description: 是否母账号 0:不是母账户 1:是母账户
  15313. type: integer
  15314. ismarketaccount:
  15315. description: 是否机构接单账号 0:不是 1:是
  15316. type: integer
  15317. isreckonaccount:
  15318. description: 是否机构分润账号 0:不是 1:是
  15319. type: integer
  15320. mortgagecredit:
  15321. description: 授信金额
  15322. type: number
  15323. orifreezecharge:
  15324. description: 期初手续费冻结
  15325. type: number
  15326. orifreezemargin:
  15327. description: 期初冻结保证金
  15328. type: number
  15329. orimortgagecredit:
  15330. description: 期初授信金额
  15331. type: number
  15332. oriothercredit:
  15333. description: 期初其它授信金额
  15334. type: number
  15335. oriotherfreezemargin:
  15336. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15337. type: number
  15338. orioutamountfreeze:
  15339. description: 期初出金冻结
  15340. type: number
  15341. oriusedmargin:
  15342. description: 期初占用保证金
  15343. type: number
  15344. othercredit:
  15345. description: 其它授信金额
  15346. type: number
  15347. othercreditdecrease:
  15348. description: 今日其它授信减少
  15349. type: number
  15350. othercreditincrease:
  15351. description: 今日其它授信增加
  15352. type: number
  15353. otherfreezemargin:
  15354. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15355. type: number
  15356. otherincome:
  15357. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15358. type: number
  15359. otherpay:
  15360. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15361. type: number
  15362. outamount:
  15363. description: 今日出金金额(包括三方出金)
  15364. type: number
  15365. outamountfreeze:
  15366. description: 出金冻结
  15367. type: number
  15368. outthreshold:
  15369. description: 出金阈值
  15370. type: number
  15371. parentaccountid:
  15372. description: 所属根账号
  15373. type: integer
  15374. paycharge:
  15375. description: 今日手续费支出
  15376. type: number
  15377. relatedaccountstatus:
  15378. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15379. type: integer
  15380. relateduserid:
  15381. description: 关联用户
  15382. type: integer
  15383. remainamount:
  15384. description: 融资额(从融资合同中统计)
  15385. type: number
  15386. serivcegroup:
  15387. description: 服务分组
  15388. type: integer
  15389. signstatus:
  15390. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15391. type: integer
  15392. sublevelpath:
  15393. description: 账号层级路径(逗号分隔,首尾加逗号)
  15394. type: string
  15395. taaccounttype:
  15396. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15397. type: integer
  15398. thirdinamount:
  15399. description: 今日三方入金
  15400. type: number
  15401. thirdoutamount:
  15402. description: 今日三方出金
  15403. type: number
  15404. tradestatus:
  15405. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15406. type: integer
  15407. tradestatuschangetime:
  15408. description: 激活时间
  15409. type: string
  15410. transferamount:
  15411. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15412. type: number
  15413. usedmargin:
  15414. description: 占用保证金
  15415. type: number
  15416. userid:
  15417. description: 用户ID
  15418. type: integer
  15419. required:
  15420. - accountid
  15421. - userid
  15422. type: object
  15423. models.Tablecolumnconfig:
  15424. properties:
  15425. aligntype:
  15426. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15427. type: integer
  15428. autoid:
  15429. description: AutoID
  15430. type: integer
  15431. columnfield:
  15432. description: 列字段
  15433. type: string
  15434. columntitle:
  15435. description: 列Title
  15436. type: string
  15437. columnwidth:
  15438. description: 列宽
  15439. type: string
  15440. formatterstring:
  15441. description: 格式化字符
  15442. type: string
  15443. formattertype:
  15444. description: 格式化类型
  15445. type: string
  15446. groupname:
  15447. description: 表头分组名称
  15448. type: string
  15449. isshow:
  15450. description: 是否显示 - 0:不显示 1:显示
  15451. type: integer
  15452. needsummary:
  15453. description: 是否需要汇总 - 0:不需要 1:需要
  15454. type: integer
  15455. orderindex:
  15456. description: 顺序
  15457. type: integer
  15458. remark:
  15459. description: 备注
  15460. type: string
  15461. summarytype:
  15462. description: 汇总类型 - 1:加总 2:最后一个
  15463. type: integer
  15464. tablekey:
  15465. description: 列表Key
  15466. type: string
  15467. required:
  15468. - autoid
  15469. type: object
  15470. models.TjmdHolderDetailTradeInfo:
  15471. properties:
  15472. agreeunit:
  15473. description: 合约乘数
  15474. type: number
  15475. buyaccountid:
  15476. description: 买方账户
  15477. type: string
  15478. buyusername:
  15479. description: 买方
  15480. type: string
  15481. delistingdate:
  15482. description: 最后结算日
  15483. type: string
  15484. expiredate:
  15485. description: 到期结算价定价日
  15486. type: string
  15487. exprieprice:
  15488. description: 到期清算价格
  15489. type: string
  15490. goodscode:
  15491. description: 商品代码
  15492. type: string
  15493. goodsid:
  15494. description: 商品ID
  15495. type: integer
  15496. goodsname:
  15497. description: 商品名称(交易标的)
  15498. type: string
  15499. lasttradedate:
  15500. description: 最后交易日
  15501. type: string
  15502. listingdate:
  15503. description: 开始交易日
  15504. type: string
  15505. openprice:
  15506. description: 成交价
  15507. type: number
  15508. openqty:
  15509. description: 交易数量
  15510. type: integer
  15511. sellaccountid:
  15512. description: 卖方账户
  15513. type: string
  15514. sellusername:
  15515. description: 卖方
  15516. type: string
  15517. tradeamount:
  15518. description: 初始名义价值
  15519. type: number
  15520. tradedate:
  15521. description: 成交日期
  15522. type: string
  15523. tradeid:
  15524. description: 成交编号
  15525. type: string
  15526. type: object
  15527. models.TjmdMarketSection:
  15528. properties:
  15529. marketsectionid:
  15530. description: 市场版块ID(SEQ_MARKETSECTION)
  15531. type: integer
  15532. marketsectionname:
  15533. description: 市场版块名称
  15534. type: string
  15535. mlist:
  15536. description: 市场列表(板块下面有多少个市场)
  15537. items:
  15538. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  15539. type: array
  15540. orderindex:
  15541. description: 排序
  15542. type: integer
  15543. pictureurl:
  15544. description: 图片url, 规格(90*90)
  15545. type: string
  15546. remark:
  15547. description: 备注
  15548. type: string
  15549. type: object
  15550. models.TjmdMarketSectionConfig:
  15551. properties:
  15552. auctionwrtype:
  15553. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  15554. type: integer
  15555. canacceptquote:
  15556. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  15557. type: integer
  15558. cangoodsexercise:
  15559. description: '[期权]是否可现货行权- 0:否 1:是'
  15560. type: integer
  15561. cangoodsexercisetype:
  15562. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  15563. type: integer
  15564. canmanualquotestrike:
  15565. description: 是否可手动报行权价- 0:否 1:是 [期权]
  15566. type: integer
  15567. canmutistage:
  15568. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  15569. type: integer
  15570. canpreexercise:
  15571. description: '[期权]是否可预申报- 0:否 1:是'
  15572. type: integer
  15573. clearinterval:
  15574. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  15575. type: integer
  15576. contracttmp:
  15577. description: 合同模板[荷兰式][竞价式][仓单贸易]
  15578. type: string
  15579. exchareaid:
  15580. description: 所属交易所,可以没有
  15581. type: integer
  15582. financemarketid:
  15583. description: 融资回购市场ID [仓单贸易]
  15584. type: integer
  15585. goodstype:
  15586. description: 商品类型 - 1:交易商品 2:仓单商品
  15587. type: integer
  15588. hasrebate:
  15589. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  15590. type: integer
  15591. hastradecredit:
  15592. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  15593. type: integer
  15594. haswr:
  15595. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  15596. type: integer
  15597. isdeductmargin:
  15598. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  15599. type: integer
  15600. isrecordsource:
  15601. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  15602. type: integer
  15603. isreleasemargin:
  15604. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  15605. type: integer
  15606. isupdatereckonprice:
  15607. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  15608. type: integer
  15609. listingmode:
  15610. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15611. type: integer
  15612. marginformula:
  15613. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15614. type: integer
  15615. marginformula2:
  15616. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15617. type: integer
  15618. marketid:
  15619. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  15620. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  15621. type: integer
  15622. marketname:
  15623. description: 市场名称
  15624. type: string
  15625. marketsectionid:
  15626. description: 市场版块ID(SEQ_MARKETSECTION)
  15627. type: integer
  15628. marketserviceid:
  15629. description: 市场服务ID
  15630. type: integer
  15631. marketstatus:
  15632. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  15633. type: integer
  15634. markettype:
  15635. description: 市场类型- 1:非交易服务 2:交易服务
  15636. type: integer
  15637. matchermode:
  15638. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  15639. type: integer
  15640. nowrquotaflag:
  15641. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  15642. type: integer
  15643. openmethod:
  15644. description: 开盘模式 - 0 自动 1手动
  15645. type: integer
  15646. orderindex:
  15647. description: 排序
  15648. type: integer
  15649. otcuserid:
  15650. description: 场外期权做市商[场外期权]
  15651. type: integer
  15652. outersynctime:
  15653. description: 外部同步时间点(h24:mi:ss)[场外期权]
  15654. type: string
  15655. paylaterflag:
  15656. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  15657. type: integer
  15658. pendingflag:
  15659. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  15660. type: integer
  15661. pendingtime:
  15662. description: 待开市时间[通道交易-对冲](HH:mm)
  15663. type: string
  15664. performancetempid:
  15665. description: 履约计划模板ID - 作废
  15666. type: integer
  15667. premiumquotemode:
  15668. description: 权利金报价方式 - 1:自动 2:手动
  15669. type: integer
  15670. rebateratio:
  15671. description: 返利比率[竞价式]
  15672. type: number
  15673. reckonorder:
  15674. description: 结算顺序
  15675. type: integer
  15676. reckonpricealgorithm:
  15677. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  15678. 6.卖一价 7.买一卖一均价 8.外部结算价'
  15679. type: integer
  15680. reckonpriceparam:
  15681. description: 结算价参数
  15682. type: integer
  15683. reckontime:
  15684. description: 结算时间[通道交易-对冲](HH:mm)
  15685. type: string
  15686. roleprioritytype:
  15687. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  15688. type: integer
  15689. selllistingauditflag:
  15690. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  15691. type: integer
  15692. trademarkettype:
  15693. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  15694. type: integer
  15695. trademode:
  15696. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15697. 21:竞拍-大宗式 22:受托竞价
  15698. type: integer
  15699. tradeproperty:
  15700. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  15701. 8:场外期权
  15702. type: integer
  15703. tradetype:
  15704. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  15705. type: integer
  15706. updatereckonpriceinterval:
  15707. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  15708. type: integer
  15709. type: object
  15710. models.TjmdQuoteGoods:
  15711. properties:
  15712. buyqty:
  15713. description: 买量(暂不做, 无值, 保留字段)
  15714. type: number
  15715. decimalplace:
  15716. description: 报价小数位
  15717. type: integer
  15718. goodscode:
  15719. description: 合约代码
  15720. type: string
  15721. goodsgroupid:
  15722. description: 商品组ID(自增ID)
  15723. type: integer
  15724. goodsgroupname:
  15725. description: 商品组名称
  15726. type: string
  15727. goodsid:
  15728. description: 合约id
  15729. type: integer
  15730. goodsname:
  15731. description: 合约名称
  15732. type: string
  15733. refgoodscode:
  15734. description: 标的合约代码
  15735. type: string
  15736. refgoodsid:
  15737. description: 标的合约id
  15738. type: integer
  15739. refgoodsname:
  15740. description: 标的合约名称
  15741. type: string
  15742. sellqty:
  15743. description: 卖量(暂不做, 无值, 保留字段)
  15744. type: number
  15745. type: object
  15746. models.TjmdTodayAccountMargin:
  15747. properties:
  15748. accountid:
  15749. description: 账号ID
  15750. type: integer
  15751. goodsid:
  15752. description: 商品ID
  15753. type: integer
  15754. infoc:
  15755. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  15756. description: 配置参数
  15757. marketid:
  15758. description: 市场ID
  15759. type: integer
  15760. type: object
  15761. models.TjmdTradeOrderDetail:
  15762. properties:
  15763. buyorsell:
  15764. description: 买卖方向 0-买 1-卖
  15765. type: integer
  15766. goodsid:
  15767. description: 商品id
  15768. type: integer
  15769. marketmaxsub:
  15770. description: 市价最大偏移范围 [浮动价 - 点差]
  15771. type: number
  15772. orderid:
  15773. description: 委托单号
  15774. type: string
  15775. orderprice:
  15776. description: 委托价格
  15777. type: number
  15778. orderqty:
  15779. description: 委托数量
  15780. type: integer
  15781. pricemode:
  15782. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  15783. type: integer
  15784. userid:
  15785. description: 用户id
  15786. type: integer
  15787. username:
  15788. description: 用户名称(已脱敏)
  15789. type: string
  15790. type: object
  15791. models.TjmdTransferApply:
  15792. properties:
  15793. applyid:
  15794. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  15795. type: integer
  15796. applystatus:
  15797. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  15798. type: integer
  15799. applytime:
  15800. description: 申请时间(时间)
  15801. type: string
  15802. auditremark:
  15803. description: 审核备注(拒绝原因?)
  15804. type: string
  15805. begindate:
  15806. description: 开始交易日(yyyymmdd)
  15807. type: string
  15808. buyorsell:
  15809. description: 买卖 - 0:买 1:卖
  15810. type: integer
  15811. enddate:
  15812. description: 结束交易日(yyyymmdd)
  15813. type: string
  15814. goodscode:
  15815. description: 商品代码
  15816. type: string
  15817. goodsid:
  15818. description: 商品ID
  15819. type: integer
  15820. goodsname:
  15821. description: 商品名称
  15822. type: string
  15823. marketid:
  15824. description: 市场ID
  15825. type: integer
  15826. qty:
  15827. description: 转让数量(数量)
  15828. type: number
  15829. tradeid:
  15830. description: 成交单号(关联持仓)
  15831. type: string
  15832. transferamount:
  15833. description: 转让总金额(金额)
  15834. type: number
  15835. transferprice:
  15836. description: 转让价格(协议价格)
  15837. type: number
  15838. type: object
  15839. models.TradeHolderDetail:
  15840. properties:
  15841. accountid:
  15842. description: 账号ID
  15843. type: integer
  15844. agreeunit:
  15845. description: 合约乘数
  15846. type: number
  15847. buyorsell:
  15848. description: 方向 - 0:买 1:卖
  15849. type: integer
  15850. currencyid:
  15851. description: 商品币种id
  15852. type: integer
  15853. currencyname:
  15854. description: 币种名称
  15855. type: string
  15856. decimalplace:
  15857. description: 商品价格小数位
  15858. type: integer
  15859. enumdicname:
  15860. description: 商品单位名称
  15861. type: string
  15862. expirecycle:
  15863. description: 行权周期(天) - 1:滚动行权时填写
  15864. type: integer
  15865. expiredate:
  15866. description: 行权日(yyyyMMdd) - 到期日
  15867. type: string
  15868. expiretype:
  15869. description: 行权日类型 - 1:滚动行权 2:固定日行权
  15870. type: integer
  15871. freezeqty:
  15872. description: 冻结数量
  15873. type: number
  15874. goodscode:
  15875. description: 商品代码
  15876. type: string
  15877. goodsid:
  15878. description: 商品ID
  15879. type: integer
  15880. goodsname:
  15881. description: 商品名称
  15882. type: string
  15883. goodunitid:
  15884. description: 商品单位id
  15885. type: integer
  15886. holderamount:
  15887. description: 持仓金额
  15888. type: number
  15889. holdercredit:
  15890. description: 持仓授信金额
  15891. type: number
  15892. holderdays:
  15893. description: 剩余冻结天数
  15894. type: integer
  15895. holderprice:
  15896. description: 持仓价格
  15897. type: number
  15898. holderqty:
  15899. description: 持仓数量
  15900. type: number
  15901. isconfirmexercise:
  15902. description: 是否确认行权- 0:否 1:是
  15903. type: integer
  15904. ispreexercise:
  15905. description: 是否预申报- 0:否 1:是 2:不可行权
  15906. type: integer
  15907. marketid:
  15908. description: 市场id
  15909. type: integer
  15910. marketname:
  15911. description: 市场名称
  15912. type: string
  15913. openprice:
  15914. description: 建仓价格
  15915. type: number
  15916. openqty:
  15917. description: 建仓数量
  15918. type: number
  15919. optiontype:
  15920. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15921. type: integer
  15922. preexerciseprice:
  15923. description: 预申报价格
  15924. type: number
  15925. premium:
  15926. description: 权利金
  15927. type: number
  15928. qtydecimalplace:
  15929. description: 商品成交量小数位
  15930. type: integer
  15931. refgoodscode:
  15932. description: 标的合约代码
  15933. type: string
  15934. refgoodsid:
  15935. description: 标的合约id
  15936. type: integer
  15937. releaseamount:
  15938. description: 释放持仓金额
  15939. type: number
  15940. releaseholdercredit:
  15941. description: 释放持仓授信金额
  15942. type: number
  15943. taname:
  15944. description: 资金账号名称
  15945. type: string
  15946. tradeamount:
  15947. description: 成交金额
  15948. type: number
  15949. tradedate:
  15950. description: 交易日(yyyyMMdd)
  15951. type: string
  15952. tradeid:
  15953. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15954. type: string
  15955. trademode:
  15956. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15957. 21:竞拍-大宗式 22:受托竞价 46:掉期
  15958. type: integer
  15959. tradeproperty:
  15960. description: 交易属性
  15961. type: integer
  15962. tradetime:
  15963. description: 交易时间
  15964. type: string
  15965. userid:
  15966. description: 用户id
  15967. type: integer
  15968. username:
  15969. description: 用户名称
  15970. type: string
  15971. type: object
  15972. models.Unlinkermcphedgeplan:
  15973. properties:
  15974. accountid:
  15975. description: 期货账户ID - 作废
  15976. type: integer
  15977. accountname:
  15978. description: 交易用户
  15979. type: string
  15980. applyid:
  15981. description: 申请人
  15982. type: integer
  15983. applysrc:
  15984. description: 申请来源 - 1:管理端 2:终端
  15985. type: integer
  15986. applytime:
  15987. description: 申请时间
  15988. type: string
  15989. areauserid:
  15990. description: '[企业ID]机构ID'
  15991. type: integer
  15992. auditid:
  15993. description: 审核人
  15994. type: integer
  15995. auditremark:
  15996. description: 审核备注
  15997. type: string
  15998. auditsrc:
  15999. description: 审核来源 - 1:管理端 2:终端
  16000. type: integer
  16001. audittime:
  16002. description: 审核时间
  16003. type: string
  16004. audittradedate:
  16005. description: 审核交易日(yyyyMMdd)
  16006. type: string
  16007. biztype:
  16008. description: 业务类型 - 1:套保
  16009. type: integer
  16010. contracttype:
  16011. description: 计划类型 - 1:采购 -1:销售
  16012. type: integer
  16013. convertfactor:
  16014. description: 标仓系数 - 作废
  16015. type: number
  16016. createtime:
  16017. description: 创建时间
  16018. type: string
  16019. currencyid:
  16020. description: 结算币种ID - 作废
  16021. type: integer
  16022. deliverygoodsid:
  16023. description: 现货品种ID
  16024. type: integer
  16025. enumdicname:
  16026. description: 结算币种
  16027. type: string
  16028. hedgeplanid:
  16029. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  16030. type: string
  16031. hedgeplanno:
  16032. description: '[计划编号]套保计划编号,模糊查询'
  16033. type: string
  16034. hedgeplanstatus:
  16035. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  16036. type: integer
  16037. isrelated:
  16038. description: 是否已关联计划项目 - 0:否 1:是
  16039. type: integer
  16040. planqty:
  16041. description: '[计划量]计划数量'
  16042. type: number
  16043. plantime:
  16044. description: 计划时间
  16045. type: string
  16046. producttype:
  16047. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  16048. type: integer
  16049. remark:
  16050. description: 备注
  16051. type: string
  16052. spotgoodsdesc:
  16053. description: 商品型号
  16054. type: string
  16055. tradedate:
  16056. description: 交易日(yyyyMMdd)
  16057. type: string
  16058. tradeuserid:
  16059. description: 交易用户ID
  16060. type: integer
  16061. updatetime:
  16062. description: 更新时间
  16063. type: string
  16064. wrstandardid:
  16065. description: 现货商品ID
  16066. type: integer
  16067. wrstandardname:
  16068. description: 现货商品,模糊查询
  16069. type: string
  16070. required:
  16071. - areauserid
  16072. type: object
  16073. models.UserCollectConfig:
  16074. properties:
  16075. accountstatus:
  16076. description: 账户状态 - 1:正常 2:停用 3:注销
  16077. type: integer
  16078. collectaccountname:
  16079. description: 收款人账户名称
  16080. type: string
  16081. collectaccountno:
  16082. description: 收款人账户
  16083. type: string
  16084. collectbankname:
  16085. description: 收款人开户行
  16086. type: string
  16087. collectbranchbankname:
  16088. description: 收款人开户支行
  16089. type: string
  16090. collectconfigid:
  16091. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  16092. type: string
  16093. remark:
  16094. description: 备注
  16095. type: string
  16096. userid:
  16097. description: 收款人用户ID
  16098. type: integer
  16099. type: object
  16100. models.UserReceiveInfo:
  16101. properties:
  16102. address:
  16103. description: 提货人详细地址
  16104. type: string
  16105. autoid:
  16106. description: AutoID
  16107. type: integer
  16108. cardnum:
  16109. description: 证件号码(加密存储)
  16110. type: string
  16111. cardtypeid:
  16112. description: 证件类型
  16113. type: integer
  16114. cityid:
  16115. description: 市
  16116. type: integer
  16117. cityname:
  16118. description: 城市名称
  16119. type: string
  16120. countryid:
  16121. description: 国家
  16122. type: integer
  16123. countryname:
  16124. description: 国家名称
  16125. type: string
  16126. districtid:
  16127. description: 地区
  16128. type: integer
  16129. districtname:
  16130. description: 地区名称
  16131. type: string
  16132. hasencrypt:
  16133. description: 数据是否已加密 - 0:未加密 1:已加密
  16134. type: integer
  16135. isdefault:
  16136. description: 是否默认地址 - 0:否 1:是
  16137. type: integer
  16138. phonenum:
  16139. description: 提货人联系方式(加密存储)
  16140. type: string
  16141. provinceid:
  16142. description: 省
  16143. type: integer
  16144. provincename:
  16145. description: 省名称
  16146. type: string
  16147. receivername:
  16148. description: 提货人姓名
  16149. type: string
  16150. takeremark:
  16151. description: 提货备注
  16152. type: string
  16153. userid:
  16154. description: 用户ID
  16155. type: integer
  16156. type: object
  16157. models.Useraccount:
  16158. properties:
  16159. accountname:
  16160. description: 账户名称(机构名称)
  16161. type: string
  16162. accountstatus:
  16163. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16164. type: integer
  16165. applysrc:
  16166. description: 申请来源 - 1:管理端 2:终端
  16167. type: integer
  16168. auditremark:
  16169. description: 审核备注
  16170. type: string
  16171. auditsrc:
  16172. description: 审核来源 - 1:管理端 2:终端
  16173. type: integer
  16174. audittime:
  16175. description: 审核时间
  16176. type: string
  16177. audituserid:
  16178. description: 审核人
  16179. type: integer
  16180. broker:
  16181. description: 所属经纪人ID
  16182. type: integer
  16183. canceltime:
  16184. description: 销户时间
  16185. type: string
  16186. canceluserid:
  16187. description: 销户人
  16188. type: integer
  16189. canrecommend:
  16190. description: 是否可推荐 - 0:不可 1;可
  16191. type: integer
  16192. createtime:
  16193. description: 创建时间
  16194. type: string
  16195. creatorid:
  16196. description: 创建人
  16197. type: integer
  16198. hasauth:
  16199. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16200. type: integer
  16201. isanonymous:
  16202. description: 是否匿名下单 - 0:否 1:是
  16203. type: integer
  16204. maxinvestornum:
  16205. description: 最大用户数(经纪会员下投资者个数)
  16206. type: integer
  16207. memberuserid:
  16208. description: 所属会员ID
  16209. type: integer
  16210. modifierid:
  16211. description: 修改人
  16212. type: integer
  16213. modifyremark:
  16214. description: 变更备注
  16215. type: string
  16216. modifystatus:
  16217. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16218. type: integer
  16219. modifytime:
  16220. description: 修改时间
  16221. type: string
  16222. parenttopuser:
  16223. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16224. type: string
  16225. parentuserid:
  16226. description: 所属机构ID
  16227. type: integer
  16228. reckonaccountid:
  16229. description: 默认结算资金账号ID(机构分润使用) 作废
  16230. type: integer
  16231. refercount:
  16232. description: 推荐总人数
  16233. type: integer
  16234. refereeuserid:
  16235. description: 推荐人ID
  16236. type: integer
  16237. refernum:
  16238. description: 推荐码
  16239. type: string
  16240. rootuserid:
  16241. description: 根用户ID
  16242. type: integer
  16243. subaccountlevel:
  16244. description: 子账户层数
  16245. type: integer
  16246. subarealevelpath:
  16247. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16248. type: string
  16249. userid:
  16250. description: 用户ID
  16251. type: integer
  16252. usertype:
  16253. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16254. type: integer
  16255. required:
  16256. - userid
  16257. type: object
  16258. models.Userfavoritegoods:
  16259. properties:
  16260. goodsid:
  16261. description: 商品ID
  16262. type: integer
  16263. required:
  16264. - goodsid
  16265. type: object
  16266. models.Userinfo:
  16267. properties:
  16268. address:
  16269. description: 地址
  16270. type: string
  16271. attachment1:
  16272. description: 附件1
  16273. type: string
  16274. attachment2:
  16275. description: 附件2
  16276. type: string
  16277. bankaccount:
  16278. description: 银行帐号 (加密存储)
  16279. type: string
  16280. bankaccountname:
  16281. description: 收款人名称
  16282. type: string
  16283. bankcardfrontphotourl:
  16284. description: 银行卡正面照地址
  16285. type: string
  16286. bankid:
  16287. description: 银行编码
  16288. type: string
  16289. bankname:
  16290. description: 银行名称
  16291. type: string
  16292. biznature:
  16293. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16294. type: integer
  16295. bizscope:
  16296. description: 企业经营范围(企业)
  16297. type: string
  16298. cardbackphotourl:
  16299. description: 证件背面图片地址
  16300. type: string
  16301. cardfrontphotourl:
  16302. description: 证件正面图片地址
  16303. type: string
  16304. cardnum:
  16305. description: 证件号码(加密存储)
  16306. type: string
  16307. cardtypeid:
  16308. description: 证件类型ID
  16309. type: integer
  16310. cityid:
  16311. description: 市
  16312. type: integer
  16313. company:
  16314. description: 公司(个人)
  16315. type: string
  16316. contactname:
  16317. description: 联系人
  16318. type: string
  16319. countryid:
  16320. description: 国家
  16321. type: integer
  16322. createtime:
  16323. description: 创建时间
  16324. type: string
  16325. creatorid:
  16326. description: 创建人
  16327. type: integer
  16328. customername:
  16329. description: 客户名称(企业名称)
  16330. type: string
  16331. districtid:
  16332. description: 地区
  16333. type: integer
  16334. email:
  16335. description: 邮件(加密存储)
  16336. type: string
  16337. fax:
  16338. description: 传真(加密存储)
  16339. type: string
  16340. halfbodyphotourl:
  16341. description: 半身照地址
  16342. type: string
  16343. hasencrypt:
  16344. description: 数据是否已加密 - 0:未加密 1:已加密
  16345. type: integer
  16346. headurl:
  16347. description: 头像地址
  16348. type: string
  16349. legalcardbackphotourl:
  16350. description: 法人身份证背面照地址
  16351. type: string
  16352. legalcardfrontphotourl:
  16353. description: 法人身份证正面照地址
  16354. type: string
  16355. legalpersonname:
  16356. description: 法人姓名(企业)
  16357. type: string
  16358. mobile:
  16359. description: 手机号码(加密存储)
  16360. type: string
  16361. mobile2:
  16362. description: 手机号码[明文-尚志]
  16363. type: string
  16364. modifierid:
  16365. description: 修改人
  16366. type: integer
  16367. modifiertime:
  16368. description: 修改时间
  16369. type: string
  16370. needinvoice:
  16371. description: 是否需要发票 - 0:不需要 1:需要
  16372. type: integer
  16373. nickname:
  16374. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16375. type: string
  16376. openmode:
  16377. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16378. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16379. type: integer
  16380. otherurl:
  16381. description: 其它图片地址[使用分号分隔]
  16382. type: string
  16383. postalcode:
  16384. description: 邮政编码
  16385. type: string
  16386. provinceid:
  16387. description: 省
  16388. type: integer
  16389. qq:
  16390. description: QQ(加密存储
  16391. type: string
  16392. remark:
  16393. description: 备注
  16394. type: string
  16395. sex:
  16396. description: '用户性别 0: 女 1: 男'
  16397. type: integer
  16398. signpdfurl:
  16399. description: 签约pdf文件
  16400. type: string
  16401. telphone:
  16402. description: 联系电话(加密存储)
  16403. type: string
  16404. userid:
  16405. description: 用户ID
  16406. type: integer
  16407. userinfotype:
  16408. description: 用户信息类型 - 1:个人 2:企业
  16409. type: integer
  16410. userstatus:
  16411. description: 用户状态 - 1:正常 2:注销
  16412. type: integer
  16413. usertype:
  16414. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16415. type: integer
  16416. wechat:
  16417. description: 微信(加密存储)
  16418. type: string
  16419. wskhinfo:
  16420. description: 开户申请信息(JSON)
  16421. type: string
  16422. required:
  16423. - userid
  16424. type: object
  16425. models.WRSConverTDetail:
  16426. properties:
  16427. convertratio:
  16428. description: 套保系数
  16429. type: number
  16430. deliverygoodscode:
  16431. description: 现货商品代码
  16432. type: string
  16433. deliverygoodsid:
  16434. description: 现货品种ID
  16435. type: integer
  16436. deliverygoodsname:
  16437. description: 现货商品名称
  16438. type: string
  16439. enumdicname:
  16440. description: 单位名称
  16441. type: string
  16442. goodsunitid:
  16443. description: 套保品种单位id
  16444. type: integer
  16445. middlegoodscode:
  16446. description: 套保品种代码
  16447. type: string
  16448. middlegoodsid:
  16449. description: 套保品种ID
  16450. type: integer
  16451. middlegoodsname:
  16452. description: 套保品种名称
  16453. type: string
  16454. modifytime:
  16455. description: 修改时间
  16456. type: string
  16457. wrstandardid:
  16458. description: 品类ID
  16459. type: integer
  16460. type: object
  16461. models.WRStandardInfo:
  16462. properties:
  16463. areauserid:
  16464. description: 所属机构
  16465. type: integer
  16466. convertfactor:
  16467. description: 标仓系数
  16468. type: number
  16469. createtime:
  16470. description: 创建时间
  16471. type: string
  16472. creatorid:
  16473. description: 创建人
  16474. type: integer
  16475. deliverygoodsid:
  16476. description: 品种ID
  16477. type: integer
  16478. deliverygoodsname:
  16479. description: 交割商品名称
  16480. type: string
  16481. factoryitemjson:
  16482. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  16483. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  16484. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  16485. 逗号分隔'
  16486. type: string
  16487. isvalid:
  16488. description: 是否有效 - 0:无效 1:有效
  16489. type: integer
  16490. minivalue:
  16491. description: 最小变动值
  16492. type: integer
  16493. minivaluedp:
  16494. description: 最小变动值小数位
  16495. type: integer
  16496. realminivalue:
  16497. description: 实际最小变动值
  16498. type: integer
  16499. realminivaluedp:
  16500. description: 实际最小变动值小数位
  16501. type: integer
  16502. remark:
  16503. description: 备注
  16504. type: string
  16505. unitid:
  16506. description: 单位ID
  16507. type: integer
  16508. unitname:
  16509. description: 单位
  16510. type: string
  16511. updatetime:
  16512. description: 更新时间
  16513. type: string
  16514. updatorid:
  16515. description: 更新人
  16516. type: integer
  16517. wrsstatus:
  16518. description: 状态 - 作废 - 0:未激活 1:正常
  16519. type: integer
  16520. wrstandardcode:
  16521. description: 现货品类代码
  16522. type: string
  16523. wrstandardid:
  16524. description: 现货品类ID(SEQ_WRSTANDARD)
  16525. type: integer
  16526. wrstandardname:
  16527. description: 现货品类名称
  16528. type: string
  16529. required:
  16530. - wrstandardid
  16531. type: object
  16532. models.WRTradeBargainApply:
  16533. properties:
  16534. accountid:
  16535. description: 摘牌资金账号
  16536. type: integer
  16537. applyprice:
  16538. description: 申请价格(议价价格)
  16539. type: string
  16540. applyqty:
  16541. description: 摘牌数量(议价数量)
  16542. type: number
  16543. applyremark:
  16544. description: 申请备注
  16545. type: string
  16546. applystatus:
  16547. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  16548. type: integer
  16549. applytime:
  16550. description: 申请时间(议价时间)
  16551. type: string
  16552. begindate:
  16553. description: 开始交易日(yyyymmdd)
  16554. type: string
  16555. buyorsell:
  16556. description: 买卖(挂牌类型) - 0:买 1:卖
  16557. type: integer
  16558. confirmremark:
  16559. description: 确认备注
  16560. type: string
  16561. confirmtime:
  16562. description: 确认时间
  16563. type: string
  16564. confirmuserid:
  16565. description: 确认人
  16566. type: integer
  16567. deliverygoodscode:
  16568. description: 品种代码
  16569. type: string
  16570. deliverygoodsid:
  16571. description: 品种ID
  16572. type: integer
  16573. deliverygoodsname:
  16574. description: 品种名称
  16575. type: string
  16576. deliverymonth:
  16577. description: 交收月
  16578. type: string
  16579. enddate:
  16580. description: 结束交易日(yyyymmdd)
  16581. type: string
  16582. enumdicname:
  16583. description: 单位名称
  16584. type: string
  16585. fixedprice:
  16586. description: 挂牌价格
  16587. type: number
  16588. handlestatus:
  16589. description: 处理状态
  16590. type: integer
  16591. marginvalue:
  16592. description: 履约保证金比例
  16593. type: number
  16594. marketid:
  16595. description: 市场ID
  16596. type: integer
  16597. matchaccountid:
  16598. description: 挂牌方资金账号
  16599. type: integer
  16600. matchuserid:
  16601. description: 挂牌方用户id
  16602. type: integer
  16603. matchusername:
  16604. description: 挂牌方用户名称(已脱敏)
  16605. type: string
  16606. minivalue:
  16607. description: 现货商品最小变动值
  16608. type: integer
  16609. optioncompare:
  16610. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16611. type: string
  16612. orderqty:
  16613. description: 挂牌数量
  16614. type: integer
  16615. refprice:
  16616. description: 参考价格
  16617. type: string
  16618. retcode:
  16619. description: 委托返回代码
  16620. type: integer
  16621. templatename:
  16622. description: 履约方式(履约模板名称)
  16623. type: string
  16624. tradedate:
  16625. description: 交易日(yyyyMMdd)
  16626. type: string
  16627. userid:
  16628. description: 摘牌人用户ID(议价人ID)
  16629. type: integer
  16630. username:
  16631. description: 议价人名字(已脱敏)
  16632. type: string
  16633. validtime:
  16634. description: 有效期限
  16635. type: string
  16636. warehouseid:
  16637. description: 仓库ID
  16638. type: integer
  16639. warehousename:
  16640. description: 仓库名称
  16641. type: string
  16642. wrbargainid:
  16643. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  16644. type: string
  16645. wrfactortypeid:
  16646. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16647. type: string
  16648. wrfactortypename:
  16649. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16650. type: string
  16651. wrstandardcode:
  16652. description: 现货商品代码
  16653. type: string
  16654. wrstandardid:
  16655. description: 现货商品ID
  16656. type: integer
  16657. wrstandardname:
  16658. description: 商品名称
  16659. type: string
  16660. wrtradeorderid:
  16661. description: 关联委托单ID
  16662. type: string
  16663. wrtypename:
  16664. description: 商品
  16665. type: string
  16666. type: object
  16667. models.Warehouseinfo:
  16668. properties:
  16669. address:
  16670. description: 详细地址
  16671. type: string
  16672. areauserid:
  16673. description: 所属机构
  16674. type: integer
  16675. autoid:
  16676. description: 自增ID
  16677. type: integer
  16678. cityid:
  16679. description: 市
  16680. type: integer
  16681. contactname:
  16682. description: 联系人
  16683. type: string
  16684. contactnum:
  16685. description: 联系电话
  16686. type: string
  16687. countryid:
  16688. description: 国家
  16689. type: integer
  16690. createtime:
  16691. description: 创建时间
  16692. type: string
  16693. districtid:
  16694. description: 区
  16695. type: integer
  16696. hasvideo:
  16697. description: 是否有视频 - 0:无 1:有
  16698. type: integer
  16699. provinceid:
  16700. description: 省
  16701. type: integer
  16702. remark:
  16703. description: 审核备注
  16704. type: string
  16705. videourl:
  16706. description: 视频地址
  16707. type: string
  16708. warehousecode:
  16709. description: 仓库代码
  16710. type: string
  16711. warehousename:
  16712. description: 仓库名称
  16713. type: string
  16714. warehousestatus:
  16715. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  16716. type: integer
  16717. warehousetype:
  16718. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  16719. type: integer
  16720. required:
  16721. - autoid
  16722. - warehousecode
  16723. type: object
  16724. models.WrAverageTradePrice:
  16725. properties:
  16726. averageprice:
  16727. description: 成交均价
  16728. type: number
  16729. tradedate:
  16730. description: 交易日yyyymm
  16731. type: string
  16732. type: object
  16733. models.WrBrandAndYears:
  16734. properties:
  16735. brandlst:
  16736. description: 品牌列表
  16737. items:
  16738. $ref: '#/definitions/models.DgFactoryItem'
  16739. type: array
  16740. yearslst:
  16741. description: 年份列表
  16742. items:
  16743. $ref: '#/definitions/models.DgFactoryItem'
  16744. type: array
  16745. type: object
  16746. models.WrBsGoodsInfo:
  16747. properties:
  16748. buyorsell:
  16749. description: 买卖方向 0-买 1-卖
  16750. type: integer
  16751. goodsid:
  16752. description: 交易合约ID
  16753. type: integer
  16754. lstitem:
  16755. description: 商品信息项
  16756. items:
  16757. $ref: '#/definitions/models.WrTypeItem'
  16758. type: array
  16759. lststep:
  16760. description: 履约规则
  16761. items:
  16762. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16763. type: array
  16764. type: object
  16765. models.WrBuybackDetail:
  16766. properties:
  16767. buybackamount:
  16768. description: 回购金额
  16769. type: number
  16770. buybackqty:
  16771. description: 回购数量
  16772. type: number
  16773. buybackreleasemargin:
  16774. description: 回购释放保证金
  16775. type: number
  16776. buybacktime:
  16777. description: 回购时间
  16778. type: string
  16779. errordesc:
  16780. description: 错误描述
  16781. type: string
  16782. handlestatus:
  16783. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  16784. type: integer
  16785. relatedwrid:
  16786. description: 关联仓单ID
  16787. type: integer
  16788. scfcontractid:
  16789. description: SCF合同ID
  16790. type: string
  16791. scfwrbuybackid:
  16792. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  16793. type: integer
  16794. tradedate:
  16795. description: 交易日(yyyyMMdd)
  16796. type: string
  16797. type: object
  16798. models.WrClientAdSpaceConfig:
  16799. properties:
  16800. adspaceid:
  16801. description: 广告位ID
  16802. type: integer
  16803. adspacename:
  16804. description: 广告位名称
  16805. type: string
  16806. adspacetype:
  16807. description: 广告位类型 - 1:固定广告位
  16808. type: integer
  16809. areauserid:
  16810. description: 所属机构ID
  16811. type: integer
  16812. createdate:
  16813. description: 创建时间
  16814. type: string
  16815. imagepath:
  16816. description: 图片
  16817. type: string
  16818. modifierid:
  16819. description: 操作人
  16820. type: integer
  16821. recsize:
  16822. description: 推荐尺寸
  16823. type: string
  16824. title:
  16825. description: 标题
  16826. type: string
  16827. updatedate:
  16828. description: 更新时间
  16829. type: string
  16830. urlcontent:
  16831. description: 链接(地址\商品ID\功能菜单Key\appid)
  16832. type: string
  16833. urltype:
  16834. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  16835. type: integer
  16836. type: object
  16837. models.WrDeliveryAvalidHoldLB:
  16838. properties:
  16839. accountid:
  16840. description: 资金账号
  16841. type: integer
  16842. avalidqty:
  16843. description: 数量(可点选数量)
  16844. type: number
  16845. deliverygoodsid:
  16846. description: 品种id
  16847. type: integer
  16848. enumdicname:
  16849. description: 单位名称
  16850. type: string
  16851. goodsid:
  16852. description: x合约商品id
  16853. type: integer
  16854. ladingbillid:
  16855. description: 提单id
  16856. type: string
  16857. pgoodscode:
  16858. description: p商品代码(点价合约)
  16859. type: string
  16860. pgoodsid:
  16861. description: p商品id(点价合约)
  16862. type: integer
  16863. pgoodsname:
  16864. description: p商品名称(点价合约)
  16865. type: string
  16866. pricemove:
  16867. description: 升贴水
  16868. type: number
  16869. subnum:
  16870. description: 提单子id
  16871. type: integer
  16872. userid:
  16873. description: 用户id
  16874. type: integer
  16875. username:
  16876. description: 仓单持有人
  16877. type: string
  16878. warehousecode:
  16879. description: 仓库代码
  16880. type: string
  16881. warehouseid:
  16882. description: 仓库id
  16883. type: integer
  16884. warehousename:
  16885. description: 仓库名称
  16886. type: string
  16887. wrfactortypeid:
  16888. description: 仓单要素id
  16889. type: string
  16890. wrstandardcode:
  16891. description: 品代码
  16892. type: string
  16893. wrstandardid:
  16894. description: 品类d
  16895. type: integer
  16896. wrstandardname:
  16897. description: 品类名称
  16898. type: string
  16899. wrtypename:
  16900. description: 商品
  16901. type: string
  16902. xgoodscode:
  16903. description: x合约代码
  16904. type: string
  16905. xgoodsname:
  16906. description: x合约名称
  16907. type: string
  16908. type: object
  16909. models.WrDeliveryDetail:
  16910. properties:
  16911. accountid:
  16912. description: 账号ID
  16913. type: integer
  16914. averageprice:
  16915. description: 交割均价 = 交割金额 / 交割数量
  16916. type: number
  16917. begindate:
  16918. description: 开始交易日(yyyymmdd)
  16919. type: string
  16920. buyorsell:
  16921. description: 方向 - 0:买 1:卖
  16922. type: integer
  16923. deliveryamount:
  16924. description: 货款金额(X总货款+P总货款)
  16925. type: number
  16926. deliveryid:
  16927. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  16928. type: string
  16929. deliveryorderid:
  16930. description: 申报单号
  16931. type: string
  16932. deliverypricemove:
  16933. description: 升贴水(升贴水总额)
  16934. type: number
  16935. deliveryqty:
  16936. description: 交收数量(点选数量)
  16937. type: number
  16938. deliverystatus:
  16939. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  16940. type: integer
  16941. deliverytime:
  16942. description: 交割时间
  16943. type: string
  16944. deliverytotalamount:
  16945. description: 交收金额
  16946. type: number
  16947. enddate:
  16948. description: 结束交易日(yyyymmdd)
  16949. type: string
  16950. enumdicname:
  16951. description: 单位名称
  16952. type: string
  16953. matchaccountid:
  16954. description: 对手账号ID
  16955. type: integer
  16956. matchusername:
  16957. description: 对手方名称(仓单持有人)
  16958. type: string
  16959. p1goodsremainamount:
  16960. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  16961. type: number
  16962. pdeliverycloseqty:
  16963. description: p合约平仓数量
  16964. type: number
  16965. pdeliveryprice:
  16966. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  16967. type: number
  16968. pgoodscode:
  16969. description: 商品代码
  16970. type: string
  16971. pgoodsid:
  16972. description: p点选合约id
  16973. type: integer
  16974. pgoodsname:
  16975. description: 商品名称
  16976. type: string
  16977. ppricemode:
  16978. description: 点价价格方式 - 1:商品价 2:固定值
  16979. type: integer
  16980. tradedate:
  16981. description: 交易日(yyyymmdd)
  16982. type: string
  16983. userid:
  16984. description: 用户id
  16985. type: integer
  16986. username:
  16987. description: 用户名称
  16988. type: string
  16989. warehousename:
  16990. description: 仓库名称
  16991. type: string
  16992. wrfactortypeid:
  16993. description: 仓单要素类型ID
  16994. type: string
  16995. wrtypename:
  16996. description: 商品
  16997. type: string
  16998. xdeliverycloseqty:
  16999. description: 合约数量
  17000. type: number
  17001. xgoodsamount:
  17002. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  17003. type: number
  17004. xgoodscode:
  17005. description: 商品代码
  17006. type: string
  17007. xgoodsid:
  17008. description: x交易合约ID
  17009. type: integer
  17010. xgoodsname:
  17011. description: 商品名称
  17012. type: string
  17013. type: object
  17014. models.WrDeliveryGoodsSection:
  17015. properties:
  17016. dglst:
  17017. description: 板块商品列表
  17018. items:
  17019. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  17020. type: array
  17021. imagepath:
  17022. description: 图片地址
  17023. type: string
  17024. orderindex:
  17025. description: 排序
  17026. type: integer
  17027. sectionid:
  17028. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  17029. = 1的版块1 - 云融指数
  17030. type: integer
  17031. sectionname:
  17032. description: 版块名称
  17033. type: string
  17034. sectiontype:
  17035. description: 版块类型 - 1:指数版块 2:普通版块
  17036. type: integer
  17037. type: object
  17038. models.WrDeliveryGoodsSectionConfig:
  17039. properties:
  17040. deliverygoodscode:
  17041. description: 现货商品代码
  17042. type: string
  17043. deliverygoodsid:
  17044. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17045. type: integer
  17046. deliverygoodsname:
  17047. description: 现货商品名称
  17048. type: string
  17049. orderindex:
  17050. description: 排序
  17051. type: integer
  17052. type: object
  17053. models.WrDraftUserInfo:
  17054. properties:
  17055. address:
  17056. description: 地址
  17057. type: string
  17058. attachment1:
  17059. description: 附件1
  17060. type: string
  17061. attachment2:
  17062. description: 附件2
  17063. type: string
  17064. attachment3:
  17065. description: 附件3
  17066. type: string
  17067. attachment4:
  17068. description: 附件4
  17069. type: string
  17070. attachment5:
  17071. description: 附件5
  17072. type: string
  17073. bankaccount:
  17074. description: 银行帐号 (加密存储)
  17075. type: string
  17076. bankaccountname:
  17077. description: 收款人名称
  17078. type: string
  17079. bankcardfrontphotourl:
  17080. description: 银行卡正面照地址
  17081. type: string
  17082. bankid:
  17083. description: 银行编码
  17084. type: string
  17085. bankname:
  17086. description: 银行名称
  17087. type: string
  17088. birthday:
  17089. description: 生日(个人:年月日)
  17090. type: string
  17091. biznature:
  17092. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17093. type: integer
  17094. bizscope:
  17095. description: 企业经营范围(企业)
  17096. type: string
  17097. biztype:
  17098. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17099. type: integer
  17100. cardbackphotourl:
  17101. description: 证件背面图片地址
  17102. type: string
  17103. cardfrontphotourl:
  17104. description: 证件正面图片地址
  17105. type: string
  17106. cardnum:
  17107. description: 证件号码(加密存储)
  17108. type: string
  17109. cardtypeid:
  17110. description: 证件类型ID
  17111. type: integer
  17112. cityid:
  17113. description: 市
  17114. type: integer
  17115. company:
  17116. description: 公司(个人)
  17117. type: string
  17118. contactcardbackphotourl:
  17119. description: 联系人证件背面图片地址
  17120. type: string
  17121. contactcardfrontphotourl:
  17122. description: 联系人证件正面图片地址
  17123. type: string
  17124. contactname:
  17125. description: 联系人
  17126. type: string
  17127. countryid:
  17128. description: 国家
  17129. type: integer
  17130. createtime:
  17131. description: 创建时间
  17132. type: string
  17133. creatorid:
  17134. description: 创建人
  17135. type: integer
  17136. creditquota:
  17137. description: 授信额度(金瑞)
  17138. type: number
  17139. customername:
  17140. description: 客户名称(企业名称)
  17141. type: string
  17142. districtid:
  17143. description: 地区
  17144. type: integer
  17145. email:
  17146. description: 邮件(加密存储)
  17147. type: string
  17148. fax:
  17149. description: 传真(加密存储)
  17150. type: string
  17151. halfbodyphotourl:
  17152. description: 半身照地址
  17153. type: string
  17154. hasencrypt:
  17155. description: 数据是否已加密 - 0:未加密 1:已加密
  17156. type: integer
  17157. headurl:
  17158. description: 头像地址
  17159. type: string
  17160. legalcardbackphotourl:
  17161. description: 法人身份证背面照地址
  17162. type: string
  17163. legalcardfrontphotourl:
  17164. description: 法人身份证正面照地址
  17165. type: string
  17166. legalpersonname:
  17167. description: 法人姓名(企业)
  17168. type: string
  17169. mobile:
  17170. description: 手机号码(加密存储)
  17171. type: string
  17172. mobile2:
  17173. description: 手机号码[明文-尚志]
  17174. type: string
  17175. modifierid:
  17176. description: 修改人
  17177. type: integer
  17178. modifiertime:
  17179. description: 修改时间
  17180. type: string
  17181. needinvoice:
  17182. description: 是否需要发票 - 0:不需要 1:需要
  17183. type: integer
  17184. nickname:
  17185. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17186. type: string
  17187. openmode:
  17188. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17189. 6:苹果手机端注册 7:PC交易端注册"
  17190. type: integer
  17191. otherurl:
  17192. description: 其它图片地址[使用分号分隔]
  17193. type: string
  17194. postalcode:
  17195. description: 邮政编码
  17196. type: string
  17197. provinceid:
  17198. description: 省
  17199. type: integer
  17200. proxystatementurl:
  17201. description: 授权委托书
  17202. type: string
  17203. qq:
  17204. description: QQ(加密存储
  17205. type: string
  17206. remark:
  17207. description: 备注
  17208. type: string
  17209. sex:
  17210. description: '用户性别 0: 女 1: 男'
  17211. type: integer
  17212. signpdfurl:
  17213. description: 签约pdf文件
  17214. type: string
  17215. taxpayernum:
  17216. description: 纳税人识别号
  17217. type: string
  17218. telphone:
  17219. description: 联系电话(加密存储)
  17220. type: string
  17221. userid:
  17222. description: 用户ID
  17223. type: integer
  17224. userinfotype:
  17225. description: 用户信息类型 - 1:个人 2:企业
  17226. type: integer
  17227. userstatus:
  17228. description: 用户状态 - 1:正常 2:注销
  17229. type: integer
  17230. usertype:
  17231. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17232. type: integer
  17233. wechat:
  17234. description: 微信(加密存储)
  17235. type: string
  17236. wskhinfo:
  17237. description: 开户申请信息(JSON)
  17238. type: string
  17239. type: object
  17240. models.WrFAProductDetail:
  17241. properties:
  17242. accountid:
  17243. description: 资金账号
  17244. type: integer
  17245. areauserid:
  17246. description: 金融机构ID
  17247. type: integer
  17248. financingdays:
  17249. description: 天数(天)
  17250. type: integer
  17251. interestminlen:
  17252. description: 最小起息天数
  17253. type: integer
  17254. interestrate:
  17255. description: 利率
  17256. type: number
  17257. interestratemode:
  17258. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17259. type: integer
  17260. interestsettlemode:
  17261. description: 结息方式 - 1:按日结息 3:按月结息
  17262. type: integer
  17263. interestsettlevalue:
  17264. description: 结息方式值
  17265. type: integer
  17266. isautoloan:
  17267. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17268. type: integer
  17269. loantag:
  17270. description: '放款标识: "放款快" 或者为空'
  17271. type: string
  17272. marginratio:
  17273. description: 保证金比率质押率 - [仓单质押]
  17274. type: number
  17275. productdetailid:
  17276. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17277. type: integer
  17278. productid:
  17279. description: 金融产品ID
  17280. type: integer
  17281. productname:
  17282. description: 产品名称
  17283. type: string
  17284. updatetime:
  17285. description: 更新时间
  17286. type: string
  17287. username:
  17288. description: 融出方
  17289. type: string
  17290. type: object
  17291. models.WrFactorTypeInfo:
  17292. properties:
  17293. deliverygoodscode:
  17294. description: 品种代码
  17295. type: string
  17296. deliverygoodsname:
  17297. description: 品种名称
  17298. type: string
  17299. dgfactoryitemid:
  17300. description: 选择项id
  17301. type: integer
  17302. dgfactoryitemtypeid:
  17303. description: 要素选择项ID (1-仓库 2-品牌)
  17304. type: integer
  17305. dgfactoryitemvalue:
  17306. description: 要素项值
  17307. type: string
  17308. itemtypename:
  17309. description: 要素项名称
  17310. type: string
  17311. optioncompare:
  17312. description: 选择比较串
  17313. type: string
  17314. warehouseid:
  17315. description: 仓库id
  17316. type: integer
  17317. wrfactortypeid:
  17318. description: 仓单要素ID
  17319. type: string
  17320. wrfactortypename:
  17321. description: 要素名称
  17322. type: string
  17323. wrfactortypename2:
  17324. description: 要素名称(不含仓库)
  17325. type: string
  17326. wrstandardcode:
  17327. description: 品类代码
  17328. type: string
  17329. wrstandardid:
  17330. description: 品类id
  17331. type: integer
  17332. wrstandardname:
  17333. description: 品类名称
  17334. type: string
  17335. type: object
  17336. models.WrFilterItem:
  17337. properties:
  17338. itemcode:
  17339. description: 代码
  17340. type: string
  17341. itemid:
  17342. description: 项id
  17343. type: integer
  17344. itemname:
  17345. description: 名称
  17346. type: string
  17347. itemtype:
  17348. description: 类型 1-品种 2-品类(商品) 3-仓库
  17349. type: integer
  17350. type: object
  17351. models.WrFinanceBuyApply:
  17352. properties:
  17353. applydate:
  17354. description: 申请时间
  17355. type: string
  17356. applystatus:
  17357. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17358. type: integer
  17359. applyuserid:
  17360. description: 申请人
  17361. type: integer
  17362. auditdate:
  17363. description: 审核时间
  17364. type: string
  17365. auditremark:
  17366. description: 审核备注
  17367. type: string
  17368. audituserid:
  17369. description: 审核人
  17370. type: integer
  17371. buyaccountid:
  17372. description: 买方资金账号
  17373. type: integer
  17374. buyorsell:
  17375. description: 买卖 - 0:买 1:卖
  17376. type: integer
  17377. buyuserid:
  17378. description: 买方用户ID
  17379. type: integer
  17380. buyusername:
  17381. description: 买方名称
  17382. type: string
  17383. buywrtradeorderid:
  17384. description: 融资方买委托单ID
  17385. type: string
  17386. deliverygoodscode:
  17387. description: 品种代码
  17388. type: string
  17389. deliverygoodsid:
  17390. description: 品种ID
  17391. type: integer
  17392. deliverygoodsname:
  17393. description: 品种名称
  17394. type: string
  17395. deliverymonth:
  17396. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17397. type: string
  17398. enumdicname:
  17399. description: 单位名称
  17400. type: string
  17401. financeaccountid:
  17402. description: 融资方资金帐户ID
  17403. type: integer
  17404. financeapplyid:
  17405. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17406. type: string
  17407. financeareauserid:
  17408. description: 融资方用户ID
  17409. type: string
  17410. financename:
  17411. description: 融出方名称
  17412. type: string
  17413. financetype:
  17414. description: 融资类型 1-融资回购
  17415. type: integer
  17416. financingdays:
  17417. description: 天数(天)
  17418. type: integer
  17419. freezebuymargin:
  17420. description: 冻结融资保证金(买方)
  17421. type: number
  17422. handleremark:
  17423. description: 处理备注
  17424. type: string
  17425. handlestatus:
  17426. description: 处理状态
  17427. type: integer
  17428. interestminlen:
  17429. description: 最小起息天数
  17430. type: integer
  17431. interestrate:
  17432. description: 利率
  17433. type: number
  17434. interestratemode:
  17435. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17436. type: integer
  17437. interestsettlemode:
  17438. description: 结息方式 - 1:按日结息 3:按月结息
  17439. type: integer
  17440. interestsettlevalue:
  17441. description: 结息方式值
  17442. type: integer
  17443. isautoloan:
  17444. description: 是否自动放款 - 0:手动 1:自动
  17445. type: integer
  17446. marginratio:
  17447. description: 保证金比率质押率 - [仓单质押]
  17448. type: number
  17449. marketid:
  17450. description: 市场ID
  17451. type: integer
  17452. minivalue:
  17453. description: 现货商品最小变动值
  17454. type: integer
  17455. optioncompare:
  17456. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17457. type: string
  17458. orderqty:
  17459. description: 委托数量(商品数量)
  17460. type: number
  17461. productdetailid:
  17462. description: 产品组合ID
  17463. type: integer
  17464. productid:
  17465. description: 金融产品ID
  17466. type: integer
  17467. productname:
  17468. description: 产品名称
  17469. type: string
  17470. remark:
  17471. description: 备注
  17472. type: string
  17473. scfcontractid:
  17474. description: 仓单回购合同ID
  17475. type: string
  17476. sellaccountid:
  17477. description: 卖方资金账号
  17478. type: integer
  17479. selluserid:
  17480. description: 卖方用户ID
  17481. type: integer
  17482. sellwrtradeorderid:
  17483. description: 卖方委托单ID
  17484. type: string
  17485. tradeamount:
  17486. description: 成交金额(借款金额)
  17487. type: number
  17488. tradedate:
  17489. description: 交易日(yyyyMMdd)
  17490. type: string
  17491. tradeprice:
  17492. description: 成交价格
  17493. type: number
  17494. warehouseid:
  17495. description: 仓库ID
  17496. type: integer
  17497. warehousename:
  17498. description: 仓库名称
  17499. type: string
  17500. wrfactortypeid:
  17501. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17502. type: string
  17503. wrfactortypename:
  17504. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17505. type: string
  17506. wrpricetype:
  17507. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  17508. type: integer
  17509. wrstandardcode:
  17510. description: 现货商品代码
  17511. type: string
  17512. wrstandardid:
  17513. description: 现货商品ID
  17514. type: integer
  17515. wrstandardname:
  17516. description: 商品名称
  17517. type: string
  17518. wrtypename:
  17519. description: 商品
  17520. type: string
  17521. type: object
  17522. models.WrFriendApply:
  17523. properties:
  17524. applicantid:
  17525. description: 申请人
  17526. type: integer
  17527. applyname:
  17528. description: 申请人名称
  17529. type: string
  17530. applysrc:
  17531. description: 申请来源 - 1:管理端 2:终端
  17532. type: integer
  17533. applystatus:
  17534. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17535. type: integer
  17536. applytime:
  17537. description: 申请时间
  17538. type: string
  17539. auditname:
  17540. description: 审核人名称
  17541. type: string
  17542. auditorid:
  17543. description: 审核人
  17544. type: integer
  17545. auditremark:
  17546. description: 审核备注
  17547. type: string
  17548. auditsrc:
  17549. description: 审核来源 - 1:管理端 2:终端
  17550. type: integer
  17551. audittime:
  17552. description: 审核时间
  17553. type: string
  17554. friendapplyid:
  17555. description: 申请ID(SEQ_FRIENDAPPLY)
  17556. type: string
  17557. friendname:
  17558. description: 好友名字(已脱敏)
  17559. type: string
  17560. frienduserid:
  17561. description: 好友用户ID
  17562. type: string
  17563. remark:
  17564. description: 备注
  17565. type: string
  17566. userid:
  17567. description: 申请人用户ID
  17568. type: integer
  17569. type: object
  17570. models.WrFtDeliveryGoods:
  17571. properties:
  17572. deliverygoodscode:
  17573. description: 品种代码
  17574. type: string
  17575. deliverygoodsid:
  17576. description: 品种ID
  17577. type: integer
  17578. deliverygoodsname:
  17579. description: 品种名称
  17580. type: string
  17581. wdlst:
  17582. description: 商品列表
  17583. items:
  17584. $ref: '#/definitions/models.WrFtWrstandard'
  17585. type: array
  17586. type: object
  17587. models.WrFtWrstandard:
  17588. properties:
  17589. enumdicname:
  17590. description: 单位名称
  17591. type: string
  17592. minivalue:
  17593. description: 最小变动值
  17594. type: integer
  17595. wrstandardcode:
  17596. description: 现货商品代码
  17597. type: string
  17598. wrstandardid:
  17599. description: 现货商品ID
  17600. type: integer
  17601. wrstandardname:
  17602. description: 商品名称
  17603. type: string
  17604. type: object
  17605. models.WrGoodsInfo:
  17606. properties:
  17607. haswr:
  17608. description: 0:仓单预售 1:仓单贸易
  17609. type: integer
  17610. lstitem:
  17611. description: 商品信息项
  17612. items:
  17613. $ref: '#/definitions/models.WrTypeItem'
  17614. type: array
  17615. lststep:
  17616. description: 履约规则
  17617. items:
  17618. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17619. type: array
  17620. marketid:
  17621. description: 市场id
  17622. type: integer
  17623. type: object
  17624. models.WrGoodsPerformanceStep:
  17625. properties:
  17626. autoid:
  17627. description: AutoID
  17628. type: integer
  17629. isauto:
  17630. description: 是否自动 - 0:不自动 1:自动
  17631. type: integer
  17632. remark:
  17633. description: 备注
  17634. type: string
  17635. stepdate:
  17636. description: 天数信息(T+N)
  17637. type: string
  17638. stepdays:
  17639. description: 距离上一步天数
  17640. type: integer
  17641. stepindex:
  17642. description: 步骤序号
  17643. type: integer
  17644. stepinfo:
  17645. description: 步骤信息(步骤名称+步骤值)
  17646. type: string
  17647. steptypeid:
  17648. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17649. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17650. type: integer
  17651. steptypename:
  17652. description: 步骤名称
  17653. type: string
  17654. stepvalue:
  17655. description: 步骤值
  17656. type: number
  17657. templateid:
  17658. description: 履约计划模板ID
  17659. type: integer
  17660. type: object
  17661. models.WrHoldLB:
  17662. properties:
  17663. accountid:
  17664. description: 持有人帐户ID
  17665. type: integer
  17666. bannerpicurl:
  17667. description: Banner图
  17668. type: string
  17669. createtime:
  17670. description: 创建时间(过户时间)
  17671. type: string
  17672. deliverygoodscode:
  17673. description: 品种代码
  17674. type: string
  17675. deliverygoodsid:
  17676. description: 品种ID
  17677. type: integer
  17678. deliverygoodsname:
  17679. description: 品种名称
  17680. type: string
  17681. enableqty:
  17682. description: 可用数量
  17683. type: number
  17684. enumdicname:
  17685. description: 单位名称
  17686. type: string
  17687. freezerqty:
  17688. description: 冻结数量
  17689. type: number
  17690. ladingbillid:
  17691. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17692. type: string
  17693. minivalue:
  17694. description: 现货商品最小变动值
  17695. type: integer
  17696. optioncompare:
  17697. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17698. type: string
  17699. parentsubnum:
  17700. description: 拆分父子单号
  17701. type: integer
  17702. pledgeqty:
  17703. description: 质押数量
  17704. type: number
  17705. qty:
  17706. description: 数量
  17707. type: number
  17708. subnum:
  17709. description: 提单子单号
  17710. type: integer
  17711. thumurls:
  17712. description: 缩略图
  17713. type: string
  17714. tradedate:
  17715. description: 交易日(yyyyMMdd)
  17716. type: string
  17717. userid:
  17718. description: 持有人ID
  17719. type: integer
  17720. warehouseid:
  17721. description: 仓库ID
  17722. type: integer
  17723. warehousename:
  17724. description: 仓库名称
  17725. type: string
  17726. wrfactortypeid:
  17727. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17728. type: string
  17729. wrfactortypename:
  17730. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17731. type: string
  17732. wrholdeno:
  17733. description: 仓单编号
  17734. type: string
  17735. wrid:
  17736. description: 仓单变更ID
  17737. type: string
  17738. wrstandardcode:
  17739. description: 现货商品代码
  17740. type: string
  17741. wrstandardid:
  17742. description: 现货商品ID
  17743. type: integer
  17744. wrstandardname:
  17745. description: 商品名称
  17746. type: string
  17747. wrtypename:
  17748. description: 商品
  17749. type: string
  17750. type: object
  17751. models.WrMarketTradeConfig:
  17752. properties:
  17753. basisdownratio:
  17754. description: 浮动价基差下限比例(仓单贸易)
  17755. type: number
  17756. basisupratio:
  17757. description: 浮动价基差上限比例(仓单贸易)
  17758. type: number
  17759. buychargealgorithm:
  17760. description: 买方手续费收取方式 1:比率 2:固定
  17761. type: integer
  17762. buychargealgorithm2:
  17763. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  17764. type: integer
  17765. buychargealgorithmvalue:
  17766. description: 买方手续费设置值(交易所部分)
  17767. type: number
  17768. buychargealgorithmvalue2:
  17769. description: 买方手续费设置值(会员部分)
  17770. type: number
  17771. buychargealgorithmvalue3:
  17772. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  17773. type: number
  17774. buychargealgorithmvalue4:
  17775. description: 回购买方手续费设置值(会员部分) --77:现货商城
  17776. type: number
  17777. buyfirstmarginalgorithm:
  17778. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  17779. type: integer
  17780. buyfirstmarginvalue:
  17781. description: 买方出价保证金设置值 - [竞拍]
  17782. type: number
  17783. buymarginalgorithm:
  17784. description: 买方保证金方式 - 1:比率 2:固定
  17785. type: integer
  17786. buymarginvalue:
  17787. description: 买方保证金设置值
  17788. type: number
  17789. buyreleaseratio:
  17790. description: 买方释放比率[2:分步履约]
  17791. type: number
  17792. executemode:
  17793. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  17794. type: integer
  17795. executeside:
  17796. description: 执行方[2:分步履约] - 1:买方 2:卖方
  17797. type: integer
  17798. failedchargealgorithm:
  17799. description: 流拍手续费收取方式 1:比率 2:固定
  17800. type: integer
  17801. failedchargevalue:
  17802. description: 流拍手续费设置值
  17803. type: number
  17804. failedchargevalue2:
  17805. description: 流拍卖方手续费设置值
  17806. type: number
  17807. holddays:
  17808. description: 合同期限[2:分步履约]
  17809. type: integer
  17810. listingmode:
  17811. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17812. type: integer
  17813. marketid:
  17814. description: 市场ID-仓单贸易、竞拍、预售
  17815. type: integer
  17816. minqty:
  17817. description: 最小执行量[2:分步履约]
  17818. type: number
  17819. modifierid:
  17820. description: 修改人
  17821. type: integer
  17822. nowrquotaflag:
  17823. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  17824. type: integer
  17825. performancetempid:
  17826. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17827. 立即执行(-1)
  17828. type: integer
  17829. performancetempid2:
  17830. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17831. 立即执行
  17832. type: integer
  17833. performancetempid2s:
  17834. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17835. - 履约方式: 立即执行
  17836. type: string
  17837. performancetempids:
  17838. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17839. - 履约方式: 立即执行(-1)
  17840. type: string
  17841. performanceway:
  17842. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  17843. type: integer
  17844. sellchargealgorithm:
  17845. description: 卖方手续费收取方式 1:比率 2:固定
  17846. type: integer
  17847. sellchargealgorithm2:
  17848. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  17849. type: integer
  17850. sellchargealgorithmvalue:
  17851. description: 卖方手续费设置值(交易所部分)
  17852. type: number
  17853. sellchargealgorithmvalue2:
  17854. description: 卖方手续费设置值(会员部分)
  17855. type: number
  17856. sellchargealgorithmvalue3:
  17857. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  17858. type: number
  17859. sellchargealgorithmvalue4:
  17860. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  17861. type: number
  17862. sellmarginalgorithm:
  17863. description: 卖方保证金方式 - 1:比率 2:固定
  17864. type: integer
  17865. sellmarginvalue:
  17866. description: 卖方保证金设置值
  17867. type: number
  17868. sellmarginvalue2:
  17869. description: 卖方保证金设置值(无仓单)
  17870. type: number
  17871. sellreleaseratio:
  17872. description: 卖方释放比率[2:分步履约]
  17873. type: number
  17874. updatetime:
  17875. description: 更新时间
  17876. type: string
  17877. type: object
  17878. models.WrOrderDetail:
  17879. properties:
  17880. accountid:
  17881. description: 交易账号(资金账号)
  17882. type: integer
  17883. allfriendsflag:
  17884. description: 是否全好友可见 - 0:否 1:是
  17885. type: integer
  17886. amount:
  17887. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  17888. type: number
  17889. bannerpicurl:
  17890. description: Banner图
  17891. type: string
  17892. begindate:
  17893. description: 开始交易日(yyyymmdd)
  17894. type: string
  17895. buyorsell:
  17896. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17897. type: integer
  17898. canbargain:
  17899. description: 是否可议价 - 0:不可 1:可
  17900. type: integer
  17901. cancelqty:
  17902. description: 撤销数量
  17903. type: number
  17904. canpart:
  17905. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  17906. type: integer
  17907. delistminqty:
  17908. description: 起摘数量
  17909. type: integer
  17910. deliverygoodscode:
  17911. description: 品种代码
  17912. type: string
  17913. deliverygoodsid:
  17914. description: 品种ID
  17915. type: integer
  17916. deliverygoodsname:
  17917. description: 品种名称
  17918. type: string
  17919. deliverymonth:
  17920. description: 交收月
  17921. type: string
  17922. enddate:
  17923. description: 结束交易日(yyyymmdd)
  17924. type: string
  17925. enumdicname:
  17926. description: 单位名称
  17927. type: string
  17928. fixedprice:
  17929. description: 固定价格 - [挂牌]
  17930. type: number
  17931. freezecharge:
  17932. description: 冻结手续费
  17933. type: number
  17934. freezemargin:
  17935. description: 冻结保证金(保证金)
  17936. type: number
  17937. futupricemove:
  17938. description: 期货升贴水
  17939. type: number
  17940. futushow:
  17941. description: 期货合约/升贴水
  17942. type: string
  17943. goodscode:
  17944. description: 期货合约
  17945. type: string
  17946. goodsid:
  17947. description: 期货商品id
  17948. type: integer
  17949. goodsname:
  17950. description: 商品名称
  17951. type: string
  17952. haswr:
  17953. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17954. type: integer
  17955. isspecified:
  17956. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  17957. type: integer
  17958. ladingbillid:
  17959. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17960. type: string
  17961. marginvalue:
  17962. description: 保证金设置值(履约保证金)
  17963. type: number
  17964. marketid:
  17965. description: 市场ID
  17966. type: integer
  17967. matchusername:
  17968. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  17969. type: string
  17970. minivalue:
  17971. description: 现货商品最小变动值
  17972. type: integer
  17973. optioncompare:
  17974. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17975. type: string
  17976. orderqty:
  17977. description: 委托数量
  17978. type: number
  17979. ordertime:
  17980. description: 委托时间(挂牌时间)
  17981. type: string
  17982. performancetemplateid:
  17983. description: 履约模板id
  17984. type: integer
  17985. pricemove:
  17986. description: 升贴水(浮动价时填写) - [挂牌]
  17987. type: number
  17988. taname:
  17989. description: 交易用户名称(资金账号名称)
  17990. type: string
  17991. thumurls:
  17992. description: 缩略图
  17993. type: string
  17994. tradedate:
  17995. description: 交易日(yyyyMMdd)
  17996. type: string
  17997. tradeprice:
  17998. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17999. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  18000. type: number
  18001. tradeqty:
  18002. description: 成交数量
  18003. type: number
  18004. userid:
  18005. description: 用户ID
  18006. type: integer
  18007. validtime:
  18008. description: 挂牌有效期
  18009. type: string
  18010. validtype:
  18011. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18012. type: integer
  18013. warehouseid:
  18014. description: 仓库ID
  18015. type: integer
  18016. warehousename:
  18017. description: 仓库名称
  18018. type: string
  18019. wrfactortypeid:
  18020. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18021. type: string
  18022. wrfactortypename:
  18023. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18024. type: string
  18025. wrpricetype:
  18026. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18027. type: integer
  18028. wrstandardcode:
  18029. description: 现货商品代码
  18030. type: string
  18031. wrstandardid:
  18032. description: 现货商品ID
  18033. type: integer
  18034. wrstandardname:
  18035. description: 商品名称
  18036. type: string
  18037. wrtradeorderid:
  18038. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18039. type: string
  18040. wrtradeorderstatus:
  18041. 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:撤单解冻贷款失败
  18042. type: integer
  18043. wrtradetype:
  18044. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18045. type: integer
  18046. wrtypename:
  18047. description: 商品
  18048. type: string
  18049. type: object
  18050. models.WrOrderQuote:
  18051. properties:
  18052. bannerpicurl:
  18053. description: Banner图
  18054. type: string
  18055. buyprice:
  18056. description: 买价
  18057. type: number
  18058. buypricemove:
  18059. description: 买升贴水(基差)
  18060. type: number
  18061. buyqty:
  18062. description: 买量
  18063. type: number
  18064. deliverygoodscode:
  18065. description: 品种代码
  18066. type: string
  18067. deliverygoodsid:
  18068. description: 品种id
  18069. type: integer
  18070. deliverygoodsname:
  18071. description: 品种名称
  18072. type: string
  18073. deliverymonth:
  18074. description: 交收月
  18075. type: string
  18076. enumdicname:
  18077. description: 单位名称
  18078. type: string
  18079. goodscode:
  18080. description: 商品合约(浮动价列表才有)
  18081. type: string
  18082. goodsid:
  18083. description: 商品id(浮动价列表才有)
  18084. type: integer
  18085. minivalue:
  18086. description: 现货商品最小变动值
  18087. type: integer
  18088. pictureurls:
  18089. description: 详情图片(逗号分隔)
  18090. type: string
  18091. sellprice:
  18092. description: 卖价
  18093. type: number
  18094. sellpricemove:
  18095. description: 卖升贴水(基差)
  18096. type: number
  18097. sellqty:
  18098. description: 卖量
  18099. type: number
  18100. thumurls:
  18101. description: 缩略图片(1:1)(逗号分隔)
  18102. type: string
  18103. warehousecode:
  18104. description: 仓库代码
  18105. type: string
  18106. warehouseid:
  18107. description: 仓库id
  18108. type: integer
  18109. warehousename:
  18110. description: 仓库名称
  18111. type: string
  18112. wrfactortypeid:
  18113. description: 仓单要素id
  18114. type: string
  18115. wrfactortypename:
  18116. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18117. type: string
  18118. wrgoodsname:
  18119. description: 商品(商品名称+仓库要素名称 拼接)
  18120. type: string
  18121. wrstandardcode:
  18122. description: 商品代码
  18123. type: string
  18124. wrstandardid:
  18125. description: 商品id
  18126. type: integer
  18127. wrstandardname:
  18128. description: 商品名称
  18129. type: string
  18130. type: object
  18131. models.WrOrderQuoteDetail:
  18132. properties:
  18133. buyorsell:
  18134. description: 买卖 - 0:买 1:卖
  18135. type: integer
  18136. delistminqty:
  18137. description: 起摘数量
  18138. type: number
  18139. deliverymonth:
  18140. description: 交收月
  18141. type: string
  18142. enumdicname:
  18143. description: 单位名称
  18144. type: string
  18145. fixedprice:
  18146. description: 买(卖)价
  18147. type: number
  18148. marketid:
  18149. description: 市场id
  18150. type: integer
  18151. minivalue:
  18152. description: 现货商品最小变动值
  18153. type: integer
  18154. orderqty:
  18155. description: 买(卖)量(=委托量-成交量)
  18156. type: number
  18157. ordertime:
  18158. description: 委托时间
  18159. type: string
  18160. pricemove:
  18161. description: 买(卖)升贴水- 基差
  18162. type: number
  18163. userid:
  18164. description: 购买方(销售方)用户ID
  18165. type: integer
  18166. username:
  18167. description: 购买方(销售方)
  18168. type: string
  18169. wrtradeorderid:
  18170. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18171. type: string
  18172. type: object
  18173. models.WrOutInApply:
  18174. properties:
  18175. applyid:
  18176. description: 申请单id
  18177. type: string
  18178. applystatus:
  18179. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18180. 8:已撤销
  18181. type: integer
  18182. applytime:
  18183. description: 申请时间
  18184. type: string
  18185. applytype:
  18186. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18187. type: integer
  18188. bannerpicurl:
  18189. description: Banner图
  18190. type: string
  18191. begindate:
  18192. description: 开始交易日(yyyymmdd)
  18193. type: string
  18194. deliverygoodscode:
  18195. description: 品种代码
  18196. type: string
  18197. deliverygoodsid:
  18198. description: 品种ID
  18199. type: integer
  18200. deliverygoodsname:
  18201. description: 品种名称
  18202. type: string
  18203. enddate:
  18204. description: 结束交易日(yyyymmdd)
  18205. type: string
  18206. enumdicname:
  18207. description: 单位名称
  18208. type: string
  18209. expresscompany:
  18210. description: 物流公司
  18211. type: string
  18212. expressnum:
  18213. description: 物流单号
  18214. type: string
  18215. minivalue:
  18216. description: 现货商品最小变动值
  18217. type: integer
  18218. optioncompare:
  18219. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18220. type: string
  18221. qty:
  18222. description: 数量
  18223. type: integer
  18224. userid:
  18225. description: 用户id
  18226. type: integer
  18227. warehouseid:
  18228. description: 仓库ID
  18229. type: integer
  18230. warehousename:
  18231. description: 仓库名称
  18232. type: string
  18233. wrfactortypeid:
  18234. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18235. type: string
  18236. wrfactortypename:
  18237. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18238. type: string
  18239. wrstandardcode:
  18240. description: 现货商品代码
  18241. type: string
  18242. wrstandardid:
  18243. description: 现货商品ID
  18244. type: integer
  18245. wrstandardname:
  18246. description: 商品名称
  18247. type: string
  18248. wrtypename:
  18249. description: 商品
  18250. type: string
  18251. type: object
  18252. models.WrPerformancePlan:
  18253. properties:
  18254. activatemonth:
  18255. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18256. type: string
  18257. amount:
  18258. description: 履约金额(总金额)
  18259. type: number
  18260. begindate:
  18261. description: 开始交易日(yyyymmdd)
  18262. type: string
  18263. buyaccountid:
  18264. description: 买方账号
  18265. type: integer
  18266. buyerfreezeamount:
  18267. description: 履约冻结(买履约)
  18268. type: number
  18269. buyerfreezeamountremain:
  18270. description: 履约冻结剩余(买履约)
  18271. type: number
  18272. buyorsell:
  18273. description: 买卖方向 0-买 1-卖
  18274. type: integer
  18275. buypaidamount:
  18276. description: 买方已冻/已扣金额 (已付金额)
  18277. type: number
  18278. buyusername:
  18279. description: 买方名字
  18280. type: string
  18281. contractid:
  18282. description: 合同ID
  18283. type: integer
  18284. createtime:
  18285. description: 创建时间
  18286. type: string
  18287. creatorid:
  18288. description: 创建人
  18289. type: integer
  18290. curstepdeadline:
  18291. description: 当前步骤到期时间
  18292. type: string
  18293. curstepid:
  18294. description: 当前步骤ID
  18295. type: string
  18296. curstepname:
  18297. description: 当前步骤名称
  18298. type: string
  18299. deliverygoodscode:
  18300. description: 品种代码
  18301. type: string
  18302. deliverygoodsid:
  18303. description: 品种ID
  18304. type: integer
  18305. deliverygoodsname:
  18306. description: 品种名称
  18307. type: string
  18308. enddate:
  18309. description: 结束交易日(yyyymmdd)
  18310. type: string
  18311. enumdicname:
  18312. description: 单位名称
  18313. type: string
  18314. expressfee:
  18315. description: 运费
  18316. type: number
  18317. expressfeeconfirmed:
  18318. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18319. type: integer
  18320. hasovershort:
  18321. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18322. type: integer
  18323. haswr:
  18324. description: 类型 0-仓单预售 1-仓单贸易
  18325. type: integer
  18326. marketid:
  18327. description: 市场ID
  18328. type: integer
  18329. middleaccountid:
  18330. description: 中间商资金账号ID
  18331. type: integer
  18332. middleuserid:
  18333. description: 中间商用户ID
  18334. type: integer
  18335. minivalue:
  18336. description: 现货商品最小变动值
  18337. type: integer
  18338. optioncompare:
  18339. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18340. type: string
  18341. overshortamount:
  18342. description: 溢短金额
  18343. type: number
  18344. overshortqty:
  18345. description: 溢短数量
  18346. type: number
  18347. paymenttype:
  18348. description: 付款方式 - 1:冻结 2:扣款
  18349. type: integer
  18350. performanceplanid:
  18351. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18352. type: string
  18353. performancestatus:
  18354. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18355. 9:超时待处理 10:超时关闭
  18356. type: integer
  18357. performancetype:
  18358. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18359. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18360. type: integer
  18361. qty:
  18362. description: 履约数量
  18363. type: number
  18364. relatedorderid:
  18365. description: 关联单号(履约类型的关联单号)
  18366. type: string
  18367. remark:
  18368. description: 备注
  18369. type: string
  18370. sellaccountid:
  18371. description: 卖方账号
  18372. type: integer
  18373. sellerfreezeamount:
  18374. description: 履约冻结(卖履约)
  18375. type: number
  18376. sellerfreezeamountremain:
  18377. description: 履约冻结剩余(卖履约)
  18378. type: number
  18379. sellreceivedamount:
  18380. description: 卖方已收金额
  18381. type: number
  18382. sellusername:
  18383. description: 卖方名字
  18384. type: string
  18385. shipremark:
  18386. description: 发货备注[物流单号]
  18387. type: string
  18388. starttime:
  18389. description: 开始时间
  18390. type: string
  18391. steptypeid:
  18392. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18393. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18394. type: integer
  18395. typename:
  18396. description: 履约类型 名称
  18397. type: string
  18398. unpaidamount:
  18399. description: 剩余款(待支付金额)
  18400. type: number
  18401. userid:
  18402. description: 用户id
  18403. type: integer
  18404. warehouseid:
  18405. description: 仓库ID
  18406. type: integer
  18407. warehousename:
  18408. description: 仓库名称
  18409. type: string
  18410. wrfactortypeid:
  18411. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18412. type: string
  18413. wrfactortypename:
  18414. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18415. type: string
  18416. wrstandardcode:
  18417. description: 现货商品代码
  18418. type: string
  18419. wrstandardid:
  18420. description: 现货商品ID
  18421. type: integer
  18422. wrstandardname:
  18423. description: 商品名称
  18424. type: string
  18425. wrtransferuserid:
  18426. description: 仓单受让用户
  18427. type: integer
  18428. wrtypename:
  18429. description: 商品
  18430. type: string
  18431. required:
  18432. - userid
  18433. type: object
  18434. models.WrPerformancePlanStep:
  18435. properties:
  18436. delaydays:
  18437. description: 延期申请天数
  18438. type: integer
  18439. deliverygoodscode:
  18440. description: 品种代码
  18441. type: string
  18442. deliverygoodsid:
  18443. description: 品种ID
  18444. type: integer
  18445. deliverygoodsname:
  18446. description: 品种名称
  18447. type: string
  18448. endtime:
  18449. description: 结束日期
  18450. type: string
  18451. enumdicname:
  18452. description: 单位名称
  18453. type: string
  18454. executeside:
  18455. description: 步骤执行方 - 1:买方 2:卖方
  18456. type: integer
  18457. handlestatus:
  18458. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18459. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18460. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18461. type: integer
  18462. isauto:
  18463. description: 是否自动 - 0:不自动 1:自动
  18464. type: integer
  18465. islastreceivestep:
  18466. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18467. type: integer
  18468. minivalue:
  18469. description: 现货商品最小变动值
  18470. type: integer
  18471. optioncompare:
  18472. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18473. type: string
  18474. overdays:
  18475. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18476. type: integer
  18477. performancestepid:
  18478. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18479. type: string
  18480. planid:
  18481. description: 所属履约计划ID
  18482. type: string
  18483. realamount:
  18484. description: 实际完成金额
  18485. type: number
  18486. relatedorderid:
  18487. description: 关联单号
  18488. type: string
  18489. remaindays:
  18490. description: 剩余天数
  18491. type: integer
  18492. remark:
  18493. description: 错误备注
  18494. type: string
  18495. starttime:
  18496. description: 开始日期
  18497. type: string
  18498. stepamount:
  18499. description: 步骤金额
  18500. type: number
  18501. stepdays:
  18502. description: 距离上一步天数(分钟)
  18503. type: integer
  18504. stepindex:
  18505. description: 步骤序号
  18506. type: integer
  18507. steplanchtype:
  18508. description: 步骤启动类型 - 1:系统自动 2:手动
  18509. type: integer
  18510. stepremark:
  18511. description: 步骤备注
  18512. type: string
  18513. stepstatus:
  18514. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  18515. type: integer
  18516. steptypeid:
  18517. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18518. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18519. type: integer
  18520. steptypename:
  18521. description: 步骤名称
  18522. type: string
  18523. stepvalue:
  18524. description: 步骤值
  18525. type: number
  18526. warehouseid:
  18527. description: 仓库ID
  18528. type: integer
  18529. warehousename:
  18530. description: 仓库名称
  18531. type: string
  18532. wrfactortypeid:
  18533. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18534. type: string
  18535. wrfactortypename:
  18536. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18537. type: string
  18538. wrstandardcode:
  18539. description: 现货商品代码
  18540. type: string
  18541. wrstandardid:
  18542. description: 现货商品ID
  18543. type: integer
  18544. wrstandardname:
  18545. description: 商品名称
  18546. type: string
  18547. wrtypename:
  18548. description: 商品
  18549. type: string
  18550. type: object
  18551. models.WrPerformanceStepType:
  18552. properties:
  18553. canauto:
  18554. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  18555. type: integer
  18556. steptypeid:
  18557. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  18558. type: integer
  18559. steptypename:
  18560. description: 步骤类型名称
  18561. type: string
  18562. type: object
  18563. models.WrPerformanceTemplateEx:
  18564. properties:
  18565. autoid:
  18566. description: AutoID 模板id
  18567. type: integer
  18568. createtime:
  18569. description: 创建时间
  18570. type: string
  18571. creatorid:
  18572. description: 创建人
  18573. type: integer
  18574. lstStep:
  18575. description: 步骤信息列表
  18576. items:
  18577. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18578. type: array
  18579. paymenttype:
  18580. description: 支付方式 - 1:冻结 2:扣款
  18581. type: integer
  18582. takemode:
  18583. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  18584. type: integer
  18585. templatename:
  18586. description: 模板名称
  18587. type: string
  18588. templatetype:
  18589. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  18590. (无仓单) 5:挂牌期权 6:竞拍-降价式
  18591. type: integer
  18592. userid:
  18593. description: 所属用户
  18594. type: integer
  18595. type: object
  18596. models.WrPosition:
  18597. properties:
  18598. accountid:
  18599. description: 帐户ID
  18600. type: integer
  18601. buyexcuteqty:
  18602. description: 采购履约中数量
  18603. type: number
  18604. creditcurqty:
  18605. description: 授信当前数量(预售仓单:预售当前量)
  18606. type: number
  18607. creditenableqty:
  18608. description: '授信可用数量(预售仓单: 可用数量)'
  18609. type: number
  18610. creditfreezeqty:
  18611. description: '授信冻结数量(预售仓单: 当前数量)'
  18612. type: number
  18613. credittotalqty:
  18614. description: 授信总数量(预售仓单:预售总量)
  18615. type: number
  18616. credittradeqty:
  18617. description: 授信成交数量(预售仓单:成交总量)
  18618. type: number
  18619. deliverygoodscode:
  18620. description: 品种代码
  18621. type: string
  18622. deliverygoodsid:
  18623. description: 品种ID
  18624. type: integer
  18625. deliverygoodsname:
  18626. description: 品种名称
  18627. type: string
  18628. enalbeqty:
  18629. description: 可用数量
  18630. type: number
  18631. enumdicname:
  18632. description: 单位名称
  18633. type: string
  18634. freezeqty:
  18635. description: 总冻结数量
  18636. type: number
  18637. haswr:
  18638. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18639. type: integer
  18640. minivalue:
  18641. description: 现货商品最小变动值
  18642. type: integer
  18643. modifytime:
  18644. description: 修改时间(过户时间)
  18645. type: string
  18646. optioncompare:
  18647. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18648. type: string
  18649. pledgeqty:
  18650. description: 质押数量
  18651. type: number
  18652. querytype:
  18653. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  18654. type: integer
  18655. sellexcuteqty:
  18656. description: 销售履约中数量
  18657. type: number
  18658. totalqty:
  18659. description: 总数量(库存数量)
  18660. type: number
  18661. warehouseid:
  18662. description: 仓库ID
  18663. type: integer
  18664. warehousename:
  18665. description: 仓库名称
  18666. type: string
  18667. wrfactortypeid:
  18668. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18669. type: string
  18670. wrfactortypename:
  18671. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18672. type: string
  18673. wrpositionid:
  18674. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18675. type: string
  18676. wrpositionno:
  18677. description: 仓单编号
  18678. type: string
  18679. wrstandardcode:
  18680. description: 现货商品代码
  18681. type: string
  18682. wrstandardid:
  18683. description: 现货商品ID
  18684. type: integer
  18685. wrstandardname:
  18686. description: 商品名称
  18687. type: string
  18688. wrtypename:
  18689. description: 商品
  18690. type: string
  18691. wruserid:
  18692. description: 持有人ID
  18693. type: integer
  18694. type: object
  18695. models.WrPreSaleInfo:
  18696. properties:
  18697. bannerpicurl:
  18698. description: Banner图
  18699. type: string
  18700. baseqty:
  18701. description: 中签基数
  18702. type: number
  18703. createtime:
  18704. description: 创建时间
  18705. type: string
  18706. deliverygoodsid:
  18707. description: 现货品种ID
  18708. type: integer
  18709. enddate:
  18710. description: 预售结束日期
  18711. type: string
  18712. enumdicname:
  18713. description: 单位名称
  18714. type: string
  18715. lotteryflag:
  18716. description: 摇号标识 - 0:未摇号 1:已摇号
  18717. type: integer
  18718. lotteryqty:
  18719. description: 摇号总量
  18720. type: number
  18721. luckyqty:
  18722. description: 已中签量
  18723. type: number
  18724. marketid:
  18725. description: 市场ID
  18726. type: integer
  18727. maxbuyqty:
  18728. description: 单人最大申购量
  18729. type: number
  18730. maxluckyqty:
  18731. description: 单人最大中签量
  18732. type: number
  18733. pictureurls:
  18734. description: 详情图片(逗号分隔)
  18735. type: string
  18736. placeqty:
  18737. description: 已配售量
  18738. type: number
  18739. presaleapplyid:
  18740. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18741. example: "0"
  18742. type: string
  18743. presaleqty:
  18744. description: 预售总量
  18745. type: number
  18746. presalestatus:
  18747. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  18748. type: integer
  18749. sellaccountid:
  18750. description: 发行方资金账户ID
  18751. type: integer
  18752. selluserid:
  18753. description: 发行方用户ID
  18754. type: integer
  18755. sellwrtradeorderid:
  18756. description: 发行方卖委托单ID
  18757. type: string
  18758. startdate:
  18759. description: 预售开始日期
  18760. type: string
  18761. takestartdate:
  18762. description: 提货开始日期
  18763. type: string
  18764. thumurls:
  18765. description: 缩略图片(1:1)(逗号分隔)
  18766. type: string
  18767. tradedate:
  18768. description: 交易日
  18769. type: string
  18770. unitid:
  18771. description: 单位ID
  18772. type: integer
  18773. unitprice:
  18774. description: 商品单价
  18775. type: number
  18776. username:
  18777. description: 发行方用户名称
  18778. type: string
  18779. warehousecode:
  18780. description: 仓库代码(仓库简称)
  18781. type: string
  18782. warehouseid:
  18783. description: 仓库ID
  18784. type: integer
  18785. warehousename:
  18786. description: 仓库名称
  18787. type: string
  18788. wrfactortypeid:
  18789. description: 仓单要素类型ID - 根据现货商品\仓库生成
  18790. example: "0"
  18791. type: string
  18792. wrstandardid:
  18793. description: 现货商品ID
  18794. type: integer
  18795. wrstandardname:
  18796. description: 现货商品名称
  18797. type: string
  18798. type: object
  18799. models.WrQuoteOrderMyq:
  18800. properties:
  18801. buyorsell:
  18802. description: 买卖 - 0:买 1:卖
  18803. type: integer
  18804. canbargain:
  18805. description: 是否可议价 - 0:不可 1:可
  18806. type: integer
  18807. canpart:
  18808. description: 是否允许部份摘牌 - 0:不允许 1:允许
  18809. type: integer
  18810. delistminqty:
  18811. description: 起摘数量
  18812. type: number
  18813. deliverygoodscode:
  18814. description: 品种代码
  18815. type: string
  18816. deliverygoodsid:
  18817. description: 品种ID
  18818. type: integer
  18819. deliverygoodsname:
  18820. description: 品种名称
  18821. type: string
  18822. deliverymonth:
  18823. description: 交收月
  18824. type: string
  18825. enumdicname:
  18826. description: 单位名称
  18827. type: string
  18828. fixedprice:
  18829. description: 买(卖)价
  18830. type: number
  18831. goodscode:
  18832. description: 商品合约代码
  18833. type: string
  18834. marginflag:
  18835. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  18836. type: integer
  18837. marginvalue:
  18838. description: 保证金设置值
  18839. type: number
  18840. minivalue:
  18841. description: 现货商品最小变动值
  18842. type: integer
  18843. orderqty:
  18844. description: 买(卖)量(=委托量-成交量)
  18845. type: number
  18846. ordertime:
  18847. description: 委托时间
  18848. type: string
  18849. performancetemplateid:
  18850. description: 履约模板id
  18851. type: integer
  18852. pricemove:
  18853. description: 买(卖)升贴水- 基差
  18854. type: number
  18855. templatename:
  18856. description: 履约模板名称
  18857. type: string
  18858. userid:
  18859. description: 购买方(销售方)用户ID
  18860. type: integer
  18861. username:
  18862. description: 购买方(销售方)
  18863. type: string
  18864. validtime:
  18865. description: 有效期限
  18866. type: string
  18867. validtype:
  18868. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18869. type: integer
  18870. warehousename:
  18871. description: 仓库名称
  18872. type: string
  18873. wrfactortypeid:
  18874. description: 仓单要素id
  18875. type: string
  18876. wrstandardcode:
  18877. description: 现货商品代码
  18878. type: string
  18879. wrstandardid:
  18880. description: 现货商品ID
  18881. type: integer
  18882. wrstandardname:
  18883. description: 商品名称
  18884. type: string
  18885. wrtradeorderid:
  18886. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18887. type: string
  18888. wrtypename:
  18889. description: 商品
  18890. type: string
  18891. type: object
  18892. models.WrReckonSpotGoodsTradeSum:
  18893. properties:
  18894. begindate:
  18895. description: 开始日期(结果含开始日期) yyyymmdd
  18896. type: string
  18897. enddate:
  18898. description: 结束日期(结果含结束日期) yyyymmdd
  18899. type: string
  18900. istoday:
  18901. description: 是否当日
  18902. type: boolean
  18903. marketid:
  18904. description: 市场ID
  18905. type: integer
  18906. price:
  18907. description: 价格 = 日成交金额 / 日成交数量
  18908. type: string
  18909. reckondate:
  18910. description: 日期 格式 yyyymmdd
  18911. type: string
  18912. tradeamount:
  18913. description: 日成交金额(当日单方向成交金额)
  18914. type: number
  18915. tradeqty:
  18916. description: 日成交数量(当日单方向成交数量)
  18917. type: number
  18918. wrstandardid:
  18919. description: 现货商品ID
  18920. type: integer
  18921. type: object
  18922. models.WrScfContract:
  18923. properties:
  18924. borroweruserid:
  18925. description: 借款用户ID
  18926. type: integer
  18927. buybackwrpositionqty:
  18928. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  18929. type: number
  18930. closeinterest:
  18931. description: 已结利息 -> 已结费用
  18932. type: number
  18933. currisklevel:
  18934. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  18935. type: integer
  18936. deadline:
  18937. description: 截止日期(yyyyMMdd) -> 借款到期时间
  18938. type: string
  18939. deliverygoodscode:
  18940. description: 品种代码
  18941. type: string
  18942. deliverygoodsid:
  18943. description: 品种ID
  18944. type: integer
  18945. deliverygoodsname:
  18946. description: 品种名称
  18947. type: string
  18948. enumdicname:
  18949. description: 单位名称
  18950. type: string
  18951. financingdays:
  18952. description: 天数(天)
  18953. type: integer
  18954. initmargin:
  18955. description: 保证金 - [仓单回购]
  18956. type: number
  18957. interestamount:
  18958. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  18959. type: number
  18960. interestdebt:
  18961. description: 利息欠款(记录负数) -> 费用欠款
  18962. type: number
  18963. interestminlen:
  18964. description: 最小起息天数
  18965. type: integer
  18966. interestrate:
  18967. description: 利率
  18968. type: number
  18969. interestratemode:
  18970. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18971. type: integer
  18972. interestsettlemode:
  18973. description: 结息方式 - 1:按日结息 3:按月结息
  18974. type: integer
  18975. interestsettlevalue:
  18976. description: 结息方式值
  18977. type: integer
  18978. isautoloan:
  18979. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  18980. type: integer
  18981. lastcloseinterestday:
  18982. description: 最近结息日(yyyyMMdd)
  18983. type: string
  18984. lenderamount:
  18985. description: 贷款金额 -> 借款金额
  18986. type: number
  18987. lenderuserid:
  18988. description: 贷款方用户ID -> 融出方用户ID
  18989. type: integer
  18990. lenderusername:
  18991. description: 融出方
  18992. type: string
  18993. marginratio:
  18994. description: 保证金比率质押率 - [仓单质押]
  18995. type: number
  18996. marketid:
  18997. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  18998. type: integer
  18999. minivalue:
  19000. description: 现货商品最小变动值
  19001. type: integer
  19002. optioncompare:
  19003. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19004. type: string
  19005. pricemove:
  19006. description: 估值升贴水值
  19007. type: number
  19008. productdetailid:
  19009. description: 产品组合ID
  19010. type: integer
  19011. productid:
  19012. description: 金融产品ID
  19013. type: integer
  19014. productname:
  19015. description: 产品名称
  19016. type: string
  19017. remainamount:
  19018. description: 合同剩余金额 -> 剩余金额
  19019. type: number
  19020. remainwrpositionqty:
  19021. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  19022. type: number
  19023. remark:
  19024. description: 备注
  19025. type: string
  19026. scfcontractid:
  19027. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  19028. type: string
  19029. scfcontractstatus:
  19030. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  19031. 9:违约结束 10:已注销 11:已关闭 99:未提交
  19032. type: integer
  19033. scfcontracttype:
  19034. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  19035. type: integer
  19036. startinterestday:
  19037. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  19038. type: string
  19039. totalinterest:
  19040. description: 已计利息 -> 已计费用
  19041. type: number
  19042. unpaidinterest:
  19043. description: 未结费用
  19044. type: number
  19045. updatetime:
  19046. description: 更新时间
  19047. type: string
  19048. warehouseid:
  19049. description: 仓库ID
  19050. type: integer
  19051. warehousename:
  19052. description: 仓库名称
  19053. type: string
  19054. wrfactortypeid:
  19055. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19056. type: string
  19057. wrfactortypename:
  19058. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19059. type: string
  19060. wrqty:
  19061. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  19062. type: number
  19063. wrstandardcode:
  19064. description: 现货商品代码
  19065. type: string
  19066. wrstandardid:
  19067. description: 现货商品ID
  19068. type: integer
  19069. wrstandardname:
  19070. description: 商品名称
  19071. type: string
  19072. wrtypename:
  19073. description: 商品
  19074. type: string
  19075. type: object
  19076. models.WrScfContractInterest:
  19077. properties:
  19078. closeinterest:
  19079. description: 已结利息
  19080. type: number
  19081. closeintereststatus:
  19082. description: 结息状态 - 1:未结 2:已结
  19083. type: integer
  19084. closetime:
  19085. description: 结息时间
  19086. type: string
  19087. closetradedate:
  19088. description: 结息交易日
  19089. type: string
  19090. creatorid:
  19091. description: 操作人ID
  19092. type: integer
  19093. dayrate:
  19094. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  19095. type: number
  19096. interest:
  19097. description: 利息
  19098. type: number
  19099. interestamount:
  19100. description: 计息金额
  19101. type: number
  19102. interestday:
  19103. description: 计息日(yyyyMMdd)
  19104. type: string
  19105. scfcontractid:
  19106. description: SCF合同ID
  19107. type: string
  19108. scfcontractinterestid:
  19109. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19110. type: integer
  19111. updatetime:
  19112. description: 更新时间
  19113. type: string
  19114. type: object
  19115. models.WrSearchUser:
  19116. properties:
  19117. userid:
  19118. description: 用户ID
  19119. type: integer
  19120. username:
  19121. description: 用户名称(已脱敏)
  19122. type: string
  19123. username2:
  19124. description: 用户名称(未脱敏)
  19125. type: string
  19126. usertype:
  19127. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19128. type: integer
  19129. required:
  19130. - username
  19131. type: object
  19132. models.WrSiteColumnDetail:
  19133. properties:
  19134. brief:
  19135. description: 简介
  19136. type: string
  19137. context:
  19138. description: 内容
  19139. type: string
  19140. coverimage:
  19141. description: 封面图片
  19142. type: string
  19143. creaedate:
  19144. description: 创建时间
  19145. type: string
  19146. id:
  19147. description: ID(SEQ_SITE_COLUMNDETAIL)
  19148. type: integer
  19149. istop:
  19150. description: 是否置顶 - 0:不置 1:置顶
  19151. type: integer
  19152. publishdate:
  19153. description: 发布日期
  19154. type: string
  19155. title:
  19156. description: 标题
  19157. type: string
  19158. updatedate:
  19159. description: 修改时间
  19160. type: string
  19161. type: object
  19162. models.WrSpecialMatchOrder:
  19163. properties:
  19164. amount:
  19165. description: 金额 = 数量 * 价格
  19166. type: number
  19167. buyorsell:
  19168. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19169. type: integer
  19170. cancelqty:
  19171. description: 撤销数量
  19172. type: number
  19173. deliverygoodscode:
  19174. description: 品种代码
  19175. type: string
  19176. deliverygoodsid:
  19177. description: 品种ID
  19178. type: integer
  19179. deliverygoodsname:
  19180. description: 品种名称
  19181. type: string
  19182. enumdicname:
  19183. description: 单位名称
  19184. type: string
  19185. fixedprice:
  19186. description: 固定价格(价格)
  19187. type: number
  19188. haswr:
  19189. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19190. type: integer
  19191. isspecified:
  19192. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19193. type: integer
  19194. marketid:
  19195. description: 市场ID
  19196. type: integer
  19197. matchuserid:
  19198. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19199. type: integer
  19200. matchusername:
  19201. description: 指定方
  19202. type: string
  19203. minivalue:
  19204. description: 现货商品最小变动值
  19205. type: integer
  19206. optioncompare:
  19207. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19208. type: string
  19209. orderqty:
  19210. description: 委托数量
  19211. type: number
  19212. ordertime:
  19213. description: 委托时间
  19214. type: string
  19215. pricemove:
  19216. description: 升贴水(浮动价时填写) - [挂牌]
  19217. type: number
  19218. tradedate:
  19219. description: 交易日(yyyyMMdd)
  19220. type: string
  19221. tradeprice:
  19222. description: 成交价格
  19223. type: number
  19224. tradeqty:
  19225. description: 成交数量
  19226. type: number
  19227. userid:
  19228. description: 用户ID
  19229. type: integer
  19230. username:
  19231. description: 发起方
  19232. type: string
  19233. warehouseid:
  19234. description: 仓库ID
  19235. type: integer
  19236. warehousename:
  19237. description: 仓库名称
  19238. type: string
  19239. wrfactortypeid:
  19240. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19241. type: string
  19242. wrfactortypename:
  19243. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19244. type: string
  19245. wrpricetype:
  19246. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19247. type: integer
  19248. wrstandardcode:
  19249. description: 现货商品代码
  19250. type: string
  19251. wrstandardid:
  19252. description: 现货商品ID
  19253. type: integer
  19254. wrstandardname:
  19255. description: 商品名称
  19256. type: string
  19257. wrtradeorderid:
  19258. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19259. type: string
  19260. wrtradeorderstatus:
  19261. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19262. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19263. type: integer
  19264. wrtradetype:
  19265. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19266. type: integer
  19267. wrtypename:
  19268. description: 商品
  19269. type: string
  19270. type: object
  19271. models.WrSpotGroupTradeSum:
  19272. properties:
  19273. deliverygoodscode:
  19274. description: 现货品种代码
  19275. type: string
  19276. deliverygoodsid:
  19277. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19278. type: integer
  19279. deliverygoodsname:
  19280. description: 现货品种名称
  19281. type: string
  19282. lastavgprice:
  19283. description: 上上个交易日价格(前2天价格)
  19284. type: string
  19285. lastreckondate:
  19286. description: 上上个交易日(前2天交易日)
  19287. type: string
  19288. reckondate:
  19289. description: 上个交易日(前1天交易日)
  19290. type: string
  19291. todayavgprice:
  19292. description: 上个交易日价格(前1天价格)
  19293. type: string
  19294. updown:
  19295. description: 涨跌
  19296. type: string
  19297. updownratio:
  19298. description: 涨幅(已格式化, 直接显示即可)
  19299. type: string
  19300. type: object
  19301. models.WrSpotGroupTradeSumDetail:
  19302. properties:
  19303. deliverygoodsid:
  19304. description: 现货商品id
  19305. type: integer
  19306. price:
  19307. description: 价格
  19308. type: number
  19309. reckondate:
  19310. description: 日期(yyymmdd, 如:20211031)
  19311. type: string
  19312. type: object
  19313. models.WrSpotGroupTradeSumEx:
  19314. properties:
  19315. lst:
  19316. description: 指数列表
  19317. items:
  19318. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19319. type: array
  19320. prereckondate:
  19321. description: 上上个交易日(yyymmdd)
  19322. type: string
  19323. reckondate:
  19324. description: 上个交易日(yyyymmdd)
  19325. type: string
  19326. type: object
  19327. models.WrStandardFactoryItem:
  19328. properties:
  19329. dgfactoryitemid:
  19330. description: 选择项id
  19331. type: integer
  19332. dgfactoryitemvalue:
  19333. description: 要素项值
  19334. type: string
  19335. warehouseid:
  19336. description: 仓库id
  19337. type: integer
  19338. type: object
  19339. models.WrStandardFactoryItemEx:
  19340. properties:
  19341. dgfactoryitemtypeid:
  19342. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19343. type: integer
  19344. itemlst:
  19345. description: 要素项列表
  19346. items:
  19347. $ref: '#/definitions/models.WrStandardFactoryItem'
  19348. type: array
  19349. itemtypename:
  19350. description: 要素项类型名称
  19351. type: string
  19352. wrstandardid:
  19353. description: 品类
  19354. type: integer
  19355. type: object
  19356. models.WrTradeDetail:
  19357. properties:
  19358. accountid:
  19359. description: 资金账号
  19360. type: integer
  19361. bannerpicurl:
  19362. description: Banner图
  19363. type: string
  19364. begindate:
  19365. description: 开始交易日(yyyymmdd)
  19366. type: string
  19367. buyorsell:
  19368. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19369. type: integer
  19370. chargevalue:
  19371. description: 手续费
  19372. type: number
  19373. deliverygoodscode:
  19374. description: 品种代码
  19375. type: string
  19376. deliverygoodsid:
  19377. description: 品种ID
  19378. type: integer
  19379. deliverygoodsname:
  19380. description: 品种名称
  19381. type: string
  19382. deliverymonth:
  19383. description: 交收月
  19384. type: string
  19385. enddate:
  19386. description: 结束交易日(yyyymmdd)
  19387. type: string
  19388. enumdicname:
  19389. description: 单位名称
  19390. type: string
  19391. haswr:
  19392. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19393. type: integer
  19394. marketid:
  19395. description: 市场ID
  19396. type: integer
  19397. matchaccountid:
  19398. description: 对手账号
  19399. type: integer
  19400. matchusername:
  19401. description: 对手方
  19402. type: string
  19403. minivalue:
  19404. description: 现货商品最小变动值
  19405. type: integer
  19406. optioncompare:
  19407. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19408. type: string
  19409. thumurls:
  19410. description: 缩略图
  19411. type: string
  19412. tradedate:
  19413. description: 交易日(yyyyMMdd)
  19414. type: string
  19415. tradeprice:
  19416. description: 成交价格
  19417. type: number
  19418. tradeqty:
  19419. description: 成交数量
  19420. type: number
  19421. tradetime:
  19422. description: 成交时间
  19423. type: string
  19424. userid:
  19425. description: 用户ID
  19426. type: integer
  19427. warehouseid:
  19428. description: 仓库ID
  19429. type: integer
  19430. warehousename:
  19431. description: 仓库名称
  19432. type: string
  19433. wrfactortypeid:
  19434. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19435. type: string
  19436. wrfactortypename:
  19437. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19438. type: string
  19439. wrstandardcode:
  19440. description: 现货商品代码
  19441. type: string
  19442. wrstandardid:
  19443. description: 现货商品ID
  19444. type: integer
  19445. wrstandardname:
  19446. description: 商品名称
  19447. type: string
  19448. wrtradedetailid:
  19449. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19450. type: string
  19451. wrtradetype:
  19452. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19453. type: integer
  19454. wrtypename:
  19455. description: 商品
  19456. type: string
  19457. type: object
  19458. models.WrTradeOrderDetail:
  19459. properties:
  19460. buyorsell:
  19461. description: 买卖方向 0-买 1-卖
  19462. type: integer
  19463. goodsid:
  19464. description: 商品id
  19465. type: integer
  19466. orderid:
  19467. description: 委托单号
  19468. type: string
  19469. orderprice:
  19470. description: 委托价格
  19471. type: number
  19472. orderqty:
  19473. description: 委托数量
  19474. type: integer
  19475. userid:
  19476. description: 用户id
  19477. type: integer
  19478. username:
  19479. description: 用户名称(已脱敏)
  19480. type: string
  19481. type: object
  19482. models.WrTypeItem:
  19483. properties:
  19484. name:
  19485. description: 名称
  19486. type: string
  19487. value:
  19488. description: 值
  19489. type: string
  19490. type: object
  19491. models.WrUserFriend:
  19492. properties:
  19493. friendname:
  19494. description: 朋友名称(已脱敏)
  19495. type: string
  19496. frienduserid:
  19497. description: 朋友id
  19498. type: integer
  19499. isfriend:
  19500. description: 是否好友 0-不是 1-是
  19501. type: integer
  19502. userid:
  19503. description: 用户id
  19504. type: integer
  19505. type: object
  19506. models.WrUserReceiptInfo:
  19507. properties:
  19508. address:
  19509. description: 地址[发票类型:企业]
  19510. type: string
  19511. autoid:
  19512. description: AutoID
  19513. type: integer
  19514. contactinfo:
  19515. description: 联系方式
  19516. type: string
  19517. idnum:
  19518. description: 身份证号码[发票类型:个人]
  19519. type: string
  19520. isdefault:
  19521. description: 是否默认地址 - 0:否 1:是
  19522. type: integer
  19523. receiptaccount:
  19524. description: 发票帐号[发票类型:企业]
  19525. type: string
  19526. receiptbank:
  19527. description: 发票开户行[发票类型:企业]
  19528. type: string
  19529. receipttype:
  19530. description: 发票类型 - 1:个人 2:企业
  19531. type: integer
  19532. taxpayerid:
  19533. description: 纳税人识别号
  19534. type: string
  19535. userid:
  19536. description: 用户ID
  19537. type: integer
  19538. username:
  19539. description: 户名(个人姓名或企业名称)
  19540. type: string
  19541. type: object
  19542. models.Wrtradetradequote:
  19543. properties:
  19544. begindate:
  19545. description: 开始日期(结果含开始日期) yyyymmdd
  19546. type: string
  19547. buyaccountid:
  19548. description: 买方账号ID
  19549. type: integer
  19550. buyuserid:
  19551. description: 买方用户ID
  19552. type: integer
  19553. deliverygoodsid:
  19554. description: 现货品种ID
  19555. type: integer
  19556. enddate:
  19557. description: 结束日期(结果含结束日期) yyyymmdd
  19558. type: string
  19559. marketid:
  19560. description: 市场ID
  19561. type: integer
  19562. sellaccountid:
  19563. description: 卖方账号ID
  19564. type: integer
  19565. selluserid:
  19566. description: 卖方用户ID
  19567. type: integer
  19568. tradeamount:
  19569. description: 成交金额
  19570. type: number
  19571. tradedate:
  19572. description: 交易日(yyyyMMdd)
  19573. type: string
  19574. tradeprice:
  19575. description: 成交价格
  19576. type: number
  19577. tradeqty:
  19578. description: 成交数量
  19579. type: integer
  19580. tradetime:
  19581. description: 成交时间
  19582. type: string
  19583. wrfactortypeid:
  19584. description: 仓单要素类型ID
  19585. type: integer
  19586. wrstandardid:
  19587. description: 现货商品ID
  19588. type: integer
  19589. wrtradedetailid:
  19590. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19591. type: string
  19592. type: object
  19593. models.XHBRAND:
  19594. properties:
  19595. brandid:
  19596. description: 品牌id
  19597. type: integer
  19598. brandname:
  19599. description: 品牌名称
  19600. type: string
  19601. isvalid:
  19602. description: 是否有效 0-无效 1-有效
  19603. type: integer
  19604. type: object
  19605. models.XHDeliveryGoods:
  19606. properties:
  19607. areauserid:
  19608. description: 所属机构
  19609. type: integer
  19610. bdlst:
  19611. description: 品牌列表
  19612. items:
  19613. $ref: '#/definitions/models.XHBRAND'
  19614. type: array
  19615. deliverygoodscode:
  19616. description: 现货品种代码
  19617. type: string
  19618. deliverygoodsid:
  19619. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19620. type: integer
  19621. deliverygoodsname:
  19622. description: 现货品种名称
  19623. type: string
  19624. dgstatus:
  19625. description: 品种状态 - 作废 - 0:未激活 1:正常
  19626. type: integer
  19627. filterSubEmpty:
  19628. description: 过滤下级为空的
  19629. type: integer
  19630. isvalid:
  19631. description: 是否有效 - 0:无效 1:有效
  19632. type: integer
  19633. remark:
  19634. description: 备注
  19635. type: string
  19636. unitid:
  19637. description: 单位id(目前看,数据库中是空值)
  19638. type: integer
  19639. wdlst:
  19640. description: 品类(现货商品)列表
  19641. items:
  19642. $ref: '#/definitions/models.XHWrstandard'
  19643. type: array
  19644. type: object
  19645. models.XHMiddleGoods:
  19646. properties:
  19647. GPLST:
  19648. description: 期货品种列表
  19649. items:
  19650. $ref: '#/definitions/models.TBGoodsGroup'
  19651. type: array
  19652. convertratio:
  19653. description: 拆算系数
  19654. type: number
  19655. costratio:
  19656. description: 成本权重
  19657. type: number
  19658. deliverygoodsid:
  19659. description: 现货商品id
  19660. type: integer
  19661. enumdicname:
  19662. description: 单位名称
  19663. type: string
  19664. middlegoodscode:
  19665. description: 套保品种代码
  19666. type: string
  19667. middlegoodsid:
  19668. description: 套保品种id
  19669. type: integer
  19670. middlegoodsname:
  19671. description: 套保品种名称
  19672. type: string
  19673. unitid:
  19674. description: 单位id
  19675. type: integer
  19676. type: object
  19677. models.XHWrstandard:
  19678. properties:
  19679. bannerpicurl:
  19680. description: banner图
  19681. type: string
  19682. deliverygoodsid:
  19683. description: 品种ID
  19684. type: integer
  19685. enumdicname:
  19686. description: 单位名称
  19687. type: string
  19688. mglst:
  19689. description: 套保品列表
  19690. items:
  19691. $ref: '#/definitions/models.XHMiddleGoods'
  19692. type: array
  19693. pictureurls:
  19694. description: 详情图片(逗号分隔)
  19695. type: string
  19696. thumurls:
  19697. description: 缩略图片(1:1)(逗号分隔)
  19698. type: string
  19699. unitid:
  19700. description: 单位id
  19701. type: integer
  19702. vatrate:
  19703. description: 增值税率
  19704. type: number
  19705. wrstandardcode:
  19706. description: 现货商品代码
  19707. type: string
  19708. wrstandardid:
  19709. description: 现货商品ID(SEQ_WRSTANDARD)
  19710. type: integer
  19711. wrstandardname:
  19712. description: 现货商品名称
  19713. type: string
  19714. type: object
  19715. models.XhcpSellBackApplyEx:
  19716. properties:
  19717. applyremark:
  19718. description: 申请备注
  19719. type: string
  19720. expirytype:
  19721. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19722. type: integer
  19723. goodsspec:
  19724. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19725. type: integer
  19726. holeflag:
  19727. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19728. type: integer
  19729. isunopened:
  19730. description: 是否原封 - 1:否 2:是
  19731. type: integer
  19732. mpflag:
  19733. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19734. type: integer
  19735. openflag:
  19736. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19737. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19738. type: integer
  19739. phonenum:
  19740. description: 联系电话
  19741. type: string
  19742. userid:
  19743. description: 所属用户ID
  19744. type: integer
  19745. zpflag:
  19746. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19747. type: integer
  19748. required:
  19749. - userid
  19750. type: object
  19751. models.Xhcpsellbackapply:
  19752. properties:
  19753. applyid:
  19754. description: 申请人
  19755. type: integer
  19756. applyremark:
  19757. description: 申请备注
  19758. type: string
  19759. applysrc:
  19760. description: 申请来源 - 1:管理端 2:终端
  19761. type: integer
  19762. applystatus:
  19763. description: 申请状态 - 1:待确认 2:已处理
  19764. type: integer
  19765. applytime:
  19766. description: 申请时间
  19767. type: string
  19768. auditremark:
  19769. description: 审核备注
  19770. type: string
  19771. auditsrc:
  19772. description: 审核来源 - 1:管理端 2:终端
  19773. type: integer
  19774. expirytype:
  19775. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19776. type: integer
  19777. goodsspec:
  19778. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19779. type: integer
  19780. holeflag:
  19781. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19782. type: integer
  19783. isunopened:
  19784. description: 是否原封 - 1:否 2:是
  19785. type: integer
  19786. mpflag:
  19787. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19788. type: integer
  19789. openflag:
  19790. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19791. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19792. type: integer
  19793. phonenum:
  19794. description: 联系电话
  19795. type: string
  19796. sellbackapplyid:
  19797. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  19798. type: string
  19799. userid:
  19800. description: 所属用户ID
  19801. type: integer
  19802. zpflag:
  19803. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19804. type: integer
  19805. required:
  19806. - userid
  19807. type: object
  19808. order.QueryHisTradeDetailRsp:
  19809. properties:
  19810. accountid:
  19811. description: 账户ID[报价币种]
  19812. type: integer
  19813. advanceratio:
  19814. description: 首付比率
  19815. type: number
  19816. buildtype:
  19817. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19818. type: integer
  19819. buyorsell:
  19820. description: 方向 - 0:买 1:卖
  19821. type: integer
  19822. charge:
  19823. description: 手续费
  19824. type: number
  19825. closecharge:
  19826. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19827. type: number
  19828. closeexchagechargevalue:
  19829. description: 平仓交易所手续费设置值
  19830. type: number
  19831. closefeealgorithm:
  19832. description: 平仓手续费收取方式 1:比率 2:固定
  19833. type: integer
  19834. closememberchargevalue:
  19835. description: 平仓会员手续费设置值
  19836. type: number
  19837. closepl:
  19838. description: 平仓盈亏
  19839. type: number
  19840. closepl2:
  19841. description: 平仓盈亏[逐笔]
  19842. type: number
  19843. closeqty:
  19844. description: 平仓数量(先建后平操作 需要记录)
  19845. type: number
  19846. creditamount:
  19847. description: 授信金额
  19848. type: number
  19849. decimalplace:
  19850. description: 商品报价小数位
  19851. type: integer
  19852. enumdicname:
  19853. description: 单位名称
  19854. type: string
  19855. gcaccountid:
  19856. description: 账户ID[合约币种]
  19857. type: integer
  19858. goodscode:
  19859. description: 商品代码
  19860. type: string
  19861. goodsid:
  19862. description: 商品ID
  19863. type: integer
  19864. goodsname:
  19865. description: 商品名称
  19866. type: string
  19867. goodunitid:
  19868. description: 商品单位id
  19869. type: integer
  19870. histradedate:
  19871. description: 历史交易日
  19872. type: string
  19873. intclosepl:
  19874. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19875. type: integer
  19876. isconfirmexercise:
  19877. description: 是否确认行权- 0:否 1:是
  19878. type: integer
  19879. ismain:
  19880. description: 是否主单 - 0:不是 1:是
  19881. type: integer
  19882. ispreexercise:
  19883. description: 是否预申报- 0:否 1:是
  19884. type: integer
  19885. isreckoned:
  19886. description: 是否结算 - 0:未结算 1:已结算
  19887. type: integer
  19888. isvaliddata:
  19889. description: 是否有效 - 0:无效 1:有效
  19890. type: integer
  19891. listingselecttype:
  19892. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19893. type: integer
  19894. marketid:
  19895. description: 市场ID
  19896. type: integer
  19897. marketname:
  19898. description: 市场名称
  19899. type: string
  19900. matchaccountid:
  19901. description: 对手账号id
  19902. type: integer
  19903. memberuserid:
  19904. description: 会员id 个人投资者 需要填写
  19905. type: integer
  19906. opencharge:
  19907. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19908. type: number
  19909. openexchagechargevalue:
  19910. description: 建仓交易所手续费设置值
  19911. type: number
  19912. openfeealgorithm:
  19913. description: 建仓手续费收取方式 1:比率 2:固定
  19914. type: integer
  19915. openmemberchargevalue:
  19916. description: 建仓会员手续费设置值
  19917. type: number
  19918. openqty:
  19919. description: 开仓数量(先建后平操作 需要记录)
  19920. type: number
  19921. optiontype:
  19922. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19923. type: integer
  19924. orderid:
  19925. description: 委托单号
  19926. type: string
  19927. payamount:
  19928. description: 支付金额(付款金额)
  19929. type: number
  19930. performanceplanid:
  19931. description: 履约计划ID[期权]
  19932. type: integer
  19933. performancestatus:
  19934. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19935. type: integer
  19936. preexerciseprice:
  19937. description: 预申报价格
  19938. type: number
  19939. premium:
  19940. description: 权利金 - [持仓单的权利金]
  19941. type: number
  19942. qtydecimalplace:
  19943. description: 商品报价小数位
  19944. type: integer
  19945. recvamount:
  19946. description: 到账金额 = 成交金额 - 手续费
  19947. type: number
  19948. relatedouttradeid:
  19949. description: 关联外部成交单ID
  19950. type: integer
  19951. status:
  19952. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19953. type: integer
  19954. totalamount:
  19955. description: 订单总额 = 成交金额 + 手续费
  19956. type: number
  19957. tradeamount:
  19958. description: 成交金额[账户币种,用于所有权]
  19959. type: number
  19960. tradedate:
  19961. description: 交易日(yyyyMMdd)
  19962. type: string
  19963. tradeid:
  19964. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19965. type: string
  19966. trademode:
  19967. description: 交易模式
  19968. type: integer
  19969. tradeprice:
  19970. description: 成交价格
  19971. type: number
  19972. tradeproperty:
  19973. description: 交易属性
  19974. type: integer
  19975. tradeqty:
  19976. description: 成交数量
  19977. type: number
  19978. tradetime:
  19979. description: 成交时间
  19980. type: string
  19981. tradetype:
  19982. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19983. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19984. type: integer
  19985. required:
  19986. - accountid
  19987. - buyorsell
  19988. - goodsid
  19989. - histradedate
  19990. - marketid
  19991. - memberuserid
  19992. - orderid
  19993. - tradeamount
  19994. - tradedate
  19995. - tradeid
  19996. - tradeprice
  19997. - tradeqty
  19998. - tradetime
  19999. type: object
  20000. order.QueryHisTradeOrderDetailRsp:
  20001. properties:
  20002. accountid:
  20003. description: 账户ID[报价币种]
  20004. type: integer
  20005. buildtype:
  20006. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20007. type: integer
  20008. buyorsell:
  20009. description: 买卖 - 0:买 1:卖
  20010. type: integer
  20011. cancelorderid:
  20012. description: 撤单单号(撤单时填写)
  20013. type: string
  20014. cancelqty:
  20015. description: 撤单数量
  20016. type: number
  20017. clientordertime:
  20018. description: 客户端委托时间
  20019. type: string
  20020. clientticket:
  20021. description: 客户端流水号
  20022. type: string
  20023. clienttype:
  20024. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20025. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20026. type: integer
  20027. closeexchagechargevalue:
  20028. description: 平仓交易所手续费设置值
  20029. type: number
  20030. closefeealgorithm:
  20031. description: 平仓手续费收取方式 1:比率 2:固定
  20032. type: integer
  20033. closefreezecharge:
  20034. description: 平仓冻结手续费(先建后平操作,需要记录)
  20035. type: number
  20036. closememberchargevalue:
  20037. description: 平仓会员手续费设置值
  20038. type: number
  20039. closeqty:
  20040. description: 平仓数量(先建后平操作 需要记录)
  20041. type: number
  20042. closetradeqty:
  20043. description: 平仓成交数量(先建后平操作,需要记录)
  20044. type: number
  20045. closeunfreezecharge:
  20046. description: 平仓解冻手续费(先建后平操作,需要记录)
  20047. type: number
  20048. decimalplace:
  20049. description: 商品报价小数位
  20050. type: integer
  20051. delistingtype:
  20052. description: 摘牌类型 - 1:价格最优 2:点选成交
  20053. type: integer
  20054. enumdicname:
  20055. description: 单位名称
  20056. type: string
  20057. freezecharge:
  20058. description: 冻结手续费
  20059. type: number
  20060. freezemargin:
  20061. description: 冻结保证金(冻结交易金额)
  20062. type: number
  20063. gcaccountid:
  20064. description: 账户ID[合约币种]
  20065. type: integer
  20066. goodscode:
  20067. description: 商品代码
  20068. type: string
  20069. goodsid:
  20070. description: 商品ID
  20071. type: integer
  20072. goodsname:
  20073. description: 商品名称
  20074. type: string
  20075. goodunitid:
  20076. description: 商品单位id
  20077. type: integer
  20078. histradedate:
  20079. description: 历史交易日
  20080. type: string
  20081. isconfirmexercise:
  20082. description: 是否确认行权- 0:否 1:是
  20083. type: integer
  20084. ispreexercise:
  20085. description: 是否预申报- 0:否 1:是
  20086. type: integer
  20087. isvaliddata:
  20088. description: 是否有效 - 0:无效 1:有效
  20089. type: integer
  20090. listingselecttype:
  20091. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20092. type: integer
  20093. marginalgorithm:
  20094. description: 保证金收取方式 1:比率 2:固定
  20095. type: integer
  20096. marginvalue:
  20097. description: 即市保证金设置值
  20098. type: number
  20099. marketid:
  20100. description: 市场ID
  20101. type: integer
  20102. marketmaxsub:
  20103. description: 市价最大偏移范围
  20104. type: number
  20105. marketname:
  20106. description: 市场名称
  20107. type: string
  20108. memberuserid:
  20109. description: 所属会员UserID
  20110. type: integer
  20111. openexchagechargevalue:
  20112. description: 建仓交易所手续费设置值
  20113. type: number
  20114. openfeealgorithm:
  20115. description: 建仓手续费收取方式 1:比率 2:固定
  20116. type: integer
  20117. openfreezecharge:
  20118. description: 开仓冻结手续费(先建后平操作,需要记录)
  20119. type: number
  20120. openmemberchargevalue:
  20121. description: 建仓会员手续费设置值
  20122. type: number
  20123. openqty:
  20124. description: 开仓数量(先建后平操作,需要记录)
  20125. type: number
  20126. opentradeqty:
  20127. description: 开仓成交数量(先建后平操作,需要记录)
  20128. type: number
  20129. openunfreezecharge:
  20130. description: 开仓解冻手续费(先建后平操作,需要记录)
  20131. type: number
  20132. operatetype:
  20133. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20134. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20135. 15:管理端协议转让
  20136. type: integer
  20137. operatorid:
  20138. description: 登录账号(LoginID)
  20139. type: integer
  20140. optiontype:
  20141. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20142. type: integer
  20143. orderid:
  20144. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20145. type: string
  20146. orderprice:
  20147. description: 委托价格
  20148. type: number
  20149. orderqty:
  20150. description: 委托数量
  20151. type: number
  20152. ordersrc:
  20153. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20154. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20155. type: integer
  20156. orderstatus:
  20157. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20158. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20159. 16:成交失败违约(荷兰式竞拍专用)
  20160. type: integer
  20161. ordertime:
  20162. description: 委托时间
  20163. type: string
  20164. preexerciseprice:
  20165. description: 预申报价格
  20166. type: number
  20167. premium:
  20168. description: 权利金
  20169. type: number
  20170. preorderid:
  20171. description: 关联预埋单号(止盈止损单时填写)
  20172. type: string
  20173. pricemode:
  20174. description: '取价方式 - 1:市价 2: 限价'
  20175. type: integer
  20176. qtydecimalplace:
  20177. description: 成交量小数位
  20178. type: integer
  20179. quoteid:
  20180. description: 报价单ID
  20181. type: integer
  20182. relatedid:
  20183. description: 关联单号(交割单)
  20184. type: string
  20185. retcode:
  20186. description: 错误代码
  20187. type: integer
  20188. sessionid:
  20189. description: 会话ID
  20190. type: integer
  20191. tradedate:
  20192. description: 交易日(yyyyMMdd)
  20193. type: string
  20194. trademode:
  20195. description: 交易模式
  20196. type: integer
  20197. tradeproperty:
  20198. description: 交易属性
  20199. type: integer
  20200. tradeqty:
  20201. description: 成交数量
  20202. type: number
  20203. unfreezecharge:
  20204. description: 解冻手续费
  20205. type: number
  20206. unfreezemargin:
  20207. description: 解冻保证金
  20208. type: number
  20209. updatetime:
  20210. description: 更新时间
  20211. type: string
  20212. uuid:
  20213. description: 发起端唯一id
  20214. type: string
  20215. validtime:
  20216. description: 有效期限
  20217. type: string
  20218. validtype:
  20219. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20220. type: integer
  20221. volumetype:
  20222. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20223. type: integer
  20224. required:
  20225. - accountid
  20226. - buildtype
  20227. - buyorsell
  20228. - goodsid
  20229. - histradedate
  20230. - marketid
  20231. - memberuserid
  20232. - operatetype
  20233. - orderid
  20234. - orderqty
  20235. - ordertime
  20236. - pricemode
  20237. - tradedate
  20238. - validtype
  20239. type: object
  20240. order.QueryTradeDetailRsp:
  20241. properties:
  20242. accountid:
  20243. description: 账户ID[报价币种]
  20244. type: integer
  20245. advanceratio:
  20246. description: 首付比率
  20247. type: number
  20248. buildtype:
  20249. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20250. type: integer
  20251. buyorsell:
  20252. description: 方向 - 0:买 1:卖
  20253. type: integer
  20254. charge:
  20255. description: 手续费
  20256. type: number
  20257. closecharge:
  20258. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20259. type: number
  20260. closeexchagechargevalue:
  20261. description: 平仓交易所手续费设置值
  20262. type: number
  20263. closefeealgorithm:
  20264. description: 平仓手续费收取方式 1:比率 2:固定
  20265. type: integer
  20266. closememberchargevalue:
  20267. description: 平仓会员手续费设置值
  20268. type: number
  20269. closepl:
  20270. description: 平仓盈亏
  20271. type: number
  20272. closepl2:
  20273. description: 平仓盈亏[逐笔]
  20274. type: number
  20275. closeqty:
  20276. description: 平仓数量(先建后平操作 需要记录)
  20277. type: number
  20278. creditamount:
  20279. description: 授信金额
  20280. type: number
  20281. decimalplace:
  20282. description: 商品报价小数位
  20283. type: integer
  20284. enumdicname:
  20285. description: 单位名称
  20286. type: string
  20287. gcaccountid:
  20288. description: 账户ID[合约币种]
  20289. type: integer
  20290. goodscode:
  20291. description: 商品代码
  20292. type: string
  20293. goodsid:
  20294. description: 商品ID
  20295. type: integer
  20296. goodsname:
  20297. description: 商品名称
  20298. type: string
  20299. goodunitid:
  20300. description: 商品单位id
  20301. type: integer
  20302. intclosepl:
  20303. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20304. type: integer
  20305. isconfirmexercise:
  20306. description: 是否确认行权- 0:否 1:是
  20307. type: integer
  20308. ismain:
  20309. description: 是否主单 - 0:不是 1:是
  20310. type: integer
  20311. ispreexercise:
  20312. description: 是否预申报- 0:否 1:是
  20313. type: integer
  20314. isreckoned:
  20315. description: 是否结算 - 0:未结算 1:已结算
  20316. type: integer
  20317. listingselecttype:
  20318. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20319. type: integer
  20320. marketid:
  20321. description: 市场ID
  20322. type: integer
  20323. marketname:
  20324. description: 市场名称
  20325. type: string
  20326. matchaccountid:
  20327. description: 对手账号id
  20328. type: integer
  20329. memberuserid:
  20330. description: 会员id 个人投资者 需要填写
  20331. type: integer
  20332. opencharge:
  20333. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20334. type: number
  20335. openexchagechargevalue:
  20336. description: 建仓交易所手续费设置值
  20337. type: number
  20338. openfeealgorithm:
  20339. description: 建仓手续费收取方式 1:比率 2:固定
  20340. type: integer
  20341. openmemberchargevalue:
  20342. description: 建仓会员手续费设置值
  20343. type: number
  20344. openqty:
  20345. description: 开仓数量(先建后平操作 需要记录)
  20346. type: number
  20347. optiontype:
  20348. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20349. type: integer
  20350. orderid:
  20351. description: 委托单号
  20352. type: string
  20353. payamount:
  20354. description: 支付金额(付款金额)
  20355. type: number
  20356. performanceplanid:
  20357. description: 履约计划ID[期权]
  20358. type: integer
  20359. performancestatus:
  20360. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20361. type: integer
  20362. preexerciseprice:
  20363. description: 预申报价格
  20364. type: number
  20365. premium:
  20366. description: 权利金 - [持仓单的权利金]
  20367. type: number
  20368. qtydecimalplace:
  20369. description: 商品报价小数位
  20370. type: integer
  20371. recvamount:
  20372. description: 到账金额 = 成交金额 - 手续费
  20373. type: number
  20374. relatedouttradeid:
  20375. description: 关联外部成交单ID
  20376. type: integer
  20377. status:
  20378. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20379. type: integer
  20380. totalamount:
  20381. description: 订单总额 = 成交金额 + 手续费
  20382. type: number
  20383. tradeamount:
  20384. description: 成交金额[账户币种,用于所有权]
  20385. type: number
  20386. tradedate:
  20387. description: 交易日(yyyyMMdd)
  20388. type: string
  20389. tradeid:
  20390. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20391. type: string
  20392. trademode:
  20393. description: 交易模式
  20394. type: integer
  20395. tradeprice:
  20396. description: 成交价格
  20397. type: number
  20398. tradeproperty:
  20399. description: 交易属性
  20400. type: integer
  20401. tradeqty:
  20402. description: 成交数量
  20403. type: number
  20404. tradetime:
  20405. description: 成交时间
  20406. type: string
  20407. tradetype:
  20408. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20409. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20410. type: integer
  20411. required:
  20412. - accountid
  20413. - buyorsell
  20414. - goodsid
  20415. - marketid
  20416. - memberuserid
  20417. - orderid
  20418. - tradeamount
  20419. - tradedate
  20420. - tradeid
  20421. - tradeprice
  20422. - tradeqty
  20423. - tradetime
  20424. type: object
  20425. order.QueryTradeOrderDetailRsp:
  20426. properties:
  20427. accountid:
  20428. description: 账户ID[报价币种]
  20429. type: integer
  20430. buildtype:
  20431. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20432. type: integer
  20433. buyorsell:
  20434. description: 买卖 - 0:买 1:卖
  20435. type: integer
  20436. cancelorderid:
  20437. description: 撤单单号(撤单时填写)
  20438. type: string
  20439. cancelqty:
  20440. description: 撤单数量
  20441. type: number
  20442. clienttype:
  20443. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20444. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20445. type: integer
  20446. closefreezecharge:
  20447. description: 平仓冻结手续费(先建后平操作,需要记录)
  20448. type: number
  20449. closeqty:
  20450. description: 平仓数量(先建后平操作 需要记录)
  20451. type: number
  20452. closetradeqty:
  20453. description: 平仓成交数量(先建后平操作,需要记录)
  20454. type: number
  20455. closeunfreezecharge:
  20456. description: 平仓解冻手续费(先建后平操作,需要记录)
  20457. type: number
  20458. decimalplace:
  20459. description: 商品报价小数位
  20460. type: integer
  20461. delistingtype:
  20462. description: 摘牌类型 - 1:价格最优 2:点选成交
  20463. type: integer
  20464. enableqty:
  20465. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20466. type: number
  20467. enumdicname:
  20468. description: 单位名称
  20469. type: string
  20470. freezecharge:
  20471. description: 冻结手续费
  20472. type: number
  20473. freezemargin:
  20474. description: 冻结保证金(冻结交易金额)
  20475. type: number
  20476. goodscode:
  20477. description: 商品代码
  20478. type: string
  20479. goodsid:
  20480. description: 商品ID
  20481. type: integer
  20482. goodsname:
  20483. description: 商品名称
  20484. type: string
  20485. goodunitid:
  20486. description: 商品单位id
  20487. type: integer
  20488. listingselecttype:
  20489. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20490. type: integer
  20491. marketid:
  20492. description: 市场ID
  20493. type: integer
  20494. marketname:
  20495. description: 市场名称
  20496. type: string
  20497. openfreezecharge:
  20498. description: 开仓冻结手续费(先建后平操作,需要记录)
  20499. type: number
  20500. openqty:
  20501. description: 开仓数量(先建后平操作,需要记录)
  20502. type: number
  20503. opentradeqty:
  20504. description: 开仓成交数量(先建后平操作,需要记录)
  20505. type: number
  20506. openunfreezecharge:
  20507. description: 开仓解冻手续费(先建后平操作,需要记录)
  20508. type: number
  20509. operatetype:
  20510. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20511. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20512. 15:管理端协议转让
  20513. type: integer
  20514. operatorid:
  20515. description: 登录账号(LoginID)
  20516. type: integer
  20517. orderid:
  20518. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20519. type: string
  20520. orderprice:
  20521. description: 委托价格
  20522. type: number
  20523. orderqty:
  20524. description: 委托数量
  20525. type: number
  20526. ordersrc:
  20527. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20528. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20529. type: integer
  20530. orderstatus:
  20531. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20532. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20533. 16:成交失败违约(荷兰式竞拍专用)
  20534. type: integer
  20535. ordertime:
  20536. description: 委托时间
  20537. type: string
  20538. preorderid:
  20539. description: 关联预埋单号(止盈止损单时填写)
  20540. type: string
  20541. pricemode:
  20542. description: '取价方式 - 1:市价 2: 限价'
  20543. type: integer
  20544. qtydecimalplace:
  20545. description: 商品报价小数位
  20546. type: integer
  20547. relatedid:
  20548. description: 关联单号(交割单)
  20549. type: string
  20550. tradedate:
  20551. description: 交易日(yyyyMMdd)
  20552. type: string
  20553. trademode:
  20554. description: 交易模式
  20555. type: integer
  20556. tradeqty:
  20557. description: 成交数量
  20558. type: number
  20559. unfreezecharge:
  20560. description: 解冻手续费
  20561. type: number
  20562. unfreezemargin:
  20563. description: 解冻保证金
  20564. type: number
  20565. validtime:
  20566. description: 有效期限
  20567. type: string
  20568. validtype:
  20569. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20570. type: integer
  20571. volumetype:
  20572. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20573. type: integer
  20574. required:
  20575. - accountid
  20576. - buildtype
  20577. - buyorsell
  20578. - goodsid
  20579. - marketid
  20580. - operatetype
  20581. - orderqty
  20582. - ordertime
  20583. - pricemode
  20584. - tradedate
  20585. - validtype
  20586. type: object
  20587. order.QueryTradePositionRsp:
  20588. properties:
  20589. accountid:
  20590. description: 资金账户
  20591. type: integer
  20592. agreeunit:
  20593. description: 合约单位
  20594. type: number
  20595. averageprice:
  20596. description: 持仓均价
  20597. type: number
  20598. buyorsell:
  20599. description: 方向 - 0:买 1:卖
  20600. type: integer
  20601. closetotalqty:
  20602. description: 平仓总数量
  20603. type: number
  20604. curholderamount:
  20605. description: 当前持仓总金额[商品币种]
  20606. type: number
  20607. curpositionqty:
  20608. description: 当前持仓总数量
  20609. type: number
  20610. currencyid:
  20611. description: 报价货币ID
  20612. type: integer
  20613. curtdposition:
  20614. description: 期末今日头寸
  20615. type: number
  20616. decimalplace:
  20617. description: 报价小数位
  20618. type: integer
  20619. enableqty:
  20620. description: 可用量
  20621. type: number
  20622. fretdposition:
  20623. description: 冻结今日头寸
  20624. type: number
  20625. frozenqty:
  20626. description: 持仓冻结数量
  20627. type: number
  20628. goodscode:
  20629. description: 商品代码
  20630. type: string
  20631. goodsid:
  20632. description: 商品Id
  20633. type: integer
  20634. goodsname:
  20635. description: 商品名称
  20636. type: string
  20637. goodunit:
  20638. description: 报价单位
  20639. type: string
  20640. goodunitid:
  20641. description: 报价单位ID
  20642. type: integer
  20643. holderamount:
  20644. description: 期初持仓总金额[商品币种]
  20645. type: number
  20646. lastprice:
  20647. description: 最新价
  20648. type: number
  20649. marketamount:
  20650. description: 市值
  20651. type: number
  20652. marketid:
  20653. description: 所属市场ID
  20654. type: integer
  20655. openreqqty:
  20656. description: 开仓申请数量(用于比较最大持仓数量)
  20657. type: number
  20658. opentotalqty:
  20659. description: 开仓总数量
  20660. type: number
  20661. otherfrozenqty:
  20662. description: 持仓其他冻结数量(交割冻结)
  20663. type: number
  20664. positionpl:
  20665. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  20666. * 合约单位
  20667. type: number
  20668. positionplrate:
  20669. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  20670. type: number
  20671. positionqty:
  20672. description: 期初持仓数量
  20673. type: number
  20674. qtydecimalplace:
  20675. description: 成交量小数位
  20676. type: integer
  20677. refgoodscode:
  20678. description: 参考商品代码
  20679. type: string
  20680. refgoodsid:
  20681. description: 参考商品ID
  20682. type: integer
  20683. tnqty:
  20684. description: T+N冻结总量
  20685. type: number
  20686. tnusedqty:
  20687. description: T+N使用量(可以使用T+N的冻结数量)
  20688. type: number
  20689. trademode:
  20690. description: 交易模式
  20691. type: integer
  20692. tradeproperty:
  20693. description: 交易属性
  20694. type: integer
  20695. usedmargin:
  20696. description: 占用保证金[商品币种]
  20697. type: number
  20698. required:
  20699. - goodsid
  20700. type: object
  20701. pb.GoodsMarginCfgStruct:
  20702. properties:
  20703. CustomerTypeID:
  20704. description: 投资者客户类型
  20705. type: integer
  20706. GoodsID:
  20707. description: 商品ID
  20708. type: integer
  20709. IsDefault:
  20710. description: 是否默认标志位
  20711. type: integer
  20712. LockMarginValue:
  20713. description: 锁仓保证金
  20714. type: number
  20715. MarginAlgorithm:
  20716. description: 保证金计算方式
  20717. type: integer
  20718. MarketMarginValue:
  20719. description: 即市保证金值
  20720. type: number
  20721. RealMarginAlgorithm:
  20722. description: 实付保证金计算方式
  20723. type: integer
  20724. RealMarginValue:
  20725. description: 实付比例
  20726. type: number
  20727. ReckonMarginValue:
  20728. description: 结算保证金值
  20729. type: number
  20730. type: object
  20731. quote.HistoryData:
  20732. properties:
  20733. c:
  20734. description: 收盘价
  20735. type: number
  20736. f:
  20737. description: 是否补充数据
  20738. type: boolean
  20739. h:
  20740. description: 最高价
  20741. type: number
  20742. hv:
  20743. description: 持仓量
  20744. type: integer
  20745. l:
  20746. description: 最低价
  20747. type: number
  20748. o:
  20749. description: 开盘价
  20750. type: number
  20751. s:
  20752. description: 结算价,日线周期(包括)以上才有
  20753. type: number
  20754. ts:
  20755. description: 时间
  20756. type: string
  20757. tt:
  20758. description: 总金额
  20759. type: number
  20760. tv:
  20761. description: 总量(成交量)
  20762. type: integer
  20763. type: object
  20764. quote.HistoryTikData:
  20765. properties:
  20766. AV:
  20767. description: 卖量
  20768. type: integer
  20769. Ask:
  20770. description: 卖价
  20771. type: number
  20772. BV:
  20773. description: 买量
  20774. type: integer
  20775. Bid:
  20776. description: 买价
  20777. type: number
  20778. HI:
  20779. description: 单笔持仓
  20780. type: integer
  20781. HV:
  20782. description: 持仓量
  20783. type: integer
  20784. PE:
  20785. description: 现价
  20786. type: number
  20787. TDR:
  20788. description: 交易方向,0:买 1:卖
  20789. type: integer
  20790. TK:
  20791. description: 交易类型
  20792. type: integer
  20793. TS:
  20794. description: 行情时间文本
  20795. type: string
  20796. TT:
  20797. description: 现金额
  20798. type: number
  20799. Vol:
  20800. description: 现量
  20801. type: integer
  20802. type: object
  20803. quote.QueryQuoteDayRsp:
  20804. properties:
  20805. ask:
  20806. description: 卖1
  20807. type: number
  20808. ask2:
  20809. description: 卖2
  20810. type: number
  20811. ask3:
  20812. description: 卖3
  20813. type: number
  20814. ask4:
  20815. description: 卖4
  20816. type: number
  20817. ask5:
  20818. description: 卖5
  20819. type: number
  20820. ask6:
  20821. description: 卖6
  20822. type: number
  20823. ask7:
  20824. description: 卖7
  20825. type: number
  20826. ask8:
  20827. description: 卖8
  20828. type: number
  20829. ask9:
  20830. description: 卖9
  20831. type: number
  20832. ask10:
  20833. description: 卖10
  20834. type: number
  20835. askorderid:
  20836. description: 卖单号1
  20837. type: integer
  20838. askorderid2:
  20839. description: 卖单号2
  20840. type: integer
  20841. askorderid3:
  20842. description: 卖单号3
  20843. type: integer
  20844. askorderid4:
  20845. description: 卖单号4
  20846. type: integer
  20847. askorderid5:
  20848. description: 卖单号5
  20849. type: integer
  20850. askordervolume:
  20851. description: 卖单量1
  20852. type: integer
  20853. askordervolume2:
  20854. description: 卖单量2
  20855. type: integer
  20856. askordervolume3:
  20857. description: 卖单量3
  20858. type: integer
  20859. askordervolume4:
  20860. description: 卖单量4
  20861. type: integer
  20862. askordervolume5:
  20863. description: 卖单量5
  20864. type: integer
  20865. askordervolume6:
  20866. description: 卖单量6
  20867. type: integer
  20868. askordervolume7:
  20869. description: 卖单量7
  20870. type: integer
  20871. askordervolume8:
  20872. description: 卖单量8
  20873. type: integer
  20874. askordervolume9:
  20875. description: 卖单量9
  20876. type: integer
  20877. askordervolume10:
  20878. description: 卖单量10
  20879. type: integer
  20880. askqueueinfo:
  20881. description: 大利市卖港股用
  20882. type: string
  20883. askvolume:
  20884. description: 卖量1
  20885. type: integer
  20886. askvolume2:
  20887. description: 卖量2
  20888. type: integer
  20889. askvolume3:
  20890. description: 卖量3
  20891. type: integer
  20892. askvolume4:
  20893. description: 卖量4
  20894. type: integer
  20895. askvolume5:
  20896. description: 卖量5
  20897. type: integer
  20898. askvolume6:
  20899. description: 卖量6
  20900. type: integer
  20901. askvolume7:
  20902. description: 卖量7
  20903. type: integer
  20904. askvolume8:
  20905. description: 卖量8
  20906. type: integer
  20907. askvolume9:
  20908. description: 卖量9
  20909. type: integer
  20910. askvolume10:
  20911. description: 卖量10
  20912. type: integer
  20913. averageprice:
  20914. description: 均价
  20915. type: number
  20916. bid:
  20917. description: 买1
  20918. type: number
  20919. bid2:
  20920. description: 买2
  20921. type: number
  20922. bid3:
  20923. description: 买3
  20924. type: number
  20925. bid4:
  20926. description: 买4
  20927. type: number
  20928. bid5:
  20929. description: 买5
  20930. type: number
  20931. bid6:
  20932. description: 买6
  20933. type: number
  20934. bid7:
  20935. description: 买7
  20936. type: number
  20937. bid8:
  20938. description: 买8
  20939. type: number
  20940. bid9:
  20941. description: 买9
  20942. type: number
  20943. bid10:
  20944. description: 买10
  20945. type: number
  20946. bidorderid:
  20947. description: 买单号1
  20948. type: integer
  20949. bidorderid2:
  20950. description: 买单号2
  20951. type: integer
  20952. bidorderid3:
  20953. description: 买单号3
  20954. type: integer
  20955. bidorderid4:
  20956. description: 买单号4
  20957. type: integer
  20958. bidorderid5:
  20959. description: 买单号5
  20960. type: integer
  20961. bidordervolume:
  20962. description: 买单量1
  20963. type: integer
  20964. bidordervolume2:
  20965. description: 买单量2
  20966. type: integer
  20967. bidordervolume3:
  20968. description: 买单量3
  20969. type: integer
  20970. bidordervolume4:
  20971. description: 买单量4
  20972. type: integer
  20973. bidordervolume5:
  20974. description: 买单量5
  20975. type: integer
  20976. bidordervolume6:
  20977. description: 买单量6
  20978. type: integer
  20979. bidordervolume7:
  20980. description: 买单量7
  20981. type: integer
  20982. bidordervolume8:
  20983. description: 买单量8
  20984. type: integer
  20985. bidordervolume9:
  20986. description: 买单量9
  20987. type: integer
  20988. bidordervolume10:
  20989. description: 买单量10
  20990. type: integer
  20991. bidqueueinfo:
  20992. description: 大利市买港股用
  20993. type: string
  20994. bidvolume:
  20995. description: 买量1
  20996. type: integer
  20997. bidvolume2:
  20998. description: 买量2
  20999. type: integer
  21000. bidvolume3:
  21001. description: 买量3
  21002. type: integer
  21003. bidvolume4:
  21004. description: 买量4
  21005. type: integer
  21006. bidvolume5:
  21007. description: 买量5
  21008. type: integer
  21009. bidvolume6:
  21010. description: 买量6
  21011. type: integer
  21012. bidvolume7:
  21013. description: 买量7
  21014. type: integer
  21015. bidvolume8:
  21016. description: 买量8
  21017. type: integer
  21018. bidvolume9:
  21019. description: 买量9
  21020. type: integer
  21021. bidvolume10:
  21022. description: 买量10
  21023. type: integer
  21024. calloptionpremiums:
  21025. description: 认购期权1
  21026. type: integer
  21027. calloptionpremiums2:
  21028. description: 认购期权2
  21029. type: integer
  21030. calloptionpremiums3:
  21031. description: 认购期权3
  21032. type: integer
  21033. calloptionpremiums4:
  21034. description: 认购期权4
  21035. type: integer
  21036. calloptionpremiums5:
  21037. description: 认购期权5
  21038. type: integer
  21039. cleartime:
  21040. description: 清盘时间
  21041. type: integer
  21042. exchangecode:
  21043. description: 交易所代码
  21044. type: integer
  21045. exchangedate:
  21046. description: 交易日
  21047. type: integer
  21048. goodscode:
  21049. description: 商品代码
  21050. type: string
  21051. grepmarketprice:
  21052. description: 暗盘价 港股专用
  21053. type: number
  21054. highest:
  21055. description: 最高价
  21056. type: number
  21057. holdincrement:
  21058. description: 单笔持仓
  21059. type: integer
  21060. holdvolume:
  21061. description: 持仓
  21062. type: integer
  21063. iep:
  21064. description: 平衡价 港股专用
  21065. type: number
  21066. iev:
  21067. description: 平衡量 港股专用
  21068. type: number
  21069. inventory:
  21070. description: 库存
  21071. type: integer
  21072. iscleared:
  21073. description: 是否清盘标志
  21074. type: integer
  21075. issettled:
  21076. description: 是否结算标志
  21077. type: integer
  21078. last:
  21079. description: 最新价
  21080. type: number
  21081. lastlot:
  21082. description: 最新成交手数
  21083. type: integer
  21084. lasttime:
  21085. description: 行情时间(只有现价变化行情时间才变化)
  21086. type: string
  21087. lastturnover:
  21088. description: 最新成交金额
  21089. type: number
  21090. lastvolume:
  21091. description: 最新成交量
  21092. type: integer
  21093. limitdown:
  21094. description: 跌停价
  21095. type: number
  21096. limitup:
  21097. description: 涨停价
  21098. type: number
  21099. lowest:
  21100. description: 最低价
  21101. type: number
  21102. nontotalholdervolume:
  21103. description: 非交易持仓量
  21104. type: integer
  21105. nontotallot:
  21106. description: 非交易总手数
  21107. type: integer
  21108. nontotalturnover:
  21109. description: 非交易总金额
  21110. type: integer
  21111. nontotalvolume:
  21112. description: 非交易总量
  21113. type: integer
  21114. opened:
  21115. description: 开盘价
  21116. type: number
  21117. opentime:
  21118. description: 开盘时间
  21119. type: string
  21120. orderid:
  21121. description: 序号
  21122. type: integer
  21123. preclose:
  21124. description: 昨收
  21125. type: number
  21126. preholdvolume:
  21127. description: 昨持仓
  21128. type: integer
  21129. presettle:
  21130. description: 昨结价
  21131. type: number
  21132. publictradetype:
  21133. description: 公共交易标志类型 港股专用
  21134. type: string
  21135. putoptionpremiums:
  21136. description: 认沽期权1
  21137. type: integer
  21138. putoptionpremiums2:
  21139. description: 认沽期权2
  21140. type: integer
  21141. putoptionpremiums3:
  21142. description: 认沽期权3
  21143. type: integer
  21144. putoptionpremiums4:
  21145. description: 认沽期权4
  21146. type: integer
  21147. putoptionpremiums5:
  21148. description: 认沽期权5
  21149. type: integer
  21150. settle:
  21151. description: 结算价
  21152. type: number
  21153. strikeprice:
  21154. description: 发行价
  21155. type: number
  21156. totalaskvolume:
  21157. description: 内盘
  21158. type: integer
  21159. totalbidvolume:
  21160. description: 外盘
  21161. type: integer
  21162. totallot:
  21163. description: 总手数
  21164. type: integer
  21165. totalturnover:
  21166. description: 总金额
  21167. type: number
  21168. totalvolume:
  21169. description: 总量
  21170. type: integer
  21171. utclasttime:
  21172. description: utc的行情时间
  21173. type: string
  21174. type: object
  21175. quote.QueryTSDataRsp:
  21176. properties:
  21177. Count:
  21178. description: 交易日应有数据个数
  21179. type: integer
  21180. decimalPlace:
  21181. description: 小数位
  21182. type: integer
  21183. endTime:
  21184. description: 结束时间
  21185. type: string
  21186. goodsCode:
  21187. description: 商品代码
  21188. type: string
  21189. historyDatas:
  21190. description: 历史数据
  21191. items:
  21192. $ref: '#/definitions/quote.HistoryData'
  21193. type: array
  21194. outGoodsCode:
  21195. description: 外部商品代码
  21196. type: string
  21197. preSettle:
  21198. description: 昨结价
  21199. type: number
  21200. runSteps:
  21201. description: 交易日开休市计划
  21202. items:
  21203. $ref: '#/definitions/quote.TSDataRunStep'
  21204. type: array
  21205. startTime:
  21206. description: 开始时间
  21207. type: string
  21208. tradeDate:
  21209. description: 交易日
  21210. type: string
  21211. type: object
  21212. quote.TSDataRunStep:
  21213. properties:
  21214. end:
  21215. description: 真实结束时间
  21216. type: string
  21217. endflag:
  21218. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21219. type: integer
  21220. endtime:
  21221. description: 结束时间(HH:mm)
  21222. type: string
  21223. endweekday:
  21224. description: 结束周几
  21225. type: integer
  21226. groupid:
  21227. description: 分组ID
  21228. type: integer
  21229. runstep:
  21230. description: 运行阶段 - 2:连续交易
  21231. type: integer
  21232. sectionid:
  21233. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21234. 结束时间=结算时间 结束周几=结算周几
  21235. type: integer
  21236. start:
  21237. description: 真实开始时间
  21238. type: string
  21239. startflag:
  21240. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21241. type: integer
  21242. starttime:
  21243. description: 起始时间(HH:mm)
  21244. type: string
  21245. startweekday:
  21246. description: 起始周几
  21247. type: integer
  21248. tradeweekday:
  21249. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21250. type: integer
  21251. type: object
  21252. szdz.QueryConvertLogRsp:
  21253. properties:
  21254. accountid:
  21255. description: 资金账户ID
  21256. type: integer
  21257. clientticket:
  21258. description: 客户端流水号
  21259. type: string
  21260. converttype:
  21261. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21262. type: integer
  21263. createtime:
  21264. description: 记账时间
  21265. type: string
  21266. daymaxvalue:
  21267. description: 配置当日最大转入限制
  21268. type: number
  21269. daymaxvalue2:
  21270. description: 配置当日最大转入限制(转入)
  21271. type: number
  21272. goodscode:
  21273. description: 商品代码
  21274. type: string
  21275. goodsname:
  21276. description: 商品名称
  21277. type: string
  21278. handlestatus:
  21279. description: 处理状态
  21280. type: integer
  21281. innergoodsid:
  21282. description: 内部商品ID
  21283. type: integer
  21284. inratio:
  21285. description: 配置转入比值
  21286. type: integer
  21287. invalue:
  21288. description: 目标值
  21289. type: number
  21290. logid:
  21291. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21292. type: integer
  21293. mobile:
  21294. description: 手机号码(加密存储)
  21295. type: string
  21296. outergoodscode:
  21297. description: 外部商品代码[JD\PD]
  21298. type: string
  21299. outratio:
  21300. description: 配置转出比值
  21301. type: integer
  21302. outvalue:
  21303. description: 源值
  21304. type: number
  21305. pddecimalplace:
  21306. description: PD小数位
  21307. type: integer
  21308. qty:
  21309. description: 数量
  21310. type: string
  21311. remark:
  21312. description: 备注
  21313. type: string
  21314. sessionid:
  21315. description: 会话ID
  21316. type: integer
  21317. timemaxvalue:
  21318. description: 配置单次最大转入限制
  21319. type: number
  21320. timemaxvalue2:
  21321. description: 配置单次最大转入限制(转入)
  21322. type: number
  21323. timeminvalue:
  21324. description: 配置单次最小数量限制
  21325. type: number
  21326. timeminvalue2:
  21327. description: 配置单次最小数量限制(转入)
  21328. type: number
  21329. tradedate:
  21330. description: 交易日(yyyyMMdd)
  21331. type: string
  21332. userid:
  21333. description: 用户ID
  21334. type: integer
  21335. required:
  21336. - logid
  21337. type: object
  21338. szdz.QueryGoodsPickupRsp:
  21339. properties:
  21340. accountid:
  21341. description: 账户ID
  21342. type: integer
  21343. address:
  21344. description: 提货人详细地址
  21345. type: string
  21346. auditer:
  21347. description: 审核人
  21348. type: integer
  21349. audittime:
  21350. description: 审核时间
  21351. type: string
  21352. cardnum:
  21353. description: 提货人证件号码
  21354. type: string
  21355. cardtypeid:
  21356. description: 提货人证件类型
  21357. type: integer
  21358. checkremark:
  21359. description: 审核备注
  21360. type: string
  21361. goodscode:
  21362. description: 商品代码
  21363. type: string
  21364. goodsid:
  21365. description: 商品ID
  21366. type: integer
  21367. goodsname:
  21368. description: 商品名称
  21369. type: string
  21370. handlestatus:
  21371. description: 处理状态
  21372. type: integer
  21373. marketid:
  21374. description: 市场ID
  21375. type: integer
  21376. phonenum:
  21377. description: 提货人联系方式
  21378. type: string
  21379. qty:
  21380. description: 提货数量
  21381. type: number
  21382. recivername:
  21383. description: 提货人姓名
  21384. type: string
  21385. reqtime:
  21386. description: 更新时间
  21387. type: string
  21388. takemode:
  21389. description: 提货方式 - 2:自提 3:配送
  21390. type: integer
  21391. takeorderid:
  21392. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21393. type: string
  21394. takeorderstatus:
  21395. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21396. type: integer
  21397. takeremark:
  21398. description: 提货备注
  21399. type: string
  21400. tradedate:
  21401. description: 交易日(yyyyMMdd)
  21402. type: string
  21403. userid:
  21404. description: 用户ID
  21405. type: integer
  21406. required:
  21407. - takeorderid
  21408. type: object
  21409. szdz.QueryRecieptOrderRsp:
  21410. properties:
  21411. accountName:
  21412. description: 所属账号名称(已脱敏)
  21413. type: string
  21414. accountid:
  21415. description: 资金账号
  21416. type: integer
  21417. buyorsell:
  21418. description: 方向 - 0:买 1:卖
  21419. type: integer
  21420. enableqty:
  21421. description: 可摘数量
  21422. type: integer
  21423. goodscode:
  21424. description: 商品代码
  21425. type: string
  21426. goodsid:
  21427. description: 商品ID
  21428. type: integer
  21429. goodsname:
  21430. description: 商品名称
  21431. type: string
  21432. orderid:
  21433. description: 委托单号
  21434. type: string
  21435. orderprice:
  21436. description: 委托价格
  21437. type: number
  21438. ordertime:
  21439. description: 委托时间
  21440. type: string
  21441. tradedate:
  21442. description: 交易日(yyyyMMdd)
  21443. type: string
  21444. required:
  21445. - ordertime
  21446. type: object
  21447. szdz.QuerySZDZTradePositionRsp:
  21448. properties:
  21449. accountid:
  21450. description: 账号Id
  21451. type: integer
  21452. agreeunit:
  21453. description: 合约单位
  21454. type: number
  21455. averageprice:
  21456. description: 持仓均价
  21457. type: number
  21458. buyorsell:
  21459. description: 方向 - 0:买 1:卖
  21460. type: integer
  21461. closetotalqty:
  21462. description: 平仓总数量
  21463. type: integer
  21464. curholderamount:
  21465. description: 当前持仓总金额
  21466. type: number
  21467. curpositionqty:
  21468. description: 当前持仓总数量
  21469. type: integer
  21470. currencyid:
  21471. description: 报价货币ID
  21472. type: integer
  21473. curtdposition:
  21474. description: 期末今日头寸
  21475. type: integer
  21476. decimalplace:
  21477. description: 报价小数位
  21478. type: integer
  21479. enableqty:
  21480. description: 可用量
  21481. type: integer
  21482. fretdposition:
  21483. description: 冻结今日头寸
  21484. type: integer
  21485. frozenqty:
  21486. description: 持仓冻结数量
  21487. type: integer
  21488. goodscode:
  21489. description: 商品代码(内部)
  21490. type: string
  21491. goodsid:
  21492. description: 商品Id
  21493. type: integer
  21494. goodsname:
  21495. description: 商品名称
  21496. type: string
  21497. goodunit:
  21498. description: 报价单位
  21499. type: string
  21500. goodunitid:
  21501. description: 报价单位ID
  21502. type: integer
  21503. holderamount:
  21504. description: 期初持仓总金额
  21505. type: number
  21506. marketid:
  21507. description: 市场ID
  21508. type: integer
  21509. openreqqty:
  21510. description: 开仓申请数量
  21511. type: integer
  21512. opentotalqty:
  21513. description: 开仓总数量
  21514. type: integer
  21515. otherfrozenqty:
  21516. description: 持仓其他冻结数量(交割冻结)
  21517. type: integer
  21518. positionqty:
  21519. description: 期初持仓数量
  21520. type: integer
  21521. szdz3freezqty:
  21522. description: 尚志大宗转换冻结总数量
  21523. type: integer
  21524. tnqty:
  21525. description: T+N冻结总量
  21526. type: integer
  21527. tnusedqty:
  21528. description: T+N使用量
  21529. type: integer
  21530. trademode:
  21531. description: 交易模式
  21532. type: integer
  21533. usedmargin:
  21534. description: 占用保证金
  21535. type: number
  21536. type: object
  21537. taaccount.QueryAmountLogRsp:
  21538. properties:
  21539. OPERATETYPENAME:
  21540. description: 资金操作类型名称
  21541. type: string
  21542. accountid:
  21543. description: 资金账户ID
  21544. type: integer
  21545. agoodscode:
  21546. description: 竞拍商品代码
  21547. type: string
  21548. agoodsname:
  21549. description: 竞拍商品名称
  21550. type: string
  21551. amount:
  21552. description: 资金金额
  21553. type: number
  21554. amountadjusttype:
  21555. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21556. type: integer
  21557. autoid:
  21558. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21559. type: integer
  21560. balance:
  21561. description: 期初余额
  21562. type: number
  21563. businesscode:
  21564. description: 业务编号
  21565. type: integer
  21566. createtime:
  21567. description: 发生时间
  21568. type: string
  21569. currencyid:
  21570. description: 币种ID
  21571. type: integer
  21572. currentbalance:
  21573. description: 期末余额(变动后金额)
  21574. type: number
  21575. dgoodscode:
  21576. description: 交割商品代码
  21577. type: string
  21578. dgoodsname:
  21579. description: 交割商品名称
  21580. type: string
  21581. goodscode:
  21582. description: 商品代码
  21583. type: string
  21584. goodsid:
  21585. description: 商品ID
  21586. type: integer
  21587. goodsname:
  21588. description: 商品名称
  21589. type: string
  21590. marketid:
  21591. description: 市场ID
  21592. type: integer
  21593. marketname:
  21594. description: 市场名称
  21595. type: string
  21596. moneyticket:
  21597. description: 资金流水号:银行端流水号
  21598. type: integer
  21599. operatetype:
  21600. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21601. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21602. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21603. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21604. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21605. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21606. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21607. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21608. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21609. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21610. type: integer
  21611. relationorderid:
  21612. description: 关联单号
  21613. type: string
  21614. remark:
  21615. description: 备注
  21616. type: string
  21617. trademode:
  21618. description: 交易模式
  21619. type: integer
  21620. required:
  21621. - accountid
  21622. - amount
  21623. - amountadjusttype
  21624. - autoid
  21625. - balance
  21626. - createtime
  21627. - currentbalance
  21628. - operatetype
  21629. type: object
  21630. taaccount.QueryHisAmountLogRsp:
  21631. properties:
  21632. OPERATETYPENAME:
  21633. description: 资金操作类型名称
  21634. type: string
  21635. accountid:
  21636. description: 资金账户ID
  21637. type: integer
  21638. agoodscode:
  21639. description: 竞拍商品代码
  21640. type: string
  21641. agoodsname:
  21642. description: 竞拍商品名称
  21643. type: string
  21644. amount:
  21645. description: 资金金额
  21646. type: number
  21647. amountadjusttype:
  21648. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21649. type: integer
  21650. autoid:
  21651. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21652. type: integer
  21653. balance:
  21654. description: 期初余额
  21655. type: number
  21656. businesscode:
  21657. description: 业务编号
  21658. type: integer
  21659. createtime:
  21660. description: 发生时间
  21661. type: string
  21662. currencyid:
  21663. description: 币种ID
  21664. type: integer
  21665. currentbalance:
  21666. description: 期末余额(变动后金额)
  21667. type: number
  21668. dgoodscode:
  21669. description: 交割商品代码
  21670. type: string
  21671. dgoodsname:
  21672. description: 交割商品名称
  21673. type: string
  21674. goodscode:
  21675. description: 商品代码
  21676. type: string
  21677. goodsid:
  21678. description: 商品ID
  21679. type: integer
  21680. goodsname:
  21681. description: 商品名称
  21682. type: string
  21683. histradedate:
  21684. description: 历史交易日
  21685. type: string
  21686. isvaliddata:
  21687. description: 是否有效 - 0:无效 1:有效
  21688. type: integer
  21689. marketid:
  21690. description: 市场ID
  21691. type: integer
  21692. marketname:
  21693. description: 市场名称
  21694. type: string
  21695. moneyticket:
  21696. description: 资金流水号:银行端流水号
  21697. type: integer
  21698. operatetype:
  21699. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21700. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21701. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21702. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21703. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21704. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21705. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21706. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21707. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21708. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21709. type: integer
  21710. relationorderid:
  21711. description: 关联单号
  21712. type: string
  21713. remark:
  21714. description: 备注
  21715. type: string
  21716. trademode:
  21717. description: 交易模式
  21718. type: integer
  21719. required:
  21720. - accountid
  21721. - amount
  21722. - amountadjusttype
  21723. - autoid
  21724. - balance
  21725. - createtime
  21726. - currentbalance
  21727. - histradedate
  21728. - operatetype
  21729. type: object
  21730. trade.QueryRecieptOrderRsp:
  21731. properties:
  21732. accountName:
  21733. description: 所属账号名称(已脱敏)
  21734. type: string
  21735. accountid:
  21736. description: 资金账号
  21737. type: integer
  21738. buyorsell:
  21739. description: 方向 - 0:买 1:卖
  21740. type: integer
  21741. enableqty:
  21742. description: 可摘数量
  21743. type: integer
  21744. goodscode:
  21745. description: 商品代码
  21746. type: string
  21747. goodsid:
  21748. description: 商品ID
  21749. type: integer
  21750. goodsname:
  21751. description: 商品名称
  21752. type: string
  21753. orderid:
  21754. description: 委托单号
  21755. type: string
  21756. orderprice:
  21757. description: 委托价格
  21758. type: number
  21759. ordertime:
  21760. description: 委托时间
  21761. type: string
  21762. tradedate:
  21763. description: 交易日(yyyyMMdd)
  21764. type: string
  21765. required:
  21766. - ordertime
  21767. type: object
  21768. user.LoginQueryRsp:
  21769. properties:
  21770. areaRoles:
  21771. description: 所属角色信息
  21772. items:
  21773. $ref: '#/definitions/models.Arearole'
  21774. type: array
  21775. externalExchanges:
  21776. description: 外部交易所
  21777. items:
  21778. $ref: '#/definitions/models.Externalexchange'
  21779. type: array
  21780. goodsgroups:
  21781. description: 商品组
  21782. items:
  21783. $ref: '#/definitions/models.Goodsgroup'
  21784. type: array
  21785. loginAccount:
  21786. $ref: '#/definitions/models.Loginaccount'
  21787. description: 登录账号
  21788. markets:
  21789. description: 市场
  21790. items:
  21791. $ref: '#/definitions/models.Market'
  21792. type: array
  21793. systemParams:
  21794. description: 系统参数
  21795. items:
  21796. $ref: '#/definitions/models.Systemparam'
  21797. type: array
  21798. userAccount:
  21799. $ref: '#/definitions/models.Useraccount'
  21800. description: 用户账号
  21801. userInfo:
  21802. $ref: '#/definitions/models.Userinfo'
  21803. description: 用户信息
  21804. username:
  21805. description: 用户姓名
  21806. type: string
  21807. type: object
  21808. info:
  21809. contact: {}
  21810. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  21811. termsOfService: http://www.muchinfo.cn
  21812. title: MTP2.0 查询服务 API
  21813. version: "1.0"
  21814. paths:
  21815. /CPTrade/QueryCPTradeMyBidInfos:
  21816. get:
  21817. parameters:
  21818. - description: 资金账户
  21819. in: query
  21820. name: accountid
  21821. required: true
  21822. type: integer
  21823. - description: 预售市场ID
  21824. in: query
  21825. name: marketid
  21826. type: integer
  21827. - description: 预售商品ID
  21828. in: query
  21829. name: goodsid
  21830. type: integer
  21831. produces:
  21832. - application/json
  21833. responses:
  21834. "200":
  21835. description: OK
  21836. schema:
  21837. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  21838. "500":
  21839. description: Internal Server Error
  21840. schema:
  21841. $ref: '#/definitions/app.Response'
  21842. security:
  21843. - ApiKeyAuth: []
  21844. summary: 查询产能预售我的出价信息
  21845. tags:
  21846. - 产能预售
  21847. /CPTrade/QueryCPTradeOrderDetail:
  21848. get:
  21849. parameters:
  21850. - description: 预售商品ID
  21851. in: query
  21852. name: goodsid
  21853. type: integer
  21854. - description: 预售市场ID
  21855. in: query
  21856. name: marketid
  21857. type: integer
  21858. - description: 预售商品ID列表 - 格式:1,2,3
  21859. in: query
  21860. name: goodsids
  21861. type: string
  21862. produces:
  21863. - application/json
  21864. responses:
  21865. "200":
  21866. description: OK
  21867. schema:
  21868. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  21869. "500":
  21870. description: Internal Server Error
  21871. schema:
  21872. $ref: '#/definitions/app.Response'
  21873. security:
  21874. - ApiKeyAuth: []
  21875. summary: 查询产能预售委托单信息
  21876. tags:
  21877. - 产能预售
  21878. /CPTrade/QueryMyCPTradeGoods:
  21879. get:
  21880. parameters:
  21881. - description: 资金账户
  21882. in: query
  21883. name: accountid
  21884. required: true
  21885. type: integer
  21886. produces:
  21887. - application/json
  21888. responses:
  21889. "200":
  21890. description: OK
  21891. schema:
  21892. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  21893. "500":
  21894. description: Internal Server Error
  21895. schema:
  21896. $ref: '#/definitions/app.Response'
  21897. security:
  21898. - ApiKeyAuth: []
  21899. summary: 查询我的预售信息
  21900. tags:
  21901. - 产能预售
  21902. /CPTrade/QueryPositionCancel:
  21903. get:
  21904. parameters:
  21905. - description: 账户ID
  21906. in: query
  21907. name: userid
  21908. required: true
  21909. type: integer
  21910. - description: 注销ID
  21911. in: query
  21912. name: cancelid
  21913. type: integer
  21914. - description: 资金账户ID
  21915. in: query
  21916. name: accountid
  21917. type: integer
  21918. produces:
  21919. - application/json
  21920. responses:
  21921. "200":
  21922. description: OK
  21923. schema:
  21924. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  21925. "500":
  21926. description: Internal Server Error
  21927. schema:
  21928. $ref: '#/definitions/app.Response'
  21929. security:
  21930. - ApiKeyAuth: []
  21931. summary: 查询远期订单注销申请信息
  21932. tags:
  21933. - 产能预售
  21934. /CPTrade/QueryPreasleApply:
  21935. get:
  21936. parameters:
  21937. - description: 账户ID
  21938. in: query
  21939. name: userid
  21940. required: true
  21941. type: integer
  21942. - description: 申请ID
  21943. in: query
  21944. name: applyid
  21945. type: integer
  21946. - description: 资金账户ID
  21947. in: query
  21948. name: accountid
  21949. type: integer
  21950. produces:
  21951. - application/json
  21952. responses:
  21953. "200":
  21954. description: OK
  21955. schema:
  21956. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  21957. "500":
  21958. description: Internal Server Error
  21959. schema:
  21960. $ref: '#/definitions/app.Response'
  21961. security:
  21962. - ApiKeyAuth: []
  21963. summary: 查询产能预售申请信息
  21964. tags:
  21965. - 产能预售
  21966. /CPTrade/QueryPresaleGoodsEx:
  21967. get:
  21968. parameters:
  21969. - description: 预售商品ID
  21970. in: query
  21971. name: goodsid
  21972. type: integer
  21973. - description: 预售市场ID
  21974. in: query
  21975. name: marketid
  21976. type: integer
  21977. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  21978. in: query
  21979. name: presalemode
  21980. type: integer
  21981. - description: 预售商品ID列表 - 格式:1,2,3
  21982. in: query
  21983. name: goodsids
  21984. type: string
  21985. - description: 预售商品代码
  21986. in: query
  21987. name: goodscode
  21988. type: string
  21989. produces:
  21990. - application/json
  21991. responses:
  21992. "200":
  21993. description: OK
  21994. schema:
  21995. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  21996. "500":
  21997. description: Internal Server Error
  21998. schema:
  21999. $ref: '#/definitions/app.Response'
  22000. security:
  22001. - ApiKeyAuth: []
  22002. summary: 查询产能预售商品扩展信息
  22003. tags:
  22004. - 产能预售
  22005. /CPTrade/QueryUserGoodsData:
  22006. get:
  22007. parameters:
  22008. - description: 资金账户ID
  22009. in: query
  22010. name: accountid
  22011. required: true
  22012. type: integer
  22013. produces:
  22014. - application/json
  22015. responses:
  22016. "200":
  22017. description: OK
  22018. schema:
  22019. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  22020. "500":
  22021. description: Internal Server Error
  22022. schema:
  22023. $ref: '#/definitions/app.Response'
  22024. security:
  22025. - ApiKeyAuth: []
  22026. summary: 查询远期订单信息
  22027. tags:
  22028. - 产能预售
  22029. /Common/GetAllEnums:
  22030. get:
  22031. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  22032. parameters:
  22033. - description: 起始自增ID
  22034. in: query
  22035. name: autoid
  22036. type: integer
  22037. produces:
  22038. - application/json
  22039. responses:
  22040. "200":
  22041. description: OK
  22042. schema:
  22043. $ref: '#/definitions/models.Enumdicitem'
  22044. "500":
  22045. description: Internal Server Error
  22046. schema:
  22047. $ref: '#/definitions/app.Response'
  22048. summary: 获取所有枚举信息
  22049. tags:
  22050. - 通用服务
  22051. /Common/GetClientMenus:
  22052. get:
  22053. parameters:
  22054. - description: 登录账号
  22055. in: query
  22056. name: loginID
  22057. required: true
  22058. type: integer
  22059. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  22060. in: query
  22061. name: clientType
  22062. type: integer
  22063. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  22064. in: query
  22065. name: name
  22066. type: string
  22067. produces:
  22068. - application/json
  22069. responses:
  22070. "200":
  22071. description: OK
  22072. schema:
  22073. items:
  22074. $ref: '#/definitions/common.ClientMenu'
  22075. type: array
  22076. "500":
  22077. description: Internal Server Error
  22078. schema:
  22079. $ref: '#/definitions/app.Response'
  22080. security:
  22081. - ApiKeyAuth: []
  22082. summary: 获取交易端菜单
  22083. tags:
  22084. - 通用服务
  22085. /Common/GetDivisions:
  22086. get:
  22087. produces:
  22088. - application/json
  22089. responses:
  22090. "200":
  22091. description: OK
  22092. schema:
  22093. $ref: '#/definitions/models.Division'
  22094. "500":
  22095. description: Internal Server Error
  22096. schema:
  22097. $ref: '#/definitions/app.Response'
  22098. summary: 查询区域信息
  22099. tags:
  22100. - 通用服务
  22101. /Common/GetPCWebMenus:
  22102. get:
  22103. parameters:
  22104. - description: 登录账号
  22105. in: query
  22106. name: loginID
  22107. required: true
  22108. type: integer
  22109. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  22110. in: query
  22111. name: name
  22112. type: string
  22113. produces:
  22114. - application/json
  22115. responses:
  22116. "200":
  22117. description: OK
  22118. schema:
  22119. items:
  22120. $ref: '#/definitions/common.PCWebMenu'
  22121. type: array
  22122. "500":
  22123. description: Internal Server Error
  22124. schema:
  22125. $ref: '#/definitions/app.Response'
  22126. security:
  22127. - ApiKeyAuth: []
  22128. summary: 获取PCWeb交易端菜单
  22129. tags:
  22130. - 通用服务
  22131. /Common/GetServerTime:
  22132. get:
  22133. produces:
  22134. - application/json
  22135. responses:
  22136. "200":
  22137. description: OK
  22138. schema:
  22139. $ref: '#/definitions/app.Response'
  22140. "500":
  22141. description: Internal Server Error
  22142. schema:
  22143. $ref: '#/definitions/app.Response'
  22144. summary: 获取服务器时间
  22145. tags:
  22146. - 通用服务
  22147. /Common/NoticeReaded:
  22148. post:
  22149. parameters:
  22150. - description: 登录账号
  22151. in: query
  22152. name: loginID
  22153. required: true
  22154. type: integer
  22155. - description: 通知公告ID
  22156. in: query
  22157. name: noticeID
  22158. required: true
  22159. type: integer
  22160. produces:
  22161. - application/json
  22162. responses:
  22163. "200":
  22164. description: OK
  22165. schema:
  22166. $ref: '#/definitions/app.Response'
  22167. "500":
  22168. description: Internal Server Error
  22169. schema:
  22170. $ref: '#/definitions/app.Response'
  22171. security:
  22172. - ApiKeyAuth: []
  22173. summary: 通知公告设置已读请求
  22174. tags:
  22175. - 通用服务
  22176. /Common/QueryErrorInfos:
  22177. get:
  22178. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22179. parameters:
  22180. - description: 起始行号前索引
  22181. in: query
  22182. name: rowNumber
  22183. type: string
  22184. produces:
  22185. - application/json
  22186. responses:
  22187. "200":
  22188. description: OK
  22189. schema:
  22190. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22191. "500":
  22192. description: Internal Server Error
  22193. schema:
  22194. $ref: '#/definitions/app.Response'
  22195. summary: 获取数据库错误信息
  22196. tags:
  22197. - 通用服务
  22198. /Common/QueryImageConfigs:
  22199. get:
  22200. parameters:
  22201. - description: 用户id
  22202. in: query
  22203. name: userId
  22204. type: integer
  22205. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22206. in: query
  22207. name: imageType
  22208. type: integer
  22209. produces:
  22210. - application/json
  22211. responses:
  22212. "200":
  22213. description: OK
  22214. schema:
  22215. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22216. "500":
  22217. description: Internal Server Error
  22218. schema:
  22219. $ref: '#/definitions/app.Response'
  22220. summary: 查询轮播图配置信息
  22221. tags:
  22222. - 通用服务
  22223. /Common/QueryNotice:
  22224. get:
  22225. parameters:
  22226. - description: 页码
  22227. in: query
  22228. name: page
  22229. type: integer
  22230. - description: 每页条数
  22231. in: query
  22232. name: pagesize
  22233. type: integer
  22234. - description: 登录账号
  22235. in: query
  22236. name: loginID
  22237. required: true
  22238. type: integer
  22239. - description: 消息类型 - 1:公告通知 2:系统消息
  22240. in: query
  22241. name: msgType
  22242. type: integer
  22243. - description: 是否只获取未读信息
  22244. in: query
  22245. name: onlyUnRead
  22246. type: boolean
  22247. - description: 自增ID,传入后会返回这个ID后面的记录
  22248. in: query
  22249. name: lastID
  22250. type: integer
  22251. produces:
  22252. - application/json
  22253. responses:
  22254. "200":
  22255. description: OK
  22256. schema:
  22257. $ref: '#/definitions/common.QueryNoticeRsp'
  22258. "500":
  22259. description: Internal Server Error
  22260. schema:
  22261. $ref: '#/definitions/app.Response'
  22262. security:
  22263. - ApiKeyAuth: []
  22264. summary: 通知公告系统消息查询
  22265. tags:
  22266. - 通用服务
  22267. /Common/QueryProvincesAndCities:
  22268. get:
  22269. parameters:
  22270. - description: 省ID
  22271. in: query
  22272. name: provinceID
  22273. type: integer
  22274. produces:
  22275. - application/json
  22276. responses:
  22277. "200":
  22278. description: OK
  22279. schema:
  22280. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22281. "500":
  22282. description: Internal Server Error
  22283. schema:
  22284. $ref: '#/definitions/app.Response'
  22285. summary: 查询省市信息(不包括区)
  22286. tags:
  22287. - 通用服务
  22288. /Common/QueryTableDefine:
  22289. get:
  22290. parameters:
  22291. - description: 表key
  22292. in: query
  22293. name: tableKey
  22294. type: string
  22295. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22296. in: query
  22297. name: tableType
  22298. type: integer
  22299. produces:
  22300. - application/json
  22301. responses:
  22302. "200":
  22303. description: OK
  22304. schema:
  22305. $ref: '#/definitions/common.QueryTableDefineRsp'
  22306. "500":
  22307. description: Internal Server Error
  22308. schema:
  22309. $ref: '#/definitions/app.Response'
  22310. summary: 查询交易端列表头信息
  22311. tags:
  22312. - 通用服务
  22313. /Common/QueryTraderMenu:
  22314. get:
  22315. parameters:
  22316. - description: 登录账号
  22317. in: query
  22318. name: loginid
  22319. required: true
  22320. type: integer
  22321. produces:
  22322. - application/json
  22323. responses:
  22324. "200":
  22325. description: OK
  22326. schema:
  22327. $ref: '#/definitions/common.QueryTraderMenuRsp'
  22328. "500":
  22329. description: Internal Server Error
  22330. schema:
  22331. $ref: '#/definitions/app.Response'
  22332. summary: 查询交易端菜单
  22333. tags:
  22334. - 通用服务
  22335. /Delivery/QueryDeliveryRelation:
  22336. get:
  22337. parameters:
  22338. - description: 商品ID
  22339. in: query
  22340. name: goodsid
  22341. type: integer
  22342. - description: 品种ID
  22343. in: query
  22344. name: deliverygoodsid
  22345. type: integer
  22346. - description: 市场ID
  22347. in: query
  22348. name: marketid
  22349. type: integer
  22350. produces:
  22351. - application/json
  22352. responses:
  22353. "200":
  22354. description: OK
  22355. schema:
  22356. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  22357. "500":
  22358. description: Internal Server Error
  22359. schema:
  22360. $ref: '#/definitions/app.Response'
  22361. security:
  22362. - ApiKeyAuth: []
  22363. summary: 查询商品交割关系表
  22364. tags:
  22365. - 交割服务
  22366. /Ermcp/GetErmcpGoods:
  22367. get:
  22368. parameters:
  22369. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  22370. in: query
  22371. name: userid
  22372. type: integer
  22373. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22374. in: query
  22375. name: lastUpdateTime
  22376. type: string
  22377. produces:
  22378. - application/json
  22379. responses:
  22380. "200":
  22381. description: OK
  22382. schema:
  22383. $ref: '#/definitions/models.ErmcpGoods'
  22384. "500":
  22385. description: Internal Server Error
  22386. schema:
  22387. $ref: '#/definitions/app.Response'
  22388. security:
  22389. - ApiKeyAuth: []
  22390. summary: 查询企业风管期货商品信息
  22391. tags:
  22392. - 企业风险管理(app)
  22393. /Ermcp/GetErmcpGoodsSortByPosition:
  22394. get:
  22395. parameters:
  22396. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  22397. in: query
  22398. name: sortIndex
  22399. type: string
  22400. produces:
  22401. - application/json
  22402. responses:
  22403. "200":
  22404. description: OK
  22405. schema:
  22406. $ref: '#/definitions/models.Goodssortbypreposition'
  22407. "500":
  22408. description: Internal Server Error
  22409. schema:
  22410. $ref: '#/definitions/app.Response'
  22411. security:
  22412. - ApiKeyAuth: []
  22413. summary: 查询企业风管期货主力、次主力商品信息
  22414. tags:
  22415. - 企业风险管理(app)
  22416. /Ermcp/GetErmcpOutAccountStatus:
  22417. get:
  22418. parameters:
  22419. - description: 登录账号
  22420. in: query
  22421. name: loginID
  22422. required: true
  22423. type: integer
  22424. produces:
  22425. - application/json
  22426. responses:
  22427. "200":
  22428. description: OK
  22429. schema:
  22430. $ref: '#/definitions/models.Hedgemarketopenlog'
  22431. "500":
  22432. description: Internal Server Error
  22433. schema:
  22434. $ref: '#/definitions/app.Response'
  22435. security:
  22436. - ApiKeyAuth: []
  22437. summary: 获取目标登录账号当前对冲账号在线状态
  22438. tags:
  22439. - 企业风险管理(app)
  22440. /Ermcp/GetErmcpRoleFuncMenuLists:
  22441. get:
  22442. parameters:
  22443. - description: 登录账号
  22444. in: query
  22445. name: loginID
  22446. required: true
  22447. type: integer
  22448. produces:
  22449. - application/json
  22450. responses:
  22451. "200":
  22452. description: OK
  22453. schema:
  22454. $ref: '#/definitions/models.Funcmenulist'
  22455. "500":
  22456. description: Internal Server Error
  22457. schema:
  22458. $ref: '#/definitions/app.Response'
  22459. security:
  22460. - ApiKeyAuth: []
  22461. summary: 获取企业风管终端权限
  22462. tags:
  22463. - 企业风险管理(app)
  22464. /Ermcp/QueryAccMgrBizGroupSet:
  22465. get:
  22466. parameters:
  22467. - description: 用户ID
  22468. in: query
  22469. name: userid
  22470. required: true
  22471. type: integer
  22472. - description: 现货商品id
  22473. in: query
  22474. name: deliverygoodsid
  22475. type: integer
  22476. produces:
  22477. - application/json
  22478. responses:
  22479. "200":
  22480. description: OK
  22481. schema:
  22482. items:
  22483. $ref: '#/definitions/models.ErmcpBizGroupEx'
  22484. type: array
  22485. "500":
  22486. description: Internal Server Error
  22487. schema:
  22488. $ref: '#/definitions/app.Response'
  22489. security:
  22490. - ApiKeyAuth: []
  22491. summary: 查询业务类型分组(账户管理/账户设置)
  22492. tags:
  22493. - 企业风险管理(app)
  22494. /Ermcp/QueryAccMgrLoginUser:
  22495. get:
  22496. parameters:
  22497. - description: 用户ID
  22498. in: query
  22499. name: userid
  22500. required: true
  22501. type: integer
  22502. - description: 用户类型 2-机构 7-企业成员
  22503. in: query
  22504. name: usertype
  22505. type: integer
  22506. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  22507. in: query
  22508. name: querytype
  22509. required: true
  22510. type: integer
  22511. produces:
  22512. - application/json
  22513. responses:
  22514. "200":
  22515. description: OK
  22516. schema:
  22517. items:
  22518. $ref: '#/definitions/models.ErmcpLoginUserEx'
  22519. type: array
  22520. "500":
  22521. description: Internal Server Error
  22522. schema:
  22523. $ref: '#/definitions/app.Response'
  22524. security:
  22525. - ApiKeyAuth: []
  22526. summary: 查询账户管理登录账号(账户管理/登录账号)
  22527. tags:
  22528. - 企业风险管理(app)
  22529. /Ermcp/QueryAccMgrMainAccountInfo:
  22530. get:
  22531. parameters:
  22532. - description: 用户ID
  22533. in: query
  22534. name: userid
  22535. type: integer
  22536. - description: 主账号id
  22537. in: query
  22538. name: accountid
  22539. type: integer
  22540. produces:
  22541. - application/json
  22542. responses:
  22543. "200":
  22544. description: OK
  22545. schema:
  22546. items:
  22547. $ref: '#/definitions/models.MainAccountInfo'
  22548. type: array
  22549. "500":
  22550. description: Internal Server Error
  22551. schema:
  22552. $ref: '#/definitions/app.Response'
  22553. security:
  22554. - ApiKeyAuth: []
  22555. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  22556. tags:
  22557. - 企业风险管理(app)
  22558. /Ermcp/QueryAccMgrRole:
  22559. get:
  22560. parameters:
  22561. - description: 用户ID
  22562. in: query
  22563. name: userid
  22564. required: true
  22565. type: integer
  22566. produces:
  22567. - application/json
  22568. responses:
  22569. "200":
  22570. description: OK
  22571. schema:
  22572. items:
  22573. $ref: '#/definitions/models.ErmcpRole'
  22574. type: array
  22575. "500":
  22576. description: Internal Server Error
  22577. schema:
  22578. $ref: '#/definitions/app.Response'
  22579. security:
  22580. - ApiKeyAuth: []
  22581. summary: 查询账户管理角色设置(账户管理/角色设置)
  22582. tags:
  22583. - 企业风险管理(app)
  22584. /Ermcp/QueryAccMgrRoleMenu:
  22585. get:
  22586. parameters:
  22587. - description: 用户ID
  22588. in: query
  22589. name: userid
  22590. required: true
  22591. type: integer
  22592. - description: 角色id(可多个,逗号隔开)
  22593. in: query
  22594. name: roleid
  22595. type: string
  22596. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  22597. in: query
  22598. name: menutype
  22599. type: integer
  22600. produces:
  22601. - application/json
  22602. responses:
  22603. "200":
  22604. description: OK
  22605. schema:
  22606. items:
  22607. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  22608. type: array
  22609. "500":
  22610. description: Internal Server Error
  22611. schema:
  22612. $ref: '#/definitions/app.Response'
  22613. security:
  22614. - ApiKeyAuth: []
  22615. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  22616. tags:
  22617. - 企业风险管理(app)
  22618. /Ermcp/QueryAccMgrTaAccountInfo:
  22619. get:
  22620. parameters:
  22621. - description: 用户ID
  22622. in: query
  22623. name: userid
  22624. required: true
  22625. type: integer
  22626. - description: 账号id
  22627. in: query
  22628. name: accountid
  22629. type: integer
  22630. produces:
  22631. - application/json
  22632. responses:
  22633. "200":
  22634. description: OK
  22635. schema:
  22636. items:
  22637. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  22638. type: array
  22639. "500":
  22640. description: Internal Server Error
  22641. schema:
  22642. $ref: '#/definitions/app.Response'
  22643. security:
  22644. - ApiKeyAuth: []
  22645. summary: 查询账户管理授信(账户管理/账户设置/授信)
  22646. tags:
  22647. - 企业风险管理(app)
  22648. /Ermcp/QueryAccMgrTaaccount:
  22649. get:
  22650. parameters:
  22651. - description: 用户ID
  22652. in: query
  22653. name: userid
  22654. required: true
  22655. type: integer
  22656. produces:
  22657. - application/json
  22658. responses:
  22659. "200":
  22660. description: OK
  22661. schema:
  22662. items:
  22663. $ref: '#/definitions/models.ErmcpTaAccountEx'
  22664. type: array
  22665. "500":
  22666. description: Internal Server Error
  22667. schema:
  22668. $ref: '#/definitions/app.Response'
  22669. security:
  22670. - ApiKeyAuth: []
  22671. summary: 查询账户管理期货账号(账户管理/期货账号)
  22672. tags:
  22673. - 企业风险管理(app)
  22674. /Ermcp/QueryAvaildGoodsGroup:
  22675. get:
  22676. parameters:
  22677. - description: 所属机构ID
  22678. in: query
  22679. name: userid
  22680. required: true
  22681. type: integer
  22682. produces:
  22683. - application/json
  22684. responses:
  22685. "200":
  22686. description: OK
  22687. schema:
  22688. items:
  22689. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  22690. type: array
  22691. "500":
  22692. description: Internal Server Error
  22693. schema:
  22694. $ref: '#/definitions/app.Response'
  22695. security:
  22696. - ApiKeyAuth: []
  22697. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  22698. tags:
  22699. - 企业风险管理(app)
  22700. /Ermcp/QueryBusinessDj:
  22701. get:
  22702. parameters:
  22703. - description: 用户ID
  22704. in: query
  22705. name: UserId
  22706. required: true
  22707. type: integer
  22708. - description: 用户类型 2-机构 7-企业成员
  22709. in: query
  22710. name: usertype
  22711. type: integer
  22712. - description: 现货合同ID, 不填则查所有
  22713. in: query
  22714. name: relatedid
  22715. type: string
  22716. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22717. in: query
  22718. name: applystatus
  22719. type: string
  22720. produces:
  22721. - application/json
  22722. responses:
  22723. "200":
  22724. description: OK
  22725. schema:
  22726. items:
  22727. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  22728. type: array
  22729. "500":
  22730. description: Internal Server Error
  22731. schema:
  22732. $ref: '#/definitions/app.Response'
  22733. security:
  22734. - ApiKeyAuth: []
  22735. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  22736. tags:
  22737. - 企业风险管理(app)
  22738. /Ermcp/QueryBusinessFp:
  22739. get:
  22740. parameters:
  22741. - description: 用户ID
  22742. in: query
  22743. name: UserId
  22744. required: true
  22745. type: integer
  22746. - description: 用户类型 2-机构 7-企业成员
  22747. in: query
  22748. name: usertype
  22749. type: integer
  22750. - description: 现货合同ID, 不填则查所有
  22751. in: query
  22752. name: relatedid
  22753. type: string
  22754. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22755. in: query
  22756. name: applystatus
  22757. type: string
  22758. produces:
  22759. - application/json
  22760. responses:
  22761. "200":
  22762. description: OK
  22763. schema:
  22764. items:
  22765. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  22766. type: array
  22767. "500":
  22768. description: Internal Server Error
  22769. schema:
  22770. $ref: '#/definitions/app.Response'
  22771. security:
  22772. - ApiKeyAuth: []
  22773. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  22774. tags:
  22775. - 企业风险管理(app)
  22776. /Ermcp/QueryBusinessJs:
  22777. get:
  22778. parameters:
  22779. - description: 用户ID
  22780. in: query
  22781. name: UserId
  22782. required: true
  22783. type: integer
  22784. - description: 用户类型 2-机构 7-企业成员
  22785. in: query
  22786. name: usertype
  22787. type: integer
  22788. - description: 现货合同ID, 不填则查所有
  22789. in: query
  22790. name: relatedid
  22791. type: string
  22792. - description: 操作申请id
  22793. in: query
  22794. name: operateapplyid
  22795. type: string
  22796. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22797. in: query
  22798. name: applystatus
  22799. type: string
  22800. produces:
  22801. - application/json
  22802. responses:
  22803. "200":
  22804. description: OK
  22805. schema:
  22806. items:
  22807. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  22808. type: array
  22809. "500":
  22810. description: Internal Server Error
  22811. schema:
  22812. $ref: '#/definitions/app.Response'
  22813. security:
  22814. - ApiKeyAuth: []
  22815. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  22816. tags:
  22817. - 企业风险管理(app)
  22818. /Ermcp/QueryBusinessJsEx:
  22819. get:
  22820. parameters:
  22821. - description: 用户ID
  22822. in: query
  22823. name: UserId
  22824. required: true
  22825. type: integer
  22826. - description: 用户类型 2-机构 7-企业成员
  22827. in: query
  22828. name: usertype
  22829. type: integer
  22830. - description: 现货合同ID, 不填则查所有
  22831. in: query
  22832. name: relatedid
  22833. type: string
  22834. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22835. in: query
  22836. name: applystatus
  22837. type: string
  22838. produces:
  22839. - application/json
  22840. responses:
  22841. "200":
  22842. description: OK
  22843. schema:
  22844. items:
  22845. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  22846. type: array
  22847. "500":
  22848. description: Internal Server Error
  22849. schema:
  22850. $ref: '#/definitions/app.Response'
  22851. security:
  22852. - ApiKeyAuth: []
  22853. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  22854. tags:
  22855. - 企业风险管理(app)
  22856. /Ermcp/QueryBusinessKx:
  22857. get:
  22858. parameters:
  22859. - description: 用户ID
  22860. in: query
  22861. name: UserId
  22862. required: true
  22863. type: integer
  22864. - description: 用户类型 2-机构 7-企业成员
  22865. in: query
  22866. name: usertype
  22867. type: integer
  22868. - description: 现货合同ID, 不填则查所有
  22869. in: query
  22870. name: relatedid
  22871. type: string
  22872. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22873. in: query
  22874. name: applystatus
  22875. type: string
  22876. produces:
  22877. - application/json
  22878. responses:
  22879. "200":
  22880. description: OK
  22881. schema:
  22882. items:
  22883. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  22884. type: array
  22885. "500":
  22886. description: Internal Server Error
  22887. schema:
  22888. $ref: '#/definitions/app.Response'
  22889. security:
  22890. - ApiKeyAuth: []
  22891. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  22892. tags:
  22893. - 企业风险管理(app)
  22894. /Ermcp/QueryChangeLog:
  22895. get:
  22896. parameters:
  22897. - description: 合同ID
  22898. in: query
  22899. name: RelatedId
  22900. required: true
  22901. type: string
  22902. produces:
  22903. - application/json
  22904. responses:
  22905. "200":
  22906. description: OK
  22907. schema:
  22908. items:
  22909. $ref: '#/definitions/ermcp.QryOPLogRsp'
  22910. type: array
  22911. "500":
  22912. description: Internal Server Error
  22913. schema:
  22914. $ref: '#/definitions/app.Response'
  22915. security:
  22916. - ApiKeyAuth: []
  22917. summary: 查询变更记录
  22918. tags:
  22919. - 企业风险管理(app)
  22920. /Ermcp/QueryErmcpHisOrderDetails:
  22921. get:
  22922. parameters:
  22923. - description: 资金账户ID
  22924. in: query
  22925. name: accountID
  22926. required: true
  22927. type: integer
  22928. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22929. in: query
  22930. name: startDate
  22931. type: string
  22932. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22933. in: query
  22934. name: endDate
  22935. type: string
  22936. produces:
  22937. - application/json
  22938. responses:
  22939. "200":
  22940. description: OK
  22941. schema:
  22942. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22943. "500":
  22944. description: Internal Server Error
  22945. schema:
  22946. $ref: '#/definitions/app.Response'
  22947. security:
  22948. - ApiKeyAuth: []
  22949. summary: 获取企业风管期货历史委托单信息
  22950. tags:
  22951. - 企业风险管理(app)
  22952. /Ermcp/QueryErmcpHisTradeDetails:
  22953. get:
  22954. parameters:
  22955. - description: 资金账户ID
  22956. in: query
  22957. name: accountID
  22958. required: true
  22959. type: integer
  22960. - description: 商品ID
  22961. in: query
  22962. name: goodsID
  22963. type: integer
  22964. - description: 买卖方向,0:买 1:卖
  22965. in: query
  22966. name: buyOrSell
  22967. type: integer
  22968. - description: 关联委托单号
  22969. in: query
  22970. name: orderID
  22971. type: integer
  22972. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22973. in: query
  22974. name: startDate
  22975. type: string
  22976. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22977. in: query
  22978. name: endDate
  22979. type: string
  22980. produces:
  22981. - application/json
  22982. responses:
  22983. "200":
  22984. description: OK
  22985. schema:
  22986. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22987. "500":
  22988. description: Internal Server Error
  22989. schema:
  22990. $ref: '#/definitions/app.Response'
  22991. security:
  22992. - ApiKeyAuth: []
  22993. summary: 获取企业风管期货历史成交单信息
  22994. tags:
  22995. - 企业风险管理(app)
  22996. /Ermcp/QueryErmcpInnerHolderDetails:
  22997. get:
  22998. parameters:
  22999. - description: 资金账户ID
  23000. in: query
  23001. name: accountID
  23002. required: true
  23003. type: integer
  23004. - description: 商品ID
  23005. in: query
  23006. name: goodsID
  23007. type: integer
  23008. - description: 买卖方向,0:买 1:卖
  23009. in: query
  23010. name: buyOrSell
  23011. type: integer
  23012. produces:
  23013. - application/json
  23014. responses:
  23015. "200":
  23016. description: OK
  23017. schema:
  23018. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  23019. "500":
  23020. description: Internal Server Error
  23021. schema:
  23022. $ref: '#/definitions/app.Response'
  23023. security:
  23024. - ApiKeyAuth: []
  23025. summary: 获取企业风管期货内部持仓单信息
  23026. tags:
  23027. - 企业风险管理(app)
  23028. /Ermcp/QueryErmcpOrderDetails:
  23029. get:
  23030. parameters:
  23031. - description: 资金账户ID
  23032. in: query
  23033. name: accountID
  23034. required: true
  23035. type: integer
  23036. produces:
  23037. - application/json
  23038. responses:
  23039. "200":
  23040. description: OK
  23041. schema:
  23042. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23043. "500":
  23044. description: Internal Server Error
  23045. schema:
  23046. $ref: '#/definitions/app.Response'
  23047. security:
  23048. - ApiKeyAuth: []
  23049. summary: 获取企业风管期货委托单信息
  23050. tags:
  23051. - 企业风险管理(app)
  23052. /Ermcp/QueryErmcpTradeDetails:
  23053. get:
  23054. parameters:
  23055. - description: 资金账户ID
  23056. in: query
  23057. name: accountID
  23058. required: true
  23059. type: integer
  23060. - description: 商品ID
  23061. in: query
  23062. name: goodsID
  23063. type: integer
  23064. - description: 买卖方向,0:买 1:卖
  23065. in: query
  23066. name: buyOrSell
  23067. type: integer
  23068. - description: 关联委托单号
  23069. in: query
  23070. name: orderID
  23071. type: integer
  23072. produces:
  23073. - application/json
  23074. responses:
  23075. "200":
  23076. description: OK
  23077. schema:
  23078. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23079. "500":
  23080. description: Internal Server Error
  23081. schema:
  23082. $ref: '#/definitions/app.Response'
  23083. security:
  23084. - ApiKeyAuth: []
  23085. summary: 获取企业风管期货成交单信息
  23086. tags:
  23087. - 企业风险管理(app)
  23088. /Ermcp/QueryErmcpTradePosition:
  23089. get:
  23090. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  23091. parameters:
  23092. - description: 资金账户ID
  23093. in: query
  23094. name: accountID
  23095. required: true
  23096. type: integer
  23097. - description: 所属市场ID
  23098. in: query
  23099. name: marketID
  23100. type: integer
  23101. produces:
  23102. - application/json
  23103. responses:
  23104. "200":
  23105. description: OK
  23106. schema:
  23107. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  23108. "500":
  23109. description: Internal Server Error
  23110. schema:
  23111. $ref: '#/definitions/app.Response'
  23112. security:
  23113. - ApiKeyAuth: []
  23114. summary: 获取企业风管期货持仓头寸信息
  23115. tags:
  23116. - 企业风险管理(app)
  23117. /Ermcp/QueryExposureDetail:
  23118. get:
  23119. parameters:
  23120. - description: 所属机构ID
  23121. in: query
  23122. name: areaUserId
  23123. required: true
  23124. type: integer
  23125. - description: 套保商品
  23126. in: query
  23127. name: middleGoodsId
  23128. required: true
  23129. type: integer
  23130. produces:
  23131. - application/json
  23132. responses:
  23133. "200":
  23134. description: OK
  23135. schema:
  23136. items:
  23137. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  23138. type: array
  23139. "500":
  23140. description: Internal Server Error
  23141. schema:
  23142. $ref: '#/definitions/app.Response'
  23143. security:
  23144. - ApiKeyAuth: []
  23145. summary: 查询敞口现货明细
  23146. tags:
  23147. - 企业风险管理(app)
  23148. /Ermcp/QueryExposureGoods:
  23149. get:
  23150. parameters:
  23151. - description: 套保商品id
  23152. in: query
  23153. name: middlegoodsid
  23154. required: true
  23155. type: integer
  23156. produces:
  23157. - application/json
  23158. responses:
  23159. "200":
  23160. description: OK
  23161. schema:
  23162. items:
  23163. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23164. type: array
  23165. "500":
  23166. description: Internal Server Error
  23167. schema:
  23168. $ref: '#/definitions/app.Response'
  23169. security:
  23170. - ApiKeyAuth: []
  23171. summary: 查询敞口主力合约
  23172. tags:
  23173. - 企业风险管理(app)
  23174. /Ermcp/QueryExposureHedgePosition:
  23175. get:
  23176. parameters:
  23177. - description: 用户id
  23178. in: query
  23179. name: userid
  23180. required: true
  23181. type: integer
  23182. produces:
  23183. - application/json
  23184. responses:
  23185. "200":
  23186. description: OK
  23187. schema:
  23188. items:
  23189. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23190. type: array
  23191. "500":
  23192. description: Internal Server Error
  23193. schema:
  23194. $ref: '#/definitions/app.Response'
  23195. security:
  23196. - ApiKeyAuth: []
  23197. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23198. tags:
  23199. - 企业风险管理(app)
  23200. /Ermcp/QueryExposureHedgePositionDetail:
  23201. get:
  23202. parameters:
  23203. - description: 所属机构ID
  23204. in: query
  23205. name: userid
  23206. required: true
  23207. type: integer
  23208. - description: 商品id
  23209. in: query
  23210. name: goodsId
  23211. required: true
  23212. type: integer
  23213. produces:
  23214. - application/json
  23215. responses:
  23216. "200":
  23217. description: OK
  23218. schema:
  23219. items:
  23220. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23221. type: array
  23222. "500":
  23223. description: Internal Server Error
  23224. schema:
  23225. $ref: '#/definitions/app.Response'
  23226. security:
  23227. - ApiKeyAuth: []
  23228. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23229. tags:
  23230. - 企业风险管理(app)
  23231. /Ermcp/QueryExposureSpot:
  23232. get:
  23233. parameters:
  23234. - description: 所属机构ID
  23235. in: query
  23236. name: areaUserId
  23237. required: true
  23238. type: integer
  23239. produces:
  23240. - application/json
  23241. responses:
  23242. "200":
  23243. description: OK
  23244. schema:
  23245. items:
  23246. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23247. type: array
  23248. "500":
  23249. description: Internal Server Error
  23250. schema:
  23251. $ref: '#/definitions/app.Response'
  23252. security:
  23253. - ApiKeyAuth: []
  23254. summary: 查询敞口现货头寸(敞口/现货头寸)
  23255. tags:
  23256. - 企业风险管理(app)
  23257. /Ermcp/QueryExposureSpotDetail:
  23258. get:
  23259. parameters:
  23260. - description: 所属机构ID
  23261. in: query
  23262. name: areaUserId
  23263. required: true
  23264. type: integer
  23265. - description: 现货品种ID
  23266. in: query
  23267. name: wrstandardId
  23268. required: true
  23269. type: integer
  23270. produces:
  23271. - application/json
  23272. responses:
  23273. "200":
  23274. description: OK
  23275. schema:
  23276. items:
  23277. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23278. type: array
  23279. "500":
  23280. description: Internal Server Error
  23281. schema:
  23282. $ref: '#/definitions/app.Response'
  23283. security:
  23284. - ApiKeyAuth: []
  23285. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23286. tags:
  23287. - 企业风险管理(app)
  23288. /Ermcp/QueryFuturesCompany:
  23289. get:
  23290. produces:
  23291. - application/json
  23292. responses:
  23293. "200":
  23294. description: OK
  23295. schema:
  23296. items:
  23297. $ref: '#/definitions/models.ErmcpFuturesCompany'
  23298. type: array
  23299. "500":
  23300. description: Internal Server Error
  23301. schema:
  23302. $ref: '#/definitions/app.Response'
  23303. security:
  23304. - ApiKeyAuth: []
  23305. summary: 查询期货公司
  23306. tags:
  23307. - 企业风险管理(app)
  23308. /Ermcp/QueryGGConvertConfig:
  23309. get:
  23310. parameters:
  23311. - description: 品种id(不填则查所有)
  23312. in: query
  23313. name: goodsgroupid
  23314. type: integer
  23315. produces:
  23316. - application/json
  23317. responses:
  23318. "200":
  23319. description: OK
  23320. schema:
  23321. items:
  23322. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  23323. type: array
  23324. "500":
  23325. description: Internal Server Error
  23326. schema:
  23327. $ref: '#/definitions/app.Response'
  23328. security:
  23329. - ApiKeyAuth: []
  23330. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  23331. tags:
  23332. - 企业风险管理(app)
  23333. /Ermcp/QueryGoodsBrand:
  23334. get:
  23335. parameters:
  23336. - description: 用户ID
  23337. in: query
  23338. name: userid
  23339. required: true
  23340. type: integer
  23341. - description: 现货商品ID
  23342. in: query
  23343. name: wrstandardid
  23344. type: integer
  23345. produces:
  23346. - application/json
  23347. responses:
  23348. "200":
  23349. description: OK
  23350. schema:
  23351. items:
  23352. $ref: '#/definitions/models.ErmcpGoodsBrand'
  23353. type: array
  23354. "500":
  23355. description: Internal Server Error
  23356. schema:
  23357. $ref: '#/definitions/app.Response'
  23358. security:
  23359. - ApiKeyAuth: []
  23360. summary: 查询商品品牌
  23361. tags:
  23362. - 企业风险管理(app)
  23363. /Ermcp/QueryGoodsModel:
  23364. get:
  23365. parameters:
  23366. - description: 用户ID
  23367. in: query
  23368. name: userid
  23369. required: true
  23370. type: integer
  23371. produces:
  23372. - application/json
  23373. responses:
  23374. "200":
  23375. description: OK
  23376. schema:
  23377. items:
  23378. $ref: '#/definitions/models.ErmcpGoodsModel'
  23379. type: array
  23380. "500":
  23381. description: Internal Server Error
  23382. schema:
  23383. $ref: '#/definitions/app.Response'
  23384. security:
  23385. - ApiKeyAuth: []
  23386. summary: 查询商品型号
  23387. tags:
  23388. - 企业风险管理(app)
  23389. /Ermcp/QueryHisExposure:
  23390. get:
  23391. parameters:
  23392. - description: 用户id
  23393. in: query
  23394. name: userid
  23395. required: true
  23396. type: integer
  23397. - description: 每个品种记录数
  23398. in: query
  23399. name: lastNum
  23400. required: true
  23401. type: integer
  23402. produces:
  23403. - application/json
  23404. responses:
  23405. "200":
  23406. description: OK
  23407. schema:
  23408. items:
  23409. $ref: '#/definitions/ermcp.HisExposureRsp'
  23410. type: array
  23411. "500":
  23412. description: Internal Server Error
  23413. schema:
  23414. $ref: '#/definitions/app.Response'
  23415. security:
  23416. - ApiKeyAuth: []
  23417. summary: 查询历史敞口(菜单:敞口/历史敞口)
  23418. tags:
  23419. - 企业风险管理(app)
  23420. /Ermcp/QueryMiddleGoods:
  23421. get:
  23422. parameters:
  23423. - description: 所属机构ID
  23424. in: query
  23425. name: userid
  23426. required: true
  23427. type: integer
  23428. - description: 状态 0-停用 1-正常
  23429. in: query
  23430. name: status
  23431. required: true
  23432. type: integer
  23433. produces:
  23434. - application/json
  23435. responses:
  23436. "200":
  23437. description: OK
  23438. schema:
  23439. items:
  23440. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  23441. type: array
  23442. "500":
  23443. description: Internal Server Error
  23444. schema:
  23445. $ref: '#/definitions/app.Response'
  23446. security:
  23447. - ApiKeyAuth: []
  23448. summary: 查询套保品种(菜单:套保品种)
  23449. tags:
  23450. - 企业风险管理(app)
  23451. /Ermcp/QueryMiddleGoodsChangeLog:
  23452. get:
  23453. parameters:
  23454. - description: 所属机构ID
  23455. in: query
  23456. name: userid
  23457. required: true
  23458. type: integer
  23459. - description: 套保品种id
  23460. in: query
  23461. name: middlegoodsid
  23462. required: true
  23463. type: integer
  23464. produces:
  23465. - application/json
  23466. responses:
  23467. "200":
  23468. description: OK
  23469. schema:
  23470. items:
  23471. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  23472. type: array
  23473. "500":
  23474. description: Internal Server Error
  23475. schema:
  23476. $ref: '#/definitions/app.Response'
  23477. security:
  23478. - ApiKeyAuth: []
  23479. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  23480. tags:
  23481. - 企业风险管理(app)
  23482. /Ermcp/QueryMiddleGoodsDetail:
  23483. get:
  23484. parameters:
  23485. - description: 所属机构ID
  23486. in: query
  23487. name: userid
  23488. required: true
  23489. type: integer
  23490. - description: 套保品种id
  23491. in: query
  23492. name: middlegoodsid
  23493. type: integer
  23494. produces:
  23495. - application/json
  23496. responses:
  23497. "200":
  23498. description: OK
  23499. schema:
  23500. items:
  23501. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  23502. type: array
  23503. "500":
  23504. description: Internal Server Error
  23505. schema:
  23506. $ref: '#/definitions/app.Response'
  23507. security:
  23508. - ApiKeyAuth: []
  23509. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  23510. tags:
  23511. - 企业风险管理(app)
  23512. /Ermcp/QueryPendingAuditInfo:
  23513. get:
  23514. parameters:
  23515. - description: 用户ID
  23516. in: query
  23517. name: UserId
  23518. required: true
  23519. type: integer
  23520. produces:
  23521. - application/json
  23522. responses:
  23523. "200":
  23524. description: OK
  23525. schema:
  23526. items:
  23527. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  23528. type: array
  23529. "500":
  23530. description: Internal Server Error
  23531. schema:
  23532. $ref: '#/definitions/app.Response'
  23533. security:
  23534. - ApiKeyAuth: []
  23535. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  23536. tags:
  23537. - 企业风险管理(app)
  23538. /Ermcp/QueryRealtimeExposure:
  23539. get:
  23540. parameters:
  23541. - description: 所属机构ID
  23542. in: query
  23543. name: userid
  23544. required: true
  23545. type: integer
  23546. produces:
  23547. - application/json
  23548. responses:
  23549. "200":
  23550. description: OK
  23551. schema:
  23552. items:
  23553. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  23554. type: array
  23555. "500":
  23556. description: Internal Server Error
  23557. schema:
  23558. $ref: '#/definitions/app.Response'
  23559. security:
  23560. - ApiKeyAuth: []
  23561. summary: 查询实时敞口
  23562. tags:
  23563. - 企业风险管理(app)
  23564. /Ermcp/QueryRealtimeExposurePosition:
  23565. get:
  23566. parameters:
  23567. - description: 用户id
  23568. in: query
  23569. name: userid
  23570. required: true
  23571. type: integer
  23572. - description: 套保商品ID
  23573. in: query
  23574. name: middleGoodsId
  23575. required: true
  23576. type: integer
  23577. produces:
  23578. - application/json
  23579. responses:
  23580. "200":
  23581. description: OK
  23582. schema:
  23583. items:
  23584. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  23585. type: array
  23586. "500":
  23587. description: Internal Server Error
  23588. schema:
  23589. $ref: '#/definitions/app.Response'
  23590. security:
  23591. - ApiKeyAuth: []
  23592. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  23593. tags:
  23594. - 企业风险管理(app)
  23595. /Ermcp/QueryRoleMenu:
  23596. get:
  23597. parameters:
  23598. - description: 登录ID
  23599. in: query
  23600. name: loginid
  23601. required: true
  23602. type: integer
  23603. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  23604. in: query
  23605. name: menutype
  23606. type: integer
  23607. produces:
  23608. - application/json
  23609. responses:
  23610. "200":
  23611. description: OK
  23612. schema:
  23613. items:
  23614. $ref: '#/definitions/models.RoleMenu'
  23615. type: array
  23616. "500":
  23617. description: Internal Server Error
  23618. schema:
  23619. $ref: '#/definitions/app.Response'
  23620. security:
  23621. - ApiKeyAuth: []
  23622. summary: 查询角色菜单和权限
  23623. tags:
  23624. - 企业风险管理(app)
  23625. /Ermcp/QueryTradeConfigTMP:
  23626. get:
  23627. parameters:
  23628. - description: 所属机构id
  23629. in: query
  23630. name: areauserid
  23631. type: integer
  23632. produces:
  23633. - application/json
  23634. responses:
  23635. "200":
  23636. description: OK
  23637. schema:
  23638. items:
  23639. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  23640. type: array
  23641. "500":
  23642. description: Internal Server Error
  23643. schema:
  23644. $ref: '#/definitions/app.Response'
  23645. security:
  23646. - ApiKeyAuth: []
  23647. summary: 查询交易模板配置
  23648. tags:
  23649. - 企业风险管理(app)
  23650. /Ermcp/QueryUserInfo:
  23651. get:
  23652. parameters:
  23653. - description: 所属机构用户ID
  23654. in: query
  23655. name: MemberUserID
  23656. required: true
  23657. type: integer
  23658. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  23659. in: query
  23660. name: queryType
  23661. required: true
  23662. type: integer
  23663. produces:
  23664. - application/json
  23665. responses:
  23666. "200":
  23667. description: OK
  23668. schema:
  23669. items:
  23670. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  23671. type: array
  23672. "500":
  23673. description: Internal Server Error
  23674. schema:
  23675. $ref: '#/definitions/app.Response'
  23676. security:
  23677. - ApiKeyAuth: []
  23678. summary: 查询客户资料
  23679. tags:
  23680. - 企业风险管理(app)
  23681. /Ermcp/QueryWarehouseInfo:
  23682. get:
  23683. parameters:
  23684. - description: 用户ID
  23685. in: query
  23686. name: userid
  23687. required: true
  23688. type: integer
  23689. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  23690. in: query
  23691. name: status
  23692. type: string
  23693. produces:
  23694. - application/json
  23695. responses:
  23696. "200":
  23697. description: OK
  23698. schema:
  23699. items:
  23700. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  23701. type: array
  23702. "500":
  23703. description: Internal Server Error
  23704. schema:
  23705. $ref: '#/definitions/app.Response'
  23706. security:
  23707. - ApiKeyAuth: []
  23708. summary: 查询仓库信息
  23709. tags:
  23710. - 企业风险管理(app)
  23711. /Ermcp3/QryAreaExpourseContractDetail:
  23712. get:
  23713. parameters:
  23714. - description: 用户ID
  23715. in: query
  23716. name: userid
  23717. required: true
  23718. type: integer
  23719. - description: 套保商品id
  23720. in: query
  23721. name: middlegoodsid
  23722. required: true
  23723. type: integer
  23724. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23725. in: query
  23726. name: cycletype
  23727. required: true
  23728. type: integer
  23729. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23730. 全(0)【原值】
  23731. in: query
  23732. name: cycletime
  23733. required: true
  23734. type: string
  23735. produces:
  23736. - application/json
  23737. responses:
  23738. "200":
  23739. description: OK
  23740. schema:
  23741. items:
  23742. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  23743. type: array
  23744. "500":
  23745. description: Internal Server Error
  23746. schema:
  23747. $ref: '#/definitions/app.Response'
  23748. security:
  23749. - ApiKeyAuth: []
  23750. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  23751. tags:
  23752. - 企业风险管理v3(app)
  23753. /Ermcp3/QryAreaExpourseFutuDetail:
  23754. get:
  23755. parameters:
  23756. - description: 用户ID
  23757. in: query
  23758. name: userid
  23759. required: true
  23760. type: integer
  23761. - description: 套保商品id
  23762. in: query
  23763. name: middlegoodsid
  23764. required: true
  23765. type: integer
  23766. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23767. in: query
  23768. name: cycletype
  23769. required: true
  23770. type: integer
  23771. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23772. 全(0)【原值】
  23773. in: query
  23774. name: cycletime
  23775. required: true
  23776. type: string
  23777. produces:
  23778. - application/json
  23779. responses:
  23780. "200":
  23781. description: OK
  23782. schema:
  23783. items:
  23784. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  23785. type: array
  23786. "500":
  23787. description: Internal Server Error
  23788. schema:
  23789. $ref: '#/definitions/app.Response'
  23790. security:
  23791. - ApiKeyAuth: []
  23792. summary: 查询敞口期货明细(敞口报表/期货明细)
  23793. tags:
  23794. - 企业风险管理v3(app)
  23795. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  23796. get:
  23797. parameters:
  23798. - description: 用户ID
  23799. in: query
  23800. name: userid
  23801. required: true
  23802. type: integer
  23803. - description: 套保商品id
  23804. in: query
  23805. name: middlegoodsid
  23806. required: true
  23807. type: integer
  23808. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23809. in: query
  23810. name: cycletype
  23811. required: true
  23812. type: integer
  23813. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23814. 全(0)【原值】
  23815. in: query
  23816. name: cycletime
  23817. required: true
  23818. type: string
  23819. produces:
  23820. - application/json
  23821. responses:
  23822. "200":
  23823. description: OK
  23824. schema:
  23825. items:
  23826. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  23827. type: array
  23828. "500":
  23829. description: Internal Server Error
  23830. schema:
  23831. $ref: '#/definitions/app.Response'
  23832. security:
  23833. - ApiKeyAuth: []
  23834. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  23835. tags:
  23836. - 企业风险管理v3(app)
  23837. /Ermcp3/QryAreaExpourseParamChLogDetail:
  23838. get:
  23839. parameters:
  23840. - description: 用户ID
  23841. in: query
  23842. name: userid
  23843. required: true
  23844. type: integer
  23845. - description: 套保商品id
  23846. in: query
  23847. name: middlegoodsid
  23848. required: true
  23849. type: integer
  23850. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23851. in: query
  23852. name: cycletype
  23853. required: true
  23854. type: integer
  23855. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23856. 全(0)【原值】
  23857. in: query
  23858. name: cycletime
  23859. required: true
  23860. type: string
  23861. produces:
  23862. - application/json
  23863. responses:
  23864. "200":
  23865. description: OK
  23866. schema:
  23867. items:
  23868. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  23869. type: array
  23870. "500":
  23871. description: Internal Server Error
  23872. schema:
  23873. $ref: '#/definitions/app.Response'
  23874. security:
  23875. - ApiKeyAuth: []
  23876. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  23877. tags:
  23878. - 企业风险管理v3(app)
  23879. /Ermcp3/QryAreaExpourseReport:
  23880. get:
  23881. parameters:
  23882. - description: 用户ID
  23883. in: query
  23884. name: userid
  23885. required: true
  23886. type: integer
  23887. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  23888. in: query
  23889. name: querytype
  23890. required: true
  23891. type: integer
  23892. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23893. in: query
  23894. name: cycletype
  23895. required: true
  23896. type: integer
  23897. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23898. 全(0)【原值】
  23899. in: query
  23900. name: cycletime
  23901. required: true
  23902. type: string
  23903. produces:
  23904. - application/json
  23905. responses:
  23906. "200":
  23907. description: OK
  23908. schema:
  23909. items:
  23910. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  23911. type: array
  23912. "500":
  23913. description: Internal Server Error
  23914. schema:
  23915. $ref: '#/definitions/app.Response'
  23916. security:
  23917. - ApiKeyAuth: []
  23918. summary: 查询敞口报表
  23919. tags:
  23920. - 企业风险管理v3(app)
  23921. /Ermcp3/QryAreaSpotplReport:
  23922. get:
  23923. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  23924. parameters:
  23925. - description: 用户ID
  23926. in: query
  23927. name: userid
  23928. required: true
  23929. type: integer
  23930. - description: 查询类型 1-报表 2-报表明细
  23931. in: query
  23932. name: querytype
  23933. required: true
  23934. type: integer
  23935. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23936. in: query
  23937. name: cycletype
  23938. required: true
  23939. type: integer
  23940. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23941. 全(0)【原值】
  23942. in: query
  23943. name: cycletime
  23944. required: true
  23945. type: string
  23946. - description: 现货品种id(明细必填)
  23947. in: query
  23948. name: deliverygoodsid
  23949. type: integer
  23950. - description: 币种id(明细必填)
  23951. in: query
  23952. name: currencyid
  23953. type: integer
  23954. - description: 日/周/月报表汇总维度 1:品种+品类
  23955. in: query
  23956. name: sumflag
  23957. type: integer
  23958. produces:
  23959. - application/json
  23960. responses:
  23961. "200":
  23962. description: OK
  23963. schema:
  23964. items:
  23965. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  23966. type: array
  23967. "500":
  23968. description: Internal Server Error
  23969. schema:
  23970. $ref: '#/definitions/app.Response'
  23971. security:
  23972. - ApiKeyAuth: []
  23973. summary: 查询现货报表
  23974. tags:
  23975. - 企业风险管理v3(app)
  23976. /Ermcp3/QryAreaStockReport:
  23977. get:
  23978. parameters:
  23979. - description: 用户ID
  23980. in: query
  23981. name: userid
  23982. required: true
  23983. type: integer
  23984. - description: 查询类型 1-报表 2-报表明细
  23985. in: query
  23986. name: querytype
  23987. required: true
  23988. type: integer
  23989. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23990. in: query
  23991. name: cycletype
  23992. required: true
  23993. type: integer
  23994. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23995. 全(0)【原值】
  23996. in: query
  23997. name: cycletime
  23998. required: true
  23999. type: string
  24000. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  24001. in: query
  24002. name: sumfields
  24003. type: string
  24004. - description: 品种ID
  24005. in: query
  24006. name: deliverygoodsid
  24007. type: integer
  24008. - description: 品类ID
  24009. in: query
  24010. name: wrstandardid
  24011. type: integer
  24012. - description: 品牌ID
  24013. in: query
  24014. name: spotgoodsbrandid
  24015. type: integer
  24016. - description: 仓库ID
  24017. in: query
  24018. name: warehouseinfoid
  24019. type: integer
  24020. produces:
  24021. - application/json
  24022. responses:
  24023. "200":
  24024. description: OK
  24025. schema:
  24026. items:
  24027. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  24028. type: array
  24029. "500":
  24030. description: Internal Server Error
  24031. schema:
  24032. $ref: '#/definitions/app.Response'
  24033. security:
  24034. - ApiKeyAuth: []
  24035. summary: 查询库存报表
  24036. tags:
  24037. - 企业风险管理v3(app)
  24038. /Ermcp3/QryAreaSumPL:
  24039. get:
  24040. parameters:
  24041. - description: 用户ID
  24042. in: query
  24043. name: userid
  24044. required: true
  24045. type: integer
  24046. - description: 查询类型 1-报表 2-报表明细
  24047. in: query
  24048. name: querytype
  24049. required: true
  24050. type: integer
  24051. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24052. in: query
  24053. name: cycletype
  24054. required: true
  24055. type: integer
  24056. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24057. 全(0)【原值】
  24058. in: query
  24059. name: cycletime
  24060. required: true
  24061. type: string
  24062. - description: 币种id(明细必填)
  24063. in: query
  24064. name: currencyid
  24065. type: integer
  24066. produces:
  24067. - application/json
  24068. responses:
  24069. "200":
  24070. description: OK
  24071. schema:
  24072. items:
  24073. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  24074. type: array
  24075. "500":
  24076. description: Internal Server Error
  24077. schema:
  24078. $ref: '#/definitions/app.Response'
  24079. security:
  24080. - ApiKeyAuth: []
  24081. summary: 查询汇总损益表
  24082. tags:
  24083. - 企业风险管理v3(app)
  24084. /Ermcp3/QryFinanceReport:
  24085. get:
  24086. parameters:
  24087. - description: 用户ID
  24088. in: query
  24089. name: userid
  24090. required: true
  24091. type: integer
  24092. - description: 查询类型 1-报表 2-报表明细
  24093. in: query
  24094. name: querytype
  24095. required: true
  24096. type: integer
  24097. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24098. in: query
  24099. name: cycletype
  24100. required: true
  24101. type: integer
  24102. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24103. 全(0)【原值】
  24104. in: query
  24105. name: cycletime
  24106. required: true
  24107. type: string
  24108. - description: 币种id(报表明细必填)
  24109. in: query
  24110. name: currencyid
  24111. type: integer
  24112. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  24113. in: query
  24114. name: sumfields
  24115. type: string
  24116. produces:
  24117. - application/json
  24118. responses:
  24119. "200":
  24120. description: OK
  24121. schema:
  24122. items:
  24123. $ref: '#/definitions/models.Ermcp3FinanceReport'
  24124. type: array
  24125. "500":
  24126. description: Internal Server Error
  24127. schema:
  24128. $ref: '#/definitions/app.Response'
  24129. security:
  24130. - ApiKeyAuth: []
  24131. summary: 查询财务报表
  24132. tags:
  24133. - 企业风险管理v3(app)
  24134. /Ermcp3/QrySCMiddleGoodsReport:
  24135. get:
  24136. parameters:
  24137. - description: 用户ID
  24138. in: query
  24139. name: userid
  24140. required: true
  24141. type: integer
  24142. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24143. in: query
  24144. name: cycletype
  24145. required: true
  24146. type: integer
  24147. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24148. 全(0)【原值】
  24149. in: query
  24150. name: cycletime
  24151. required: true
  24152. type: string
  24153. - description: 合同id
  24154. in: query
  24155. name: spotcontractid
  24156. type: integer
  24157. - description: 套保品种id
  24158. in: query
  24159. name: middlegoodsid
  24160. type: integer
  24161. - description: 现货品种id
  24162. in: query
  24163. name: deliverygoodsid
  24164. type: integer
  24165. - description: 现货商品id
  24166. in: query
  24167. name: wrstandardid
  24168. type: integer
  24169. - description: 合同编号(模糊匹配)
  24170. in: query
  24171. name: contractno
  24172. type: string
  24173. produces:
  24174. - application/json
  24175. responses:
  24176. "200":
  24177. description: OK
  24178. schema:
  24179. items:
  24180. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24181. type: array
  24182. "500":
  24183. description: Internal Server Error
  24184. schema:
  24185. $ref: '#/definitions/app.Response'
  24186. security:
  24187. - ApiKeyAuth: []
  24188. summary: 查询定价报表
  24189. tags:
  24190. - 企业风险管理v3(app)
  24191. /Ermcp3/QryTaFutureDataReport:
  24192. get:
  24193. parameters:
  24194. - description: 用户ID
  24195. in: query
  24196. name: userid
  24197. required: true
  24198. type: integer
  24199. - description: 查询类型 1-报表 2-报表明细
  24200. in: query
  24201. name: querytype
  24202. required: true
  24203. type: integer
  24204. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24205. in: query
  24206. name: cycletype
  24207. required: true
  24208. type: integer
  24209. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24210. 全(0)【原值】
  24211. in: query
  24212. name: cycletime
  24213. required: true
  24214. type: string
  24215. - description: 币种id(查明细必填)
  24216. in: query
  24217. name: currencyid
  24218. type: integer
  24219. - description: 品种id(查明细必填)
  24220. in: query
  24221. name: goodsgroupid
  24222. type: integer
  24223. - description: 商品id(查明细必填)
  24224. in: query
  24225. name: goodsid
  24226. type: integer
  24227. - description: 买卖方向(查明细必填)
  24228. in: query
  24229. name: buyorsell
  24230. type: integer
  24231. produces:
  24232. - application/json
  24233. responses:
  24234. "200":
  24235. description: OK
  24236. schema:
  24237. items:
  24238. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24239. type: array
  24240. "500":
  24241. description: Internal Server Error
  24242. schema:
  24243. $ref: '#/definitions/app.Response'
  24244. security:
  24245. - ApiKeyAuth: []
  24246. summary: 查询期货报表
  24247. tags:
  24248. - 企业风险管理v3(app)
  24249. /Ermcp3/QueryAreaStock:
  24250. get:
  24251. parameters:
  24252. - description: 用户ID
  24253. in: query
  24254. name: userid
  24255. required: true
  24256. type: integer
  24257. produces:
  24258. - application/json
  24259. responses:
  24260. "200":
  24261. description: OK
  24262. schema:
  24263. items:
  24264. $ref: '#/definitions/models.Ermcp3AreaStock'
  24265. type: array
  24266. "500":
  24267. description: Internal Server Error
  24268. schema:
  24269. $ref: '#/definitions/app.Response'
  24270. security:
  24271. - ApiKeyAuth: []
  24272. summary: 查询机构库存(库存管理/当前库存)
  24273. tags:
  24274. - 企业风险管理v3(app)
  24275. /Ermcp3/QueryAreaStockApply:
  24276. get:
  24277. parameters:
  24278. - description: 用户ID
  24279. in: query
  24280. name: userid
  24281. required: true
  24282. type: integer
  24283. - description: 用户类型 2-机构 7-企业成员
  24284. in: query
  24285. name: usertype
  24286. type: integer
  24287. - description: 现货商品ID
  24288. in: query
  24289. name: deliverygoodsid
  24290. type: integer
  24291. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  24292. in: query
  24293. name: inouttype
  24294. type: string
  24295. - description: 合同ID
  24296. in: query
  24297. name: spotcontractid
  24298. type: integer
  24299. - description: 品类ID
  24300. in: query
  24301. name: wrstandardid
  24302. type: integer
  24303. - description: 品牌ID
  24304. in: query
  24305. name: spotgoodsbrandid
  24306. type: integer
  24307. - description: 仓库ID
  24308. in: query
  24309. name: warehouseinfoid
  24310. type: integer
  24311. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24312. in: query
  24313. name: applystatus
  24314. type: string
  24315. produces:
  24316. - application/json
  24317. responses:
  24318. "200":
  24319. description: OK
  24320. schema:
  24321. items:
  24322. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  24323. type: array
  24324. "500":
  24325. description: Internal Server Error
  24326. schema:
  24327. $ref: '#/definitions/app.Response'
  24328. security:
  24329. - ApiKeyAuth: []
  24330. summary: 查询库存申请(出入库记录|库存审核)
  24331. tags:
  24332. - 企业风险管理v3(app)
  24333. /Ermcp3/QueryAreaStockApplySum:
  24334. get:
  24335. parameters:
  24336. - description: 合同ID
  24337. in: query
  24338. name: spotcontractid
  24339. required: true
  24340. type: integer
  24341. produces:
  24342. - application/json
  24343. responses:
  24344. "200":
  24345. description: OK
  24346. schema:
  24347. items:
  24348. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  24349. type: array
  24350. "500":
  24351. description: Internal Server Error
  24352. schema:
  24353. $ref: '#/definitions/app.Response'
  24354. security:
  24355. - ApiKeyAuth: []
  24356. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  24357. tags:
  24358. - 企业风险管理v3(app)
  24359. /Ermcp3/QueryDGFactoryItem:
  24360. get:
  24361. parameters:
  24362. - description: 用户id
  24363. in: query
  24364. name: userid
  24365. type: integer
  24366. - description: 用户类型 2-机构 7-企业成员
  24367. in: query
  24368. name: usertype
  24369. type: integer
  24370. - description: 选择项ID(SEQ_DGFACTORYITEM)
  24371. in: query
  24372. name: dgfactoryitemid
  24373. type: integer
  24374. - description: 现货品种ID
  24375. in: query
  24376. name: deliverygoodsid
  24377. type: integer
  24378. - description: 要素项类型
  24379. in: query
  24380. name: dgfactoryitemtypeid
  24381. type: integer
  24382. - description: 顺序
  24383. in: query
  24384. name: orderindex
  24385. type: integer
  24386. produces:
  24387. - application/json
  24388. responses:
  24389. "200":
  24390. description: OK
  24391. schema:
  24392. items:
  24393. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  24394. type: array
  24395. "500":
  24396. description: Internal Server Error
  24397. schema:
  24398. $ref: '#/definitions/app.Response'
  24399. security:
  24400. - ApiKeyAuth: []
  24401. summary: 查询品种要素定义项
  24402. tags:
  24403. - 企业风险管理v3(app)
  24404. /Ermcp3/QueryDeliveryGoods:
  24405. get:
  24406. parameters:
  24407. - description: 用户id
  24408. in: query
  24409. name: userid
  24410. required: true
  24411. type: integer
  24412. - description: 用户类型 2-机构 7-企业成员
  24413. in: query
  24414. name: usertype
  24415. type: integer
  24416. - description: 排除已配置的业务类型商品 1-套保 2-套利
  24417. in: query
  24418. name: excludecfg
  24419. type: integer
  24420. produces:
  24421. - application/json
  24422. responses:
  24423. "200":
  24424. description: OK
  24425. schema:
  24426. items:
  24427. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  24428. type: array
  24429. "500":
  24430. description: Internal Server Error
  24431. schema:
  24432. $ref: '#/definitions/app.Response'
  24433. security:
  24434. - ApiKeyAuth: []
  24435. summary: 查询现货商品
  24436. tags:
  24437. - 企业风险管理v3(app)
  24438. /Ermcp3/QueryDeliveryGoodsDetail:
  24439. get:
  24440. parameters:
  24441. - description: 用户id
  24442. in: query
  24443. name: userid
  24444. required: true
  24445. type: integer
  24446. - description: 用户类型 2-机构 7-企业成员
  24447. in: query
  24448. name: usertype
  24449. type: integer
  24450. - description: 现货商品id
  24451. in: query
  24452. name: deliverygoodsid
  24453. type: integer
  24454. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  24455. in: query
  24456. name: filtersubempty
  24457. type: integer
  24458. produces:
  24459. - application/json
  24460. responses:
  24461. "200":
  24462. description: OK
  24463. schema:
  24464. items:
  24465. $ref: '#/definitions/models.XHDeliveryGoods'
  24466. type: array
  24467. "500":
  24468. description: Internal Server Error
  24469. schema:
  24470. $ref: '#/definitions/app.Response'
  24471. security:
  24472. - ApiKeyAuth: []
  24473. summary: 查询现货商品详情
  24474. tags:
  24475. - 企业风险管理v3(app)
  24476. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  24477. get:
  24478. parameters:
  24479. - description: 合同id
  24480. in: query
  24481. name: spotcontractid
  24482. required: true
  24483. type: string
  24484. produces:
  24485. - application/json
  24486. responses:
  24487. "200":
  24488. description: OK
  24489. schema:
  24490. items:
  24491. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  24492. type: array
  24493. "500":
  24494. description: Internal Server Error
  24495. schema:
  24496. $ref: '#/definitions/app.Response'
  24497. security:
  24498. - ApiKeyAuth: []
  24499. summary: 查询现货合同期现配置信息
  24500. tags:
  24501. - 企业风险管理v3(app)
  24502. /Ermcp3/QueryExposureDetail:
  24503. get:
  24504. parameters:
  24505. - description: 用户id
  24506. in: query
  24507. name: userid
  24508. required: true
  24509. type: integer
  24510. - description: 用户类型 2-机构 7-企业成员
  24511. in: query
  24512. name: usertype
  24513. type: integer
  24514. - description: 套保商品
  24515. in: query
  24516. name: middlegoodsid
  24517. required: true
  24518. type: integer
  24519. produces:
  24520. - application/json
  24521. responses:
  24522. "200":
  24523. description: OK
  24524. schema:
  24525. items:
  24526. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  24527. type: array
  24528. "500":
  24529. description: Internal Server Error
  24530. schema:
  24531. $ref: '#/definitions/app.Response'
  24532. security:
  24533. - ApiKeyAuth: []
  24534. summary: 查询敞口现货明细
  24535. tags:
  24536. - 企业风险管理v3(app)
  24537. /Ermcp3/QueryExposureSpot:
  24538. get:
  24539. parameters:
  24540. - description: 用户id
  24541. in: query
  24542. name: userid
  24543. required: true
  24544. type: integer
  24545. - description: 用户类型 2-机构 7-企业成员
  24546. in: query
  24547. name: usertype
  24548. type: integer
  24549. produces:
  24550. - application/json
  24551. responses:
  24552. "200":
  24553. description: OK
  24554. schema:
  24555. items:
  24556. $ref: '#/definitions/models.Ermcp3AreaSpot'
  24557. type: array
  24558. "500":
  24559. description: Internal Server Error
  24560. schema:
  24561. $ref: '#/definitions/app.Response'
  24562. security:
  24563. - ApiKeyAuth: []
  24564. summary: 查询敞口现货头寸(敞口/现货头寸)
  24565. tags:
  24566. - 企业风险管理v3(app)
  24567. /Ermcp3/QueryExposureSpotDetail:
  24568. get:
  24569. parameters:
  24570. - description: 用户id
  24571. in: query
  24572. name: userid
  24573. required: true
  24574. type: integer
  24575. - description: 用户类型 2-机构 7-企业成员
  24576. in: query
  24577. name: usertype
  24578. type: integer
  24579. - description: 现货商品ID
  24580. in: query
  24581. name: wrstandardid
  24582. required: true
  24583. type: integer
  24584. produces:
  24585. - application/json
  24586. responses:
  24587. "200":
  24588. description: OK
  24589. schema:
  24590. items:
  24591. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  24592. type: array
  24593. "500":
  24594. description: Internal Server Error
  24595. schema:
  24596. $ref: '#/definitions/app.Response'
  24597. security:
  24598. - ApiKeyAuth: []
  24599. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24600. tags:
  24601. - 企业风险管理v3(app)
  24602. /Ermcp3/QueryGoodsGroup:
  24603. get:
  24604. parameters:
  24605. - description: 用户id
  24606. in: query
  24607. name: userid
  24608. required: true
  24609. type: integer
  24610. - description: 用户类型 2-机构 7-企业成员
  24611. in: query
  24612. name: usertype
  24613. type: integer
  24614. - description: 排除套保品中已关联的商品组 1-排除
  24615. in: query
  24616. name: excludecfg
  24617. type: integer
  24618. produces:
  24619. - application/json
  24620. responses:
  24621. "200":
  24622. description: OK
  24623. schema:
  24624. items:
  24625. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  24626. type: array
  24627. "500":
  24628. description: Internal Server Error
  24629. schema:
  24630. $ref: '#/definitions/app.Response'
  24631. security:
  24632. - ApiKeyAuth: []
  24633. summary: 查询期货商品组
  24634. tags:
  24635. - 企业风险管理v3(app)
  24636. /Ermcp3/QueryGoodsWrstandard:
  24637. get:
  24638. parameters:
  24639. - description: 用户id
  24640. in: query
  24641. name: userid
  24642. required: true
  24643. type: integer
  24644. - description: 用户类型 2-机构 7-企业成员
  24645. in: query
  24646. name: usertype
  24647. type: integer
  24648. - description: 现货商品id
  24649. in: query
  24650. name: deliverygoodsid
  24651. type: integer
  24652. produces:
  24653. - application/json
  24654. responses:
  24655. "200":
  24656. description: OK
  24657. schema:
  24658. items:
  24659. $ref: '#/definitions/models.Ermcp3Wrstandard'
  24660. type: array
  24661. "500":
  24662. description: Internal Server Error
  24663. schema:
  24664. $ref: '#/definitions/app.Response'
  24665. security:
  24666. - ApiKeyAuth: []
  24667. summary: 查询商品品类
  24668. tags:
  24669. - 企业风险管理v3(app)
  24670. /Ermcp3/QueryGoodsbrand:
  24671. get:
  24672. parameters:
  24673. - description: 用户id
  24674. in: query
  24675. name: userid
  24676. required: true
  24677. type: integer
  24678. - description: 用户类型 2-机构 7-企业成员
  24679. in: query
  24680. name: usertype
  24681. type: integer
  24682. produces:
  24683. - application/json
  24684. responses:
  24685. "200":
  24686. description: OK
  24687. schema:
  24688. items:
  24689. $ref: '#/definitions/models.Ermcp3Brand'
  24690. type: array
  24691. "500":
  24692. description: Internal Server Error
  24693. schema:
  24694. $ref: '#/definitions/app.Response'
  24695. security:
  24696. - ApiKeyAuth: []
  24697. summary: 查询商品品牌
  24698. tags:
  24699. - 企业风险管理v3(app)
  24700. /Ermcp3/QueryHPMiddleGoods:
  24701. get:
  24702. parameters:
  24703. - description: 用户ID(填登录用户的userid)
  24704. in: query
  24705. name: userid
  24706. required: true
  24707. type: integer
  24708. - description: 买卖方向 0-买 1-卖
  24709. in: query
  24710. name: buyorsell
  24711. required: true
  24712. type: integer
  24713. - description: 商品组id
  24714. in: query
  24715. name: goodsgroupid
  24716. required: true
  24717. type: integer
  24718. - description: 套保计划编号(模糊匹配)
  24719. in: query
  24720. name: hedgeplanno
  24721. type: string
  24722. - description: 现货商品名称(模糊匹配)
  24723. in: query
  24724. name: wrstandardname
  24725. type: string
  24726. produces:
  24727. - application/json
  24728. responses:
  24729. "200":
  24730. description: OK
  24731. schema:
  24732. items:
  24733. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  24734. type: array
  24735. "500":
  24736. description: Internal Server Error
  24737. schema:
  24738. $ref: '#/definitions/app.Response'
  24739. security:
  24740. - ApiKeyAuth: []
  24741. summary: 查询可关联套保计划
  24742. tags:
  24743. - 企业风险管理v3(app)
  24744. /Ermcp3/QueryHedgePlan:
  24745. get:
  24746. parameters:
  24747. - description: 用户ID
  24748. in: query
  24749. name: userid
  24750. required: true
  24751. type: integer
  24752. - description: 用户类型 2-机构 7-企业成员
  24753. in: query
  24754. name: usertype
  24755. type: integer
  24756. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24757. in: query
  24758. name: hedgeplanstatus
  24759. required: true
  24760. type: string
  24761. produces:
  24762. - application/json
  24763. responses:
  24764. "200":
  24765. description: OK
  24766. schema:
  24767. items:
  24768. $ref: '#/definitions/models.Ermcp3HedgePlan'
  24769. type: array
  24770. "500":
  24771. description: Internal Server Error
  24772. schema:
  24773. $ref: '#/definitions/app.Response'
  24774. security:
  24775. - ApiKeyAuth: []
  24776. summary: 查询套保计划
  24777. tags:
  24778. - 企业风险管理v3(app)
  24779. /Ermcp3/QueryInnerTradeLink:
  24780. get:
  24781. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  24782. parameters:
  24783. - description: 外部成交单号
  24784. in: query
  24785. name: outtradeid
  24786. required: true
  24787. type: integer
  24788. produces:
  24789. - application/json
  24790. responses:
  24791. "200":
  24792. description: OK
  24793. schema:
  24794. items:
  24795. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  24796. type: array
  24797. "500":
  24798. description: Internal Server Error
  24799. schema:
  24800. $ref: '#/definitions/app.Response'
  24801. security:
  24802. - ApiKeyAuth: []
  24803. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  24804. tags:
  24805. - 企业风险管理v3(app)
  24806. /Ermcp3/QueryMiddleGoodsDetail:
  24807. get:
  24808. parameters:
  24809. - description: 用户id
  24810. in: query
  24811. name: userid
  24812. required: true
  24813. type: integer
  24814. - description: 用户类型 2-机构 7-企业成员
  24815. in: query
  24816. name: usertype
  24817. type: integer
  24818. - description: 套保品种id
  24819. in: query
  24820. name: middlegoodsid
  24821. type: integer
  24822. produces:
  24823. - application/json
  24824. responses:
  24825. "200":
  24826. description: OK
  24827. schema:
  24828. items:
  24829. $ref: '#/definitions/models.TBMiddleGoods'
  24830. type: array
  24831. "500":
  24832. description: Internal Server Error
  24833. schema:
  24834. $ref: '#/definitions/app.Response'
  24835. security:
  24836. - ApiKeyAuth: []
  24837. summary: 查询套保品种详情(套保品种/商品详情)
  24838. tags:
  24839. - 企业风险管理v3(app)
  24840. /Ermcp3/QueryOutTradeLink:
  24841. get:
  24842. description: 页面 app 现货->期现关联->外部成交单关联
  24843. parameters:
  24844. - description: 用户ID(填登录用户的userid)
  24845. in: query
  24846. name: userid
  24847. required: true
  24848. type: integer
  24849. - description: 外部订单号(模糊匹配)
  24850. in: query
  24851. name: outtradeid
  24852. type: string
  24853. - description: 合约名称/代码(模糊匹配)
  24854. in: query
  24855. name: goodsname
  24856. type: string
  24857. - description: 关联状态 0-未关联 1-已关联
  24858. in: query
  24859. name: hasinnerorder
  24860. type: integer
  24861. produces:
  24862. - application/json
  24863. responses:
  24864. "200":
  24865. description: OK
  24866. schema:
  24867. items:
  24868. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  24869. type: array
  24870. "500":
  24871. description: Internal Server Error
  24872. schema:
  24873. $ref: '#/definitions/app.Response'
  24874. security:
  24875. - ApiKeyAuth: []
  24876. summary: 查询外部成交单关联
  24877. tags:
  24878. - 企业风险管理v3(app)
  24879. /Ermcp3/QueryPaAreaAuditCfg:
  24880. get:
  24881. parameters:
  24882. - description: 用户id
  24883. in: query
  24884. name: userid
  24885. required: true
  24886. type: integer
  24887. produces:
  24888. - application/json
  24889. responses:
  24890. "200":
  24891. description: OK
  24892. schema:
  24893. items:
  24894. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  24895. type: array
  24896. "500":
  24897. description: Internal Server Error
  24898. schema:
  24899. $ref: '#/definitions/app.Response'
  24900. security:
  24901. - ApiKeyAuth: []
  24902. summary: 查询审核设置
  24903. tags:
  24904. - 企业风险管理v3(app)
  24905. /Ermcp3/QueryPaAreaSubject:
  24906. get:
  24907. parameters:
  24908. - description: 用户id
  24909. in: query
  24910. name: userid
  24911. required: true
  24912. type: integer
  24913. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  24914. in: query
  24915. name: subjectid
  24916. type: integer
  24917. - description: 主体类型 - 1:交易主体 2:业务部门
  24918. in: query
  24919. name: subjecttype
  24920. type: integer
  24921. - description: '主体状态 - 1:正常 2: 停用'
  24922. in: query
  24923. name: subjectstatus
  24924. type: integer
  24925. produces:
  24926. - application/json
  24927. responses:
  24928. "200":
  24929. description: OK
  24930. schema:
  24931. items:
  24932. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  24933. type: array
  24934. "500":
  24935. description: Internal Server Error
  24936. schema:
  24937. $ref: '#/definitions/app.Response'
  24938. security:
  24939. - ApiKeyAuth: []
  24940. summary: 查询交易主体
  24941. tags:
  24942. - 企业风险管理v3(app)
  24943. /Ermcp3/QueryPaTradeLink:
  24944. get:
  24945. description: 页面 app 现货->期现关联->期现单据关联
  24946. parameters:
  24947. - description: 用户ID
  24948. in: query
  24949. name: userid
  24950. required: true
  24951. type: integer
  24952. produces:
  24953. - application/json
  24954. responses:
  24955. "200":
  24956. description: OK
  24957. schema:
  24958. items:
  24959. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  24960. type: array
  24961. "500":
  24962. description: Internal Server Error
  24963. schema:
  24964. $ref: '#/definitions/app.Response'
  24965. security:
  24966. - ApiKeyAuth: []
  24967. summary: 查询期现单据关联
  24968. tags:
  24969. - 企业风险管理v3(app)
  24970. /Ermcp3/QueryPaTradeLinkDetail:
  24971. get:
  24972. description: 页面 app 现货->期现关联->关联记录
  24973. parameters:
  24974. - description: 用户ID(填登录用户的userid)
  24975. in: query
  24976. name: userid
  24977. required: true
  24978. type: integer
  24979. - description: 关联状态 1:成功 2:失败 3:解绑
  24980. in: query
  24981. name: linkstatus
  24982. type: integer
  24983. - description: 期货订单号(模糊匹配)
  24984. in: query
  24985. name: tradeid
  24986. type: string
  24987. - description: 现货编号(模糊匹配)
  24988. in: query
  24989. name: contractno
  24990. type: string
  24991. - description: 期货账户(模糊匹配)
  24992. in: query
  24993. name: taname
  24994. type: string
  24995. produces:
  24996. - application/json
  24997. responses:
  24998. "200":
  24999. description: OK
  25000. schema:
  25001. items:
  25002. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  25003. type: array
  25004. "500":
  25005. description: Internal Server Error
  25006. schema:
  25007. $ref: '#/definitions/app.Response'
  25008. security:
  25009. - ApiKeyAuth: []
  25010. summary: 查询期现关联记录
  25011. tags:
  25012. - 企业风险管理v3(app)
  25013. /Ermcp3/QueryParamChangeApp:
  25014. get:
  25015. description: |-
  25016. 原型页面:
  25017. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  25018. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  25019. parameters:
  25020. - description: 用户ID
  25021. in: query
  25022. name: userid
  25023. required: true
  25024. type: integer
  25025. - description: 现货品种id
  25026. in: query
  25027. name: deliverygoodsid
  25028. type: integer
  25029. - description: 现货商品id
  25030. in: query
  25031. name: wrstandardid
  25032. type: integer
  25033. - description: 套保商品id
  25034. in: query
  25035. name: middlegoodsid
  25036. type: integer
  25037. - description: 操作类型 1:新增 2:修改
  25038. in: query
  25039. name: operatetype
  25040. type: integer
  25041. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  25042. in: query
  25043. name: paramchangetype
  25044. type: integer
  25045. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25046. in: query
  25047. name: ftstatus
  25048. type: string
  25049. produces:
  25050. - application/json
  25051. responses:
  25052. "200":
  25053. description: OK
  25054. schema:
  25055. items:
  25056. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  25057. type: array
  25058. "500":
  25059. description: Internal Server Error
  25060. schema:
  25061. $ref: '#/definitions/app.Response'
  25062. security:
  25063. - ApiKeyAuth: []
  25064. summary: 查询现货商品参数变更申请(流水)
  25065. tags:
  25066. - 企业风险管理v3(app)
  25067. /Ermcp3/QueryRootUserAccount:
  25068. get:
  25069. parameters:
  25070. - description: 用户ID
  25071. in: query
  25072. name: userid
  25073. required: true
  25074. type: integer
  25075. produces:
  25076. - application/json
  25077. responses:
  25078. "200":
  25079. description: OK
  25080. schema:
  25081. items:
  25082. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  25083. type: array
  25084. "500":
  25085. description: Internal Server Error
  25086. schema:
  25087. $ref: '#/definitions/app.Response'
  25088. security:
  25089. - ApiKeyAuth: []
  25090. summary: 查询顶级用户信息
  25091. tags:
  25092. - 企业风险管理v3(app)
  25093. /Ermcp3/QuerySCMiddleGoods:
  25094. get:
  25095. description: |-
  25096. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  25097. 现货编号 即 合同编号
  25098. parameters:
  25099. - description: 用户ID(填登录用户的userid)
  25100. in: query
  25101. name: userid
  25102. required: true
  25103. type: integer
  25104. - description: 买卖方向 0-买 1-卖
  25105. in: query
  25106. name: buyorsell
  25107. required: true
  25108. type: integer
  25109. - description: 商品组id
  25110. in: query
  25111. name: goodsgroupid
  25112. required: true
  25113. type: integer
  25114. - description: 业务类型 1:套保 2:套利
  25115. in: query
  25116. name: biztype
  25117. type: integer
  25118. - description: 现货编号(模糊匹配)
  25119. in: query
  25120. name: contractno
  25121. type: string
  25122. - description: 对手方(模糊匹配)
  25123. in: query
  25124. name: customername
  25125. type: string
  25126. - description: 现货商品名称(模糊匹配)
  25127. in: query
  25128. name: wrstandardname
  25129. type: string
  25130. produces:
  25131. - application/json
  25132. responses:
  25133. "200":
  25134. description: OK
  25135. schema:
  25136. items:
  25137. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  25138. type: array
  25139. "500":
  25140. description: Internal Server Error
  25141. schema:
  25142. $ref: '#/definitions/app.Response'
  25143. security:
  25144. - ApiKeyAuth: []
  25145. summary: 查询现货订单
  25146. tags:
  25147. - 企业风险管理v3(app)
  25148. /Ermcp3/QuerySpotContract:
  25149. get:
  25150. parameters:
  25151. - description: 用户id(当指定contractid, userid可不填)
  25152. in: query
  25153. name: userid
  25154. required: true
  25155. type: integer
  25156. - description: 用户类型 2-机构 7-企业成员
  25157. in: query
  25158. name: usertype
  25159. type: integer
  25160. - description: 合同类型 1-采购, -1-销售
  25161. in: query
  25162. name: contracttype
  25163. type: integer
  25164. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25165. in: query
  25166. name: querytype
  25167. type: string
  25168. - description: 合同ID(SpotContractId)
  25169. in: query
  25170. name: contractid
  25171. type: string
  25172. - description: 合同编号(模糊匹配)
  25173. in: query
  25174. name: contractno
  25175. type: string
  25176. - description: 商品名称(模糊匹配)
  25177. in: query
  25178. name: wrstandardname
  25179. type: string
  25180. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25181. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25182. in: query
  25183. name: status
  25184. type: string
  25185. - description: 是否只查今日的合同 1-查今日合同
  25186. in: query
  25187. name: istoday
  25188. type: integer
  25189. produces:
  25190. - application/json
  25191. responses:
  25192. "200":
  25193. description: OK
  25194. schema:
  25195. items:
  25196. $ref: '#/definitions/models.Ermcp3Contract'
  25197. type: array
  25198. "500":
  25199. description: Internal Server Error
  25200. schema:
  25201. $ref: '#/definitions/app.Response'
  25202. security:
  25203. - ApiKeyAuth: []
  25204. summary: 查询现货合同
  25205. tags:
  25206. - 企业风险管理v3(app)
  25207. /Ermcp3/QuerySpotContractBS:
  25208. get:
  25209. parameters:
  25210. - description: 用户id
  25211. in: query
  25212. name: userid
  25213. required: true
  25214. type: integer
  25215. - description: 用户类型 2-机构 7-企业成员
  25216. in: query
  25217. name: usertype
  25218. type: integer
  25219. - description: 合同类型 1-采购, -1-销售
  25220. in: query
  25221. name: contracttype
  25222. required: true
  25223. type: integer
  25224. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25225. in: query
  25226. name: querytype
  25227. type: integer
  25228. - description: 合同ID(SpotContractId)
  25229. in: query
  25230. name: contractid
  25231. type: string
  25232. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25233. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25234. in: query
  25235. name: status
  25236. type: string
  25237. - description: 是否只查今日的合同 1-查今日合同
  25238. in: query
  25239. name: istoday
  25240. type: integer
  25241. produces:
  25242. - application/json
  25243. responses:
  25244. "200":
  25245. description: OK
  25246. schema:
  25247. items:
  25248. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25249. type: array
  25250. "500":
  25251. description: Internal Server Error
  25252. schema:
  25253. $ref: '#/definitions/app.Response'
  25254. security:
  25255. - ApiKeyAuth: []
  25256. summary: 查询合同(采购/销售)
  25257. tags:
  25258. - 企业风险管理v3(app)
  25259. /Ermcp3/QuerySpotGoodsPrice:
  25260. get:
  25261. parameters:
  25262. - description: 用户ID
  25263. in: query
  25264. name: userid
  25265. required: true
  25266. type: integer
  25267. produces:
  25268. - application/json
  25269. responses:
  25270. "200":
  25271. description: OK
  25272. schema:
  25273. items:
  25274. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25275. type: array
  25276. "500":
  25277. description: Internal Server Error
  25278. schema:
  25279. $ref: '#/definitions/app.Response'
  25280. security:
  25281. - ApiKeyAuth: []
  25282. summary: 查询现货市价(现货市价)
  25283. tags:
  25284. - 企业风险管理v3(app)
  25285. /Ermcp3/QuerySpotGoodsPriceLog:
  25286. get:
  25287. parameters:
  25288. - description: 用户ID
  25289. in: query
  25290. name: userid
  25291. required: true
  25292. type: integer
  25293. - description: 现货商品ID
  25294. in: query
  25295. name: deliverygoodsid
  25296. required: true
  25297. type: integer
  25298. - description: 品牌ID
  25299. in: query
  25300. name: brandid
  25301. type: integer
  25302. - description: 品类ID
  25303. in: query
  25304. name: wrstandardid
  25305. type: integer
  25306. produces:
  25307. - application/json
  25308. responses:
  25309. "200":
  25310. description: OK
  25311. schema:
  25312. items:
  25313. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  25314. type: array
  25315. "500":
  25316. description: Internal Server Error
  25317. schema:
  25318. $ref: '#/definitions/app.Response'
  25319. security:
  25320. - ApiKeyAuth: []
  25321. summary: 查询现货市价详情(现货市价/详情)
  25322. tags:
  25323. - 企业风险管理v3(app)
  25324. /Ermcp3/QuerySubTaaccount:
  25325. get:
  25326. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  25327. parameters:
  25328. - description: 母账号id
  25329. in: query
  25330. name: parentaccountid
  25331. type: integer
  25332. - description: 母账号代码
  25333. in: query
  25334. name: parentaccountcode
  25335. type: string
  25336. produces:
  25337. - application/json
  25338. responses:
  25339. "200":
  25340. description: OK
  25341. schema:
  25342. items:
  25343. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  25344. type: array
  25345. "500":
  25346. description: Internal Server Error
  25347. schema:
  25348. $ref: '#/definitions/app.Response'
  25349. security:
  25350. - ApiKeyAuth: []
  25351. summary: 查询期货子账户
  25352. tags:
  25353. - 企业风险管理v3(app)
  25354. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  25355. get:
  25356. parameters:
  25357. - description: 套期项目ID
  25358. in: query
  25359. name: hedgeditemid
  25360. required: true
  25361. type: integer
  25362. produces:
  25363. - application/json
  25364. responses:
  25365. "200":
  25366. description: OK
  25367. schema:
  25368. items:
  25369. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  25370. type: array
  25371. "500":
  25372. description: Internal Server Error
  25373. schema:
  25374. $ref: '#/definitions/app.Response'
  25375. security:
  25376. - ApiKeyAuth: []
  25377. summary: 现货成交明细查询
  25378. tags:
  25379. - 企业风险管理v8
  25380. /Ermcp8/QueryERMCP2HedgedItemspot:
  25381. get:
  25382. parameters:
  25383. - description: 套期项目ID
  25384. in: query
  25385. name: hedgeditemid
  25386. required: true
  25387. type: integer
  25388. produces:
  25389. - application/json
  25390. responses:
  25391. "200":
  25392. description: OK
  25393. schema:
  25394. items:
  25395. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  25396. type: array
  25397. "500":
  25398. description: Internal Server Error
  25399. schema:
  25400. $ref: '#/definitions/app.Response'
  25401. security:
  25402. - ApiKeyAuth: []
  25403. summary: 套期计划明细查询
  25404. tags:
  25405. - 企业风险管理v8
  25406. /Ermcp8/QueryERMCPJRLinkPos:
  25407. get:
  25408. parameters:
  25409. - description: 套期项目ID
  25410. in: query
  25411. name: hedgeditemid
  25412. required: true
  25413. type: integer
  25414. produces:
  25415. - application/json
  25416. responses:
  25417. "200":
  25418. description: OK
  25419. schema:
  25420. items:
  25421. $ref: '#/definitions/models.Ermcpjrlinkpos'
  25422. type: array
  25423. "500":
  25424. description: Internal Server Error
  25425. schema:
  25426. $ref: '#/definitions/app.Response'
  25427. security:
  25428. - ApiKeyAuth: []
  25429. summary: 期货持仓明细查询
  25430. tags:
  25431. - 企业风险管理v8
  25432. /Ermcp8/QueryERMCPPatradeLinkDetail:
  25433. get:
  25434. parameters:
  25435. - description: 套期项目ID
  25436. in: query
  25437. name: hedgeditemid
  25438. required: true
  25439. type: integer
  25440. produces:
  25441. - application/json
  25442. responses:
  25443. "200":
  25444. description: OK
  25445. schema:
  25446. items:
  25447. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  25448. type: array
  25449. "500":
  25450. description: Internal Server Error
  25451. schema:
  25452. $ref: '#/definitions/app.Response'
  25453. security:
  25454. - ApiKeyAuth: []
  25455. summary: 期货成交单明细查询
  25456. tags:
  25457. - 企业风险管理v8
  25458. /Ermcp8/QueryErmcp2AreaExposure:
  25459. get:
  25460. parameters:
  25461. - description: 用户ID
  25462. in: query
  25463. name: userid
  25464. required: true
  25465. type: string
  25466. produces:
  25467. - application/json
  25468. responses:
  25469. "200":
  25470. description: OK
  25471. schema:
  25472. items:
  25473. $ref: '#/definitions/models.Ermcp2AreaExposure'
  25474. type: array
  25475. "500":
  25476. description: Internal Server Error
  25477. schema:
  25478. $ref: '#/definitions/app.Response'
  25479. security:
  25480. - ApiKeyAuth: []
  25481. summary: 企业敞口查询
  25482. tags:
  25483. - 企业风险管理v8
  25484. /Ermcp8/QueryErmcp2HedgedItem:
  25485. get:
  25486. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  25487. parameters:
  25488. - description: 用户ID
  25489. in: query
  25490. name: userid
  25491. required: true
  25492. type: string
  25493. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25494. in: query
  25495. name: hedgedtype
  25496. type: integer
  25497. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25498. in: query
  25499. name: hedgeditemstatus
  25500. type: integer
  25501. produces:
  25502. - application/json
  25503. responses:
  25504. "200":
  25505. description: OK
  25506. schema:
  25507. items:
  25508. $ref: '#/definitions/models.Ermcp2hedgeditem'
  25509. type: array
  25510. "500":
  25511. description: Internal Server Error
  25512. schema:
  25513. $ref: '#/definitions/app.Response'
  25514. security:
  25515. - ApiKeyAuth: []
  25516. summary: 查询被套期项目信息
  25517. tags:
  25518. - 企业风险管理v8
  25519. /Ermcp8/QueryErmcp2HedgedItemLink:
  25520. get:
  25521. parameters:
  25522. - description: 现货合同ID
  25523. in: query
  25524. name: spotcontractid
  25525. required: true
  25526. type: integer
  25527. produces:
  25528. - application/json
  25529. responses:
  25530. "200":
  25531. description: OK
  25532. schema:
  25533. items:
  25534. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  25535. type: array
  25536. "500":
  25537. description: Internal Server Error
  25538. schema:
  25539. $ref: '#/definitions/app.Response'
  25540. security:
  25541. - ApiKeyAuth: []
  25542. summary: 现货合同关联被套期项目查询
  25543. tags:
  25544. - 企业风险管理v8
  25545. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  25546. get:
  25547. parameters:
  25548. - description: 用户ID
  25549. in: query
  25550. name: userid
  25551. required: true
  25552. type: integer
  25553. - description: 套保品种ID
  25554. in: query
  25555. name: middlegoodsid
  25556. required: true
  25557. type: integer
  25558. produces:
  25559. - application/json
  25560. responses:
  25561. "200":
  25562. description: OK
  25563. schema:
  25564. items:
  25565. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  25566. type: array
  25567. "500":
  25568. description: Internal Server Error
  25569. schema:
  25570. $ref: '#/definitions/app.Response'
  25571. security:
  25572. - ApiKeyAuth: []
  25573. summary: 敞口明细 - 计划变动明细
  25574. tags:
  25575. - 企业风险管理v8
  25576. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  25577. get:
  25578. parameters:
  25579. - description: 用户ID
  25580. in: query
  25581. name: userid
  25582. required: true
  25583. type: integer
  25584. - description: 套保品种ID
  25585. in: query
  25586. name: middlegoodsid
  25587. required: true
  25588. type: integer
  25589. produces:
  25590. - application/json
  25591. responses:
  25592. "200":
  25593. description: OK
  25594. schema:
  25595. items:
  25596. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  25597. type: array
  25598. "500":
  25599. description: Internal Server Error
  25600. schema:
  25601. $ref: '#/definitions/app.Response'
  25602. security:
  25603. - ApiKeyAuth: []
  25604. summary: 敞口明细 - 现货变动明细查询
  25605. tags:
  25606. - 企业风险管理v8
  25607. /Ermcp8/QueryErmcp8EnableHedgeditem:
  25608. get:
  25609. parameters:
  25610. - description: 用户ID
  25611. in: query
  25612. name: userid
  25613. required: true
  25614. type: integer
  25615. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  25616. in: query
  25617. name: spottype
  25618. required: true
  25619. type: integer
  25620. - description: 现货商品ID
  25621. in: query
  25622. name: wrstandardid
  25623. type: integer
  25624. produces:
  25625. - application/json
  25626. responses:
  25627. "200":
  25628. description: OK
  25629. schema:
  25630. items:
  25631. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  25632. type: array
  25633. "500":
  25634. description: Internal Server Error
  25635. schema:
  25636. $ref: '#/definitions/app.Response'
  25637. security:
  25638. - ApiKeyAuth: []
  25639. summary: 可关联项目查询
  25640. tags:
  25641. - 企业风险管理v8
  25642. /Ermcp8/QueryErmcp8HedgeditemReport:
  25643. get:
  25644. parameters:
  25645. - description: 用户ID
  25646. in: query
  25647. name: userid
  25648. required: true
  25649. type: integer
  25650. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25651. in: query
  25652. name: cycletype
  25653. type: integer
  25654. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25655. 全(0)【原值】
  25656. in: query
  25657. name: cycletime
  25658. required: true
  25659. type: string
  25660. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25661. in: query
  25662. name: hedgedtype
  25663. type: integer
  25664. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25665. in: query
  25666. name: hedgeditemstatus
  25667. type: integer
  25668. - description: 项目编号,模糊查询
  25669. in: query
  25670. name: hedgeditemnum
  25671. type: string
  25672. - description: 现货商品ID
  25673. in: query
  25674. name: wrstandardid
  25675. type: integer
  25676. produces:
  25677. - application/json
  25678. responses:
  25679. "200":
  25680. description: OK
  25681. schema:
  25682. items:
  25683. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  25684. type: array
  25685. "500":
  25686. description: Internal Server Error
  25687. schema:
  25688. $ref: '#/definitions/app.Response'
  25689. security:
  25690. - ApiKeyAuth: []
  25691. summary: 套期项目报表查询
  25692. tags:
  25693. - 企业风险管理v8
  25694. /Ermcp8/QueryErmcp8RunningHedgeditem:
  25695. get:
  25696. parameters:
  25697. - description: 用户ID
  25698. in: query
  25699. name: userid
  25700. required: true
  25701. type: string
  25702. produces:
  25703. - application/json
  25704. responses:
  25705. "200":
  25706. description: OK
  25707. schema:
  25708. items:
  25709. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  25710. type: array
  25711. "500":
  25712. description: Internal Server Error
  25713. schema:
  25714. $ref: '#/definitions/app.Response'
  25715. security:
  25716. - ApiKeyAuth: []
  25717. summary: 查询执行中项目查询信息
  25718. tags:
  25719. - 企业风险管理v8
  25720. /Ermcp8/QueryInternalEnableTradeDetail:
  25721. get:
  25722. parameters:
  25723. - description: 企业ID
  25724. in: query
  25725. name: areauserid
  25726. required: true
  25727. type: integer
  25728. - description: 期货合约ID
  25729. in: query
  25730. name: goodsid
  25731. required: true
  25732. type: integer
  25733. - description: 交易用户ID
  25734. in: query
  25735. name: tradeuserid
  25736. required: true
  25737. type: integer
  25738. produces:
  25739. - application/json
  25740. responses:
  25741. "200":
  25742. description: OK
  25743. schema:
  25744. items:
  25745. $ref: '#/definitions/models.InternalEnableTradeDetail'
  25746. type: array
  25747. "500":
  25748. description: Internal Server Error
  25749. schema:
  25750. $ref: '#/definitions/app.Response'
  25751. security:
  25752. - ApiKeyAuth: []
  25753. summary: 内部成交单可关联项目查询
  25754. tags:
  25755. - 企业风险管理v8
  25756. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  25757. get:
  25758. parameters:
  25759. - description: 用户编号
  25760. in: query
  25761. name: userid
  25762. required: true
  25763. type: integer
  25764. - description: 起始日期(格式yyyymmdd)
  25765. in: query
  25766. name: begindate
  25767. type: string
  25768. - description: 终止日期(格式yyyymmdd)
  25769. in: query
  25770. name: enddate
  25771. type: string
  25772. - description: 合约代码
  25773. in: query
  25774. name: goodscode
  25775. type: string
  25776. - description: 合约名称
  25777. in: query
  25778. name: goodsname
  25779. type: string
  25780. - description: 成交单号
  25781. in: query
  25782. name: tradeid
  25783. type: integer
  25784. - description: 方向 - 0:买 1:卖
  25785. in: query
  25786. name: buyorsell
  25787. type: integer
  25788. - description: 套期主体
  25789. in: query
  25790. name: accountname
  25791. type: string
  25792. produces:
  25793. - application/json
  25794. responses:
  25795. "200":
  25796. description: OK
  25797. schema:
  25798. items:
  25799. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  25800. type: array
  25801. "500":
  25802. description: Internal Server Error
  25803. schema:
  25804. $ref: '#/definitions/app.Response'
  25805. security:
  25806. - ApiKeyAuth: []
  25807. summary: 内部未关联成交单查询
  25808. tags:
  25809. - 企业风险管理v8
  25810. /Ermcp8/QueryMarketCalendar:
  25811. get:
  25812. parameters:
  25813. - description: 市场ID
  25814. in: query
  25815. name: marketid
  25816. type: integer
  25817. produces:
  25818. - application/json
  25819. responses:
  25820. "200":
  25821. description: OK
  25822. schema:
  25823. items:
  25824. $ref: '#/definitions/models.Marketcalendar'
  25825. type: array
  25826. "500":
  25827. description: Internal Server Error
  25828. schema:
  25829. $ref: '#/definitions/app.Response'
  25830. security:
  25831. - ApiKeyAuth: []
  25832. summary: 市场节假日查询
  25833. tags:
  25834. - 企业风险管理v8
  25835. /Ermcp8/QueryPatradeLinkDetail:
  25836. get:
  25837. parameters:
  25838. - description: 用户ID
  25839. in: query
  25840. name: userid
  25841. required: true
  25842. type: integer
  25843. - description: 套保品种ID
  25844. in: query
  25845. name: middlegoodsid
  25846. required: true
  25847. type: integer
  25848. produces:
  25849. - application/json
  25850. responses:
  25851. "200":
  25852. description: OK
  25853. schema:
  25854. items:
  25855. $ref: '#/definitions/models.Patradelinkdetail'
  25856. type: array
  25857. "500":
  25858. description: Internal Server Error
  25859. schema:
  25860. $ref: '#/definitions/app.Response'
  25861. security:
  25862. - ApiKeyAuth: []
  25863. summary: 敞口明细 - 期货变动明细
  25864. tags:
  25865. - 企业风险管理v8
  25866. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  25867. get:
  25868. parameters:
  25869. - description: 企业ID
  25870. in: query
  25871. name: areauserid
  25872. required: true
  25873. type: integer
  25874. - description: 计划类型 - 1:采购 -1:销售
  25875. in: query
  25876. name: contracttype
  25877. type: integer
  25878. - description: 计划编号,模糊查询
  25879. in: query
  25880. name: hedgeplanno
  25881. type: string
  25882. - description: 现货商品,模糊查询
  25883. in: query
  25884. name: wrstandardname
  25885. type: string
  25886. produces:
  25887. - application/json
  25888. responses:
  25889. "200":
  25890. description: OK
  25891. schema:
  25892. items:
  25893. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  25894. type: array
  25895. "500":
  25896. description: Internal Server Error
  25897. schema:
  25898. $ref: '#/definitions/app.Response'
  25899. security:
  25900. - ApiKeyAuth: []
  25901. summary: 未关联购销计划
  25902. tags:
  25903. - 企业风险管理v8
  25904. /Ermcp8/QueryUnLinkSpotContract:
  25905. get:
  25906. parameters:
  25907. - description: 用户ID
  25908. in: query
  25909. name: userid
  25910. required: true
  25911. type: integer
  25912. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  25913. in: query
  25914. name: pricetype
  25915. type: integer
  25916. - description: 合同编号, 模拟查询
  25917. in: query
  25918. name: contractno
  25919. type: string
  25920. - description: 对手方, 模拟查询
  25921. in: query
  25922. name: customername
  25923. type: string
  25924. - description: 项合同类型 - 1:采购 -1:销售
  25925. in: query
  25926. name: contracttype
  25927. type: integer
  25928. produces:
  25929. - application/json
  25930. responses:
  25931. "200":
  25932. description: OK
  25933. schema:
  25934. items:
  25935. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  25936. type: array
  25937. "500":
  25938. description: Internal Server Error
  25939. schema:
  25940. $ref: '#/definitions/app.Response'
  25941. security:
  25942. - ApiKeyAuth: []
  25943. summary: 未关联合同查询
  25944. tags:
  25945. - 企业风险管理v8
  25946. /Erms2/QueryArbitrageStrategy:
  25947. get:
  25948. parameters:
  25949. - description: 账户ID
  25950. in: query
  25951. name: userid
  25952. required: true
  25953. type: integer
  25954. - description: 商品组ID(品种ID)
  25955. in: query
  25956. name: goodsgroupid
  25957. type: string
  25958. produces:
  25959. - application/json
  25960. responses:
  25961. "200":
  25962. description: OK
  25963. schema:
  25964. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  25965. "500":
  25966. description: Internal Server Error
  25967. schema:
  25968. $ref: '#/definitions/app.Response'
  25969. security:
  25970. - ApiKeyAuth: []
  25971. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  25972. tags:
  25973. - 风险管理
  25974. /Erms2/QueryInnerTradeDetail:
  25975. get:
  25976. parameters:
  25977. - description: 资金账户
  25978. in: query
  25979. name: accountid
  25980. required: true
  25981. type: integer
  25982. produces:
  25983. - application/json
  25984. responses:
  25985. "200":
  25986. description: OK
  25987. schema:
  25988. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  25989. "500":
  25990. description: Internal Server Error
  25991. schema:
  25992. $ref: '#/definitions/app.Response'
  25993. security:
  25994. - ApiKeyAuth: []
  25995. summary: 查询内部成交单信息
  25996. tags:
  25997. - 风险管理
  25998. /Erms2/QuerySpotContract:
  25999. get:
  26000. parameters:
  26001. - description: 策略申请ID
  26002. in: query
  26003. name: asapplyid
  26004. required: true
  26005. type: integer
  26006. - description: 现货合同ID
  26007. in: query
  26008. name: spotcontractid
  26009. type: integer
  26010. produces:
  26011. - application/json
  26012. responses:
  26013. "200":
  26014. description: OK
  26015. schema:
  26016. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  26017. "500":
  26018. description: Internal Server Error
  26019. schema:
  26020. $ref: '#/definitions/app.Response'
  26021. security:
  26022. - ApiKeyAuth: []
  26023. summary: 查询现货合同表信息(指定策略ID、未结束的)
  26024. tags:
  26025. - 风险管理
  26026. /Erms3/AddErms2ASApply:
  26027. post:
  26028. parameters:
  26029. - description: 申请参数
  26030. in: body
  26031. name: jsonBody
  26032. required: true
  26033. schema:
  26034. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  26035. produces:
  26036. - application/json
  26037. responses:
  26038. "200":
  26039. description: OK
  26040. schema:
  26041. $ref: '#/definitions/app.Response'
  26042. "500":
  26043. description: Internal Server Error
  26044. schema:
  26045. $ref: '#/definitions/app.Response'
  26046. security:
  26047. - ApiKeyAuth: []
  26048. summary: 新增期现套利业务申请
  26049. tags:
  26050. - 风险管理v3
  26051. /Erms3/AddErms2SpotTradeApply:
  26052. post:
  26053. parameters:
  26054. - description: 申请参数
  26055. in: body
  26056. name: jsonBody
  26057. required: true
  26058. schema:
  26059. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  26060. produces:
  26061. - application/json
  26062. responses:
  26063. "200":
  26064. description: OK
  26065. schema:
  26066. $ref: '#/definitions/app.Response'
  26067. "500":
  26068. description: Internal Server Error
  26069. schema:
  26070. $ref: '#/definitions/app.Response'
  26071. security:
  26072. - ApiKeyAuth: []
  26073. summary: 新增现货贸易业务申请
  26074. tags:
  26075. - 风险管理v3
  26076. /Erms3/AddSpotContractApply:
  26077. post:
  26078. parameters:
  26079. - description: 申请参数
  26080. in: body
  26081. name: jsonBody
  26082. required: true
  26083. schema:
  26084. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  26085. produces:
  26086. - application/json
  26087. responses:
  26088. "200":
  26089. description: OK
  26090. schema:
  26091. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  26092. "500":
  26093. description: Internal Server Error
  26094. schema:
  26095. $ref: '#/definitions/app.Response'
  26096. security:
  26097. - ApiKeyAuth: []
  26098. summary: 新增现货合同申请
  26099. tags:
  26100. - 风险管理v3
  26101. /Erms3/AddUserInfoApply:
  26102. post:
  26103. parameters:
  26104. - description: 用户信息
  26105. in: body
  26106. name: jsonBody
  26107. required: true
  26108. schema:
  26109. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  26110. produces:
  26111. - application/json
  26112. responses:
  26113. "200":
  26114. description: OK
  26115. schema:
  26116. $ref: '#/definitions/app.Response'
  26117. "500":
  26118. description: Internal Server Error
  26119. schema:
  26120. $ref: '#/definitions/app.Response'
  26121. security:
  26122. - ApiKeyAuth: []
  26123. summary: 新增客户申请
  26124. tags:
  26125. - 风险管理v3
  26126. /Erms3/DeleteUserInfoApply:
  26127. get:
  26128. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  26129. parameters:
  26130. - description: 用户ID
  26131. in: query
  26132. name: userID
  26133. required: true
  26134. type: integer
  26135. produces:
  26136. - application/json
  26137. responses:
  26138. "200":
  26139. description: OK
  26140. schema:
  26141. $ref: '#/definitions/app.Response'
  26142. "500":
  26143. description: Internal Server Error
  26144. schema:
  26145. $ref: '#/definitions/app.Response'
  26146. security:
  26147. - ApiKeyAuth: []
  26148. summary: 删除客户申请
  26149. tags:
  26150. - 风险管理v3
  26151. /Erms3/ModifyUserInfoApply:
  26152. post:
  26153. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  26154. int, "userstate": 2 }'
  26155. parameters:
  26156. - description: 用户信息
  26157. in: body
  26158. name: jsonBody
  26159. required: true
  26160. schema:
  26161. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  26162. produces:
  26163. - application/json
  26164. responses:
  26165. "200":
  26166. description: OK
  26167. schema:
  26168. $ref: '#/definitions/app.Response'
  26169. "500":
  26170. description: Internal Server Error
  26171. schema:
  26172. $ref: '#/definitions/app.Response'
  26173. security:
  26174. - ApiKeyAuth: []
  26175. summary: 修改客户申请
  26176. tags:
  26177. - 风险管理v3
  26178. /Erms3/QueryBusinessInfo:
  26179. get:
  26180. parameters:
  26181. - description: 资金账号ID列表,用逗号分隔
  26182. in: query
  26183. name: accountids
  26184. required: true
  26185. type: string
  26186. - description: 状态,0为未结束 1为已结束
  26187. in: query
  26188. name: status
  26189. required: true
  26190. type: integer
  26191. produces:
  26192. - application/json
  26193. responses:
  26194. "200":
  26195. description: OK
  26196. schema:
  26197. items:
  26198. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  26199. type: array
  26200. "500":
  26201. description: Internal Server Error
  26202. schema:
  26203. $ref: '#/definitions/app.Response'
  26204. security:
  26205. - ApiKeyAuth: []
  26206. summary: 查询业务表单数据
  26207. tags:
  26208. - 风险管理v3
  26209. /Erms3/QueryPendingAuditContract:
  26210. get:
  26211. parameters:
  26212. - description: 资金账号ID列表,逗号隔开
  26213. in: query
  26214. name: accountids
  26215. required: true
  26216. type: string
  26217. - description: 合同类型 1-采购 -1-销售
  26218. in: query
  26219. name: contracttype
  26220. required: true
  26221. type: integer
  26222. - description: 合同模式 1-普通 2-回购
  26223. in: query
  26224. name: contractmode
  26225. required: true
  26226. type: integer
  26227. produces:
  26228. - application/json
  26229. responses:
  26230. "200":
  26231. description: OK
  26232. schema:
  26233. items:
  26234. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26235. type: array
  26236. "500":
  26237. description: Internal Server Error
  26238. schema:
  26239. $ref: '#/definitions/app.Response'
  26240. security:
  26241. - ApiKeyAuth: []
  26242. summary: 查询待审核合同
  26243. tags:
  26244. - 风险管理v3
  26245. /Erms3/QueryPendingBusiness:
  26246. get:
  26247. parameters:
  26248. - description: 资金账号ID列表,逗号隔开
  26249. in: query
  26250. name: accountids
  26251. required: true
  26252. type: string
  26253. produces:
  26254. - application/json
  26255. responses:
  26256. "200":
  26257. description: OK
  26258. schema:
  26259. items:
  26260. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26261. type: array
  26262. "500":
  26263. description: Internal Server Error
  26264. schema:
  26265. $ref: '#/definitions/app.Response'
  26266. security:
  26267. - ApiKeyAuth: []
  26268. summary: 查询待审核基差贸易业务
  26269. tags:
  26270. - 风险管理v3
  26271. /Erms3/QuerySpotContractAppleForm:
  26272. get:
  26273. parameters:
  26274. - description: 登录账号
  26275. in: query
  26276. name: loginID
  26277. required: true
  26278. type: integer
  26279. produces:
  26280. - application/json
  26281. responses:
  26282. "200":
  26283. description: OK
  26284. schema:
  26285. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26286. "500":
  26287. description: Internal Server Error
  26288. schema:
  26289. $ref: '#/definitions/app.Response'
  26290. security:
  26291. - ApiKeyAuth: []
  26292. summary: 查询合同申请表单数据
  26293. tags:
  26294. - 风险管理v3
  26295. /Erms3/QuerySpotContractDetail:
  26296. get:
  26297. parameters:
  26298. - description: 资金账号ID列表,用逗号分隔
  26299. in: query
  26300. name: accountids
  26301. required: true
  26302. type: string
  26303. - description: 合同类型,1为采购合同 -1为销售合同
  26304. in: query
  26305. name: contracttype
  26306. required: true
  26307. type: integer
  26308. - description: 合同模式,1为普通合同 2为回购销售合同
  26309. in: query
  26310. name: contractmode
  26311. required: true
  26312. type: integer
  26313. - description: 状态,0为履约中 1为已完成
  26314. in: query
  26315. name: status
  26316. required: true
  26317. type: integer
  26318. produces:
  26319. - application/json
  26320. responses:
  26321. "200":
  26322. description: OK
  26323. schema:
  26324. items:
  26325. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  26326. type: array
  26327. "500":
  26328. description: Internal Server Error
  26329. schema:
  26330. $ref: '#/definitions/app.Response'
  26331. security:
  26332. - ApiKeyAuth: []
  26333. summary: 查询合同详细信息
  26334. tags:
  26335. - 风险管理v3
  26336. /Erms3/QueryUserInfoApplies:
  26337. get:
  26338. parameters:
  26339. - description: 页码
  26340. in: query
  26341. name: page
  26342. type: integer
  26343. - description: 每页条数
  26344. in: query
  26345. name: pagesize
  26346. type: integer
  26347. - description: 客户名称,支持模糊查询
  26348. in: query
  26349. name: userName
  26350. type: string
  26351. produces:
  26352. - application/json
  26353. responses:
  26354. "200":
  26355. description: OK
  26356. schema:
  26357. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  26358. "500":
  26359. description: Internal Server Error
  26360. schema:
  26361. $ref: '#/definitions/app.Response'
  26362. security:
  26363. - ApiKeyAuth: []
  26364. summary: 客户申请信息查询
  26365. tags:
  26366. - 风险管理v3
  26367. /Erms3/QueryUserInfos:
  26368. get:
  26369. parameters:
  26370. - description: 页码
  26371. in: query
  26372. name: page
  26373. type: integer
  26374. - description: 每页条数
  26375. in: query
  26376. name: pagesize
  26377. type: integer
  26378. - description: 客户名称,支持模糊查询
  26379. in: query
  26380. name: userName
  26381. type: string
  26382. produces:
  26383. - application/json
  26384. responses:
  26385. "200":
  26386. description: OK
  26387. schema:
  26388. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  26389. "500":
  26390. description: Internal Server Error
  26391. schema:
  26392. $ref: '#/definitions/app.Response'
  26393. security:
  26394. - ApiKeyAuth: []
  26395. summary: 客户信息查询
  26396. tags:
  26397. - 风险管理v3
  26398. /HSBY/GetHsbyMyCount:
  26399. get:
  26400. description: 说明: 不包括已完成的数量。
  26401. parameters:
  26402. - description: 资金账户列表,格式:1,2,3
  26403. in: query
  26404. name: accountIDs
  26405. required: true
  26406. type: string
  26407. produces:
  26408. - application/json
  26409. responses:
  26410. "200":
  26411. description: OK
  26412. schema:
  26413. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  26414. "500":
  26415. description: Internal Server Error
  26416. schema:
  26417. $ref: '#/definitions/app.Response'
  26418. security:
  26419. - ApiKeyAuth: []
  26420. summary: 获取我的订单与包裹数量
  26421. tags:
  26422. - 定制【海商报业】
  26423. /HSBY/QueryClientFixedADConfigs:
  26424. get:
  26425. produces:
  26426. - application/json
  26427. responses:
  26428. "200":
  26429. description: OK
  26430. schema:
  26431. $ref: '#/definitions/models.Clientfixedadconfig'
  26432. "500":
  26433. description: Internal Server Error
  26434. schema:
  26435. $ref: '#/definitions/app.Response'
  26436. security:
  26437. - ApiKeyAuth: []
  26438. summary: 获取终端固定广告配置
  26439. tags:
  26440. - 定制【海商报业】
  26441. /HSBY/QueryHsbyBuyMyTradeDetail:
  26442. get:
  26443. parameters:
  26444. - description: 页码
  26445. in: query
  26446. name: page
  26447. type: integer
  26448. - description: 每页条数
  26449. in: query
  26450. name: pagesize
  26451. type: integer
  26452. - description: 资金账户列表,格式:1,2,3
  26453. in: query
  26454. name: accountIDs
  26455. required: true
  26456. type: string
  26457. produces:
  26458. - application/json
  26459. responses:
  26460. "200":
  26461. description: OK
  26462. schema:
  26463. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  26464. "500":
  26465. description: Internal Server Error
  26466. schema:
  26467. $ref: '#/definitions/app.Response'
  26468. security:
  26469. - ApiKeyAuth: []
  26470. summary: 查询"我的订单 - 已完成"单据信息
  26471. tags:
  26472. - 定制【海商报业】
  26473. /HSBY/QueryHsbyGoodsOrderDetails:
  26474. get:
  26475. description: 说明:查询结果已按委托价格和委托时间排序
  26476. parameters:
  26477. - description: 商品ID
  26478. in: query
  26479. name: goodsID
  26480. required: true
  26481. type: integer
  26482. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  26483. in: query
  26484. name: accountIDs
  26485. type: string
  26486. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  26487. in: query
  26488. name: buyOrSell
  26489. type: integer
  26490. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  26491. in: query
  26492. name: price
  26493. type: number
  26494. - description: 档位,不传则默认为3档
  26495. in: query
  26496. name: speed
  26497. type: integer
  26498. produces:
  26499. - application/json
  26500. responses:
  26501. "200":
  26502. description: OK
  26503. schema:
  26504. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  26505. "500":
  26506. description: Internal Server Error
  26507. schema:
  26508. $ref: '#/definitions/app.Response'
  26509. security:
  26510. - ApiKeyAuth: []
  26511. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  26512. tags:
  26513. - 定制【海商报业】
  26514. /HSBY/QueryHsbyListingGoodsDetail:
  26515. get:
  26516. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  26517. parameters:
  26518. - description: 商品ID
  26519. in: query
  26520. name: goodsID
  26521. required: true
  26522. type: integer
  26523. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  26524. in: query
  26525. name: accountID
  26526. type: integer
  26527. produces:
  26528. - application/json
  26529. responses:
  26530. "200":
  26531. description: OK
  26532. schema:
  26533. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  26534. "500":
  26535. description: Internal Server Error
  26536. schema:
  26537. $ref: '#/definitions/app.Response'
  26538. security:
  26539. - ApiKeyAuth: []
  26540. summary: 查询二级市场(挂牌点选)商品信息详情
  26541. tags:
  26542. - 定制【海商报业】
  26543. /HSBY/QueryHsbyMarketGoodsDetail:
  26544. get:
  26545. parameters:
  26546. - description: 委托单号
  26547. in: query
  26548. name: orderID
  26549. required: true
  26550. type: integer
  26551. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  26552. in: query
  26553. name: accountID
  26554. type: integer
  26555. produces:
  26556. - application/json
  26557. responses:
  26558. "200":
  26559. description: OK
  26560. schema:
  26561. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26562. "500":
  26563. description: Internal Server Error
  26564. schema:
  26565. $ref: '#/definitions/app.Response'
  26566. security:
  26567. - ApiKeyAuth: []
  26568. summary: 查询三级市场(商城)商品信息详情
  26569. tags:
  26570. - 定制【海商报业】
  26571. /HSBY/QueryHsbyMarketGoodses:
  26572. get:
  26573. parameters:
  26574. - description: 页码
  26575. in: query
  26576. name: page
  26577. type: integer
  26578. - description: 每页条数
  26579. in: query
  26580. name: pagesize
  26581. type: integer
  26582. - description: 市场ID列表,格式:1,2,3
  26583. in: query
  26584. name: marketIDs
  26585. required: true
  26586. type: string
  26587. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  26588. in: query
  26589. name: accountID
  26590. required: true
  26591. type: integer
  26592. - description: 类别ID
  26593. in: query
  26594. name: categoryID
  26595. type: integer
  26596. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26597. in: query
  26598. name: goodsIDs
  26599. type: string
  26600. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  26601. in: query
  26602. name: couponTypeID
  26603. type: integer
  26604. produces:
  26605. - application/json
  26606. responses:
  26607. "200":
  26608. description: OK
  26609. schema:
  26610. $ref: '#/definitions/models.HsbyMarketGoods'
  26611. "500":
  26612. description: Internal Server Error
  26613. schema:
  26614. $ref: '#/definitions/app.Response'
  26615. security:
  26616. - ApiKeyAuth: []
  26617. summary: 查询特卖商品列表(三级商城)
  26618. tags:
  26619. - 定制【海商报业】
  26620. /HSBY/QueryHsbyMarkets:
  26621. get:
  26622. produces:
  26623. - application/json
  26624. responses:
  26625. "200":
  26626. description: OK
  26627. schema:
  26628. $ref: '#/definitions/models.HsbyMarketInfo'
  26629. "500":
  26630. description: Internal Server Error
  26631. schema:
  26632. $ref: '#/definitions/app.Response'
  26633. security:
  26634. - ApiKeyAuth: []
  26635. summary: 查询海商报业相关市场信息
  26636. tags:
  26637. - 定制【海商报业】
  26638. /HSBY/QueryHsbyMyBuyOrderDetails:
  26639. get:
  26640. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  26641. parameters:
  26642. - description: 资金账户列表,格式:1,2,3
  26643. in: query
  26644. name: accountIDs
  26645. required: true
  26646. type: string
  26647. produces:
  26648. - application/json
  26649. responses:
  26650. "200":
  26651. description: OK
  26652. schema:
  26653. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  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/QueryHsbyMyGoods:
  26664. get:
  26665. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  26666. parameters:
  26667. - description: 资金账户列表,格式:1,2,3
  26668. in: query
  26669. name: accountIDs
  26670. required: true
  26671. type: string
  26672. produces:
  26673. - application/json
  26674. responses:
  26675. "200":
  26676. description: OK
  26677. schema:
  26678. $ref: '#/definitions/models.HsbyMyGoods'
  26679. "500":
  26680. description: Internal Server Error
  26681. schema:
  26682. $ref: '#/definitions/app.Response'
  26683. security:
  26684. - ApiKeyAuth: []
  26685. summary: 查询“我的商品”信息
  26686. tags:
  26687. - 定制【海商报业】
  26688. /HSBY/QueryHsbyMyPackages:
  26689. get:
  26690. parameters:
  26691. - description: 资金账户列表,格式:1,2,3
  26692. in: query
  26693. name: accountIDs
  26694. required: true
  26695. type: string
  26696. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26697. in: query
  26698. name: takeOrderStatus
  26699. type: integer
  26700. produces:
  26701. - application/json
  26702. responses:
  26703. "200":
  26704. description: OK
  26705. schema:
  26706. $ref: '#/definitions/models.HsbyMyPackage'
  26707. "500":
  26708. description: Internal Server Error
  26709. schema:
  26710. $ref: '#/definitions/app.Response'
  26711. security:
  26712. - ApiKeyAuth: []
  26713. summary: 查询我的包裹信息
  26714. tags:
  26715. - 定制【海商报业】
  26716. /HSBY/QueryHsbyPreGoodsDetail:
  26717. get:
  26718. parameters:
  26719. - description: 商品ID
  26720. in: query
  26721. name: goodsID
  26722. required: true
  26723. type: integer
  26724. - description: 资金账户,主要用于获取预售商品购买上限
  26725. in: query
  26726. name: accountID
  26727. type: integer
  26728. produces:
  26729. - application/json
  26730. responses:
  26731. "200":
  26732. description: OK
  26733. schema:
  26734. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  26735. "500":
  26736. description: Internal Server Error
  26737. schema:
  26738. $ref: '#/definitions/app.Response'
  26739. security:
  26740. - ApiKeyAuth: []
  26741. summary: 查询一级市场(预售)商品信息详情
  26742. tags:
  26743. - 定制【海商报业】
  26744. /HSBY/QueryHsbyPreGoodses:
  26745. get:
  26746. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  26747. parameters:
  26748. - description: 页码
  26749. in: query
  26750. name: page
  26751. type: integer
  26752. - description: 每页条数
  26753. in: query
  26754. name: pagesize
  26755. type: integer
  26756. - description: 市场ID列表,格式:1,2,3
  26757. in: query
  26758. name: marketIDs
  26759. required: true
  26760. type: string
  26761. - description: 目的地(省)ID
  26762. in: query
  26763. name: descProvinceID
  26764. type: integer
  26765. - description: 目的地(市)ID
  26766. in: query
  26767. name: descCityID
  26768. type: integer
  26769. produces:
  26770. - application/json
  26771. responses:
  26772. "200":
  26773. description: OK
  26774. schema:
  26775. $ref: '#/definitions/models.HsbyPreGoods'
  26776. "500":
  26777. description: Internal Server Error
  26778. schema:
  26779. $ref: '#/definitions/app.Response'
  26780. security:
  26781. - ApiKeyAuth: []
  26782. summary: 查询新品上市商品列表(一级市场预售)
  26783. tags:
  26784. - 定制【海商报业】
  26785. /HSBY/QueryHsbySellMyDetails:
  26786. get:
  26787. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  26788. parameters:
  26789. - description: 页码
  26790. in: query
  26791. name: page
  26792. type: integer
  26793. - description: 每页条数
  26794. in: query
  26795. name: pagesize
  26796. type: integer
  26797. - description: 资金账户列表,格式:1,2,3
  26798. in: query
  26799. name: accountIDs
  26800. required: true
  26801. type: string
  26802. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  26803. in: query
  26804. name: orderType
  26805. type: integer
  26806. produces:
  26807. - application/json
  26808. responses:
  26809. "200":
  26810. description: OK
  26811. schema:
  26812. $ref: '#/definitions/models.HsbySellMyDetail'
  26813. "500":
  26814. description: Internal Server Error
  26815. schema:
  26816. $ref: '#/definitions/app.Response'
  26817. security:
  26818. - ApiKeyAuth: []
  26819. summary: 查询"我的闲置"单据信息
  26820. tags:
  26821. - 定制【海商报业】
  26822. /HSBY/QueryHsbyTopGoodses:
  26823. get:
  26824. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  26825. parameters:
  26826. - description: 页码
  26827. in: query
  26828. name: page
  26829. type: integer
  26830. - description: 每页条数
  26831. in: query
  26832. name: pagesize
  26833. type: integer
  26834. - description: 市场ID列表,格式:1,2,3
  26835. in: query
  26836. name: marketIDs
  26837. required: true
  26838. type: string
  26839. - description: 目的地(省)ID
  26840. in: query
  26841. name: descProvinceID
  26842. type: integer
  26843. - description: 目的地(市)ID
  26844. in: query
  26845. name: descCityID
  26846. type: integer
  26847. produces:
  26848. - application/json
  26849. responses:
  26850. "200":
  26851. description: OK
  26852. schema:
  26853. $ref: '#/definitions/models.HsbyTopGoods'
  26854. "500":
  26855. description: Internal Server Error
  26856. schema:
  26857. $ref: '#/definitions/app.Response'
  26858. security:
  26859. - ApiKeyAuth: []
  26860. summary: 查询热卖商品列表(二级市场挂牌点选)
  26861. tags:
  26862. - 定制【海商报业】
  26863. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  26864. get:
  26865. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  26866. parameters:
  26867. - description: 商品ID
  26868. in: query
  26869. name: goodsID
  26870. required: true
  26871. type: integer
  26872. produces:
  26873. - application/json
  26874. responses:
  26875. "200":
  26876. description: OK
  26877. schema:
  26878. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26879. "500":
  26880. description: Internal Server Error
  26881. schema:
  26882. $ref: '#/definitions/app.Response'
  26883. security:
  26884. - ApiKeyAuth: []
  26885. summary: 查询游客三级市场(商城)商品信息详情
  26886. tags:
  26887. - 定制【海商报业】
  26888. /HSBY/QueryHsbyVisitorMarketGoodses:
  26889. get:
  26890. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  26891. parameters:
  26892. - description: 页码
  26893. in: query
  26894. name: page
  26895. type: integer
  26896. - description: 每页条数
  26897. in: query
  26898. name: pagesize
  26899. type: integer
  26900. - description: 市场ID列表,格式:1,2,3
  26901. in: query
  26902. name: marketIDs
  26903. required: true
  26904. type: string
  26905. - description: 类别ID
  26906. in: query
  26907. name: categoryID
  26908. type: integer
  26909. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26910. in: query
  26911. name: goodsIDs
  26912. type: string
  26913. produces:
  26914. - application/json
  26915. responses:
  26916. "200":
  26917. description: OK
  26918. schema:
  26919. $ref: '#/definitions/models.HsbyMarketGoods'
  26920. "500":
  26921. description: Internal Server Error
  26922. schema:
  26923. $ref: '#/definitions/app.Response'
  26924. security:
  26925. - ApiKeyAuth: []
  26926. summary: 查询游客特卖商品列表(三级商城)
  26927. tags:
  26928. - 定制【海商报业】
  26929. /HSBY/QueryMyCollectionOrders:
  26930. get:
  26931. parameters:
  26932. - description: 页码
  26933. in: query
  26934. name: page
  26935. type: integer
  26936. - description: 每页条数
  26937. in: query
  26938. name: pagesize
  26939. type: integer
  26940. - description: 资金账户,格式:1,2,3
  26941. in: query
  26942. name: accountIDs
  26943. required: true
  26944. type: string
  26945. produces:
  26946. - application/json
  26947. responses:
  26948. "200":
  26949. description: OK
  26950. schema:
  26951. $ref: '#/definitions/models.HsbySellCollectionOrder'
  26952. "500":
  26953. description: Internal Server Error
  26954. schema:
  26955. $ref: '#/definitions/app.Response'
  26956. security:
  26957. - ApiKeyAuth: []
  26958. summary: 我的闲置中收款信息查询
  26959. tags:
  26960. - 定制【海商报业】
  26961. /HSBY/QueryMyCouponHolds:
  26962. get:
  26963. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  26964. parameters:
  26965. - description: 资金账户列表,格式:1,2,3
  26966. in: query
  26967. name: accountIDs
  26968. required: true
  26969. type: string
  26970. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  26971. in: query
  26972. name: holdStatus
  26973. type: string
  26974. produces:
  26975. - application/json
  26976. responses:
  26977. "200":
  26978. description: OK
  26979. schema:
  26980. $ref: '#/definitions/models.MyCouponHold'
  26981. "500":
  26982. description: Internal Server Error
  26983. schema:
  26984. $ref: '#/definitions/app.Response'
  26985. security:
  26986. - ApiKeyAuth: []
  26987. summary: 我的优惠卷持仓查询
  26988. tags:
  26989. - 定制【海商报业】
  26990. /HSBY/QueryMyCoupons:
  26991. get:
  26992. parameters:
  26993. - description: 资金账户列表,格式:1,2,3
  26994. in: query
  26995. name: accountIDs
  26996. required: true
  26997. type: string
  26998. - description: 商品ID, 一般与sellUserID配套传入
  26999. in: query
  27000. name: goodsID
  27001. type: integer
  27002. - description: 卖方UserID
  27003. in: query
  27004. name: sellUserID
  27005. type: integer
  27006. produces:
  27007. - application/json
  27008. responses:
  27009. "200":
  27010. description: OK
  27011. schema:
  27012. $ref: '#/definitions/models.MyCoupon'
  27013. "500":
  27014. description: Internal Server Error
  27015. schema:
  27016. $ref: '#/definitions/app.Response'
  27017. security:
  27018. - ApiKeyAuth: []
  27019. summary: 我的优惠卷查询
  27020. tags:
  27021. - 定制【海商报业】
  27022. /HSBY/QueryMyPayOrders:
  27023. get:
  27024. parameters:
  27025. - description: 页码
  27026. in: query
  27027. name: page
  27028. type: integer
  27029. - description: 每页条数
  27030. in: query
  27031. name: pagesize
  27032. type: integer
  27033. - description: 资金账户列表,格式:1,2,3
  27034. in: query
  27035. name: accountIDs
  27036. required: true
  27037. type: string
  27038. - description: 买方委托单号
  27039. in: query
  27040. name: buyOrderID
  27041. type: integer
  27042. - description: 卖方委托单号
  27043. in: query
  27044. name: sellOrderID
  27045. type: integer
  27046. produces:
  27047. - application/json
  27048. responses:
  27049. "200":
  27050. description: OK
  27051. schema:
  27052. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  27053. "500":
  27054. description: Internal Server Error
  27055. schema:
  27056. $ref: '#/definitions/app.Response'
  27057. security:
  27058. - ApiKeyAuth: []
  27059. summary: 获取我的订单中待付款信息
  27060. tags:
  27061. - 定制【海商报业】
  27062. /HSBY/QueryMyUsedCoupon:
  27063. get:
  27064. parameters:
  27065. - description: 资金账户列表,格式:1,2,3
  27066. in: query
  27067. name: accountIDs
  27068. required: true
  27069. type: string
  27070. produces:
  27071. - application/json
  27072. responses:
  27073. "200":
  27074. description: OK
  27075. schema:
  27076. $ref: '#/definitions/models.MyUsedCoupon'
  27077. "500":
  27078. description: Internal Server Error
  27079. schema:
  27080. $ref: '#/definitions/app.Response'
  27081. security:
  27082. - ApiKeyAuth: []
  27083. summary: 已使用优惠卷查询
  27084. tags:
  27085. - 定制【海商报业】
  27086. /HSBY/QueryProvincesAndCities:
  27087. get:
  27088. description: 查询结果只包括二级市场商品已关连的省市信息。
  27089. parameters:
  27090. - description: 省ID
  27091. in: query
  27092. name: provinceID
  27093. type: integer
  27094. produces:
  27095. - application/json
  27096. responses:
  27097. "200":
  27098. description: OK
  27099. schema:
  27100. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  27101. "500":
  27102. description: Internal Server Error
  27103. schema:
  27104. $ref: '#/definitions/app.Response'
  27105. security:
  27106. - ApiKeyAuth: []
  27107. summary: 查询省市信息(不包括区)
  27108. tags:
  27109. - 定制【海商报业】
  27110. /HSBY/SetHsbyMyPackagesStatus:
  27111. post:
  27112. parameters:
  27113. - description: 提货单号
  27114. in: query
  27115. name: takeOrderID
  27116. required: true
  27117. type: string
  27118. - description: 资金账号
  27119. in: query
  27120. name: accountID
  27121. required: true
  27122. type: integer
  27123. produces:
  27124. - application/json
  27125. responses:
  27126. "200":
  27127. description: OK
  27128. schema:
  27129. $ref: '#/definitions/app.Response'
  27130. "500":
  27131. description: Internal Server Error
  27132. schema:
  27133. $ref: '#/definitions/app.Response'
  27134. security:
  27135. - ApiKeyAuth: []
  27136. summary: 设置我的包裹已收货状态
  27137. tags:
  27138. - 定制【海商报业】
  27139. /Market/GetAllExExchanges:
  27140. get:
  27141. produces:
  27142. - application/json
  27143. responses:
  27144. "200":
  27145. description: OK
  27146. schema:
  27147. $ref: '#/definitions/models.Goods'
  27148. "500":
  27149. description: Internal Server Error
  27150. schema:
  27151. $ref: '#/definitions/app.Response'
  27152. security:
  27153. - ApiKeyAuth: []
  27154. summary: 获取所有外部交易所信息
  27155. tags:
  27156. - 通用市场
  27157. /Market/QueryGoodsesByLoginID:
  27158. get:
  27159. parameters:
  27160. - description: 登录账号
  27161. in: query
  27162. name: loginID
  27163. required: true
  27164. type: integer
  27165. - description: 市场ID列表,格式:1,2,3
  27166. in: query
  27167. name: marketIDs
  27168. type: string
  27169. produces:
  27170. - application/json
  27171. responses:
  27172. "200":
  27173. description: OK
  27174. schema:
  27175. $ref: '#/definitions/models.Goods'
  27176. "500":
  27177. description: Internal Server Error
  27178. schema:
  27179. $ref: '#/definitions/app.Response'
  27180. security:
  27181. - ApiKeyAuth: []
  27182. summary: 获取登录账号有权限的商品信息
  27183. tags:
  27184. - 通用市场
  27185. /Market/QueryMarketRun:
  27186. get:
  27187. parameters:
  27188. - description: 市场ID,不传返回所有
  27189. in: query
  27190. name: marketID
  27191. type: integer
  27192. produces:
  27193. - application/json
  27194. responses:
  27195. "200":
  27196. description: OK
  27197. schema:
  27198. $ref: '#/definitions/models.Marketrun'
  27199. "500":
  27200. description: Internal Server Error
  27201. schema:
  27202. $ref: '#/definitions/app.Response'
  27203. security:
  27204. - ApiKeyAuth: []
  27205. summary: 查询市场运行信息
  27206. tags:
  27207. - 通用市场
  27208. /Market/QueryMarketsByLoginID:
  27209. get:
  27210. parameters:
  27211. - description: 登录账号
  27212. in: query
  27213. name: loginID
  27214. required: true
  27215. type: integer
  27216. produces:
  27217. - application/json
  27218. responses:
  27219. "200":
  27220. description: OK
  27221. schema:
  27222. $ref: '#/definitions/models.Market'
  27223. "500":
  27224. description: Internal Server Error
  27225. schema:
  27226. $ref: '#/definitions/app.Response'
  27227. security:
  27228. - ApiKeyAuth: []
  27229. summary: 获取登录账号有权限的市场信息
  27230. tags:
  27231. - 通用市场
  27232. /Order/QueryHisTradeDetail:
  27233. get:
  27234. parameters:
  27235. - description: 资金账户 - 格式:1,2,3
  27236. in: query
  27237. name: accountID
  27238. required: true
  27239. type: string
  27240. - description: 成交单号
  27241. in: query
  27242. name: tradeID
  27243. type: integer
  27244. - description: 委托单号
  27245. in: query
  27246. name: orderID
  27247. type: integer
  27248. - description: 商品ID
  27249. in: query
  27250. name: goodsID
  27251. type: integer
  27252. - description: 交易模式 - 格式:1,2,3
  27253. in: query
  27254. name: tradeMode
  27255. type: string
  27256. - description: 委托单据类型
  27257. in: query
  27258. name: buildType
  27259. type: integer
  27260. - description: 成交类别 - 格式:1,2,3
  27261. in: query
  27262. name: tradeType
  27263. type: string
  27264. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27265. in: query
  27266. name: startDate
  27267. type: string
  27268. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27269. in: query
  27270. name: endDate
  27271. type: string
  27272. produces:
  27273. - application/json
  27274. responses:
  27275. "200":
  27276. description: OK
  27277. schema:
  27278. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27279. "500":
  27280. description: Internal Server Error
  27281. schema:
  27282. $ref: '#/definitions/app.Response'
  27283. security:
  27284. - ApiKeyAuth: []
  27285. summary: 历史成交单查询(合约市场)
  27286. tags:
  27287. - 通用单据
  27288. /Order/QueryHisTradeOrderDetail:
  27289. get:
  27290. parameters:
  27291. - description: 资金账户 - 格式:1,2,3
  27292. in: query
  27293. name: accountID
  27294. required: true
  27295. type: string
  27296. - description: 交易模式 - 格式:1,2,3
  27297. in: query
  27298. name: tradeMode
  27299. type: string
  27300. - description: 委托状态 - 格式:1,2,3
  27301. in: query
  27302. name: orderStatus
  27303. type: string
  27304. - description: 委托单号
  27305. in: query
  27306. name: orderID
  27307. type: integer
  27308. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27309. in: query
  27310. name: startDate
  27311. type: string
  27312. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27313. in: query
  27314. name: endDate
  27315. type: string
  27316. produces:
  27317. - application/json
  27318. responses:
  27319. "200":
  27320. description: OK
  27321. schema:
  27322. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27323. "500":
  27324. description: Internal Server Error
  27325. schema:
  27326. $ref: '#/definitions/app.Response'
  27327. security:
  27328. - ApiKeyAuth: []
  27329. summary: 历史委托单查询请求(合约市场)
  27330. tags:
  27331. - 通用单据
  27332. /Order/QueryTradeDetail:
  27333. get:
  27334. parameters:
  27335. - description: 资金账户 - 格式:1,2,3
  27336. in: query
  27337. name: accountID
  27338. required: true
  27339. type: string
  27340. - description: 成交单号
  27341. in: query
  27342. name: tradeID
  27343. type: integer
  27344. - description: 委托单号
  27345. in: query
  27346. name: orderID
  27347. type: integer
  27348. - description: 交易模式 - 格式:1,2,3
  27349. in: query
  27350. name: tradeMode
  27351. type: string
  27352. - description: 委托单据类型
  27353. in: query
  27354. name: buildType
  27355. type: integer
  27356. - description: 成交类别 - 格式:1,2,3
  27357. in: query
  27358. name: tradeType
  27359. type: string
  27360. - description: 商品ID
  27361. in: query
  27362. name: goodsID
  27363. type: integer
  27364. produces:
  27365. - application/json
  27366. responses:
  27367. "200":
  27368. description: OK
  27369. schema:
  27370. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27371. "500":
  27372. description: Internal Server Error
  27373. schema:
  27374. $ref: '#/definitions/app.Response'
  27375. security:
  27376. - ApiKeyAuth: []
  27377. summary: 成交单查询(合约市场)
  27378. tags:
  27379. - 通用单据
  27380. /Order/QueryTradeHolderDetail:
  27381. get:
  27382. parameters:
  27383. - description: 用户id
  27384. in: query
  27385. name: userid
  27386. type: integer
  27387. - description: 资金账号, 格式 1,2,3
  27388. in: query
  27389. name: accids
  27390. type: string
  27391. - description: 交易模式, 格式 1,2,3
  27392. in: query
  27393. name: trademodes
  27394. type: string
  27395. - description: 市场id, 格式 1,2,3
  27396. in: query
  27397. name: marketids
  27398. type: string
  27399. - description: 商品id
  27400. in: query
  27401. name: goodsid
  27402. type: integer
  27403. - description: 买卖方向 0-买 1-卖
  27404. in: query
  27405. name: buyorsell
  27406. type: integer
  27407. produces:
  27408. - application/json
  27409. responses:
  27410. "200":
  27411. description: OK
  27412. schema:
  27413. items:
  27414. $ref: '#/definitions/models.TradeHolderDetail'
  27415. type: array
  27416. "500":
  27417. description: Internal Server Error
  27418. schema:
  27419. $ref: '#/definitions/app.Response'
  27420. security:
  27421. - ApiKeyAuth: []
  27422. summary: 查询持仓明细
  27423. tags:
  27424. - 通用单据
  27425. /Order/QueryTradeOrderDetail:
  27426. get:
  27427. parameters:
  27428. - description: 资金账户 - 格式:1,2,3
  27429. in: query
  27430. name: accountID
  27431. required: true
  27432. type: string
  27433. - description: 交易模式 - 格式:1,2,3
  27434. in: query
  27435. name: tradeMode
  27436. type: string
  27437. - description: 委托状态 - 格式:1,2,3
  27438. in: query
  27439. name: orderStatus
  27440. type: string
  27441. - description: 委托单号
  27442. in: query
  27443. name: orderID
  27444. type: integer
  27445. produces:
  27446. - application/json
  27447. responses:
  27448. "200":
  27449. description: OK
  27450. schema:
  27451. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  27452. "500":
  27453. description: Internal Server Error
  27454. schema:
  27455. $ref: '#/definitions/app.Response'
  27456. security:
  27457. - ApiKeyAuth: []
  27458. summary: 委托单查询请求(合约市场)
  27459. tags:
  27460. - 通用单据
  27461. /Order/QueryTradePosition:
  27462. get:
  27463. parameters:
  27464. - description: 资金账户 - 格式:1,2,3
  27465. in: query
  27466. name: accountID
  27467. required: true
  27468. type: string
  27469. - description: 交易模式 - 格式:1,2,3
  27470. in: query
  27471. name: tradeMode
  27472. type: string
  27473. produces:
  27474. - application/json
  27475. responses:
  27476. "200":
  27477. description: OK
  27478. schema:
  27479. $ref: '#/definitions/order.QueryTradePositionRsp'
  27480. "500":
  27481. description: Internal Server Error
  27482. schema:
  27483. $ref: '#/definitions/app.Response'
  27484. security:
  27485. - ApiKeyAuth: []
  27486. summary: 持仓汇总查询(合约市场)
  27487. tags:
  27488. - 通用单据
  27489. /Qhj/QueryAccountInOutApply:
  27490. get:
  27491. parameters:
  27492. - description: 用户ID
  27493. in: query
  27494. name: userid
  27495. required: true
  27496. type: integer
  27497. - description: 申请起始日期(格式yyyymmdd)
  27498. in: query
  27499. name: begindate
  27500. type: string
  27501. - description: 申请截止日期(格式yyyymmdd)
  27502. in: query
  27503. name: enddate
  27504. type: string
  27505. - description: 模糊搜索名称
  27506. in: query
  27507. name: likename
  27508. type: string
  27509. produces:
  27510. - application/json
  27511. responses:
  27512. "200":
  27513. description: OK
  27514. schema:
  27515. items:
  27516. $ref: '#/definitions/models.QhjAccountOutInApply'
  27517. type: array
  27518. "500":
  27519. description: Internal Server Error
  27520. schema:
  27521. $ref: '#/definitions/app.Response'
  27522. security:
  27523. - ApiKeyAuth: []
  27524. summary: 查询充值提现
  27525. tags:
  27526. - 大连千海金
  27527. /Qhj/QueryAreaFinanceConfig:
  27528. get:
  27529. parameters:
  27530. - description: 机构用户ID 其他做市关系,都设置为 1
  27531. in: query
  27532. name: userid
  27533. type: integer
  27534. produces:
  27535. - application/json
  27536. responses:
  27537. "200":
  27538. description: OK
  27539. schema:
  27540. items:
  27541. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  27542. type: array
  27543. "500":
  27544. description: Internal Server Error
  27545. schema:
  27546. $ref: '#/definitions/app.Response'
  27547. security:
  27548. - ApiKeyAuth: []
  27549. summary: 查询企业配置表
  27550. tags:
  27551. - 大连千海金
  27552. /Qhj/QueryBankAccountSign:
  27553. get:
  27554. parameters:
  27555. - description: 用户ID
  27556. in: query
  27557. name: userid
  27558. required: true
  27559. type: integer
  27560. produces:
  27561. - application/json
  27562. responses:
  27563. "200":
  27564. description: OK
  27565. schema:
  27566. items:
  27567. $ref: '#/definitions/models.QhjBankAccountSign'
  27568. type: array
  27569. "500":
  27570. description: Internal Server Error
  27571. schema:
  27572. $ref: '#/definitions/app.Response'
  27573. security:
  27574. - ApiKeyAuth: []
  27575. summary: 查询签约银行信息(提现账户管理)
  27576. tags:
  27577. - 大连千海金
  27578. /Qhj/QueryBankInfo:
  27579. get:
  27580. produces:
  27581. - application/json
  27582. responses:
  27583. "200":
  27584. description: OK
  27585. schema:
  27586. items:
  27587. $ref: '#/definitions/models.QhjBankInfo'
  27588. type: array
  27589. "500":
  27590. description: Internal Server Error
  27591. schema:
  27592. $ref: '#/definitions/app.Response'
  27593. security:
  27594. - ApiKeyAuth: []
  27595. summary: 查询开户行
  27596. tags:
  27597. - 大连千海金
  27598. /Qhj/QueryBrokerApply:
  27599. get:
  27600. parameters:
  27601. - description: 所属机构ID
  27602. in: query
  27603. name: userid
  27604. type: integer
  27605. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27606. in: query
  27607. name: filterstatus
  27608. type: string
  27609. produces:
  27610. - application/json
  27611. responses:
  27612. "200":
  27613. description: OK
  27614. schema:
  27615. items:
  27616. $ref: '#/definitions/models.QhjBrokerApply'
  27617. type: array
  27618. "500":
  27619. description: Internal Server Error
  27620. schema:
  27621. $ref: '#/definitions/app.Response'
  27622. security:
  27623. - ApiKeyAuth: []
  27624. summary: 查询经纪人申请
  27625. tags:
  27626. - 大连千海金
  27627. /Qhj/QueryBrokerApplyEx:
  27628. get:
  27629. parameters:
  27630. - description: 所属机构ID
  27631. in: query
  27632. name: userid
  27633. type: integer
  27634. produces:
  27635. - application/json
  27636. responses:
  27637. "200":
  27638. description: OK
  27639. schema:
  27640. items:
  27641. $ref: '#/definitions/models.QhjBrokerApplyEx'
  27642. type: array
  27643. "500":
  27644. description: Internal Server Error
  27645. schema:
  27646. $ref: '#/definitions/app.Response'
  27647. security:
  27648. - ApiKeyAuth: []
  27649. summary: 查询经纪人信息和申请记录
  27650. tags:
  27651. - 大连千海金
  27652. /Qhj/QueryBrokerRewardLog:
  27653. get:
  27654. parameters:
  27655. - description: 用户ID
  27656. in: query
  27657. name: userid
  27658. required: true
  27659. type: integer
  27660. - description: 开始交易日(yyyymmdd)
  27661. in: query
  27662. name: begindate
  27663. type: string
  27664. - description: 结束交易日(yyyymmdd)
  27665. in: query
  27666. name: enddate
  27667. type: string
  27668. produces:
  27669. - application/json
  27670. responses:
  27671. "200":
  27672. description: OK
  27673. schema:
  27674. items:
  27675. $ref: '#/definitions/models.QhjBrokerRewardLog'
  27676. type: array
  27677. "500":
  27678. description: Internal Server Error
  27679. schema:
  27680. $ref: '#/definitions/app.Response'
  27681. security:
  27682. - ApiKeyAuth: []
  27683. summary: 查询奖励流水(我的奖励)
  27684. tags:
  27685. - 大连千海金
  27686. /Qhj/QueryContract:
  27687. get:
  27688. parameters:
  27689. - description: 用户ID
  27690. in: query
  27691. name: userid
  27692. type: integer
  27693. - description: scf合同id
  27694. in: query
  27695. name: scfcontractid
  27696. type: integer
  27697. produces:
  27698. - application/json
  27699. responses:
  27700. "200":
  27701. description: OK
  27702. schema:
  27703. items:
  27704. $ref: '#/definitions/models.QhjContract'
  27705. type: array
  27706. "500":
  27707. description: Internal Server Error
  27708. schema:
  27709. $ref: '#/definitions/app.Response'
  27710. security:
  27711. - ApiKeyAuth: []
  27712. summary: 查询融资明细(合同)
  27713. tags:
  27714. - 大连千海金
  27715. /Qhj/QueryContractLog:
  27716. get:
  27717. parameters:
  27718. - description: scf合同id
  27719. in: query
  27720. name: scfcontractid
  27721. required: true
  27722. type: integer
  27723. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  27724. in: query
  27725. name: amounttype
  27726. type: string
  27727. produces:
  27728. - application/json
  27729. responses:
  27730. "200":
  27731. description: OK
  27732. schema:
  27733. items:
  27734. $ref: '#/definitions/models.QhjContractLog'
  27735. type: array
  27736. "500":
  27737. description: Internal Server Error
  27738. schema:
  27739. $ref: '#/definitions/app.Response'
  27740. security:
  27741. - ApiKeyAuth: []
  27742. summary: 查询融资明细流水(融资明细详情页中的流水)
  27743. tags:
  27744. - 大连千海金
  27745. /Qhj/QueryCusBankSignBank:
  27746. get:
  27747. produces:
  27748. - application/json
  27749. responses:
  27750. "200":
  27751. description: OK
  27752. schema:
  27753. items:
  27754. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  27755. type: array
  27756. "500":
  27757. description: Internal Server Error
  27758. schema:
  27759. $ref: '#/definitions/app.Response'
  27760. security:
  27761. - ApiKeyAuth: []
  27762. summary: 查询托管银行
  27763. tags:
  27764. - 大连千海金
  27765. /Qhj/QueryCustomerInfo:
  27766. get:
  27767. parameters:
  27768. - description: 用户ID
  27769. in: query
  27770. name: userid
  27771. required: true
  27772. type: integer
  27773. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27774. in: query
  27775. name: querytype
  27776. required: true
  27777. type: integer
  27778. - description: 客户类型 1-个人 2-企业
  27779. in: query
  27780. name: userinfotype
  27781. type: integer
  27782. - description: 客户名称(模糊匹配)
  27783. in: query
  27784. name: customername
  27785. type: string
  27786. - description: 昵称(模糊匹配)
  27787. in: query
  27788. name: nickname
  27789. type: string
  27790. - description: 是否包含子级 1-包含
  27791. in: query
  27792. name: includesub
  27793. type: integer
  27794. produces:
  27795. - application/json
  27796. responses:
  27797. "200":
  27798. description: OK
  27799. schema:
  27800. items:
  27801. $ref: '#/definitions/models.QhjCustomer'
  27802. type: array
  27803. "500":
  27804. description: Internal Server Error
  27805. schema:
  27806. $ref: '#/definitions/app.Response'
  27807. security:
  27808. - ApiKeyAuth: []
  27809. summary: 查询客户资料
  27810. tags:
  27811. - 大连千海金
  27812. /Qhj/QueryGoodsEx:
  27813. get:
  27814. parameters:
  27815. - description: 商品id
  27816. in: query
  27817. name: goodsid
  27818. type: integer
  27819. produces:
  27820. - application/json
  27821. responses:
  27822. "200":
  27823. description: OK
  27824. schema:
  27825. items:
  27826. $ref: '#/definitions/models.Qhjgoodsex'
  27827. type: array
  27828. "500":
  27829. description: Internal Server Error
  27830. schema:
  27831. $ref: '#/definitions/app.Response'
  27832. security:
  27833. - ApiKeyAuth: []
  27834. summary: 交易商品扩展表
  27835. tags:
  27836. - 大连千海金
  27837. /Qhj/QueryMyTeam:
  27838. get:
  27839. parameters:
  27840. - description: 用户ID
  27841. in: query
  27842. name: userid
  27843. required: true
  27844. type: integer
  27845. produces:
  27846. - application/json
  27847. responses:
  27848. "200":
  27849. description: OK
  27850. schema:
  27851. items:
  27852. $ref: '#/definitions/models.QhjMyTeamEx'
  27853. type: array
  27854. "500":
  27855. description: Internal Server Error
  27856. schema:
  27857. $ref: '#/definitions/app.Response'
  27858. security:
  27859. - ApiKeyAuth: []
  27860. summary: 查询我的团队
  27861. tags:
  27862. - 大连千海金
  27863. /Qhj/QueryMyTeamOrder:
  27864. get:
  27865. parameters:
  27866. - description: 页码
  27867. in: query
  27868. name: page
  27869. type: integer
  27870. - description: 每页条数
  27871. in: query
  27872. name: pagesize
  27873. type: integer
  27874. - description: 用户ID
  27875. in: query
  27876. name: userid
  27877. required: true
  27878. type: integer
  27879. - description: 交易模式
  27880. in: query
  27881. name: trademode
  27882. type: integer
  27883. - description: 名称(模糊搜索账户)
  27884. in: query
  27885. name: filtername
  27886. type: string
  27887. produces:
  27888. - application/json
  27889. responses:
  27890. "200":
  27891. description: OK
  27892. schema:
  27893. items:
  27894. $ref: '#/definitions/models.QhjTeamOrder'
  27895. type: array
  27896. "500":
  27897. description: Internal Server Error
  27898. schema:
  27899. $ref: '#/definitions/app.Response'
  27900. security:
  27901. - ApiKeyAuth: []
  27902. summary: 查询团队订单(我的团队/团队订单)
  27903. tags:
  27904. - 大连千海金
  27905. /Qhj/QueryParentAreaList:
  27906. get:
  27907. parameters:
  27908. - description: 用户ID
  27909. in: query
  27910. name: userid
  27911. required: true
  27912. type: integer
  27913. produces:
  27914. - application/json
  27915. responses:
  27916. "200":
  27917. description: OK
  27918. schema:
  27919. items:
  27920. $ref: '#/definitions/models.QhjParentAreaList'
  27921. type: array
  27922. "500":
  27923. description: Internal Server Error
  27924. schema:
  27925. $ref: '#/definitions/app.Response'
  27926. security:
  27927. - ApiKeyAuth: []
  27928. summary: 查询所属机构列表
  27929. tags:
  27930. - 大连千海金
  27931. /Qhj/QueryPayOrder:
  27932. get:
  27933. parameters:
  27934. - description: 资金账号id
  27935. in: query
  27936. name: accountid
  27937. required: true
  27938. type: integer
  27939. - description: 成交单号
  27940. in: query
  27941. name: tradeid
  27942. type: integer
  27943. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27944. in: query
  27945. name: payflag
  27946. type: string
  27947. produces:
  27948. - application/json
  27949. responses:
  27950. "200":
  27951. description: OK
  27952. schema:
  27953. items:
  27954. $ref: '#/definitions/models.QhjPayOrder'
  27955. type: array
  27956. "500":
  27957. description: Internal Server Error
  27958. schema:
  27959. $ref: '#/definitions/app.Response'
  27960. security:
  27961. - ApiKeyAuth: []
  27962. summary: 查询待付款单据
  27963. tags:
  27964. - 大连千海金
  27965. /Qhj/QueryPickArea:
  27966. get:
  27967. parameters:
  27968. - description: 用户ID
  27969. in: query
  27970. name: userid
  27971. type: integer
  27972. produces:
  27973. - application/json
  27974. responses:
  27975. "200":
  27976. description: OK
  27977. schema:
  27978. items:
  27979. $ref: '#/definitions/models.QhjPickArea'
  27980. type: array
  27981. "500":
  27982. description: Internal Server Error
  27983. schema:
  27984. $ref: '#/definitions/app.Response'
  27985. security:
  27986. - ApiKeyAuth: []
  27987. summary: 查询提货门店
  27988. tags:
  27989. - 大连千海金
  27990. /Qhj/QueryPickGoods:
  27991. get:
  27992. parameters:
  27993. - description: 交易商品id
  27994. in: query
  27995. name: goodsid
  27996. required: true
  27997. type: integer
  27998. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  27999. in: query
  28000. name: status
  28001. type: string
  28002. produces:
  28003. - application/json
  28004. responses:
  28005. "200":
  28006. description: OK
  28007. schema:
  28008. items:
  28009. $ref: '#/definitions/models.QhjPickGoods'
  28010. type: array
  28011. "500":
  28012. description: Internal Server Error
  28013. schema:
  28014. $ref: '#/definitions/app.Response'
  28015. security:
  28016. - ApiKeyAuth: []
  28017. summary: 查询提货商品
  28018. tags:
  28019. - 大连千海金
  28020. /Qhj/QueryRSTriggerLog:
  28021. get:
  28022. parameters:
  28023. - description: 用户ID
  28024. in: query
  28025. name: userid
  28026. type: integer
  28027. - description: 定投策略id
  28028. in: query
  28029. name: regularlystrategyid
  28030. type: integer
  28031. - description: 商品id
  28032. in: query
  28033. name: goodsid
  28034. type: integer
  28035. - description: 开始交易日(yyyymmdd)
  28036. in: query
  28037. name: begindate
  28038. type: string
  28039. - description: 结束交易日(yyyymmdd)
  28040. in: query
  28041. name: enddate
  28042. type: string
  28043. - description: 名称(模糊搜索账户)
  28044. in: query
  28045. name: filtername
  28046. type: string
  28047. produces:
  28048. - application/json
  28049. responses:
  28050. "200":
  28051. description: OK
  28052. schema:
  28053. items:
  28054. $ref: '#/definitions/models.QhjRSTriggerLog'
  28055. type: array
  28056. "500":
  28057. description: Internal Server Error
  28058. schema:
  28059. $ref: '#/definitions/app.Response'
  28060. security:
  28061. - ApiKeyAuth: []
  28062. summary: 查询定投记录(定投管理/详情/定投记录)
  28063. tags:
  28064. - 大连千海金
  28065. /Qhj/QueryRStrategy:
  28066. get:
  28067. parameters:
  28068. - description: 用户ID
  28069. in: query
  28070. name: userid
  28071. type: integer
  28072. - description: 商品id
  28073. in: query
  28074. name: goodsid
  28075. type: integer
  28076. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  28077. in: query
  28078. name: status
  28079. type: string
  28080. - description: 名称(模糊搜索账户)
  28081. in: query
  28082. name: filtername
  28083. type: string
  28084. produces:
  28085. - application/json
  28086. responses:
  28087. "200":
  28088. description: OK
  28089. schema:
  28090. items:
  28091. $ref: '#/definitions/models.QhjRStrategy'
  28092. type: array
  28093. "500":
  28094. description: Internal Server Error
  28095. schema:
  28096. $ref: '#/definitions/app.Response'
  28097. security:
  28098. - ApiKeyAuth: []
  28099. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  28100. tags:
  28101. - 大连千海金
  28102. /Qhj/QueryReckonPriceLog:
  28103. get:
  28104. parameters:
  28105. - description: 商品ID
  28106. in: query
  28107. name: goodsid
  28108. type: integer
  28109. - description: 交易日 格式(yyyymmdd)
  28110. in: query
  28111. name: tradedate
  28112. type: string
  28113. produces:
  28114. - application/json
  28115. responses:
  28116. "200":
  28117. description: OK
  28118. schema:
  28119. items:
  28120. $ref: '#/definitions/models.QhjReckonPriceLog'
  28121. type: array
  28122. "500":
  28123. description: Internal Server Error
  28124. schema:
  28125. $ref: '#/definitions/app.Response'
  28126. security:
  28127. - ApiKeyAuth: []
  28128. summary: 查询定投价(结算价)
  28129. tags:
  28130. - 大连千海金
  28131. /Qhj/QueryScoreLog:
  28132. get:
  28133. parameters:
  28134. - description: 用户ID
  28135. in: query
  28136. name: userid
  28137. required: true
  28138. type: integer
  28139. - description: 开始交易日(yyyymmdd)
  28140. in: query
  28141. name: begindate
  28142. type: string
  28143. - description: 结束交易日(yyyymmdd)
  28144. in: query
  28145. name: enddate
  28146. type: string
  28147. - description: 最近多少条
  28148. in: query
  28149. name: lastnum
  28150. type: integer
  28151. produces:
  28152. - application/json
  28153. responses:
  28154. "200":
  28155. description: OK
  28156. schema:
  28157. items:
  28158. $ref: '#/definitions/models.QhjScoreLog'
  28159. type: array
  28160. "500":
  28161. description: Internal Server Error
  28162. schema:
  28163. $ref: '#/definitions/app.Response'
  28164. security:
  28165. - ApiKeyAuth: []
  28166. summary: 查询积分流水(我的积分)
  28167. tags:
  28168. - 大连千海金
  28169. /Qhj/QuerySiteColumnDetail:
  28170. get:
  28171. parameters:
  28172. - description: 用户ID
  28173. in: query
  28174. name: userid
  28175. required: true
  28176. type: integer
  28177. produces:
  28178. - application/json
  28179. responses:
  28180. "200":
  28181. description: OK
  28182. schema:
  28183. items:
  28184. $ref: '#/definitions/models.QhjSiteColumnDetail'
  28185. type: array
  28186. "500":
  28187. description: Internal Server Error
  28188. schema:
  28189. $ref: '#/definitions/app.Response'
  28190. security:
  28191. - ApiKeyAuth: []
  28192. summary: 查询资讯
  28193. tags:
  28194. - 大连千海金
  28195. /Qhj/QueryTradeGoodsPickup:
  28196. get:
  28197. parameters:
  28198. - description: 用户ID
  28199. in: query
  28200. name: userid
  28201. required: true
  28202. type: integer
  28203. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  28204. 7:已拒绝 8:已撤销
  28205. in: query
  28206. name: takeorderstatus
  28207. type: integer
  28208. produces:
  28209. - application/json
  28210. responses:
  28211. "200":
  28212. description: OK
  28213. schema:
  28214. items:
  28215. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  28216. type: array
  28217. "500":
  28218. description: Internal Server Error
  28219. schema:
  28220. $ref: '#/definitions/app.Response'
  28221. security:
  28222. - ApiKeyAuth: []
  28223. summary: 查询提货
  28224. tags:
  28225. - 大连千海金
  28226. /Qhj/QueryUserCollectConfig:
  28227. get:
  28228. parameters:
  28229. - description: 用户ID
  28230. in: query
  28231. name: userid
  28232. required: true
  28233. type: integer
  28234. produces:
  28235. - application/json
  28236. responses:
  28237. "200":
  28238. description: OK
  28239. schema:
  28240. items:
  28241. $ref: '#/definitions/models.UserCollectConfig'
  28242. type: array
  28243. "500":
  28244. description: Internal Server Error
  28245. schema:
  28246. $ref: '#/definitions/app.Response'
  28247. security:
  28248. - ApiKeyAuth: []
  28249. summary: 查询提现账户设置
  28250. tags:
  28251. - 大连千海金
  28252. /Qhj/QueryUserReceiveInfo:
  28253. get:
  28254. parameters:
  28255. - description: 用户ID
  28256. in: query
  28257. name: userid
  28258. required: true
  28259. type: integer
  28260. produces:
  28261. - application/json
  28262. responses:
  28263. "200":
  28264. description: OK
  28265. schema:
  28266. items:
  28267. $ref: '#/definitions/models.UserReceiveInfo'
  28268. type: array
  28269. "500":
  28270. description: Internal Server Error
  28271. schema:
  28272. $ref: '#/definitions/app.Response'
  28273. security:
  28274. - ApiKeyAuth: []
  28275. summary: 查询收货地址信息
  28276. tags:
  28277. - 大连千海金
  28278. /QhjMgr/QueryAccountInOutApply:
  28279. get:
  28280. parameters:
  28281. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28282. in: query
  28283. name: querytype
  28284. required: true
  28285. type: integer
  28286. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28287. in: query
  28288. name: applystatus
  28289. type: integer
  28290. - description: 申请起始日期(格式yyyymmdd)
  28291. in: query
  28292. name: begindate
  28293. type: string
  28294. - description: 申请截止日期(格式yyyymmdd)
  28295. in: query
  28296. name: enddate
  28297. type: string
  28298. - description: 模糊搜索名称
  28299. in: query
  28300. name: likename
  28301. type: string
  28302. produces:
  28303. - application/json
  28304. responses:
  28305. "200":
  28306. description: OK
  28307. schema:
  28308. items:
  28309. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  28310. type: array
  28311. "500":
  28312. description: Internal Server Error
  28313. schema:
  28314. $ref: '#/definitions/app.Response'
  28315. security:
  28316. - ApiKeyAuth: []
  28317. summary: 查询充值提现
  28318. tags:
  28319. - 大连千海金(PCWeb)
  28320. /QhjMgr/QueryBrokerApply:
  28321. get:
  28322. parameters:
  28323. - description: 所属机构ID
  28324. in: query
  28325. name: userid
  28326. type: integer
  28327. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28328. in: query
  28329. name: filterstatus
  28330. type: string
  28331. - description: 名称(模糊匹配)
  28332. in: query
  28333. name: filtername
  28334. type: string
  28335. - description: 是否包含子级 1-包含
  28336. in: query
  28337. name: includesub
  28338. type: integer
  28339. produces:
  28340. - application/json
  28341. responses:
  28342. "200":
  28343. description: OK
  28344. schema:
  28345. items:
  28346. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28347. type: array
  28348. "500":
  28349. description: Internal Server Error
  28350. schema:
  28351. $ref: '#/definitions/app.Response'
  28352. security:
  28353. - ApiKeyAuth: []
  28354. summary: 查询经纪人申请
  28355. tags:
  28356. - 大连千海金(PCWeb)
  28357. /QhjMgr/QueryBrokerRewardReport:
  28358. get:
  28359. parameters:
  28360. - description: 所属机构ID
  28361. in: query
  28362. name: userid
  28363. required: true
  28364. type: integer
  28365. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28366. in: query
  28367. name: cycletype
  28368. required: true
  28369. type: integer
  28370. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28371. in: query
  28372. name: cycletime
  28373. required: true
  28374. type: string
  28375. - description: 名称(模糊匹配)
  28376. in: query
  28377. name: filtername
  28378. type: string
  28379. - description: 是否包含子级 1-包含
  28380. in: query
  28381. name: includesub
  28382. type: integer
  28383. produces:
  28384. - application/json
  28385. responses:
  28386. "200":
  28387. description: OK
  28388. schema:
  28389. items:
  28390. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  28391. type: array
  28392. "500":
  28393. description: Internal Server Error
  28394. schema:
  28395. $ref: '#/definitions/app.Response'
  28396. security:
  28397. - ApiKeyAuth: []
  28398. summary: 查询经纪人奖励报表(废弃)
  28399. tags:
  28400. - 大连千海金(PCWeb)
  28401. /QhjMgr/QueryContract:
  28402. get:
  28403. parameters:
  28404. - description: 用户ID
  28405. in: query
  28406. name: userid
  28407. type: integer
  28408. - description: 商品id
  28409. in: query
  28410. name: goodsid
  28411. type: integer
  28412. - description: 名称(模糊搜索账户)
  28413. in: query
  28414. name: filtername
  28415. type: string
  28416. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  28417. in: query
  28418. name: risklevel
  28419. type: string
  28420. - description: 开始交易日(yyyymmdd)
  28421. in: query
  28422. name: begindate
  28423. type: string
  28424. - description: 结束交易日(yyyymmdd)
  28425. in: query
  28426. name: enddate
  28427. type: string
  28428. produces:
  28429. - application/json
  28430. responses:
  28431. "200":
  28432. description: OK
  28433. schema:
  28434. items:
  28435. $ref: '#/definitions/models.QhjMgrContract'
  28436. type: array
  28437. "500":
  28438. description: Internal Server Error
  28439. schema:
  28440. $ref: '#/definitions/app.Response'
  28441. security:
  28442. - ApiKeyAuth: []
  28443. summary: 查询融资信息(合同)
  28444. tags:
  28445. - 大连千海金(PCWeb)
  28446. /QhjMgr/QueryCustomerInfo:
  28447. get:
  28448. parameters:
  28449. - description: 用户ID
  28450. in: query
  28451. name: userid
  28452. required: true
  28453. type: integer
  28454. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28455. in: query
  28456. name: querytype
  28457. required: true
  28458. type: integer
  28459. - description: 客户类型 1-个人 2-企业
  28460. in: query
  28461. name: userinfotype
  28462. type: integer
  28463. - description: 客户名称(模糊匹配)
  28464. in: query
  28465. name: customername
  28466. type: string
  28467. - description: 昵称(模糊匹配)
  28468. in: query
  28469. name: nickname
  28470. type: string
  28471. - description: 所属客户经理(模糊匹配)
  28472. in: query
  28473. name: brokername
  28474. type: string
  28475. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  28476. 如0503 -5月3日)
  28477. in: query
  28478. name: birthday
  28479. type: string
  28480. - description: 是否包含子级 1-包含
  28481. in: query
  28482. name: includesub
  28483. type: integer
  28484. produces:
  28485. - application/json
  28486. responses:
  28487. "200":
  28488. description: OK
  28489. schema:
  28490. items:
  28491. $ref: '#/definitions/models.QhjMgrCustomer'
  28492. type: array
  28493. "500":
  28494. description: Internal Server Error
  28495. schema:
  28496. $ref: '#/definitions/app.Response'
  28497. security:
  28498. - ApiKeyAuth: []
  28499. summary: 查询客户资料
  28500. tags:
  28501. - 大连千海金(PCWeb)
  28502. /QhjMgr/QueryPickGoods:
  28503. get:
  28504. parameters:
  28505. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28506. in: query
  28507. name: status
  28508. type: string
  28509. produces:
  28510. - application/json
  28511. responses:
  28512. "200":
  28513. description: OK
  28514. schema:
  28515. items:
  28516. $ref: '#/definitions/models.QhjMgrPickGoods'
  28517. type: array
  28518. "500":
  28519. description: Internal Server Error
  28520. schema:
  28521. $ref: '#/definitions/app.Response'
  28522. security:
  28523. - ApiKeyAuth: []
  28524. summary: 查询提货商品
  28525. tags:
  28526. - 大连千海金(PCWeb)
  28527. /QhjMgr/QuerySubArea:
  28528. get:
  28529. parameters:
  28530. - description: 用户ID
  28531. in: query
  28532. name: userid
  28533. required: true
  28534. type: integer
  28535. produces:
  28536. - application/json
  28537. responses:
  28538. "200":
  28539. description: OK
  28540. schema:
  28541. items:
  28542. $ref: '#/definitions/models.QhjMgrSubArea'
  28543. type: array
  28544. "500":
  28545. description: Internal Server Error
  28546. schema:
  28547. $ref: '#/definitions/app.Response'
  28548. security:
  28549. - ApiKeyAuth: []
  28550. summary: 查询子机构列表
  28551. tags:
  28552. - 大连千海金(PCWeb)
  28553. /QhjMgr/QueryTradeDetail:
  28554. get:
  28555. parameters:
  28556. - description: 用户ID
  28557. in: query
  28558. name: userid
  28559. required: true
  28560. type: integer
  28561. - description: 用户类型 1-个人 2-企业
  28562. in: query
  28563. name: userinfotype
  28564. type: integer
  28565. - description: 交易模式
  28566. in: query
  28567. name: trademode
  28568. type: integer
  28569. - description: 商品id
  28570. in: query
  28571. name: goodsid
  28572. type: integer
  28573. - description: 名称(模糊搜索账户)
  28574. in: query
  28575. name: filtername
  28576. type: string
  28577. - description: 开始交易日(yyyymmdd)
  28578. in: query
  28579. name: begindate
  28580. type: string
  28581. - description: 结束交易日(yyyymmdd)
  28582. in: query
  28583. name: enddate
  28584. type: string
  28585. - description: 是否包含子级 1-包含
  28586. in: query
  28587. name: includesub
  28588. type: integer
  28589. produces:
  28590. - application/json
  28591. responses:
  28592. "200":
  28593. description: OK
  28594. schema:
  28595. items:
  28596. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  28597. type: array
  28598. "500":
  28599. description: Internal Server Error
  28600. schema:
  28601. $ref: '#/definitions/app.Response'
  28602. security:
  28603. - ApiKeyAuth: []
  28604. summary: 查询成交明细
  28605. tags:
  28606. - 大连千海金(PCWeb)
  28607. /QhjMgr/QueryTradeOrderDetail:
  28608. get:
  28609. parameters:
  28610. - description: 用户ID
  28611. in: query
  28612. name: userid
  28613. required: true
  28614. type: integer
  28615. - description: 用户类型 1-个人 2-企业
  28616. in: query
  28617. name: userinfotype
  28618. type: integer
  28619. - description: 交易模式
  28620. in: query
  28621. name: trademode
  28622. type: integer
  28623. - description: 商品id
  28624. in: query
  28625. name: goodsid
  28626. type: integer
  28627. - description: 名称(模糊搜索账户)
  28628. in: query
  28629. name: filtername
  28630. type: string
  28631. - description: 开始交易日(yyyymmdd)
  28632. in: query
  28633. name: begindate
  28634. type: string
  28635. - description: 结束交易日(yyyymmdd)
  28636. in: query
  28637. name: enddate
  28638. type: string
  28639. - description: 是否包含子级 1-包含
  28640. in: query
  28641. name: includesub
  28642. type: integer
  28643. produces:
  28644. - application/json
  28645. responses:
  28646. "200":
  28647. description: OK
  28648. schema:
  28649. items:
  28650. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  28651. type: array
  28652. "500":
  28653. description: Internal Server Error
  28654. schema:
  28655. $ref: '#/definitions/app.Response'
  28656. security:
  28657. - ApiKeyAuth: []
  28658. summary: 查询委托明细
  28659. tags:
  28660. - 大连千海金(PCWeb)
  28661. /QhjMgr/QueryTradePayOrder:
  28662. get:
  28663. parameters:
  28664. - description: 用户ID
  28665. in: query
  28666. name: userid
  28667. required: true
  28668. type: integer
  28669. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28670. in: query
  28671. name: payflag
  28672. type: string
  28673. - description: 用户类型 1-个人 2-企业
  28674. in: query
  28675. name: userinfotype
  28676. type: integer
  28677. - description: 交易模式
  28678. in: query
  28679. name: trademode
  28680. type: integer
  28681. - description: 商品id
  28682. in: query
  28683. name: goodsid
  28684. type: integer
  28685. - description: 名称(模糊搜索账户)
  28686. in: query
  28687. name: filtername
  28688. type: string
  28689. - description: 开始交易日(yyyymmdd)
  28690. in: query
  28691. name: begindate
  28692. type: string
  28693. - description: 结束交易日(yyyymmdd)
  28694. in: query
  28695. name: enddate
  28696. type: string
  28697. - description: 是否包含子级 1-包含
  28698. in: query
  28699. name: includesub
  28700. type: integer
  28701. produces:
  28702. - application/json
  28703. responses:
  28704. "200":
  28705. description: OK
  28706. schema:
  28707. items:
  28708. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  28709. type: array
  28710. "500":
  28711. description: Internal Server Error
  28712. schema:
  28713. $ref: '#/definitions/app.Response'
  28714. security:
  28715. - ApiKeyAuth: []
  28716. summary: 查询待付款单
  28717. tags:
  28718. - 大连千海金(PCWeb)
  28719. /QhjMgr/QueryTradePosition:
  28720. get:
  28721. parameters:
  28722. - description: 用户ID
  28723. in: query
  28724. name: userid
  28725. required: true
  28726. type: integer
  28727. - description: 用户类型 1-个人 2-企业
  28728. in: query
  28729. name: userinfotype
  28730. type: integer
  28731. - description: 交易模式
  28732. in: query
  28733. name: trademode
  28734. type: integer
  28735. - description: 商品id
  28736. in: query
  28737. name: goodsid
  28738. type: integer
  28739. - description: 名称(模糊搜索账户)
  28740. in: query
  28741. name: filtername
  28742. type: string
  28743. - description: 是否包含子级 1-包含
  28744. in: query
  28745. name: includesub
  28746. type: integer
  28747. produces:
  28748. - application/json
  28749. responses:
  28750. "200":
  28751. description: OK
  28752. schema:
  28753. items:
  28754. $ref: '#/definitions/models.QhjMgrPositionRsp'
  28755. type: array
  28756. "500":
  28757. description: Internal Server Error
  28758. schema:
  28759. $ref: '#/definitions/app.Response'
  28760. security:
  28761. - ApiKeyAuth: []
  28762. summary: 查询持仓汇总
  28763. tags:
  28764. - 大连千海金(PCWeb)
  28765. /QhjSys/QueryAgreementChangeLog:
  28766. get:
  28767. parameters:
  28768. - description: 协议ID
  28769. in: query
  28770. name: agreementid
  28771. type: integer
  28772. - description: 协议版本号
  28773. in: query
  28774. name: agreementversion
  28775. type: integer
  28776. - description: 协议类型 - 1:注册 2:登录 3:交易
  28777. in: query
  28778. name: agreementtype
  28779. type: integer
  28780. - description: 协议编号(模糊匹配)
  28781. in: query
  28782. name: agreementno
  28783. type: string
  28784. - description: 协议名称(模糊匹配)
  28785. in: query
  28786. name: agreementname
  28787. type: string
  28788. produces:
  28789. - application/json
  28790. responses:
  28791. "200":
  28792. description: OK
  28793. schema:
  28794. items:
  28795. $ref: '#/definitions/models.QhjAgreementChangeLog'
  28796. type: array
  28797. "500":
  28798. description: Internal Server Error
  28799. schema:
  28800. $ref: '#/definitions/app.Response'
  28801. security:
  28802. - ApiKeyAuth: []
  28803. summary: 查询协议配置变更流水
  28804. tags:
  28805. - 大连千海金(协议和签约信息)
  28806. /QhjSys/QueryAgreementConfig:
  28807. get:
  28808. parameters:
  28809. - description: 协议ID
  28810. in: query
  28811. name: agreementid
  28812. type: integer
  28813. - description: 协议版本号
  28814. in: query
  28815. name: agreementversion
  28816. type: integer
  28817. - description: 协议类型 - 1:注册 2:登录 3:交易
  28818. in: query
  28819. name: agreementtype
  28820. type: integer
  28821. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  28822. in: query
  28823. name: isvalid
  28824. type: integer
  28825. - description: 协议编号(模糊匹配)
  28826. in: query
  28827. name: agreementno
  28828. type: string
  28829. - description: 协议名称(模糊匹配)
  28830. in: query
  28831. name: agreementname
  28832. type: string
  28833. produces:
  28834. - application/json
  28835. responses:
  28836. "200":
  28837. description: OK
  28838. schema:
  28839. items:
  28840. $ref: '#/definitions/models.QhjAgreementConfig'
  28841. type: array
  28842. "500":
  28843. description: Internal Server Error
  28844. schema:
  28845. $ref: '#/definitions/app.Response'
  28846. security:
  28847. - ApiKeyAuth: []
  28848. summary: 查询协议配置
  28849. tags:
  28850. - 大连千海金(协议和签约信息)
  28851. /QhjSys/QueryCustomerSignStatus:
  28852. get:
  28853. parameters:
  28854. - description: 客户ID
  28855. in: query
  28856. name: userid
  28857. type: integer
  28858. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  28859. in: query
  28860. name: nodetype
  28861. type: integer
  28862. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28863. in: query
  28864. name: goodsid
  28865. type: integer
  28866. - description: 创建交易日(yyyyMMdd)
  28867. in: query
  28868. name: tradedate
  28869. type: string
  28870. - description: 用户名称(模糊匹配)
  28871. in: query
  28872. name: username
  28873. type: string
  28874. produces:
  28875. - application/json
  28876. responses:
  28877. "200":
  28878. description: OK
  28879. schema:
  28880. items:
  28881. $ref: '#/definitions/models.QhjCustomerSignStatus'
  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/QueryNodeAgreementConfig:
  28893. get:
  28894. parameters:
  28895. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28896. in: query
  28897. name: configid
  28898. type: integer
  28899. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28900. in: query
  28901. name: nodetype
  28902. type: integer
  28903. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28904. in: query
  28905. name: goodsid
  28906. type: integer
  28907. - description: 协议ID
  28908. in: query
  28909. name: agreementid
  28910. type: integer
  28911. - description: 协议类型 - 1:注册 2:登录 3:交易
  28912. in: query
  28913. name: agreementtype
  28914. type: integer
  28915. - description: 协议版本号
  28916. in: query
  28917. name: agreementversion
  28918. type: integer
  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.QhjNodeAgreementConfig'
  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/QueryQhjCustomerSignLog:
  28946. get:
  28947. parameters:
  28948. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  28949. in: query
  28950. name: logid
  28951. type: integer
  28952. - description: 客户ID
  28953. in: query
  28954. name: userid
  28955. type: integer
  28956. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28957. in: query
  28958. name: nodetype
  28959. type: integer
  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: 用户名称(模糊匹配)
  28969. in: query
  28970. name: username
  28971. type: string
  28972. - description: 协议编号(模糊匹配)
  28973. in: query
  28974. name: agreementno
  28975. type: string
  28976. - description: 协议名称(模糊匹配)
  28977. in: query
  28978. name: agreementname
  28979. type: string
  28980. produces:
  28981. - application/json
  28982. responses:
  28983. "200":
  28984. description: OK
  28985. schema:
  28986. items:
  28987. $ref: '#/definitions/models.QhjCustomerSignLog'
  28988. type: array
  28989. "500":
  28990. description: Internal Server Error
  28991. schema:
  28992. $ref: '#/definitions/app.Response'
  28993. security:
  28994. - ApiKeyAuth: []
  28995. summary: 查询客户协议签约流水
  28996. tags:
  28997. - 大连千海金(协议和签约信息)
  28998. /QhjSys/QueryUserNodeCfgAndStatus:
  28999. get:
  29000. parameters:
  29001. - description: 客户ID
  29002. in: query
  29003. name: userid
  29004. type: integer
  29005. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29006. in: query
  29007. name: configid
  29008. type: integer
  29009. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29010. in: query
  29011. name: nodetype
  29012. type: string
  29013. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29014. in: query
  29015. name: goodsid
  29016. type: integer
  29017. - description: 协议ID
  29018. in: query
  29019. name: agreementid
  29020. type: integer
  29021. - description: 协议类型 - 1:注册 2:登录 3:交易
  29022. in: query
  29023. name: agreementtype
  29024. type: integer
  29025. - description: 协议版本号
  29026. in: query
  29027. name: agreementversion
  29028. type: integer
  29029. - description: 协议编号(模糊匹配)
  29030. in: query
  29031. name: agreementno
  29032. type: string
  29033. - description: 协议名称(模糊匹配)
  29034. in: query
  29035. name: agreementname
  29036. type: string
  29037. produces:
  29038. - application/json
  29039. responses:
  29040. "200":
  29041. description: OK
  29042. schema:
  29043. items:
  29044. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  29045. type: array
  29046. "500":
  29047. description: Internal Server Error
  29048. schema:
  29049. $ref: '#/definitions/app.Response'
  29050. security:
  29051. - ApiKeyAuth: []
  29052. summary: 查询用户协议节点配置和状态
  29053. tags:
  29054. - 大连千海金(协议和签约信息)
  29055. /Quote/QueryHistoryDatas:
  29056. get:
  29057. parameters:
  29058. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  29059. 日线 12:周线 13:月线 14:年线'
  29060. in: query
  29061. name: cycleType
  29062. required: true
  29063. type: integer
  29064. - description: 商品代码
  29065. in: query
  29066. name: goodsCode
  29067. required: true
  29068. type: string
  29069. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29070. in: query
  29071. name: startTime
  29072. type: string
  29073. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29074. in: query
  29075. name: endTime
  29076. type: string
  29077. - description: 条数
  29078. in: query
  29079. name: count
  29080. type: integer
  29081. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29082. in: query
  29083. name: isAsc
  29084. type: boolean
  29085. produces:
  29086. - application/json
  29087. responses:
  29088. "200":
  29089. description: OK
  29090. schema:
  29091. $ref: '#/definitions/quote.HistoryData'
  29092. "500":
  29093. description: Internal Server Error
  29094. schema:
  29095. $ref: '#/definitions/app.Response'
  29096. security:
  29097. - ApiKeyAuth: []
  29098. summary: 查询行情历史数据
  29099. tags:
  29100. - 行情服务
  29101. /Quote/QueryHistoryTikDatas:
  29102. get:
  29103. parameters:
  29104. - description: 商品代码
  29105. in: query
  29106. name: goodsCode
  29107. required: true
  29108. type: string
  29109. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29110. in: query
  29111. name: startTime
  29112. type: string
  29113. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29114. in: query
  29115. name: endTime
  29116. type: string
  29117. - description: 条数
  29118. in: query
  29119. name: count
  29120. type: integer
  29121. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29122. in: query
  29123. name: isAsc
  29124. type: boolean
  29125. produces:
  29126. - application/json
  29127. responses:
  29128. "200":
  29129. description: OK
  29130. schema:
  29131. $ref: '#/definitions/quote.HistoryTikData'
  29132. "500":
  29133. description: Internal Server Error
  29134. schema:
  29135. $ref: '#/definitions/app.Response'
  29136. security:
  29137. - ApiKeyAuth: []
  29138. summary: 查询行情Tik数据
  29139. tags:
  29140. - 行情服务
  29141. /Quote/QueryQuoteDay:
  29142. get:
  29143. parameters:
  29144. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  29145. in: query
  29146. name: goodsCodes
  29147. type: string
  29148. produces:
  29149. - application/json
  29150. responses:
  29151. "200":
  29152. description: OK
  29153. schema:
  29154. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  29155. "500":
  29156. description: Internal Server Error
  29157. schema:
  29158. $ref: '#/definitions/app.Response'
  29159. security:
  29160. - ApiKeyAuth: []
  29161. summary: 获取商品盘面信息
  29162. tags:
  29163. - 行情服务
  29164. /Quote/QueryTSData:
  29165. get:
  29166. parameters:
  29167. - description: 商品代码
  29168. in: query
  29169. name: goodsCode
  29170. required: true
  29171. type: string
  29172. produces:
  29173. - application/json
  29174. responses:
  29175. "200":
  29176. description: OK
  29177. schema:
  29178. $ref: '#/definitions/quote.QueryTSDataRsp'
  29179. "500":
  29180. description: Internal Server Error
  29181. schema:
  29182. $ref: '#/definitions/app.Response'
  29183. security:
  29184. - ApiKeyAuth: []
  29185. summary: 分时图数据查询
  29186. tags:
  29187. - 行情服务
  29188. /SZDZ/QueryConvertConfig:
  29189. get:
  29190. parameters:
  29191. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  29192. 6:交易转花生米(不设置)
  29193. in: query
  29194. name: convertType
  29195. type: integer
  29196. - description: 外部商品代码[JD\PD]
  29197. in: query
  29198. name: outerGoodsCode
  29199. type: string
  29200. - description: 内部商品ID列表[交易],格式:1,2,3
  29201. in: query
  29202. name: innerGoodsIDs
  29203. type: string
  29204. produces:
  29205. - application/json
  29206. responses:
  29207. "200":
  29208. description: OK
  29209. schema:
  29210. $ref: '#/definitions/models.Szdz3convertconfig'
  29211. "500":
  29212. description: Internal Server Error
  29213. schema:
  29214. $ref: '#/definitions/app.Response'
  29215. security:
  29216. - ApiKeyAuth: []
  29217. summary: 查询交易系统转换设置
  29218. tags:
  29219. - 定制【尚志大宗】
  29220. /SZDZ/QueryConvertLog:
  29221. get:
  29222. parameters:
  29223. - description: 资金账户 - 格式:1,2,3
  29224. in: query
  29225. name: accountID
  29226. required: true
  29227. type: string
  29228. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29229. in: query
  29230. name: startDate
  29231. type: string
  29232. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29233. in: query
  29234. name: endDate
  29235. type: string
  29236. produces:
  29237. - application/json
  29238. responses:
  29239. "200":
  29240. description: OK
  29241. schema:
  29242. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29243. "500":
  29244. description: Internal Server Error
  29245. schema:
  29246. $ref: '#/definitions/app.Response'
  29247. security:
  29248. - ApiKeyAuth: []
  29249. summary: 交易系统转换流水查询
  29250. tags:
  29251. - 定制【尚志大宗】
  29252. /SZDZ/QueryGoodsPickup:
  29253. get:
  29254. parameters:
  29255. - description: 资金账户 - 格式:1,2,3
  29256. in: query
  29257. name: accountID
  29258. required: true
  29259. type: string
  29260. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29261. in: query
  29262. name: takeOrderStatus
  29263. type: integer
  29264. produces:
  29265. - application/json
  29266. responses:
  29267. "200":
  29268. description: OK
  29269. schema:
  29270. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29271. "500":
  29272. description: Internal Server Error
  29273. schema:
  29274. $ref: '#/definitions/app.Response'
  29275. security:
  29276. - ApiKeyAuth: []
  29277. summary: 商品提货单查询
  29278. tags:
  29279. - 定制【尚志大宗】
  29280. /SZDZ/QueryRecieptOrder:
  29281. get:
  29282. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29283. parameters:
  29284. - description: 页码
  29285. in: query
  29286. name: page
  29287. type: integer
  29288. - description: 每页条数
  29289. in: query
  29290. name: pagesize
  29291. type: integer
  29292. - description: 商品ID
  29293. in: query
  29294. name: goodsID
  29295. required: true
  29296. type: integer
  29297. - description: 所属账户名称
  29298. in: query
  29299. name: accountName
  29300. type: string
  29301. - description: 市场ID
  29302. in: query
  29303. name: marketID
  29304. type: integer
  29305. - description: 方向 - 0:买 1:卖
  29306. in: query
  29307. name: buyorsell
  29308. required: true
  29309. type: integer
  29310. produces:
  29311. - application/json
  29312. responses:
  29313. "200":
  29314. description: OK
  29315. schema:
  29316. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29317. "500":
  29318. description: Internal Server Error
  29319. schema:
  29320. $ref: '#/definitions/app.Response'
  29321. security:
  29322. - ApiKeyAuth: []
  29323. summary: 点选挂牌委托单据查询(摘牌大厅)
  29324. tags:
  29325. - 定制【尚志大宗】
  29326. /SZDZ/QuerySZDZTradePosition:
  29327. get:
  29328. parameters:
  29329. - description: 资金账户
  29330. in: query
  29331. name: accountID
  29332. required: true
  29333. type: integer
  29334. produces:
  29335. - application/json
  29336. responses:
  29337. "200":
  29338. description: OK
  29339. schema:
  29340. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29341. "500":
  29342. description: Internal Server Error
  29343. schema:
  29344. $ref: '#/definitions/app.Response'
  29345. security:
  29346. - ApiKeyAuth: []
  29347. summary: 持仓汇总查询(尚志大宗)
  29348. tags:
  29349. - 定制【尚志大宗】
  29350. /SZDZ/SearchWhite:
  29351. get:
  29352. parameters:
  29353. - description: 用户ID
  29354. in: query
  29355. name: userID
  29356. required: true
  29357. type: integer
  29358. produces:
  29359. - application/json
  29360. responses:
  29361. "200":
  29362. description: OK
  29363. schema:
  29364. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29365. "500":
  29366. description: Internal Server Error
  29367. schema:
  29368. $ref: '#/definitions/app.Response'
  29369. security:
  29370. - ApiKeyAuth: []
  29371. summary: 搜索白名单
  29372. tags:
  29373. - 定制【尚志大宗】
  29374. /Search/SearchGoodses:
  29375. get:
  29376. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29377. parameters:
  29378. - description: 检索内容
  29379. in: query
  29380. name: content
  29381. required: true
  29382. type: string
  29383. - description: 交易模式,格式:1,2,3
  29384. in: query
  29385. name: tradeModes
  29386. type: string
  29387. produces:
  29388. - application/json
  29389. responses:
  29390. "200":
  29391. description: OK
  29392. schema:
  29393. $ref: '#/definitions/models.SearchGoods'
  29394. "500":
  29395. description: Internal Server Error
  29396. schema:
  29397. $ref: '#/definitions/app.Response'
  29398. summary: 检索商品信息
  29399. tags:
  29400. - 检索服务
  29401. /TaAccount/GetTaAccounts:
  29402. get:
  29403. parameters:
  29404. - description: 登录账户
  29405. in: query
  29406. name: loginID
  29407. required: true
  29408. type: integer
  29409. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  29410. in: query
  29411. name: taAccountType
  29412. type: integer
  29413. produces:
  29414. - application/json
  29415. responses:
  29416. "200":
  29417. description: OK
  29418. schema:
  29419. $ref: '#/definitions/models.Taaccount'
  29420. "500":
  29421. description: Internal Server Error
  29422. schema:
  29423. $ref: '#/definitions/app.Response'
  29424. security:
  29425. - ApiKeyAuth: []
  29426. summary: 获取资金账户信息
  29427. tags:
  29428. - 资金账户
  29429. /TaAccount/QueryAmountLog:
  29430. get:
  29431. parameters:
  29432. - description: 页码
  29433. in: query
  29434. name: page
  29435. type: integer
  29436. - description: 每页条数
  29437. in: query
  29438. name: pagesize
  29439. type: integer
  29440. - description: 资金账户 - 格式:1,2,3
  29441. in: query
  29442. name: accountID
  29443. required: true
  29444. type: string
  29445. - description: 资金操作类型 - 格式:1,2,3
  29446. in: query
  29447. name: OperateType
  29448. type: string
  29449. produces:
  29450. - application/json
  29451. responses:
  29452. "200":
  29453. description: OK
  29454. schema:
  29455. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  29456. "500":
  29457. description: Internal Server Error
  29458. schema:
  29459. $ref: '#/definitions/app.Response'
  29460. security:
  29461. - ApiKeyAuth: []
  29462. summary: 资金流水查询(当前)
  29463. tags:
  29464. - 资金账户
  29465. /TaAccount/QueryHisAmountLog:
  29466. get:
  29467. parameters:
  29468. - description: 页码
  29469. in: query
  29470. name: page
  29471. type: integer
  29472. - description: 每页条数
  29473. in: query
  29474. name: pagesize
  29475. type: integer
  29476. - description: 资金账户 - 格式:1,2,3
  29477. in: query
  29478. name: accountID
  29479. required: true
  29480. type: string
  29481. - description: 资金操作类型 - 格式:1,2,3
  29482. in: query
  29483. name: OperateType
  29484. type: string
  29485. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29486. in: query
  29487. name: startDate
  29488. type: string
  29489. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29490. in: query
  29491. name: endDate
  29492. type: string
  29493. produces:
  29494. - application/json
  29495. responses:
  29496. "200":
  29497. description: OK
  29498. schema:
  29499. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  29500. "500":
  29501. description: Internal Server Error
  29502. schema:
  29503. $ref: '#/definitions/app.Response'
  29504. security:
  29505. - ApiKeyAuth: []
  29506. summary: 资金流水查询(历史)
  29507. tags:
  29508. - 资金账户
  29509. /TaAccount/QueryRelatedTaAccount:
  29510. get:
  29511. parameters:
  29512. - description: 关联UserID
  29513. in: query
  29514. name: relateduserid
  29515. required: true
  29516. type: integer
  29517. produces:
  29518. - application/json
  29519. responses:
  29520. "200":
  29521. description: OK
  29522. schema:
  29523. items:
  29524. $ref: '#/definitions/models.RelatedTaAccount'
  29525. type: array
  29526. "500":
  29527. description: Internal Server Error
  29528. schema:
  29529. $ref: '#/definitions/app.Response'
  29530. security:
  29531. - ApiKeyAuth: []
  29532. summary: 查询关联资金账户信息
  29533. tags:
  29534. - 资金账户
  29535. /Tjmd/QueryQuoteGoodsList:
  29536. get:
  29537. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  29538. parameters:
  29539. - description: 用户类型
  29540. in: query
  29541. name: usertype
  29542. required: true
  29543. type: integer
  29544. - description: 市场id, 格式 1,2,3
  29545. in: query
  29546. name: marketids
  29547. type: string
  29548. - description: 商品组id
  29549. in: query
  29550. name: goodsgroupid
  29551. type: integer
  29552. - description: 商品id
  29553. in: query
  29554. name: goodsid
  29555. type: integer
  29556. produces:
  29557. - application/json
  29558. responses:
  29559. "200":
  29560. description: OK
  29561. schema:
  29562. items:
  29563. $ref: '#/definitions/models.TjmdQuoteGoods'
  29564. type: array
  29565. "500":
  29566. description: Internal Server Error
  29567. schema:
  29568. $ref: '#/definitions/app.Response'
  29569. security:
  29570. - ApiKeyAuth: []
  29571. summary: 查询掉期报价列表
  29572. tags:
  29573. - 天津麦顿
  29574. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  29575. get:
  29576. parameters:
  29577. - description: 成交单号
  29578. in: query
  29579. name: tradeid
  29580. required: true
  29581. type: string
  29582. produces:
  29583. - application/json
  29584. responses:
  29585. "200":
  29586. description: OK
  29587. schema:
  29588. items:
  29589. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  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/QueryTjmdMarketSection:
  29601. get:
  29602. produces:
  29603. - application/json
  29604. responses:
  29605. "200":
  29606. description: OK
  29607. schema:
  29608. items:
  29609. $ref: '#/definitions/models.TjmdMarketSection'
  29610. type: array
  29611. "500":
  29612. description: Internal Server Error
  29613. schema:
  29614. $ref: '#/definitions/app.Response'
  29615. security:
  29616. - ApiKeyAuth: []
  29617. summary: 查询市场板块
  29618. tags:
  29619. - 天津麦顿
  29620. /Tjmd/QueryTjmdTodayAccountMargin:
  29621. get:
  29622. parameters:
  29623. - description: 市场id
  29624. in: query
  29625. name: marketid
  29626. type: string
  29627. - description: 商品id
  29628. in: query
  29629. name: goodsid
  29630. type: string
  29631. - description: 资金账号
  29632. in: query
  29633. name: accountid
  29634. type: string
  29635. produces:
  29636. - application/json
  29637. responses:
  29638. "200":
  29639. description: OK
  29640. schema:
  29641. items:
  29642. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  29643. type: array
  29644. "500":
  29645. description: Internal Server Error
  29646. schema:
  29647. $ref: '#/definitions/app.Response'
  29648. security:
  29649. - ApiKeyAuth: []
  29650. summary: 查询今日账户保证金配置
  29651. tags:
  29652. - 天津麦顿
  29653. /Tjmd/QueryTjmdTradeOrderDetail:
  29654. get:
  29655. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  29656. parameters:
  29657. - description: 页码
  29658. in: query
  29659. name: page
  29660. type: integer
  29661. - description: 每页条数
  29662. in: query
  29663. name: pagesize
  29664. type: integer
  29665. - description: 用户id
  29666. in: query
  29667. name: userid
  29668. required: true
  29669. type: integer
  29670. - description: 用户类型
  29671. in: query
  29672. name: usertype
  29673. required: true
  29674. type: integer
  29675. - description: 市场id, 格式 1,2,3
  29676. in: query
  29677. name: marketids
  29678. type: string
  29679. - description: 商品id
  29680. in: query
  29681. name: goodsid
  29682. required: true
  29683. type: integer
  29684. - description: 买卖方向 0-买 1-卖
  29685. in: query
  29686. name: buyorsell
  29687. required: true
  29688. type: integer
  29689. produces:
  29690. - application/json
  29691. responses:
  29692. "200":
  29693. description: OK
  29694. schema:
  29695. items:
  29696. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  29697. type: array
  29698. "500":
  29699. description: Internal Server Error
  29700. schema:
  29701. $ref: '#/definitions/app.Response'
  29702. security:
  29703. - ApiKeyAuth: []
  29704. summary: 查询掉期买卖大厅
  29705. tags:
  29706. - 天津麦顿
  29707. /Tjmd/QueryTjmdTransferApply:
  29708. get:
  29709. parameters:
  29710. - description: 类型 1-我的申请 2-对方申请
  29711. in: query
  29712. name: applytype
  29713. required: true
  29714. type: integer
  29715. - description: 市场id, 格式 1,2,3
  29716. in: query
  29717. name: marketids
  29718. type: string
  29719. - description: 资金账号, 格式 25000000001,25000000003
  29720. in: query
  29721. name: accountids
  29722. type: string
  29723. - description: 开始交易日(yyyymmdd)
  29724. in: query
  29725. name: begindate
  29726. type: string
  29727. - description: 结束交易日(yyyymmdd)
  29728. in: query
  29729. name: enddate
  29730. type: string
  29731. produces:
  29732. - application/json
  29733. responses:
  29734. "200":
  29735. description: OK
  29736. schema:
  29737. items:
  29738. $ref: '#/definitions/models.TjmdTransferApply'
  29739. type: array
  29740. "500":
  29741. description: Internal Server Error
  29742. schema:
  29743. $ref: '#/definitions/app.Response'
  29744. security:
  29745. - ApiKeyAuth: []
  29746. summary: 查询掉期协议单
  29747. tags:
  29748. - 天津麦顿
  29749. /Trade/QueryRecieptOrder:
  29750. get:
  29751. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29752. parameters:
  29753. - description: 页码
  29754. in: query
  29755. name: page
  29756. type: integer
  29757. - description: 每页条数
  29758. in: query
  29759. name: pagesize
  29760. type: integer
  29761. - description: 商品ID
  29762. in: query
  29763. name: goodsID
  29764. required: true
  29765. type: integer
  29766. - description: 所属账户名称
  29767. in: query
  29768. name: accountName
  29769. type: string
  29770. - description: 市场ID
  29771. in: query
  29772. name: marketID
  29773. type: integer
  29774. - description: 方向 - 0:买 1:卖
  29775. in: query
  29776. name: buyorsell
  29777. required: true
  29778. type: integer
  29779. produces:
  29780. - application/json
  29781. responses:
  29782. "200":
  29783. description: OK
  29784. schema:
  29785. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  29786. "500":
  29787. description: Internal Server Error
  29788. schema:
  29789. $ref: '#/definitions/app.Response'
  29790. security:
  29791. - ApiKeyAuth: []
  29792. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  29793. tags:
  29794. - 通用交易
  29795. /User/AddMessageBoard:
  29796. post:
  29797. parameters:
  29798. - description: 用户ID
  29799. in: query
  29800. name: userID
  29801. required: true
  29802. type: integer
  29803. - description: 留言信息
  29804. in: query
  29805. name: message
  29806. required: true
  29807. type: string
  29808. - description: 联系电话
  29809. in: query
  29810. name: contactNum
  29811. required: true
  29812. type: string
  29813. produces:
  29814. - application/json
  29815. responses:
  29816. "200":
  29817. description: OK
  29818. schema:
  29819. $ref: '#/definitions/app.Response'
  29820. "500":
  29821. description: Internal Server Error
  29822. schema:
  29823. $ref: '#/definitions/app.Response'
  29824. security:
  29825. - ApiKeyAuth: []
  29826. summary: 添加用户留言板信息
  29827. tags:
  29828. - 用户信息
  29829. /User/AddUserFavoriteGoods:
  29830. post:
  29831. parameters:
  29832. - description: 用户ID
  29833. in: query
  29834. name: userID
  29835. required: true
  29836. type: integer
  29837. - description: 商品ID
  29838. in: query
  29839. name: goodsID
  29840. required: true
  29841. type: integer
  29842. produces:
  29843. - application/json
  29844. responses:
  29845. "200":
  29846. description: OK
  29847. schema:
  29848. $ref: '#/definitions/app.Response'
  29849. "500":
  29850. description: Internal Server Error
  29851. schema:
  29852. $ref: '#/definitions/app.Response'
  29853. security:
  29854. - ApiKeyAuth: []
  29855. summary: 添加用户商品收藏信息
  29856. tags:
  29857. - 用户信息
  29858. /User/GetLoginID:
  29859. get:
  29860. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  29861. parameters:
  29862. - description: 登录代码
  29863. in: query
  29864. name: username
  29865. required: true
  29866. type: string
  29867. produces:
  29868. - application/json
  29869. responses:
  29870. "200":
  29871. description: OK
  29872. schema:
  29873. $ref: '#/definitions/app.Response'
  29874. "500":
  29875. description: Internal Server Error
  29876. schema:
  29877. $ref: '#/definitions/app.Response'
  29878. summary: 获取登录ID
  29879. tags:
  29880. - 用户信息
  29881. /User/GetUserAccount:
  29882. get:
  29883. parameters:
  29884. - description: 用户ID
  29885. in: query
  29886. name: userID
  29887. required: true
  29888. type: integer
  29889. produces:
  29890. - application/json
  29891. responses:
  29892. "200":
  29893. description: OK
  29894. schema:
  29895. $ref: '#/definitions/models.Useraccount'
  29896. "500":
  29897. description: Internal Server Error
  29898. schema:
  29899. $ref: '#/definitions/app.Response'
  29900. security:
  29901. - ApiKeyAuth: []
  29902. summary: 获取用户账号信息
  29903. tags:
  29904. - 用户信息
  29905. /User/GetUserAuthStatus:
  29906. get:
  29907. parameters:
  29908. - description: 用户ID
  29909. in: query
  29910. name: userID
  29911. required: true
  29912. type: integer
  29913. produces:
  29914. - application/json
  29915. responses:
  29916. "200":
  29917. description: OK
  29918. schema:
  29919. $ref: '#/definitions/app.Response'
  29920. "500":
  29921. description: Internal Server Error
  29922. schema:
  29923. $ref: '#/definitions/app.Response'
  29924. security:
  29925. - ApiKeyAuth: []
  29926. summary: 获取用户实名认证状态
  29927. tags:
  29928. - 用户信息
  29929. /User/LoginQuery:
  29930. get:
  29931. parameters:
  29932. - description: 登录账号
  29933. in: query
  29934. name: loginID
  29935. required: true
  29936. type: integer
  29937. produces:
  29938. - application/json
  29939. responses:
  29940. "200":
  29941. description: OK
  29942. schema:
  29943. $ref: '#/definitions/user.LoginQueryRsp'
  29944. "500":
  29945. description: Internal Server Error
  29946. schema:
  29947. $ref: '#/definitions/app.Response'
  29948. security:
  29949. - ApiKeyAuth: []
  29950. summary: 账户登录后信息查询
  29951. tags:
  29952. - 用户信息
  29953. /User/QueryMessageBoard:
  29954. get:
  29955. parameters:
  29956. - description: 用户ID
  29957. in: query
  29958. name: userID
  29959. required: true
  29960. type: integer
  29961. produces:
  29962. - application/json
  29963. responses:
  29964. "200":
  29965. description: OK
  29966. schema:
  29967. $ref: '#/definitions/models.Messageboard'
  29968. "500":
  29969. description: Internal Server Error
  29970. schema:
  29971. $ref: '#/definitions/app.Response'
  29972. security:
  29973. - ApiKeyAuth: []
  29974. summary: 获取用户留言板信息
  29975. tags:
  29976. - 用户信息
  29977. /User/QueryUserFavoriteGoodses:
  29978. get:
  29979. parameters:
  29980. - description: 用户ID
  29981. in: query
  29982. name: userID
  29983. required: true
  29984. type: integer
  29985. produces:
  29986. - application/json
  29987. responses:
  29988. "200":
  29989. description: OK
  29990. schema:
  29991. $ref: '#/definitions/models.Userfavoritegoods'
  29992. "500":
  29993. description: Internal Server Error
  29994. schema:
  29995. $ref: '#/definitions/app.Response'
  29996. security:
  29997. - ApiKeyAuth: []
  29998. summary: 获取用户商品收藏信息
  29999. tags:
  30000. - 用户信息
  30001. /User/QueryUserInfo:
  30002. get:
  30003. parameters:
  30004. - description: 用户ID
  30005. in: query
  30006. name: userID
  30007. required: true
  30008. type: integer
  30009. - description: 是否解密
  30010. in: query
  30011. name: isDecrypt
  30012. type: boolean
  30013. produces:
  30014. - application/json
  30015. responses:
  30016. "200":
  30017. description: OK
  30018. schema:
  30019. $ref: '#/definitions/models.Userinfo'
  30020. "500":
  30021. description: Internal Server Error
  30022. schema:
  30023. $ref: '#/definitions/app.Response'
  30024. security:
  30025. - ApiKeyAuth: []
  30026. summary: 获取用户信息
  30027. tags:
  30028. - 用户信息
  30029. /User/QueryUserReferNum:
  30030. get:
  30031. parameters:
  30032. - description: 用户ID
  30033. in: query
  30034. name: userID
  30035. required: true
  30036. type: integer
  30037. produces:
  30038. - application/json
  30039. responses:
  30040. "200":
  30041. description: OK
  30042. schema:
  30043. $ref: '#/definitions/app.Response'
  30044. "500":
  30045. description: Internal Server Error
  30046. schema:
  30047. $ref: '#/definitions/app.Response'
  30048. summary: 获取用户邀请码
  30049. tags:
  30050. - 用户信息
  30051. /User/RemoveUserFavoriteGoods:
  30052. post:
  30053. parameters:
  30054. - description: 用户ID
  30055. in: query
  30056. name: userID
  30057. required: true
  30058. type: integer
  30059. - description: 商品ID
  30060. in: query
  30061. name: goodsID
  30062. required: true
  30063. type: integer
  30064. produces:
  30065. - application/json
  30066. responses:
  30067. "200":
  30068. description: OK
  30069. schema:
  30070. $ref: '#/definitions/app.Response'
  30071. "500":
  30072. description: Internal Server Error
  30073. schema:
  30074. $ref: '#/definitions/app.Response'
  30075. security:
  30076. - ApiKeyAuth: []
  30077. summary: 移除用户商品收藏信息
  30078. tags:
  30079. - 用户信息
  30080. /User/UpdateUserAccountStatus:
  30081. post:
  30082. parameters:
  30083. - description: 用户ID
  30084. in: query
  30085. name: userID
  30086. required: true
  30087. type: integer
  30088. - description: 账户状态 - 4:正常 6:注销(停用)
  30089. in: query
  30090. name: accountStatus
  30091. required: true
  30092. type: integer
  30093. produces:
  30094. - application/json
  30095. responses:
  30096. "200":
  30097. description: OK
  30098. schema:
  30099. $ref: '#/definitions/app.Response'
  30100. "500":
  30101. description: Internal Server Error
  30102. schema:
  30103. $ref: '#/definitions/app.Response'
  30104. security:
  30105. - ApiKeyAuth: []
  30106. summary: 更新用户状态
  30107. tags:
  30108. - 用户信息
  30109. /WRTrade/GetAllDeliveryGoods:
  30110. get:
  30111. produces:
  30112. - application/json
  30113. responses:
  30114. "200":
  30115. description: OK
  30116. schema:
  30117. $ref: '#/definitions/app.Response'
  30118. "500":
  30119. description: Internal Server Error
  30120. schema:
  30121. $ref: '#/definitions/app.Response'
  30122. security:
  30123. - ApiKeyAuth: []
  30124. summary: 获取带仓单分类的种类信息
  30125. tags:
  30126. - 仓单贸易
  30127. - 仓单贸易
  30128. /WrTrade2/InsertXhcpSellBackApply:
  30129. post:
  30130. parameters:
  30131. - description: 回收申请
  30132. in: body
  30133. name: jsonBody
  30134. required: true
  30135. schema:
  30136. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  30137. produces:
  30138. - application/json
  30139. responses:
  30140. "200":
  30141. description: OK
  30142. schema:
  30143. $ref: '#/definitions/app.Response'
  30144. "500":
  30145. description: Internal Server Error
  30146. schema:
  30147. $ref: '#/definitions/app.Response'
  30148. security:
  30149. - ApiKeyAuth: []
  30150. summary: 新增回收申请(新会陈皮)
  30151. tags:
  30152. - 仓单贸易v2
  30153. /WrTrade2/QueryDeliveryGoodsSection:
  30154. get:
  30155. produces:
  30156. - application/json
  30157. responses:
  30158. "200":
  30159. description: OK
  30160. schema:
  30161. items:
  30162. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  30163. type: array
  30164. "500":
  30165. description: Internal Server Error
  30166. schema:
  30167. $ref: '#/definitions/app.Response'
  30168. security:
  30169. - ApiKeyAuth: []
  30170. summary: 查询板块(分类)
  30171. tags:
  30172. - 仓单贸易v2
  30173. /WrTrade2/QueryFaProductDetail:
  30174. get:
  30175. description: 页面 买卖大厅 -> 选择融资方案
  30176. parameters:
  30177. - description: 仓单要素id
  30178. in: query
  30179. name: wrfactortypeid
  30180. required: true
  30181. type: integer
  30182. produces:
  30183. - application/json
  30184. responses:
  30185. "200":
  30186. description: OK
  30187. schema:
  30188. items:
  30189. $ref: '#/definitions/models.WrFAProductDetail'
  30190. type: array
  30191. "500":
  30192. description: Internal Server Error
  30193. schema:
  30194. $ref: '#/definitions/app.Response'
  30195. security:
  30196. - ApiKeyAuth: []
  30197. summary: 查询融资产品列表
  30198. tags:
  30199. - 仓单贸易v2
  30200. /WrTrade2/QueryFilterItem:
  30201. get:
  30202. parameters:
  30203. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  30204. in: query
  30205. name: itype
  30206. required: true
  30207. type: string
  30208. produces:
  30209. - application/json
  30210. responses:
  30211. "200":
  30212. description: OK
  30213. schema:
  30214. items:
  30215. $ref: '#/definitions/models.WrFilterItem'
  30216. type: array
  30217. "500":
  30218. description: Internal Server Error
  30219. schema:
  30220. $ref: '#/definitions/app.Response'
  30221. security:
  30222. - ApiKeyAuth: []
  30223. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  30224. tags:
  30225. - 仓单贸易v2
  30226. /WrTrade2/QueryFtDeliveryGoods:
  30227. get:
  30228. produces:
  30229. - application/json
  30230. responses:
  30231. "200":
  30232. description: OK
  30233. schema:
  30234. items:
  30235. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30236. type: array
  30237. "500":
  30238. description: Internal Server Error
  30239. schema:
  30240. $ref: '#/definitions/app.Response'
  30241. security:
  30242. - ApiKeyAuth: []
  30243. summary: 查询品种品类筛选框列表
  30244. tags:
  30245. - 仓单贸易v2
  30246. /WrTrade2/QueryHoldLB:
  30247. get:
  30248. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30249. parameters:
  30250. - description: 资金账号
  30251. in: query
  30252. name: accountid
  30253. required: true
  30254. type: integer
  30255. - description: 仓库id
  30256. in: query
  30257. name: warehouseid
  30258. type: integer
  30259. - description: 品种id
  30260. in: query
  30261. name: deliverygoodsid
  30262. type: integer
  30263. - description: 品类id
  30264. in: query
  30265. name: wrstandardid
  30266. type: integer
  30267. - description: 仓单要素id
  30268. in: query
  30269. name: wrfactortypeid
  30270. type: integer
  30271. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30272. in: query
  30273. name: dgitemname
  30274. type: string
  30275. produces:
  30276. - application/json
  30277. responses:
  30278. "200":
  30279. description: OK
  30280. schema:
  30281. items:
  30282. $ref: '#/definitions/models.WrHoldLB'
  30283. type: array
  30284. "500":
  30285. description: Internal Server Error
  30286. schema:
  30287. $ref: '#/definitions/app.Response'
  30288. security:
  30289. - ApiKeyAuth: []
  30290. summary: 查询仓单持有记录
  30291. tags:
  30292. - 仓单贸易v2
  30293. /WrTrade2/QueryOrderQuote:
  30294. get:
  30295. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30296. 唯一确定1条记录
  30297. parameters:
  30298. - description: 页码
  30299. in: query
  30300. name: page
  30301. type: integer
  30302. - description: 每页条数
  30303. in: query
  30304. name: pagesize
  30305. type: integer
  30306. - description: 仓单贸易市场id
  30307. in: query
  30308. name: marketid
  30309. type: integer
  30310. - description: 价格方式 - 1:固定价 2-浮动价
  30311. in: query
  30312. name: wrpricetype
  30313. required: true
  30314. type: integer
  30315. - description: 0:仓单预售 1:仓单贸易
  30316. in: query
  30317. name: haswr
  30318. type: integer
  30319. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30320. in: query
  30321. name: dgitemname
  30322. type: string
  30323. - description: 仓库id(筛选条件)
  30324. in: query
  30325. name: warehouseid
  30326. type: integer
  30327. - description: 品种id
  30328. in: query
  30329. name: deliverygoodsid
  30330. type: integer
  30331. - description: 品类id
  30332. in: query
  30333. name: wrstandardid
  30334. type: integer
  30335. - description: 品牌id(dgfactoryitemid)
  30336. in: query
  30337. name: brandid
  30338. type: integer
  30339. - description: 年份id(dgfactoryitemid)
  30340. in: query
  30341. name: yearsid
  30342. type: integer
  30343. - description: 仓单要素id
  30344. in: query
  30345. name: wrfactortypeid
  30346. type: integer
  30347. - description: 交收月(yyyy-mm) 仓单预售填写
  30348. in: query
  30349. name: deliverymonth
  30350. type: string
  30351. produces:
  30352. - application/json
  30353. responses:
  30354. "200":
  30355. description: OK
  30356. schema:
  30357. items:
  30358. $ref: '#/definitions/models.WrOrderQuote'
  30359. type: array
  30360. "500":
  30361. description: Internal Server Error
  30362. schema:
  30363. $ref: '#/definitions/app.Response'
  30364. security:
  30365. - ApiKeyAuth: []
  30366. summary: 查询大厅行情列表
  30367. tags:
  30368. - 仓单贸易v2
  30369. /WrTrade2/QueryOrderQuoteDetail:
  30370. get:
  30371. parameters:
  30372. - description: 页码
  30373. in: query
  30374. name: page
  30375. type: integer
  30376. - description: 每页条数
  30377. in: query
  30378. name: pagesize
  30379. type: integer
  30380. - description: 仓单贸易市场id
  30381. in: query
  30382. name: marketid
  30383. type: integer
  30384. - description: 价格方式 - 1:固定价 2-浮动价
  30385. in: query
  30386. name: wrpricetype
  30387. required: true
  30388. type: integer
  30389. - description: 0:仓单预售 1:仓单贸易
  30390. in: query
  30391. name: haswr
  30392. type: integer
  30393. - description: 仓单要素id
  30394. in: query
  30395. name: wrfactortypeid
  30396. required: true
  30397. type: integer
  30398. - description: 期货商品id(浮动价方式时填)
  30399. in: query
  30400. name: goodsid
  30401. type: integer
  30402. - description: 买卖方向 0-买 1-卖
  30403. in: query
  30404. name: buyorsell
  30405. required: true
  30406. type: integer
  30407. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  30408. in: query
  30409. name: deliverymonth
  30410. type: string
  30411. produces:
  30412. - application/json
  30413. responses:
  30414. "200":
  30415. description: OK
  30416. schema:
  30417. items:
  30418. $ref: '#/definitions/models.WrOrderQuoteDetail'
  30419. type: array
  30420. "500":
  30421. description: Internal Server Error
  30422. schema:
  30423. $ref: '#/definitions/app.Response'
  30424. security:
  30425. - ApiKeyAuth: []
  30426. summary: 查询买卖大厅
  30427. tags:
  30428. - 仓单贸易v2
  30429. /WrTrade2/QueryOrderQuoteMyq:
  30430. get:
  30431. parameters:
  30432. - description: 页码
  30433. in: query
  30434. name: page
  30435. type: integer
  30436. - description: 每页条数
  30437. in: query
  30438. name: pagesize
  30439. type: integer
  30440. - description: 用户id
  30441. in: query
  30442. name: userid
  30443. required: true
  30444. type: integer
  30445. - description: 仓单贸易市场id
  30446. in: query
  30447. name: marketid
  30448. type: integer
  30449. - description: 0:仓单预售 1:仓单贸易
  30450. in: query
  30451. name: haswr
  30452. type: integer
  30453. - description: 买卖方向 0-买 1-卖
  30454. in: query
  30455. name: buyorsell
  30456. required: true
  30457. type: integer
  30458. - description: 品种id
  30459. in: query
  30460. name: deliverygoodsid
  30461. type: integer
  30462. - description: 品类id
  30463. in: query
  30464. name: wrstandardid
  30465. type: integer
  30466. - description: 交收月(yyyy-mm) 仓单预售填写
  30467. in: query
  30468. name: deliverymonth
  30469. type: string
  30470. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30471. in: query
  30472. name: dgitemname
  30473. type: string
  30474. produces:
  30475. - application/json
  30476. responses:
  30477. "200":
  30478. description: OK
  30479. schema:
  30480. items:
  30481. $ref: '#/definitions/models.WrQuoteOrderMyq'
  30482. type: array
  30483. "500":
  30484. description: Internal Server Error
  30485. schema:
  30486. $ref: '#/definitions/app.Response'
  30487. security:
  30488. - ApiKeyAuth: []
  30489. summary: 查询贸易圈挂牌大厅
  30490. tags:
  30491. - 仓单贸易v2
  30492. /WrTrade2/QueryPerformancePlan:
  30493. get:
  30494. parameters:
  30495. - description: 用户id
  30496. in: query
  30497. name: userid
  30498. required: true
  30499. type: integer
  30500. - description: 买卖方向 0-买 1-卖
  30501. in: query
  30502. name: buyorsell
  30503. required: true
  30504. type: integer
  30505. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  30506. 8:释放冻结失败 9:超时待处理 10:超时关闭
  30507. in: query
  30508. name: status
  30509. type: string
  30510. - description: 开始交易日(yyyymmdd)
  30511. in: query
  30512. name: begindate
  30513. type: string
  30514. - description: 结束交易日(yyyymmdd)
  30515. in: query
  30516. name: enddate
  30517. type: string
  30518. produces:
  30519. - application/json
  30520. responses:
  30521. "200":
  30522. description: OK
  30523. schema:
  30524. items:
  30525. $ref: '#/definitions/models.WrPerformancePlan'
  30526. type: array
  30527. "500":
  30528. description: Internal Server Error
  30529. schema:
  30530. $ref: '#/definitions/app.Response'
  30531. security:
  30532. - ApiKeyAuth: []
  30533. summary: 查询履约信息
  30534. tags:
  30535. - 仓单贸易v2
  30536. /WrTrade2/QueryPermancePlanTmp:
  30537. get:
  30538. description: |-
  30539. 返回指定用户的模板和公共模板(用户id为空)
  30540. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  30541. parameters:
  30542. - description: 用户id
  30543. in: query
  30544. name: userid
  30545. type: integer
  30546. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  30547. (无仓单) 5:挂牌期权 6:竞拍-降价式
  30548. in: query
  30549. name: tmptype
  30550. type: string
  30551. - description: 是否包含公共模板(用户id为空的) 1-包含
  30552. in: query
  30553. name: includepub
  30554. type: integer
  30555. - description: 市场id(天津麦顿指定此参数,其它不用)
  30556. in: query
  30557. name: marketid
  30558. type: integer
  30559. produces:
  30560. - application/json
  30561. responses:
  30562. "200":
  30563. description: OK
  30564. schema:
  30565. items:
  30566. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  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/QuerySiteColumnDetail:
  30578. get:
  30579. parameters:
  30580. - description: 页码
  30581. in: query
  30582. name: page
  30583. type: integer
  30584. - description: 每页条数
  30585. in: query
  30586. name: pagesize
  30587. type: integer
  30588. - description: 所属栏目id
  30589. in: query
  30590. name: columnid
  30591. type: integer
  30592. produces:
  30593. - application/json
  30594. responses:
  30595. "200":
  30596. description: OK
  30597. schema:
  30598. items:
  30599. $ref: '#/definitions/models.WrSiteColumnDetail'
  30600. type: array
  30601. "500":
  30602. description: Internal Server Error
  30603. schema:
  30604. $ref: '#/definitions/app.Response'
  30605. security:
  30606. - ApiKeyAuth: []
  30607. summary: 查询资讯
  30608. tags:
  30609. - 仓单贸易v2
  30610. /WrTrade2/QuerySpotGroupTradeSum:
  30611. get:
  30612. produces:
  30613. - application/json
  30614. responses:
  30615. "200":
  30616. description: OK
  30617. schema:
  30618. items:
  30619. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  30620. type: array
  30621. "500":
  30622. description: Internal Server Error
  30623. schema:
  30624. $ref: '#/definitions/app.Response'
  30625. security:
  30626. - ApiKeyAuth: []
  30627. summary: 查询指数
  30628. tags:
  30629. - 仓单贸易v2
  30630. /WrTrade2/QuerySpotGroupTradeSumDetail:
  30631. get:
  30632. description: 查询的结果将会按日期 从小到大 排序
  30633. parameters:
  30634. - description: 现货商品id
  30635. in: query
  30636. name: deliverygoodsid
  30637. required: true
  30638. type: integer
  30639. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  30640. in: query
  30641. name: lastnum
  30642. type: integer
  30643. produces:
  30644. - application/json
  30645. responses:
  30646. "200":
  30647. description: OK
  30648. schema:
  30649. items:
  30650. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  30651. type: array
  30652. "500":
  30653. description: Internal Server Error
  30654. schema:
  30655. $ref: '#/definitions/app.Response'
  30656. security:
  30657. - ApiKeyAuth: []
  30658. summary: 查询指数详细(价格走势图)
  30659. tags:
  30660. - 仓单贸易v2
  30661. /WrTrade2/QueryWrAverageTradePrice:
  30662. get:
  30663. parameters:
  30664. - description: 页码
  30665. in: query
  30666. name: page
  30667. type: integer
  30668. - description: 每页条数
  30669. in: query
  30670. name: pagesize
  30671. type: integer
  30672. - description: 0:仓单预售 1:仓单贸易
  30673. in: query
  30674. name: haswr
  30675. required: true
  30676. type: integer
  30677. - description: 仓单要素id
  30678. in: query
  30679. name: wrfactortypeid
  30680. required: true
  30681. type: integer
  30682. produces:
  30683. - application/json
  30684. responses:
  30685. "200":
  30686. description: OK
  30687. schema:
  30688. items:
  30689. $ref: '#/definitions/models.WrAverageTradePrice'
  30690. type: array
  30691. "500":
  30692. description: Internal Server Error
  30693. schema:
  30694. $ref: '#/definitions/app.Response'
  30695. security:
  30696. - ApiKeyAuth: []
  30697. summary: 查询成交价(历史走势)
  30698. tags:
  30699. - 仓单贸易v2
  30700. /WrTrade2/QueryWrBrandAndYears:
  30701. get:
  30702. produces:
  30703. - application/json
  30704. responses:
  30705. "200":
  30706. description: OK
  30707. schema:
  30708. items:
  30709. $ref: '#/definitions/models.WrBrandAndYears'
  30710. type: array
  30711. "500":
  30712. description: Internal Server Error
  30713. schema:
  30714. $ref: '#/definitions/app.Response'
  30715. security:
  30716. - ApiKeyAuth: []
  30717. summary: 查询品牌和年份
  30718. tags:
  30719. - 仓单贸易v2
  30720. /WrTrade2/QueryWrBsGoodsInfo:
  30721. get:
  30722. description: 合约交易/买卖大厅/详情
  30723. parameters:
  30724. - description: 商品id
  30725. in: query
  30726. name: goodsid
  30727. required: true
  30728. type: integer
  30729. produces:
  30730. - application/json
  30731. responses:
  30732. "200":
  30733. description: OK
  30734. schema:
  30735. items:
  30736. $ref: '#/definitions/models.WrBsGoodsInfo'
  30737. type: array
  30738. "500":
  30739. description: Internal Server Error
  30740. schema:
  30741. $ref: '#/definitions/app.Response'
  30742. security:
  30743. - ApiKeyAuth: []
  30744. summary: 查询合约交易买卖大厅详情
  30745. tags:
  30746. - 仓单贸易v2
  30747. /WrTrade2/QueryWrBuybackDetail:
  30748. get:
  30749. parameters:
  30750. - description: 融资合同id
  30751. in: query
  30752. name: scfcontractid
  30753. type: integer
  30754. produces:
  30755. - application/json
  30756. responses:
  30757. "200":
  30758. description: OK
  30759. schema:
  30760. items:
  30761. $ref: '#/definitions/models.WrBuybackDetail'
  30762. type: array
  30763. "500":
  30764. description: Internal Server Error
  30765. schema:
  30766. $ref: '#/definitions/app.Response'
  30767. security:
  30768. - ApiKeyAuth: []
  30769. summary: 查询仓单回购明细
  30770. tags:
  30771. - 仓单贸易v2
  30772. /WrTrade2/QueryWrClientAdSpaceConfig:
  30773. get:
  30774. produces:
  30775. - application/json
  30776. responses:
  30777. "200":
  30778. description: OK
  30779. schema:
  30780. items:
  30781. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  30782. type: array
  30783. "500":
  30784. description: Internal Server Error
  30785. schema:
  30786. $ref: '#/definitions/app.Response'
  30787. security:
  30788. - ApiKeyAuth: []
  30789. summary: 查询固定广告配置
  30790. tags:
  30791. - 仓单贸易v2
  30792. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  30793. get:
  30794. parameters:
  30795. - description: 资金账号
  30796. in: query
  30797. name: accountid
  30798. required: true
  30799. type: integer
  30800. - description: 商品id
  30801. in: query
  30802. name: goodsid
  30803. required: true
  30804. type: integer
  30805. produces:
  30806. - application/json
  30807. responses:
  30808. "200":
  30809. description: OK
  30810. schema:
  30811. items:
  30812. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  30813. type: array
  30814. "500":
  30815. description: Internal Server Error
  30816. schema:
  30817. $ref: '#/definitions/app.Response'
  30818. security:
  30819. - ApiKeyAuth: []
  30820. summary: 查询合约交收可点选仓单
  30821. tags:
  30822. - 仓单贸易v2
  30823. /WrTrade2/QueryWrDeliveryDetail:
  30824. get:
  30825. parameters:
  30826. - description: 用户id
  30827. in: query
  30828. name: userid
  30829. required: true
  30830. type: integer
  30831. - description: 资金账号id
  30832. in: query
  30833. name: accountid
  30834. type: integer
  30835. - description: 开始交易日(yyyymmdd)
  30836. in: query
  30837. name: begindate
  30838. type: string
  30839. - description: 结束交易日(yyyymmdd)
  30840. in: query
  30841. name: enddate
  30842. type: string
  30843. produces:
  30844. - application/json
  30845. responses:
  30846. "200":
  30847. description: OK
  30848. schema:
  30849. items:
  30850. $ref: '#/definitions/models.WrDeliveryDetail'
  30851. type: array
  30852. "500":
  30853. description: Internal Server Error
  30854. schema:
  30855. $ref: '#/definitions/app.Response'
  30856. security:
  30857. - ApiKeyAuth: []
  30858. summary: 查询交收
  30859. tags:
  30860. - 仓单贸易v2
  30861. /WrTrade2/QueryWrDraftUserInfo:
  30862. get:
  30863. parameters:
  30864. - description: 用户ID
  30865. in: query
  30866. name: userid
  30867. required: true
  30868. type: integer
  30869. - description: 用户状态 1:正常 2:注销
  30870. in: query
  30871. name: userstatus
  30872. type: integer
  30873. produces:
  30874. - application/json
  30875. responses:
  30876. "200":
  30877. description: OK
  30878. schema:
  30879. items:
  30880. $ref: '#/definitions/models.WrDraftUserInfo'
  30881. type: array
  30882. "500":
  30883. description: Internal Server Error
  30884. schema:
  30885. $ref: '#/definitions/app.Response'
  30886. security:
  30887. - ApiKeyAuth: []
  30888. summary: 查询实名认证信息
  30889. tags:
  30890. - 仓单贸易v2
  30891. /WrTrade2/QueryWrFactorTypeInfo:
  30892. get:
  30893. parameters:
  30894. - description: 仓单要素id
  30895. in: query
  30896. name: wrfactortypeid
  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.WrFactorTypeInfo'
  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/QueryWrFactorTypeInfoEx:
  30918. get:
  30919. parameters:
  30920. - description: 仓单要素id
  30921. in: query
  30922. name: wrfactortypeid
  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.WrTypeItem'
  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/QueryWrFinanceBuyApply:
  30944. get:
  30945. description: 页面 融资信息+ / 申请单
  30946. parameters:
  30947. - description: 用户id
  30948. in: query
  30949. name: userid
  30950. required: true
  30951. type: integer
  30952. produces:
  30953. - application/json
  30954. responses:
  30955. "200":
  30956. description: OK
  30957. schema:
  30958. items:
  30959. $ref: '#/definitions/models.WrFinanceBuyApply'
  30960. type: array
  30961. "500":
  30962. description: Internal Server Error
  30963. schema:
  30964. $ref: '#/definitions/app.Response'
  30965. security:
  30966. - ApiKeyAuth: []
  30967. summary: 查询融资购买申请
  30968. tags:
  30969. - 仓单贸易v2
  30970. /WrTrade2/QueryWrFriendApply:
  30971. get:
  30972. parameters:
  30973. - description: 用户id
  30974. in: query
  30975. name: userid
  30976. required: true
  30977. type: integer
  30978. produces:
  30979. - application/json
  30980. responses:
  30981. "200":
  30982. description: OK
  30983. schema:
  30984. items:
  30985. $ref: '#/definitions/models.WrFriendApply'
  30986. type: array
  30987. "500":
  30988. description: Internal Server Error
  30989. schema:
  30990. $ref: '#/definitions/app.Response'
  30991. security:
  30992. - ApiKeyAuth: []
  30993. summary: 查询好友申请记录
  30994. tags:
  30995. - 仓单贸易v2
  30996. /WrTrade2/QueryWrGoodsInfo:
  30997. get:
  30998. parameters:
  30999. - description: 仓单贸易市场id
  31000. in: query
  31001. name: marketid
  31002. type: integer
  31003. - description: 0:仓单预售 1:仓单贸易
  31004. in: query
  31005. name: haswr
  31006. required: true
  31007. type: integer
  31008. - description: 仓单要素id
  31009. in: query
  31010. name: wrfactortypeid
  31011. required: true
  31012. type: integer
  31013. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  31014. in: query
  31015. name: tmplateid
  31016. type: integer
  31017. produces:
  31018. - application/json
  31019. responses:
  31020. "200":
  31021. description: OK
  31022. schema:
  31023. items:
  31024. $ref: '#/definitions/models.WrGoodsInfo'
  31025. type: array
  31026. "500":
  31027. description: Internal Server Error
  31028. schema:
  31029. $ref: '#/definitions/app.Response'
  31030. security:
  31031. - ApiKeyAuth: []
  31032. summary: 查询仓单商品信息
  31033. tags:
  31034. - 仓单贸易v2
  31035. /WrTrade2/QueryWrMarketTradeConfig:
  31036. get:
  31037. parameters:
  31038. - description: 市场id
  31039. in: query
  31040. name: marketid
  31041. type: integer
  31042. produces:
  31043. - application/json
  31044. responses:
  31045. "200":
  31046. description: OK
  31047. schema:
  31048. items:
  31049. $ref: '#/definitions/models.WrMarketTradeConfig'
  31050. type: array
  31051. "500":
  31052. description: Internal Server Error
  31053. schema:
  31054. $ref: '#/definitions/app.Response'
  31055. security:
  31056. - ApiKeyAuth: []
  31057. summary: 查询市场交易参数配置
  31058. tags:
  31059. - 仓单贸易v2
  31060. /WrTrade2/QueryWrOrderDetail:
  31061. get:
  31062. description: 页面 现货仓单 | 预售仓单 -> 委托单
  31063. parameters:
  31064. - description: 页码
  31065. in: query
  31066. name: page
  31067. type: integer
  31068. - description: 每页条数
  31069. in: query
  31070. name: pagesize
  31071. type: integer
  31072. - description: 用户id
  31073. in: query
  31074. name: userid
  31075. required: true
  31076. type: integer
  31077. - description: 仓单贸易市场id
  31078. in: query
  31079. name: marketid
  31080. type: integer
  31081. - description: 0:仓单预售 1:仓单贸易
  31082. in: query
  31083. name: haswr
  31084. required: true
  31085. type: integer
  31086. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  31087. in: query
  31088. name: bcancel
  31089. type: integer
  31090. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  31091. in: query
  31092. name: wrtradetype
  31093. type: integer
  31094. - description: 开始交易日(yyyymmdd)
  31095. in: query
  31096. name: begindate
  31097. type: string
  31098. - description: 结束交易日(yyyymmdd)
  31099. in: query
  31100. name: enddate
  31101. type: string
  31102. produces:
  31103. - application/json
  31104. responses:
  31105. "200":
  31106. description: OK
  31107. schema:
  31108. items:
  31109. $ref: '#/definitions/models.WrOrderDetail'
  31110. type: array
  31111. "500":
  31112. description: Internal Server Error
  31113. schema:
  31114. $ref: '#/definitions/app.Response'
  31115. security:
  31116. - ApiKeyAuth: []
  31117. summary: 查询仓单委托单
  31118. tags:
  31119. - 仓单贸易v2
  31120. /WrTrade2/QueryWrOutInApply:
  31121. get:
  31122. parameters:
  31123. - description: 用户id
  31124. in: query
  31125. name: userid
  31126. required: true
  31127. type: integer
  31128. - description: 开始交易日(yyyymmdd)
  31129. in: query
  31130. name: begindate
  31131. type: string
  31132. - description: 结束交易日(yyyymmdd)
  31133. in: query
  31134. name: enddate
  31135. type: string
  31136. produces:
  31137. - application/json
  31138. responses:
  31139. "200":
  31140. description: OK
  31141. schema:
  31142. items:
  31143. $ref: '#/definitions/models.WrOutInApply'
  31144. type: array
  31145. "500":
  31146. description: Internal Server Error
  31147. schema:
  31148. $ref: '#/definitions/app.Response'
  31149. security:
  31150. - ApiKeyAuth: []
  31151. summary: 查询提货申请
  31152. tags:
  31153. - 仓单贸易v2
  31154. /WrTrade2/QueryWrPerformancePlanStep:
  31155. get:
  31156. parameters:
  31157. - description: 履约计划id(performanceplanid)
  31158. in: query
  31159. name: planid
  31160. required: true
  31161. type: integer
  31162. - description: 当前步骤id
  31163. in: query
  31164. name: curstepid
  31165. type: integer
  31166. produces:
  31167. - application/json
  31168. responses:
  31169. "200":
  31170. description: OK
  31171. schema:
  31172. items:
  31173. $ref: '#/definitions/models.WrPerformancePlanStep'
  31174. type: array
  31175. "500":
  31176. description: Internal Server Error
  31177. schema:
  31178. $ref: '#/definitions/app.Response'
  31179. security:
  31180. - ApiKeyAuth: []
  31181. summary: 查询履约信息详情
  31182. tags:
  31183. - 仓单贸易v2
  31184. /WrTrade2/QueryWrPerformanceStepType:
  31185. get:
  31186. produces:
  31187. - application/json
  31188. responses:
  31189. "200":
  31190. description: OK
  31191. schema:
  31192. items:
  31193. $ref: '#/definitions/models.WrPerformanceStepType'
  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/QueryWrPosition:
  31205. get:
  31206. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  31207. parameters:
  31208. - description: 用户id
  31209. in: query
  31210. name: userid
  31211. required: true
  31212. type: integer
  31213. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  31214. in: query
  31215. name: querytype
  31216. required: true
  31217. type: integer
  31218. - description: 0:仓单预售 1:仓单贸易
  31219. in: query
  31220. name: haswr
  31221. required: true
  31222. type: integer
  31223. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31224. in: query
  31225. name: dgitemname
  31226. type: string
  31227. - description: 仓库id(筛选条件)
  31228. in: query
  31229. name: warehouseid
  31230. type: integer
  31231. - description: 品种id
  31232. in: query
  31233. name: deliverygoodsid
  31234. type: integer
  31235. - description: 品类id
  31236. in: query
  31237. name: wrstandardid
  31238. type: integer
  31239. produces:
  31240. - application/json
  31241. responses:
  31242. "200":
  31243. description: OK
  31244. schema:
  31245. items:
  31246. $ref: '#/definitions/models.WrPosition'
  31247. type: array
  31248. "500":
  31249. description: Internal Server Error
  31250. schema:
  31251. $ref: '#/definitions/app.Response'
  31252. security:
  31253. - ApiKeyAuth: []
  31254. summary: 查询现货(预售)仓单持仓
  31255. tags:
  31256. - 仓单贸易v2
  31257. /WrTrade2/QueryWrPreSaleInfo:
  31258. get:
  31259. parameters:
  31260. - description: 市场id
  31261. in: query
  31262. name: marketid
  31263. type: integer
  31264. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31265. in: query
  31266. name: presalestatus
  31267. type: string
  31268. - description: 摇号标识 - 0:未摇号 1:已摇号
  31269. in: query
  31270. name: lotteryflag
  31271. type: integer
  31272. - description: 最近多少条记录(按创建时间倒序)
  31273. in: query
  31274. name: lastnum
  31275. type: integer
  31276. produces:
  31277. - application/json
  31278. responses:
  31279. "200":
  31280. description: OK
  31281. schema:
  31282. items:
  31283. $ref: '#/definitions/models.WrPreSaleInfo'
  31284. type: array
  31285. "500":
  31286. description: Internal Server Error
  31287. schema:
  31288. $ref: '#/definitions/app.Response'
  31289. security:
  31290. - ApiKeyAuth: []
  31291. summary: 查询新品发布
  31292. tags:
  31293. - 仓单贸易v2
  31294. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31295. get:
  31296. parameters:
  31297. - description: 市场id
  31298. in: query
  31299. name: marketid
  31300. required: true
  31301. type: integer
  31302. - description: 现货商品id
  31303. in: query
  31304. name: wrstandardid
  31305. required: true
  31306. type: integer
  31307. - description: 开始交易日(yyyymmdd)
  31308. in: query
  31309. name: begindate
  31310. type: string
  31311. - description: 结束交易日(yyyymmdd)
  31312. in: query
  31313. name: enddate
  31314. type: string
  31315. - description: 最近多少条记录(按交易日倒序)
  31316. in: query
  31317. name: lastnum
  31318. type: integer
  31319. - description: 是否今日
  31320. in: query
  31321. name: istoday
  31322. type: boolean
  31323. produces:
  31324. - application/json
  31325. responses:
  31326. "200":
  31327. description: OK
  31328. schema:
  31329. items:
  31330. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31331. type: array
  31332. "500":
  31333. description: Internal Server Error
  31334. schema:
  31335. $ref: '#/definitions/app.Response'
  31336. security:
  31337. - ApiKeyAuth: []
  31338. summary: 查询价格走势
  31339. tags:
  31340. - 仓单贸易v2
  31341. /WrTrade2/QueryWrScfContract:
  31342. get:
  31343. parameters:
  31344. - description: 用户id
  31345. in: query
  31346. name: userid
  31347. required: true
  31348. type: integer
  31349. - description: 融资合同id
  31350. in: query
  31351. name: scfcontractid
  31352. type: integer
  31353. produces:
  31354. - application/json
  31355. responses:
  31356. "200":
  31357. description: OK
  31358. schema:
  31359. items:
  31360. $ref: '#/definitions/models.WrScfContract'
  31361. type: array
  31362. "500":
  31363. description: Internal Server Error
  31364. schema:
  31365. $ref: '#/definitions/app.Response'
  31366. security:
  31367. - ApiKeyAuth: []
  31368. summary: 查询仓单贸易融资合同
  31369. tags:
  31370. - 仓单贸易v2
  31371. /WrTrade2/QueryWrScfContractInterest:
  31372. get:
  31373. parameters:
  31374. - description: 融资合同id
  31375. in: query
  31376. name: scfcontractid
  31377. type: integer
  31378. produces:
  31379. - application/json
  31380. responses:
  31381. "200":
  31382. description: OK
  31383. schema:
  31384. items:
  31385. $ref: '#/definitions/models.WrScfContractInterest'
  31386. type: array
  31387. "500":
  31388. description: Internal Server Error
  31389. schema:
  31390. $ref: '#/definitions/app.Response'
  31391. security:
  31392. - ApiKeyAuth: []
  31393. summary: 查询融资合同费用明细
  31394. tags:
  31395. - 仓单贸易v2
  31396. /WrTrade2/QueryWrSearchUser:
  31397. get:
  31398. parameters:
  31399. - description: 用户名称(模糊匹配)
  31400. in: query
  31401. name: username
  31402. required: true
  31403. type: string
  31404. produces:
  31405. - application/json
  31406. responses:
  31407. "200":
  31408. description: OK
  31409. schema:
  31410. items:
  31411. $ref: '#/definitions/models.WrSearchUser'
  31412. type: array
  31413. "500":
  31414. description: Internal Server Error
  31415. schema:
  31416. $ref: '#/definitions/app.Response'
  31417. security:
  31418. - ApiKeyAuth: []
  31419. summary: 查询用户
  31420. tags:
  31421. - 仓单贸易v2
  31422. /WrTrade2/QueryWrSpecialMatchOrder:
  31423. get:
  31424. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  31425. parameters:
  31426. - description: 页码
  31427. in: query
  31428. name: page
  31429. type: integer
  31430. - description: 每页条数
  31431. in: query
  31432. name: pagesize
  31433. type: integer
  31434. - description: 用户id
  31435. in: query
  31436. name: userid
  31437. required: true
  31438. type: integer
  31439. - description: 仓单贸易市场id
  31440. in: query
  31441. name: marketid
  31442. type: integer
  31443. - description: 0:仓单预售 1:仓单贸易
  31444. in: query
  31445. name: haswr
  31446. required: true
  31447. type: integer
  31448. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  31449. in: query
  31450. name: isspecified
  31451. type: integer
  31452. produces:
  31453. - application/json
  31454. responses:
  31455. "200":
  31456. description: OK
  31457. schema:
  31458. items:
  31459. $ref: '#/definitions/models.WrSpecialMatchOrder'
  31460. type: array
  31461. "500":
  31462. description: Internal Server Error
  31463. schema:
  31464. $ref: '#/definitions/app.Response'
  31465. security:
  31466. - ApiKeyAuth: []
  31467. summary: 查询指定成交
  31468. tags:
  31469. - 仓单贸易v2
  31470. /WrTrade2/QueryWrStandardFactoryItem:
  31471. get:
  31472. parameters:
  31473. - description: 品类id
  31474. in: query
  31475. name: wrstandardid
  31476. required: true
  31477. type: integer
  31478. produces:
  31479. - application/json
  31480. responses:
  31481. "200":
  31482. description: OK
  31483. schema:
  31484. items:
  31485. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  31486. type: array
  31487. "500":
  31488. description: Internal Server Error
  31489. schema:
  31490. $ref: '#/definitions/app.Response'
  31491. security:
  31492. - ApiKeyAuth: []
  31493. summary: 查询品类要素定义项
  31494. tags:
  31495. - 仓单贸易v2
  31496. /WrTrade2/QueryWrTradeBargainApply:
  31497. get:
  31498. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  31499. 议价->对方议价 填写matchuserid=登录用户id
  31500. parameters:
  31501. - description: 议价人id(摘牌方)
  31502. in: query
  31503. name: userid
  31504. type: integer
  31505. - description: 挂牌方id(查对方议价时,填写此项)
  31506. in: query
  31507. name: matchuserid
  31508. type: integer
  31509. - description: 关联委托单id
  31510. in: query
  31511. name: wrtradeorderid
  31512. type: integer
  31513. - description: 0:仓单预售 1:仓单贸易
  31514. in: query
  31515. name: haswr
  31516. required: true
  31517. type: integer
  31518. - description: 开始交易日(yyyymmdd)
  31519. in: query
  31520. name: begindate
  31521. type: string
  31522. - description: 结束交易日(yyyymmdd)
  31523. in: query
  31524. name: enddate
  31525. type: string
  31526. produces:
  31527. - application/json
  31528. responses:
  31529. "200":
  31530. description: OK
  31531. schema:
  31532. items:
  31533. $ref: '#/definitions/models.WRTradeBargainApply'
  31534. type: array
  31535. "500":
  31536. description: Internal Server Error
  31537. schema:
  31538. $ref: '#/definitions/app.Response'
  31539. security:
  31540. - ApiKeyAuth: []
  31541. summary: 查询议价单
  31542. tags:
  31543. - 仓单贸易v2
  31544. /WrTrade2/QueryWrTradeDetail:
  31545. get:
  31546. parameters:
  31547. - description: 页码
  31548. in: query
  31549. name: page
  31550. type: integer
  31551. - description: 每页条数
  31552. in: query
  31553. name: pagesize
  31554. type: integer
  31555. - description: 用户id
  31556. in: query
  31557. name: userid
  31558. required: true
  31559. type: integer
  31560. - description: 仓单贸易市场id
  31561. in: query
  31562. name: marketid
  31563. type: integer
  31564. - description: 0:仓单预售 1:仓单贸易
  31565. in: query
  31566. name: haswr
  31567. required: true
  31568. type: integer
  31569. - description: 开始交易日(yyyymmdd)
  31570. in: query
  31571. name: begindate
  31572. type: string
  31573. - description: 结束交易日(yyyymmdd)
  31574. in: query
  31575. name: enddate
  31576. type: string
  31577. produces:
  31578. - application/json
  31579. responses:
  31580. "200":
  31581. description: OK
  31582. schema:
  31583. items:
  31584. $ref: '#/definitions/models.WrTradeDetail'
  31585. type: array
  31586. "500":
  31587. description: Internal Server Error
  31588. schema:
  31589. $ref: '#/definitions/app.Response'
  31590. security:
  31591. - ApiKeyAuth: []
  31592. summary: 查询仓单成交明细
  31593. tags:
  31594. - 仓单贸易v2
  31595. /WrTrade2/QueryWrTradeOrderDetail:
  31596. get:
  31597. parameters:
  31598. - description: 页码
  31599. in: query
  31600. name: page
  31601. type: integer
  31602. - description: 每页条数
  31603. in: query
  31604. name: pagesize
  31605. type: integer
  31606. - description: 商品id
  31607. in: query
  31608. name: goodsid
  31609. required: true
  31610. type: integer
  31611. - description: 买卖方向 0-买 1-卖
  31612. in: query
  31613. name: buyorsell
  31614. required: true
  31615. type: integer
  31616. produces:
  31617. - application/json
  31618. responses:
  31619. "200":
  31620. description: OK
  31621. schema:
  31622. items:
  31623. $ref: '#/definitions/models.WrTradeOrderDetail'
  31624. type: array
  31625. "500":
  31626. description: Internal Server Error
  31627. schema:
  31628. $ref: '#/definitions/app.Response'
  31629. security:
  31630. - ApiKeyAuth: []
  31631. summary: 查询合约交易买卖大厅
  31632. tags:
  31633. - 仓单贸易v2
  31634. /WrTrade2/QueryWrTradeQuote:
  31635. get:
  31636. parameters:
  31637. - description: 现货商品id
  31638. in: query
  31639. name: wrstandardid
  31640. required: true
  31641. type: integer
  31642. - description: 开始日期(yyyymmdd)
  31643. in: query
  31644. name: begindate
  31645. required: true
  31646. type: string
  31647. - description: 结束日期(yyyymmdd)
  31648. in: query
  31649. name: enddate
  31650. required: true
  31651. type: string
  31652. - description: 市场id
  31653. in: query
  31654. name: marketid
  31655. type: integer
  31656. produces:
  31657. - application/json
  31658. responses:
  31659. "200":
  31660. description: OK
  31661. schema:
  31662. items:
  31663. $ref: '#/definitions/models.Wrtradetradequote'
  31664. type: array
  31665. "500":
  31666. description: Internal Server Error
  31667. schema:
  31668. $ref: '#/definitions/app.Response'
  31669. security:
  31670. - ApiKeyAuth: []
  31671. summary: 查询仓单贸易成交行情
  31672. tags:
  31673. - 仓单贸易v2
  31674. /WrTrade2/QueryWrUserFriend:
  31675. get:
  31676. parameters:
  31677. - description: 用户id
  31678. in: query
  31679. name: userid
  31680. required: true
  31681. type: integer
  31682. - description: 新朋友userid, 如果填写了此项则查找新朋友
  31683. in: query
  31684. name: newuserid
  31685. type: integer
  31686. produces:
  31687. - application/json
  31688. responses:
  31689. "200":
  31690. description: OK
  31691. schema:
  31692. items:
  31693. $ref: '#/definitions/models.WrUserFriend'
  31694. type: array
  31695. "500":
  31696. description: Internal Server Error
  31697. schema:
  31698. $ref: '#/definitions/app.Response'
  31699. security:
  31700. - ApiKeyAuth: []
  31701. summary: 查询我的朋友
  31702. tags:
  31703. - 仓单贸易v2
  31704. /WrTrade2/QueryWrUserReceiptInfo:
  31705. get:
  31706. parameters:
  31707. - description: 用户id
  31708. in: query
  31709. name: userid
  31710. type: integer
  31711. - description: 发票类型 - 1:个人 2:企业
  31712. in: query
  31713. name: receipttype
  31714. type: integer
  31715. produces:
  31716. - application/json
  31717. responses:
  31718. "200":
  31719. description: OK
  31720. schema:
  31721. items:
  31722. $ref: '#/definitions/models.WrUserReceiptInfo'
  31723. type: array
  31724. "500":
  31725. description: Internal Server Error
  31726. schema:
  31727. $ref: '#/definitions/app.Response'
  31728. security:
  31729. - ApiKeyAuth: []
  31730. summary: 查询发票信息
  31731. tags:
  31732. - 仓单贸易v2
  31733. /WrTrade2/QueryXhcpSellBackApply:
  31734. get:
  31735. parameters:
  31736. - description: 用户ID
  31737. in: query
  31738. name: userid
  31739. required: true
  31740. type: integer
  31741. produces:
  31742. - application/json
  31743. responses:
  31744. "200":
  31745. description: OK
  31746. schema:
  31747. items:
  31748. $ref: '#/definitions/models.Xhcpsellbackapply'
  31749. type: array
  31750. "500":
  31751. description: Internal Server Error
  31752. schema:
  31753. $ref: '#/definitions/app.Response'
  31754. security:
  31755. - ApiKeyAuth: []
  31756. summary: 查询我的回收申请(新会陈皮)
  31757. tags:
  31758. - 仓单贸易v2
  31759. /ZJ/GetBankTip:
  31760. get:
  31761. produces:
  31762. - application/json
  31763. responses:
  31764. "200":
  31765. description: OK
  31766. schema:
  31767. type: string
  31768. "500":
  31769. description: Internal Server Error
  31770. schema:
  31771. $ref: '#/definitions/app.Response'
  31772. summary: 获取中江网银端出入金提示信息
  31773. tags:
  31774. - 中江
  31775. /ZJ/GetCusBankChannels:
  31776. get:
  31777. produces:
  31778. - application/json
  31779. responses:
  31780. "200":
  31781. description: OK
  31782. schema:
  31783. items:
  31784. type: string
  31785. type: array
  31786. "500":
  31787. description: Internal Server Error
  31788. schema:
  31789. $ref: '#/definitions/app.Response'
  31790. summary: 获取中江出入金渠道显示列表
  31791. tags:
  31792. - 中江
  31793. securityDefinitions:
  31794. ApiKeyAuth:
  31795. in: header
  31796. name: Authorization
  31797. type: apiKey
  31798. swagger: "2.0"