swagger.yaml 907 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. hsby.GetHsbyMyCountRsp:
  3746. properties:
  3747. myCouponCount:
  3748. description: 我的优惠卷数量
  3749. type: integer
  3750. myOrderDetailListingCount:
  3751. description: 我的订单求购中数量
  3752. type: integer
  3753. myOrderDetailPreCount:
  3754. description: 我的订单抢购中数量
  3755. type: integer
  3756. myPackageUnReceiveCount:
  3757. description: 我的包裹待收货数量
  3758. type: integer
  3759. myPackageUnSendCount:
  3760. description: 我的包裹待发货数量
  3761. type: integer
  3762. myPayOrderCount:
  3763. description: 我的订单待付款数量
  3764. type: integer
  3765. type: object
  3766. hsby.QueryProvincesAndCitiesRsp:
  3767. properties:
  3768. cities:
  3769. description: 市
  3770. items:
  3771. $ref: '#/definitions/models.Division'
  3772. type: array
  3773. province:
  3774. $ref: '#/definitions/models.Division'
  3775. description: 省
  3776. type: object
  3777. models.Arearole:
  3778. properties:
  3779. createtime:
  3780. description: 创建时间
  3781. type: string
  3782. creatorid:
  3783. description: 创建人ID
  3784. type: integer
  3785. fromuserid:
  3786. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3787. type: integer
  3788. isreturnscore:
  3789. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3790. type: integer
  3791. modifierid:
  3792. description: 修改人ID
  3793. type: integer
  3794. modifytime:
  3795. description: 修改时间
  3796. type: string
  3797. orgtype:
  3798. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3799. type: integer
  3800. outuserid:
  3801. description: 外部账户[场外期权做市商]
  3802. type: string
  3803. parentuserid:
  3804. description: 上级组织机构(组织机构)
  3805. type: integer
  3806. roletype:
  3807. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3808. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3809. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3810. type: integer
  3811. rootuserid:
  3812. description: 顶级组织机构用户ID(组织机构)
  3813. type: integer
  3814. shoppassword:
  3815. description: 商城店铺登陆密码(商城店铺角色使用)
  3816. type: string
  3817. sublevelpath:
  3818. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3819. type: string
  3820. suborgtype:
  3821. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3822. type: integer
  3823. tradeaccountid:
  3824. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3825. type: integer
  3826. transurl:
  3827. description: 物流地址(物流机构)
  3828. type: string
  3829. userid:
  3830. description: 机构用户ID其他做市关系,都设置为 1
  3831. type: integer
  3832. required:
  3833. - roletype
  3834. - userid
  3835. type: object
  3836. models.BuyOrder:
  3837. properties:
  3838. accountid:
  3839. description: 资金账户ID
  3840. type: integer
  3841. buyusername:
  3842. description: 买方
  3843. type: string
  3844. marketid:
  3845. description: 市场ID
  3846. type: integer
  3847. origin:
  3848. description: 原产地
  3849. type: string
  3850. remark:
  3851. description: 备注
  3852. type: string
  3853. userid:
  3854. description: 用户ID
  3855. type: integer
  3856. warehouseids:
  3857. description: 仓库ID - 多个, 逗号分隔
  3858. type: string
  3859. warehouseinfosdisplay:
  3860. type: string
  3861. wrtradeorderid:
  3862. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3863. type: integer
  3864. zscategory:
  3865. description: 钻石分类 - 枚举”ZSCategory“
  3866. type: integer
  3867. zscategorydisplay:
  3868. type: string
  3869. zsclaritytype:
  3870. description: 净度 - 两个, 逗号分隔
  3871. type: string
  3872. zsclaritytypedisplay:
  3873. type: string
  3874. zscolortype:
  3875. description: 颜色 - 两个, 逗号分隔
  3876. type: string
  3877. zscolortypedisplay:
  3878. type: string
  3879. zscrystaltype:
  3880. description: 晶型 - 多个,逗号分隔
  3881. type: string
  3882. zscrystaltypedisplay:
  3883. type: string
  3884. zscurrencytype:
  3885. description: 货币类型 - 多个, 逗号分隔
  3886. type: string
  3887. zscurrencytypedisplay:
  3888. type: string
  3889. zscuttype:
  3890. description: 切工 - 两个, 逗号分隔
  3891. type: string
  3892. zscuttypedisplay:
  3893. type: string
  3894. zsczcolor1type:
  3895. description: 彩钻颜色1, 逗号分隔
  3896. type: string
  3897. zsczcolor1typedisplay:
  3898. type: string
  3899. zsczcolor2type:
  3900. description: 彩钻颜色2, 逗号分隔
  3901. type: string
  3902. zsczcolor2typedisplay:
  3903. type: string
  3904. zsczcolor3type:
  3905. description: 彩钻颜色3, 逗号分隔
  3906. type: string
  3907. zsczcolor3typedisplay:
  3908. type: string
  3909. zsfluorescencetype:
  3910. description: 荧光 - 多个, 逗号分隔
  3911. type: string
  3912. zsfluorescencetypedisplay:
  3913. type: string
  3914. zspolishtype:
  3915. description: 抛光度 - 两个, 逗号分隔
  3916. type: string
  3917. zspolishtypedisplay:
  3918. type: string
  3919. zsshapetype:
  3920. description: 形状 - 多个, 逗号分隔
  3921. type: string
  3922. zsshapetypedisplay:
  3923. type: string
  3924. zssize:
  3925. description: 尺寸 - 两个小数, 逗号分隔
  3926. type: string
  3927. zsstyletype:
  3928. description: 款式 - 多个, 逗号分隔
  3929. type: string
  3930. zsstyletypedisplay:
  3931. type: string
  3932. zssymmetrytype:
  3933. description: 对称度 - 两个, 逗号分隔
  3934. type: string
  3935. zssymmetrytypedisplay:
  3936. type: string
  3937. zstabledisplay:
  3938. description: 求购信息
  3939. type: string
  3940. type: object
  3941. models.Clientfixedadconfig:
  3942. properties:
  3943. adsort:
  3944. description: 排序
  3945. type: integer
  3946. adtype:
  3947. description: 广告位类型 - 1:新品抢购(HSBY)
  3948. type: integer
  3949. areauserid:
  3950. description: 所属机构ID
  3951. type: integer
  3952. createdate:
  3953. description: 创建时间
  3954. type: string
  3955. creatorid:
  3956. description: 创建人
  3957. type: integer
  3958. imagepath:
  3959. description: 图片
  3960. type: string
  3961. isshow:
  3962. description: 是否展示 - 0:不展示 1:展示
  3963. type: integer
  3964. modifierid:
  3965. description: 操作人
  3966. type: integer
  3967. recsize:
  3968. description: 推荐尺寸
  3969. type: string
  3970. title:
  3971. description: 标题
  3972. type: string
  3973. updatedate:
  3974. description: 更新时间
  3975. type: string
  3976. urlcontent:
  3977. description: 链接(地址或商品ID)
  3978. type: string
  3979. urltype:
  3980. description: 链接类型 - 1:直接地址 2:商品ID
  3981. type: integer
  3982. required:
  3983. - adsort
  3984. - adtype
  3985. type: object
  3986. models.DgFactoryItem:
  3987. properties:
  3988. dgfactoryitemid:
  3989. description: 选择项ID(SEQ_DGFACTORYITEM)
  3990. type: integer
  3991. dgfactoryitemtypeid:
  3992. description: 要素项类型
  3993. type: integer
  3994. dgfactoryitemvalue:
  3995. description: 要素项值(类型为仓库时填写仓库名称)
  3996. type: string
  3997. orderindex:
  3998. description: 顺序
  3999. type: integer
  4000. type: object
  4001. models.Division:
  4002. properties:
  4003. autoid:
  4004. description: 自增ID
  4005. type: integer
  4006. divisioncode:
  4007. description: 行政代码
  4008. type: string
  4009. divisionlevel:
  4010. description: 行政级别
  4011. type: string
  4012. divisionname:
  4013. description: 行政名称
  4014. type: string
  4015. modifierid:
  4016. description: 修改人
  4017. type: integer
  4018. modifytime:
  4019. description: 修改时间
  4020. type: string
  4021. parentcode:
  4022. description: 上级行政代码
  4023. type: string
  4024. pathname:
  4025. description: 路径名称
  4026. type: string
  4027. postcode:
  4028. description: 邮政编码
  4029. type: string
  4030. separablename:
  4031. description: 可拆分的全称
  4032. type: string
  4033. shortcode:
  4034. description: 地区简码
  4035. type: string
  4036. required:
  4037. - autoid
  4038. - divisioncode
  4039. type: object
  4040. models.Enumdicitem:
  4041. properties:
  4042. autoid:
  4043. description: 自增ID
  4044. type: integer
  4045. bankmappedvalue:
  4046. description: 银行服务对应值
  4047. type: string
  4048. enumdiccode:
  4049. description: 所属枚举代码
  4050. type: string
  4051. enumdicid:
  4052. description: 所属枚举ID
  4053. type: integer
  4054. enumdicname:
  4055. description: 枚举项名称
  4056. type: string
  4057. enumitemname:
  4058. description: 枚举项值
  4059. type: integer
  4060. enumitemstatus:
  4061. description: 枚举项状态 - 1.启用 2.不启用
  4062. type: integer
  4063. enumitemvalue:
  4064. description: 通用值 - [币种通用简写]
  4065. type: string
  4066. param1:
  4067. description: 参数1[币种:币种小数位]
  4068. type: string
  4069. param2:
  4070. description: 参数1[币种:币种显示单位]
  4071. type: string
  4072. remark:
  4073. description: 备注
  4074. type: string
  4075. required:
  4076. - autoid
  4077. - enumdiccode
  4078. - enumdicid
  4079. - enumitemname
  4080. type: object
  4081. models.Ermcp2AreaExposure:
  4082. properties:
  4083. areauserid:
  4084. description: 所属机构
  4085. type: integer
  4086. enumdicname:
  4087. description: 单位
  4088. type: string
  4089. futureqty:
  4090. description: 期货套期量
  4091. type: number
  4092. futureqtychange:
  4093. description: 期货变动量 = FutureQty - OriFutureQty
  4094. type: number
  4095. goodsunitid:
  4096. description: 单位ID
  4097. type: integer
  4098. hedgedspotexposure:
  4099. description: 被套期现货敞口量
  4100. type: number
  4101. hedgedspratio:
  4102. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4103. type: number
  4104. hedgedtotalexposourechange:
  4105. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4106. type: number
  4107. hedgedtotalexposure:
  4108. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4109. type: number
  4110. hedgeplanqty:
  4111. description: 套期计划量
  4112. type: number
  4113. hedgeplanqtychange:
  4114. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4115. type: number
  4116. hedgespotqty:
  4117. description: 被套期现货量
  4118. type: number
  4119. middlegoodsid:
  4120. description: 套保品种
  4121. type: integer
  4122. middlegoodsname:
  4123. description: 套保品种名称
  4124. type: string
  4125. orifutureqty:
  4126. description: 期初期货套期量
  4127. type: number
  4128. orihedgedspotexposure:
  4129. description: 期初被套期现货敞口量
  4130. type: number
  4131. orihedgedtotalexposure:
  4132. description: 期初套期敞口量
  4133. type: number
  4134. orihedgeplanqty:
  4135. description: 期初套期计划量
  4136. type: number
  4137. orihedgespotqty:
  4138. description: 期初被套期现货量
  4139. type: number
  4140. orispotexposure:
  4141. description: 期初现货敞口量
  4142. type: number
  4143. orispotqty:
  4144. description: 期初现货总量
  4145. type: number
  4146. oritotalexposure:
  4147. description: 期初总敞口量
  4148. type: number
  4149. spotexposure:
  4150. description: 现货敞口量
  4151. type: number
  4152. spotqty:
  4153. description: 现货总量
  4154. type: number
  4155. spotqtychange:
  4156. description: 现货变动量 = SpotQty - OriSpotQty
  4157. type: number
  4158. spratio:
  4159. description: 总期现比例 = 期货套期量/现货敞口量
  4160. type: number
  4161. totalexposure:
  4162. description: 总敞口量 = 现货敞口量 + 期货套期量
  4163. type: number
  4164. totalexposurechange:
  4165. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4166. type: number
  4167. updatetime:
  4168. description: 更新时间 --DATE
  4169. type: string
  4170. type: object
  4171. models.Ermcp2hedgeditem:
  4172. properties:
  4173. accountname:
  4174. description: 套期主体
  4175. type: string
  4176. applyid:
  4177. description: 申请人
  4178. type: integer
  4179. applysrc:
  4180. description: 申请来源 - 1:管理端 2:终端
  4181. type: integer
  4182. areauserid:
  4183. description: 企业ID
  4184. type: integer
  4185. auditid:
  4186. description: 审核人
  4187. type: integer
  4188. auditremark:
  4189. description: 审核备注
  4190. type: string
  4191. auditsrc:
  4192. description: 审核来源 - 1:管理端 2:终端
  4193. type: integer
  4194. audittime:
  4195. description: 审核时间
  4196. type: string
  4197. audittradedate:
  4198. description: 审核交易日(yyyyMMdd)
  4199. type: string
  4200. createtime:
  4201. description: 申请时间
  4202. type: string
  4203. curprice:
  4204. description: 当前市场价
  4205. type: number
  4206. curstock:
  4207. description: 期末库存量 = 采购总量 - 销售总量
  4208. type: number
  4209. deliverygoodsid:
  4210. description: 现货品种ID
  4211. type: integer
  4212. enddate:
  4213. description: 完成日期
  4214. type: string
  4215. endtradedate:
  4216. description: 完成交易日
  4217. type: string
  4218. enumdicname:
  4219. description: 单位
  4220. type: string
  4221. exeamount:
  4222. description: 执行市价总额
  4223. type: number
  4224. exeavgprice:
  4225. description: 执行市场均价= 执行市价总额 / 执行现货量
  4226. type: number
  4227. execontractamount:
  4228. description: 执行定价总额
  4229. type: number
  4230. exeqty:
  4231. description: 执行现货量
  4232. type: number
  4233. exerestamount:
  4234. description: 执行剩余市价总额【现货贸易】
  4235. type: number
  4236. futurefloatpl:
  4237. description: 期货浮动损益
  4238. type: number
  4239. futurehedgepl:
  4240. description: 期货实际损益
  4241. type: number
  4242. futurehedgeplchange:
  4243. description: 期货实际损益变动
  4244. type: number
  4245. futurepl:
  4246. description: 期货套期损益
  4247. type: number
  4248. futureplchange:
  4249. description: 期货套期损益变动
  4250. type: number
  4251. hedgeamount:
  4252. description: 套期市价总额
  4253. type: number
  4254. hedgecontractamount:
  4255. description: 套期定价总额 【定价采购合同】【现货贸易】
  4256. type: number
  4257. hedgeditemid:
  4258. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4259. type: string
  4260. hedgeditemname:
  4261. description: 项目名称
  4262. type: string
  4263. hedgeditemnum:
  4264. description: 项目编号
  4265. type: string
  4266. hedgeditemstatus:
  4267. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4268. type: integer
  4269. hedgedtype:
  4270. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4271. type: integer
  4272. hedgeqty:
  4273. description: 套期现货量
  4274. type: number
  4275. hedgerate:
  4276. description: 套保比率
  4277. type: number
  4278. hedgerestamount:
  4279. description: 套期剩余市价总额【现货贸易】
  4280. type: number
  4281. hedgesumpl:
  4282. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4283. type: number
  4284. middlegoodslist:
  4285. description: 套期商品列表
  4286. items:
  4287. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4288. type: array
  4289. oriavgprice:
  4290. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4291. type: number
  4292. orifuturehedgepl:
  4293. description: 期初期货实际损益
  4294. type: number
  4295. orifuturepl:
  4296. description: 期初期货套期损益
  4297. type: number
  4298. orispothedgepl:
  4299. description: 期初现货实际损益
  4300. type: number
  4301. orispotpl:
  4302. description: 期初现货套期损益
  4303. type: number
  4304. planenddate:
  4305. description: 计划结束日期
  4306. type: string
  4307. planstartdate:
  4308. description: 计划开始日期
  4309. type: string
  4310. remark:
  4311. description: 备注
  4312. type: string
  4313. spotbookamount:
  4314. description: 现货账面总额
  4315. type: number
  4316. spotfloatpl:
  4317. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4318. type: number
  4319. spothedgepl:
  4320. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4321. type: number
  4322. spothedgeplchange:
  4323. description: 现货实际损益变动
  4324. type: number
  4325. spotpl:
  4326. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4327. type: number
  4328. spotplchange:
  4329. description: 现货套期损益变动
  4330. type: number
  4331. spottradepl:
  4332. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4333. type: number
  4334. sumobspl:
  4335. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4336. type: number
  4337. tradeuserid:
  4338. description: 交易用户ID
  4339. type: integer
  4340. unexeqty:
  4341. description: 未执行现货量 = 套期现货量 - 执行现货量
  4342. type: number
  4343. updatetime:
  4344. description: 更新时间
  4345. type: string
  4346. vatpl:
  4347. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4348. type: number
  4349. vatrate:
  4350. description: 增值税
  4351. type: number
  4352. wrstandardid:
  4353. description: 现货商品ID
  4354. type: integer
  4355. wrstandardname:
  4356. description: 商品名称
  4357. type: string
  4358. type: object
  4359. models.Ermcp2hedgeditemlink:
  4360. properties:
  4361. areauserid:
  4362. description: 企业ID
  4363. type: integer
  4364. createtime:
  4365. description: '[关联时间]创建时间'
  4366. type: string
  4367. customeruserid:
  4368. description: 对手方 【3:采购合同 4:销售合同】
  4369. type: integer
  4370. deliverygoodsid:
  4371. description: 现货品种ID
  4372. type: integer
  4373. enumdicname:
  4374. description: 单位
  4375. type: string
  4376. hedgeditemid:
  4377. description: 被套期项目ID
  4378. type: integer
  4379. hedgeditemlinkid:
  4380. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4381. type: integer
  4382. hedgeditemnum:
  4383. description: 项目编号
  4384. type: string
  4385. hedgedtype:
  4386. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4387. type: integer
  4388. relatedamount:
  4389. description: 市价总额 = 关联数量 * 期初市场价
  4390. type: number
  4391. relatedhedgeplanid:
  4392. description: 关联计划ID 【1:采购计划 2:销售计划】
  4393. type: integer
  4394. relatedqty:
  4395. description: 关联数量
  4396. type: number
  4397. relatedspotcontractid:
  4398. description: 关联合同ID 【3:采购合同 4:销售合同】
  4399. type: integer
  4400. relatedtype:
  4401. description: 关联类型 - 1:套期关联 2:执行关联
  4402. type: integer
  4403. spotgoodsbrandid:
  4404. description: 现货品牌ID
  4405. type: integer
  4406. spotpricedamount:
  4407. description: '[关联定价总额]定价总额'
  4408. type: number
  4409. spotpricedavgprice:
  4410. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4411. type: number
  4412. spottype:
  4413. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4414. type: integer
  4415. tradeuserid:
  4416. description: 交易用户ID
  4417. type: integer
  4418. unexeqty:
  4419. description: 未执行现货量【项目关联时值】
  4420. type: number
  4421. wrstandardid:
  4422. description: 现货商品ID
  4423. type: integer
  4424. wrstandardname:
  4425. description: 现货商品
  4426. type: string
  4427. required:
  4428. - relatedspotcontractid
  4429. type: object
  4430. models.Ermcp2hedgeditemsDetail:
  4431. properties:
  4432. accountname:
  4433. description: 套期主体
  4434. type: string
  4435. areauserid:
  4436. description: 企业ID
  4437. type: integer
  4438. createtime:
  4439. description: '[日期时间]创建时间'
  4440. type: string
  4441. customeruserid:
  4442. description: 对手方 【3:采购合同 4:销售合同】
  4443. type: integer
  4444. deliverygoodsid:
  4445. description: 现货品种ID
  4446. type: integer
  4447. enumdicname:
  4448. description: 单位
  4449. type: string
  4450. hedgeditemid:
  4451. description: 被套期项目ID
  4452. type: string
  4453. hedgeditemspotid:
  4454. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4455. type: string
  4456. hedgedtype:
  4457. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4458. type: integer
  4459. hedgeplanno:
  4460. description: 计划编号
  4461. type: string
  4462. middlegoodschange:
  4463. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4464. type: number
  4465. oriavgprice:
  4466. description: 期初市场价[当初市场价]
  4467. type: number
  4468. relatedamount:
  4469. description: 市价总额 = 关联数量 * 期初市场价
  4470. type: number
  4471. relatedhedgeplanid:
  4472. description: 关联计划ID 【1:采购计划 2:销售计划】
  4473. type: integer
  4474. relatedqty:
  4475. description: '[期间变化量]关联数量'
  4476. type: number
  4477. relatedspotcontractid:
  4478. description: 关联合同ID 【3:采购合同 4:销售合同】
  4479. type: integer
  4480. relatedtype:
  4481. description: 关联类型 - 1:套期关联 2:执行关联
  4482. type: integer
  4483. spotgoodsbrandid:
  4484. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4485. type: integer
  4486. spotpricedamount:
  4487. description: 定价总额
  4488. type: number
  4489. spotpricedavgprice:
  4490. description: 现货均价 = 定价总额 / 关联数量
  4491. type: number
  4492. spottype:
  4493. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4494. type: integer
  4495. tradeuserid:
  4496. description: 交易用户ID
  4497. type: integer
  4498. unexeqty:
  4499. description: 未执行现货量 = 套期现货量 - 执行现货量
  4500. type: number
  4501. wrstandardid:
  4502. description: 现货商品ID
  4503. type: integer
  4504. wrstandardname:
  4505. description: 现货商品
  4506. type: string
  4507. type: object
  4508. models.Ermcp2hedgeditemspot:
  4509. properties:
  4510. areauserid:
  4511. description: 企业ID
  4512. type: integer
  4513. createtime:
  4514. description: 创建时间
  4515. type: string
  4516. customeruserid:
  4517. description: 对手方 【3:采购合同 4:销售合同】
  4518. type: integer
  4519. deliverygoodsid:
  4520. description: 现货品种ID
  4521. type: integer
  4522. enumdicname:
  4523. description: 单位
  4524. type: string
  4525. hedgeditemid:
  4526. description: 被套期项目ID
  4527. type: string
  4528. hedgeditemspotid:
  4529. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4530. type: string
  4531. hedgedtype:
  4532. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4533. type: integer
  4534. hedgeplanno:
  4535. description: 计划编号
  4536. type: string
  4537. oriavgprice:
  4538. description: 期初市场价[当初市场价]
  4539. type: number
  4540. relatedamount:
  4541. description: 市价总额 = 关联数量 * 期初市场价
  4542. type: number
  4543. relatedhedgeplanid:
  4544. description: 关联计划ID 【1:采购计划 2:销售计划】
  4545. type: integer
  4546. relatedqty:
  4547. description: 关联数量[数量]
  4548. type: number
  4549. relatedspotcontractid:
  4550. description: 关联合同ID 【3:采购合同 4:销售合同】
  4551. type: integer
  4552. relatedtype:
  4553. description: 关联类型 - 1:套期关联 2:执行关联
  4554. type: integer
  4555. spotgoodsbrandid:
  4556. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4557. type: integer
  4558. spotpricedamount:
  4559. description: 定价总额
  4560. type: number
  4561. spotpricedavgprice:
  4562. description: 现货均价 = 定价总额 / 关联数量
  4563. type: number
  4564. spottype:
  4565. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4566. type: integer
  4567. tradeuserid:
  4568. description: 交易用户ID
  4569. type: integer
  4570. wrstandardid:
  4571. description: 现货商品ID
  4572. type: integer
  4573. wrstandardname:
  4574. description: 现货商品
  4575. type: string
  4576. required:
  4577. - hedgeditemid
  4578. type: object
  4579. models.Ermcp2hedgeditemspotDetail:
  4580. properties:
  4581. accountname:
  4582. description: 对手方
  4583. type: string
  4584. areauserid:
  4585. description: 企业ID
  4586. type: integer
  4587. brandname:
  4588. description: 品牌
  4589. type: string
  4590. contractno:
  4591. description: 合同编号
  4592. type: string
  4593. createtime:
  4594. description: 创建时间
  4595. type: string
  4596. customeruserid:
  4597. description: 对手方 【3:采购合同 4:销售合同】
  4598. type: integer
  4599. deliverygoodsid:
  4600. description: 现货品种ID
  4601. type: integer
  4602. enumdicname:
  4603. description: 单位
  4604. type: string
  4605. hedgeditemid:
  4606. description: 被套期项目ID
  4607. type: string
  4608. hedgeditemspotid:
  4609. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4610. type: string
  4611. hedgedtype:
  4612. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4613. type: integer
  4614. oriavgprice:
  4615. description: 期初市场价[当初市场价]
  4616. type: number
  4617. relatedamount:
  4618. description: 市价总额 = 关联数量 * 期初市场价
  4619. type: number
  4620. relatedhedgeplanid:
  4621. description: 关联计划ID 【1:采购计划 2:销售计划】
  4622. type: integer
  4623. relatedqty:
  4624. description: 关联数量[数量]
  4625. type: number
  4626. relatedspotcontractid:
  4627. description: 关联合同ID 【3:采购合同 4:销售合同】
  4628. type: integer
  4629. relatedtype:
  4630. description: 关联类型 - 1:套期关联 2:执行关联
  4631. type: integer
  4632. spotgoodsbrandid:
  4633. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4634. type: integer
  4635. spotpricedamount:
  4636. description: 定价总额[金额]
  4637. type: number
  4638. spotpricedavgprice:
  4639. description: 现货均价 = 定价总额 / 关联数量
  4640. type: number
  4641. spottype:
  4642. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4643. type: integer
  4644. tradeuserid:
  4645. description: 交易用户ID
  4646. type: integer
  4647. wrstandardid:
  4648. description: 现货商品ID
  4649. type: integer
  4650. wrstandardname:
  4651. description: 现货商品
  4652. type: string
  4653. required:
  4654. - hedgeditemid
  4655. type: object
  4656. models.Ermcp2himiddlegoods:
  4657. properties:
  4658. futurehedgeqty:
  4659. description: 期货持仓套期量
  4660. type: number
  4661. hedgeditemid:
  4662. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4663. type: integer
  4664. hiexpsoure:
  4665. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4666. type: number
  4667. middlegoodscode:
  4668. description: 套保商品代码
  4669. type: string
  4670. middlegoodsid:
  4671. description: 套保品种ID
  4672. type: integer
  4673. middlegoodsname:
  4674. description: 套保商品名称
  4675. type: string
  4676. unexehedgeqty:
  4677. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4678. type: number
  4679. required:
  4680. - hedgeditemid
  4681. - middlegoodsid
  4682. type: object
  4683. models.Ermcp2stockspotchangelog:
  4684. properties:
  4685. accountname:
  4686. description: 套期主体
  4687. type: string
  4688. aftervalue:
  4689. description: 现货量
  4690. type: number
  4691. beforevalue:
  4692. description: 变更前现货量
  4693. type: number
  4694. contractno:
  4695. description: '[编号]现货合同编号'
  4696. type: string
  4697. contracttype:
  4698. description: 现货合同类型 - 1:采购 -1:销售
  4699. type: integer
  4700. createtime:
  4701. description: 创建时间
  4702. type: string
  4703. customerusername:
  4704. description: 对手方
  4705. type: string
  4706. deliverygoodsid:
  4707. description: 现货品种ID
  4708. type: integer
  4709. exetype:
  4710. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4711. type: integer
  4712. logid:
  4713. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4714. type: string
  4715. logvalue:
  4716. description: '[期间变化量]现货量变更值'
  4717. type: number
  4718. middlegoodschange:
  4719. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4720. type: number
  4721. operatelogtype:
  4722. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4723. 27:生产出库
  4724. type: integer
  4725. relatedid:
  4726. description: 现货合同ID
  4727. type: integer
  4728. spotgoodsbrandid:
  4729. description: 现货品牌ID
  4730. type: integer
  4731. tradedate:
  4732. description: 交易日(yyyyMMdd)
  4733. type: string
  4734. userid:
  4735. description: 机构ID
  4736. type: integer
  4737. warehouseinfoid:
  4738. description: 仓库ID
  4739. type: integer
  4740. wrfactortypeid:
  4741. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4742. type: integer
  4743. wrstandardid:
  4744. description: 现货商品ID
  4745. type: integer
  4746. wrstandardname:
  4747. description: 商品名称
  4748. type: string
  4749. type: object
  4750. models.Ermcp3AreaSpot:
  4751. properties:
  4752. areauserid:
  4753. description: 所属机构
  4754. type: integer
  4755. convertratio:
  4756. description: 套保系数
  4757. type: number
  4758. decreaseqty:
  4759. description: 减少数量=-(销售已定价数量+采购计划数量)
  4760. type: number
  4761. enumdicname:
  4762. description: 单位名称
  4763. type: string
  4764. increaseqty:
  4765. description: 增加数量=销售计划数量+采购已定价数量
  4766. type: number
  4767. oritoalspotqty:
  4768. description: 昨日数量
  4769. type: number
  4770. totalspotqty:
  4771. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4772. type: number
  4773. unitid:
  4774. description: 现货商品单位id
  4775. type: integer
  4776. updatetime:
  4777. description: 更新时间
  4778. type: string
  4779. wrstandardcode:
  4780. description: 现货商品代码
  4781. type: string
  4782. wrstandardid:
  4783. description: 现货商品ID(SEQ_WRSTANDARD)
  4784. type: integer
  4785. wrstandardname:
  4786. description: 现货商品名称
  4787. type: string
  4788. type: object
  4789. models.Ermcp3AreaSpotDetail:
  4790. properties:
  4791. contracttype:
  4792. description: 合同类型 1-采购 -1-销售
  4793. type: integer
  4794. createtime:
  4795. description: 创建时间
  4796. type: string
  4797. enumdicname:
  4798. description: 现货商品单位名称
  4799. type: string
  4800. logtype:
  4801. description: 记录类型 1-套保 2-现货合同
  4802. type: integer
  4803. qty:
  4804. description: 数量
  4805. type: number
  4806. recordname:
  4807. description: 类型名称
  4808. type: string
  4809. relatedid:
  4810. description: 套保计划ID/现货合同ID
  4811. type: string
  4812. relatedno:
  4813. description: 编号
  4814. type: string
  4815. strtime:
  4816. description: 时间
  4817. type: string
  4818. wrstandardcode:
  4819. description: 现货商品代码
  4820. type: string
  4821. wrstandardid:
  4822. description: 现货商品ID(SEQ_WRSTANDARD)
  4823. type: integer
  4824. wrstandardname:
  4825. description: 现货商品名称
  4826. type: string
  4827. type: object
  4828. models.Ermcp3AreaSpotPLReport:
  4829. properties:
  4830. accountid:
  4831. description: 期货账户ID (作废, 默认为0)
  4832. type: integer
  4833. accountname:
  4834. description: 机构名称
  4835. type: string
  4836. actualpl:
  4837. description: 现货损益
  4838. type: number
  4839. areauserid:
  4840. description: 所属机构\交易用户ID
  4841. type: integer
  4842. begindate:
  4843. description: 开始交易日
  4844. type: string
  4845. biztype:
  4846. description: 业务类型 - 1:套保 2:套利
  4847. type: integer
  4848. brandname:
  4849. description: 品牌名称
  4850. type: string
  4851. curamount:
  4852. description: 期末额
  4853. type: number
  4854. curaverageprice:
  4855. description: 期初均价
  4856. type: number
  4857. curbuyamount:
  4858. description: 期末采购总额
  4859. type: number
  4860. curbuyqty:
  4861. description: 期末采购总量
  4862. type: number
  4863. curmarketvalue:
  4864. description: 期初均价
  4865. type: number
  4866. curqty:
  4867. description: 期末量
  4868. type: number
  4869. currencyid:
  4870. description: 结算币种ID【原值】
  4871. type: integer
  4872. currencyname:
  4873. description: 币种名称
  4874. type: string
  4875. cursellamount:
  4876. description: 期末销售总额
  4877. type: number
  4878. cursellqty:
  4879. description: 期末销售总量
  4880. type: number
  4881. curspotprice:
  4882. description: 期初均价
  4883. type: number
  4884. cycletime:
  4885. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4886. type: string
  4887. cycletype:
  4888. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4889. type: integer
  4890. deliverygoodscode:
  4891. description: 现货品种代码
  4892. type: string
  4893. deliverygoodsid:
  4894. description: 现货品种ID
  4895. type: integer
  4896. deliverygoodsname:
  4897. description: 现货品种名称
  4898. type: string
  4899. enddate:
  4900. description: 结束交易日
  4901. type: string
  4902. enumdicname:
  4903. description: 现货品种单位名称(作废)
  4904. type: string
  4905. floatpl:
  4906. description: 期初均价
  4907. type: number
  4908. goodsunitid:
  4909. description: 现货品种单位id(作废)
  4910. type: integer
  4911. oriamount:
  4912. description: 期初额
  4913. type: number
  4914. oriaverageprice:
  4915. description: 期初均价
  4916. type: number
  4917. oribuyamount:
  4918. description: 期初采购总额
  4919. type: number
  4920. oribuyqty:
  4921. description: 期初采购总量
  4922. type: number
  4923. oriqty:
  4924. description: 期初量
  4925. type: number
  4926. orisellamount:
  4927. description: 期初销售总额
  4928. type: number
  4929. orisellqty:
  4930. description: 期初销售总量
  4931. type: number
  4932. reckondate:
  4933. description: 日照时期(yyyyMMdd)
  4934. type: string
  4935. spotgoodsbrandid:
  4936. description: 现货品牌ID
  4937. type: integer
  4938. todaybuyamount:
  4939. description: 今日采购额(今采购额)
  4940. type: number
  4941. todaybuyaverageprice:
  4942. description: 期初均价
  4943. type: number
  4944. todaybuyqty:
  4945. description: 今日采购量(今采购量)
  4946. type: number
  4947. todayinqty:
  4948. description: 今日入库量(今入库量)
  4949. type: number
  4950. todayoutqty:
  4951. description: 今日出库量(今出库量)
  4952. type: number
  4953. todaysellamount:
  4954. description: 今日销售额(今销售额)
  4955. type: number
  4956. todaysellaverageprice:
  4957. description: 期初均价
  4958. type: number
  4959. todaysellqty:
  4960. description: 今日销售量(今销售量)
  4961. type: number
  4962. unitid:
  4963. description: 品类单位id
  4964. type: integer
  4965. unitidname:
  4966. description: 品类单位名称
  4967. type: string
  4968. updatetime:
  4969. description: 更新时间
  4970. type: string
  4971. wrfactortypeid:
  4972. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4973. type: integer
  4974. wrstandardcode:
  4975. description: 现货商品(品类)代码
  4976. type: string
  4977. wrstandardid:
  4978. description: 现货品类ID
  4979. type: integer
  4980. wrstandardname:
  4981. description: 现货商品(品类)名称
  4982. type: string
  4983. type: object
  4984. models.Ermcp3AreaStock:
  4985. properties:
  4986. brandname:
  4987. description: 品牌名称
  4988. type: string
  4989. curstock:
  4990. description: 期末库存量(今日量)
  4991. type: number
  4992. deliverygoodscode:
  4993. description: 现货品种代码
  4994. type: string
  4995. deliverygoodsid:
  4996. description: 现货品种id
  4997. type: integer
  4998. deliverygoodsname:
  4999. description: 现货品种名称
  5000. type: string
  5001. enumdicname:
  5002. description: 单位名称
  5003. type: string
  5004. goodsunitid:
  5005. description: 现货商品单位id
  5006. type: integer
  5007. oristock:
  5008. description: 期初库存量(昨日量)
  5009. type: number
  5010. spotgoodsbrandid:
  5011. description: 现货品牌ID
  5012. type: integer
  5013. todaybuyinqty:
  5014. description: 今日采购入库量
  5015. type: number
  5016. todayproduceinqty:
  5017. description: 今日生产入库量
  5018. type: number
  5019. todayproduceoutqty:
  5020. description: 今日生产出库量
  5021. type: number
  5022. todayselloutqty:
  5023. description: 今日销售出库量
  5024. type: number
  5025. unitid:
  5026. description: 单位id
  5027. type: integer
  5028. updatetime:
  5029. description: 更新时间
  5030. type: string
  5031. userid:
  5032. description: 机构ID
  5033. type: integer
  5034. username:
  5035. description: 机构名称
  5036. type: string
  5037. warehousecode:
  5038. description: 仓库代码
  5039. type: string
  5040. warehouseinfoid:
  5041. description: 仓库ID
  5042. type: string
  5043. warehousename:
  5044. description: 仓库名称
  5045. type: string
  5046. warehousetype:
  5047. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5048. type: integer
  5049. wrstandardcode:
  5050. description: 品类代码
  5051. type: string
  5052. wrstandardid:
  5053. description: 品类ID
  5054. type: string
  5055. wrstandardname:
  5056. description: 品类名称
  5057. type: string
  5058. required:
  5059. - userid
  5060. type: object
  5061. models.Ermcp3AreaStockApply:
  5062. properties:
  5063. applyid:
  5064. description: 申请人
  5065. type: integer
  5066. applyname:
  5067. description: 申请人名称
  5068. type: string
  5069. applyremark:
  5070. description: 申请备注
  5071. type: string
  5072. applysrc:
  5073. description: 申请来源 - 1:管理端 2:终端
  5074. type: integer
  5075. applystatus:
  5076. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5077. type: integer
  5078. applytime:
  5079. description: 申请时间
  5080. type: string
  5081. auditid:
  5082. description: 审核人
  5083. type: integer
  5084. auditname:
  5085. description: 审核人名称
  5086. type: string
  5087. auditremark:
  5088. description: 审核备注
  5089. type: string
  5090. auditsrc:
  5091. description: 审核来源 - 1:管理端 2:终端
  5092. type: integer
  5093. audittime:
  5094. description: 审核时间
  5095. type: string
  5096. audittradedate:
  5097. description: 审核交易日(yyyyMMdd)
  5098. type: string
  5099. brandname:
  5100. description: 品牌名称
  5101. type: string
  5102. buynickname:
  5103. description: 采购方昵称
  5104. type: string
  5105. buyuserid:
  5106. description: 采购方userid
  5107. type: integer
  5108. buyusername:
  5109. description: 采购方名称
  5110. type: string
  5111. contractno:
  5112. description: 合同编号
  5113. type: string
  5114. contractqty:
  5115. description: 合同量
  5116. type: number
  5117. contracttype:
  5118. description: 现货合同类型 - 1:采购 -1:销售
  5119. type: integer
  5120. deliverygoodscode:
  5121. description: 现货品种代码
  5122. type: string
  5123. deliverygoodsid:
  5124. description: 现货品种id
  5125. type: integer
  5126. deliverygoodsname:
  5127. description: 现货品种名称
  5128. type: string
  5129. detailjson:
  5130. description: 明细数据
  5131. type: string
  5132. enumdicname:
  5133. description: 现货商品单位名称
  5134. type: string
  5135. inoutapplyid:
  5136. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5137. type: string
  5138. inouttype:
  5139. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5140. type: integer
  5141. pricetype:
  5142. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5143. type: integer
  5144. qty:
  5145. description: 数量
  5146. type: number
  5147. sellnickname:
  5148. description: 销售方昵称
  5149. type: string
  5150. selluserid:
  5151. description: 销售方userid
  5152. type: integer
  5153. sellusername:
  5154. description: 销售方名称
  5155. type: string
  5156. spotcontractid:
  5157. description: 关联现货合同ID
  5158. type: string
  5159. spotgoodsbrandid:
  5160. description: 现货品牌ID
  5161. type: integer
  5162. unitid:
  5163. description: 单位id
  5164. type: integer
  5165. userid:
  5166. description: 机构ID
  5167. type: integer
  5168. warehousecode:
  5169. description: 仓库代码
  5170. type: string
  5171. warehouseinfoid:
  5172. description: 现货仓库ID
  5173. type: string
  5174. warehousename:
  5175. description: 仓库名称
  5176. type: string
  5177. warehousetype:
  5178. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5179. type: integer
  5180. wrstandardcode:
  5181. description: 品类代码
  5182. type: string
  5183. wrstandardid:
  5184. description: 品类ID
  5185. type: integer
  5186. wrstandardname:
  5187. description: 品类名称
  5188. type: string
  5189. type: object
  5190. models.Ermcp3AreaStockApplySum:
  5191. properties:
  5192. brandname:
  5193. description: 品牌名称
  5194. type: string
  5195. inouttype:
  5196. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5197. type: integer
  5198. spotcontractid:
  5199. description: 关联现货合同ID
  5200. type: string
  5201. spotgoodsbrandid:
  5202. description: 品牌id
  5203. type: integer
  5204. totalqty:
  5205. description: 总数量
  5206. type: number
  5207. wrstandardid:
  5208. description: 品类id
  5209. type: integer
  5210. wrstandardname:
  5211. description: 品类名称
  5212. type: string
  5213. type: object
  5214. models.Ermcp3AreaStockReportEx:
  5215. properties:
  5216. begindate:
  5217. description: 开始交易日
  5218. type: string
  5219. brandname:
  5220. description: 品牌名称
  5221. type: string
  5222. curstock:
  5223. description: 期末库存量
  5224. type: number
  5225. cycletime:
  5226. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5227. type: string
  5228. cycletype:
  5229. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5230. type: integer
  5231. deliverygoodscode:
  5232. description: 现货品种代码
  5233. type: string
  5234. deliverygoodsid:
  5235. description: 现货品种id
  5236. type: integer
  5237. deliverygoodsname:
  5238. description: 现货品种名称
  5239. type: string
  5240. diffqty:
  5241. description: 库存变化量 = 期末 - 期初
  5242. type: number
  5243. enddate:
  5244. description: 结束交易日
  5245. type: string
  5246. enumdicname:
  5247. description: 单位名称
  5248. type: string
  5249. goodsunitid:
  5250. description: 现货单位id
  5251. type: integer
  5252. oristock:
  5253. description: 期初库存量
  5254. type: number
  5255. reckondate:
  5256. description: 日照时期(yyyyMMdd)
  5257. type: string
  5258. spotgoodsbrandid:
  5259. description: 现货品牌ID
  5260. type: integer
  5261. todaybuyinqty:
  5262. description: 今采购入库量
  5263. type: number
  5264. todayproduceinqty:
  5265. description: 今内部入库量
  5266. type: number
  5267. todayproduceoutqty:
  5268. description: 今内部出库量
  5269. type: number
  5270. todayselloutqty:
  5271. description: 今销售出库量
  5272. type: number
  5273. unbuyinqty:
  5274. description: 采购未入库量(数据库未找到相关字段?)
  5275. type: number
  5276. unitid:
  5277. description: 品类单位id
  5278. type: integer
  5279. unselloutqty:
  5280. description: 销售未出库量(数据库未找到相关字段?)
  5281. type: number
  5282. updatetime:
  5283. description: 更新时间
  5284. type: string
  5285. userid:
  5286. description: 机构ID
  5287. type: integer
  5288. username:
  5289. description: 机构名称
  5290. type: string
  5291. warehousecode:
  5292. description: 仓库代码
  5293. type: string
  5294. warehouseinfoid:
  5295. description: 仓库ID
  5296. type: string
  5297. warehousename:
  5298. description: 仓库名称
  5299. type: string
  5300. warehousetype:
  5301. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5302. type: integer
  5303. wrstandardcode:
  5304. description: 品类代码
  5305. type: string
  5306. wrstandardid:
  5307. description: 品类ID
  5308. type: integer
  5309. wrstandardname:
  5310. description: 品类名称
  5311. type: string
  5312. type: object
  5313. models.Ermcp3ArealSumPL:
  5314. properties:
  5315. accountname:
  5316. description: 机构名称
  5317. type: string
  5318. areauserid:
  5319. description: 所属机构\交易用户ID
  5320. type: integer
  5321. begindate:
  5322. description: 开始交易日
  5323. type: string
  5324. currencyid:
  5325. description: 结算币种ID
  5326. type: integer
  5327. currencyname:
  5328. description: 币种名称
  5329. type: string
  5330. cycletime:
  5331. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5332. type: string
  5333. cycletype:
  5334. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5335. type: integer
  5336. enddate:
  5337. description: 结束交易日
  5338. type: string
  5339. enumdicname:
  5340. description: 单位名称(套保品种)
  5341. type: string
  5342. futureactualpl:
  5343. description: 期货损益
  5344. type: number
  5345. futurefloatpl:
  5346. description: 期货浮动损益
  5347. type: number
  5348. futurespotratio:
  5349. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5350. type: number
  5351. goodsunitid:
  5352. description: 套保品种单位id
  5353. type: integer
  5354. hedgeexposurepl:
  5355. description: 套保敞口损益
  5356. type: number
  5357. middlegoodscode:
  5358. description: 套保品种代码
  5359. type: string
  5360. middlegoodsid:
  5361. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5362. type: integer
  5363. middlegoodsname:
  5364. description: 套保品种名称
  5365. type: string
  5366. reckondate:
  5367. description: 日照时期(yyyyMMdd)
  5368. type: string
  5369. spotactualpl:
  5370. description: 现货损益
  5371. type: number
  5372. spotfloatpl:
  5373. description: 现货浮动损益
  5374. type: number
  5375. sumactualpl:
  5376. description: 实际损益 = (ActualPL + FutureActualPL)
  5377. type: number
  5378. sumpl:
  5379. description: 总敞口损益 | 汇总损益
  5380. type: number
  5381. totalfutureqty:
  5382. description: 期货头寸总量
  5383. type: number
  5384. totalneedhedgeqty:
  5385. description: 应套保总量
  5386. type: number
  5387. totalspotqty:
  5388. description: 现货头寸总量
  5389. type: number
  5390. updatetime:
  5391. description: 更新时间
  5392. type: string
  5393. type: object
  5394. models.Ermcp3Brand:
  5395. properties:
  5396. areauserid:
  5397. description: 用户id
  5398. type: integer
  5399. brandid:
  5400. description: 品牌id
  5401. type: integer
  5402. brandname:
  5403. description: 品牌名称
  5404. type: string
  5405. deliverygoodsid:
  5406. description: 品种ID
  5407. type: integer
  5408. isvalid:
  5409. description: 是否有效
  5410. type: integer
  5411. type: object
  5412. models.Ermcp3Contract:
  5413. properties:
  5414. accountid:
  5415. description: 期货账户id
  5416. type: string
  5417. amount:
  5418. description: 金额 [1:一口价、3:暂定价]
  5419. type: number
  5420. attachment:
  5421. description: 附件
  5422. type: string
  5423. auditremark:
  5424. description: 审核意见
  5425. type: string
  5426. audittime:
  5427. description: 审核时间
  5428. type: string
  5429. biztype:
  5430. description: 业务类型 1-套保 2-套利
  5431. type: integer
  5432. brandname:
  5433. description: 品牌名称
  5434. type: string
  5435. buynickname:
  5436. description: 销售方昵称
  5437. type: string
  5438. buyuserid:
  5439. description: 采购方ID
  5440. type: integer
  5441. buyusername:
  5442. description: 采购方名称
  5443. type: string
  5444. contracctstatus:
  5445. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5446. type: integer
  5447. contractmargin:
  5448. description: 合同保证金
  5449. type: number
  5450. contractno:
  5451. description: 现货合同编号
  5452. type: string
  5453. contracttype:
  5454. description: 现货合同类型 - 1:采购 -1:销售
  5455. type: integer
  5456. convertfactor:
  5457. description: 标仓系数(品类)
  5458. type: number
  5459. createtime:
  5460. description: 创建时间
  5461. type: string
  5462. currencyid:
  5463. description: 币种id
  5464. type: integer
  5465. currencyname:
  5466. description: 币种名称
  5467. type: string
  5468. deliveryenddate:
  5469. description: 交收期(结束)
  5470. type: string
  5471. deliverygoodscode:
  5472. description: 现货品种代码
  5473. type: string
  5474. deliverygoodsid:
  5475. description: 现货品种ID
  5476. type: integer
  5477. deliverygoodsname:
  5478. description: 现货品种名称
  5479. type: string
  5480. deliverystartdate:
  5481. description: 交收期(开始)
  5482. type: string
  5483. enddate:
  5484. description: 点价结束日期 [2:点价 3:暂定价]
  5485. type: string
  5486. enumdicname:
  5487. description: 单位名称
  5488. type: string
  5489. goodscode:
  5490. description: 点价合约代码
  5491. type: string
  5492. goodsid:
  5493. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5494. type: integer
  5495. goodsname:
  5496. description: 点价商品名称
  5497. type: string
  5498. margin:
  5499. description: 当前保证金
  5500. type: number
  5501. meruserid:
  5502. description: 跟单员id
  5503. type: integer
  5504. meruserlogincode:
  5505. description: 跟单员登录代码
  5506. type: string
  5507. merusername:
  5508. description: 跟单员名称
  5509. type: string
  5510. pointdesc:
  5511. description: 点价备注
  5512. type: string
  5513. price:
  5514. description: 价格\暂定价 [1:一口价、3:暂定价]
  5515. type: number
  5516. pricemove:
  5517. description: 升贴水 [2:点价 3:暂定价]
  5518. type: number
  5519. pricetype:
  5520. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5521. type: integer
  5522. producttype:
  5523. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5524. type: integer
  5525. qty:
  5526. description: 数量
  5527. type: number
  5528. remark:
  5529. description: 备注
  5530. type: string
  5531. saleuserid:
  5532. description: 业务员id
  5533. type: integer
  5534. saleuserlogincode:
  5535. description: 业务员登录代码
  5536. type: string
  5537. saleusername:
  5538. description: 业务员名称
  5539. type: string
  5540. sellnickname:
  5541. description: 采购方昵称
  5542. type: string
  5543. selluserid:
  5544. description: 销售方ID
  5545. type: integer
  5546. sellusername:
  5547. description: 销售方名称
  5548. type: string
  5549. spotcontractid:
  5550. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5551. type: string
  5552. spotgoodsbrandid:
  5553. description: 现货品牌ID(DGFactoryItem表的ID)
  5554. type: integer
  5555. spotgoodsdesc:
  5556. description: 商品型号
  5557. type: string
  5558. startdate:
  5559. description: 点价开始日期 [2:点价 3:暂定价]
  5560. type: string
  5561. subjectid:
  5562. description: 交易主体ID
  5563. type: integer
  5564. subjectname:
  5565. description: 交易主体名称
  5566. type: string
  5567. tradeuserid:
  5568. description: 交易员id
  5569. type: integer
  5570. tradeuserlogincode:
  5571. description: 交易员登录代码
  5572. type: string
  5573. tradeusername:
  5574. description: 交易员名称
  5575. type: string
  5576. unitid:
  5577. description: 单位id(取品类上的单位id)
  5578. type: integer
  5579. updatetime:
  5580. description: 更新时间
  5581. type: string
  5582. userid:
  5583. description: 所属机构ID
  5584. type: integer
  5585. vatrate:
  5586. description: 增值税率
  5587. type: number
  5588. wrstandardcode:
  5589. description: 品类代码
  5590. type: string
  5591. wrstandardid:
  5592. description: 品类ID
  5593. type: integer
  5594. wrstandardname:
  5595. description: 品类名称
  5596. type: string
  5597. type: object
  5598. models.Ermcp3ContractMiddleGoodsCfg:
  5599. properties:
  5600. agreeunit:
  5601. description: 合约乘数
  5602. type: number
  5603. convertratio:
  5604. description: 期货品种系数
  5605. type: number
  5606. covertqty:
  5607. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5608. type: integer
  5609. middlegoodsid:
  5610. description: 套保品种ID
  5611. type: integer
  5612. middlegoodspricedqty3:
  5613. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5614. example: "0"
  5615. type: string
  5616. pendingpricedqty:
  5617. description: 待点价量
  5618. example: "0"
  5619. type: string
  5620. relatedmiddlegoodsqty:
  5621. description: 已关联量(套保品种-期货)
  5622. example: "0"
  5623. type: string
  5624. spotcontractid:
  5625. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5626. type: string
  5627. type: object
  5628. models.Ermcp3ExposureContractDetail:
  5629. properties:
  5630. biztype:
  5631. description: 业务类型 1-套保 2-套利
  5632. type: integer
  5633. brandname:
  5634. description: 品牌名称
  5635. type: string
  5636. buyuserid:
  5637. description: 采购方id
  5638. type: integer
  5639. buyusername:
  5640. description: 采购方名称
  5641. type: string
  5642. contractno:
  5643. description: 合同编号
  5644. type: string
  5645. contracttype:
  5646. description: 现货合同类型 - 1:采购 -1:销售
  5647. type: integer
  5648. convertfactor:
  5649. description: 标仓系数
  5650. type: number
  5651. convertratio:
  5652. description: 折算系数(套保品种)
  5653. type: number
  5654. curqty:
  5655. description: 今定价量
  5656. type: number
  5657. deliverygoodscode:
  5658. description: 现货品种代码
  5659. type: string
  5660. deliverygoodsid:
  5661. description: 现货品种id
  5662. type: integer
  5663. deliverygoodsname:
  5664. description: 现货品种名称
  5665. type: string
  5666. diffhedgeqty:
  5667. description: 套保变动量
  5668. type: number
  5669. diffneedhedgeqty:
  5670. description: 应套保变动量
  5671. type: number
  5672. diffqty:
  5673. description: 套保品种今变动量
  5674. type: number
  5675. enumdicname:
  5676. description: 单位名称
  5677. type: string
  5678. mgunitname:
  5679. description: 套保品种单位名称
  5680. type: string
  5681. middlegoodscode:
  5682. description: 套保品种代码
  5683. type: string
  5684. middlegoodsid:
  5685. description: 套保品种id
  5686. type: integer
  5687. middlegoodsname:
  5688. description: 套保品种名称
  5689. type: string
  5690. needarbitrageratio:
  5691. description: 应套利比例
  5692. type: number
  5693. needhedgeratio:
  5694. description: 应套保比例
  5695. type: number
  5696. pricedqty:
  5697. description: 已定价量
  5698. type: number
  5699. qty:
  5700. description: 合同量
  5701. type: number
  5702. reckondate:
  5703. description: 交易日(reckondate)
  5704. type: string
  5705. selluserid:
  5706. description: 销售方id
  5707. type: integer
  5708. sellusername:
  5709. description: 销售方名称
  5710. type: string
  5711. spotcontractid:
  5712. description: 合同id
  5713. type: string
  5714. todaypricedqty:
  5715. description: 今定价量
  5716. type: number
  5717. tradedate:
  5718. description: 交易日
  5719. type: string
  5720. unitid:
  5721. description: 品类单位id
  5722. type: integer
  5723. userid:
  5724. description: 机构id
  5725. type: integer
  5726. username:
  5727. description: 交易用户
  5728. type: string
  5729. wrstandardcode:
  5730. description: 现货商品代码
  5731. type: string
  5732. wrstandardid:
  5733. description: 现货商品id
  5734. type: integer
  5735. wrstandardname:
  5736. description: 现货商品名称
  5737. type: string
  5738. type: object
  5739. models.Ermcp3ExposureDetail:
  5740. properties:
  5741. areauserid:
  5742. description: 机构ID
  5743. type: integer
  5744. changeQty:
  5745. description: 套保变动量
  5746. type: number
  5747. contracttype:
  5748. description: 现货合同类型 - 1:采购 -1:销售
  5749. type: integer
  5750. convertfactor:
  5751. description: 标仓系数
  5752. type: number
  5753. convertratio:
  5754. description: 折算系数
  5755. type: number
  5756. createtime:
  5757. description: 时间
  5758. type: string
  5759. enumdicname:
  5760. description: 现货商品单位名称
  5761. type: string
  5762. logtype:
  5763. description: 类型 - 1:套保计划 2:现货合同
  5764. type: integer
  5765. mgunitid:
  5766. description: 套保品种单位id
  5767. type: integer
  5768. mgunitidname:
  5769. description: 套保品种单位名称
  5770. type: string
  5771. middlegoodsId:
  5772. description: 套保商品id
  5773. type: integer
  5774. middlegoodscode:
  5775. description: 套保商品代码
  5776. type: string
  5777. middlegoodsname:
  5778. description: 套保商品名称
  5779. type: string
  5780. qty:
  5781. description: 数量
  5782. type: number
  5783. relateNo:
  5784. description: 现货合同/套保计划编号
  5785. type: string
  5786. unitid:
  5787. description: 现货商品单位id
  5788. type: integer
  5789. wrstandardcode:
  5790. description: 现货商品代码
  5791. type: string
  5792. wrstandardid:
  5793. description: 现货商品ID(SEQ_WRSTANDARD)
  5794. type: integer
  5795. wrstandardname:
  5796. description: 现货商品名称
  5797. type: string
  5798. type: object
  5799. models.Ermcp3ExposureFutuDetail:
  5800. properties:
  5801. accountid:
  5802. description: 交易账户id
  5803. type: integer
  5804. accountname:
  5805. description: 交易账户
  5806. type: string
  5807. begindate:
  5808. description: 开始交易日
  5809. type: string
  5810. buyorsell:
  5811. description: 方向 0-买 1-卖
  5812. type: integer
  5813. diffmgqty:
  5814. description: 套保品种今变化量
  5815. type: number
  5816. diffneedqty:
  5817. description: 应套保总量变化量
  5818. type: number
  5819. difftradeqty:
  5820. description: 交易品种今变化量
  5821. type: number
  5822. enddate:
  5823. description: 结束交易日
  5824. type: string
  5825. enumdicname:
  5826. description: 单位名称
  5827. type: string
  5828. goodscode:
  5829. description: 商品代码
  5830. type: string
  5831. goodsid:
  5832. description: 商品id
  5833. type: integer
  5834. goodsname:
  5835. description: 商品名称
  5836. type: string
  5837. holdqty:
  5838. description: 期末持仓量
  5839. type: number
  5840. middlegoodscode:
  5841. description: 套保商品代码
  5842. type: string
  5843. middlegoodsid:
  5844. description: 套保商品id
  5845. type: integer
  5846. middlegoodsname:
  5847. description: 套保商品名称
  5848. type: string
  5849. oriholdqty:
  5850. description: 期初持仓量
  5851. type: number
  5852. reckondate:
  5853. description: 交易日(RECKONDATE)
  5854. type: string
  5855. todaycloseqty:
  5856. description: 今平仓量
  5857. type: number
  5858. todayopenqty:
  5859. description: 今开仓量
  5860. type: number
  5861. tradedate:
  5862. description: 交易日(RECKONDATE)
  5863. type: string
  5864. username:
  5865. description: 用户名称(交易用户)
  5866. type: string
  5867. type: object
  5868. models.Ermcp3ExposureHedgeplanDetail:
  5869. properties:
  5870. biztype:
  5871. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5872. type: integer
  5873. changqty:
  5874. description: 应套保总量变化量
  5875. type: number
  5876. contracttype:
  5877. description: 计划类型 - 1:采购 -1:销售
  5878. type: integer
  5879. convertratio:
  5880. description: 折算系数(套保品种)
  5881. type: number
  5882. deliverygoodscode:
  5883. description: 现货商品代码
  5884. type: string
  5885. deliverygoodsid:
  5886. description: 现货商品id
  5887. type: integer
  5888. deliverygoodsname:
  5889. description: 现货商吕名称
  5890. type: string
  5891. dgunitid:
  5892. description: 现货商品单位id
  5893. type: integer
  5894. dgunitidname:
  5895. description: 单位名称(现货商品)
  5896. type: string
  5897. diffqty:
  5898. description: 套保品种今变动量
  5899. type: number
  5900. enumdicname:
  5901. description: 单位名称(品类)
  5902. type: string
  5903. hedgeplanid:
  5904. description: 套保计划id
  5905. type: string
  5906. hedgeplanno:
  5907. description: 套保计划名称
  5908. type: string
  5909. hedgeplanstatus:
  5910. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5911. type: integer
  5912. mgunitidname:
  5913. description: 单位名称(套保商品)
  5914. type: string
  5915. middlegoodscode:
  5916. description: 套保品种代码
  5917. type: string
  5918. middlegoodsid:
  5919. description: 套保品种id
  5920. type: integer
  5921. middlegoodsname:
  5922. description: 套保品种名称
  5923. type: string
  5924. needarbitrageratio:
  5925. description: 应套利比例
  5926. type: number
  5927. needhedgeratio:
  5928. description: 应套保比例
  5929. type: number
  5930. pricedqty:
  5931. description: 已定价量
  5932. type: number
  5933. qty:
  5934. description: 合同量
  5935. type: number
  5936. reckondate:
  5937. description: 交易日(reckondate)
  5938. type: string
  5939. tradedate:
  5940. description: 交易日(登记日)
  5941. type: string
  5942. unitid:
  5943. description: 品类单位id
  5944. type: integer
  5945. userid:
  5946. description: 机构id
  5947. type: integer
  5948. wrstandardcode:
  5949. description: 品类代码
  5950. type: string
  5951. wrstandardid:
  5952. description: 品类id
  5953. type: integer
  5954. wrstandardname:
  5955. description: 品类名称
  5956. type: string
  5957. type: object
  5958. models.Ermcp3ExposureParamChLog:
  5959. properties:
  5960. accountid:
  5961. description: 期货账户ID (作废, 默认为0)
  5962. type: integer
  5963. aftervalue:
  5964. description: 应套保\套利量变更后(调整后应套保总量)
  5965. type: number
  5966. areauserid:
  5967. description: 所属机构\交易用户ID
  5968. type: integer
  5969. beforevalue:
  5970. description: 应套保\套利量变更前(调整前应套保总量)
  5971. type: number
  5972. begindate:
  5973. description: 开始交易日
  5974. type: string
  5975. changelogtype:
  5976. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5977. type: integer
  5978. curvalue:
  5979. description: 当前套保\套利量(套保总量|套利总量)
  5980. type: number
  5981. diffvalue:
  5982. description: 应套保总量变化量
  5983. type: number
  5984. enddate:
  5985. description: 结束交易日
  5986. type: string
  5987. logdatetime:
  5988. description: 流水日期
  5989. type: string
  5990. logid:
  5991. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5992. type: string
  5993. middlegoodscode:
  5994. description: 套保品种代码
  5995. type: string
  5996. middlegoodsid:
  5997. description: 套保品种
  5998. type: integer
  5999. middlegoodsname:
  6000. description: 套保品种名称
  6001. type: string
  6002. paramaftervalue:
  6003. description: 参数变更后(调整后参数值)
  6004. type: number
  6005. parambeforevalue:
  6006. description: 参数变更前(调整前参数值)
  6007. type: number
  6008. reckondate:
  6009. description: 交易日(reckondate)
  6010. type: string
  6011. tradedate:
  6012. description: 交易日(yyyyMMdd)
  6013. type: string
  6014. type: object
  6015. models.Ermcp3ExpourseReport:
  6016. properties:
  6017. accountid:
  6018. description: 期货账户ID (作废, 默认为0)
  6019. type: integer
  6020. accountname:
  6021. description: 机构名称
  6022. type: string
  6023. arbitrageqty:
  6024. description: 套利量
  6025. type: number
  6026. areauserid:
  6027. description: 所属机构\交易用户ID
  6028. type: integer
  6029. begindate:
  6030. description: 开始交易日
  6031. type: string
  6032. buyfutureqty:
  6033. description: 买入期货数量
  6034. type: number
  6035. buyplanqty:
  6036. description: 采购计划数量
  6037. type: number
  6038. buypricedqty:
  6039. description: 采购合同已定价数量
  6040. type: number
  6041. cycletime:
  6042. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6043. type: string
  6044. cycletype:
  6045. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6046. type: integer
  6047. diffexposure:
  6048. description: 变动量(套保敞口)
  6049. type: number
  6050. difffutuqty:
  6051. description: 变动量(期货)
  6052. type: number
  6053. diffhedgeqty:
  6054. description: 变动量(现货应套保总量)
  6055. type: number
  6056. diffmgqtya:
  6057. description: 套保变动量
  6058. type: number
  6059. diffmgqtyb:
  6060. description: 套利变动量
  6061. type: number
  6062. diffneedqty:
  6063. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  6064. type: number
  6065. diffqty:
  6066. description: 变动量(总敞口)
  6067. type: number
  6068. diffspotqty:
  6069. description: 变动量(现货) | 除税变动量
  6070. type: number
  6071. enddate:
  6072. description: 结束交易日
  6073. type: string
  6074. enumdicname:
  6075. description: 单位名称
  6076. type: string
  6077. hedgeqty:
  6078. description: 套保量
  6079. type: number
  6080. mgneedhedgeratio:
  6081. description: 套保比例(套保品的)
  6082. type: number
  6083. middlegoodsid:
  6084. description: 套保品种ID
  6085. type: integer
  6086. middlegoodsname:
  6087. description: 套保商品名称
  6088. type: string
  6089. middlgoodscode:
  6090. description: 套保商品代码
  6091. type: string
  6092. needarbitrageqty:
  6093. description: 应套利量
  6094. type: number
  6095. needarbitrageratio:
  6096. description: 套利比例(套保品的)
  6097. type: number
  6098. needhedgeexposoure:
  6099. description: 应套保敞口(套保敞口)
  6100. type: number
  6101. needhedgeqty:
  6102. description: 应套保量
  6103. type: number
  6104. needhedgeratio:
  6105. description: 应套保敞口比例
  6106. type: number
  6107. needqty:
  6108. description: 应套总量 = 应套保量 + 应套利量
  6109. type: number
  6110. oriarbitrageqty:
  6111. description: 期初套利量
  6112. type: number
  6113. oribuyfutureqty:
  6114. description: 期初买入期货数量
  6115. type: number
  6116. oribuyplanqty:
  6117. description: 期初采购计划数量
  6118. type: number
  6119. oribuypricedqty:
  6120. description: 期初采购合同已定价数量
  6121. type: number
  6122. orihedgeqty:
  6123. description: 期初套保量
  6124. type: number
  6125. orineedarbitrageqty:
  6126. description: 期初应套利量
  6127. type: number
  6128. orineedhedgeexposoure:
  6129. description: 期初应套保敞口
  6130. type: number
  6131. orineedhedgeqty:
  6132. description: 期初应套保量
  6133. type: number
  6134. orisellfutureqty:
  6135. description: 期初卖出期货数量
  6136. type: number
  6137. orisellplanqty:
  6138. description: 期初销售计划数量
  6139. type: number
  6140. orisellpricedqty:
  6141. description: 期初销售合同已定价数量
  6142. type: number
  6143. oritotalexposure:
  6144. description: 期初实时总敞口
  6145. type: number
  6146. oritotalfutureqty:
  6147. description: 期初期货头寸总量
  6148. type: number
  6149. oritotalneedhedgeqty:
  6150. description: 期初应套保总量
  6151. type: number
  6152. oritotalspotqty:
  6153. description: 期初现货头寸总量
  6154. type: number
  6155. reckondate:
  6156. description: 日照时期(yyyyMMdd)
  6157. type: string
  6158. sellfutureqty:
  6159. description: 卖出期货数量
  6160. type: number
  6161. sellplanqty:
  6162. description: 销售计划数量
  6163. type: number
  6164. sellpricedqty:
  6165. description: 销售合同已定价数量
  6166. type: number
  6167. totalexposure:
  6168. description: 实时总敞口(总敞口)
  6169. type: number
  6170. totalfutureqty:
  6171. description: 期货头寸总量(期货总量)
  6172. type: number
  6173. totalhedgeratio:
  6174. description: 敞口比例
  6175. type: number
  6176. totalneedhedgeqty:
  6177. description: 应套保总量(现货应套保总量)
  6178. type: number
  6179. totalspotqty:
  6180. description: 现货头寸总量 | 除税总量
  6181. type: number
  6182. unitid:
  6183. description: 单位id
  6184. type: integer
  6185. updatetime:
  6186. description: 更新时间
  6187. type: string
  6188. type: object
  6189. models.Ermcp3FinanceReport:
  6190. properties:
  6191. accountname:
  6192. description: 机构名称
  6193. type: string
  6194. areauserid:
  6195. description: 所属机构\交易用户ID
  6196. type: integer
  6197. begindate:
  6198. description: 开始交易日
  6199. type: string
  6200. biztype:
  6201. description: 业务类型 - 1:套保 2:套利
  6202. type: integer
  6203. brandname:
  6204. description: 品牌名称
  6205. type: string
  6206. buypreinvoicedamount:
  6207. description: 采购预收票额(预收票额)
  6208. type: number
  6209. buyprepaidamount:
  6210. description: 采购预付款额(预付货款额)
  6211. type: number
  6212. buytodayinvoiceamount:
  6213. description: 采购今收票额(今收票额)
  6214. type: number
  6215. buytodayrefundamount:
  6216. description: 采购今收退款额(今收退款额)
  6217. type: number
  6218. buytodaysettleamount:
  6219. description: 采购今付款额(今付货款额)
  6220. type: number
  6221. buyuninvoicedamount:
  6222. description: 采购应收票额(应收票额)
  6223. type: number
  6224. buyunpaidamount:
  6225. description: 采购应付款额(应付货款额)
  6226. type: number
  6227. currencyid:
  6228. description: 结算币种ID
  6229. type: integer
  6230. currencyname:
  6231. description: 币种名称
  6232. type: string
  6233. cycletime:
  6234. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6235. type: string
  6236. cycletype:
  6237. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6238. type: integer
  6239. deliverygoodscode:
  6240. description: 现货品种代码
  6241. type: string
  6242. deliverygoodsid:
  6243. description: 现货品种ID
  6244. type: integer
  6245. deliverygoodsname:
  6246. description: 现货品种名称
  6247. type: string
  6248. enddate:
  6249. description: 结束交易日
  6250. type: string
  6251. reckondate:
  6252. description: 日照时期(yyyyMMdd)
  6253. type: string
  6254. sellpreinvoicedamount:
  6255. description: 销售预开票额(预开票额)
  6256. type: number
  6257. sellprepaidamount:
  6258. description: 销售预收款额(预收货款额)
  6259. type: number
  6260. selltodayinvoiceamount:
  6261. description: 销售今开票额(今开票额)
  6262. type: number
  6263. selltodayrefundamount:
  6264. description: 销售今付退款额(今付退款额)
  6265. type: number
  6266. selltodaysettleamount:
  6267. description: 销售今收款额(今收货款额)
  6268. type: number
  6269. selluninvoicedamount:
  6270. description: 销售应开票额(应开票额)
  6271. type: number
  6272. sellunpaidamount:
  6273. description: 销售应收款额(应收货款额)
  6274. type: number
  6275. spotgoodsbrandid:
  6276. description: 现货品牌ID
  6277. type: integer
  6278. todaypaysum:
  6279. description: 今付款合计
  6280. type: number
  6281. todayreceivesum:
  6282. description: 今收款合计
  6283. type: number
  6284. updatetime:
  6285. description: 更新时间
  6286. type: string
  6287. wrfactortypeid:
  6288. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6289. type: integer
  6290. wrstandardcode:
  6291. description: 品类代码
  6292. type: string
  6293. wrstandardid:
  6294. description: 现货商品ID
  6295. type: integer
  6296. wrstandardname:
  6297. description: 品类名称
  6298. type: string
  6299. type: object
  6300. models.Ermcp3GoodsGroup:
  6301. properties:
  6302. agreeunit:
  6303. description: 合约单位
  6304. type: number
  6305. areauserid:
  6306. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6307. type: integer
  6308. canshort:
  6309. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6310. type: integer
  6311. closepricemode:
  6312. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6313. type: integer
  6314. createtime:
  6315. description: 创建时间
  6316. type: string
  6317. creatorid:
  6318. description: 创建人
  6319. type: integer
  6320. currencyid:
  6321. description: 报价货币ID
  6322. type: integer
  6323. decimalplace:
  6324. description: 报价小数位
  6325. type: integer
  6326. enumdicname:
  6327. description: 单位名称
  6328. type: string
  6329. exchangefullname:
  6330. description: 交易所全称
  6331. type: string
  6332. excludecfg:
  6333. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6334. type: integer
  6335. exexchangecode:
  6336. description: 交易所代码
  6337. type: string
  6338. exexchangeid:
  6339. description: 外部交易所ID[通道交易]
  6340. type: integer
  6341. exexchangename:
  6342. description: 交易所名称
  6343. type: string
  6344. goodsgroupid:
  6345. description: 商品组ID(自增ID)
  6346. type: integer
  6347. goodsgroupname:
  6348. description: 商品组名称
  6349. type: string
  6350. goodsgroupstatus:
  6351. description: 商品组状态 - 1:正常 2:注销
  6352. type: integer
  6353. goodunitid:
  6354. description: 报价单位ID
  6355. type: integer
  6356. groupcategroyid:
  6357. description: 品种分类ID
  6358. type: integer
  6359. innerdealmode:
  6360. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6361. type: integer
  6362. marketid:
  6363. description: 所属市场ID
  6364. type: integer
  6365. modifierid:
  6366. description: 修改人
  6367. type: integer
  6368. modifytime:
  6369. description: 修改时间
  6370. type: string
  6371. outerdealmode:
  6372. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6373. type: integer
  6374. outergroupcode:
  6375. description: 外部商品组代码[通道交易]
  6376. type: string
  6377. quoteminunit:
  6378. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6379. type: integer
  6380. quotesourcegroupid:
  6381. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6382. type: integer
  6383. syncgoodsqty:
  6384. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6385. type: integer
  6386. required:
  6387. - areauserid
  6388. type: object
  6389. models.Ermcp3HPMiddleGoods:
  6390. properties:
  6391. biztype:
  6392. description: 业务类型 1:套保 2:套利
  6393. type: integer
  6394. contracttype:
  6395. description: 合同类型 1:采购 -1:销售
  6396. type: integer
  6397. convertratio:
  6398. description: 折算系数
  6399. type: number
  6400. customername:
  6401. description: 对手手名称
  6402. type: string
  6403. customeruserid:
  6404. description: 对手id
  6405. type: integer
  6406. enumdicname:
  6407. description: 现货单位名称
  6408. type: string
  6409. hedgeplanid:
  6410. description: 计划id
  6411. type: string
  6412. hedgeplanno:
  6413. description: 计划编号
  6414. type: string
  6415. middlegoodsid:
  6416. description: 套保品种ID
  6417. type: integer
  6418. middlegoodsplanqty3:
  6419. description: 应套保计划量
  6420. type: number
  6421. needhedgeratio:
  6422. description: 套保比例
  6423. type: number
  6424. pricedqty:
  6425. description: 已定价量
  6426. type: number
  6427. relatedmiddlegoodsqty:
  6428. description: 已关联量(套保品种)(期货)
  6429. type: number
  6430. unitid:
  6431. description: 现货单位id
  6432. type: integer
  6433. userid:
  6434. description: 用户id
  6435. type: integer
  6436. vatrate:
  6437. description: 增值税率
  6438. type: number
  6439. wrstandardcode:
  6440. description: 现货商品代码
  6441. type: string
  6442. wrstandardid:
  6443. description: 现货商品id
  6444. type: integer
  6445. wrstandardname:
  6446. description: 现货商品名称
  6447. type: string
  6448. type: object
  6449. models.Ermcp3HedgePlan:
  6450. properties:
  6451. accountid:
  6452. description: 资金账号
  6453. type: integer
  6454. areauserid:
  6455. description: 用户ID
  6456. type: integer
  6457. auditid:
  6458. description: 审核id
  6459. type: integer
  6460. auditname:
  6461. description: 审核人名称
  6462. type: string
  6463. auditremark:
  6464. description: 审核备注
  6465. type: string
  6466. auditsrc:
  6467. description: 审核来源 1-管理端 2-终端
  6468. type: integer
  6469. audittime:
  6470. description: 审核时间
  6471. type: string
  6472. contracttype:
  6473. description: 计划类型 - 1:采购 -1:销售
  6474. type: integer
  6475. convertfactor:
  6476. description: 标仓系数
  6477. type: number
  6478. createtime:
  6479. description: 创建时间
  6480. type: string
  6481. currencyid:
  6482. description: 币种id
  6483. type: integer
  6484. currencyname:
  6485. description: 币种名称
  6486. type: string
  6487. deliverygoodscode:
  6488. description: 现货品种代码
  6489. type: string
  6490. deliverygoodsid:
  6491. description: 现货品种ID
  6492. type: integer
  6493. deliverygoodsname:
  6494. description: 现货品种名称
  6495. type: string
  6496. enumdicname:
  6497. description: 单位名称(现货商品)
  6498. type: string
  6499. hedgeplanid:
  6500. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6501. type: string
  6502. hedgeplanno:
  6503. description: 套保计划编号(名称)
  6504. type: string
  6505. hedgeplanstatus:
  6506. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6507. type: integer
  6508. planqty:
  6509. description: 计划数量
  6510. type: number
  6511. plantime:
  6512. description: 计划时间
  6513. type: string
  6514. producttype:
  6515. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6516. type: integer
  6517. remark:
  6518. description: 备注
  6519. type: string
  6520. spotgoodsdesc:
  6521. description: 商品型号
  6522. type: string
  6523. taaccountname:
  6524. description: 资金账号名称
  6525. type: string
  6526. tradeuserid:
  6527. description: 交易用户id
  6528. type: integer
  6529. tradeusername:
  6530. description: 交易用户名称
  6531. type: string
  6532. unitid:
  6533. description: 单位id(现货商品)
  6534. type: integer
  6535. updatetime:
  6536. description: 更新时间
  6537. type: string
  6538. vatrate:
  6539. description: 增值税率
  6540. type: number
  6541. wrstandardcode:
  6542. description: 品类代码
  6543. type: string
  6544. wrstandardid:
  6545. description: 品类id
  6546. type: integer
  6547. wrstandardname:
  6548. description: 品类名称
  6549. type: string
  6550. wrunitid:
  6551. description: 品类单位id
  6552. type: integer
  6553. wrunitidame:
  6554. description: 品类单位名称
  6555. type: string
  6556. type: object
  6557. models.Ermcp3InnerTradeLink:
  6558. properties:
  6559. accountid:
  6560. description: 期货账号代码 | 资金账号ID
  6561. type: integer
  6562. buyorsell:
  6563. description: 方向 - 0:买 1:卖
  6564. type: integer
  6565. channelbuildtype:
  6566. description: 委托单据类型 0:无 1:建仓 2:平仓
  6567. type: integer
  6568. currencyid:
  6569. description: 币种id
  6570. type: integer
  6571. currencyname:
  6572. description: 结算币种 名称
  6573. type: string
  6574. goodscode:
  6575. description: 商品代码
  6576. type: string
  6577. goodsid:
  6578. description: 商品ID
  6579. type: integer
  6580. goodsname:
  6581. description: 商品名称
  6582. type: string
  6583. outtradeid:
  6584. description: 外部成交单号
  6585. type: string
  6586. taname:
  6587. description: 期货账户名称
  6588. type: string
  6589. tradeid:
  6590. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6591. type: string
  6592. tradeprice:
  6593. description: 成交价格
  6594. type: number
  6595. tradeqty:
  6596. description: 期货成交数量
  6597. type: integer
  6598. tradetime:
  6599. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6600. type: string
  6601. username:
  6602. description: 用户名称
  6603. type: string
  6604. type: object
  6605. models.Ermcp3OutTradeLink:
  6606. properties:
  6607. buyorsell:
  6608. description: 买卖方向 - 0:买 1:卖
  6609. type: integer
  6610. channelbuildtype:
  6611. description: 开平标志- 0:无 1:建仓 2:平仓
  6612. type: integer
  6613. currencyname:
  6614. description: 币种名称
  6615. type: string
  6616. exexchangecode:
  6617. description: 交易所代码
  6618. type: string
  6619. exexchangename:
  6620. description: 交易所名称
  6621. type: string
  6622. goodscode:
  6623. description: 合约代码
  6624. type: string
  6625. goodsid:
  6626. description: 合约id
  6627. type: integer
  6628. goodsname:
  6629. description: 合约名称
  6630. type: string
  6631. hasinnerorder:
  6632. description: 是否有内部单关联 - 0:无 1:有
  6633. type: integer
  6634. hedgeaccountcode:
  6635. description: 外部账号 | 对冲账号
  6636. type: string
  6637. outtradeid:
  6638. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6639. type: string
  6640. tradeprice:
  6641. description: 成交价格
  6642. type: number
  6643. tradeqty:
  6644. description: 成交数量
  6645. type: integer
  6646. tradetime:
  6647. description: 成交时间
  6648. type: string
  6649. type: object
  6650. models.Ermcp3PaAreaAuditCfg:
  6651. properties:
  6652. areauserid:
  6653. description: 用户ID
  6654. type: integer
  6655. buyinauditflag:
  6656. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6657. type: integer
  6658. costratioauditflag:
  6659. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6660. type: integer
  6661. customerauditflag:
  6662. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6663. type: integer
  6664. deliveryauditflag:
  6665. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6666. type: integer
  6667. invoiceauditflag:
  6668. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6669. type: integer
  6670. mgneedhedgeratioauditflag:
  6671. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6672. type: integer
  6673. moneyauditflag:
  6674. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6675. type: integer
  6676. operatorid:
  6677. description: 操作人
  6678. type: integer
  6679. operatorsrc:
  6680. description: 操作来源 - 1:管理端 2:终端
  6681. type: integer
  6682. pointpriceauditflag:
  6683. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6684. type: integer
  6685. produceinauditflag:
  6686. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6687. type: integer
  6688. produceoutauditflag:
  6689. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6690. type: integer
  6691. selloutauditflag:
  6692. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6693. type: integer
  6694. sgconvertratioauditflag:
  6695. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6696. type: integer
  6697. sgvtaratioauditflag:
  6698. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6699. type: integer
  6700. spotcontractauditflag:
  6701. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6702. type: integer
  6703. updatetime:
  6704. description: 更新时间
  6705. type: string
  6706. type: object
  6707. models.Ermcp3PaAreaSubject:
  6708. properties:
  6709. areauserid:
  6710. description: 所属机构
  6711. type: integer
  6712. canmodify:
  6713. description: 是否可修改 - 0:否 1:是
  6714. type: integer
  6715. createtime:
  6716. description: 创建时间
  6717. type: string
  6718. creatorid:
  6719. description: 创建人ID
  6720. type: string
  6721. creatorsrc:
  6722. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6723. type: integer
  6724. modifierid:
  6725. description: 修改人
  6726. type: string
  6727. modifiersrc:
  6728. description: 修改人来源 - 1:管理端 2:终端
  6729. type: integer
  6730. modifytime:
  6731. description: 修改时间
  6732. type: string
  6733. parentsubjectid:
  6734. description: 上级主体ID
  6735. type: string
  6736. remark:
  6737. description: 备注
  6738. type: string
  6739. subjectid:
  6740. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6741. type: integer
  6742. subjectname:
  6743. description: 主体名称
  6744. type: string
  6745. subjectstatus:
  6746. description: '主体状态 - 1:正常 2: 停用'
  6747. type: integer
  6748. subjecttype:
  6749. description: 主体类型 - 1:交易主体 2:业务部门
  6750. type: integer
  6751. type: object
  6752. models.Ermcp3PaTradeLink:
  6753. properties:
  6754. accountid:
  6755. description: 期货账户代码 | 账号ID
  6756. type: integer
  6757. agreeunit:
  6758. description: 合约乘数
  6759. type: number
  6760. buyorsell:
  6761. description: 方向 - 0:买 1:卖
  6762. type: integer
  6763. channelbuildtype:
  6764. description: 委托单据类型 0:无 1:建仓 2:平仓
  6765. type: integer
  6766. charge:
  6767. description: 手续费
  6768. type: number
  6769. closepl:
  6770. description: 平仓盈亏
  6771. type: number
  6772. closetype:
  6773. description: 平仓方式 - 0:无 1:平今 2:平昨
  6774. type: integer
  6775. convertratio:
  6776. description: 折算系数
  6777. type: number
  6778. enumdicname:
  6779. description: 单位名称
  6780. type: string
  6781. executeprice:
  6782. description: 执行价 [期权]
  6783. type: integer
  6784. goodscode:
  6785. description: 合约代码
  6786. type: string
  6787. goodsgroupid:
  6788. description: 对冲品种ID[期货合约商品组ID]
  6789. type: integer
  6790. goodsid:
  6791. description: 商品ID
  6792. type: integer
  6793. goodsname:
  6794. description: 合约名称
  6795. type: string
  6796. goodunitid:
  6797. description: 单位id
  6798. type: integer
  6799. hedgeflag:
  6800. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6801. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6802. type: integer
  6803. marketid:
  6804. description: 市场ID
  6805. type: integer
  6806. middlegoodsid:
  6807. description: 套保品种ID
  6808. type: integer
  6809. middlegoodsqty:
  6810. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6811. type: number
  6812. optioncode:
  6813. description: 期权代码 [期权]
  6814. type: string
  6815. ordertype:
  6816. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6817. type: integer
  6818. ordertypename:
  6819. description: 订单类型
  6820. type: string
  6821. parentaccountid:
  6822. description: 所属母账户
  6823. type: integer
  6824. premium:
  6825. description: 权利金 [期权]
  6826. type: number
  6827. relatedlot:
  6828. description: 已关联数量(已关联数量手) | db:关联手数
  6829. type: number
  6830. relatedouttradeid:
  6831. description: 关联外部成交单ID
  6832. type: string
  6833. relatedqty:
  6834. description: 关联数量
  6835. type: number
  6836. spotcontractid:
  6837. description: 现货合同ID [4:套期保值\10\11]
  6838. type: string
  6839. taname:
  6840. description: 期货账户名称
  6841. type: string
  6842. tradeamount:
  6843. description: 成交金额(账户)
  6844. type: number
  6845. tradedate:
  6846. description: 交易日(yyyyMMdd)
  6847. type: string
  6848. tradeid:
  6849. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6850. type: string
  6851. tradelot:
  6852. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6853. type: integer
  6854. tradeprice:
  6855. description: 成交价格
  6856. type: number
  6857. tradetime:
  6858. description: 时间 | db:成交时间
  6859. type: string
  6860. tradetype:
  6861. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6862. type: integer
  6863. userid:
  6864. description: 所属机构 - 所属母账户的UserID
  6865. type: string
  6866. username:
  6867. description: 用户名称
  6868. type: string
  6869. type: object
  6870. models.Ermcp3ParamChangeApp:
  6871. properties:
  6872. aftervalue:
  6873. description: 变更后
  6874. type: number
  6875. applicationid:
  6876. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6877. type: string
  6878. applyid:
  6879. description: 申请人
  6880. type: string
  6881. applyname:
  6882. description: 申请人名称(代码)
  6883. type: string
  6884. applyremark:
  6885. description: 申请备注
  6886. type: string
  6887. applysrc:
  6888. description: 申请来源 - 1:管理端 2:终端
  6889. type: integer
  6890. applystatus:
  6891. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6892. type: integer
  6893. applytime:
  6894. description: 申请时间
  6895. type: string
  6896. areauserid:
  6897. description: 所属机构用户ID
  6898. type: integer
  6899. auditid:
  6900. description: 审核人
  6901. type: string
  6902. auditname:
  6903. description: 审核人名称(代码)
  6904. type: string
  6905. auditremark:
  6906. description: 审核备注
  6907. type: string
  6908. auditsrc:
  6909. description: 审核来源 - 1:管理端 2:终端
  6910. type: integer
  6911. audittime:
  6912. description: 审核时间
  6913. type: string
  6914. audittradedate:
  6915. description: 审核交易日(yyyyMMdd)
  6916. type: string
  6917. beforevalue:
  6918. description: 变更前
  6919. type: number
  6920. deliverygoodscode:
  6921. description: 品种代码
  6922. type: string
  6923. deliverygoodsid:
  6924. description: 品种id
  6925. type: integer
  6926. deliverygoodsname:
  6927. description: 品种名称
  6928. type: string
  6929. middlegoodscode:
  6930. description: 套保品种代码
  6931. type: string
  6932. middlegoodsid:
  6933. description: 套保品种ID [ParamChangeType = 2,3,4]
  6934. type: integer
  6935. middlegoodsname:
  6936. description: 套保品种名称
  6937. type: string
  6938. operatetype:
  6939. description: 操作类型 - 1:新增 2:修改
  6940. type: integer
  6941. paramchangetype:
  6942. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6943. type: integer
  6944. wrstandardcode:
  6945. description: 现货商品代码
  6946. type: string
  6947. wrstandardid:
  6948. description: 现货商品ID [ParamChangeType = 1,2,3]
  6949. type: integer
  6950. wrstandardname:
  6951. description: 现货商品名称
  6952. type: string
  6953. type: object
  6954. models.Ermcp3RootUserAccount:
  6955. properties:
  6956. accountname:
  6957. description: 账户名称(机构名称)
  6958. type: string
  6959. accountstatus:
  6960. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6961. type: integer
  6962. applysrc:
  6963. description: 申请来源 - 1:管理端 2:终端
  6964. type: integer
  6965. auditremark:
  6966. description: 审核备注
  6967. type: string
  6968. auditsrc:
  6969. description: 审核来源 - 1:管理端 2:终端
  6970. type: integer
  6971. audittime:
  6972. description: 审核时间
  6973. type: string
  6974. audituserid:
  6975. description: 审核人
  6976. type: integer
  6977. broker:
  6978. description: 所属经纪人ID
  6979. type: integer
  6980. canceltime:
  6981. description: 销户时间
  6982. type: string
  6983. canceluserid:
  6984. description: 销户人
  6985. type: integer
  6986. canrecommend:
  6987. description: 是否可推荐 - 0:不可 1;可
  6988. type: integer
  6989. createtime:
  6990. description: 创建时间
  6991. type: string
  6992. creatorid:
  6993. description: 创建人
  6994. type: integer
  6995. hasauth:
  6996. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6997. type: integer
  6998. isanonymous:
  6999. description: 是否匿名下单 - 0:否 1:是
  7000. type: integer
  7001. maxinvestornum:
  7002. description: 最大用户数(经纪会员下投资者个数)
  7003. type: integer
  7004. memberuserid:
  7005. description: 所属会员ID
  7006. type: integer
  7007. modifierid:
  7008. description: 修改人
  7009. type: integer
  7010. modifyremark:
  7011. description: 变更备注
  7012. type: string
  7013. modifystatus:
  7014. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7015. type: integer
  7016. modifytime:
  7017. description: 修改时间
  7018. type: string
  7019. nickname:
  7020. description: 昵称
  7021. type: string
  7022. parenttopuser:
  7023. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  7024. type: string
  7025. parentuserid:
  7026. description: 所属机构ID
  7027. type: integer
  7028. reckonaccountid:
  7029. description: 默认结算资金账号ID(机构分润使用) 作废
  7030. type: integer
  7031. refercount:
  7032. description: 推荐总人数
  7033. type: integer
  7034. refereeuserid:
  7035. description: 推荐人ID
  7036. type: integer
  7037. refernum:
  7038. description: 推荐码
  7039. type: string
  7040. rootuserid:
  7041. description: 根用户ID
  7042. type: integer
  7043. subaccountlevel:
  7044. description: 子账户层数
  7045. type: integer
  7046. subarealevelpath:
  7047. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7048. type: string
  7049. userid:
  7050. description: 用户ID
  7051. type: integer
  7052. usertype:
  7053. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7054. type: integer
  7055. type: object
  7056. models.Ermcp3SCMiddleGoods:
  7057. properties:
  7058. biztype:
  7059. description: 业务类型 1:套保 2:套利
  7060. type: integer
  7061. contractno:
  7062. description: 合同编号
  7063. type: string
  7064. contracttype:
  7065. description: 合同类型 1:采购 -1:销售
  7066. type: integer
  7067. convertratio:
  7068. description: 折算系数
  7069. type: number
  7070. customername:
  7071. description: 对手手名称
  7072. type: string
  7073. customeruserid:
  7074. description: 对手id
  7075. type: integer
  7076. deliverygoodscode:
  7077. description: 现货品种代码
  7078. type: string
  7079. deliverygoodsid:
  7080. description: 现货品种ID
  7081. type: integer
  7082. deliverygoodsname:
  7083. description: 现货品种名称
  7084. type: string
  7085. enumdicname:
  7086. description: 现货单位名称
  7087. type: string
  7088. middlegoodsid:
  7089. description: 套保品种ID
  7090. type: integer
  7091. middlegoodspricedqty3:
  7092. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7093. type: number
  7094. needhedgeratio:
  7095. description: 套保比例
  7096. type: number
  7097. pricedqty:
  7098. description: 已定价量
  7099. type: number
  7100. relatedmiddlegoodsqty:
  7101. description: 已关联量(套保品种)(期货)
  7102. type: number
  7103. spotcontractid:
  7104. description: 合同编号
  7105. type: string
  7106. unitid:
  7107. description: 现货单位id
  7108. type: integer
  7109. userid:
  7110. description: 用户id
  7111. type: integer
  7112. vatrate:
  7113. description: 增值税率
  7114. type: number
  7115. wrstandardcode:
  7116. description: 现货商品代码
  7117. type: string
  7118. wrstandardid:
  7119. description: 现货商品id
  7120. type: integer
  7121. wrstandardname:
  7122. description: 现货商品名称
  7123. type: string
  7124. type: object
  7125. models.Ermcp3SCMiddleGoodsReport:
  7126. properties:
  7127. begindate:
  7128. description: 开始交易日
  7129. type: string
  7130. contractno:
  7131. description: 合同编号
  7132. type: string
  7133. contracttype:
  7134. description: 合同类型 1:采购 -1:销售
  7135. type: integer
  7136. convertratio:
  7137. description: 期初均价
  7138. type: number
  7139. cycletime:
  7140. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7141. type: string
  7142. cycletype:
  7143. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7144. type: integer
  7145. deliverygoodscode:
  7146. description: 品种代码
  7147. type: string
  7148. deliverygoodsid:
  7149. description: 现货品种ID
  7150. type: integer
  7151. deliverygoodsname:
  7152. description: 品种名称
  7153. type: string
  7154. diffprice:
  7155. description: 期初均价
  7156. type: number
  7157. diffqty:
  7158. description: 期初均价
  7159. type: number
  7160. enddate:
  7161. description: 结束交易日
  7162. type: string
  7163. hedgeplanqty:
  7164. description: 期初均价
  7165. type: number
  7166. matchname:
  7167. description: 交易对手方(个人:用户名称 企业:简称)
  7168. type: string
  7169. matchnickname:
  7170. description: 交易对手方昵称
  7171. type: string
  7172. middlegoodscode:
  7173. description: 套保品种代码
  7174. type: string
  7175. middlegoodsid:
  7176. description: 套保品种ID
  7177. type: integer
  7178. middlegoodsname:
  7179. description: 套保品种名称
  7180. type: string
  7181. middlegoodspricedqty:
  7182. description: 期初均价
  7183. type: number
  7184. middlegoodspricedqty2:
  7185. description: 期初均价
  7186. type: number
  7187. middlegoodspricedqty3:
  7188. description: 期初均价
  7189. type: number
  7190. needhedgeratio:
  7191. description: 期初均价
  7192. type: number
  7193. pricedamount:
  7194. description: 期初均价
  7195. type: number
  7196. pricedamount2:
  7197. description: 期初均价
  7198. type: number
  7199. pricedqty:
  7200. description: 期初均价
  7201. type: number
  7202. reckondate:
  7203. description: 日照时期(yyyyMMdd)
  7204. type: string
  7205. relatedmiddlegoodsamount:
  7206. description: 期初均价
  7207. type: number
  7208. relatedmiddlegoodsqty:
  7209. description: 期初均价
  7210. type: number
  7211. spotcontractid:
  7212. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7213. type: string
  7214. todayavgfutuprice:
  7215. description: 期初均价
  7216. type: number
  7217. todayavgprice:
  7218. description: 期初均价
  7219. type: number
  7220. todayavgprice2:
  7221. description: 期初均价
  7222. type: number
  7223. todaypricedamount:
  7224. description: 期初均价
  7225. type: number
  7226. todaypricedamount2:
  7227. description: 期初均价
  7228. type: number
  7229. todaypricedqty:
  7230. description: 期初均价
  7231. type: number
  7232. todayrelatedfutureqty:
  7233. description: 期初均价
  7234. type: number
  7235. todayrelatedmiddlegoodsamount:
  7236. description: 期初均价
  7237. type: number
  7238. todayrelatedmiddlegoodsqty:
  7239. description: 期初均价
  7240. type: number
  7241. updatetime:
  7242. description: 更新时间
  7243. type: string
  7244. userid:
  7245. description: 合同所属用户id
  7246. type: integer
  7247. vatrate:
  7248. description: 期初均价
  7249. type: number
  7250. wrstandardcode:
  7251. description: 商品(品类) 代码
  7252. type: string
  7253. wrstandardid:
  7254. description: 现货商品ID
  7255. type: integer
  7256. wrstandardname:
  7257. description: 商品(品类) 名称
  7258. type: string
  7259. type: object
  7260. models.Ermcp3SellBuyContract:
  7261. properties:
  7262. accountid:
  7263. description: 期货账户id
  7264. type: string
  7265. accountname:
  7266. description: 账户名称
  7267. type: string
  7268. attachment:
  7269. description: 附件
  7270. type: string
  7271. audittime:
  7272. description: 审核时间
  7273. type: string
  7274. bizsubjectid:
  7275. description: 归属业务部门ID - SubjectID
  7276. type: integer
  7277. biztype:
  7278. description: 业务类型 1-套保 2-套利
  7279. type: integer
  7280. brandname:
  7281. description: 品牌名称
  7282. type: string
  7283. contracctstatus:
  7284. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7285. type: integer
  7286. contractmargin:
  7287. description: 合同保证金
  7288. type: number
  7289. contractno:
  7290. description: 合同编号
  7291. type: string
  7292. contracttype:
  7293. description: 合同类型 1-采购, -1-销售
  7294. type: integer
  7295. convertfactor:
  7296. description: 标仓系数(品类)
  7297. type: number
  7298. createtime:
  7299. description: 创建时间
  7300. type: string
  7301. currencyid:
  7302. description: 币种id
  7303. type: integer
  7304. currencyname:
  7305. description: 币种名称
  7306. type: string
  7307. daikaiamount:
  7308. description: 应收(开)票额 | 未收票额
  7309. type: number
  7310. deliveryenddate:
  7311. description: 交割结束日
  7312. type: string
  7313. deliverygoodscode:
  7314. description: 现货品种代码
  7315. type: string
  7316. deliverygoodsid:
  7317. description: 现货商品ID
  7318. type: integer
  7319. deliverygoodsname:
  7320. description: 现货品种名称
  7321. type: string
  7322. deliverystartdate:
  7323. description: 交割开始日
  7324. type: string
  7325. enddate:
  7326. description: 点价结束日
  7327. type: string
  7328. enumdicname:
  7329. description: 单位名称
  7330. type: string
  7331. goodscode:
  7332. description: 点价商品代码
  7333. type: string
  7334. goodsgroupid:
  7335. description: 点价商品组id
  7336. type: integer
  7337. goodsid:
  7338. description: 点价商品ID
  7339. type: integer
  7340. goodsname:
  7341. description: 点价商品名称
  7342. type: string
  7343. invoiceamount:
  7344. description: 已开票额
  7345. type: number
  7346. loanamount:
  7347. description: 贷款总额=已定价额+调整金额
  7348. type: number
  7349. margin:
  7350. description: 保证金
  7351. type: number
  7352. meruserid:
  7353. description: 跟单员id
  7354. type: integer
  7355. meruserlogincode:
  7356. description: 跟单员登录代码
  7357. type: string
  7358. merusername:
  7359. description: 跟单员名称
  7360. type: string
  7361. nickname:
  7362. description: 账户昵称
  7363. type: string
  7364. orireckonrealqty:
  7365. description: 应交收量
  7366. type: number
  7367. payamount:
  7368. description: 已收付额(收款或付款)
  7369. type: number
  7370. preinvoiceamount:
  7371. description: 预收(开)票额
  7372. type: number
  7373. prepayamount:
  7374. description: 预收付额
  7375. type: number
  7376. price:
  7377. description: 价格
  7378. type: number
  7379. pricedamount:
  7380. description: 已定价额
  7381. type: number
  7382. pricedavg:
  7383. description: 已点均价
  7384. type: number
  7385. pricedqty:
  7386. description: 已定价量
  7387. type: number
  7388. pricemove:
  7389. description: 升贴水
  7390. type: number
  7391. pricetype:
  7392. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7393. type: integer
  7394. producttype:
  7395. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7396. type: integer
  7397. qty:
  7398. description: 合同量
  7399. type: number
  7400. reckonadjustamount:
  7401. description: 调整金额
  7402. type: number
  7403. reckonedamount:
  7404. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7405. type: number
  7406. reckonotheramount:
  7407. description: 其它费用
  7408. type: number
  7409. reckonrealqty:
  7410. description: 已交收量
  7411. type: number
  7412. remark:
  7413. description: 备注
  7414. type: string
  7415. saleuserid:
  7416. description: 业务员id
  7417. type: integer
  7418. saleuserlogincode:
  7419. description: 业务员登录代码
  7420. type: string
  7421. saleusername:
  7422. description: 业务员名称
  7423. type: string
  7424. spotcontractid:
  7425. description: 合同ID
  7426. type: string
  7427. spotgoodsbrandid:
  7428. description: 现货品牌ID(DGFactoryItem表的ID)
  7429. type: integer
  7430. spotgoodsdesc:
  7431. description: 商品型号(商品规格)
  7432. type: string
  7433. startdate:
  7434. description: 点价开始日
  7435. type: string
  7436. subjectid:
  7437. description: 交易主体ID
  7438. type: integer
  7439. subjectname:
  7440. description: 交易主体名称
  7441. type: string
  7442. totalamount:
  7443. description: 合计总额
  7444. type: number
  7445. tradeuserid:
  7446. description: 交易员id
  7447. type: integer
  7448. tradeuserlogincode:
  7449. description: 交易员登录代码
  7450. type: string
  7451. tradeusername:
  7452. description: 交易员名称
  7453. type: string
  7454. unpayamount:
  7455. description: 应收付款额(应支付或应收款) | 未付款额
  7456. type: number
  7457. unpricedqty:
  7458. description: 未定价量
  7459. type: number
  7460. unsureqty:
  7461. description: 未确定量 | 未交收量
  7462. type: number
  7463. userid:
  7464. description: 机构ID
  7465. type: integer
  7466. vatrate:
  7467. description: 增值税率
  7468. type: number
  7469. wrstandardcode:
  7470. description: 品类代码
  7471. type: string
  7472. wrstandardid:
  7473. description: 品类ID
  7474. type: integer
  7475. wrstandardname:
  7476. description: 品类名称
  7477. type: string
  7478. type: object
  7479. models.Ermcp3SpotGoodsPrice:
  7480. properties:
  7481. areauserid:
  7482. description: 所属机构id
  7483. type: integer
  7484. brandname:
  7485. description: 品牌名称
  7486. type: string
  7487. currencyid:
  7488. description: 报价货币ID
  7489. type: integer
  7490. currencyname:
  7491. description: 币种名称
  7492. type: string
  7493. deliverygoodscode:
  7494. description: 现货商品代码
  7495. type: string
  7496. deliverygoodsid:
  7497. description: 现货商品id
  7498. type: integer
  7499. deliverygoodsname:
  7500. description: 现货商品名称
  7501. type: string
  7502. enumdicname:
  7503. description: 现货商品单位名称
  7504. type: string
  7505. gbenumdicname:
  7506. description: 品类单位名称
  7507. type: string
  7508. gmunitid:
  7509. description: 品类单位id
  7510. type: integer
  7511. isvalid:
  7512. description: 是否有效 - 0:无效 1:有效
  7513. type: integer
  7514. operateid:
  7515. description: 最后操作人
  7516. type: integer
  7517. operatesrc:
  7518. description: 最后操作来源 - 1:管理端 2:终端
  7519. type: integer
  7520. operatetime:
  7521. description: 最后操作时间
  7522. type: string
  7523. operatorname:
  7524. description: 操作人名称
  7525. type: string
  7526. spotgoodsbrandid:
  7527. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7528. type: integer
  7529. spotgoodsprice:
  7530. description: 现货价格
  7531. type: number
  7532. tradedate:
  7533. description: 交易日(yyyyMMdd)
  7534. type: string
  7535. unitid:
  7536. description: 现货商品单位id
  7537. type: integer
  7538. wrstandardcode:
  7539. description: 品类代码
  7540. type: string
  7541. wrstandardid:
  7542. description: 现货品类ID(通用则为0)
  7543. type: integer
  7544. wrstandardname:
  7545. description: 品类名称
  7546. type: string
  7547. type: object
  7548. models.Ermcp3SpotGoodsPriceLog:
  7549. properties:
  7550. areauserid:
  7551. description: 所属机构id
  7552. type: integer
  7553. brandname:
  7554. description: 品牌名称
  7555. type: string
  7556. currencyid:
  7557. description: 报价货币ID
  7558. type: integer
  7559. deliverygoodscode:
  7560. description: 现货商品代码
  7561. type: string
  7562. deliverygoodsid:
  7563. description: 现货商品id
  7564. type: integer
  7565. deliverygoodsname:
  7566. description: 现货商品名称
  7567. type: string
  7568. enumdicname:
  7569. description: 现货商品单位名称
  7570. type: string
  7571. gbenumdicname:
  7572. description: 品类单位名称
  7573. type: string
  7574. gmunitid:
  7575. description: 品类单位id
  7576. type: integer
  7577. logid:
  7578. description: 日志id
  7579. type: integer
  7580. operateid:
  7581. description: 最后操作人
  7582. type: integer
  7583. operatesrc:
  7584. description: 最后操作来源 - 1:管理端 2:终端
  7585. type: integer
  7586. operatetime:
  7587. description: 最后操作时间
  7588. type: string
  7589. operatorname:
  7590. description: 操作人名称
  7591. type: string
  7592. spotgoodsbrandid:
  7593. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7594. type: integer
  7595. spotgoodsprice:
  7596. description: 现货价格
  7597. type: number
  7598. tradedate:
  7599. description: 交易日(yyyyMMdd)
  7600. type: string
  7601. unitid:
  7602. description: 现货商品单位id
  7603. type: integer
  7604. wrstandardcode:
  7605. description: 品类代码
  7606. type: string
  7607. wrstandardid:
  7608. description: 现货品类ID(通用则为0)
  7609. type: integer
  7610. wrstandardname:
  7611. description: 品类名称
  7612. type: string
  7613. type: object
  7614. models.Ermcp3SubTaaccount:
  7615. properties:
  7616. accountid:
  7617. description: 资金账户ID
  7618. type: integer
  7619. parentaccountcode:
  7620. description: 所属根账号代码(母账号代码)
  7621. type: string
  7622. parentaccountid:
  7623. description: 所属根账号(母账号)
  7624. type: integer
  7625. taname:
  7626. description: 资金账号名称
  7627. type: string
  7628. tradestatus:
  7629. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7630. type: integer
  7631. username:
  7632. description: 交易用户
  7633. type: string
  7634. type: object
  7635. models.Ermcp3TaFutuReDataReport:
  7636. properties:
  7637. accountid:
  7638. description: 交易账户
  7639. type: integer
  7640. accountname:
  7641. description: 交易账号名称
  7642. type: string
  7643. agreeunit:
  7644. description: 商品合约单位
  7645. type: number
  7646. begindate:
  7647. description: 开始交易日
  7648. type: string
  7649. buyorsell:
  7650. description: 持仓方向
  7651. type: integer
  7652. charge:
  7653. description: 手续费
  7654. type: number
  7655. closeavgprice:
  7656. description: 期初均价
  7657. type: number
  7658. closepl:
  7659. description: 平仓损益
  7660. type: number
  7661. currencyid:
  7662. description: 结算币种ID
  7663. type: integer
  7664. currencyname:
  7665. description: 币种名称
  7666. type: string
  7667. cycletime:
  7668. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7669. type: string
  7670. cycletype:
  7671. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7672. type: integer
  7673. enddate:
  7674. description: 结束交易日
  7675. type: string
  7676. enumdicname:
  7677. description: 单位名称
  7678. type: string
  7679. floatpl:
  7680. description: 浮动损益
  7681. type: number
  7682. goodscode:
  7683. description: 交易合约代码
  7684. type: string
  7685. goodsgroupid:
  7686. description: 交易品种
  7687. type: integer
  7688. goodsgroupname:
  7689. description: 交易品种名称
  7690. type: string
  7691. goodsgroupspotqty:
  7692. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7693. type: number
  7694. goodsid:
  7695. description: 交易合约
  7696. type: integer
  7697. goodsname:
  7698. description: 交易合约名称
  7699. type: string
  7700. goodunitid:
  7701. description: 交易合约单位id
  7702. type: integer
  7703. holdamount:
  7704. description: 期末持仓额
  7705. type: number
  7706. holdqty:
  7707. description: 期初均价
  7708. type: number
  7709. lastholdamount:
  7710. description: 当前持仓额
  7711. type: number
  7712. lastprice:
  7713. description: 最新价
  7714. type: number
  7715. middlegoodsid:
  7716. description: 套保品种id
  7717. type: integer
  7718. middlegoodsname:
  7719. description: 套保商品名称
  7720. type: string
  7721. middlegoodsqty:
  7722. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7723. type: number
  7724. middlgoodscode:
  7725. description: 套保商品代码
  7726. type: string
  7727. openamount:
  7728. description: 期末开仓额
  7729. type: number
  7730. openavgprice:
  7731. description: 期初均价
  7732. type: number
  7733. oriholdamount:
  7734. description: 期初持仓额
  7735. type: number
  7736. oriholdqty:
  7737. description: 期初均价
  7738. type: number
  7739. oriopenamount:
  7740. description: 期初开仓额
  7741. type: number
  7742. outergroupcode:
  7743. description: 交易品种代码
  7744. type: string
  7745. qtydecimalplace:
  7746. description: 成交量小数位
  7747. type: integer
  7748. reckondate:
  7749. description: 日照时期(yyyyMMdd)
  7750. type: string
  7751. reckonholdamount:
  7752. description: 结算持仓额
  7753. type: number
  7754. reckonpl:
  7755. description: 结算损益
  7756. type: number
  7757. reckonpl2:
  7758. description: 结算逐笔盈亏
  7759. type: number
  7760. reckonprice:
  7761. description: 结算价
  7762. type: number
  7763. relateduserid:
  7764. description: 账户关联用户ID
  7765. type: integer
  7766. todaycloseamount:
  7767. description: 今平仓额
  7768. type: number
  7769. todaycloseqty:
  7770. description: 期初均价
  7771. type: number
  7772. todaygoodsgroupspotqty:
  7773. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7774. type: number
  7775. todaymiddlegoodsqty:
  7776. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7777. type: number
  7778. todayopenamount:
  7779. description: 今开仓额
  7780. type: number
  7781. todayopenqty:
  7782. description: 期初均价
  7783. type: number
  7784. userid:
  7785. description: 账户所属用户ID
  7786. type: integer
  7787. type: object
  7788. models.Ermcp3TradeLinkDetail:
  7789. properties:
  7790. accountid:
  7791. description: 资金账号
  7792. type: integer
  7793. agreeunit:
  7794. description: 合约乘数
  7795. type: number
  7796. areauserid:
  7797. description: 所属机构
  7798. type: string
  7799. bizsubjectid:
  7800. description: 归属业务部门ID - SubjectID
  7801. type: string
  7802. buyorsell:
  7803. description: 方向 - 0:买 1:卖
  7804. type: integer
  7805. channelbuildtype:
  7806. description: 委托单据类型 0:无 1:建仓 2:平仓
  7807. type: integer
  7808. contractno:
  7809. description: 现货编号 (合同编号)
  7810. type: string
  7811. convertratio:
  7812. description: 折算系数
  7813. type: number
  7814. createtime:
  7815. description: 关联时间 | 创建时间
  7816. type: string
  7817. creatorid:
  7818. description: 创建人ID
  7819. type: string
  7820. creatorsrc:
  7821. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7822. type: integer
  7823. enumdicname:
  7824. description: 单位名称
  7825. type: string
  7826. goodscode:
  7827. description: 合约代码
  7828. type: string
  7829. goodsgroupid:
  7830. description: 对冲品种ID[期货合约商品组ID]
  7831. type: integer
  7832. goodsid:
  7833. description: 商品ID
  7834. type: integer
  7835. goodsname:
  7836. description: 合约名称
  7837. type: string
  7838. hedgeflag:
  7839. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7840. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7841. type: integer
  7842. linkdetailid:
  7843. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7844. type: string
  7845. linkstatus:
  7846. description: 关联状态 - 1:成功 2:失败 3:解绑
  7847. type: integer
  7848. middlegoodscode:
  7849. description: 套保品种代码
  7850. type: string
  7851. middlegoodsid:
  7852. description: 套保品种ID
  7853. type: integer
  7854. middlegoodsname:
  7855. description: 套保品种名称
  7856. type: string
  7857. relatedlot:
  7858. description: 关联手数
  7859. type: number
  7860. relatedmode:
  7861. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7862. type: integer
  7863. relatedqty:
  7864. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7865. type: number
  7866. retcode:
  7867. description: 返回码
  7868. type: integer
  7869. saleuserid:
  7870. description: 业务员ID
  7871. type: string
  7872. spotcontractid:
  7873. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7874. type: string
  7875. taname:
  7876. description: 期货账户
  7877. type: string
  7878. tradedate:
  7879. description: 关联交易日(yyyyMMdd)
  7880. type: string
  7881. tradeid:
  7882. description: 期货订单号 | 内部成交单ID
  7883. type: string
  7884. tradelot:
  7885. description: 成交数量 | 成交手数
  7886. type: integer
  7887. tradeprice:
  7888. description: 成交价格
  7889. type: number
  7890. tradetime:
  7891. description: 期货成交时间
  7892. type: string
  7893. tradetradedate:
  7894. description: 成交交易日(yyyyMMdd)
  7895. type: string
  7896. username:
  7897. description: 用户名称
  7898. type: string
  7899. type: object
  7900. models.Ermcp3Wrstandard:
  7901. properties:
  7902. areauserid:
  7903. description: 所属机构
  7904. type: integer
  7905. cantrade:
  7906. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7907. type: integer
  7908. convertfactor:
  7909. description: 标仓系数
  7910. type: number
  7911. createtime:
  7912. description: 创建时间
  7913. type: string
  7914. creatorid:
  7915. description: 创建人
  7916. type: integer
  7917. deliverygoodsid:
  7918. description: 现货品种ID
  7919. type: integer
  7920. enumdicname:
  7921. description: 品类单位名称
  7922. type: string
  7923. isvalid:
  7924. description: 是否有效 0-无效(停用) 1-有效(正常)
  7925. type: integer
  7926. minivalue:
  7927. description: 最小变动值
  7928. type: integer
  7929. minivaluedp:
  7930. description: 最小变动值小数位
  7931. type: integer
  7932. realminivalue:
  7933. description: 实际最小变动值
  7934. type: integer
  7935. realminivaluedp:
  7936. description: 实际最小变动值小数位
  7937. type: integer
  7938. remark:
  7939. description: 备注
  7940. type: string
  7941. unitid:
  7942. description: 品类单位ID
  7943. type: integer
  7944. updatetime:
  7945. description: 更新时间
  7946. type: string
  7947. wrstandardcode:
  7948. description: 品类代码
  7949. type: string
  7950. wrstandardid:
  7951. description: 品类ID(SEQ_WRSTANDARD)
  7952. type: integer
  7953. wrstandardname:
  7954. description: 品类名称
  7955. type: string
  7956. type: object
  7957. models.Ermcp8EnableHedgeditem:
  7958. properties:
  7959. accountname:
  7960. description: 套期主体
  7961. type: string
  7962. hedgeditemid:
  7963. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7964. type: string
  7965. hedgeditemname:
  7966. description: 项目名称
  7967. type: string
  7968. hedgeditemnum:
  7969. description: 项目编号
  7970. type: string
  7971. hedgedtype:
  7972. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7973. type: integer
  7974. planenddate:
  7975. description: 计划结束日期
  7976. type: string
  7977. planstartdate:
  7978. description: 计划开始日期
  7979. type: string
  7980. wrstandardid:
  7981. description: 现货商品ID
  7982. type: integer
  7983. wrstandardname:
  7984. description: 现货商品
  7985. type: string
  7986. type: object
  7987. models.Ermcp8HedgeditemReport:
  7988. properties:
  7989. accountname:
  7990. description: 套期主体
  7991. type: string
  7992. areauserid:
  7993. description: 企业ID
  7994. type: integer
  7995. curprice:
  7996. description: '[当日现货市场价]当前市场价'
  7997. type: number
  7998. enumdicname:
  7999. description: 单位
  8000. type: string
  8001. exeamount:
  8002. description: '[执行现货金额]执行市价总额'
  8003. type: number
  8004. exeavgprice:
  8005. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  8006. type: number
  8007. exeqty:
  8008. description: '[执行数量]执行现货量'
  8009. type: number
  8010. futurehedgepl:
  8011. description: 期货实际损益
  8012. type: number
  8013. futurehedgeplchange:
  8014. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  8015. type: number
  8016. futurepl:
  8017. description: 期货套期损益
  8018. type: number
  8019. futureplchange:
  8020. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  8021. type: number
  8022. hedgeamount:
  8023. description: '[套期现货金额]套期市价总额'
  8024. type: number
  8025. hedgeditemnum:
  8026. description: 项目编号,模糊查询
  8027. type: string
  8028. hedgeditemstatus:
  8029. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8030. type: integer
  8031. hedgedtype:
  8032. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8033. type: integer
  8034. hedgeqty:
  8035. description: '[套期数量]套期现货量'
  8036. type: number
  8037. oriavgprice:
  8038. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  8039. type: number
  8040. orifuturehedgepl:
  8041. description: 期初期货实际损益
  8042. type: number
  8043. orifuturepl:
  8044. description: 期初期货套期损益
  8045. type: number
  8046. orispothedgepl:
  8047. description: 期初现货实际损益
  8048. type: number
  8049. orispotpl:
  8050. description: 期初现货套期损益
  8051. type: number
  8052. planenddate:
  8053. description: 计划结束日期
  8054. type: string
  8055. planstartdate:
  8056. description: 计划开始日期
  8057. type: string
  8058. spothedgepl:
  8059. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8060. type: number
  8061. spothedgeplchange:
  8062. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  8063. type: number
  8064. spotpl:
  8065. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8066. type: number
  8067. spotplchange:
  8068. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8069. type: number
  8070. tradeuserid:
  8071. description: 交易用户ID
  8072. type: integer
  8073. unexeqty:
  8074. description: 未执行现货量 = 套期现货量 - 执行现货量
  8075. type: number
  8076. wrstandardcode:
  8077. description: 现货品类代码
  8078. type: string
  8079. wrstandardid:
  8080. description: 现货商品ID
  8081. type: integer
  8082. wrstandardname:
  8083. description: '[现货商品]现货品类名称'
  8084. type: string
  8085. type: object
  8086. models.Ermcp8RunningHedgeditem:
  8087. properties:
  8088. accountname:
  8089. description: 套期主体
  8090. type: string
  8091. applyid:
  8092. description: 申请人
  8093. type: integer
  8094. applysrc:
  8095. description: 申请来源 - 1:管理端 2:终端
  8096. type: integer
  8097. areauserid:
  8098. description: 企业ID
  8099. type: integer
  8100. auditid:
  8101. description: 审核人
  8102. type: integer
  8103. auditremark:
  8104. description: 审核备注
  8105. type: string
  8106. auditsrc:
  8107. description: 审核来源 - 1:管理端 2:终端
  8108. type: integer
  8109. audittime:
  8110. description: 审核时间
  8111. type: string
  8112. audittradedate:
  8113. description: 审核交易日(yyyyMMdd)
  8114. type: string
  8115. createtime:
  8116. description: 申请时间
  8117. type: string
  8118. curprice:
  8119. description: 当前市场价
  8120. type: number
  8121. curstock:
  8122. description: 期末库存量 = 采购总量 - 销售总量
  8123. type: number
  8124. deliverygoodsid:
  8125. description: 现货品种ID
  8126. type: integer
  8127. enddate:
  8128. description: 完成日期
  8129. type: string
  8130. endtradedate:
  8131. description: 完成交易日
  8132. type: string
  8133. enumdicname:
  8134. description: 单位
  8135. type: string
  8136. exeamount:
  8137. description: 执行市价总额
  8138. type: number
  8139. exeavgprice:
  8140. description: 执行市场均价= 执行市价总额 / 执行现货量
  8141. type: number
  8142. execontractamount:
  8143. description: 执行定价总额
  8144. type: number
  8145. exeqty:
  8146. description: 执行现货量
  8147. type: number
  8148. exerestamount:
  8149. description: 执行剩余市价总额【现货贸易】
  8150. type: number
  8151. futurefloatpl:
  8152. description: 期货浮动损益
  8153. type: number
  8154. futurehedgepl:
  8155. description: 期货实际损益
  8156. type: number
  8157. futurehedgeplchange:
  8158. description: 期货实际损益变动
  8159. type: number
  8160. futurepl:
  8161. description: 期货套期损益
  8162. type: number
  8163. futureplchange:
  8164. description: 期货套期损益变动
  8165. type: number
  8166. hedgeamount:
  8167. description: 套期市价总额
  8168. type: number
  8169. hedgecontractamount:
  8170. description: 套期定价总额 【定价采购合同】【现货贸易】
  8171. type: number
  8172. hedgeditemid:
  8173. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8174. type: string
  8175. hedgeditemname:
  8176. description: 项目名称
  8177. type: string
  8178. hedgeditemnum:
  8179. description: 项目编号
  8180. type: string
  8181. hedgeditemstatus:
  8182. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8183. type: integer
  8184. hedgedtype:
  8185. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8186. type: integer
  8187. hedgeqty:
  8188. description: 套期现货量
  8189. type: number
  8190. hedgerate:
  8191. description: 套保比率
  8192. type: number
  8193. hedgerestamount:
  8194. description: 套期剩余市价总额【现货贸易】
  8195. type: number
  8196. hedgesumpl:
  8197. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8198. type: number
  8199. middlegoodslist:
  8200. description: 套期商品列表
  8201. items:
  8202. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8203. type: array
  8204. oriavgprice:
  8205. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8206. type: number
  8207. orifuturehedgepl:
  8208. description: 期初期货实际损益
  8209. type: number
  8210. orifuturepl:
  8211. description: 期初期货套期损益
  8212. type: number
  8213. orispothedgepl:
  8214. description: 期初现货实际损益
  8215. type: number
  8216. orispotpl:
  8217. description: 期初现货套期损益
  8218. type: number
  8219. planenddate:
  8220. description: 计划结束日期
  8221. type: string
  8222. planstartdate:
  8223. description: 计划开始日期
  8224. type: string
  8225. remark:
  8226. description: 备注
  8227. type: string
  8228. spotbookamount:
  8229. description: 现货账面总额
  8230. type: number
  8231. spotfloatpl:
  8232. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8233. type: number
  8234. spothedgepl:
  8235. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8236. type: number
  8237. spothedgeplchange:
  8238. description: 现货实际损益变动
  8239. type: number
  8240. spotpl:
  8241. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8242. type: number
  8243. spotplchange:
  8244. description: 现货套期损益变动
  8245. type: number
  8246. spottradepl:
  8247. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8248. type: number
  8249. sumobspl:
  8250. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8251. type: number
  8252. tradeuserid:
  8253. description: 交易用户ID
  8254. type: integer
  8255. unexeqty:
  8256. description: 未执行现货量 = 套期现货量 - 执行现货量
  8257. type: number
  8258. updatetime:
  8259. description: 更新时间
  8260. type: string
  8261. vatpl:
  8262. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8263. type: number
  8264. vatrate:
  8265. description: 增值税
  8266. type: number
  8267. wrstandardid:
  8268. description: 现货商品ID
  8269. type: integer
  8270. wrstandardname:
  8271. description: 商品名称
  8272. type: string
  8273. type: object
  8274. models.ErmcpBizGroupEx:
  8275. properties:
  8276. acclist:
  8277. description: 账号列表
  8278. items:
  8279. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8280. type: array
  8281. bizgroupid:
  8282. description: 业务分组id
  8283. type: integer
  8284. biztype:
  8285. description: 业务类型 1-套保 2-套利
  8286. type: integer
  8287. wrlist:
  8288. description: 现货商品表
  8289. items:
  8290. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8291. type: array
  8292. type: object
  8293. models.ErmcpBizGroupSpotGoods:
  8294. properties:
  8295. areauserid:
  8296. description: 所属机构id
  8297. type: integer
  8298. bizgroupid:
  8299. description: 分组id
  8300. type: integer
  8301. biztype:
  8302. description: 业务类型 1-套保 2-套利
  8303. type: integer
  8304. deliverygoodscode:
  8305. description: 现货商品代码
  8306. type: string
  8307. deliverygoodsid:
  8308. description: 现货商品id
  8309. type: integer
  8310. deliverygoodsname:
  8311. description: 现货商品名称
  8312. type: string
  8313. unitid:
  8314. description: 现货商品单位id
  8315. type: integer
  8316. type: object
  8317. models.ErmcpBizGroupTaAccount:
  8318. properties:
  8319. accountid:
  8320. description: 账号id
  8321. type: integer
  8322. accountname:
  8323. description: 账号名称
  8324. type: string
  8325. areauserid:
  8326. description: 所属机构id
  8327. type: integer
  8328. bizgroupid:
  8329. description: 业务分组id
  8330. type: integer
  8331. ismain:
  8332. description: 是否主账号 1-是 0-否
  8333. type: integer
  8334. type: object
  8335. models.ErmcpDGFactoryItem:
  8336. properties:
  8337. areauserid:
  8338. description: 用户id
  8339. type: integer
  8340. deliverygoodsid:
  8341. description: 现货品种ID
  8342. type: integer
  8343. dgfactoryitemid:
  8344. description: 选择项ID(SEQ_DGFACTORYITEM)
  8345. type: integer
  8346. dgfactoryitemtypeid:
  8347. description: 要素项类型
  8348. type: integer
  8349. dgfactoryitemvalue:
  8350. description: 要素项值(类型为仓库时填写仓库名称)
  8351. type: string
  8352. isvalid:
  8353. description: 是否有效 - 0:无效 1:有效
  8354. type: integer
  8355. orderindex:
  8356. description: 顺序
  8357. type: integer
  8358. warehouseid:
  8359. description: 仓库ID(类型为仓库时填写)
  8360. type: integer
  8361. type: object
  8362. models.ErmcpDeliveryGoods:
  8363. properties:
  8364. agreeunit:
  8365. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8366. type: integer
  8367. areauserid:
  8368. description: 所属机构
  8369. type: integer
  8370. auditflag:
  8371. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8372. type: integer
  8373. categoryid:
  8374. description: 类别ID(SEQ_WRCATEGORY)
  8375. type: integer
  8376. deliverygoodscode:
  8377. description: 现货品种代码
  8378. type: string
  8379. deliverygoodsid:
  8380. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8381. type: integer
  8382. deliverygoodsname:
  8383. description: 现货品种名称
  8384. type: string
  8385. deliverygoodstype:
  8386. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8387. type: integer
  8388. dgstatus:
  8389. description: 品种状态 - 作废 - 0:未激活 1:正常
  8390. type: integer
  8391. enumdicname:
  8392. description: 现货品种单位名称
  8393. type: string
  8394. goodsunitid:
  8395. description: 现货品种单位ID
  8396. type: integer
  8397. isvalid:
  8398. description: 是否有效 - 0:无效 1:有效
  8399. type: integer
  8400. qtydecimalplace:
  8401. description: 成交量小数位
  8402. type: integer
  8403. remark:
  8404. description: 备注
  8405. type: string
  8406. standardqty:
  8407. description: 标准数量(库位数量) [标准品特有]
  8408. type: integer
  8409. standardqtyrange:
  8410. description: 标准数量偏差范围 [标准品特有]
  8411. type: integer
  8412. type: object
  8413. models.ErmcpFuturesCompany:
  8414. properties:
  8415. brokerid:
  8416. description: 经纪公司代码
  8417. type: string
  8418. channeladdress:
  8419. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8420. type: string
  8421. channelid:
  8422. description: 对冲渠道ID
  8423. type: string
  8424. createtime:
  8425. description: 创建时间
  8426. type: string
  8427. creatorid:
  8428. description: 创建人
  8429. type: string
  8430. fcid:
  8431. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8432. type: integer
  8433. fcname:
  8434. description: 期货公司名称
  8435. type: string
  8436. isvalid:
  8437. description: 是否有效 - 0:无效 1:有效
  8438. type: integer
  8439. mhpaddress:
  8440. description: MHP服务地址(IP:Port)
  8441. type: string
  8442. riskrulegroupid:
  8443. description: 风控规则组ID
  8444. type: string
  8445. tradefeetmpid:
  8446. description: 手续费模板ID[TradeConfigTmpType为2]
  8447. type: string
  8448. trademargintmpid:
  8449. description: 保证金模板ID [TradeConfigTmpType为1]
  8450. type: string
  8451. traderatetmpid:
  8452. description: 汇率模板ID[TradeConfigTmpType为3]
  8453. type: string
  8454. updatetime:
  8455. description: 更新时间
  8456. type: string
  8457. updatorid:
  8458. description: 更新人
  8459. type: string
  8460. type: object
  8461. models.ErmcpGGConvertCfg:
  8462. properties:
  8463. convertratio:
  8464. description: 折算系数
  8465. type: number
  8466. destgoodsgroupid:
  8467. description: 目标品种ID
  8468. type: integer
  8469. dstcode:
  8470. description: 目录品种代码
  8471. type: string
  8472. dstexchangecode:
  8473. description: 目标期货交易所
  8474. type: string
  8475. dstname:
  8476. description: 目标品种名称
  8477. type: string
  8478. dstunitid:
  8479. description: 目标品种单位ID
  8480. type: integer
  8481. dstunitidname:
  8482. description: 目标品种单位名称
  8483. type: string
  8484. modifytime:
  8485. description: 修改时间
  8486. type: string
  8487. srccode:
  8488. description: 源品种代码
  8489. type: string
  8490. srcexchangecode:
  8491. description: 源期货交易所
  8492. type: string
  8493. srcgoodsgroupid:
  8494. description: 源品种ID
  8495. type: integer
  8496. srcname:
  8497. description: 源品种名称
  8498. type: string
  8499. srcunitid:
  8500. description: 源品种单位ID
  8501. type: integer
  8502. srcunitidname:
  8503. description: 源品种单位名称
  8504. type: string
  8505. type: object
  8506. models.ErmcpGoods:
  8507. properties:
  8508. agreeunit:
  8509. description: 合约单位
  8510. type: number
  8511. areauserid:
  8512. description: 所属机构
  8513. type: integer
  8514. auditaccountid:
  8515. description: 审核操作员账号
  8516. type: integer
  8517. audittime:
  8518. description: 审核时间
  8519. type: string
  8520. cancelaccountid:
  8521. description: 注销操作员账号
  8522. type: integer
  8523. canceltime:
  8524. description: 注销时间
  8525. type: string
  8526. closepricemode:
  8527. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8528. type: integer
  8529. closepriceparam:
  8530. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8531. type: number
  8532. createtime:
  8533. description: 创建时间
  8534. type: string
  8535. creatorid:
  8536. description: 创建人
  8537. type: integer
  8538. currencyid:
  8539. description: 报价货币ID
  8540. type: integer
  8541. cutmode:
  8542. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8543. type: integer
  8544. decimalplace:
  8545. description: 报价小数位
  8546. type: integer
  8547. delistingdate:
  8548. description: 商品退市时间(状态:退市) -- 已作废
  8549. type: string
  8550. delistingmode:
  8551. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8552. type: integer
  8553. deliveryflag:
  8554. description: 交割标志 - 0:不可交割 1:可交割
  8555. type: integer
  8556. enumdicname:
  8557. description: 单位名称
  8558. type: string
  8559. forceclosemode:
  8560. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8561. type: integer
  8562. forceclosevalue:
  8563. description: 定期强平参数 [收益权]
  8564. type: integer
  8565. goodscode:
  8566. description: 商品代码(内部)
  8567. type: string
  8568. goodscurrencyid:
  8569. description: 合约货币ID
  8570. type: integer
  8571. goodsgroupid:
  8572. description: 所属商品组ID
  8573. type: integer
  8574. goodsid:
  8575. description: 商品ID(自增ID SEQ_GOODS)
  8576. type: integer
  8577. goodsname:
  8578. description: 商品名称
  8579. type: string
  8580. goodsquotetype:
  8581. description: '合约报价类型: 1-直接报价 2-间接报价'
  8582. type: integer
  8583. goodsstatus:
  8584. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8585. type: integer
  8586. goodstradetype:
  8587. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8588. type: integer
  8589. goodunitid:
  8590. description: 报价单位ID
  8591. type: integer
  8592. hasquoter:
  8593. description: 是否有报价商 - 0:无报价商 1:有报价商
  8594. type: integer
  8595. hqprotecttime:
  8596. description: 行情保护时间(秒)
  8597. type: integer
  8598. innerdealmode:
  8599. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8600. type: integer
  8601. isbuylimited:
  8602. description: 是否限制建仓量 - 0:不限制 1:限制
  8603. type: integer
  8604. isvisible:
  8605. description: 游客是否可见 - 0:不可见 1:可见
  8606. type: integer
  8607. lasttradedate:
  8608. description: 最后交易日期(状态:待退市)
  8609. type: string
  8610. listingdate:
  8611. description: 交易开始日期
  8612. type: string
  8613. marketid:
  8614. description: 所属市场ID
  8615. type: integer
  8616. modifierid:
  8617. description: 修改人
  8618. type: integer
  8619. modifystatus:
  8620. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8621. type: integer
  8622. modifytime:
  8623. description: 修改时间
  8624. type: string
  8625. outerdealmode:
  8626. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8627. type: integer
  8628. outgoodscode:
  8629. description: 商品代码(外部)
  8630. type: string
  8631. pictureurl:
  8632. description: 商品图片
  8633. type: string
  8634. qtydecimalplace:
  8635. description: 成交量小数位
  8636. type: integer
  8637. quotegear:
  8638. description: 行情档位(1-10)
  8639. type: integer
  8640. quoteminunit:
  8641. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8642. type: integer
  8643. quoteshowtype:
  8644. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8645. type: integer
  8646. quoteshowtypeinterval:
  8647. description: 行情报价间隔时间(秒)(成交价时为0)
  8648. type: integer
  8649. relatedgoodsid:
  8650. description: 关联参考商品ID
  8651. type: integer
  8652. remark:
  8653. description: 备注
  8654. type: string
  8655. trademode:
  8656. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8657. 21:竞拍-大宗式 22:受托竞价
  8658. type: integer
  8659. required:
  8660. - goodscode
  8661. - goodsid
  8662. - goodsname
  8663. - marketid
  8664. type: object
  8665. models.ErmcpGoodsBrand:
  8666. properties:
  8667. areauserid:
  8668. description: 所属机构
  8669. type: integer
  8670. brandid:
  8671. description: BrandID(SEQ_SPOTGOODSBRAND)
  8672. type: integer
  8673. brandname:
  8674. description: 品牌名称
  8675. type: string
  8676. createtime:
  8677. description: 创建时间
  8678. type: string
  8679. creatorid:
  8680. description: 创建人
  8681. type: integer
  8682. creatorsrc:
  8683. description: 创建人来源 - 1:管理端 2:终端
  8684. type: integer
  8685. deliverygoodsid:
  8686. description: 现货品种ID
  8687. type: integer
  8688. isvalid:
  8689. description: 是否有效 - 0:无效 1:有效
  8690. type: integer
  8691. updatetime:
  8692. description: 更新时间
  8693. type: string
  8694. updatorid:
  8695. description: 更新人
  8696. type: integer
  8697. updatorsrc:
  8698. description: 更新人来源 - 1:管理端 2:终端
  8699. type: integer
  8700. wrstandardid:
  8701. description: 现货商品ID
  8702. type: integer
  8703. type: object
  8704. models.ErmcpGoodsModel:
  8705. properties:
  8706. areauserid:
  8707. description: 所属机构
  8708. type: integer
  8709. convertfactor:
  8710. description: 标仓系数
  8711. type: number
  8712. createtime:
  8713. description: 创建时间
  8714. type: string
  8715. creatorid:
  8716. description: 创建人
  8717. type: integer
  8718. creatorsrc:
  8719. description: 创建人来源 - 1:管理端 2:终端
  8720. type: integer
  8721. deliverygoodsid:
  8722. description: 现货品种ID
  8723. type: integer
  8724. isvalid:
  8725. description: 是否有效 - 0:无效 1:有效
  8726. type: integer
  8727. modelid:
  8728. description: ModelID(SEQ_SPOTGOODSMODEL)
  8729. type: integer
  8730. modelname:
  8731. description: 型号名称
  8732. type: string
  8733. updatetime:
  8734. description: 更新时间
  8735. type: string
  8736. updatorid:
  8737. description: 更新人
  8738. type: integer
  8739. updatorsrc:
  8740. description: 更新人来源 - 1:管理端 2:终端
  8741. type: integer
  8742. wrstandardid:
  8743. description: 现货商品ID
  8744. type: integer
  8745. type: object
  8746. models.ErmcpHisExposure:
  8747. properties:
  8748. needhedgeexposoure:
  8749. description: 应套保敞口
  8750. type: number
  8751. reckondate:
  8752. description: 日照时期(yyyyMMdd)
  8753. type: string
  8754. totalexposure:
  8755. description: 总敞口
  8756. type: number
  8757. type: object
  8758. models.ErmcpLoginTaAccount:
  8759. properties:
  8760. accountid:
  8761. description: 账号id
  8762. type: integer
  8763. accountname:
  8764. description: 账号名称
  8765. type: string
  8766. type: object
  8767. models.ErmcpLoginUser:
  8768. properties:
  8769. acclist:
  8770. description: 关联资金账号
  8771. items:
  8772. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8773. type: array
  8774. accountname:
  8775. description: 用户名称
  8776. type: string
  8777. clientroleid:
  8778. description: 角色id(usertype=2)
  8779. type: integer
  8780. createtime:
  8781. description: 创建时间
  8782. type: string
  8783. logincode:
  8784. description: 登录代码
  8785. type: string
  8786. loginid:
  8787. description: 登录id(LOGINID)
  8788. type: integer
  8789. loginname:
  8790. description: 登录名称(loginaccount表中的accountname字段)
  8791. type: string
  8792. loginstatus:
  8793. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8794. type: integer
  8795. memberuserid:
  8796. description: 所属会员id
  8797. type: integer
  8798. mobile:
  8799. description: 手机号
  8800. type: string
  8801. modifytime:
  8802. description: 修改时间
  8803. type: string
  8804. password:
  8805. description: 密码(不可解密)
  8806. type: string
  8807. rolename:
  8808. description: 角色名称
  8809. type: string
  8810. rolestatus:
  8811. description: 角色状态 1-启用 2-停用
  8812. type: integer
  8813. roletype:
  8814. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8815. type: string
  8816. userid:
  8817. description: 用户id
  8818. type: integer
  8819. usertype:
  8820. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8821. type: integer
  8822. type: object
  8823. models.ErmcpLoginUserEx:
  8824. properties:
  8825. accountstatus:
  8826. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8827. type: integer
  8828. mobile:
  8829. description: 手机号
  8830. type: string
  8831. querytype:
  8832. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8833. type: integer
  8834. roleid:
  8835. description: 角色id(交易账户->用户id)
  8836. type: integer
  8837. rolename:
  8838. description: 角色名称(交易账户->用户名称)
  8839. type: string
  8840. userlist:
  8841. description: 用户列表
  8842. items:
  8843. $ref: '#/definitions/models.ErmcpLoginUser'
  8844. type: array
  8845. usertype:
  8846. description: 用户类型 2-机构 7-企业成员(云平台)
  8847. type: integer
  8848. type: object
  8849. models.ErmcpMiddleGoodsModel:
  8850. properties:
  8851. areauserid:
  8852. description: 机构用户ID
  8853. type: integer
  8854. createtime:
  8855. description: 修改时间
  8856. type: string
  8857. enumdicname:
  8858. description: 单位名称
  8859. type: string
  8860. evaluateratio:
  8861. description: 估价系数
  8862. type: number
  8863. goodsgroupid:
  8864. description: 关联期货品种ID
  8865. type: integer
  8866. goodsunitid:
  8867. description: 单位ID
  8868. type: integer
  8869. isvalid:
  8870. description: 状态 0-无效(停用) 1-有效(正常)
  8871. type: integer
  8872. middlegoodscode:
  8873. description: 套保品种代码
  8874. type: string
  8875. middlegoodsid:
  8876. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8877. type: integer
  8878. middlegoodsname:
  8879. description: 套保品种名称
  8880. type: string
  8881. modifytime:
  8882. description: 修改时间
  8883. type: string
  8884. needarbitrageratio:
  8885. description: 套利比例
  8886. type: number
  8887. needhedgeratio:
  8888. description: 套保比率
  8889. type: number
  8890. qtydecimalplace:
  8891. description: 数量小数位
  8892. type: integer
  8893. relatedgoodsid:
  8894. description: 关联交易商品ID
  8895. type: integer
  8896. relatedgoodstype:
  8897. description: 关联商品类型 - 1:期货合约 2:现货品种
  8898. type: integer
  8899. remark:
  8900. description: 备注
  8901. type: string
  8902. type: object
  8903. models.ErmcpMiddlegoodsRelateGoods:
  8904. properties:
  8905. agreeunit:
  8906. description: 合约乘数
  8907. type: number
  8908. convertratio:
  8909. description: 折算系数
  8910. type: number
  8911. enumdicname:
  8912. description: 单位名称(交易商品)
  8913. type: string
  8914. goodscode:
  8915. description: 交易商品代码
  8916. type: string
  8917. goodsgroupid:
  8918. description: 交易品种id
  8919. type: integer
  8920. goodsid:
  8921. description: 商品Id
  8922. type: integer
  8923. goodsname:
  8924. description: 交易商品名称
  8925. type: string
  8926. goodunitid:
  8927. description: 交易商品单位id
  8928. type: integer
  8929. middlegoodsid:
  8930. description: 套保商品id
  8931. type: integer
  8932. middlegoodsname:
  8933. description: 套保商品名称
  8934. type: string
  8935. middlegoodsswcode:
  8936. description: 套保商品代码
  8937. type: string
  8938. needarbitrageratio:
  8939. description: 应套利比例
  8940. type: number
  8941. needhedgeratio:
  8942. description: 应套保比例
  8943. type: number
  8944. type: object
  8945. models.ErmcpRole:
  8946. properties:
  8947. areauserid:
  8948. description: 所属机构
  8949. type: integer
  8950. autoid:
  8951. description: 角色ID(自增ID)
  8952. type: integer
  8953. modifierid:
  8954. description: 修改人(创建人)
  8955. type: integer
  8956. modifiername:
  8957. description: 修改人名称
  8958. type: string
  8959. modifytime:
  8960. description: 修改时间(创建时间)
  8961. type: string
  8962. rolename:
  8963. description: 角色名称
  8964. type: string
  8965. rolestatus:
  8966. description: 角色状态 - 1:启用 2:停用
  8967. type: integer
  8968. roletype:
  8969. description: 角色类型 - 1- 管理端 2- 交易端
  8970. type: integer
  8971. type: object
  8972. models.ErmcpRoleMenu:
  8973. properties:
  8974. iconame:
  8975. description: 菜单图标
  8976. type: string
  8977. ishadrole:
  8978. description: 是否有权限
  8979. type: boolean
  8980. menutype:
  8981. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8982. type: integer
  8983. parentcode:
  8984. description: 上级资源代码
  8985. type: string
  8986. remark:
  8987. description: 菜单备注
  8988. type: string
  8989. resourcecode:
  8990. description: 菜单代码
  8991. type: string
  8992. resourcelevel:
  8993. description: 级别
  8994. type: integer
  8995. resourcename:
  8996. description: 菜单名称
  8997. type: string
  8998. roleid:
  8999. description: 角色id
  9000. type: integer
  9001. sort:
  9002. description: 排序
  9003. type: integer
  9004. url:
  9005. description: URL
  9006. type: string
  9007. userid:
  9008. description: 用户id
  9009. type: integer
  9010. type: object
  9011. models.ErmcpRoleMenuEx:
  9012. properties:
  9013. menu:
  9014. $ref: '#/definitions/models.ErmcpRoleMenu'
  9015. description: 父级菜单
  9016. subMenu:
  9017. description: 子级菜单
  9018. items:
  9019. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  9020. type: array
  9021. type: object
  9022. models.ErmcpSpotContractModelEx:
  9023. properties:
  9024. accountname:
  9025. description: 套期主体
  9026. type: string
  9027. amount:
  9028. description: 金额 [1:一口价、3:暂定价]
  9029. type: number
  9030. attachment:
  9031. description: 附件
  9032. type: string
  9033. auditremark:
  9034. description: 审核意见
  9035. type: string
  9036. audittime:
  9037. description: 审核时间
  9038. type: string
  9039. avgprice:
  9040. description: 定价均价 = 已定价金额 / 已定价量
  9041. type: number
  9042. brandname:
  9043. description: 品牌名称
  9044. type: string
  9045. buyuserid:
  9046. description: 采购方ID
  9047. type: integer
  9048. buyusername:
  9049. description: 采购方名称
  9050. type: string
  9051. contracctstatus:
  9052. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  9053. type: integer
  9054. contractmargin:
  9055. description: 合同保证金
  9056. type: number
  9057. contractno:
  9058. description: '[合同编号]现货合同编号'
  9059. type: string
  9060. contracttype:
  9061. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  9062. type: integer
  9063. convertfactor:
  9064. description: 标仓系数
  9065. type: number
  9066. createtime:
  9067. description: 创建时间
  9068. type: string
  9069. customername:
  9070. description: 对手方
  9071. type: string
  9072. customeruserid:
  9073. description: 客户ID
  9074. type: integer
  9075. deliveryenddate:
  9076. description: 交收期(结束)
  9077. type: string
  9078. deliverygoodscode:
  9079. description: 现货品种代码
  9080. type: string
  9081. deliverygoodsid:
  9082. description: 现货品种ID
  9083. type: integer
  9084. deliverygoodsname:
  9085. description: 现货品种名称
  9086. type: string
  9087. deliverystartdate:
  9088. description: 交收期(开始)
  9089. type: string
  9090. enddate:
  9091. description: 点价结束日期 [2:点价 3:暂定价]
  9092. type: string
  9093. enumdicname:
  9094. description: 单位名称
  9095. type: string
  9096. goodscode:
  9097. description: 点价合约代码
  9098. type: string
  9099. goodsid:
  9100. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9101. type: integer
  9102. goodsname:
  9103. description: 点价商品名称
  9104. type: string
  9105. isrelated:
  9106. description: 是否已关联计划项目 - 0:否 1:是
  9107. type: integer
  9108. isrelated2:
  9109. description: 是否已关联现货项目 - 0:否 1:是
  9110. type: integer
  9111. margin:
  9112. description: 当前保证金
  9113. type: number
  9114. modelname:
  9115. description: 型号名称
  9116. type: string
  9117. price:
  9118. description: 价格\暂定价 [1:一口价、3:暂定价]
  9119. type: number
  9120. pricedamount:
  9121. description: 已定价金额 = (点价价格+升贴水) * 数量
  9122. type: number
  9123. pricedqty:
  9124. description: 已定价量
  9125. type: number
  9126. pricemove:
  9127. description: 升贴水 [2:点价 3:暂定价]
  9128. type: number
  9129. pricetype:
  9130. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9131. type: integer
  9132. producttype:
  9133. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9134. type: integer
  9135. qty:
  9136. description: '[合同数量]数量'
  9137. type: number
  9138. remark:
  9139. description: 备注
  9140. type: string
  9141. selluserid:
  9142. description: 销售方ID
  9143. type: integer
  9144. sellusername:
  9145. description: 销售方名称
  9146. type: string
  9147. spotamount:
  9148. description: 合同现货金额 [不含升贴水]
  9149. type: number
  9150. spotavgprice:
  9151. description: 现货均价 = 合同现货金额 / 已定价量
  9152. type: number
  9153. spotcontractid:
  9154. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9155. type: string
  9156. spotgoodsbrandid:
  9157. description: 现货品牌ID
  9158. type: integer
  9159. spotgoodsdesc:
  9160. description: 商品型号
  9161. type: string
  9162. spotgoodsmodelid:
  9163. description: 现货型号ID
  9164. type: integer
  9165. startdate:
  9166. description: 点价开始日期 [2:点价 3:暂定价]
  9167. type: string
  9168. tradeuserid:
  9169. description: 交易用户ID
  9170. type: integer
  9171. unpricedqty:
  9172. description: 未定价量 = 合同数量 - 已定价量
  9173. type: number
  9174. updatetime:
  9175. description: 更新时间
  9176. type: string
  9177. userid:
  9178. description: 机构ID
  9179. type: integer
  9180. wrstandardcode:
  9181. description: 现货商品代码
  9182. type: string
  9183. wrstandardid:
  9184. description: 现货商品ID
  9185. type: integer
  9186. wrstandardname:
  9187. description: '[现货商品]现货商品名称'
  9188. type: string
  9189. type: object
  9190. models.ErmcpTaAccount:
  9191. properties:
  9192. accountid:
  9193. description: 账户id
  9194. type: integer
  9195. accountname:
  9196. description: 账户名称
  9197. type: string
  9198. currencyid:
  9199. description: 币种id
  9200. type: integer
  9201. hedgeaccountcode:
  9202. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9203. type: string
  9204. ismain:
  9205. description: 是否主账户 0-否 1-是
  9206. type: integer
  9207. parentaccountid:
  9208. description: 父账户id
  9209. type: integer
  9210. relateduserid:
  9211. description: 关联userid
  9212. type: integer
  9213. tradefeetmpid:
  9214. description: 手续费模板id
  9215. type: integer
  9216. tradefeetmpname:
  9217. description: 手续费模板名称
  9218. type: string
  9219. trademargintmpid:
  9220. description: 保证金模板id
  9221. type: integer
  9222. trademargintmpname:
  9223. description: 保证金模板名称
  9224. type: string
  9225. traderatetmpid:
  9226. description: 汇率模板id
  9227. type: integer
  9228. traderatetmpname:
  9229. description: 汇率模板名称
  9230. type: string
  9231. tradestatus:
  9232. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9233. type: integer
  9234. userid:
  9235. description: 用户id
  9236. type: integer
  9237. type: object
  9238. models.ErmcpTaAccountEx:
  9239. properties:
  9240. mainAcc:
  9241. $ref: '#/definitions/models.ErmcpTaAccountM'
  9242. description: 主账号
  9243. subacclist:
  9244. description: 子账号列表
  9245. items:
  9246. $ref: '#/definitions/models.ErmcpTaAccount'
  9247. type: array
  9248. type: object
  9249. models.ErmcpTaAccountInfo:
  9250. properties:
  9251. accountid:
  9252. description: 资金账户ID
  9253. type: integer
  9254. accountname:
  9255. description: 账户名称
  9256. type: string
  9257. balance:
  9258. description: 期初余额
  9259. type: number
  9260. capitalbalance:
  9261. description: 本金余额[外部子账户实际出入金余额]
  9262. type: number
  9263. closepl:
  9264. description: 今日平仓盈亏
  9265. type: number
  9266. creditdecrease:
  9267. description: 今日授信减少
  9268. type: number
  9269. creditincrease:
  9270. description: 今日授信增加
  9271. type: number
  9272. curdebt:
  9273. description: 期末欠款
  9274. type: number
  9275. currencyid:
  9276. description: 货币ID
  9277. type: integer
  9278. currentbalance:
  9279. description: 期末余额
  9280. type: number
  9281. freezecharge:
  9282. description: 手续费冻结
  9283. type: number
  9284. freezemargin:
  9285. description: 冻结保证金
  9286. type: number
  9287. fromaccountid:
  9288. description: 所属上级账户
  9289. type: integer
  9290. inamount:
  9291. description: 今日入金金额(包括三方入金)
  9292. type: number
  9293. ismain:
  9294. description: 是否母账号 0:不是母账户 1:是母账户
  9295. type: integer
  9296. mortgagecredit:
  9297. description: 授信金额
  9298. type: number
  9299. oridebt:
  9300. description: 期初欠款
  9301. type: number
  9302. orifreezecharge:
  9303. description: 期初手续费冻结
  9304. type: number
  9305. orifreezemargin:
  9306. description: 期初冻结保证金
  9307. type: number
  9308. orimortgagecredit:
  9309. description: 期初授信金额
  9310. type: number
  9311. oriothercredit:
  9312. description: 期初其它授信金额
  9313. type: number
  9314. oriotherfreezemargin:
  9315. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9316. type: number
  9317. orioutamountfreeze:
  9318. description: 期初出金冻结
  9319. type: number
  9320. oriusedmargin:
  9321. description: 期初占用保证金
  9322. type: number
  9323. othercredit:
  9324. description: 其它授信金额
  9325. type: number
  9326. othercreditdecrease:
  9327. description: 今日其它授信减少
  9328. type: number
  9329. othercreditincrease:
  9330. description: 今日其它授信增加
  9331. type: number
  9332. otherfreezemargin:
  9333. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9334. type: number
  9335. outamount:
  9336. description: 今日出金金额(包括三方出金)
  9337. type: number
  9338. outamountfreeze:
  9339. description: 出金冻结
  9340. type: number
  9341. outthreshold:
  9342. description: 出金阈值
  9343. type: number
  9344. parentaccountid:
  9345. description: 所属根账号
  9346. type: integer
  9347. paycharge:
  9348. description: 今日手续费支出
  9349. type: number
  9350. relateduserid:
  9351. description: 关联用户
  9352. type: integer
  9353. signstatus:
  9354. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9355. type: integer
  9356. sublevelpath:
  9357. description: 账号层级路径(逗号分隔,首尾加逗号)
  9358. type: string
  9359. taaccounttype:
  9360. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9361. type: integer
  9362. thirdinamount:
  9363. description: 今日三方入金
  9364. type: number
  9365. thirdoutamount:
  9366. description: 今日三方出金
  9367. type: number
  9368. tradestatus:
  9369. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9370. type: integer
  9371. transferamount:
  9372. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9373. type: number
  9374. usedmargin:
  9375. description: 占用保证金
  9376. type: number
  9377. userid:
  9378. description: 用户ID
  9379. type: integer
  9380. type: object
  9381. models.ErmcpTaAccountM:
  9382. properties:
  9383. accountid:
  9384. description: 账户id
  9385. type: integer
  9386. accountname:
  9387. description: 账户名称
  9388. type: string
  9389. currencyid:
  9390. description: 币种id
  9391. type: integer
  9392. fcid:
  9393. description: 期货公司id
  9394. type: integer
  9395. fcname:
  9396. description: 期货公司代码
  9397. type: string
  9398. hedgeaccountcode:
  9399. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9400. type: string
  9401. ismain:
  9402. description: 是否主账户 0-否 1-是
  9403. type: integer
  9404. parentaccountid:
  9405. description: 父账户id
  9406. type: integer
  9407. relateduserid:
  9408. description: 关联userid
  9409. type: integer
  9410. tradefeetmpid:
  9411. description: 手续费模板id
  9412. type: integer
  9413. tradefeetmpname:
  9414. description: 手续费模板名称
  9415. type: string
  9416. trademargintmpid:
  9417. description: 保证金模板id
  9418. type: integer
  9419. trademargintmpname:
  9420. description: 保证金模板名称
  9421. type: string
  9422. traderatetmpid:
  9423. description: 汇率模板id
  9424. type: integer
  9425. traderatetmpname:
  9426. description: 汇率模板名称
  9427. type: string
  9428. tradestatus:
  9429. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9430. type: integer
  9431. userid:
  9432. description: 用户id
  9433. type: integer
  9434. type: object
  9435. models.ErmcpTradeConfigTMP:
  9436. properties:
  9437. areauserid:
  9438. description: 所属机构
  9439. type: integer
  9440. basiccurrencyid:
  9441. description: 基本币种ID[汇率] - 目标币种
  9442. type: integer
  9443. mainaccountid:
  9444. description: 主账户ID
  9445. type: integer
  9446. modifierid:
  9447. description: 修改人
  9448. type: integer
  9449. remark:
  9450. description: 备注
  9451. type: string
  9452. tradeconfigtmpid:
  9453. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9454. type: integer
  9455. tradeconfigtmpname:
  9456. description: 交易配置模板名称
  9457. type: string
  9458. tradeconfigtmptype:
  9459. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9460. type: integer
  9461. updatetime:
  9462. description: 更新时间
  9463. type: string
  9464. type: object
  9465. models.Ermcpjrlinkpos:
  9466. properties:
  9467. areauserid:
  9468. description: 所属企业
  9469. type: integer
  9470. averageprice:
  9471. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9472. type: number
  9473. closepl:
  9474. description: 总平仓盈亏 [期货损益]
  9475. type: number
  9476. executeprice:
  9477. description: 执行价 - 1:期货单 为 0
  9478. type: integer
  9479. futurehedgeqty:
  9480. description: 期货套期量
  9481. type: number
  9482. goodsid:
  9483. description: 期货合约
  9484. type: integer
  9485. middlegoodscode:
  9486. description: 套保商品代码
  9487. type: string
  9488. middlegoodsname:
  9489. description: 套保商品名称
  9490. type: string
  9491. netqty:
  9492. description: 净头寸
  9493. type: number
  9494. optioncode:
  9495. description: 期权代码
  9496. type: string
  9497. ordertype:
  9498. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9499. type: integer
  9500. reckonpl:
  9501. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9502. type: number
  9503. spotcontractid:
  9504. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9505. type: string
  9506. todayfutureclosepl:
  9507. description: 今日平仓盈亏
  9508. type: number
  9509. totalbuyamount:
  9510. description: 买金额 [期货]
  9511. type: number
  9512. totalbuyholdamount:
  9513. description: 买持仓总金额[期货]
  9514. type: number
  9515. totalbuyqty:
  9516. description: 买数量
  9517. type: number
  9518. totalcharge:
  9519. description: 手续费
  9520. type: number
  9521. totalpremium:
  9522. description: 权利金 [期权]
  9523. type: number
  9524. totalsellamount:
  9525. description: 卖金额 [期货]
  9526. type: number
  9527. totalsellholdamount:
  9528. description: 卖持仓总金额[期货]
  9529. type: number
  9530. totalsellqty:
  9531. description: 卖数量
  9532. type: number
  9533. updatetime:
  9534. description: 更新时间
  9535. type: string
  9536. required:
  9537. - spotcontractid
  9538. type: object
  9539. models.Ermcppatradelinkdetail:
  9540. properties:
  9541. agreeunit:
  9542. description: 合约乘数
  9543. type: number
  9544. amount:
  9545. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9546. type: number
  9547. areauserid:
  9548. description: 所属机构
  9549. type: integer
  9550. bizsubjectid:
  9551. description: 归属业务部门ID - SubjectID
  9552. type: integer
  9553. buyorsell:
  9554. description: 方向 - 0:买 1:卖
  9555. type: integer
  9556. convertratio:
  9557. description: 品种系数
  9558. type: number
  9559. createtime:
  9560. description: 创建时间
  9561. type: string
  9562. creatorid:
  9563. description: 创建人ID
  9564. type: integer
  9565. creatorsrc:
  9566. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9567. type: integer
  9568. goodsgroupid:
  9569. description: 对冲品种ID[期货合约商品组ID]
  9570. type: integer
  9571. goodsid:
  9572. description: 商品ID
  9573. type: integer
  9574. hedgeditemid:
  9575. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9576. type: integer
  9577. hedgeflag:
  9578. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9579. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9580. type: integer
  9581. linkdetailid:
  9582. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9583. type: string
  9584. linkstatus:
  9585. description: 关联状态 - 1:成功 2:失败 3:解绑
  9586. type: integer
  9587. middlegoodsid:
  9588. description: 套保品种ID
  9589. type: integer
  9590. name:
  9591. description: 账户名/子账户
  9592. type: string
  9593. optioncode:
  9594. description: '[期货合约]期权代码 [期权]'
  9595. type: string
  9596. ordertype:
  9597. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9598. type: integer
  9599. relatedlot:
  9600. description: '[数量]关联手数'
  9601. type: number
  9602. relatedmode:
  9603. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9604. type: integer
  9605. relatedqty:
  9606. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9607. type: number
  9608. retcode:
  9609. description: 返回码
  9610. type: integer
  9611. saleuserid:
  9612. description: 业务员ID
  9613. type: integer
  9614. tradedate:
  9615. description: 关联交易日(yyyyMMdd)
  9616. type: string
  9617. tradeid:
  9618. description: '[成交单号]内部成交单ID'
  9619. type: string
  9620. tradelot:
  9621. description: 成交手数
  9622. type: integer
  9623. tradeprice:
  9624. description: '[价格]成交价格'
  9625. type: number
  9626. tradetime:
  9627. description: 日期时间
  9628. type: string
  9629. tradetradedate:
  9630. description: 成交交易日(yyyyMMdd)
  9631. type: string
  9632. required:
  9633. - hedgeditemid
  9634. type: object
  9635. models.Externalexchange:
  9636. properties:
  9637. autoid:
  9638. description: AutoID - SEQ_EXTERNALEXCHANGE
  9639. type: integer
  9640. exchangefullname:
  9641. description: 外部交易所全称
  9642. type: string
  9643. exexchangecode:
  9644. description: 外部交易所代码
  9645. type: string
  9646. exexchangename:
  9647. description: 外部交易所名称(简称)
  9648. type: string
  9649. ismarketprice:
  9650. description: 是否支持市价 - 0:不支持 1:支持
  9651. type: integer
  9652. quotegear:
  9653. description: 行情档位(1-10)
  9654. type: integer
  9655. showbrokerflag:
  9656. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9657. type: integer
  9658. updatetime:
  9659. description: 更新时间
  9660. type: string
  9661. required:
  9662. - autoid
  9663. type: object
  9664. models.Funcmenulist:
  9665. properties:
  9666. iconame:
  9667. description: 菜单图标
  9668. type: string
  9669. menutype:
  9670. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9671. type: integer
  9672. parentcode:
  9673. description: 上级资源代码
  9674. type: string
  9675. remark:
  9676. description: 备注
  9677. type: string
  9678. resourcecode:
  9679. description: 资源代码
  9680. type: string
  9681. resourcelevel:
  9682. description: 级别 1-一级 2-二级 3-三级 4-四级
  9683. type: integer
  9684. resourcename:
  9685. description: 资源名
  9686. type: string
  9687. sort:
  9688. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9689. type: integer
  9690. url:
  9691. description: URL
  9692. type: string
  9693. required:
  9694. - resourcecode
  9695. type: object
  9696. models.GZWarehouseinfo:
  9697. properties:
  9698. address:
  9699. description: 详细地址
  9700. type: string
  9701. areauserid:
  9702. description: 所属机构
  9703. type: integer
  9704. autoid:
  9705. description: 自增ID
  9706. type: integer
  9707. cityid:
  9708. description: 市
  9709. type: integer
  9710. contactname:
  9711. description: 联系人
  9712. type: string
  9713. contactnum:
  9714. description: 联系电话
  9715. type: string
  9716. countryid:
  9717. description: 国家
  9718. type: integer
  9719. createtime:
  9720. description: 创建时间
  9721. type: string
  9722. districtid:
  9723. description: 区
  9724. type: integer
  9725. hasvideo:
  9726. description: 是否有视频 - 0:无 1:有
  9727. type: integer
  9728. provinceid:
  9729. description: 省
  9730. type: integer
  9731. remark:
  9732. description: 审核备注
  9733. type: string
  9734. videourl:
  9735. description: 视频地址
  9736. type: string
  9737. warehousecode:
  9738. description: 仓库代码
  9739. type: string
  9740. warehousename:
  9741. description: 仓库名称
  9742. type: string
  9743. warehousestatus:
  9744. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9745. type: integer
  9746. warehousetype:
  9747. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9748. type: integer
  9749. type: object
  9750. models.Goods:
  9751. properties:
  9752. agreeunit:
  9753. description: 合约单位
  9754. type: number
  9755. areauserid:
  9756. description: 所属机构
  9757. type: integer
  9758. auditaccountid:
  9759. description: 审核操作员账号
  9760. type: integer
  9761. audittime:
  9762. description: 审核时间
  9763. type: string
  9764. cancelaccountid:
  9765. description: 注销操作员账号
  9766. type: integer
  9767. canceltime:
  9768. description: 注销时间
  9769. type: string
  9770. closepricemode:
  9771. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9772. type: integer
  9773. closepriceparam:
  9774. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9775. type: number
  9776. createtime:
  9777. description: 创建时间
  9778. type: string
  9779. creatorid:
  9780. description: 创建人
  9781. type: integer
  9782. currencyid:
  9783. description: 报价货币ID
  9784. type: integer
  9785. cutmode:
  9786. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9787. type: integer
  9788. decimalplace:
  9789. description: 报价小数位
  9790. type: integer
  9791. delistingdate:
  9792. description: 商品退市时间(状态:退市) -- 已作废
  9793. type: string
  9794. delistingmode:
  9795. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9796. type: integer
  9797. deliveryflag:
  9798. description: 交割标志 - 0:不可交割 1:可交割
  9799. type: integer
  9800. forceclosemode:
  9801. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9802. type: integer
  9803. forceclosevalue:
  9804. description: 定期强平参数 [收益权]
  9805. type: integer
  9806. goodscode:
  9807. description: 商品代码(内部)
  9808. type: string
  9809. goodscurrencyid:
  9810. description: 合约货币ID
  9811. type: integer
  9812. goodsgroupid:
  9813. description: 所属商品组ID
  9814. type: integer
  9815. goodsid:
  9816. description: 商品ID(自增ID SEQ_GOODS)
  9817. type: integer
  9818. goodsname:
  9819. description: 商品名称
  9820. type: string
  9821. goodsquotetype:
  9822. description: '合约报价类型: 1-直接报价 2-间接报价'
  9823. type: integer
  9824. goodsstatus:
  9825. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9826. type: integer
  9827. goodstradetype:
  9828. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9829. type: integer
  9830. goodunitid:
  9831. description: 报价单位ID
  9832. type: integer
  9833. hasquoter:
  9834. description: 是否有报价商 - 0:无报价商 1:有报价商
  9835. type: integer
  9836. hqprotecttime:
  9837. description: 行情保护时间(秒)
  9838. type: integer
  9839. innerdealmode:
  9840. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9841. type: integer
  9842. isbuylimited:
  9843. description: 是否限制建仓量 - 0:不限制 1:限制
  9844. type: integer
  9845. isvisible:
  9846. description: 游客是否可见 - 0:不可见 1:可见
  9847. type: integer
  9848. lasttradedate:
  9849. description: 最后交易日期(状态:待退市)
  9850. type: string
  9851. listingdate:
  9852. description: 交易开始日期
  9853. type: string
  9854. marketid:
  9855. description: 所属市场ID
  9856. type: integer
  9857. modifierid:
  9858. description: 修改人
  9859. type: integer
  9860. modifystatus:
  9861. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9862. type: integer
  9863. modifytime:
  9864. description: 修改时间
  9865. type: string
  9866. outerdealmode:
  9867. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9868. type: integer
  9869. outgoodscode:
  9870. description: 商品代码(外部)
  9871. type: string
  9872. pictureurl:
  9873. description: 商品图片
  9874. type: string
  9875. qtydecimalplace:
  9876. description: 成交量小数位
  9877. type: integer
  9878. quotegear:
  9879. description: 行情档位(1-10)
  9880. type: integer
  9881. quoteminunit:
  9882. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9883. type: integer
  9884. quoteshowtype:
  9885. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9886. type: integer
  9887. quoteshowtypeinterval:
  9888. description: 行情报价间隔时间(秒)(成交价时为0)
  9889. type: integer
  9890. remark:
  9891. description: 备注
  9892. type: string
  9893. required:
  9894. - goodscode
  9895. - goodsid
  9896. - goodsname
  9897. - marketid
  9898. type: object
  9899. models.GoodsIDAndName:
  9900. properties:
  9901. goodscode:
  9902. description: 商品代码(内部)
  9903. type: string
  9904. goodsid:
  9905. description: 商品ID(自增ID SEQ_GOODS)
  9906. type: integer
  9907. goodsname:
  9908. description: 商品名称
  9909. type: string
  9910. marketid:
  9911. description: 所属市场ID
  9912. type: integer
  9913. required:
  9914. - goodscode
  9915. - goodsid
  9916. - goodsname
  9917. - marketid
  9918. type: object
  9919. models.Goodsgroup:
  9920. properties:
  9921. agreeunit:
  9922. description: 合约单位
  9923. type: number
  9924. canshort:
  9925. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9926. type: integer
  9927. closepricemode:
  9928. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9929. type: integer
  9930. closepriceparam:
  9931. description: 强平最新价浮动比例 - 方式为2时使用
  9932. type: number
  9933. createtime:
  9934. description: 创建时间
  9935. type: string
  9936. creatorid:
  9937. description: 创建人
  9938. type: integer
  9939. currencyid:
  9940. description: 报价货币ID
  9941. type: integer
  9942. decimalplace:
  9943. description: 报价小数位
  9944. type: integer
  9945. exercisetype:
  9946. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9947. type: integer
  9948. exexchangeid:
  9949. description: 外部交易所ID[通道交易]
  9950. type: integer
  9951. goodsgroupid:
  9952. description: 商品组ID(自增ID)
  9953. type: integer
  9954. goodsgroupname:
  9955. description: 商品组名称
  9956. type: string
  9957. goodsgroupstatus:
  9958. description: 商品组状态 - 1:正常 2:注销
  9959. type: integer
  9960. goodunitid:
  9961. description: 报价单位ID
  9962. type: integer
  9963. innerdealmode:
  9964. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9965. type: integer
  9966. isbuylimited:
  9967. description: 是否限制建仓量 - 0:不限制 1:限制
  9968. type: integer
  9969. marketid:
  9970. description: 所属市场ID
  9971. type: integer
  9972. modifierid:
  9973. description: 修改人
  9974. type: integer
  9975. modifytime:
  9976. description: 修改时间
  9977. type: string
  9978. outerdealmode:
  9979. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9980. type: integer
  9981. outergroupcode:
  9982. description: 外部商品组代码[通道交易]
  9983. type: string
  9984. premiumdecimalplace:
  9985. description: 权利金小数位[场外期权]
  9986. type: integer
  9987. premiumspreadalgorithm:
  9988. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9989. type: integer
  9990. premiumspreadvalue:
  9991. description: 权利金点差值[场外期权]
  9992. type: number
  9993. qtydecimalplace:
  9994. description: 成交量小数位
  9995. type: integer
  9996. quotegear:
  9997. description: 行情档位(1-10)
  9998. type: integer
  9999. quoteminunit:
  10000. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10001. type: integer
  10002. quoterid:
  10003. description: 报价商ID[场外期权]
  10004. type: integer
  10005. quotesourcegroupid:
  10006. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10007. type: integer
  10008. syncgoodsqty:
  10009. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10010. type: integer
  10011. required:
  10012. - goodsgroupid
  10013. - goodsgroupname
  10014. - goodsgroupstatus
  10015. - marketid
  10016. type: object
  10017. models.Goodssortbypreposition:
  10018. properties:
  10019. goodscode:
  10020. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10021. type: string
  10022. goodsgroupcode:
  10023. description: 品种代码
  10024. type: string
  10025. prepositionqty:
  10026. description: 昨持仓量
  10027. type: integer
  10028. sortindex:
  10029. description: 排序
  10030. type: integer
  10031. tradedate:
  10032. description: 交易日
  10033. type: string
  10034. updatetime:
  10035. description: 更新时间
  10036. type: string
  10037. required:
  10038. - goodscode
  10039. - tradedate
  10040. type: object
  10041. models.Hedgeinnerholderdetail:
  10042. properties:
  10043. accountid:
  10044. description: 账号ID
  10045. type: integer
  10046. buyorsell:
  10047. description: 方向 - 0:买 1:卖
  10048. type: integer
  10049. freezeqty:
  10050. description: 冻结数量 - 按单平使用
  10051. type: integer
  10052. goodsid:
  10053. description: 商品ID
  10054. type: integer
  10055. holderamount:
  10056. description: 持仓金额 [商品币种]
  10057. type: number
  10058. holderdays:
  10059. description: 剩余冻结天数
  10060. type: integer
  10061. holderprice:
  10062. description: 持仓价格
  10063. type: number
  10064. holderqty:
  10065. description: 持仓数量
  10066. type: integer
  10067. marketid:
  10068. description: 市场ID
  10069. type: integer
  10070. openprice:
  10071. description: 建仓价格
  10072. type: number
  10073. openqty:
  10074. description: 建仓数量
  10075. type: integer
  10076. parentaccountid:
  10077. description: 所属母账户
  10078. type: integer
  10079. releaseamount:
  10080. description: 释放持仓金额[商品币种]
  10081. type: number
  10082. tradeamount:
  10083. description: 成交金额[账户]
  10084. type: number
  10085. tradedate:
  10086. description: 交易日(yyyyMMdd)
  10087. type: string
  10088. tradeid:
  10089. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10090. type: string
  10091. tradetime:
  10092. description: 交易时间
  10093. type: string
  10094. required:
  10095. - buyorsell
  10096. - tradeid
  10097. type: object
  10098. models.Hedgemarketopenlog:
  10099. properties:
  10100. accountid:
  10101. description: 资金账号[外部母账户]
  10102. type: integer
  10103. fcname:
  10104. description: 期货公司名称
  10105. type: string
  10106. handlestatus:
  10107. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10108. type: integer
  10109. marketid:
  10110. description: 市场ID
  10111. type: integer
  10112. status:
  10113. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10114. type: integer
  10115. tradedate:
  10116. description: 交易日(yyyyMMdd)
  10117. type: string
  10118. updatetime:
  10119. description: 更新时间
  10120. type: string
  10121. required:
  10122. - accountid
  10123. type: object
  10124. models.HsbyBuyMyPayOrder:
  10125. properties:
  10126. agreeunit:
  10127. description: 合约单位
  10128. type: number
  10129. buyaccountid:
  10130. description: 买方账号ID[报价币种]
  10131. type: integer
  10132. buyorderid:
  10133. description: 买方委托单号
  10134. type: string
  10135. createtime:
  10136. description: 创建时间
  10137. type: string
  10138. currencysign:
  10139. description: 货币符号
  10140. type: string
  10141. decimalplace:
  10142. description: 报价小数位
  10143. type: integer
  10144. goodscode:
  10145. description: 商品代码(内部)
  10146. type: string
  10147. goodsid:
  10148. description: 商品ID
  10149. type: integer
  10150. goodsname:
  10151. description: 商品名称
  10152. type: string
  10153. marketid:
  10154. description: 市场ID
  10155. type: integer
  10156. offamount:
  10157. description: 优惠金额
  10158. type: number
  10159. originalamount:
  10160. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  10161. type: number
  10162. payamount:
  10163. description: 支付金额 = TradeAmount + TradeCharge
  10164. type: number
  10165. payflag:
  10166. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10167. type: integer
  10168. paylimitedtime:
  10169. description: 支付期限
  10170. type: string
  10171. paytime:
  10172. description: 付款时间
  10173. type: string
  10174. picurls1:
  10175. description: 预售商品介绍图片[多张用逗号分隔]
  10176. type: string
  10177. picurls2:
  10178. description: 挂牌商品介绍图片[多张用逗号分隔]
  10179. type: string
  10180. sellaccountid:
  10181. description: 卖方账号ID[报价币种]
  10182. type: integer
  10183. sellorderid:
  10184. description: 卖方委托单号
  10185. type: string
  10186. tradeamount:
  10187. description: 成交金额
  10188. type: number
  10189. tradecharge:
  10190. description: 成交手续费(买方)
  10191. type: number
  10192. tradedate:
  10193. description: 交易日(yyyyMMdd)
  10194. type: string
  10195. tradeid:
  10196. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10197. type: string
  10198. trademode:
  10199. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10200. 21:竞拍-大宗式 22:受托竞价
  10201. type: integer
  10202. tradeprice:
  10203. description: 成交价格
  10204. type: number
  10205. tradeqty:
  10206. description: 成交数量
  10207. type: integer
  10208. vendorname1:
  10209. description: 预售商品供应商名称
  10210. type: string
  10211. vendorname2:
  10212. description: 挂牌商品供应商名称
  10213. type: string
  10214. required:
  10215. - goodscode
  10216. - goodsname
  10217. - tradeid
  10218. - trademode
  10219. type: object
  10220. models.HsbyBuyMyTradeDetail:
  10221. properties:
  10222. accountid:
  10223. description: 账户ID[报价币种]
  10224. type: integer
  10225. agreeunit:
  10226. description: 合约单位
  10227. type: number
  10228. amount:
  10229. description: 金额 = 价格 * 数量 * 合约单位
  10230. type: number
  10231. buyorsell:
  10232. description: 买卖 - 0:买 1:卖
  10233. type: integer
  10234. currencysign:
  10235. description: 货币符号
  10236. type: string
  10237. decimalplace:
  10238. description: 报价小数位
  10239. type: integer
  10240. goodscode:
  10241. description: 商品代码(内部)
  10242. type: string
  10243. goodsid:
  10244. description: 商品ID
  10245. type: integer
  10246. goodsname:
  10247. description: 商品名称
  10248. type: string
  10249. marketid:
  10250. description: 市场ID
  10251. type: integer
  10252. orderamount:
  10253. description: 委托金额
  10254. type: number
  10255. orderid:
  10256. description: 单号(成交单号)
  10257. type: string
  10258. picurls1:
  10259. description: 预售商品介绍图片[多张用逗号分隔]
  10260. type: string
  10261. picurls2:
  10262. description: 挂牌商品介绍图片[多张用逗号分隔]
  10263. type: string
  10264. price:
  10265. description: 价格
  10266. type: number
  10267. qty:
  10268. description: 数量
  10269. type: integer
  10270. time:
  10271. description: 时间
  10272. type: string
  10273. trademode:
  10274. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10275. 21:竞拍-大宗式 22:受托竞价
  10276. type: integer
  10277. vendorname1:
  10278. description: 预售商品供应商名称
  10279. type: string
  10280. vendorname2:
  10281. description: 挂牌商品供应商名称
  10282. type: string
  10283. required:
  10284. - accountid
  10285. - buyorsell
  10286. - goodscode
  10287. - goodsid
  10288. - goodsname
  10289. - marketid
  10290. - orderid
  10291. - qty
  10292. - time
  10293. - trademode
  10294. type: object
  10295. models.HsbyGoodsOrderDetail:
  10296. properties:
  10297. buyorsell:
  10298. description: 买卖 - 0:买 1:卖
  10299. type: integer
  10300. currencysign:
  10301. description: 货币符号
  10302. type: string
  10303. customername:
  10304. description: 客户名称(企业名称),已脱敏
  10305. type: string
  10306. enableqty:
  10307. description: 可用数量
  10308. type: integer
  10309. goodunit:
  10310. description: 报价单位
  10311. type: string
  10312. orderid:
  10313. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10314. type: string
  10315. orderprice:
  10316. description: 委托价格
  10317. type: number
  10318. ordertime:
  10319. description: 委托时间
  10320. type: string
  10321. required:
  10322. - buyorsell
  10323. - orderid
  10324. - ordertime
  10325. type: object
  10326. models.HsbyListingGoodsDetail:
  10327. properties:
  10328. agreeunit:
  10329. description: 合约单位
  10330. type: number
  10331. buymaxqty:
  10332. description: 购买上限 [71] - 0为不限
  10333. type: integer
  10334. currency:
  10335. description: 货币
  10336. type: string
  10337. currencysign:
  10338. description: 货币符号
  10339. type: string
  10340. decimalplace:
  10341. description: 报价小数位
  10342. type: integer
  10343. desccityid:
  10344. description: 目的地(市)ID
  10345. type: integer
  10346. descprovinceid:
  10347. description: 目的地(省)ID
  10348. type: integer
  10349. goodscode:
  10350. description: 商品代码(内部)
  10351. type: string
  10352. goodsdesc:
  10353. description: 商品详情
  10354. type: string
  10355. goodsid:
  10356. description: 商品ID(自增ID SEQ_GOODS)
  10357. type: integer
  10358. goodsname:
  10359. description: 商品名称
  10360. type: string
  10361. goodsprice:
  10362. description: 商品价格
  10363. type: number
  10364. hotindex:
  10365. description: 景点热度
  10366. type: integer
  10367. last:
  10368. description: 现价
  10369. type: number
  10370. limitdown:
  10371. description: 跌停价
  10372. type: number
  10373. limitup:
  10374. description: 涨停价
  10375. type: number
  10376. lotsize:
  10377. description: 手数最小变动单位
  10378. type: integer
  10379. marketid:
  10380. description: 所属市场ID
  10381. type: integer
  10382. picurls:
  10383. description: 介绍图片[多张用逗号分隔]
  10384. type: string
  10385. quoteminunit:
  10386. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10387. type: integer
  10388. stepvalue:
  10389. description: 价格最小变动单位
  10390. type: number
  10391. trademode:
  10392. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10393. 21:竞拍-大宗式 22:受托竞价
  10394. type: integer
  10395. vendorattr:
  10396. description: 供应商附件(多张,逗号分隔)
  10397. type: string
  10398. vendorname:
  10399. description: 供应商名称
  10400. type: string
  10401. vendorphone:
  10402. description: 供应商客服电话
  10403. type: string
  10404. videourls:
  10405. description: 介绍视频[多张用逗号分隔]
  10406. type: string
  10407. required:
  10408. - goodscode
  10409. - goodsid
  10410. - goodsname
  10411. - marketid
  10412. - trademode
  10413. type: object
  10414. models.HsbyMarketGoods:
  10415. properties:
  10416. accountid:
  10417. description: 账户ID[报价币种]
  10418. type: integer
  10419. agreeunit:
  10420. description: 合约单位
  10421. type: number
  10422. buyorsell:
  10423. description: 买卖 - 0:买 1:卖
  10424. type: integer
  10425. categoryid:
  10426. description: 类别ID(WRCATEGORY)
  10427. type: integer
  10428. currency:
  10429. description: 货币
  10430. type: string
  10431. currencysign:
  10432. description: 货币符号
  10433. type: string
  10434. customername:
  10435. description: 卖家名称
  10436. type: string
  10437. decimalplace:
  10438. description: 报价小数位
  10439. type: integer
  10440. goodscode:
  10441. description: 商品代码(内部)
  10442. type: string
  10443. goodsid:
  10444. description: 商品ID
  10445. type: integer
  10446. goodsname:
  10447. description: 商品名称
  10448. type: string
  10449. goodsprice:
  10450. description: 商品价格
  10451. type: number
  10452. hascoupon:
  10453. description: 是否可用优惠卷
  10454. type: boolean
  10455. hotindex:
  10456. description: 景点热度
  10457. type: integer
  10458. marketid:
  10459. description: 市场ID
  10460. type: integer
  10461. orderid:
  10462. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10463. type: string
  10464. orderprice:
  10465. description: 委托价格
  10466. type: number
  10467. orderstatus:
  10468. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10469. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10470. 16:成交失败违约(荷兰式竞拍专用)
  10471. type: integer
  10472. picurls:
  10473. description: 介绍图片[多张用逗号分隔]
  10474. type: string
  10475. quoteminunit:
  10476. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10477. type: integer
  10478. sellUserID:
  10479. description: 卖方UserID
  10480. type: integer
  10481. trademode:
  10482. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10483. 21:竞拍-大宗式 22:受托竞价
  10484. type: integer
  10485. videourls:
  10486. description: 介绍视频[多张用逗号分隔]
  10487. type: string
  10488. required:
  10489. - accountid
  10490. - buyorsell
  10491. - goodscode
  10492. - goodsid
  10493. - goodsname
  10494. - marketid
  10495. - orderid
  10496. - trademode
  10497. type: object
  10498. models.HsbyMarketGoodsDetail:
  10499. properties:
  10500. accountid:
  10501. description: 账户ID[报价币种]
  10502. type: integer
  10503. agreeunit:
  10504. description: 合约单位
  10505. type: number
  10506. buymaxqty:
  10507. description: 购买上限 [71] - 0为不限
  10508. type: integer
  10509. buyorsell:
  10510. description: 买卖 - 0:买 1:卖
  10511. type: integer
  10512. cancelqty:
  10513. description: 撤单数量
  10514. type: integer
  10515. categoryid:
  10516. description: 类别ID(WRCATEGORY)
  10517. type: integer
  10518. currency:
  10519. description: 货币
  10520. type: string
  10521. currencysign:
  10522. description: 货币符号
  10523. type: string
  10524. customername:
  10525. description: 卖家名称
  10526. type: string
  10527. decimalplace:
  10528. description: 报价小数位
  10529. type: integer
  10530. goodscode:
  10531. description: 商品代码(内部)
  10532. type: string
  10533. goodsdesc:
  10534. description: 商品详情
  10535. type: string
  10536. goodsid:
  10537. description: 商品ID
  10538. type: integer
  10539. goodsname:
  10540. description: 商品名称
  10541. type: string
  10542. goodsprice:
  10543. description: 商品价格
  10544. type: number
  10545. hotindex:
  10546. description: 景点热度
  10547. type: integer
  10548. lotsize:
  10549. description: 手数最小变动单位
  10550. type: integer
  10551. marketid:
  10552. description: 市场ID
  10553. type: integer
  10554. orderid:
  10555. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10556. type: string
  10557. orderprice:
  10558. description: 委托价格
  10559. type: number
  10560. orderqty:
  10561. description: 委托数量
  10562. type: integer
  10563. orderstatus:
  10564. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10565. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10566. 16:成交失败违约(荷兰式竞拍专用)
  10567. type: integer
  10568. picurls:
  10569. description: 介绍图片[多张用逗号分隔]
  10570. type: string
  10571. quoteminunit:
  10572. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10573. type: integer
  10574. sellUserID:
  10575. description: 卖方UserID
  10576. type: integer
  10577. trademode:
  10578. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10579. 21:竞拍-大宗式 22:受托竞价
  10580. type: integer
  10581. tradeqty:
  10582. description: 成交数量
  10583. type: integer
  10584. vendorattr:
  10585. description: 供应商附件(多张,逗号分隔)
  10586. type: string
  10587. vendorname:
  10588. description: 供应商名称
  10589. type: string
  10590. vendorphone:
  10591. description: 供应商客服电话
  10592. type: string
  10593. videourls:
  10594. description: 介绍视频[多张用逗号分隔]
  10595. type: string
  10596. required:
  10597. - accountid
  10598. - buyorsell
  10599. - goodscode
  10600. - goodsid
  10601. - goodsname
  10602. - marketid
  10603. - orderid
  10604. - orderqty
  10605. - trademode
  10606. type: object
  10607. models.HsbyMarketInfo:
  10608. properties:
  10609. marketid:
  10610. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10611. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10612. type: integer
  10613. marketname:
  10614. description: 市场名称
  10615. type: string
  10616. marketstatus:
  10617. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10618. type: integer
  10619. trademode:
  10620. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10621. 21:竞拍-大宗式 22:受托竞价
  10622. type: integer
  10623. required:
  10624. - marketid
  10625. - marketstatus
  10626. - trademode
  10627. type: object
  10628. models.HsbyMyGoods:
  10629. properties:
  10630. accountid:
  10631. description: 账号Id
  10632. type: integer
  10633. agreeunit:
  10634. description: 合约单位
  10635. type: number
  10636. buyaverageprice:
  10637. description: 持仓均价
  10638. type: number
  10639. buycurholderamount:
  10640. description: 买当前持仓总金额[商品币种]
  10641. type: number
  10642. buycurpositionqty:
  10643. description: 买当前持仓总数量
  10644. type: integer
  10645. buymaxqty:
  10646. description: 购买上限 [71] - 0为不限
  10647. type: integer
  10648. currencysign:
  10649. description: 货币符号
  10650. type: string
  10651. decimalplace:
  10652. description: 报价小数位
  10653. type: integer
  10654. enableqty:
  10655. description: 可用数量
  10656. type: integer
  10657. goodscode:
  10658. description: 商品代码(内部)
  10659. type: string
  10660. goodsid:
  10661. description: 商品Id
  10662. type: integer
  10663. goodsname:
  10664. description: 商品名称
  10665. type: string
  10666. goodsprice:
  10667. description: 商品价格
  10668. type: number
  10669. goodsstatus:
  10670. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10671. type: integer
  10672. last:
  10673. description: 现价(仅使用于挂牌点选)
  10674. type: number
  10675. limitdown:
  10676. description: 跌停价(仅使用于挂牌点选)
  10677. type: number
  10678. limitup:
  10679. description: 涨停价(仅使用于挂牌点选)
  10680. type: number
  10681. lotsize:
  10682. description: 手数最小变动单位
  10683. type: integer
  10684. marketid:
  10685. description: 所属市场ID
  10686. type: integer
  10687. picurls:
  10688. description: 介绍图片[多张用逗号分隔]
  10689. type: string
  10690. quoteminunit:
  10691. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10692. type: integer
  10693. stepvalue:
  10694. description: 价格最小变动单位
  10695. type: number
  10696. trademode:
  10697. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10698. 21:竞拍-大宗式 22:受托竞价
  10699. type: integer
  10700. required:
  10701. - accountid
  10702. - goodscode
  10703. - goodsid
  10704. - goodsname
  10705. - marketid
  10706. - trademode
  10707. type: object
  10708. models.HsbyMyPackage:
  10709. properties:
  10710. accountid:
  10711. description: 账户ID
  10712. type: integer
  10713. address:
  10714. description: 提货人详细地址
  10715. type: string
  10716. agreeunit:
  10717. description: 合约单位
  10718. type: number
  10719. amount:
  10720. description: 提货金额
  10721. type: number
  10722. auditer:
  10723. description: 审核人
  10724. type: integer
  10725. audittime:
  10726. description: 审核时间
  10727. type: string
  10728. averageprice:
  10729. description: 均价
  10730. type: number
  10731. cardnum:
  10732. description: 提货人证件号码
  10733. type: string
  10734. cardtypeid:
  10735. description: 提货人证件类型
  10736. type: integer
  10737. checkremark:
  10738. description: 审核备注
  10739. type: string
  10740. currencysign:
  10741. description: 货币符号
  10742. type: string
  10743. decimalplace:
  10744. description: 报价小数位
  10745. type: integer
  10746. goodscode:
  10747. description: 商品代码(内部)
  10748. type: string
  10749. goodsid:
  10750. description: 商品ID
  10751. type: integer
  10752. goodsname:
  10753. description: 商品名称
  10754. type: string
  10755. handlestatus:
  10756. description: 处理状态
  10757. type: integer
  10758. marketid:
  10759. description: 市场ID
  10760. type: integer
  10761. phonenum:
  10762. description: 提货人联系方式
  10763. type: string
  10764. picurls:
  10765. description: 介绍图片[多张用逗号分隔]
  10766. type: string
  10767. qty:
  10768. description: 提货数量
  10769. type: number
  10770. recivername:
  10771. description: 提货人姓名
  10772. type: string
  10773. reqtime:
  10774. description: 更新时间
  10775. type: string
  10776. takemode:
  10777. description: 提货方式 - 2:自提 3:配送
  10778. type: integer
  10779. takeorderid:
  10780. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10781. type: string
  10782. takeorderstatus:
  10783. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10784. type: integer
  10785. takeremark:
  10786. description: 提货备注
  10787. type: string
  10788. tradedate:
  10789. description: 交易日(yyyyMMdd)
  10790. type: string
  10791. trademode:
  10792. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10793. 21:竞拍-大宗式 22:受托竞价
  10794. type: integer
  10795. userid:
  10796. description: 用户ID
  10797. type: integer
  10798. vendorname:
  10799. description: 供应商名称
  10800. type: string
  10801. required:
  10802. - goodscode
  10803. - goodsname
  10804. - takeorderid
  10805. - trademode
  10806. type: object
  10807. models.HsbyPreGoods:
  10808. properties:
  10809. agreeunit:
  10810. description: 合约单位
  10811. type: number
  10812. currency:
  10813. description: 货币
  10814. type: string
  10815. currencysign:
  10816. description: 货币符号
  10817. type: string
  10818. decimalplace:
  10819. description: 报价小数位
  10820. type: integer
  10821. desccityid:
  10822. description: 目的地(市)
  10823. type: integer
  10824. descprovinceid:
  10825. description: 目的地(省)
  10826. type: integer
  10827. enableqty:
  10828. description: 剩余数量
  10829. type: integer
  10830. goodscode:
  10831. description: 商品代码(内部)
  10832. type: string
  10833. goodsid:
  10834. description: 商品ID(自增ID SEQ_GOODS)
  10835. type: integer
  10836. goodsname:
  10837. description: 商品名称
  10838. type: string
  10839. goodsstatus:
  10840. description: 商品状态- 2:未上市 3:上市
  10841. type: integer
  10842. lasttradedate:
  10843. description: 最后交易日期(状态:待退市)
  10844. type: string
  10845. listingdate:
  10846. description: 交易开始日期
  10847. type: string
  10848. marketid:
  10849. description: 所属市场ID
  10850. type: integer
  10851. picurls:
  10852. description: 介绍图片[多张用逗号分隔]
  10853. type: string
  10854. presaledqty:
  10855. description: 已预售量(预售结束时更新)
  10856. type: integer
  10857. presaleqty:
  10858. description: 预售数量
  10859. type: integer
  10860. quoteminunit:
  10861. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10862. type: integer
  10863. refprice:
  10864. description: 参考价格[一口价]
  10865. type: number
  10866. relatedgoodsid:
  10867. description: 关联交易合约ID
  10868. type: integer
  10869. trademode:
  10870. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10871. 21:竞拍-大宗式 22:受托竞价
  10872. type: integer
  10873. videourls:
  10874. description: 介绍视频[多张用逗号分隔]
  10875. type: string
  10876. required:
  10877. - goodscode
  10878. - goodsid
  10879. - goodsname
  10880. - marketid
  10881. - trademode
  10882. type: object
  10883. models.HsbyPreGoodsDetail:
  10884. properties:
  10885. agreeunit:
  10886. description: 合约单位
  10887. type: number
  10888. buymaxqty:
  10889. description: 购买上限 [71] - 0为不限
  10890. type: integer
  10891. currency:
  10892. description: 货币
  10893. type: string
  10894. currencysign:
  10895. description: 货币符号
  10896. type: string
  10897. customername:
  10898. description: 发行单位
  10899. type: string
  10900. decimalplace:
  10901. description: 报价小数位
  10902. type: integer
  10903. desccityid:
  10904. description: 目的地(市)ID
  10905. type: integer
  10906. descprovinceid:
  10907. description: 目的地(省)ID
  10908. type: integer
  10909. enableqty:
  10910. description: 剩余数量
  10911. type: integer
  10912. goodscode:
  10913. description: 商品代码(内部)
  10914. type: string
  10915. goodsdesc:
  10916. description: 商品详情
  10917. type: string
  10918. goodsid:
  10919. description: 商品ID(自增ID SEQ_GOODS)
  10920. type: integer
  10921. goodsname:
  10922. description: 商品名称
  10923. type: string
  10924. goodsstatus:
  10925. description: 商品状态- 2:未上市 3:上市
  10926. type: integer
  10927. goodunit:
  10928. description: 报价单位
  10929. type: string
  10930. lasttradedate:
  10931. description: 最后交易日期(状态:待退市)
  10932. type: string
  10933. listingdate:
  10934. description: 交易开始日期
  10935. type: string
  10936. lotsize:
  10937. description: 手数最小变动单位
  10938. type: integer
  10939. marketid:
  10940. description: 所属市场ID
  10941. type: integer
  10942. picurls:
  10943. description: 介绍图片[多张用逗号分隔]
  10944. type: string
  10945. presaledqty:
  10946. description: 已预售量(预售结束时更新)
  10947. type: integer
  10948. presaleqty:
  10949. description: 预售数量
  10950. type: integer
  10951. quoteminunit:
  10952. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10953. type: integer
  10954. refprice:
  10955. description: 参考价格[一口价]
  10956. type: number
  10957. relatedgoodsid:
  10958. description: 关联交易合约ID
  10959. type: integer
  10960. stepvalue:
  10961. description: 价格最小变动单位
  10962. type: number
  10963. trademode:
  10964. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10965. 21:竞拍-大宗式 22:受托竞价
  10966. type: integer
  10967. vendorattr:
  10968. description: 供应商附件(多张,逗号分隔)
  10969. type: string
  10970. vendorname:
  10971. description: 供应商名称
  10972. type: string
  10973. vendorphone:
  10974. description: 供应商客服电话
  10975. type: string
  10976. videourls:
  10977. description: 介绍视频[多张用逗号分隔]
  10978. type: string
  10979. required:
  10980. - goodscode
  10981. - goodsid
  10982. - goodsname
  10983. - marketid
  10984. - trademode
  10985. type: object
  10986. models.HsbySellCollectionOrder:
  10987. properties:
  10988. agreeunit:
  10989. description: 合约单位
  10990. type: number
  10991. buyaccountid:
  10992. description: 买方账号ID[报价币种]
  10993. type: integer
  10994. buyorderid:
  10995. description: 买方委托单号
  10996. type: string
  10997. createtime:
  10998. description: 创建时间
  10999. type: string
  11000. currencysign:
  11001. description: 货币符号
  11002. type: string
  11003. decimalplace:
  11004. description: 报价小数位
  11005. type: integer
  11006. goodscode:
  11007. description: 商品代码(内部)
  11008. type: string
  11009. goodsid:
  11010. description: 商品ID
  11011. type: integer
  11012. goodsname:
  11013. description: 商品名称
  11014. type: string
  11015. marketid:
  11016. description: 市场ID
  11017. type: integer
  11018. offamount:
  11019. description: 优惠金额
  11020. type: number
  11021. payamount:
  11022. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  11023. type: number
  11024. payflag:
  11025. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11026. type: integer
  11027. paylimitedtime:
  11028. description: 支付期限
  11029. type: string
  11030. paytime:
  11031. description: 付款时间
  11032. type: string
  11033. picurls:
  11034. description: 商品介绍图片[多张用逗号分隔]
  11035. type: string
  11036. sellaccountid:
  11037. description: 卖方账号ID[报价币种]
  11038. type: integer
  11039. sellorderid:
  11040. description: 卖方委托单号
  11041. type: string
  11042. tradeamount:
  11043. description: 成交金额
  11044. type: number
  11045. tradecharge:
  11046. description: 成交手续费(买方)
  11047. type: number
  11048. tradedate:
  11049. description: 交易日(yyyyMMdd)
  11050. type: string
  11051. tradeid:
  11052. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11053. type: string
  11054. trademode:
  11055. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11056. 21:竞拍-大宗式 22:受托竞价
  11057. type: integer
  11058. tradeprice:
  11059. description: 成交价格
  11060. type: number
  11061. tradeqty:
  11062. description: 成交数量
  11063. type: integer
  11064. required:
  11065. - goodscode
  11066. - goodsname
  11067. - tradeid
  11068. - trademode
  11069. type: object
  11070. models.HsbySellMyDetail:
  11071. properties:
  11072. accountid:
  11073. description: 账户ID[报价币种]
  11074. type: integer
  11075. agreeunit:
  11076. description: 合约单位
  11077. type: number
  11078. buyorsell:
  11079. description: 买卖 - 0:买 1:卖
  11080. type: integer
  11081. currencysign:
  11082. description: 货币符号
  11083. type: string
  11084. decimalplace:
  11085. description: 报价小数位
  11086. type: integer
  11087. goodscode:
  11088. description: 商品代码(内部)
  11089. type: string
  11090. goodsid:
  11091. description: 商品ID
  11092. type: integer
  11093. goodsname:
  11094. description: 商品名称
  11095. type: string
  11096. marketid:
  11097. description: 市场ID
  11098. type: integer
  11099. orderid:
  11100. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  11101. type: string
  11102. ordertype:
  11103. description: 单据类型:0 - 发布中, 1 - 已完成
  11104. type: integer
  11105. picurls:
  11106. description: 介绍图片[多张用逗号分隔]
  11107. type: string
  11108. price:
  11109. description: 价格
  11110. type: number
  11111. qty:
  11112. description: 数量
  11113. type: integer
  11114. time:
  11115. description: 时间
  11116. type: string
  11117. trademode:
  11118. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11119. 21:竞拍-大宗式 22:受托竞价
  11120. type: integer
  11121. vendorname:
  11122. description: 供应商名称
  11123. type: string
  11124. required:
  11125. - accountid
  11126. - buyorsell
  11127. - goodscode
  11128. - goodsid
  11129. - goodsname
  11130. - marketid
  11131. - orderid
  11132. - time
  11133. - trademode
  11134. type: object
  11135. models.HsbyTopGoods:
  11136. properties:
  11137. agreeunit:
  11138. description: 合约单位
  11139. type: number
  11140. currency:
  11141. description: 货币
  11142. type: string
  11143. currencysign:
  11144. description: 货币符号
  11145. type: string
  11146. decimalplace:
  11147. description: 报价小数位
  11148. type: integer
  11149. desccityid:
  11150. description: 目的地(市)
  11151. type: integer
  11152. descprovinceid:
  11153. description: 目的地(省)
  11154. type: integer
  11155. goodscode:
  11156. description: 商品代码(内部)
  11157. type: string
  11158. goodsid:
  11159. description: 商品ID(自增ID SEQ_GOODS)
  11160. type: integer
  11161. goodsname:
  11162. description: 商品名称
  11163. type: string
  11164. hotindex:
  11165. description: 景点热度
  11166. type: integer
  11167. last:
  11168. description: 现价
  11169. type: number
  11170. marketid:
  11171. description: 所属市场ID
  11172. type: integer
  11173. picurls:
  11174. description: 介绍图片[多张用逗号分隔]
  11175. type: string
  11176. quoteminunit:
  11177. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11178. type: integer
  11179. trademode:
  11180. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11181. 21:竞拍-大宗式 22:受托竞价
  11182. type: integer
  11183. videourls:
  11184. description: 介绍视频[多张用逗号分隔]
  11185. type: string
  11186. required:
  11187. - goodscode
  11188. - goodsid
  11189. - goodsname
  11190. - marketid
  11191. - trademode
  11192. type: object
  11193. models.HybsMyBuyOrderDetail:
  11194. properties:
  11195. accountid:
  11196. description: 账户ID[报价币种]
  11197. type: integer
  11198. agreeunit:
  11199. description: 合约单位
  11200. type: number
  11201. buyorsell:
  11202. description: 买卖 - 0:买 1:卖
  11203. type: integer
  11204. cancelqty:
  11205. description: 撤单数量
  11206. type: integer
  11207. currencysign:
  11208. description: 货币符号
  11209. type: string
  11210. decimalplace:
  11211. description: 报价小数位
  11212. type: integer
  11213. goodscode:
  11214. description: 商品代码(内部)
  11215. type: string
  11216. goodsid:
  11217. description: 商品ID
  11218. type: integer
  11219. goodsname:
  11220. description: 商品名称
  11221. type: string
  11222. listingselecttype:
  11223. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11224. type: integer
  11225. marketid:
  11226. description: 市场ID
  11227. type: integer
  11228. mybuystatus:
  11229. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  11230. type: integer
  11231. orderamount:
  11232. description: 委托金额
  11233. type: number
  11234. orderid:
  11235. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11236. type: string
  11237. orderprice:
  11238. description: 委托价格
  11239. type: number
  11240. orderqty:
  11241. description: 委托数量
  11242. type: integer
  11243. orderstatus:
  11244. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11245. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11246. 16:成交失败违约(荷兰式竞拍专用)
  11247. type: integer
  11248. ordertime:
  11249. description: 委托时间
  11250. type: string
  11251. picurls1:
  11252. description: 预售商品介绍图片[多张用逗号分隔]
  11253. type: string
  11254. picurls2:
  11255. description: 挂牌商品介绍图片[多张用逗号分隔]
  11256. type: string
  11257. trademode:
  11258. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11259. 21:竞拍-大宗式 22:受托竞价
  11260. type: integer
  11261. tradeqty:
  11262. description: 成交数量
  11263. type: integer
  11264. vendorname1:
  11265. description: 预售商品供应商名称
  11266. type: string
  11267. vendorname2:
  11268. description: 挂牌商品供应商名称
  11269. type: string
  11270. required:
  11271. - accountid
  11272. - buyorsell
  11273. - goodscode
  11274. - goodsid
  11275. - goodsname
  11276. - marketid
  11277. - orderid
  11278. - orderqty
  11279. - ordertime
  11280. - trademode
  11281. type: object
  11282. models.InternalEnableTradeDetail:
  11283. properties:
  11284. agreeunit:
  11285. description: 合约乘数
  11286. type: number
  11287. areauserid:
  11288. description: 企业ID
  11289. type: integer
  11290. convertratio:
  11291. description: 品种系数
  11292. type: number
  11293. deliverygoodscode:
  11294. description: 现货品种代码
  11295. type: string
  11296. deliverygoodsid:
  11297. description: 现货品种ID(SEQ_DELIVERYGOODS)
  11298. type: integer
  11299. deliverygoodsname:
  11300. description: 现货品种名称
  11301. type: string
  11302. futurehedgeqty:
  11303. description: '[已关联数量]期货持仓套期量'
  11304. type: number
  11305. goodsid:
  11306. description: 期货合约ID
  11307. type: integer
  11308. hedgeditemid:
  11309. description: 被套期项目ID
  11310. type: string
  11311. hedgeditemnum:
  11312. description: 项目编号
  11313. type: string
  11314. tradeuserid:
  11315. description: 交易用户ID
  11316. type: integer
  11317. unexehedgeqty:
  11318. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  11319. type: number
  11320. unexespotqty:
  11321. description: 未执行现货量
  11322. type: number
  11323. wrstandardcode:
  11324. description: 现货品类代码
  11325. type: string
  11326. wrstandardid:
  11327. description: 现货品类ID(SEQ_WRSTANDARD)
  11328. type: integer
  11329. wrstandardname:
  11330. description: 现货品类名称
  11331. type: string
  11332. required:
  11333. - areauserid
  11334. - goodsid
  11335. - tradeuserid
  11336. type: object
  11337. models.InternalUncorrelatedTradeDetail:
  11338. properties:
  11339. accountid:
  11340. description: 账号ID
  11341. type: integer
  11342. accountname:
  11343. description: 套期主体
  11344. type: string
  11345. agreeunit:
  11346. description: 合约乘数
  11347. type: number
  11348. areauserid:
  11349. description: 所属机构
  11350. type: integer
  11351. bizsubjectid:
  11352. description: 归属业务部门ID - SubjectID
  11353. type: integer
  11354. buyorsell:
  11355. description: 方向 - 0:买 1:卖
  11356. type: integer
  11357. channelbuildtype:
  11358. description: 委托单据类型 0:无 1:建仓 2:平仓
  11359. type: integer
  11360. convertratio:
  11361. description: 品种系数
  11362. type: number
  11363. createtime:
  11364. description: 创建时间
  11365. type: string
  11366. creatorid:
  11367. description: 创建人ID
  11368. type: integer
  11369. creatorsrc:
  11370. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11371. type: integer
  11372. enableqty:
  11373. description: 项目可关联数量 = 套保品种数量 - 关联数量
  11374. type: number
  11375. enumdicname:
  11376. description: 单位
  11377. type: string
  11378. goodscode:
  11379. description: 合约代码
  11380. type: string
  11381. goodsgroupid:
  11382. description: 对冲品种ID[期货合约商品组ID]
  11383. type: integer
  11384. goodsid:
  11385. description: 商品ID
  11386. type: integer
  11387. goodsname:
  11388. description: 合约名称
  11389. type: string
  11390. hedgeditemid:
  11391. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11392. type: integer
  11393. hedgeflag:
  11394. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11395. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11396. type: integer
  11397. linkdetailid:
  11398. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11399. type: string
  11400. linkstatus:
  11401. description: 关联状态 - 1:成功 2:失败 3:解绑
  11402. type: integer
  11403. middlegoodsid:
  11404. description: 套保品种ID
  11405. type: integer
  11406. middlegoodsqty:
  11407. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  11408. type: number
  11409. relatedlot:
  11410. description: '[数量]关联手数'
  11411. type: number
  11412. relatedmode:
  11413. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11414. type: integer
  11415. relatedqty:
  11416. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11417. type: number
  11418. retcode:
  11419. description: 返回码
  11420. type: integer
  11421. saleuserid:
  11422. description: 业务员ID
  11423. type: integer
  11424. tradedate:
  11425. description: 关联交易日(yyyyMMdd)
  11426. type: string
  11427. tradeid:
  11428. description: 成交单号
  11429. type: string
  11430. tradelot:
  11431. description: 成交手数
  11432. type: integer
  11433. tradeprice:
  11434. description: 成交价
  11435. type: number
  11436. tradetime:
  11437. description: 成交时间
  11438. type: string
  11439. tradetradedate:
  11440. description: 成交交易日(yyyyMMdd)
  11441. type: string
  11442. tradeuserid:
  11443. description: 交易用户ID
  11444. type: integer
  11445. type: object
  11446. models.Loginaccount:
  11447. properties:
  11448. accountname:
  11449. description: 账户名称
  11450. type: string
  11451. canoutin:
  11452. description: 是否可出入金 - 0:不可 1:可
  11453. type: integer
  11454. clientroleid:
  11455. description: 终端角色ID
  11456. type: integer
  11457. haslogined:
  11458. description: 是否已登录 - 0:未登录 1:已登录
  11459. type: integer
  11460. hasupdatedpwd:
  11461. description: 是否已更改密码 - 0:未修改 1:已修改
  11462. type: integer
  11463. lastloginip:
  11464. description: 最新登录地址
  11465. type: string
  11466. lastloginmode:
  11467. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11468. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11469. type: integer
  11470. lastloginremark:
  11471. description: 最新登录描述
  11472. type: string
  11473. lastlogintime:
  11474. description: 最新登录时间
  11475. type: string
  11476. logincode:
  11477. description: 登录代码
  11478. type: string
  11479. loginfailnum:
  11480. description: 连续登录失败次数(登录成功时清零)
  11481. type: integer
  11482. loginid:
  11483. description: 登陆账号
  11484. type: integer
  11485. loginport:
  11486. description: 最新登录端口
  11487. type: integer
  11488. loginstatus:
  11489. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11490. type: integer
  11491. loginusertype:
  11492. description: 登录账号类型 - 1:投资者 2:机构交易员
  11493. type: integer
  11494. mobile:
  11495. description: 手机号码(加密存储)
  11496. type: string
  11497. modifierid:
  11498. description: 修改人
  11499. type: integer
  11500. modifysrc:
  11501. description: 审核来源 - 1:管理端 2:终端
  11502. type: integer
  11503. modifytime:
  11504. description: 修改时间
  11505. type: string
  11506. password:
  11507. description: 登陆密码
  11508. type: string
  11509. pwdwrongcount:
  11510. description: 密码错误次数
  11511. type: integer
  11512. relateduserid:
  11513. description: 关联用户ID(机构)
  11514. type: integer
  11515. taaccountrighttype:
  11516. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11517. type: integer
  11518. unfreezetime:
  11519. description: 账户解冻时间
  11520. type: string
  11521. userid:
  11522. description: 用户ID
  11523. type: integer
  11524. required:
  11525. - loginid
  11526. type: object
  11527. models.MainAccountInfo:
  11528. properties:
  11529. accountid:
  11530. description: 账号id
  11531. type: integer
  11532. accountname:
  11533. description: 账号名称(taaccount表中的名称)
  11534. type: string
  11535. appid:
  11536. description: AppID
  11537. type: string
  11538. authcode:
  11539. description: 授权码
  11540. type: string
  11541. brokerid:
  11542. description: 经纪商id
  11543. type: string
  11544. fcid:
  11545. description: 期货公司id
  11546. type: integer
  11547. fcname:
  11548. description: 期货公司代码
  11549. type: string
  11550. hedgeaccountcode:
  11551. description: 外部账号代码(主账号登录代码)
  11552. type: string
  11553. hedgeaccountpwd:
  11554. description: 密码
  11555. type: string
  11556. ismain:
  11557. description: 是否主账号
  11558. type: integer
  11559. relateduserid:
  11560. description: 关联用户id
  11561. type: integer
  11562. userid:
  11563. description: 关联用户id
  11564. type: integer
  11565. type: object
  11566. models.Market:
  11567. properties:
  11568. auctionwrtype:
  11569. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11570. type: integer
  11571. canacceptquote:
  11572. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11573. type: integer
  11574. cangoodsexercise:
  11575. description: '[期权]是否可现货行权- 0:否 1:是'
  11576. type: integer
  11577. cangoodsexercisetype:
  11578. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11579. type: integer
  11580. canmanualquotestrike:
  11581. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11582. type: integer
  11583. canmutistage:
  11584. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11585. type: integer
  11586. canpreexercise:
  11587. description: '[期权]是否可预申报- 0:否 1:是'
  11588. type: integer
  11589. clearinterval:
  11590. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11591. type: integer
  11592. contracttmp:
  11593. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11594. type: string
  11595. exchareaid:
  11596. description: 所属交易所,可以没有
  11597. type: integer
  11598. goodstype:
  11599. description: 商品类型 - 1:交易商品 2:仓单商品
  11600. type: integer
  11601. hasrebate:
  11602. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11603. type: integer
  11604. hastradecredit:
  11605. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11606. type: integer
  11607. haswr:
  11608. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11609. type: integer
  11610. isdeductmargin:
  11611. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11612. type: integer
  11613. isrecordsource:
  11614. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11615. type: integer
  11616. isreleasemargin:
  11617. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11618. type: integer
  11619. marginformula:
  11620. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11621. type: integer
  11622. marginformula2:
  11623. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11624. type: integer
  11625. marketid:
  11626. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11627. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11628. type: integer
  11629. marketname:
  11630. description: 市场名称
  11631. type: string
  11632. marketserviceid:
  11633. description: 市场服务ID
  11634. type: integer
  11635. marketstatus:
  11636. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11637. type: integer
  11638. markettype:
  11639. description: 市场类型- 1:非交易服务 2:交易服务
  11640. type: integer
  11641. matchermode:
  11642. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11643. type: integer
  11644. openmethod:
  11645. description: 开盘模式 - 0 自动 1手动
  11646. type: integer
  11647. otcuserid:
  11648. description: 场外期权做市商[场外期权]
  11649. type: integer
  11650. outersynctime:
  11651. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11652. type: string
  11653. pendingflag:
  11654. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11655. type: integer
  11656. pendingtime:
  11657. description: 待开市时间[通道交易-对冲](HH:mm)
  11658. type: string
  11659. performancetempid:
  11660. description: 履约计划模板ID - 作废
  11661. type: integer
  11662. premiumquotemode:
  11663. description: 权利金报价方式 - 1:自动 2:手动
  11664. type: integer
  11665. rebateratio:
  11666. description: 返利比率[竞价式]
  11667. type: number
  11668. reckonorder:
  11669. description: 结算顺序
  11670. type: integer
  11671. reckonpricealgorithm:
  11672. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11673. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11674. type: integer
  11675. reckonpriceparam:
  11676. description: 结算价参数
  11677. type: integer
  11678. reckontime:
  11679. description: 结算时间[通道交易-对冲](HH:mm)
  11680. type: string
  11681. roleprioritytype:
  11682. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11683. type: integer
  11684. selllistingauditflag:
  11685. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11686. type: integer
  11687. trademarkettype:
  11688. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11689. type: integer
  11690. trademode:
  11691. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11692. 21:竞拍-大宗式 22:受托竞价
  11693. type: integer
  11694. tradeproperty:
  11695. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11696. 8:场外期权
  11697. type: integer
  11698. tradetype:
  11699. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11700. type: integer
  11701. required:
  11702. - marketid
  11703. - marketstatus
  11704. - openmethod
  11705. - reckonpricealgorithm
  11706. - trademode
  11707. - tradeproperty
  11708. type: object
  11709. models.Marketcalendar:
  11710. properties:
  11711. holidaydate:
  11712. description: 节假日期(yyyy-MM-dd)
  11713. type: string
  11714. marketid:
  11715. description: 市场ID
  11716. type: integer
  11717. type: object
  11718. models.Marketrun:
  11719. properties:
  11720. afternexttradedate:
  11721. description: 下下交易日
  11722. type: string
  11723. clearquoteflag:
  11724. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11725. type: integer
  11726. lastreckondate:
  11727. description: 最新交易日(结算成功)
  11728. type: string
  11729. machinedate:
  11730. description: 机器时间
  11731. type: string
  11732. manualflag:
  11733. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11734. type: integer
  11735. marketid:
  11736. description: 市场ID
  11737. type: integer
  11738. nexttradedate:
  11739. description: 下一交易日
  11740. type: string
  11741. pretradedate:
  11742. description: 上一交易日
  11743. type: string
  11744. reckonflag:
  11745. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11746. type: integer
  11747. runstatus:
  11748. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11749. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11750. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11751. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11752. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11753. 62.今日免清算
  11754. type: integer
  11755. sectionid:
  11756. description: 时间段号[多时段时用]
  11757. type: integer
  11758. tradedate:
  11759. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11760. type: string
  11761. tradedate2:
  11762. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11763. type: string
  11764. updatetime:
  11765. description: 更新时间
  11766. type: string
  11767. required:
  11768. - marketid
  11769. - nexttradedate
  11770. - reckonflag
  11771. - runstatus
  11772. - tradedate
  11773. - tradedate2
  11774. type: object
  11775. models.Messageboard:
  11776. properties:
  11777. contactnum:
  11778. description: 联系电话
  11779. type: string
  11780. createtime:
  11781. description: 创建时间
  11782. type: string
  11783. message:
  11784. description: 留言信息
  11785. type: string
  11786. messageboardid:
  11787. description: 留言簿ID(SEQ_MessageBoard)
  11788. type: integer
  11789. userid:
  11790. description: 用户ID
  11791. type: integer
  11792. required:
  11793. - messageboardid
  11794. type: object
  11795. models.MyCoupon:
  11796. properties:
  11797. accountid:
  11798. description: 资金账户ID
  11799. type: integer
  11800. areauserid:
  11801. description: 所属机构
  11802. type: integer
  11803. conditionvalue:
  11804. description: 条件阈值(可为0)
  11805. type: number
  11806. couponcategroy:
  11807. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11808. type: integer
  11809. couponname:
  11810. description: 优惠券名称
  11811. type: string
  11812. coupontypeid:
  11813. description: 优惠券类型ID
  11814. type: string
  11815. couponvalue:
  11816. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11817. type: number
  11818. curfreezeqty:
  11819. description: 期末冻结数量
  11820. type: integer
  11821. curqty:
  11822. description: 期末数量
  11823. type: integer
  11824. isgeneral:
  11825. description: 是否通用券 - 0:否 1:是
  11826. type: integer
  11827. isunusable:
  11828. description: 是否不可用
  11829. type: boolean
  11830. limitedflag:
  11831. description: 是否指定商品 - 0:不限 1:限制
  11832. type: integer
  11833. limitedgoodsids:
  11834. description: 指定商品IDs[逗号分隔,前后加逗号]
  11835. type: string
  11836. orifreezeqty:
  11837. description: 期初冻结数量
  11838. type: integer
  11839. oriqty:
  11840. description: 期初数量
  11841. type: integer
  11842. reasontype:
  11843. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11844. type: integer
  11845. todaydecrease:
  11846. description: 今日减少
  11847. type: integer
  11848. todayincrease:
  11849. description: 今日增加
  11850. type: integer
  11851. userid:
  11852. description: 用户ID
  11853. type: integer
  11854. userscope:
  11855. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11856. type: string
  11857. required:
  11858. - accountid
  11859. - coupontypeid
  11860. type: object
  11861. models.MyCouponHold:
  11862. properties:
  11863. accountid:
  11864. description: 资金账户ID
  11865. type: integer
  11866. conditionvalue:
  11867. description: 条件阈值(可为0)
  11868. type: number
  11869. couponcategroy:
  11870. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11871. type: integer
  11872. couponholdid:
  11873. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11874. type: string
  11875. couponname:
  11876. description: 优惠券名称
  11877. type: string
  11878. coupontypeid:
  11879. description: 优惠券类型ID - SEQ_COUPONTYPE
  11880. type: string
  11881. couponvalue:
  11882. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11883. type: number
  11884. createtime:
  11885. description: 创建时间
  11886. type: string
  11887. enddate:
  11888. description: 结束日期
  11889. type: string
  11890. giveapplyid:
  11891. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11892. type: integer
  11893. holdstatus:
  11894. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11895. type: integer
  11896. isgeneral:
  11897. description: 是否通用券 - 0:否 1:是
  11898. type: integer
  11899. limitedflag:
  11900. description: 是否指定商品 - 0:不限 1:限制
  11901. type: integer
  11902. limitedgoodsids:
  11903. description: 指定商品IDs[逗号分隔]
  11904. type: string
  11905. qty:
  11906. description: 数量(按1平铺)
  11907. type: integer
  11908. startdate:
  11909. description: 开始日期
  11910. type: string
  11911. userid:
  11912. description: 用户ID
  11913. type: integer
  11914. userscope:
  11915. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11916. type: string
  11917. required:
  11918. - couponholdid
  11919. type: object
  11920. models.MyUsedCoupon:
  11921. properties:
  11922. accountid:
  11923. description: 资金账户ID(买方)
  11924. type: integer
  11925. conditionvalue:
  11926. description: 条件阈值(可为0)
  11927. type: number
  11928. couponcategroy:
  11929. description: 种类 - 1:现金券 2:折扣券
  11930. type: integer
  11931. couponname:
  11932. description: 优惠券名称
  11933. type: string
  11934. coupontypeid:
  11935. description: 优惠券类型ID(买方)
  11936. type: string
  11937. couponvalue:
  11938. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11939. type: number
  11940. createtime:
  11941. description: 创建时间
  11942. type: string
  11943. goodsid:
  11944. description: 商品ID
  11945. type: integer
  11946. handlestatus:
  11947. description: 处理状态
  11948. type: integer
  11949. marketid:
  11950. description: 市场ID
  11951. type: integer
  11952. offamount:
  11953. description: 优惠金额
  11954. type: number
  11955. orderid:
  11956. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11957. type: string
  11958. sellaccountid:
  11959. description: 资金账户ID(卖方)
  11960. type: integer
  11961. tradeamount:
  11962. description: 成交金额
  11963. type: number
  11964. tradeid:
  11965. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11966. type: string
  11967. usedqty:
  11968. description: 使用数量
  11969. type: integer
  11970. required:
  11971. - coupontypeid
  11972. - orderid
  11973. type: object
  11974. models.NewFuncmenulist:
  11975. properties:
  11976. authtype:
  11977. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11978. type: integer
  11979. buttonname:
  11980. description: 按钮名称
  11981. type: string
  11982. buttontype:
  11983. description: 按钮类型 - 存按钮样式
  11984. type: string
  11985. component:
  11986. description: 组件名或组件地址
  11987. type: string
  11988. hidden:
  11989. description: 是否隐藏 - 0:显示 1:隐藏
  11990. type: integer
  11991. iconame:
  11992. description: 菜单图标
  11993. type: string
  11994. menutype:
  11995. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11996. type: integer
  11997. parentcode:
  11998. description: 上级资源代码
  11999. type: string
  12000. remark:
  12001. description: Remark
  12002. type: string
  12003. resourcecode:
  12004. description: 资源代码
  12005. type: string
  12006. resourcelevel:
  12007. description: 级别1-一级 2-二级 3-三级4-四级
  12008. type: integer
  12009. resourcename:
  12010. description: 资源名(Title)
  12011. type: string
  12012. sort:
  12013. description: 排序
  12014. type: integer
  12015. url:
  12016. description: Url
  12017. type: string
  12018. urltype:
  12019. description: 地址类型 - 1:路由 2:外链 3:内联框架
  12020. type: integer
  12021. required:
  12022. - resourcecode
  12023. type: object
  12024. models.OperationPrimaryMenu:
  12025. properties:
  12026. Children:
  12027. description: 二级功能菜单
  12028. items:
  12029. $ref: '#/definitions/models.OperationSecondaryMenu'
  12030. type: array
  12031. Key:
  12032. description: 菜单KEY
  12033. type: string
  12034. Label:
  12035. description: 菜单标题
  12036. type: string
  12037. type: object
  12038. models.OperationSecondaryMenu:
  12039. properties:
  12040. Key:
  12041. description: 菜单KEY
  12042. type: string
  12043. Label:
  12044. description: 菜单标题
  12045. type: string
  12046. TabList:
  12047. description: 三级功能菜单
  12048. items:
  12049. $ref: '#/definitions/models.OperationTabMenu'
  12050. type: array
  12051. type: object
  12052. models.OperationTabMenu:
  12053. properties:
  12054. Key:
  12055. description: 菜单KEY
  12056. type: string
  12057. Label:
  12058. description: 菜单标题
  12059. type: string
  12060. type: object
  12061. models.Patradelinkdetail:
  12062. properties:
  12063. accountname:
  12064. description: 套期主体
  12065. type: string
  12066. agreeunit:
  12067. description: 合约乘数
  12068. type: number
  12069. amount:
  12070. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12071. type: number
  12072. areauserid:
  12073. description: 所属机构
  12074. type: integer
  12075. bizsubjectid:
  12076. description: 归属业务部门ID - SubjectID
  12077. type: integer
  12078. buyorsell:
  12079. description: 方向 - 0:买 1:卖
  12080. type: integer
  12081. convertratio:
  12082. description: 品种系数
  12083. type: number
  12084. convertratiochange:
  12085. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12086. type: number
  12087. createtime:
  12088. description: '[日期时间]创建时间'
  12089. type: string
  12090. creatorid:
  12091. description: 创建人ID
  12092. type: integer
  12093. creatorsrc:
  12094. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12095. type: integer
  12096. goodscode:
  12097. description: 商品代码(内部)
  12098. type: string
  12099. goodsgroupid:
  12100. description: 对冲品种ID[期货合约商品组ID]
  12101. type: integer
  12102. goodsid:
  12103. description: 商品ID
  12104. type: integer
  12105. hedgeditemid:
  12106. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12107. type: integer
  12108. hedgeflag:
  12109. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12110. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12111. type: integer
  12112. linkdetailid:
  12113. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12114. type: string
  12115. linkstatus:
  12116. description: 关联状态 - 1:成功 2:失败 3:解绑
  12117. type: integer
  12118. middlegoodsid:
  12119. description: 套保品种ID
  12120. type: integer
  12121. name:
  12122. description: 账户名/子账户
  12123. type: string
  12124. optioncode:
  12125. description: '[期货合约]期权代码 [期权]'
  12126. type: string
  12127. ordertype:
  12128. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12129. type: integer
  12130. relatedlot:
  12131. description: '[数量]关联手数'
  12132. type: number
  12133. relatedmode:
  12134. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12135. type: integer
  12136. relatedqty:
  12137. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12138. type: number
  12139. retcode:
  12140. description: 返回码
  12141. type: integer
  12142. saleuserid:
  12143. description: 业务员ID
  12144. type: integer
  12145. tradedate:
  12146. description: 关联交易日(yyyyMMdd)
  12147. type: string
  12148. tradeid:
  12149. description: '[成交单号]内部成交单ID'
  12150. type: string
  12151. tradelot:
  12152. description: 成交手数
  12153. type: integer
  12154. tradeprice:
  12155. description: '[价格]成交价格'
  12156. type: number
  12157. tradetradedate:
  12158. description: 成交交易日(yyyyMMdd)
  12159. type: string
  12160. type: object
  12161. models.QhjAccountOutInApply:
  12162. properties:
  12163. accountcode:
  12164. description: 资金账号
  12165. type: string
  12166. accountname:
  12167. description: 用户名称(名称)
  12168. type: string
  12169. accountpwd:
  12170. description: 资金密码
  12171. type: string
  12172. accountticket:
  12173. description: 最新账户服务流水号
  12174. type: string
  12175. amount:
  12176. description: 金额
  12177. type: number
  12178. applyremark:
  12179. description: 申请备注
  12180. type: string
  12181. applystatus:
  12182. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12183. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12184. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12185. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12186. type: integer
  12187. auditid:
  12188. description: 审核人
  12189. type: integer
  12190. audittime:
  12191. description: 审核时间
  12192. type: string
  12193. bank_apply_ticket:
  12194. description: 银行申请流水
  12195. type: string
  12196. bankaccountname:
  12197. description: 银行账户名
  12198. type: string
  12199. bankaccountno:
  12200. description: 银行卡号
  12201. type: string
  12202. bankid:
  12203. description: 银行编号
  12204. type: string
  12205. bankticket:
  12206. description: 银行流水
  12207. type: string
  12208. branchbankid:
  12209. description: 银行支行号
  12210. type: string
  12211. branchbankname:
  12212. description: 银行支行名称
  12213. type: string
  12214. capamountout:
  12215. description: 出金(劣后本金) - 外部子账户
  12216. type: number
  12217. certificatephotourl:
  12218. description: 凭证地址
  12219. type: string
  12220. charge:
  12221. description: 手续费
  12222. type: number
  12223. checkerrorflag:
  12224. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12225. type: integer
  12226. currency:
  12227. description: 币种
  12228. type: string
  12229. cusbankid:
  12230. description: 托管银行编号
  12231. type: string
  12232. exchticket:
  12233. description: 银行服务流水号
  12234. type: string
  12235. executetype:
  12236. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12237. 7:外部子账户:入金 8:外部子账户:出金'
  12238. type: integer
  12239. extendinfo:
  12240. description: 扩展信息
  12241. type: string
  12242. extoperateid:
  12243. description: 交易服务流水号
  12244. type: integer
  12245. infamount:
  12246. description: 劣后金额(自有)
  12247. type: number
  12248. logincode:
  12249. description: 登录账号(账号)
  12250. type: string
  12251. netaddr:
  12252. description: 调转网址
  12253. type: string
  12254. priamount:
  12255. description: 优先金额(授信)
  12256. type: number
  12257. reauditid:
  12258. description: 复审人
  12259. type: integer
  12260. reauditremark:
  12261. description: 复审备注
  12262. type: string
  12263. reaudittime:
  12264. description: 复审时间
  12265. type: string
  12266. relatedorderid:
  12267. description: 三方关联ID
  12268. type: string
  12269. remark:
  12270. description: 备注
  12271. type: string
  12272. remark2:
  12273. description: 备注(失败原因)
  12274. type: string
  12275. soucreamount:
  12276. description: 原始出入金金额
  12277. type: number
  12278. soucrecurrencyid:
  12279. description: 原始出入金币种
  12280. type: integer
  12281. tradedate:
  12282. description: 交易日(yyyyMMdd)
  12283. type: string
  12284. updatetime:
  12285. description: 更新时间(申请时间)
  12286. type: string
  12287. userid:
  12288. description: 用户id
  12289. type: integer
  12290. userinfotype:
  12291. description: 账户类型 1-个人 2-企业
  12292. type: integer
  12293. type: object
  12294. models.QhjAgreementChangeLog:
  12295. properties:
  12296. agreementcontent:
  12297. description: 协议内容
  12298. type: string
  12299. agreementfrequency:
  12300. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12301. type: integer
  12302. agreementid:
  12303. description: 协议ID
  12304. type: integer
  12305. agreementname:
  12306. description: 协议名称
  12307. type: string
  12308. agreementno:
  12309. description: 协议编号
  12310. type: string
  12311. agreementtype:
  12312. description: 协议类型 - 1:注册 2:登录 3:交易
  12313. type: integer
  12314. agreementversion:
  12315. description: 协议版本号
  12316. type: integer
  12317. logid:
  12318. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12319. type: integer
  12320. reviserid:
  12321. description: 修改人
  12322. type: integer
  12323. revisersrc:
  12324. description: 修改来源 - 1:管理端 2:终端
  12325. type: integer
  12326. updatetime:
  12327. description: 更新时间
  12328. type: string
  12329. type: object
  12330. models.QhjAgreementConfig:
  12331. properties:
  12332. agreementcontent:
  12333. description: 协议内容
  12334. type: string
  12335. agreementfrequency:
  12336. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12337. type: integer
  12338. agreementid:
  12339. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12340. type: integer
  12341. agreementname:
  12342. description: 协议名称
  12343. type: string
  12344. agreementno:
  12345. description: 协议编号
  12346. type: string
  12347. agreementtype:
  12348. description: 协议类型 - 1:注册 2:登录 3:交易
  12349. type: integer
  12350. agreementversion:
  12351. description: 协议版本号(从1开始每次修改加1)
  12352. type: integer
  12353. createtime:
  12354. description: 创建时间
  12355. type: string
  12356. creatorid:
  12357. description: 创建人
  12358. type: integer
  12359. creatorsrc:
  12360. description: 创建来源 - 1:管理端 2:终端
  12361. type: integer
  12362. isvalid:
  12363. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12364. type: integer
  12365. reviserid:
  12366. description: 修改人
  12367. type: integer
  12368. revisersrc:
  12369. description: 修改来源 - 1:管理端 2:终端
  12370. type: integer
  12371. updatetime:
  12372. description: 更新时间
  12373. type: string
  12374. type: object
  12375. models.QhjAreaFinanceConfig:
  12376. properties:
  12377. additionalratio:
  12378. description: 追加款比例
  12379. type: number
  12380. advanceratio:
  12381. description: 预付款比例
  12382. type: number
  12383. alarmratio:
  12384. description: 告警比例
  12385. type: number
  12386. consumptiondirectreward:
  12387. description: 消费直推奖励值
  12388. type: number
  12389. consumptionenabled:
  12390. description: 是否启用消费奖励 - 0:不启用 1:启用
  12391. type: integer
  12392. consumptionindirectreward:
  12393. description: 消费间推奖励值
  12394. type: number
  12395. consumptionmodel:
  12396. description: 消费奖励方式 - 1:比率 2:固定
  12397. type: integer
  12398. customerservicenum:
  12399. description: 客服电话
  12400. type: string
  12401. dayinterestrate:
  12402. description: 日利率
  12403. type: number
  12404. disableconsumptiontips:
  12405. description: 关闭消费奖励提示
  12406. type: string
  12407. modifierid:
  12408. description: 修改人ID
  12409. type: integer
  12410. modifysrc:
  12411. description: 审核来源 - 1:管理端 2:终端
  12412. type: integer
  12413. modifytime:
  12414. description: 修改时间
  12415. type: string
  12416. promotionvalue:
  12417. description: 推广奖励值(固定)
  12418. type: number
  12419. scoreconfigvalue1:
  12420. description: 提货积分配置1
  12421. type: integer
  12422. scoreconfigvalue2:
  12423. description: 提货积分配置2
  12424. type: integer
  12425. userid:
  12426. description: 机构用户ID其他做市关系,都设置为 1
  12427. type: integer
  12428. username:
  12429. description: 用户名称
  12430. type: string
  12431. type: object
  12432. models.QhjBankAccountSign:
  12433. properties:
  12434. accountcode:
  12435. description: 资金账号
  12436. type: string
  12437. accountname:
  12438. description: 资金账号对应的账号名(UserName)
  12439. type: string
  12440. accountname2:
  12441. description: 资金账号对应的账号名(UserName) - 密文
  12442. type: string
  12443. accounttype:
  12444. description: 账户类型(UserType)
  12445. type: integer
  12446. applicationtime:
  12447. description: 最后一次更新的时间
  12448. type: string
  12449. applyexchticket:
  12450. description: 申请流水
  12451. type: string
  12452. auditid:
  12453. description: 审核人
  12454. type: integer
  12455. audittime:
  12456. description: 审核时间
  12457. type: string
  12458. bankaccountname:
  12459. description: 签约银行卡账号名
  12460. type: string
  12461. bankaccountname2:
  12462. description: 签约银行卡账号名 - 密文
  12463. type: string
  12464. bankaccountno:
  12465. description: 银行卡号
  12466. type: string
  12467. bankaccountno2:
  12468. description: 银行卡号 - 密文
  12469. type: string
  12470. bankaccounttype:
  12471. description: 银行账户类型 - 1-对私; 2-对公
  12472. type: integer
  12473. bankcardtype:
  12474. description: 银行卡类型
  12475. type: integer
  12476. bankchildaccount:
  12477. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12478. type: string
  12479. bankcity:
  12480. description: 开户行城市
  12481. type: string
  12482. bankid:
  12483. description: 签约银行ID
  12484. type: string
  12485. bankname:
  12486. description: 签约银行名称
  12487. type: string
  12488. bankprovince:
  12489. description: 开户行省份
  12490. type: string
  12491. branchbankid:
  12492. description: 签约银行支行号
  12493. type: string
  12494. branchbankname:
  12495. description: 签约银行支行名称
  12496. type: string
  12497. cardno:
  12498. description: 证件号码
  12499. type: string
  12500. cardno2:
  12501. description: 证件号码 - 密文
  12502. type: string
  12503. cardtype:
  12504. description: 证件类型
  12505. type: string
  12506. currency:
  12507. description: 币种
  12508. type: string
  12509. cusbankid:
  12510. description: 托管银行编号
  12511. type: string
  12512. direct:
  12513. description: 方向(可以判断那方先发起的签约)
  12514. type: integer
  12515. exchticket:
  12516. description: 最后一次签约成功的流水号
  12517. type: string
  12518. extendinfo:
  12519. description: 扩展信息(JSON字符串)
  12520. type: string
  12521. mobilephone:
  12522. description: 手机号
  12523. type: string
  12524. mobilephone2:
  12525. description: 手机号 - 密文
  12526. type: string
  12527. netaddr:
  12528. description: 调转网址
  12529. type: string
  12530. relateduserid:
  12531. description: 关联使用者userid
  12532. type: integer
  12533. signstatus:
  12534. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12535. 10:审核拒绝 11:换签待审核
  12536. type: integer
  12537. updatetime:
  12538. description: 更新时间(签解约更新时间)
  12539. type: string
  12540. type: object
  12541. models.QhjBankInfo:
  12542. properties:
  12543. bankid:
  12544. description: 银行ID
  12545. type: string
  12546. bankname:
  12547. description: 银行名称
  12548. type: string
  12549. clearbankno:
  12550. description: 清算系统银行编号
  12551. type: string
  12552. orderindex:
  12553. description: 排序顺序
  12554. type: integer
  12555. status:
  12556. description: 状态 - 0:正常 1:注销
  12557. type: integer
  12558. type: object
  12559. models.QhjBrokerApply:
  12560. properties:
  12561. applicantid:
  12562. description: 申请人
  12563. type: integer
  12564. applysrc:
  12565. description: 申请来源 - 1:管理端 2:终端
  12566. type: integer
  12567. applystatus:
  12568. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12569. type: integer
  12570. applytime:
  12571. description: 申请时间
  12572. type: string
  12573. auditorid:
  12574. description: 审核人
  12575. type: integer
  12576. auditremark:
  12577. description: 审核备注
  12578. type: string
  12579. auditsrc:
  12580. description: 审核来源 - 1:管理端 2:终端
  12581. type: integer
  12582. audittime:
  12583. description: 审核时间
  12584. type: string
  12585. audittradedate:
  12586. description: 审核交易日(yyyyMMdd)
  12587. type: string
  12588. brokerapplyid:
  12589. description: 申请ID(SEQ_BROKERAPPLY)
  12590. type: integer
  12591. cardbackphotourl:
  12592. description: 证件背面图片地址
  12593. type: string
  12594. cardfrontphotourl:
  12595. description: 证件正面图片地址
  12596. type: string
  12597. cardnum:
  12598. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12599. type: string
  12600. customername:
  12601. description: 姓名
  12602. type: string
  12603. logincode:
  12604. description: 登录代码
  12605. type: string
  12606. mobile:
  12607. description: 手机号码
  12608. type: string
  12609. parentuserid:
  12610. description: 所属机构id
  12611. type: integer
  12612. parentusername:
  12613. description: 所属机构名称
  12614. type: string
  12615. refereeuserid:
  12616. description: 推荐人id(经纪人)
  12617. type: integer
  12618. refernum:
  12619. description: 推荐码
  12620. type: string
  12621. remark:
  12622. description: 备注
  12623. type: string
  12624. subarealevelpath:
  12625. description: 层级路径
  12626. type: string
  12627. tradedate:
  12628. description: 交易日(yyyyMMdd)
  12629. type: string
  12630. userid:
  12631. description: 申请人用户ID
  12632. type: integer
  12633. userinfotype:
  12634. description: 用户类型 1-个人 2-企业
  12635. type: integer
  12636. username:
  12637. description: 用户名称
  12638. type: string
  12639. type: object
  12640. models.QhjBrokerApplyEx:
  12641. properties:
  12642. applylist:
  12643. description: 经纪人申请记录(只返回最新一条)
  12644. items:
  12645. $ref: '#/definitions/models.QhjBrokerApply'
  12646. type: array
  12647. canrecommend:
  12648. description: 是否经纪人 0-不是 1-是
  12649. type: integer
  12650. refernum:
  12651. description: 推荐码
  12652. type: string
  12653. userid:
  12654. description: 用户id
  12655. type: integer
  12656. userinfotype:
  12657. description: 用户类型 1-个人 2-企业
  12658. type: integer
  12659. type: object
  12660. models.QhjBrokerRewardLog:
  12661. properties:
  12662. accountid:
  12663. description: 资金账号ID
  12664. type: integer
  12665. createtime:
  12666. description: 创建时间(时间)
  12667. type: string
  12668. handlestatus:
  12669. description: 处理状态
  12670. type: integer
  12671. logid:
  12672. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12673. type: string
  12674. marketid:
  12675. description: 市场ID
  12676. type: integer
  12677. mmaccountid:
  12678. description: 做市商资金账号ID
  12679. type: string
  12680. mmuserid:
  12681. description: 做市商用户ID
  12682. type: string
  12683. rewardamount:
  12684. description: 奖励金额
  12685. type: number
  12686. rewardmodel:
  12687. description: 消费奖励方式 - 1:比率 2:固定
  12688. type: integer
  12689. rewardtype:
  12690. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12691. type: integer
  12692. rewardvalue:
  12693. description: 配置奖励值
  12694. type: number
  12695. srcamount:
  12696. description: 成交金额 [消费奖励] (金额)
  12697. type: number
  12698. srcgoodsid:
  12699. description: 来源商品ID [消费奖励]
  12700. type: string
  12701. srctime:
  12702. description: 来源时间 (成交时间) [消费奖励]
  12703. type: string
  12704. srctradeid:
  12705. description: 来源成交单ID [消费奖励] - 排除提货成交
  12706. type: string
  12707. srcuserid:
  12708. description: 来源用户ID(推广账户)
  12709. type: string
  12710. srcusername:
  12711. description: 推广账户名称
  12712. type: string
  12713. tradedate:
  12714. description: 交易日(yyyyMMdd)
  12715. type: string
  12716. userid:
  12717. description: 经纪人用户ID
  12718. type: integer
  12719. type: object
  12720. models.QhjContract:
  12721. properties:
  12722. contractconfirmtime:
  12723. description: 合同确认时间(时间)
  12724. type: string
  12725. currisklevel:
  12726. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12727. type: integer
  12728. decimalplace:
  12729. description: 商品报价小数位
  12730. type: integer
  12731. enumdicname:
  12732. description: 单位名称
  12733. type: string
  12734. goodscode:
  12735. description: 商品代码
  12736. type: string
  12737. goodsid:
  12738. description: 商品ID [5:融资单]
  12739. type: integer
  12740. goodsname:
  12741. description: 商品名称
  12742. type: string
  12743. goodunitid:
  12744. description: 商品单位id
  12745. type: integer
  12746. initmargin:
  12747. description: 初始保证金(首付款)
  12748. type: number
  12749. lenderamount:
  12750. description: 贷款金额(总额|订单总额)
  12751. type: number
  12752. marginratio:
  12753. description: 保证金比率(首付比例)
  12754. type: number
  12755. payamount:
  12756. description: 已付(已付货款)
  12757. type: number
  12758. reckonrecovermargin:
  12759. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12760. type: number
  12761. recoveredmargin:
  12762. description: 已追缴保证金
  12763. type: number
  12764. remainamount:
  12765. description: 合同剩余金额(融资额)
  12766. type: number
  12767. scfcontractid:
  12768. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12769. type: string
  12770. scfcontractstatus:
  12771. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12772. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12773. type: integer
  12774. scfcontracttype:
  12775. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12776. type: integer
  12777. totalinterest:
  12778. description: 已计总利息(利息)
  12779. type: number
  12780. tradeprice:
  12781. description: 成交价格(成本价格)
  12782. type: number
  12783. userid:
  12784. description: 用户ID
  12785. type: integer
  12786. username:
  12787. description: 用户名称
  12788. type: string
  12789. wrqty:
  12790. description: 仓单数量(数量)
  12791. type: number
  12792. type: object
  12793. models.QhjContractLog:
  12794. properties:
  12795. amount:
  12796. description: 支付金额
  12797. type: number
  12798. amounttype:
  12799. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12800. type: integer
  12801. logid:
  12802. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12803. type: string
  12804. remainamount:
  12805. description: 剩余货款
  12806. type: number
  12807. scfcontractid:
  12808. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12809. type: integer
  12810. updatetime:
  12811. description: 更新时间
  12812. type: string
  12813. type: object
  12814. models.QhjCusBankSignBankEx:
  12815. properties:
  12816. banklst:
  12817. description: 银行列表
  12818. items:
  12819. $ref: '#/definitions/models.QhjBankInfo'
  12820. type: array
  12821. canallot:
  12822. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12823. type: integer
  12824. canallotquery:
  12825. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12826. type: integer
  12827. canbindcard:
  12828. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12829. type: integer
  12830. caninamount:
  12831. description: 是否可入金 - 0:不可 1:可以
  12832. type: integer
  12833. caninamount2:
  12834. description: 是否可入金(网银端) - 0:不可 1:可以
  12835. type: integer
  12836. canmodifybankcard:
  12837. description: 是否可修改银行卡号 - 0:不可 1:可以
  12838. type: integer
  12839. canmodifyphone:
  12840. description: 是否可修改手机号 - 0:不可 1:可以
  12841. type: integer
  12842. canmodifysigninfo:
  12843. description: 是否可修改签约信息 - 0:不可 1:可以
  12844. type: integer
  12845. canoutamount:
  12846. description: 是否可出金 - 0:不可 1:可以
  12847. type: integer
  12848. canoutamount2:
  12849. description: 是否可出金(网银端) - 0:不可 1:可以
  12850. type: integer
  12851. canrelease:
  12852. description: 是否可解约 - 0:不可 1:可以
  12853. type: integer
  12854. canrelease2:
  12855. description: 是否可解约(网银端) - 0:不可 1:可以
  12856. type: integer
  12857. cansign:
  12858. description: 是否可签约 - 0:不可 1:可以
  12859. type: integer
  12860. cansign2:
  12861. description: 是否可签约(网银端) - 0:不可 1:可以
  12862. type: integer
  12863. currency:
  12864. description: 币种
  12865. type: string
  12866. cusbankid:
  12867. description: 托管银行编号(对应清算中心TRAN_NO)
  12868. type: string
  12869. cusbankname:
  12870. description: 银行业务名称
  12871. type: string
  12872. cusbankshortname:
  12873. description: 银行业务简称
  12874. type: string
  12875. exchbankid:
  12876. description: 交易所开户银行ID
  12877. type: string
  12878. exchpaybankaccname:
  12879. description: 交易所支出结算账户户名
  12880. type: string
  12881. exchpaybankaccno:
  12882. description: 交易所支出结算账户
  12883. type: string
  12884. isneedcheck:
  12885. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12886. type: integer
  12887. isneedclear:
  12888. description: 是否需要清算 - 0:不需要 1:需要
  12889. type: integer
  12890. lastcheckstatus:
  12891. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12892. type: integer
  12893. lastchecktime:
  12894. description: 最后对账时间
  12895. type: string
  12896. lastclearstatus:
  12897. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12898. type: integer
  12899. lastcleartime:
  12900. description: 最后清算时间
  12901. type: string
  12902. lastsignintime:
  12903. description: 最后签到时间
  12904. type: string
  12905. lastsignouttime:
  12906. description: 最后签退时间
  12907. type: string
  12908. riskinfo:
  12909. description: 签约风险提示书
  12910. type: string
  12911. signstatus:
  12912. description: 当前签到/签退状态 - 1:签到 2:签退
  12913. type: integer
  12914. tradedate:
  12915. description: 交易日(yyyyMMdd)
  12916. type: string
  12917. updatetime:
  12918. description: 当前签到/签退更新时间
  12919. type: string
  12920. type: object
  12921. models.QhjCustomer:
  12922. properties:
  12923. address:
  12924. description: 通讯地址
  12925. type: string
  12926. attachment1:
  12927. description: 附件1
  12928. type: string
  12929. attachment2:
  12930. description: 附件2
  12931. type: string
  12932. audittime:
  12933. description: 审核时间
  12934. type: string
  12935. cardbackphotourl:
  12936. description: 证件反面图片地址
  12937. type: string
  12938. cardfrontphotourl:
  12939. description: 证件正面图片地址
  12940. type: string
  12941. cardnum:
  12942. description: 证件号码
  12943. type: string
  12944. cardtype:
  12945. description: 证件类型
  12946. type: integer
  12947. cardtypename:
  12948. description: 证件类型名称
  12949. type: string
  12950. cityid:
  12951. description: 市
  12952. type: integer
  12953. cityname:
  12954. description: 城市名称
  12955. type: string
  12956. contactname:
  12957. description: 联系人
  12958. type: string
  12959. countryid:
  12960. description: 国家
  12961. type: integer
  12962. countryname:
  12963. description: 国家名称
  12964. type: string
  12965. createtime:
  12966. description: 创建时间
  12967. type: string
  12968. customername:
  12969. description: 客户名称
  12970. type: string
  12971. districtid:
  12972. description: 区域
  12973. type: integer
  12974. districtname:
  12975. description: 地区名称
  12976. type: string
  12977. email:
  12978. description: 邮件
  12979. type: string
  12980. legalpersonname:
  12981. description: 法人姓名(企业)
  12982. type: string
  12983. logincode:
  12984. description: 登录账号(代码)
  12985. type: string
  12986. memberuserid:
  12987. description: 所属机构ID(所属会员)
  12988. type: integer
  12989. memberusername:
  12990. description: 所属会员名称
  12991. type: string
  12992. mobile:
  12993. description: 手机号码
  12994. type: string
  12995. modifytime:
  12996. description: 修改时间
  12997. type: string
  12998. nickname:
  12999. description: 昵称
  13000. type: string
  13001. parentuserid:
  13002. description: 上级机构(所属机构)
  13003. type: integer
  13004. parentusername:
  13005. description: 所属机构名称
  13006. type: string
  13007. provinceid:
  13008. description: 省
  13009. type: integer
  13010. provincename:
  13011. description: 省名称
  13012. type: string
  13013. proxystatementurl:
  13014. description: 授权委托书
  13015. type: string
  13016. remark:
  13017. description: 备注
  13018. type: string
  13019. status:
  13020. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  13021. type: integer
  13022. statusdesc:
  13023. description: 账户状态中文描述
  13024. type: string
  13025. taxpayernum:
  13026. description: 纳税人识别号
  13027. type: string
  13028. telphone:
  13029. description: 联系电话
  13030. type: string
  13031. userid:
  13032. description: 用户ID
  13033. type: integer
  13034. userinfotype:
  13035. description: 客户类型 1-个人 2-企业
  13036. type: integer
  13037. username:
  13038. description: 用户名称
  13039. type: string
  13040. type: object
  13041. models.QhjCustomerSignLog:
  13042. properties:
  13043. agreementcontent:
  13044. description: 协议内容
  13045. type: string
  13046. agreementid:
  13047. description: 协议ID
  13048. type: integer
  13049. agreementname:
  13050. description: 协议名称
  13051. type: string
  13052. agreementno:
  13053. description: 协议编号
  13054. type: string
  13055. agreementtype:
  13056. description: 协议类型 - 1:注册 2:登录 3:交易
  13057. type: integer
  13058. agreementversion:
  13059. description: 协议版本号
  13060. type: integer
  13061. createtime:
  13062. description: 创建时间
  13063. type: string
  13064. goodscode:
  13065. description: 商品代码
  13066. type: string
  13067. goodsid:
  13068. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13069. type: integer
  13070. goodsname:
  13071. description: 商品名称
  13072. type: string
  13073. logid:
  13074. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13075. type: integer
  13076. nodetype:
  13077. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13078. type: integer
  13079. signadressurl:
  13080. description: 签约文件地址
  13081. type: string
  13082. signtimestamp:
  13083. description: 签约状态时间戳
  13084. type: string
  13085. userid:
  13086. description: 客户ID
  13087. type: integer
  13088. username:
  13089. description: 客户名称
  13090. type: string
  13091. type: object
  13092. models.QhjCustomerSignStatus:
  13093. properties:
  13094. createtime:
  13095. description: 创建时间
  13096. type: string
  13097. goodscode:
  13098. description: 商品代码
  13099. type: string
  13100. goodsid:
  13101. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13102. type: integer
  13103. goodsname:
  13104. description: 商品名称
  13105. type: string
  13106. nodetype:
  13107. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13108. type: integer
  13109. signtimestamp:
  13110. description: 签约状态时间戳
  13111. type: string
  13112. tradedate:
  13113. description: 创建交易日(yyyyMMdd)
  13114. type: string
  13115. updatetime:
  13116. description: 更新时间
  13117. type: string
  13118. userid:
  13119. description: 客户ID
  13120. type: integer
  13121. username:
  13122. description: 客户名称
  13123. type: string
  13124. type: object
  13125. models.QhjMgrAccountOutInApply:
  13126. properties:
  13127. accountcode:
  13128. description: 资金账号
  13129. type: string
  13130. accountname:
  13131. description: 用户名称(名称)
  13132. type: string
  13133. accountpwd:
  13134. description: 资金密码
  13135. type: string
  13136. accountticket:
  13137. description: 最新账户服务流水号
  13138. type: string
  13139. amount:
  13140. description: 金额
  13141. type: number
  13142. applyremark:
  13143. description: 申请备注
  13144. type: string
  13145. applystatus:
  13146. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13147. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13148. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13149. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13150. type: integer
  13151. auditid:
  13152. description: 审核人
  13153. type: integer
  13154. audittime:
  13155. description: 审核时间
  13156. type: string
  13157. bank_apply_ticket:
  13158. description: 银行申请流水
  13159. type: string
  13160. bankaccountname:
  13161. description: 银行账户名
  13162. type: string
  13163. bankaccountno:
  13164. description: 银行卡号
  13165. type: string
  13166. bankid:
  13167. description: 银行编号
  13168. type: string
  13169. bankname:
  13170. description: 银行名称
  13171. type: string
  13172. bankticket:
  13173. description: 银行流水
  13174. type: string
  13175. branchbankid:
  13176. description: 银行支行号
  13177. type: string
  13178. branchbankname:
  13179. description: 银行支行名称
  13180. type: string
  13181. capamountout:
  13182. description: 出金(劣后本金) - 外部子账户
  13183. type: number
  13184. certificatephotourl:
  13185. description: 凭证地址
  13186. type: string
  13187. charge:
  13188. description: 手续费
  13189. type: number
  13190. checkerrorflag:
  13191. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13192. type: integer
  13193. currency:
  13194. description: 币种
  13195. type: string
  13196. cusbankid:
  13197. description: 托管银行编号
  13198. type: string
  13199. exchticket:
  13200. description: 银行服务流水号
  13201. type: string
  13202. executetype:
  13203. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13204. 7:外部子账户:入金 8:外部子账户:出金'
  13205. type: integer
  13206. extendinfo:
  13207. description: 扩展信息
  13208. type: string
  13209. extoperateid:
  13210. description: 交易服务流水号
  13211. type: integer
  13212. infamount:
  13213. description: 劣后金额(自有)
  13214. type: number
  13215. logincode:
  13216. description: 登录账号(账号)
  13217. type: string
  13218. netaddr:
  13219. description: 调转网址
  13220. type: string
  13221. priamount:
  13222. description: 优先金额(授信)
  13223. type: number
  13224. reauditid:
  13225. description: 复审人
  13226. type: integer
  13227. reauditremark:
  13228. description: 复审备注
  13229. type: string
  13230. reaudittime:
  13231. description: 复审时间
  13232. type: string
  13233. relatedorderid:
  13234. description: 三方关联ID
  13235. type: string
  13236. remark:
  13237. description: 备注
  13238. type: string
  13239. remark2:
  13240. description: 备注(失败原因)
  13241. type: string
  13242. soucreamount:
  13243. description: 原始出入金金额
  13244. type: number
  13245. soucrecurrencyid:
  13246. description: 原始出入金币种
  13247. type: integer
  13248. tradedate:
  13249. description: 交易日(yyyyMMdd)
  13250. type: string
  13251. updatetime:
  13252. description: 更新时间(申请时间)
  13253. type: string
  13254. userid:
  13255. description: 用户id
  13256. type: integer
  13257. userinfotype:
  13258. description: 账户类型 1-个人 2-企业
  13259. type: integer
  13260. type: object
  13261. models.QhjMgrBrokerApply:
  13262. properties:
  13263. applicantid:
  13264. description: 申请人
  13265. type: integer
  13266. applysrc:
  13267. description: 申请来源 - 1:管理端 2:终端
  13268. type: integer
  13269. applystatus:
  13270. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13271. type: integer
  13272. applytime:
  13273. description: 申请时间
  13274. type: string
  13275. auditorid:
  13276. description: 审核人
  13277. type: integer
  13278. auditremark:
  13279. description: 审核备注
  13280. type: string
  13281. auditsrc:
  13282. description: 审核来源 - 1:管理端 2:终端
  13283. type: integer
  13284. audittime:
  13285. description: 审核时间
  13286. type: string
  13287. audittradedate:
  13288. description: 审核交易日(yyyyMMdd)
  13289. type: string
  13290. brokerapplyid:
  13291. description: 申请ID(SEQ_BROKERAPPLY)
  13292. type: integer
  13293. cardbackphotourl:
  13294. description: 证件背面图片地址
  13295. type: string
  13296. cardfrontphotourl:
  13297. description: 证件正面图片地址
  13298. type: string
  13299. cardnum:
  13300. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13301. type: string
  13302. customername:
  13303. description: 姓名
  13304. type: string
  13305. filterstatus:
  13306. description: 筛选条件
  13307. type: string
  13308. logincode:
  13309. description: 登录代码
  13310. type: string
  13311. mobile:
  13312. description: 手机号码
  13313. type: string
  13314. parentuserid:
  13315. description: 所属机构id
  13316. type: integer
  13317. parentusername:
  13318. description: 所属机构名称
  13319. type: string
  13320. refereeuserid:
  13321. description: 推荐人id(经纪人)
  13322. type: integer
  13323. refernum:
  13324. description: 推荐码
  13325. type: string
  13326. remark:
  13327. description: 备注
  13328. type: string
  13329. subarealevelpath:
  13330. description: 层级路径
  13331. type: string
  13332. tradedate:
  13333. description: 交易日(yyyyMMdd)
  13334. type: string
  13335. userid:
  13336. description: 申请人用户ID
  13337. type: integer
  13338. userinfotype:
  13339. description: 用户类型 1-个人 2-企业
  13340. type: integer
  13341. username:
  13342. description: 用户名称
  13343. type: string
  13344. type: object
  13345. models.QhjMgrBrokerRewardReport:
  13346. properties:
  13347. createtime:
  13348. description: 创建时间(注册时间)
  13349. type: string
  13350. cycletime:
  13351. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13352. type: string
  13353. cycletype:
  13354. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13355. type: integer
  13356. directtotalnum:
  13357. description: 直推总人数【期末】
  13358. type: integer
  13359. indirecttotalnum:
  13360. description: 间推总人数【期末】
  13361. type: integer
  13362. mobile:
  13363. description: 电话号码
  13364. type: string
  13365. refereeuserid:
  13366. description: 推荐人id(经纪人id)
  13367. type: integer
  13368. refereeusername:
  13369. description: 推荐人名称(经纪人) 上级经纪人名称
  13370. type: string
  13371. refernum:
  13372. description: 推荐码
  13373. type: string
  13374. subarealevelpath:
  13375. description: 用户层级路径
  13376. type: string
  13377. todayrewardamount:
  13378. description: 奖励总金额【汇总】
  13379. type: number
  13380. updatetime:
  13381. description: 更新时间
  13382. type: string
  13383. userid:
  13384. description: 经纪人用户ID
  13385. type: integer
  13386. userinfotype:
  13387. description: 用户类型 1-个人 2-企业
  13388. type: integer
  13389. username:
  13390. description: 用户名称
  13391. type: string
  13392. type: object
  13393. models.QhjMgrContract:
  13394. properties:
  13395. contractconfirmtime:
  13396. description: 合同确认时间(时间)
  13397. type: string
  13398. currisklevel:
  13399. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13400. type: integer
  13401. decimalplace:
  13402. description: 商品报价小数位
  13403. type: integer
  13404. enumdicname:
  13405. description: 单位名称
  13406. type: string
  13407. goodscode:
  13408. description: 商品代码
  13409. type: string
  13410. goodsid:
  13411. description: 商品ID [5:融资单]
  13412. type: integer
  13413. goodsname:
  13414. description: 商品名称
  13415. type: string
  13416. goodunitid:
  13417. description: 商品单位id
  13418. type: integer
  13419. initmargin:
  13420. description: 初始保证金(首付款)
  13421. type: number
  13422. lenderamount:
  13423. description: 贷款金额(总额|订单总额)
  13424. type: number
  13425. logincode:
  13426. description: 账号(登录代码)
  13427. type: string
  13428. marginratio:
  13429. description: 保证金比率(首付比例)
  13430. type: number
  13431. mobile:
  13432. description: 电话号码(用户资料里的电话)
  13433. type: string
  13434. payamount:
  13435. description: 已付(已付货款)
  13436. type: number
  13437. reckonrecovermargin:
  13438. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13439. type: number
  13440. recoveredmargin:
  13441. description: 已追缴保证金
  13442. type: number
  13443. remainamount:
  13444. description: 合同剩余金额(融资额)
  13445. type: number
  13446. scfcontractid:
  13447. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13448. type: string
  13449. scfcontractstatus:
  13450. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13451. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13452. type: integer
  13453. scfcontracttype:
  13454. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13455. type: integer
  13456. totalinterest:
  13457. description: 已计总利息(利息)
  13458. type: number
  13459. tradedate:
  13460. description: 交易日
  13461. type: string
  13462. tradeprice:
  13463. description: 成交价格(成本价格)
  13464. type: number
  13465. userid:
  13466. description: 用户ID
  13467. type: integer
  13468. userinfotype:
  13469. description: 用户类型 1-个人 2-企业
  13470. type: integer
  13471. username:
  13472. description: 用户名称
  13473. type: string
  13474. wrqty:
  13475. description: 仓单数量(数量)
  13476. type: number
  13477. type: object
  13478. models.QhjMgrCustomer:
  13479. properties:
  13480. address:
  13481. description: 通讯地址
  13482. type: string
  13483. attachment1:
  13484. description: 附件1
  13485. type: string
  13486. audittime:
  13487. description: 审核时间
  13488. type: string
  13489. birthday:
  13490. description: 生日
  13491. type: string
  13492. brokerid:
  13493. description: 所属客户经理id
  13494. type: integer
  13495. brokername:
  13496. description: 所属客户经理名称
  13497. type: string
  13498. cardbackphotourl:
  13499. description: 证件反面图片地址
  13500. type: string
  13501. cardfrontphotourl:
  13502. description: 证件正面图片地址
  13503. type: string
  13504. cardnum:
  13505. description: 证件号码
  13506. type: string
  13507. cardtype:
  13508. description: 证件类型
  13509. type: integer
  13510. cardtypename:
  13511. description: 证件类型名称
  13512. type: string
  13513. cityid:
  13514. description: 市
  13515. type: integer
  13516. cityname:
  13517. description: 城市名称
  13518. type: string
  13519. contactname:
  13520. description: 联系人
  13521. type: string
  13522. countryid:
  13523. description: 国家
  13524. type: integer
  13525. countryname:
  13526. description: 国家名称
  13527. type: string
  13528. createtime:
  13529. description: 创建时间
  13530. type: string
  13531. customername:
  13532. description: 客户名称
  13533. type: string
  13534. districtid:
  13535. description: 区域
  13536. type: integer
  13537. districtname:
  13538. description: 地区名称
  13539. type: string
  13540. email:
  13541. description: 邮件
  13542. type: string
  13543. legalpersonname:
  13544. description: 法人姓名(企业)
  13545. type: string
  13546. logincode:
  13547. description: 登录账号(代码)
  13548. type: string
  13549. memberuserid:
  13550. description: 所属机构ID(所属会员)
  13551. type: integer
  13552. memberusername:
  13553. description: 所属会员名称
  13554. type: string
  13555. mobile:
  13556. description: 手机号码
  13557. type: string
  13558. modifytime:
  13559. description: 修改时间
  13560. type: string
  13561. nickname:
  13562. description: 昵称
  13563. type: string
  13564. parentuserid:
  13565. description: 上级机构(所属机构)
  13566. type: integer
  13567. parentusername:
  13568. description: 所属机构名称
  13569. type: string
  13570. provinceid:
  13571. description: 省
  13572. type: integer
  13573. provincename:
  13574. description: 省名称
  13575. type: string
  13576. proxystatementurl:
  13577. description: 授权委托书
  13578. type: string
  13579. querytype:
  13580. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13581. type: integer
  13582. remark:
  13583. description: 备注
  13584. type: string
  13585. sex:
  13586. description: 性别 0-女 1-男
  13587. type: integer
  13588. status:
  13589. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13590. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13591. type: integer
  13592. statusdesc:
  13593. description: 账户状态中文描述
  13594. type: string
  13595. taxpayernum:
  13596. description: 纳税人识别号
  13597. type: string
  13598. telphone:
  13599. description: 联系电话
  13600. type: string
  13601. userid:
  13602. description: 用户ID
  13603. type: integer
  13604. userinfotype:
  13605. description: 客户类型 1-个人 2-企业
  13606. type: integer
  13607. username:
  13608. description: 用户名称
  13609. type: string
  13610. type: object
  13611. models.QhjMgrPickGoods:
  13612. properties:
  13613. enumdicname:
  13614. description: 单位名称(提货商品)
  13615. type: string
  13616. goodsid:
  13617. description: 商品id
  13618. type: integer
  13619. imageaddress:
  13620. description: 图片
  13621. type: string
  13622. modifierid:
  13623. description: 修改人
  13624. type: integer
  13625. modifiername:
  13626. description: 修改人名称
  13627. type: string
  13628. modifysrc:
  13629. description: 修改来源 - 1:管理端 2:终端
  13630. type: integer
  13631. pickupgoodsagreeunit:
  13632. description: 合约乘数
  13633. type: number
  13634. pickupgoodsdesc:
  13635. description: 描述
  13636. type: string
  13637. pickupgoodsid:
  13638. description: 提货商品ID
  13639. type: string
  13640. pickupgoodsname:
  13641. description: 提货商品名称
  13642. type: string
  13643. pickupgoodsstatus:
  13644. description: 状态 - 1:正常 2:停用 3:注销
  13645. type: integer
  13646. pickupgoodsunitid:
  13647. description: 单位ID
  13648. type: integer
  13649. pickupratio:
  13650. description: 提货系数
  13651. type: number
  13652. preparedays:
  13653. description: 备货期(天)
  13654. type: integer
  13655. remark:
  13656. description: 备注
  13657. type: string
  13658. updatetime:
  13659. description: 更新时间
  13660. type: string
  13661. type: object
  13662. models.QhjMgrPositionRsp:
  13663. properties:
  13664. accountid:
  13665. description: 账号Id
  13666. type: integer
  13667. accountname:
  13668. description: 用户名称
  13669. type: string
  13670. agreeunit:
  13671. description: 合约乘数
  13672. type: number
  13673. averageprice:
  13674. description: 均价
  13675. type: number
  13676. avialqty:
  13677. description: 可用数量
  13678. type: number
  13679. decimalplace:
  13680. description: 报价小数位
  13681. type: integer
  13682. enumdicname:
  13683. description: 单位名称(商品)
  13684. type: string
  13685. frozenqty:
  13686. description: 冻结数量
  13687. type: number
  13688. goodscode:
  13689. description: 商品代码(内部)
  13690. type: string
  13691. goodsid:
  13692. description: 商品Id
  13693. type: integer
  13694. goodsname:
  13695. description: 商品名称
  13696. type: string
  13697. goodunitid:
  13698. description: 报价单位ID
  13699. type: integer
  13700. holderamount:
  13701. description: 金额
  13702. type: number
  13703. holderqty:
  13704. description: 持有数量
  13705. type: number
  13706. holdertype:
  13707. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13708. type: integer
  13709. logincode:
  13710. description: 登录代码(账户)
  13711. type: string
  13712. marketid:
  13713. description: 市场id
  13714. type: integer
  13715. qtydecimalplace:
  13716. description: 成交量小数位
  13717. type: integer
  13718. trademode:
  13719. description: 交易模式
  13720. type: integer
  13721. userid:
  13722. description: 用户id
  13723. type: integer
  13724. userinfotype:
  13725. description: 账户类型 1-个人 2-企业
  13726. type: integer
  13727. type: object
  13728. models.QhjMgrSubArea:
  13729. properties:
  13730. accountname:
  13731. description: 账户名称(机构名称)
  13732. type: string
  13733. memberuserid:
  13734. description: 所属会员ID
  13735. type: integer
  13736. parenttopuser:
  13737. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13738. type: string
  13739. parentuserid:
  13740. description: 所属机构ID
  13741. type: integer
  13742. rootuserid:
  13743. description: 根用户ID
  13744. type: string
  13745. subaccountlevel:
  13746. description: 子账户层数
  13747. type: integer
  13748. subarealevelpath:
  13749. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13750. type: string
  13751. userid:
  13752. description: 用户ID
  13753. type: integer
  13754. usertype:
  13755. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13756. type: integer
  13757. type: object
  13758. models.QhjMgrTradeDetailRsp:
  13759. properties:
  13760. accountid:
  13761. description: 资金账号
  13762. type: integer
  13763. accountname:
  13764. description: 用户名称
  13765. type: string
  13766. agreeunit:
  13767. description: 合约乘数
  13768. type: number
  13769. buyorsell:
  13770. description: 成交类型(方向) 0:买 1:卖
  13771. type: integer
  13772. decimalplace:
  13773. description: 报价小数位
  13774. type: integer
  13775. enumdicname:
  13776. description: 单位名称(商品)
  13777. type: string
  13778. goodscode:
  13779. description: 商品代码(内部)
  13780. type: string
  13781. goodsid:
  13782. description: 商品id
  13783. type: integer
  13784. goodsname:
  13785. description: 商品名称
  13786. type: string
  13787. goodunitid:
  13788. description: 报价单位ID
  13789. type: integer
  13790. logincode:
  13791. description: 登录代码(账户)
  13792. type: string
  13793. marketid:
  13794. description: 市场id
  13795. type: integer
  13796. orderid:
  13797. description: 关联委托单号
  13798. type: string
  13799. qtydecimalplace:
  13800. description: 成交量小数位
  13801. type: integer
  13802. tradeamount:
  13803. description: 金额
  13804. type: number
  13805. tradedate:
  13806. description: 交易日
  13807. type: string
  13808. tradeid:
  13809. description: 成交单号
  13810. type: string
  13811. trademode:
  13812. description: 交易模式
  13813. type: integer
  13814. tradeprice:
  13815. description: 价格
  13816. type: number
  13817. tradeqty:
  13818. description: 数量
  13819. type: number
  13820. tradetime:
  13821. description: 成交时间
  13822. type: string
  13823. userid:
  13824. description: 用户id
  13825. type: integer
  13826. userinfotype:
  13827. description: 账户类型 1-个人 2-企业
  13828. type: integer
  13829. type: object
  13830. models.QhjMgrTradeOrderDetailRsp:
  13831. properties:
  13832. accountid:
  13833. description: 资金账号
  13834. type: integer
  13835. accountname:
  13836. description: 用户名称
  13837. type: string
  13838. agreeunit:
  13839. description: 合约乘数
  13840. type: number
  13841. amount:
  13842. description: 金额
  13843. type: number
  13844. decimalplace:
  13845. description: 报价小数位
  13846. type: integer
  13847. enumdicname:
  13848. description: 单位名称(商品)
  13849. type: string
  13850. goodscode:
  13851. description: 商品代码(内部)
  13852. type: string
  13853. goodsid:
  13854. description: 商品id
  13855. type: integer
  13856. goodsname:
  13857. description: 商品名称
  13858. type: string
  13859. goodunitid:
  13860. description: 报价单位ID
  13861. type: integer
  13862. logincode:
  13863. description: 登录代码(账户)
  13864. type: string
  13865. marketid:
  13866. description: 市场id
  13867. type: integer
  13868. orderid:
  13869. description: 关联委托单号
  13870. type: string
  13871. orderprice:
  13872. description: 价格
  13873. type: number
  13874. orderqty:
  13875. description: 数量
  13876. type: number
  13877. orderstatus:
  13878. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13879. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13880. 16:成交失败违约(荷兰式竞拍专用)
  13881. type: integer
  13882. ordertime:
  13883. description: 委托时间
  13884. type: string
  13885. qtydecimalplace:
  13886. description: 成交量小数位
  13887. type: integer
  13888. tradedate:
  13889. description: 交易日
  13890. type: string
  13891. trademode:
  13892. description: 交易模式
  13893. type: integer
  13894. userid:
  13895. description: 用户id
  13896. type: integer
  13897. userinfotype:
  13898. description: 账户类型 1-个人 2-企业
  13899. type: integer
  13900. type: object
  13901. models.QhjMgrTradePayOrder:
  13902. properties:
  13903. accountname:
  13904. description: 用户名称
  13905. type: string
  13906. advanceratio:
  13907. description: 首付比率
  13908. type: number
  13909. agreeunit:
  13910. description: 合约乘数
  13911. type: number
  13912. buyaccountid:
  13913. description: 买方账号ID[报价币种]
  13914. type: integer
  13915. buyorderid:
  13916. description: 买方委托单号(关联单号)
  13917. type: string
  13918. createtime:
  13919. description: 创建时间
  13920. type: string
  13921. decimalplace:
  13922. description: 报价小数位
  13923. type: integer
  13924. enumdicname:
  13925. description: 单位名称(商品)
  13926. type: string
  13927. goodscode:
  13928. description: 商品代码(内部)
  13929. type: string
  13930. goodsid:
  13931. description: 商品ID
  13932. type: integer
  13933. goodsname:
  13934. description: 商品名称
  13935. type: string
  13936. goodunitid:
  13937. description: 报价单位ID
  13938. type: integer
  13939. logincode:
  13940. description: 登录代码(账户)
  13941. type: string
  13942. marketid:
  13943. description: 市场id
  13944. type: integer
  13945. offamount:
  13946. description: 优惠金额
  13947. type: number
  13948. operatetype:
  13949. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13950. type: integer
  13951. payamount:
  13952. description: 支付金额(金额)
  13953. type: number
  13954. payflag:
  13955. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13956. type: integer
  13957. paylimitedtime:
  13958. description: 支付期限
  13959. type: string
  13960. paytime:
  13961. description: 付款时间
  13962. type: string
  13963. qtydecimalplace:
  13964. description: 成交量小数位
  13965. type: integer
  13966. sellaccountid:
  13967. description: 卖方账号ID[报价币种]
  13968. type: integer
  13969. sellorderid:
  13970. description: 卖方委托单号
  13971. type: string
  13972. tradeamount:
  13973. description: 成交金额(优惠后金额)
  13974. type: number
  13975. tradecharge:
  13976. description: 成交手续费(买方)
  13977. type: number
  13978. tradedate:
  13979. description: 交易日(yyyyMMdd)
  13980. type: string
  13981. tradeid:
  13982. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13983. type: string
  13984. trademode:
  13985. description: 交易模式
  13986. type: integer
  13987. tradeprice:
  13988. description: 成交价格(价格)
  13989. type: number
  13990. tradeqty:
  13991. description: 成交数量(数量)
  13992. type: number
  13993. tradetime:
  13994. description: 成交时间
  13995. type: string
  13996. userid:
  13997. description: 用户id
  13998. type: integer
  13999. userinfotype:
  14000. description: 账户类型 1-个人 2-企业
  14001. type: integer
  14002. type: object
  14003. models.QhjMyTeamEx:
  14004. properties:
  14005. accountname:
  14006. description: 用户名称
  14007. type: string
  14008. accountstatus:
  14009. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14010. type: integer
  14011. createtime:
  14012. description: 创建时间
  14013. type: string
  14014. mobile:
  14015. description: 手机号码
  14016. type: string
  14017. refereeuserid:
  14018. description: 推荐人id
  14019. type: integer
  14020. refernum:
  14021. description: 推荐码
  14022. type: string
  14023. subList:
  14024. items:
  14025. $ref: '#/definitions/models.QhjMyTeamEx'
  14026. type: array
  14027. userid:
  14028. description: 用户id
  14029. type: integer
  14030. userinfotype:
  14031. description: 用户类型 1-个人 2-企业
  14032. type: integer
  14033. type: object
  14034. models.QhjNodeAgreementConfig:
  14035. properties:
  14036. agreementcontent:
  14037. description: 协议内容
  14038. type: string
  14039. agreementid:
  14040. description: 协议ID
  14041. type: integer
  14042. agreementname:
  14043. description: 协议名称
  14044. type: string
  14045. agreementno:
  14046. description: 协议编号
  14047. type: string
  14048. agreementtype:
  14049. description: 协议类型 - 1:注册 2:登录 3:交易
  14050. type: integer
  14051. agreementversion:
  14052. description: 协议版本号
  14053. type: integer
  14054. configid:
  14055. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14056. type: integer
  14057. createtime:
  14058. description: 创建时间
  14059. type: string
  14060. goodsid:
  14061. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14062. type: integer
  14063. nodetype:
  14064. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14065. type: integer
  14066. type: object
  14067. models.QhjParentAreaList:
  14068. properties:
  14069. accountname:
  14070. description: 账户名称(机构名称)
  14071. type: string
  14072. userid:
  14073. description: 用户ID
  14074. type: integer
  14075. usertype:
  14076. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14077. type: integer
  14078. type: object
  14079. models.QhjPayOrder:
  14080. properties:
  14081. advanceratio:
  14082. description: 首付比率
  14083. type: number
  14084. buyaccountid:
  14085. description: 买方账号ID[报价币种]
  14086. type: integer
  14087. buyorderid:
  14088. description: 买方委托单号
  14089. type: string
  14090. createtime:
  14091. description: 创建时间
  14092. type: string
  14093. decimalplace:
  14094. description: 商品报价小数位
  14095. type: integer
  14096. enumdicname:
  14097. description: 单位名称
  14098. type: string
  14099. goodscode:
  14100. description: 商品代码
  14101. type: string
  14102. goodsid:
  14103. description: 商品ID
  14104. type: integer
  14105. goodsname:
  14106. description: 商品名称
  14107. type: string
  14108. goodunitid:
  14109. description: 商品单位id
  14110. type: integer
  14111. marketid:
  14112. description: 市场ID
  14113. type: integer
  14114. offamount:
  14115. description: 优惠金额
  14116. type: number
  14117. operatetype:
  14118. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14119. type: integer
  14120. payamount:
  14121. description: 支付金额
  14122. type: number
  14123. payflag:
  14124. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14125. type: integer
  14126. paylimitedtime:
  14127. description: 支付期限
  14128. type: string
  14129. paytime:
  14130. description: 付款时间
  14131. type: string
  14132. qtydecimalplace:
  14133. description: 成交量小数位
  14134. type: integer
  14135. sellaccountid:
  14136. description: 卖方账号ID[报价币种]
  14137. type: integer
  14138. sellorderid:
  14139. description: 卖方委托单号
  14140. type: string
  14141. tradeamount:
  14142. description: 成交金额(优惠后金额)
  14143. type: number
  14144. tradecharge:
  14145. description: 成交手续费(买方)
  14146. type: number
  14147. tradedate:
  14148. description: 交易日(yyyyMMdd)
  14149. type: string
  14150. tradeid:
  14151. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14152. type: string
  14153. tradeprice:
  14154. description: 成交价格
  14155. type: number
  14156. tradeqty:
  14157. description: 成交数量
  14158. type: number
  14159. type: object
  14160. models.QhjPickArea:
  14161. properties:
  14162. address:
  14163. description: 详细地址
  14164. type: string
  14165. cityid:
  14166. description: 市
  14167. type: integer
  14168. cityname:
  14169. description: 城市名称
  14170. type: string
  14171. countryid:
  14172. description: 国家
  14173. type: integer
  14174. countryname:
  14175. description: 国家名称
  14176. type: string
  14177. districtid:
  14178. description: 地区
  14179. type: integer
  14180. districtname:
  14181. description: 地区名称
  14182. type: string
  14183. fromuserid:
  14184. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14185. type: integer
  14186. fromusername:
  14187. description: 所属机构名称
  14188. type: string
  14189. provinceid:
  14190. description: 省
  14191. type: integer
  14192. provincename:
  14193. description: 省名称
  14194. type: string
  14195. suborgtype:
  14196. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14197. type: integer
  14198. userid:
  14199. description: 机构用户ID 其他做市关系,都设置为 1
  14200. type: integer
  14201. username:
  14202. description: 机构用户名称(门店门称)
  14203. type: string
  14204. type: object
  14205. models.QhjPickGoods:
  14206. properties:
  14207. enumdicname:
  14208. description: 单位名称(提货商品)
  14209. type: string
  14210. goodsid:
  14211. description: 商品id
  14212. type: integer
  14213. imageaddress:
  14214. description: 图片
  14215. type: string
  14216. modifierid:
  14217. description: 修改人
  14218. type: integer
  14219. modifiername:
  14220. description: 修改人名称
  14221. type: string
  14222. modifysrc:
  14223. description: 修改来源 - 1:管理端 2:终端
  14224. type: integer
  14225. pickupgoodsagreeunit:
  14226. description: 合约乘数
  14227. type: number
  14228. pickupgoodsdesc:
  14229. description: 描述
  14230. type: string
  14231. pickupgoodsid:
  14232. description: 提货商品ID
  14233. type: string
  14234. pickupgoodsname:
  14235. description: 提货商品名称
  14236. type: string
  14237. pickupgoodsstatus:
  14238. description: 状态 - 1:正常 2:停用 3:注销
  14239. type: integer
  14240. pickupgoodsunitid:
  14241. description: 单位ID
  14242. type: integer
  14243. pickupratio:
  14244. description: 提货系数
  14245. type: number
  14246. preparedays:
  14247. description: 备货期(天)
  14248. type: integer
  14249. remark:
  14250. description: 备注
  14251. type: string
  14252. updatetime:
  14253. description: 更新时间
  14254. type: string
  14255. type: object
  14256. models.QhjRSTriggerLog:
  14257. properties:
  14258. accountid:
  14259. description: 用户资金账户
  14260. type: integer
  14261. accountname:
  14262. description: 账号名称(ACCOUNTID对应的名称)
  14263. type: string
  14264. currencyid:
  14265. description: 币种id
  14266. type: integer
  14267. currencyname:
  14268. description: 币种名称
  14269. type: string
  14270. decimalplace:
  14271. description: 商品报价小数位
  14272. type: integer
  14273. enumdicname:
  14274. description: 单位名称
  14275. type: string
  14276. goodscode:
  14277. description: 定投商品代码
  14278. type: string
  14279. goodsid:
  14280. description: 定投商品ID
  14281. type: integer
  14282. goodsname:
  14283. description: 定投商品名称
  14284. type: string
  14285. goodunitid:
  14286. description: 定投商品单位id
  14287. type: integer
  14288. logid:
  14289. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14290. type: string
  14291. logincode:
  14292. description: 账号(登录代码)
  14293. type: string
  14294. qtydecimalplace:
  14295. description: 成交量小数位
  14296. type: integer
  14297. regularlycycle:
  14298. description: 定投频率 - 1:每周 2:每月
  14299. type: integer
  14300. regularlycyclevalue:
  14301. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14302. type: string
  14303. regularlymode:
  14304. description: 定投方式 - 1:按数量 2:按金额
  14305. type: integer
  14306. regularlymodevalue:
  14307. description: 定投方式值 - 数量或金额
  14308. type: number
  14309. regularlystrategyid:
  14310. description: 定投策略ID
  14311. type: integer
  14312. retcode:
  14313. description: 错误码
  14314. type: string
  14315. tradeid:
  14316. description: 成交单ID
  14317. type: string
  14318. triggeramount:
  14319. description: 触发金额
  14320. type: number
  14321. triggerqty:
  14322. description: 触发数量
  14323. type: number
  14324. triggerstatus:
  14325. description: 触发状态 - 1:成功 2:失败
  14326. type: integer
  14327. triggertime:
  14328. description: 触发时间
  14329. type: string
  14330. triggertradedate:
  14331. description: 触发交易日
  14332. type: string
  14333. userid:
  14334. description: 所属用户ID
  14335. type: integer
  14336. userinfotype:
  14337. description: 用户类型 1-个人 2-企业
  14338. type: integer
  14339. username:
  14340. description: 用户名称(userid对应的名称)
  14341. type: string
  14342. type: object
  14343. models.QhjRStrategy:
  14344. properties:
  14345. accountid:
  14346. description: 用户资金账户
  14347. type: integer
  14348. accountname:
  14349. description: 账号名称(ACCOUNTID对应的名称)
  14350. type: string
  14351. currencyid:
  14352. description: 币种id
  14353. type: integer
  14354. currencyname:
  14355. description: 币种名称
  14356. type: string
  14357. decimalplace:
  14358. description: 商品报价小数位
  14359. type: integer
  14360. enumdicname:
  14361. description: 单位名称
  14362. type: string
  14363. goodscode:
  14364. description: 定投商品代码
  14365. type: string
  14366. goodsid:
  14367. description: 定投商品ID
  14368. type: integer
  14369. goodsname:
  14370. description: 定投商品名称
  14371. type: string
  14372. goodunitid:
  14373. description: 定投商品单位id
  14374. type: integer
  14375. lasteffecttradedate:
  14376. description: 最新生效交易日
  14377. type: string
  14378. laststoptradedate:
  14379. description: 最新暂停交易日
  14380. type: string
  14381. lasttriggertradedate:
  14382. description: 最新触发交易日
  14383. type: string
  14384. logincode:
  14385. description: 账号(登录代码)
  14386. type: string
  14387. nexttriggeramount:
  14388. description: 下次触发金额
  14389. type: number
  14390. nexttriggerdate:
  14391. description: 下次触发日期
  14392. type: string
  14393. nexttriggerqty:
  14394. description: 下次触发数量 [按小数位放大值]
  14395. type: number
  14396. qtydecimalplace:
  14397. description: 成交量小数位
  14398. type: integer
  14399. regularlycycle:
  14400. description: 定投频率 - 1:每周 2:每月
  14401. type: integer
  14402. regularlycyclevalue:
  14403. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14404. type: string
  14405. regularlymode:
  14406. description: 定投方式 - 1:按数量 2:按金额
  14407. type: integer
  14408. regularlymodevalue:
  14409. description: 定投方式值 - 数量或金额
  14410. type: number
  14411. regularlystrategyid:
  14412. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14413. type: integer
  14414. regularlystrategystatus:
  14415. description: 策略状态 - 1:正常 2:暂停 3:终止
  14416. type: integer
  14417. remark:
  14418. description: 备注
  14419. type: string
  14420. triggersuccesstimes:
  14421. description: 累计定投成功次数
  14422. type: string
  14423. triggertotalamount:
  14424. description: 累计定投金额(成功)
  14425. type: number
  14426. triggertotalqty:
  14427. description: 累计定投数量(成功) [按小数位放大值]
  14428. type: number
  14429. triggertotaltimes:
  14430. description: 累计定投总次数
  14431. type: string
  14432. updatesrc:
  14433. description: 更新来源 - 1:管理端 2:终端
  14434. type: integer
  14435. updatetime:
  14436. description: 更新时间
  14437. type: string
  14438. updatorid:
  14439. description: 更新人
  14440. type: string
  14441. userid:
  14442. description: 所属用户ID
  14443. type: integer
  14444. userinfotype:
  14445. description: 用户类型 1-个人 2-企业
  14446. type: integer
  14447. username:
  14448. description: 用户名称(userid对应的名称)
  14449. type: string
  14450. type: object
  14451. models.QhjReckonPriceLog:
  14452. properties:
  14453. decimalplace:
  14454. description: 商品报价小数位
  14455. type: integer
  14456. goodscode:
  14457. description: 商品代码
  14458. type: string
  14459. goodsid:
  14460. description: 商品ID
  14461. type: integer
  14462. goodsname:
  14463. description: 商品名称
  14464. type: string
  14465. lastreckonprice:
  14466. description: 上日结算价
  14467. type: number
  14468. nextdnlimitprice:
  14469. description: 下个交易日跌停价
  14470. type: number
  14471. nexttrade:
  14472. description: 下个交易日
  14473. type: string
  14474. nextuplimitprice:
  14475. description: 下个交易日涨停价
  14476. type: number
  14477. reckonprice:
  14478. description: 今日结算价(定投价)
  14479. type: number
  14480. reckontime:
  14481. description: 结算时间
  14482. type: string
  14483. totalholderqty:
  14484. description: 总持仓数
  14485. type: integer
  14486. totalstock:
  14487. description: 总库存
  14488. type: integer
  14489. tradedate:
  14490. description: 交易日
  14491. type: string
  14492. updowncount:
  14493. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14494. type: integer
  14495. updownflag:
  14496. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14497. type: integer
  14498. updownrate:
  14499. description: 今日涨跌幅
  14500. type: number
  14501. updownrate_2d:
  14502. description: 连续两日涨跌幅
  14503. type: number
  14504. updownrate_3d:
  14505. description: 连续三日涨跌幅
  14506. type: number
  14507. type: object
  14508. models.QhjScoreLog:
  14509. properties:
  14510. accountid:
  14511. description: 账户ID
  14512. type: integer
  14513. createtime:
  14514. description: 创建时间(时间)
  14515. type: string
  14516. goodsid:
  14517. description: 商品ID
  14518. type: integer
  14519. hasuploaded:
  14520. description: 是否已同步(千海金) 0:未同步 1;已同步
  14521. type: integer
  14522. logid:
  14523. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14524. type: string
  14525. marketid:
  14526. description: 市场ID
  14527. type: integer
  14528. relatedamount:
  14529. description: 关联金额
  14530. type: number
  14531. relatedorderid:
  14532. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14533. type: string
  14534. scoreconfigvalue1:
  14535. description: 积分配置1
  14536. type: integer
  14537. scoreconfigvalue2:
  14538. description: 积分配置1
  14539. type: integer
  14540. scoretype:
  14541. description: 积分类型 - 1:提货积分
  14542. type: integer
  14543. scorevalue:
  14544. description: 积分
  14545. type: number
  14546. tradedate:
  14547. description: 交易日(yyyyMMdd)
  14548. type: string
  14549. uploadedtime:
  14550. description: 同步时间
  14551. type: string
  14552. userid:
  14553. description: 用户ID
  14554. type: integer
  14555. type: object
  14556. models.QhjSiteColumnDetail:
  14557. properties:
  14558. author:
  14559. description: 作者
  14560. type: string
  14561. brief:
  14562. description: 简介
  14563. type: string
  14564. columnid:
  14565. description: 所属栏目
  14566. type: integer
  14567. context:
  14568. description: 内容
  14569. type: string
  14570. coverimage:
  14571. description: 封面图片
  14572. type: string
  14573. creaedate:
  14574. description: 创建时间
  14575. type: string
  14576. creatorid:
  14577. description: 创建人
  14578. type: integer
  14579. hits:
  14580. description: 点击数
  14581. type: integer
  14582. id:
  14583. description: ID(SEQ_SITE_COLUMNDETAIL)
  14584. type: integer
  14585. isshow:
  14586. description: 是否展示 - 0:不展示 1:展示
  14587. type: integer
  14588. istop:
  14589. description: 是否置顶 - 0:不置 1:置顶
  14590. type: integer
  14591. modifierid:
  14592. description: 操作人
  14593. type: integer
  14594. publishdate:
  14595. description: 发布日期
  14596. type: string
  14597. status:
  14598. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14599. type: integer
  14600. title:
  14601. description: 标题
  14602. type: string
  14603. updatedate:
  14604. description: 修改时间
  14605. type: string
  14606. userid:
  14607. description: 用户ID(默认为0, 核心为为机构用户ID)
  14608. type: integer
  14609. username:
  14610. description: 用户名称
  14611. type: string
  14612. type: object
  14613. models.QhjTeamOrder:
  14614. properties:
  14615. accountid:
  14616. description: 账户ID[报价币种]
  14617. type: integer
  14618. accountname:
  14619. description: 账户名称
  14620. type: string
  14621. agreeunit:
  14622. description: 合约乘数
  14623. type: number
  14624. buyorsell:
  14625. description: 方向 - 0:买 1:卖
  14626. type: integer
  14627. decimalplace:
  14628. description: 报价小数位
  14629. type: integer
  14630. enumdicname:
  14631. description: 单位名称
  14632. type: string
  14633. goodscode:
  14634. description: 商品代码(内部)
  14635. type: string
  14636. goodsid:
  14637. description: 商品ID
  14638. type: integer
  14639. goodsname:
  14640. description: 商品名称
  14641. type: string
  14642. goodunitid:
  14643. description: 报价单位ID
  14644. type: integer
  14645. marketid:
  14646. description: 市场ID
  14647. type: integer
  14648. marketname:
  14649. description: 市场名称
  14650. type: string
  14651. qtydecimalplace:
  14652. description: 成交量小数位
  14653. type: integer
  14654. refereeuserid:
  14655. description: 推荐人ID
  14656. type: integer
  14657. tradeamount:
  14658. description: 成交金额[账户币种,用于所有权]
  14659. type: number
  14660. tradedate:
  14661. description: 交易日(yyyyMMdd)
  14662. type: string
  14663. trademode:
  14664. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14665. 21:竞拍-大宗式 22:受托竞价
  14666. type: integer
  14667. tradeprice:
  14668. description: 成交价格
  14669. type: number
  14670. tradeqty:
  14671. description: 成交数量
  14672. type: number
  14673. tradetime:
  14674. description: 成交时间
  14675. type: string
  14676. userid:
  14677. description: 用户ID
  14678. type: integer
  14679. type: object
  14680. models.QhjTradeGoodsPickup:
  14681. properties:
  14682. accountid:
  14683. description: 账户ID
  14684. type: integer
  14685. address:
  14686. description: 提货人详细地址
  14687. type: string
  14688. amount:
  14689. description: 提货金额
  14690. type: number
  14691. artradedate:
  14692. description: 自动收货交易日(yyyyMMdd)
  14693. type: string
  14694. auditer:
  14695. description: 审核人
  14696. type: integer
  14697. auditsrc:
  14698. description: 更新来源 - 1:管理端 2:终端
  14699. type: integer
  14700. audittime:
  14701. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14702. type: string
  14703. audittradedate:
  14704. description: 审核交易日(yyyyMMdd)
  14705. type: string
  14706. cardnum:
  14707. description: 提货人证件号码
  14708. type: string
  14709. cardtypeid:
  14710. description: 提货人证件类型
  14711. type: integer
  14712. checkremark:
  14713. description: 审核备注
  14714. type: string
  14715. cityid:
  14716. description: 市
  14717. type: integer
  14718. cityname:
  14719. description: 城市名称
  14720. type: string
  14721. confirmtime:
  14722. description: 取货时间 或 收货时间
  14723. type: string
  14724. countryid:
  14725. description: 国家
  14726. type: integer
  14727. countryname:
  14728. description: 国家名称
  14729. type: string
  14730. decimalplace:
  14731. description: 商品报价小数位
  14732. type: integer
  14733. districtid:
  14734. description: 地区
  14735. type: integer
  14736. districtname:
  14737. description: 地区名称
  14738. type: string
  14739. enumdicname:
  14740. description: 单位名称(提货商品)
  14741. type: string
  14742. expresscompany:
  14743. description: 物流公司
  14744. type: string
  14745. expressnum:
  14746. description: 物流单号
  14747. type: string
  14748. goodsagreeunit:
  14749. description: 交易商品乘数
  14750. type: number
  14751. goodscode:
  14752. description: 商品代码
  14753. type: string
  14754. goodsid:
  14755. description: 商品ID
  14756. type: integer
  14757. goodsname:
  14758. description: 商品名称
  14759. type: string
  14760. goodsqty:
  14761. description: 交易商品手数(69模式按成交量小数位放大取整)
  14762. type: number
  14763. handlestatus:
  14764. description: 处理状态
  14765. type: integer
  14766. logincode:
  14767. description: 账号(登录代码, 有可能为空)
  14768. type: string
  14769. marketid:
  14770. description: 市场ID
  14771. type: integer
  14772. phonenum:
  14773. description: 提货人联系方式
  14774. type: string
  14775. pickupgoodsagreeunit:
  14776. description: 提货商品合约乘数
  14777. type: number
  14778. pickupgoodsid:
  14779. description: 提货商品ID
  14780. type: string
  14781. pickupgoodsname:
  14782. description: 提货商品名称
  14783. type: string
  14784. pickupgoodsqty:
  14785. description: 提货商品手数(数量)
  14786. type: number
  14787. pickupgoodsunitid:
  14788. description: 单位ID(提货商品)
  14789. type: integer
  14790. pickupratio:
  14791. description: 提货系数
  14792. type: number
  14793. preparedays:
  14794. description: 备货期(天)-提货单明细表
  14795. type: integer
  14796. provinceid:
  14797. description: 省
  14798. type: integer
  14799. provincename:
  14800. description: 省名称
  14801. type: string
  14802. qty:
  14803. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14804. type: number
  14805. qtydecimalplace:
  14806. description: 商品数量小数位
  14807. type: integer
  14808. recivername:
  14809. description: 提货人姓名
  14810. type: string
  14811. reqtime:
  14812. description: 提货申请时间
  14813. type: string
  14814. storeuserid:
  14815. description: 门店用户ID (千海金)
  14816. type: integer
  14817. storeusername:
  14818. description: 门店用户名称
  14819. type: string
  14820. takemode:
  14821. description: 提货方式 - 2:自提 3:配送(邮寄)
  14822. type: integer
  14823. takeorderid:
  14824. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14825. type: string
  14826. takeorderstatus:
  14827. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14828. 7:已拒绝 8:已撤销
  14829. type: integer
  14830. takeremark:
  14831. description: 提货备注
  14832. type: string
  14833. tradedate:
  14834. description: 交易日(yyyyMMdd)
  14835. type: string
  14836. updatetime:
  14837. description: 更新时间
  14838. type: string
  14839. userid:
  14840. description: 用户ID
  14841. type: integer
  14842. userinfotype:
  14843. description: 客户类型 1-个人 2-企业
  14844. type: integer
  14845. username:
  14846. description: 用户名称
  14847. type: string
  14848. type: object
  14849. models.QhjUserNodeCfgAndStatus:
  14850. properties:
  14851. agreementcontent:
  14852. description: 协议内容
  14853. type: string
  14854. agreementid:
  14855. description: 协议ID
  14856. type: integer
  14857. agreementname:
  14858. description: 协议名称
  14859. type: string
  14860. agreementno:
  14861. description: 协议编号
  14862. type: string
  14863. agreementtype:
  14864. description: 协议类型 - 1:注册 2:登录 3:交易
  14865. type: integer
  14866. agreementversion:
  14867. description: 协议版本号
  14868. type: integer
  14869. configid:
  14870. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14871. type: integer
  14872. createtime:
  14873. description: 创建时间
  14874. type: string
  14875. goodsid:
  14876. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14877. type: integer
  14878. nodetype:
  14879. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14880. type: integer
  14881. signtimestamp:
  14882. description: 签约状态时间戳(最近一次)
  14883. type: string
  14884. tradedate:
  14885. description: 签约交易日(yyyyMMdd)
  14886. type: string
  14887. userid:
  14888. description: 客户ID
  14889. type: integer
  14890. type: object
  14891. models.Qhjgoodsex:
  14892. properties:
  14893. canfinance:
  14894. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14895. type: integer
  14896. canregularlybuy:
  14897. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14898. type: integer
  14899. defaulttradeuserid:
  14900. description: 默认交易用户ID
  14901. type: integer
  14902. deliverygoodsid:
  14903. description: 现货品种ID
  14904. type: integer
  14905. goodsid:
  14906. description: 商品ID(自增ID SEQ_GOODS)
  14907. type: integer
  14908. minamount:
  14909. description: 最小购买金额
  14910. type: number
  14911. regularlybuyminamount:
  14912. description: 定投最小金额
  14913. type: number
  14914. regularlybuyminqty:
  14915. description: 定投最小数量
  14916. type: number
  14917. spotgoodsbrandid:
  14918. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14919. type: integer
  14920. visibilityforenterprise:
  14921. description: 企业客户是否可见 - 0:不可见 1:可见
  14922. type: integer
  14923. visibilityforpersonal:
  14924. description: 个人客户是否可见 - 0:不可见 1:可见
  14925. type: integer
  14926. wrstandardid:
  14927. description: 现货商品ID
  14928. type: integer
  14929. type: object
  14930. models.QueryErrorInfosRsp:
  14931. properties:
  14932. description:
  14933. description: 异常描述
  14934. type: string
  14935. errorcode:
  14936. description: 异常代码
  14937. type: string
  14938. errorid:
  14939. description: 异常ID
  14940. type: integer
  14941. modulecode:
  14942. description: 所属模块
  14943. type: string
  14944. operatecode:
  14945. description: 所属操作
  14946. type: string
  14947. rownumber:
  14948. description: 行号
  14949. type: string
  14950. required:
  14951. - errorid
  14952. type: object
  14953. models.QueryHedgeOrderDetailRsp:
  14954. properties:
  14955. accountid:
  14956. description: 账户ID
  14957. type: integer
  14958. buyorsell:
  14959. description: 买卖 - 0:买 1:卖
  14960. type: integer
  14961. cancellogincode:
  14962. description: 撤单人
  14963. type: string
  14964. channelbuildtype:
  14965. description: 开平标志 - 0:无 1:建仓 2:平仓
  14966. type: integer
  14967. channelinnerorderstatus:
  14968. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14969. 9:全部成交
  14970. type: integer
  14971. channeloperatetype:
  14972. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14973. type: integer
  14974. closetype:
  14975. description: 平仓方式 - 0:无 1:平今 2:平昨
  14976. type: integer
  14977. curexchangerate:
  14978. description: 当前汇率
  14979. type: number
  14980. decimalplace:
  14981. description: 商品报价小数位
  14982. type: integer
  14983. exchangefullname:
  14984. description: 外部交易所全称
  14985. type: string
  14986. goodscode:
  14987. description: 商品代码(内部)
  14988. type: string
  14989. goodsid:
  14990. description: 商品ID
  14991. type: integer
  14992. goodsname:
  14993. description: 商品名称
  14994. type: string
  14995. marketid:
  14996. description: 市场ID
  14997. type: integer
  14998. openfreezemargin:
  14999. description: 冻结保证金(冻结交易金额)
  15000. type: number
  15001. orderid:
  15002. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15003. type: string
  15004. orderlogincode:
  15005. description: 委托人
  15006. type: string
  15007. orderprice:
  15008. description: 委托价格(账户)
  15009. type: number
  15010. orderqty:
  15011. description: 委托数量
  15012. type: integer
  15013. ordertime:
  15014. description: 委托时间
  15015. type: string
  15016. pricemode:
  15017. description: '取价方式 - 1:市价 2: 限价'
  15018. type: integer
  15019. tradedate:
  15020. description: 交易日(yyyyMMdd)
  15021. type: string
  15022. tradeqty:
  15023. description: 成交数量
  15024. type: integer
  15025. type: object
  15026. models.QueryHedgeTradeDetailRsp:
  15027. properties:
  15028. accountid:
  15029. description: 账号ID
  15030. type: integer
  15031. buyorsell:
  15032. description: 方向 - 0:买 1:卖
  15033. type: integer
  15034. channelbuildtype:
  15035. description: 委托单据类型 0:无 1:建仓 2:平仓
  15036. type: integer
  15037. closecharge:
  15038. description: 平仓手续费(账户)
  15039. type: number
  15040. closecharge2:
  15041. description: 平仓手续费(商品)
  15042. type: number
  15043. closepl:
  15044. description: 平仓盈亏(账户)
  15045. type: number
  15046. closepl2:
  15047. description: 平仓盈亏(商品)
  15048. type: number
  15049. closepl3:
  15050. description: 平仓盈亏(账户)(逐笔)
  15051. type: number
  15052. closepl4:
  15053. description: 平仓盈亏(商品)(逐笔)
  15054. type: number
  15055. closetype:
  15056. description: 平仓方式 - 0:无 1:平今 2:平昨
  15057. type: integer
  15058. curexchangerate:
  15059. description: 当前汇率
  15060. type: number
  15061. decimalplace:
  15062. description: 商品报价小数位
  15063. type: integer
  15064. exchangefullname:
  15065. description: 外部交易所全称
  15066. type: string
  15067. goodscode:
  15068. description: 商品代码(内部)
  15069. type: string
  15070. goodsid:
  15071. description: 商品ID
  15072. type: integer
  15073. goodsname:
  15074. description: 商品名称
  15075. type: string
  15076. marketid:
  15077. description: 市场ID
  15078. type: integer
  15079. opencharge:
  15080. description: 建仓手续费(账户)
  15081. type: number
  15082. opencharge2:
  15083. description: 建仓手续费(商品)
  15084. type: number
  15085. orderid:
  15086. description: 委托单号
  15087. type: string
  15088. orderlogincode:
  15089. description: 委托人
  15090. type: string
  15091. tradeamount:
  15092. description: 成交金额(账户)
  15093. type: number
  15094. tradedate:
  15095. description: 交易日(yyyyMMdd)
  15096. type: string
  15097. tradeid:
  15098. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15099. type: string
  15100. tradeprice:
  15101. description: 成交价格
  15102. type: number
  15103. tradeqty:
  15104. description: 成交数量
  15105. type: integer
  15106. tradetime:
  15107. description: 成交时间
  15108. type: string
  15109. tradetype:
  15110. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15111. type: integer
  15112. type: object
  15113. models.QuotePrimaryMenu:
  15114. properties:
  15115. Index:
  15116. description: 序号
  15117. type: integer
  15118. Key:
  15119. description: 键名
  15120. type: string
  15121. Name:
  15122. description: 菜单名称
  15123. type: string
  15124. SubMenus:
  15125. description: 子菜单
  15126. items:
  15127. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15128. type: array
  15129. SubTitleType:
  15130. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15131. type: integer
  15132. TradeModes:
  15133. description: 包含市场交易类型
  15134. type: string
  15135. type: object
  15136. models.QuoteSecondaryMenu:
  15137. properties:
  15138. ExExchangeCode:
  15139. description: 外部交易所代码
  15140. type: string
  15141. ExExchangeID:
  15142. description: 外部交易所ID
  15143. type: integer
  15144. GoodsGroupIDs:
  15145. description: 商品组ID列表
  15146. items:
  15147. type: integer
  15148. type: array
  15149. Index:
  15150. description: 序号
  15151. type: integer
  15152. MarketID:
  15153. description: 市场ID
  15154. type: integer
  15155. MenuTitle:
  15156. description: 菜单标题(市场名称或外部交易所名称)
  15157. type: string
  15158. TradeMode:
  15159. description: 交易模式
  15160. type: integer
  15161. type: object
  15162. models.RelatedTaAccount:
  15163. properties:
  15164. accountid:
  15165. description: 资金账户ID
  15166. type: integer
  15167. type: object
  15168. models.RoleMenu:
  15169. properties:
  15170. hasright:
  15171. description: 是否有权限 0-没有权限 1-有权限
  15172. type: integer
  15173. iconame:
  15174. description: 菜单图标
  15175. type: string
  15176. menutype:
  15177. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  15178. type: integer
  15179. parentcode:
  15180. description: 上级资源代码
  15181. type: string
  15182. remark:
  15183. description: 菜单备注
  15184. type: string
  15185. resourcecode:
  15186. description: 菜单代码
  15187. type: string
  15188. resourcelevel:
  15189. description: 级别
  15190. type: integer
  15191. resourcename:
  15192. description: 菜单名称
  15193. type: string
  15194. roleid:
  15195. description: 角色id
  15196. type: integer
  15197. sort:
  15198. description: 排序
  15199. type: integer
  15200. subMenu:
  15201. description: 子级菜单(结构同上层一样, swag解析不出来)
  15202. items:
  15203. $ref: '#/definitions/models.RoleMenu'
  15204. type: array
  15205. url:
  15206. description: URL
  15207. type: string
  15208. userid:
  15209. description: 用户id
  15210. type: integer
  15211. type: object
  15212. models.SearchGoods:
  15213. properties:
  15214. goodscode:
  15215. description: 商品代码(内部)
  15216. type: string
  15217. goodsid:
  15218. description: 商品ID(自增ID SEQ_GOODS)
  15219. type: integer
  15220. goodsname:
  15221. description: 商品名称
  15222. type: string
  15223. marketid:
  15224. description: 所属市场ID
  15225. type: integer
  15226. marketname:
  15227. description: 市场名称
  15228. type: string
  15229. trademode:
  15230. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15231. 21:竞拍-大宗式 22:受托竞价
  15232. type: integer
  15233. required:
  15234. - goodscode
  15235. - goodsid
  15236. - goodsname
  15237. - marketid
  15238. - trademode
  15239. type: object
  15240. models.SellOrder:
  15241. properties:
  15242. accountid:
  15243. description: 资金账号
  15244. type: integer
  15245. applyid:
  15246. description: 申请单ID
  15247. type: integer
  15248. attachment1:
  15249. description: 附件1
  15250. type: string
  15251. attachment2:
  15252. description: 附件2
  15253. type: string
  15254. buyorsell:
  15255. description: 买卖 - 0:买 1:卖
  15256. type: integer
  15257. canbargain:
  15258. description: 是否可议价 - 0:不可 1:可
  15259. type: integer
  15260. cancelqty:
  15261. description: 撤销数量
  15262. type: integer
  15263. canceltime:
  15264. description: 撤销时间
  15265. type: string
  15266. chargealgorithm:
  15267. description: 手续费收取方式 1:比率 2:固定
  15268. type: integer
  15269. chargealgorithmvalue:
  15270. description: 手续费设置值(交易所部分)
  15271. type: number
  15272. chargealgorithmvalue2:
  15273. description: 手续费设置值(会员部分)
  15274. type: number
  15275. clientordertime:
  15276. description: 客户端委托时间
  15277. type: string
  15278. exchangerate:
  15279. description: 汇率[67]
  15280. type: number
  15281. firstratio:
  15282. description: 首付比率 - [挂牌时指定,摘牌时使用]
  15283. type: number
  15284. fixedprice:
  15285. description: 固定价格 - [挂牌]
  15286. type: number
  15287. freezecharge:
  15288. description: 冻结手续费
  15289. type: number
  15290. freezefirstamount:
  15291. description: 冻结首付金额 - [摘牌]
  15292. type: number
  15293. freezemargin:
  15294. description: 冻结保证金
  15295. type: number
  15296. goodsno:
  15297. description: 商品编号
  15298. type: string
  15299. isQueryDiamond:
  15300. description: 是否钻石查询
  15301. type: boolean
  15302. isspecified:
  15303. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  15304. type: integer
  15305. marginalgorithm:
  15306. description: 保证金方式 - 1:比率 2:固定
  15307. type: integer
  15308. marginvalue:
  15309. description: 保证金设置值
  15310. type: number
  15311. marketid:
  15312. description: 市场ID
  15313. type: integer
  15314. orderamount:
  15315. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  15316. type: number
  15317. orderqty:
  15318. description: 委托数量
  15319. type: integer
  15320. ordertime:
  15321. description: 委托时间
  15322. type: string
  15323. performancetemplateid:
  15324. description: 履约计划模板ID
  15325. type: integer
  15326. pricefactor:
  15327. description: 价格系数(浮动价时填写) - [挂牌]
  15328. type: number
  15329. pricemove:
  15330. description: 升贴水(浮动价时填写) - [挂牌]
  15331. type: number
  15332. relatedwrtradeorderid:
  15333. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  15334. type: integer
  15335. retcode:
  15336. description: 错误代码
  15337. type: integer
  15338. sellusername:
  15339. description: 卖方(查询字段-模糊查询)
  15340. type: string
  15341. tradedate:
  15342. description: 交易日(yyyyMMdd)
  15343. type: string
  15344. tradeprice:
  15345. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15346. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15347. type: number
  15348. tradeqty:
  15349. description: 成交数量
  15350. type: integer
  15351. unfreezecharge:
  15352. description: 解冻手续费
  15353. type: number
  15354. unfreezefirstamount:
  15355. description: 解冻首付金额 - [摘牌]
  15356. type: number
  15357. unfreezemargin:
  15358. description: 解冻保证金
  15359. type: number
  15360. userid:
  15361. description: 用户ID
  15362. type: integer
  15363. uuid:
  15364. description: 发起端唯一id
  15365. type: string
  15366. validtime:
  15367. description: 有效期限
  15368. type: string
  15369. validtype:
  15370. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15371. type: integer
  15372. wrbargainid:
  15373. description: 议价申请单ID
  15374. type: integer
  15375. wrfactortypeid:
  15376. description: 仓单要素类型ID/商品ID(77)
  15377. type: integer
  15378. wrpricetype:
  15379. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15380. type: integer
  15381. wrstandardid:
  15382. description: 现货商品ID
  15383. type: integer
  15384. wrtradeorderid:
  15385. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15386. type: integer
  15387. wrtradeorderstatus:
  15388. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 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:撤单解冻贷款失败
  15389. type: integer
  15390. wrtradetype:
  15391. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15392. type: integer
  15393. wrtransferuserid:
  15394. description: 仓单受让用户 - [摘牌]
  15395. type: integer
  15396. zscategory:
  15397. description: 钻石分类 - 枚举”ZSCategory“
  15398. type: integer
  15399. zscurrencytype:
  15400. description: 货币类型 - 枚举“ZSCurrencyType”
  15401. type: integer
  15402. type: object
  15403. models.SellOrderQueryReq:
  15404. properties:
  15405. TOTAL:
  15406. description: 总条数
  15407. type: integer
  15408. origin:
  15409. description: 原产地
  15410. type: string
  15411. page:
  15412. description: 页码
  15413. type: integer
  15414. pagesize:
  15415. description: 每页大小
  15416. type: integer
  15417. warehouseid:
  15418. description: 仓库ID
  15419. type: integer
  15420. weight1:
  15421. description: 总重量(克拉重量)-从
  15422. type: number
  15423. weight2:
  15424. description: 总重量(克拉重量)-至
  15425. type: number
  15426. weightavg1:
  15427. description: 平均单颗重量-从
  15428. type: number
  15429. weightavg2:
  15430. description: 平均单颗重量-至
  15431. type: number
  15432. zscategory:
  15433. description: 钻石分类 - 枚举”ZSCategory“
  15434. type: integer
  15435. zscerttype:
  15436. description: 证书类型
  15437. items:
  15438. type: string
  15439. type: array
  15440. zsclaritytype:
  15441. description: 净度
  15442. items:
  15443. type: integer
  15444. type: array
  15445. zscolortype:
  15446. description: 颜色
  15447. items:
  15448. type: integer
  15449. type: array
  15450. zscurrencytype:
  15451. description: 货币类型 - 枚举“ZSCurrencyType”
  15452. items:
  15453. type: string
  15454. type: array
  15455. zscuttype:
  15456. description: 切工
  15457. items:
  15458. type: integer
  15459. type: array
  15460. zsczcolor1type:
  15461. description: 彩钻颜色1
  15462. items:
  15463. type: string
  15464. type: array
  15465. zsfluorescencetype:
  15466. description: 荧光
  15467. items:
  15468. type: integer
  15469. type: array
  15470. zspolishtype:
  15471. description: 抛光度
  15472. items:
  15473. type: integer
  15474. type: array
  15475. zsshapetype:
  15476. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  15477. items:
  15478. type: string
  15479. type: array
  15480. zsstyletype:
  15481. description: 款式
  15482. items:
  15483. type: string
  15484. type: array
  15485. zssymmetrytype:
  15486. description: 对称度
  15487. items:
  15488. type: integer
  15489. type: array
  15490. required:
  15491. - zscategory
  15492. type: object
  15493. models.Systemparam:
  15494. properties:
  15495. loginid:
  15496. description: 更新用户账号,登录账号
  15497. type: string
  15498. modifyflag:
  15499. description: 修改标志0 不允许修改 1 允许修改
  15500. type: integer
  15501. paramcode:
  15502. description: 参数代码
  15503. type: string
  15504. paramname:
  15505. description: 参数名
  15506. type: string
  15507. paramtype:
  15508. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  15509. type: integer
  15510. paramvalue:
  15511. description: 参数值
  15512. type: string
  15513. paramvalue2:
  15514. description: 参数值(CLOB)
  15515. type: string
  15516. regexpress:
  15517. description: 正则表达式
  15518. type: string
  15519. remark:
  15520. description: 备注
  15521. type: string
  15522. serverip:
  15523. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  15524. type: string
  15525. showflag:
  15526. description: 是否显示0 不显示 1 显示
  15527. type: integer
  15528. updatetime:
  15529. description: 更新时间
  15530. type: string
  15531. userid:
  15532. description: 更新用户ID
  15533. type: integer
  15534. required:
  15535. - paramcode
  15536. type: object
  15537. models.Szdz3convertconfig:
  15538. properties:
  15539. canin:
  15540. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  15541. type: integer
  15542. canout:
  15543. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  15544. type: integer
  15545. converttype:
  15546. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15547. 6:交易转花生米(不设置)
  15548. type: integer
  15549. createtime:
  15550. description: 创建时间
  15551. type: string
  15552. creatorid:
  15553. description: 创建人
  15554. type: integer
  15555. daymaxvalue:
  15556. description: 当日最大转入限制
  15557. type: number
  15558. freezedays:
  15559. description: 冻结天数 [5:花生米转交易]
  15560. type: integer
  15561. innergoodsid:
  15562. description: 内部商品ID[交易]
  15563. type: integer
  15564. inratio:
  15565. description: 目标值
  15566. type: integer
  15567. modifierid:
  15568. description: 修改人
  15569. type: integer
  15570. modifytime:
  15571. description: 修改时间
  15572. type: string
  15573. outergoodscode:
  15574. description: 外部商品代码[JD\PD]
  15575. type: string
  15576. outratio:
  15577. description: 源值
  15578. type: integer
  15579. pddecimalplace:
  15580. description: PD小数位
  15581. type: integer
  15582. timemaxvalue:
  15583. description: 单次最大转入限制
  15584. type: number
  15585. timeminvalue:
  15586. description: 单次最小转入限制
  15587. type: number
  15588. required:
  15589. - converttype
  15590. - innergoodsid
  15591. - outergoodscode
  15592. type: object
  15593. models.Szdz3searchwhitelist:
  15594. properties:
  15595. createtime:
  15596. description: 创建时间
  15597. type: string
  15598. creatorid:
  15599. description: 创建人
  15600. type: integer
  15601. modifierid:
  15602. description: 修改人
  15603. type: integer
  15604. modifytime:
  15605. description: 修改时间
  15606. type: string
  15607. userid:
  15608. description: 用户ID
  15609. type: integer
  15610. required:
  15611. - userid
  15612. type: object
  15613. models.TBGoods:
  15614. properties:
  15615. agreeunit:
  15616. description: 合约乘数
  15617. type: number
  15618. enumdicname:
  15619. description: 单位名称
  15620. type: string
  15621. goodscode:
  15622. description: 商品代码(内部)
  15623. type: string
  15624. goodsid:
  15625. description: 商品ID(自增ID SEQ_GOODS)
  15626. type: integer
  15627. goodsname:
  15628. description: 商品名称
  15629. type: string
  15630. type: object
  15631. models.TBGoodsGroup:
  15632. properties:
  15633. GDLST:
  15634. description: 商品列表
  15635. items:
  15636. $ref: '#/definitions/models.TBGoods'
  15637. type: array
  15638. convertratio:
  15639. description: 折算系数
  15640. type: number
  15641. enumdicname:
  15642. description: 单位名称
  15643. type: string
  15644. exexchangecode:
  15645. description: 交易所代码
  15646. type: string
  15647. exexchangename:
  15648. description: 交易所名称
  15649. type: string
  15650. goodsgroupid:
  15651. description: 商品组ID(自增ID)
  15652. type: integer
  15653. goodsgroupname:
  15654. description: 商品组名称
  15655. type: string
  15656. goodunitid:
  15657. description: 报价单位ID
  15658. type: integer
  15659. type: object
  15660. models.TBMiddleGoods:
  15661. properties:
  15662. GPLST:
  15663. description: 期货品种列表
  15664. items:
  15665. $ref: '#/definitions/models.TBGoodsGroup'
  15666. type: array
  15667. WDLST:
  15668. description: 商品信息列表(现货品类)
  15669. items:
  15670. $ref: '#/definitions/models.TBWrstandard'
  15671. type: array
  15672. areauserid:
  15673. description: 机构用户ID
  15674. type: integer
  15675. enumdicname:
  15676. description: 单位名称
  15677. type: string
  15678. goodsunitid:
  15679. description: 套保品种单位id
  15680. type: integer
  15681. middlegoodscode:
  15682. description: 套保品种代码
  15683. type: string
  15684. middlegoodsid:
  15685. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15686. type: integer
  15687. middlegoodsname:
  15688. description: 套保品种名称
  15689. type: string
  15690. needarbitrageratio:
  15691. description: 套利比率
  15692. type: number
  15693. needhedgeratio:
  15694. description: 套保比率
  15695. type: number
  15696. type: object
  15697. models.TBWrstandard:
  15698. properties:
  15699. convertratio:
  15700. description: 折算系数
  15701. type: number
  15702. deliverygoodsname:
  15703. description: 品种名称
  15704. type: string
  15705. enumdicname:
  15706. description: 单位名称
  15707. type: string
  15708. vatrate:
  15709. description: 增值税率
  15710. type: number
  15711. wrstandardcode:
  15712. description: 现货商品代码
  15713. type: string
  15714. wrstandardid:
  15715. description: 现货商品ID(SEQ_WRSTANDARD)
  15716. type: integer
  15717. wrstandardname:
  15718. description: 现货商品名称
  15719. type: string
  15720. type: object
  15721. models.Taaccount:
  15722. properties:
  15723. accountflag:
  15724. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15725. type: integer
  15726. accountid:
  15727. description: 资金账户ID
  15728. type: integer
  15729. accountname:
  15730. description: 账户名称
  15731. type: string
  15732. balance:
  15733. description: 期初余额
  15734. type: number
  15735. capitalbalance:
  15736. description: 本金余额[外部子账户实际出入金余额]
  15737. type: number
  15738. changeflag:
  15739. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15740. type: integer
  15741. changetime:
  15742. description: 账户状态变更时间
  15743. type: string
  15744. closepl:
  15745. description: 今日平仓盈亏
  15746. type: number
  15747. creditdecrease:
  15748. description: 今日授信减少
  15749. type: number
  15750. creditincrease:
  15751. description: 今日授信增加
  15752. type: number
  15753. curamount:
  15754. description: 总市值(从持仓中统计)
  15755. type: number
  15756. currencyid:
  15757. description: 货币ID
  15758. type: integer
  15759. currentbalance:
  15760. description: 期末余额
  15761. type: number
  15762. freezecharge:
  15763. description: 手续费冻结
  15764. type: number
  15765. freezemargin:
  15766. description: 冻结保证金
  15767. type: number
  15768. fromaccountid:
  15769. description: 所属上级账户
  15770. type: integer
  15771. inamount:
  15772. description: 今日入金金额(包括三方入金)
  15773. type: number
  15774. ismain:
  15775. description: 是否母账号 0:不是母账户 1:是母账户
  15776. type: integer
  15777. ismarketaccount:
  15778. description: 是否机构接单账号 0:不是 1:是
  15779. type: integer
  15780. isreckonaccount:
  15781. description: 是否机构分润账号 0:不是 1:是
  15782. type: integer
  15783. mortgagecredit:
  15784. description: 授信金额
  15785. type: number
  15786. orifreezecharge:
  15787. description: 期初手续费冻结
  15788. type: number
  15789. orifreezemargin:
  15790. description: 期初冻结保证金
  15791. type: number
  15792. orimortgagecredit:
  15793. description: 期初授信金额
  15794. type: number
  15795. oriothercredit:
  15796. description: 期初其它授信金额
  15797. type: number
  15798. oriotherfreezemargin:
  15799. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15800. type: number
  15801. orioutamountfreeze:
  15802. description: 期初出金冻结
  15803. type: number
  15804. oriusedmargin:
  15805. description: 期初占用保证金
  15806. type: number
  15807. othercredit:
  15808. description: 其它授信金额
  15809. type: number
  15810. othercreditdecrease:
  15811. description: 今日其它授信减少
  15812. type: number
  15813. othercreditincrease:
  15814. description: 今日其它授信增加
  15815. type: number
  15816. otherfreezemargin:
  15817. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15818. type: number
  15819. otherincome:
  15820. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15821. type: number
  15822. otherpay:
  15823. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15824. type: number
  15825. outamount:
  15826. description: 今日出金金额(包括三方出金)
  15827. type: number
  15828. outamountfreeze:
  15829. description: 出金冻结
  15830. type: number
  15831. outthreshold:
  15832. description: 出金阈值
  15833. type: number
  15834. parentaccountid:
  15835. description: 所属根账号
  15836. type: integer
  15837. paycharge:
  15838. description: 今日手续费支出
  15839. type: number
  15840. relatedaccountstatus:
  15841. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15842. type: integer
  15843. relateduserid:
  15844. description: 关联用户
  15845. type: integer
  15846. remainamount:
  15847. description: 融资额(从融资合同中统计)
  15848. type: number
  15849. serivcegroup:
  15850. description: 服务分组
  15851. type: integer
  15852. signstatus:
  15853. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15854. type: integer
  15855. sublevelpath:
  15856. description: 账号层级路径(逗号分隔,首尾加逗号)
  15857. type: string
  15858. taaccounttype:
  15859. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15860. type: integer
  15861. thirdinamount:
  15862. description: 今日三方入金
  15863. type: number
  15864. thirdoutamount:
  15865. description: 今日三方出金
  15866. type: number
  15867. tradestatus:
  15868. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15869. type: integer
  15870. tradestatuschangetime:
  15871. description: 激活时间
  15872. type: string
  15873. transferamount:
  15874. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15875. type: number
  15876. usedmargin:
  15877. description: 占用保证金
  15878. type: number
  15879. userid:
  15880. description: 用户ID
  15881. type: integer
  15882. required:
  15883. - accountid
  15884. - userid
  15885. type: object
  15886. models.Tablecolumnconfig:
  15887. properties:
  15888. aligntype:
  15889. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15890. type: integer
  15891. autoid:
  15892. description: AutoID
  15893. type: integer
  15894. columnfield:
  15895. description: 列字段
  15896. type: string
  15897. columntitle:
  15898. description: 列Title
  15899. type: string
  15900. columnwidth:
  15901. description: 列宽
  15902. type: string
  15903. fixed:
  15904. description: 固定类型 - 空 | left | right
  15905. type: string
  15906. formatterstring:
  15907. description: 格式化字符
  15908. type: string
  15909. formattertype:
  15910. description: 格式化类型
  15911. type: string
  15912. groupname:
  15913. description: 表头分组名称
  15914. type: string
  15915. ismerge:
  15916. description: 是否合并显示 - 0:不合并 1:合并
  15917. type: integer
  15918. isshow:
  15919. description: 是否显示 - 0:不显示 1:显示
  15920. type: integer
  15921. needsummary:
  15922. description: 是否需要汇总 - 0:不需要 1:需要
  15923. type: integer
  15924. orderindex:
  15925. description: 顺序
  15926. type: integer
  15927. remark:
  15928. description: 备注
  15929. type: string
  15930. summarytype:
  15931. description: 汇总类型 - 1:加总 2:最后一个
  15932. type: integer
  15933. tablekey:
  15934. description: 列表Key
  15935. type: string
  15936. required:
  15937. - autoid
  15938. type: object
  15939. models.TjmdHolderDetailTradeInfo:
  15940. properties:
  15941. agreeunit:
  15942. description: 合约乘数
  15943. type: number
  15944. buyaccountid:
  15945. description: 买方账户
  15946. type: string
  15947. buyusername:
  15948. description: 买方
  15949. type: string
  15950. delistingdate:
  15951. description: 最后结算日
  15952. type: string
  15953. expiredate:
  15954. description: 到期结算价定价日
  15955. type: string
  15956. exprieprice:
  15957. description: 到期清算价格
  15958. type: string
  15959. goodscode:
  15960. description: 商品代码
  15961. type: string
  15962. goodsid:
  15963. description: 商品ID
  15964. type: integer
  15965. goodsname:
  15966. description: 商品名称(交易标的)
  15967. type: string
  15968. lasttradedate:
  15969. description: 最后交易日
  15970. type: string
  15971. listingdate:
  15972. description: 开始交易日
  15973. type: string
  15974. openprice:
  15975. description: 成交价
  15976. type: number
  15977. openqty:
  15978. description: 交易数量
  15979. type: integer
  15980. sellaccountid:
  15981. description: 卖方账户
  15982. type: string
  15983. sellusername:
  15984. description: 卖方
  15985. type: string
  15986. tradeamount:
  15987. description: 初始名义价值
  15988. type: number
  15989. tradedate:
  15990. description: 成交日期
  15991. type: string
  15992. tradeid:
  15993. description: 成交编号
  15994. type: string
  15995. type: object
  15996. models.TjmdMarketSection:
  15997. properties:
  15998. marketsectionid:
  15999. description: 市场版块ID(SEQ_MARKETSECTION)
  16000. type: integer
  16001. marketsectionname:
  16002. description: 市场版块名称
  16003. type: string
  16004. mlist:
  16005. description: 市场列表(板块下面有多少个市场)
  16006. items:
  16007. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  16008. type: array
  16009. orderindex:
  16010. description: 排序
  16011. type: integer
  16012. pictureurl:
  16013. description: 图片url, 规格(90*90)
  16014. type: string
  16015. remark:
  16016. description: 备注
  16017. type: string
  16018. type: object
  16019. models.TjmdMarketSectionConfig:
  16020. properties:
  16021. auctionwrtype:
  16022. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  16023. type: integer
  16024. canacceptquote:
  16025. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  16026. type: integer
  16027. cangoodsexercise:
  16028. description: '[期权]是否可现货行权- 0:否 1:是'
  16029. type: integer
  16030. cangoodsexercisetype:
  16031. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  16032. type: integer
  16033. canmanualquotestrike:
  16034. description: 是否可手动报行权价- 0:否 1:是 [期权]
  16035. type: integer
  16036. canmutistage:
  16037. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  16038. type: integer
  16039. canpreexercise:
  16040. description: '[期权]是否可预申报- 0:否 1:是'
  16041. type: integer
  16042. clearinterval:
  16043. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  16044. type: integer
  16045. contracttmp:
  16046. description: 合同模板[荷兰式][竞价式][仓单贸易]
  16047. type: string
  16048. exchareaid:
  16049. description: 所属交易所,可以没有
  16050. type: integer
  16051. financemarketid:
  16052. description: 融资回购市场ID [仓单贸易]
  16053. type: integer
  16054. goodstype:
  16055. description: 商品类型 - 1:交易商品 2:仓单商品
  16056. type: integer
  16057. hasrebate:
  16058. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  16059. type: integer
  16060. hastradecredit:
  16061. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  16062. type: integer
  16063. haswr:
  16064. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  16065. type: integer
  16066. isdeductmargin:
  16067. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  16068. type: integer
  16069. isrecordsource:
  16070. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  16071. type: integer
  16072. isreleasemargin:
  16073. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  16074. type: integer
  16075. isupdatereckonprice:
  16076. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  16077. type: integer
  16078. listingmode:
  16079. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16080. type: integer
  16081. marginformula:
  16082. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16083. type: integer
  16084. marginformula2:
  16085. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16086. type: integer
  16087. marketid:
  16088. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  16089. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  16090. type: integer
  16091. marketname:
  16092. description: 市场名称
  16093. type: string
  16094. marketsectionid:
  16095. description: 市场版块ID(SEQ_MARKETSECTION)
  16096. type: integer
  16097. marketserviceid:
  16098. description: 市场服务ID
  16099. type: integer
  16100. marketstatus:
  16101. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  16102. type: integer
  16103. markettype:
  16104. description: 市场类型- 1:非交易服务 2:交易服务
  16105. type: integer
  16106. matchermode:
  16107. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  16108. type: integer
  16109. nowrquotaflag:
  16110. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  16111. type: integer
  16112. openmethod:
  16113. description: 开盘模式 - 0 自动 1手动
  16114. type: integer
  16115. orderindex:
  16116. description: 排序
  16117. type: integer
  16118. otcuserid:
  16119. description: 场外期权做市商[场外期权]
  16120. type: integer
  16121. outersynctime:
  16122. description: 外部同步时间点(h24:mi:ss)[场外期权]
  16123. type: string
  16124. paylaterflag:
  16125. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  16126. type: integer
  16127. pendingflag:
  16128. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  16129. type: integer
  16130. pendingtime:
  16131. description: 待开市时间[通道交易-对冲](HH:mm)
  16132. type: string
  16133. performancetempid:
  16134. description: 履约计划模板ID - 作废
  16135. type: integer
  16136. premiumquotemode:
  16137. description: 权利金报价方式 - 1:自动 2:手动
  16138. type: integer
  16139. rebateratio:
  16140. description: 返利比率[竞价式]
  16141. type: number
  16142. reckonorder:
  16143. description: 结算顺序
  16144. type: integer
  16145. reckonpricealgorithm:
  16146. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  16147. 6.卖一价 7.买一卖一均价 8.外部结算价'
  16148. type: integer
  16149. reckonpriceparam:
  16150. description: 结算价参数
  16151. type: integer
  16152. reckontime:
  16153. description: 结算时间[通道交易-对冲](HH:mm)
  16154. type: string
  16155. roleprioritytype:
  16156. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  16157. type: integer
  16158. selllistingauditflag:
  16159. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  16160. type: integer
  16161. trademarkettype:
  16162. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  16163. type: integer
  16164. trademode:
  16165. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16166. 21:竞拍-大宗式 22:受托竞价
  16167. type: integer
  16168. tradeproperty:
  16169. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  16170. 8:场外期权
  16171. type: integer
  16172. tradetype:
  16173. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  16174. type: integer
  16175. updatereckonpriceinterval:
  16176. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  16177. type: integer
  16178. type: object
  16179. models.TjmdQuoteGoods:
  16180. properties:
  16181. buyqty:
  16182. description: 买量(暂不做, 无值, 保留字段)
  16183. type: number
  16184. decimalplace:
  16185. description: 报价小数位
  16186. type: integer
  16187. goodscode:
  16188. description: 合约代码
  16189. type: string
  16190. goodsgroupid:
  16191. description: 商品组ID(自增ID)
  16192. type: integer
  16193. goodsgroupname:
  16194. description: 商品组名称
  16195. type: string
  16196. goodsid:
  16197. description: 合约id
  16198. type: integer
  16199. goodsname:
  16200. description: 合约名称
  16201. type: string
  16202. refgoodscode:
  16203. description: 标的合约代码
  16204. type: string
  16205. refgoodsid:
  16206. description: 标的合约id
  16207. type: integer
  16208. refgoodsname:
  16209. description: 标的合约名称
  16210. type: string
  16211. sellqty:
  16212. description: 卖量(暂不做, 无值, 保留字段)
  16213. type: number
  16214. type: object
  16215. models.TjmdTodayAccountMargin:
  16216. properties:
  16217. accountid:
  16218. description: 账号ID
  16219. type: integer
  16220. goodsid:
  16221. description: 商品ID
  16222. type: integer
  16223. infoc:
  16224. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  16225. description: 配置参数
  16226. marketid:
  16227. description: 市场ID
  16228. type: integer
  16229. type: object
  16230. models.TjmdTradeOrderDetail:
  16231. properties:
  16232. buyorsell:
  16233. description: 买卖方向 0-买 1-卖
  16234. type: integer
  16235. goodsid:
  16236. description: 商品id
  16237. type: integer
  16238. marketmaxsub:
  16239. description: 市价最大偏移范围 [浮动价 - 点差]
  16240. type: number
  16241. orderid:
  16242. description: 委托单号
  16243. type: string
  16244. orderprice:
  16245. description: 期初均价
  16246. type: number
  16247. orderqty:
  16248. description: 委托数量
  16249. type: integer
  16250. pricemode:
  16251. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  16252. type: integer
  16253. userid:
  16254. description: 用户id
  16255. type: integer
  16256. username:
  16257. description: 用户名称(已脱敏)
  16258. type: string
  16259. type: object
  16260. models.TjmdTransferApply:
  16261. properties:
  16262. applyid:
  16263. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  16264. type: integer
  16265. applystatus:
  16266. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  16267. type: integer
  16268. applytime:
  16269. description: 申请时间(时间)
  16270. type: string
  16271. auditremark:
  16272. description: 审核备注(拒绝原因?)
  16273. type: string
  16274. begindate:
  16275. description: 开始交易日(yyyymmdd)
  16276. type: string
  16277. buyorsell:
  16278. description: 买卖 - 0:买 1:卖
  16279. type: integer
  16280. enddate:
  16281. description: 结束交易日(yyyymmdd)
  16282. type: string
  16283. goodscode:
  16284. description: 商品代码
  16285. type: string
  16286. goodsid:
  16287. description: 商品ID
  16288. type: integer
  16289. goodsname:
  16290. description: 商品名称
  16291. type: string
  16292. marketid:
  16293. description: 市场ID
  16294. type: integer
  16295. qty:
  16296. description: 期初均价
  16297. type: number
  16298. tradeid:
  16299. description: 成交单号(关联持仓)
  16300. type: string
  16301. transferamount:
  16302. description: 转让总金额(金额)
  16303. type: number
  16304. transferprice:
  16305. description: 转让价格(协议价格)
  16306. type: number
  16307. type: object
  16308. models.TradeHolderDetail:
  16309. properties:
  16310. accountid:
  16311. description: 账号ID
  16312. type: integer
  16313. agreeunit:
  16314. description: 合约乘数
  16315. type: number
  16316. buyorsell:
  16317. description: 方向 - 0:买 1:卖
  16318. type: integer
  16319. currencyid:
  16320. description: 商品币种id
  16321. type: integer
  16322. currencyname:
  16323. description: 币种名称
  16324. type: string
  16325. decimalplace:
  16326. description: 商品价格小数位
  16327. type: integer
  16328. enumdicname:
  16329. description: 商品单位名称
  16330. type: string
  16331. expirecycle:
  16332. description: 行权周期(天) - 1:滚动行权时填写
  16333. type: integer
  16334. expiredate:
  16335. description: 行权日(yyyyMMdd) - 到期日
  16336. type: string
  16337. expiretype:
  16338. description: 行权日类型 - 1:滚动行权 2:固定日行权
  16339. type: integer
  16340. freezeqty:
  16341. description: 期初均价
  16342. type: number
  16343. goodscode:
  16344. description: 商品代码
  16345. type: string
  16346. goodsid:
  16347. description: 商品ID
  16348. type: integer
  16349. goodsname:
  16350. description: 商品名称
  16351. type: string
  16352. goodunitid:
  16353. description: 商品单位id
  16354. type: integer
  16355. holderamount:
  16356. description: 持仓金额
  16357. type: number
  16358. holdercredit:
  16359. description: 持仓授信金额
  16360. type: number
  16361. holderdays:
  16362. description: 剩余冻结天数
  16363. type: integer
  16364. holderprice:
  16365. description: 持仓价格
  16366. type: number
  16367. holderqty:
  16368. description: 期初均价
  16369. type: number
  16370. isconfirmexercise:
  16371. description: 是否确认行权- 0:否 1:是
  16372. type: integer
  16373. ispreexercise:
  16374. description: 是否预申报- 0:否 1:是 2:不可行权
  16375. type: integer
  16376. marketid:
  16377. description: 市场id
  16378. type: integer
  16379. marketname:
  16380. description: 市场名称
  16381. type: string
  16382. openprice:
  16383. description: 建仓价格
  16384. type: number
  16385. openqty:
  16386. description: 期初均价
  16387. type: number
  16388. optiontype:
  16389. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16390. type: integer
  16391. preexerciseprice:
  16392. description: 预申报价格
  16393. type: number
  16394. premium:
  16395. description: 权利金
  16396. type: number
  16397. qtydecimalplace:
  16398. description: 商品成交量小数位
  16399. type: integer
  16400. refgoodscode:
  16401. description: 标的合约代码
  16402. type: string
  16403. refgoodsid:
  16404. description: 标的合约id
  16405. type: integer
  16406. releaseamount:
  16407. description: 释放持仓金额
  16408. type: number
  16409. releaseholdercredit:
  16410. description: 释放持仓授信金额
  16411. type: number
  16412. taname:
  16413. description: 资金账号名称
  16414. type: string
  16415. tradeamount:
  16416. description: 成交金额
  16417. type: number
  16418. tradedate:
  16419. description: 交易日(yyyyMMdd)
  16420. type: string
  16421. tradeid:
  16422. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16423. type: string
  16424. trademode:
  16425. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16426. 21:竞拍-大宗式 22:受托竞价 46:掉期
  16427. type: integer
  16428. tradeproperty:
  16429. description: 交易属性
  16430. type: integer
  16431. tradetime:
  16432. description: 交易时间
  16433. type: string
  16434. userid:
  16435. description: 用户id
  16436. type: integer
  16437. username:
  16438. description: 用户名称
  16439. type: string
  16440. type: object
  16441. models.Unlinkermcphedgeplan:
  16442. properties:
  16443. accountid:
  16444. description: 期货账户ID - 作废
  16445. type: integer
  16446. accountname:
  16447. description: 交易用户
  16448. type: string
  16449. applyid:
  16450. description: 申请人
  16451. type: integer
  16452. applysrc:
  16453. description: 申请来源 - 1:管理端 2:终端
  16454. type: integer
  16455. applytime:
  16456. description: 申请时间
  16457. type: string
  16458. areauserid:
  16459. description: '[企业ID]机构ID'
  16460. type: integer
  16461. auditid:
  16462. description: 审核人
  16463. type: integer
  16464. auditremark:
  16465. description: 审核备注
  16466. type: string
  16467. auditsrc:
  16468. description: 审核来源 - 1:管理端 2:终端
  16469. type: integer
  16470. audittime:
  16471. description: 审核时间
  16472. type: string
  16473. audittradedate:
  16474. description: 审核交易日(yyyyMMdd)
  16475. type: string
  16476. biztype:
  16477. description: 业务类型 - 1:套保
  16478. type: integer
  16479. contracttype:
  16480. description: 计划类型 - 1:采购 -1:销售
  16481. type: integer
  16482. convertfactor:
  16483. description: 标仓系数 - 作废
  16484. type: number
  16485. createtime:
  16486. description: 创建时间
  16487. type: string
  16488. currencyid:
  16489. description: 结算币种ID - 作废
  16490. type: integer
  16491. deliverygoodsid:
  16492. description: 现货品种ID
  16493. type: integer
  16494. enumdicname:
  16495. description: 结算币种
  16496. type: string
  16497. hedgeplanid:
  16498. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  16499. type: string
  16500. hedgeplanno:
  16501. description: '[计划编号]套保计划编号,模糊查询'
  16502. type: string
  16503. hedgeplanstatus:
  16504. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  16505. type: integer
  16506. isrelated:
  16507. description: 是否已关联计划项目 - 0:否 1:是
  16508. type: integer
  16509. planqty:
  16510. description: '[计划量]计划数量'
  16511. type: number
  16512. plantime:
  16513. description: 计划时间
  16514. type: string
  16515. producttype:
  16516. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  16517. type: integer
  16518. remark:
  16519. description: 备注
  16520. type: string
  16521. spotgoodsdesc:
  16522. description: 商品型号
  16523. type: string
  16524. tradedate:
  16525. description: 交易日(yyyyMMdd)
  16526. type: string
  16527. tradeuserid:
  16528. description: 交易用户ID
  16529. type: integer
  16530. updatetime:
  16531. description: 更新时间
  16532. type: string
  16533. wrstandardid:
  16534. description: 现货商品ID
  16535. type: integer
  16536. wrstandardname:
  16537. description: 现货商品,模糊查询
  16538. type: string
  16539. required:
  16540. - areauserid
  16541. type: object
  16542. models.UserCollectConfig:
  16543. properties:
  16544. accountstatus:
  16545. description: 账户状态 - 1:正常 2:停用 3:注销
  16546. type: integer
  16547. collectaccountname:
  16548. description: 收款人账户名称
  16549. type: string
  16550. collectaccountno:
  16551. description: 收款人账户
  16552. type: string
  16553. collectbankname:
  16554. description: 收款人开户行
  16555. type: string
  16556. collectbranchbankname:
  16557. description: 收款人开户支行
  16558. type: string
  16559. collectconfigid:
  16560. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  16561. type: string
  16562. remark:
  16563. description: 备注
  16564. type: string
  16565. userid:
  16566. description: 收款人用户ID
  16567. type: integer
  16568. type: object
  16569. models.UserReceiveInfo:
  16570. properties:
  16571. address:
  16572. description: 提货人详细地址
  16573. type: string
  16574. autoid:
  16575. description: AutoID
  16576. type: integer
  16577. cardnum:
  16578. description: 证件号码(加密存储)
  16579. type: string
  16580. cardtypeid:
  16581. description: 证件类型
  16582. type: integer
  16583. cityid:
  16584. description: 市
  16585. type: integer
  16586. cityname:
  16587. description: 城市名称
  16588. type: string
  16589. countryid:
  16590. description: 国家
  16591. type: integer
  16592. countryname:
  16593. description: 国家名称
  16594. type: string
  16595. districtid:
  16596. description: 地区
  16597. type: integer
  16598. districtname:
  16599. description: 地区名称
  16600. type: string
  16601. hasencrypt:
  16602. description: 数据是否已加密 - 0:未加密 1:已加密
  16603. type: integer
  16604. isdefault:
  16605. description: 是否默认地址 - 0:否 1:是
  16606. type: integer
  16607. phonenum:
  16608. description: 提货人联系方式(加密存储)
  16609. type: string
  16610. provinceid:
  16611. description: 省
  16612. type: integer
  16613. provincename:
  16614. description: 省名称
  16615. type: string
  16616. receivername:
  16617. description: 提货人姓名
  16618. type: string
  16619. takeremark:
  16620. description: 提货备注
  16621. type: string
  16622. userid:
  16623. description: 用户ID
  16624. type: integer
  16625. type: object
  16626. models.Useraccount:
  16627. properties:
  16628. accountname:
  16629. description: 账户名称(机构名称)
  16630. type: string
  16631. accountstatus:
  16632. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16633. type: integer
  16634. applysrc:
  16635. description: 申请来源 - 1:管理端 2:终端
  16636. type: integer
  16637. auditremark:
  16638. description: 审核备注
  16639. type: string
  16640. auditsrc:
  16641. description: 审核来源 - 1:管理端 2:终端
  16642. type: integer
  16643. audittime:
  16644. description: 审核时间
  16645. type: string
  16646. audituserid:
  16647. description: 审核人
  16648. type: integer
  16649. broker:
  16650. description: 所属经纪人ID
  16651. type: integer
  16652. canceltime:
  16653. description: 销户时间
  16654. type: string
  16655. canceluserid:
  16656. description: 销户人
  16657. type: integer
  16658. canrecommend:
  16659. description: 是否可推荐 - 0:不可 1;可
  16660. type: integer
  16661. createtime:
  16662. description: 创建时间
  16663. type: string
  16664. creatorid:
  16665. description: 创建人
  16666. type: integer
  16667. hasauth:
  16668. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16669. type: integer
  16670. isanonymous:
  16671. description: 是否匿名下单 - 0:否 1:是
  16672. type: integer
  16673. maxinvestornum:
  16674. description: 最大用户数(经纪会员下投资者个数)
  16675. type: integer
  16676. memberuserid:
  16677. description: 所属会员ID
  16678. type: integer
  16679. modifierid:
  16680. description: 修改人
  16681. type: integer
  16682. modifyremark:
  16683. description: 变更备注
  16684. type: string
  16685. modifystatus:
  16686. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16687. type: integer
  16688. modifytime:
  16689. description: 修改时间
  16690. type: string
  16691. parenttopuser:
  16692. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16693. type: string
  16694. parentuserid:
  16695. description: 所属机构ID
  16696. type: integer
  16697. reckonaccountid:
  16698. description: 默认结算资金账号ID(机构分润使用) 作废
  16699. type: integer
  16700. refercount:
  16701. description: 推荐总人数
  16702. type: integer
  16703. refereeuserid:
  16704. description: 推荐人ID
  16705. type: integer
  16706. refernum:
  16707. description: 推荐码
  16708. type: string
  16709. rootuserid:
  16710. description: 根用户ID
  16711. type: integer
  16712. subaccountlevel:
  16713. description: 子账户层数
  16714. type: integer
  16715. subarealevelpath:
  16716. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16717. type: string
  16718. userid:
  16719. description: 用户ID
  16720. type: integer
  16721. usertype:
  16722. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16723. type: integer
  16724. required:
  16725. - userid
  16726. type: object
  16727. models.Userfavoritegoods:
  16728. properties:
  16729. goodsid:
  16730. description: 商品ID
  16731. type: integer
  16732. required:
  16733. - goodsid
  16734. type: object
  16735. models.Userinfo:
  16736. properties:
  16737. address:
  16738. description: 地址
  16739. type: string
  16740. attachment1:
  16741. description: 附件1
  16742. type: string
  16743. attachment2:
  16744. description: 附件2
  16745. type: string
  16746. bankaccount:
  16747. description: 银行帐号 (加密存储)
  16748. type: string
  16749. bankaccountname:
  16750. description: 收款人名称
  16751. type: string
  16752. bankcardfrontphotourl:
  16753. description: 银行卡正面照地址
  16754. type: string
  16755. bankid:
  16756. description: 银行编码
  16757. type: string
  16758. bankname:
  16759. description: 银行名称
  16760. type: string
  16761. biznature:
  16762. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16763. type: integer
  16764. bizscope:
  16765. description: 企业经营范围(企业)
  16766. type: string
  16767. cardbackphotourl:
  16768. description: 证件背面图片地址
  16769. type: string
  16770. cardfrontphotourl:
  16771. description: 证件正面图片地址
  16772. type: string
  16773. cardnum:
  16774. description: 证件号码(加密存储)
  16775. type: string
  16776. cardtypeid:
  16777. description: 证件类型ID
  16778. type: integer
  16779. cityid:
  16780. description: 市
  16781. type: integer
  16782. company:
  16783. description: 公司(个人)
  16784. type: string
  16785. contactname:
  16786. description: 联系人
  16787. type: string
  16788. countryid:
  16789. description: 国家
  16790. type: integer
  16791. createtime:
  16792. description: 创建时间
  16793. type: string
  16794. creatorid:
  16795. description: 创建人
  16796. type: integer
  16797. customername:
  16798. description: 客户名称(企业名称)
  16799. type: string
  16800. districtid:
  16801. description: 地区
  16802. type: integer
  16803. email:
  16804. description: 邮件(加密存储)
  16805. type: string
  16806. fax:
  16807. description: 传真(加密存储)
  16808. type: string
  16809. halfbodyphotourl:
  16810. description: 半身照地址
  16811. type: string
  16812. hasencrypt:
  16813. description: 数据是否已加密 - 0:未加密 1:已加密
  16814. type: integer
  16815. headurl:
  16816. description: 头像地址
  16817. type: string
  16818. legalcardbackphotourl:
  16819. description: 法人身份证背面照地址
  16820. type: string
  16821. legalcardfrontphotourl:
  16822. description: 法人身份证正面照地址
  16823. type: string
  16824. legalpersonname:
  16825. description: 法人姓名(企业)
  16826. type: string
  16827. mobile:
  16828. description: 手机号码(加密存储)
  16829. type: string
  16830. mobile2:
  16831. description: 手机号码[明文-尚志]
  16832. type: string
  16833. modifierid:
  16834. description: 修改人
  16835. type: integer
  16836. modifiertime:
  16837. description: 修改时间
  16838. type: string
  16839. needinvoice:
  16840. description: 是否需要发票 - 0:不需要 1:需要
  16841. type: integer
  16842. nickname:
  16843. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16844. type: string
  16845. openmode:
  16846. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16847. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16848. type: integer
  16849. otherurl:
  16850. description: 其它图片地址[使用分号分隔]
  16851. type: string
  16852. postalcode:
  16853. description: 邮政编码
  16854. type: string
  16855. provinceid:
  16856. description: 省
  16857. type: integer
  16858. qq:
  16859. description: QQ(加密存储
  16860. type: string
  16861. remark:
  16862. description: 备注
  16863. type: string
  16864. sex:
  16865. description: '用户性别 0: 女 1: 男'
  16866. type: integer
  16867. signpdfurl:
  16868. description: 签约pdf文件
  16869. type: string
  16870. telphone:
  16871. description: 联系电话(加密存储)
  16872. type: string
  16873. userid:
  16874. description: 用户ID
  16875. type: integer
  16876. userinfotype:
  16877. description: 用户信息类型 - 1:个人 2:企业
  16878. type: integer
  16879. userstatus:
  16880. description: 用户状态 - 1:正常 2:注销
  16881. type: integer
  16882. usertype:
  16883. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16884. type: integer
  16885. wechat:
  16886. description: 微信(加密存储)
  16887. type: string
  16888. wskhinfo:
  16889. description: 开户申请信息(JSON)
  16890. type: string
  16891. required:
  16892. - userid
  16893. type: object
  16894. models.WRSConverTDetail:
  16895. properties:
  16896. convertratio:
  16897. description: 套保系数
  16898. type: number
  16899. deliverygoodscode:
  16900. description: 现货商品代码
  16901. type: string
  16902. deliverygoodsid:
  16903. description: 现货品种ID
  16904. type: integer
  16905. deliverygoodsname:
  16906. description: 现货商品名称
  16907. type: string
  16908. enumdicname:
  16909. description: 单位名称
  16910. type: string
  16911. goodsunitid:
  16912. description: 套保品种单位id
  16913. type: integer
  16914. middlegoodscode:
  16915. description: 套保品种代码
  16916. type: string
  16917. middlegoodsid:
  16918. description: 套保品种ID
  16919. type: integer
  16920. middlegoodsname:
  16921. description: 套保品种名称
  16922. type: string
  16923. modifytime:
  16924. description: 修改时间
  16925. type: string
  16926. wrstandardid:
  16927. description: 品类ID
  16928. type: integer
  16929. type: object
  16930. models.WRStandardInfo:
  16931. properties:
  16932. areauserid:
  16933. description: 所属机构
  16934. type: integer
  16935. convertfactor:
  16936. description: 标仓系数
  16937. type: number
  16938. createtime:
  16939. description: 创建时间
  16940. type: string
  16941. creatorid:
  16942. description: 创建人
  16943. type: integer
  16944. deliverygoodsid:
  16945. description: 品种ID
  16946. type: integer
  16947. deliverygoodsname:
  16948. description: 交割商品名称
  16949. type: string
  16950. factoryitemjson:
  16951. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  16952. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  16953. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  16954. 逗号分隔'
  16955. type: string
  16956. isvalid:
  16957. description: 是否有效 - 0:无效 1:有效
  16958. type: integer
  16959. minivalue:
  16960. description: 最小变动值
  16961. type: integer
  16962. minivaluedp:
  16963. description: 最小变动值小数位
  16964. type: integer
  16965. realminivalue:
  16966. description: 实际最小变动值
  16967. type: integer
  16968. realminivaluedp:
  16969. description: 实际最小变动值小数位
  16970. type: integer
  16971. remark:
  16972. description: 备注
  16973. type: string
  16974. unitid:
  16975. description: 单位ID
  16976. type: integer
  16977. unitname:
  16978. description: 单位
  16979. type: string
  16980. updatetime:
  16981. description: 更新时间
  16982. type: string
  16983. updatorid:
  16984. description: 更新人
  16985. type: integer
  16986. wrsstatus:
  16987. description: 状态 - 作废 - 0:未激活 1:正常
  16988. type: integer
  16989. wrstandardcode:
  16990. description: 现货品类代码
  16991. type: string
  16992. wrstandardid:
  16993. description: 现货品类ID(SEQ_WRSTANDARD)
  16994. type: integer
  16995. wrstandardname:
  16996. description: 现货品类名称
  16997. type: string
  16998. required:
  16999. - wrstandardid
  17000. type: object
  17001. models.WRTradeBargainApply:
  17002. properties:
  17003. accountid:
  17004. description: 摘牌资金账号
  17005. type: integer
  17006. applyprice:
  17007. description: 申请价格(议价价格)
  17008. type: string
  17009. applyqty:
  17010. description: 摘牌数量(议价数量)
  17011. type: number
  17012. applyremark:
  17013. description: 申请备注
  17014. type: string
  17015. applystatus:
  17016. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  17017. type: integer
  17018. applytime:
  17019. description: 申请时间(议价时间)
  17020. type: string
  17021. begindate:
  17022. description: 开始交易日(yyyymmdd)
  17023. type: string
  17024. buyorsell:
  17025. description: 买卖(挂牌类型) - 0:买 1:卖
  17026. type: integer
  17027. confirmremark:
  17028. description: 确认备注
  17029. type: string
  17030. confirmtime:
  17031. description: 确认时间
  17032. type: string
  17033. confirmuserid:
  17034. description: 确认人
  17035. type: integer
  17036. deliverygoodscode:
  17037. description: 品种代码
  17038. type: string
  17039. deliverygoodsid:
  17040. description: 品种ID
  17041. type: integer
  17042. deliverygoodsname:
  17043. description: 品种名称
  17044. type: string
  17045. deliverymonth:
  17046. description: 交收月
  17047. type: string
  17048. enddate:
  17049. description: 结束交易日(yyyymmdd)
  17050. type: string
  17051. enumdicname:
  17052. description: 单位名称
  17053. type: string
  17054. fixedprice:
  17055. description: 期初均价
  17056. type: number
  17057. handlestatus:
  17058. description: 处理状态
  17059. type: integer
  17060. marginvalue:
  17061. description: 期初均价
  17062. type: number
  17063. marketid:
  17064. description: 市场ID
  17065. type: integer
  17066. matchaccountid:
  17067. description: 挂牌方资金账号
  17068. type: integer
  17069. matchuserid:
  17070. description: 挂牌方用户id
  17071. type: integer
  17072. matchusername:
  17073. description: 挂牌方用户名称(已脱敏)
  17074. type: string
  17075. minivalue:
  17076. description: 现货商品最小变动值
  17077. type: integer
  17078. optioncompare:
  17079. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17080. type: string
  17081. orderqty:
  17082. description: 挂牌数量
  17083. type: integer
  17084. refprice:
  17085. description: 参考价格
  17086. type: string
  17087. retcode:
  17088. description: 委托返回代码
  17089. type: integer
  17090. templatename:
  17091. description: 履约方式(履约模板名称)
  17092. type: string
  17093. tradedate:
  17094. description: 交易日(yyyyMMdd)
  17095. type: string
  17096. userid:
  17097. description: 摘牌人用户ID(议价人ID)
  17098. type: integer
  17099. username:
  17100. description: 议价人名字(已脱敏)
  17101. type: string
  17102. validtime:
  17103. description: 有效期限
  17104. type: string
  17105. warehouseid:
  17106. description: 仓库ID
  17107. type: integer
  17108. warehousename:
  17109. description: 仓库名称
  17110. type: string
  17111. wrbargainid:
  17112. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  17113. type: string
  17114. wrfactortypeid:
  17115. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17116. type: string
  17117. wrfactortypename:
  17118. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17119. type: string
  17120. wrstandardcode:
  17121. description: 现货商品代码
  17122. type: string
  17123. wrstandardid:
  17124. description: 现货商品ID
  17125. type: integer
  17126. wrstandardname:
  17127. description: 商品名称
  17128. type: string
  17129. wrtradeorderid:
  17130. description: 关联委托单ID
  17131. type: string
  17132. wrtypename:
  17133. description: 商品
  17134. type: string
  17135. type: object
  17136. models.Warehouseinfo:
  17137. properties:
  17138. address:
  17139. description: 详细地址
  17140. type: string
  17141. areauserid:
  17142. description: 所属机构
  17143. type: integer
  17144. autoid:
  17145. description: 自增ID
  17146. type: integer
  17147. cityid:
  17148. description: 市
  17149. type: integer
  17150. contactname:
  17151. description: 联系人
  17152. type: string
  17153. contactnum:
  17154. description: 联系电话
  17155. type: string
  17156. countryid:
  17157. description: 国家
  17158. type: integer
  17159. createtime:
  17160. description: 创建时间
  17161. type: string
  17162. districtid:
  17163. description: 区
  17164. type: integer
  17165. hasvideo:
  17166. description: 是否有视频 - 0:无 1:有
  17167. type: integer
  17168. provinceid:
  17169. description: 省
  17170. type: integer
  17171. remark:
  17172. description: 审核备注
  17173. type: string
  17174. videourl:
  17175. description: 视频地址
  17176. type: string
  17177. warehousecode:
  17178. description: 仓库代码
  17179. type: string
  17180. warehousename:
  17181. description: 仓库名称
  17182. type: string
  17183. warehousestatus:
  17184. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  17185. type: integer
  17186. warehousetype:
  17187. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  17188. type: integer
  17189. required:
  17190. - autoid
  17191. - warehousecode
  17192. type: object
  17193. models.WrAverageTradePrice:
  17194. properties:
  17195. averageprice:
  17196. description: 期初均价
  17197. type: number
  17198. tradedate:
  17199. description: 交易日yyyymm
  17200. type: string
  17201. type: object
  17202. models.WrBrandAndYears:
  17203. properties:
  17204. brandlst:
  17205. description: 品牌列表
  17206. items:
  17207. $ref: '#/definitions/models.DgFactoryItem'
  17208. type: array
  17209. yearslst:
  17210. description: 年份列表
  17211. items:
  17212. $ref: '#/definitions/models.DgFactoryItem'
  17213. type: array
  17214. type: object
  17215. models.WrBsGoodsInfo:
  17216. properties:
  17217. buyorsell:
  17218. description: 买卖方向 0-买 1-卖
  17219. type: integer
  17220. goodsid:
  17221. description: 交易合约ID
  17222. type: integer
  17223. lstitem:
  17224. description: 商品信息项
  17225. items:
  17226. $ref: '#/definitions/models.WrTypeItem'
  17227. type: array
  17228. lststep:
  17229. description: 履约规则
  17230. items:
  17231. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17232. type: array
  17233. type: object
  17234. models.WrBuybackDetail:
  17235. properties:
  17236. buybackamount:
  17237. description: 回购金额
  17238. type: number
  17239. buybackqty:
  17240. description: 回购数量
  17241. type: number
  17242. buybackreleasemargin:
  17243. description: 回购释放保证金
  17244. type: number
  17245. buybacktime:
  17246. description: 回购时间
  17247. type: string
  17248. errordesc:
  17249. description: 错误描述
  17250. type: string
  17251. handlestatus:
  17252. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  17253. type: integer
  17254. relatedwrid:
  17255. description: 关联仓单ID
  17256. type: integer
  17257. scfcontractid:
  17258. description: SCF合同ID
  17259. type: string
  17260. scfwrbuybackid:
  17261. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  17262. type: integer
  17263. tradedate:
  17264. description: 交易日(yyyyMMdd)
  17265. type: string
  17266. type: object
  17267. models.WrClientAdSpaceConfig:
  17268. properties:
  17269. adspaceid:
  17270. description: 广告位ID
  17271. type: integer
  17272. adspacename:
  17273. description: 广告位名称
  17274. type: string
  17275. adspacetype:
  17276. description: 广告位类型 - 1:固定广告位
  17277. type: integer
  17278. areauserid:
  17279. description: 所属机构ID
  17280. type: integer
  17281. createdate:
  17282. description: 创建时间
  17283. type: string
  17284. imagepath:
  17285. description: 图片
  17286. type: string
  17287. modifierid:
  17288. description: 操作人
  17289. type: integer
  17290. recsize:
  17291. description: 推荐尺寸
  17292. type: string
  17293. title:
  17294. description: 标题
  17295. type: string
  17296. updatedate:
  17297. description: 更新时间
  17298. type: string
  17299. urlcontent:
  17300. description: 链接(地址\商品ID\功能菜单Key\appid)
  17301. type: string
  17302. urltype:
  17303. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  17304. type: integer
  17305. type: object
  17306. models.WrDeliveryAvalidHoldLB:
  17307. properties:
  17308. accountid:
  17309. description: 资金账号
  17310. type: integer
  17311. avalidqty:
  17312. description: 数量(可点选数量)
  17313. type: number
  17314. deliverygoodsid:
  17315. description: 品种id
  17316. type: integer
  17317. enumdicname:
  17318. description: 单位名称
  17319. type: string
  17320. goodsid:
  17321. description: x合约商品id
  17322. type: integer
  17323. ladingbillid:
  17324. description: 提单id
  17325. type: string
  17326. pgoodscode:
  17327. description: p商品代码(点价合约)
  17328. type: string
  17329. pgoodsid:
  17330. description: p商品id(点价合约)
  17331. type: integer
  17332. pgoodsname:
  17333. description: p商品名称(点价合约)
  17334. type: string
  17335. pricemove:
  17336. description: 升贴水
  17337. type: number
  17338. subnum:
  17339. description: 提单子id
  17340. type: integer
  17341. userid:
  17342. description: 用户id
  17343. type: integer
  17344. username:
  17345. description: 仓单持有人
  17346. type: string
  17347. warehousecode:
  17348. description: 仓库代码
  17349. type: string
  17350. warehouseid:
  17351. description: 仓库id
  17352. type: integer
  17353. warehousename:
  17354. description: 仓库名称
  17355. type: string
  17356. wrfactortypeid:
  17357. description: 仓单要素id
  17358. type: string
  17359. wrstandardcode:
  17360. description: 品代码
  17361. type: string
  17362. wrstandardid:
  17363. description: 品类d
  17364. type: integer
  17365. wrstandardname:
  17366. description: 品类名称
  17367. type: string
  17368. wrtypename:
  17369. description: 商品
  17370. type: string
  17371. xgoodscode:
  17372. description: x合约代码
  17373. type: string
  17374. xgoodsname:
  17375. description: x合约名称
  17376. type: string
  17377. type: object
  17378. models.WrDeliveryDetail:
  17379. properties:
  17380. accountid:
  17381. description: 账号ID
  17382. type: integer
  17383. averageprice:
  17384. description: 期初均价
  17385. type: number
  17386. begindate:
  17387. description: 开始交易日(yyyymmdd)
  17388. type: string
  17389. buyorsell:
  17390. description: 方向 - 0:买 1:卖
  17391. type: integer
  17392. deliveryamount:
  17393. description: 货款金额(X总货款+P总货款)
  17394. type: number
  17395. deliveryid:
  17396. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  17397. type: string
  17398. deliveryorderid:
  17399. description: 申报单号
  17400. type: string
  17401. deliverypricemove:
  17402. description: 升贴水(升贴水总额)
  17403. type: number
  17404. deliveryqty:
  17405. description: 交收数量(点选数量)
  17406. type: number
  17407. deliverystatus:
  17408. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  17409. type: integer
  17410. deliverytime:
  17411. description: 交割时间
  17412. type: string
  17413. deliverytotalamount:
  17414. description: 交收金额
  17415. type: number
  17416. enddate:
  17417. description: 结束交易日(yyyymmdd)
  17418. type: string
  17419. enumdicname:
  17420. description: 单位名称
  17421. type: string
  17422. matchaccountid:
  17423. description: 对手账号ID
  17424. type: integer
  17425. matchusername:
  17426. description: 对手方名称(仓单持有人)
  17427. type: string
  17428. p1goodsremainamount:
  17429. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  17430. type: number
  17431. pdeliverycloseqty:
  17432. description: p合约平仓数量
  17433. type: number
  17434. pdeliveryprice:
  17435. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  17436. type: number
  17437. pgoodscode:
  17438. description: 商品代码
  17439. type: string
  17440. pgoodsid:
  17441. description: p点选合约id
  17442. type: integer
  17443. pgoodsname:
  17444. description: 商品名称
  17445. type: string
  17446. ppricemode:
  17447. description: 点价价格方式 - 1:商品价 2:固定值
  17448. type: integer
  17449. tradedate:
  17450. description: 交易日(yyyymmdd)
  17451. type: string
  17452. userid:
  17453. description: 用户id
  17454. type: integer
  17455. username:
  17456. description: 用户名称
  17457. type: string
  17458. warehousename:
  17459. description: 仓库名称
  17460. type: string
  17461. wrfactortypeid:
  17462. description: 仓单要素类型ID
  17463. type: string
  17464. wrtypename:
  17465. description: 商品
  17466. type: string
  17467. xdeliverycloseqty:
  17468. description: 合约数量
  17469. type: number
  17470. xgoodsamount:
  17471. description: 期初均价
  17472. type: number
  17473. xgoodscode:
  17474. description: 商品代码
  17475. type: string
  17476. xgoodsid:
  17477. description: x交易合约ID
  17478. type: integer
  17479. xgoodsname:
  17480. description: 商品名称
  17481. type: string
  17482. type: object
  17483. models.WrDeliveryGoodsSection:
  17484. properties:
  17485. dglst:
  17486. description: 板块商品列表
  17487. items:
  17488. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  17489. type: array
  17490. imagepath:
  17491. description: 图片地址
  17492. type: string
  17493. orderindex:
  17494. description: 排序
  17495. type: integer
  17496. sectionid:
  17497. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  17498. = 1的版块1 - 云融指数
  17499. type: integer
  17500. sectionname:
  17501. description: 版块名称
  17502. type: string
  17503. sectiontype:
  17504. description: 版块类型 - 1:指数版块 2:普通版块
  17505. type: integer
  17506. type: object
  17507. models.WrDeliveryGoodsSectionConfig:
  17508. properties:
  17509. deliverygoodscode:
  17510. description: 现货商品代码
  17511. type: string
  17512. deliverygoodsid:
  17513. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17514. type: integer
  17515. deliverygoodsname:
  17516. description: 现货商品名称
  17517. type: string
  17518. orderindex:
  17519. description: 排序
  17520. type: integer
  17521. type: object
  17522. models.WrDraftUserInfo:
  17523. properties:
  17524. address:
  17525. description: 地址
  17526. type: string
  17527. attachment1:
  17528. description: 附件1
  17529. type: string
  17530. attachment2:
  17531. description: 附件2
  17532. type: string
  17533. attachment3:
  17534. description: 附件3
  17535. type: string
  17536. attachment4:
  17537. description: 附件4
  17538. type: string
  17539. attachment5:
  17540. description: 附件5
  17541. type: string
  17542. bankaccount:
  17543. description: 银行帐号 (加密存储)
  17544. type: string
  17545. bankaccountname:
  17546. description: 收款人名称
  17547. type: string
  17548. bankcardfrontphotourl:
  17549. description: 银行卡正面照地址
  17550. type: string
  17551. bankid:
  17552. description: 银行编码
  17553. type: string
  17554. bankname:
  17555. description: 银行名称
  17556. type: string
  17557. birthday:
  17558. description: 生日(个人:年月日)
  17559. type: string
  17560. biznature:
  17561. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17562. type: integer
  17563. bizscope:
  17564. description: 企业经营范围(企业)
  17565. type: string
  17566. biztype:
  17567. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17568. type: integer
  17569. cardbackphotourl:
  17570. description: 证件背面图片地址
  17571. type: string
  17572. cardfrontphotourl:
  17573. description: 证件正面图片地址
  17574. type: string
  17575. cardnum:
  17576. description: 证件号码(加密存储)
  17577. type: string
  17578. cardtypeid:
  17579. description: 证件类型ID
  17580. type: integer
  17581. cityid:
  17582. description: 市
  17583. type: integer
  17584. company:
  17585. description: 公司(个人)
  17586. type: string
  17587. contactcardbackphotourl:
  17588. description: 联系人证件背面图片地址
  17589. type: string
  17590. contactcardfrontphotourl:
  17591. description: 联系人证件正面图片地址
  17592. type: string
  17593. contactname:
  17594. description: 联系人
  17595. type: string
  17596. countryid:
  17597. description: 国家
  17598. type: integer
  17599. createtime:
  17600. description: 创建时间
  17601. type: string
  17602. creatorid:
  17603. description: 创建人
  17604. type: integer
  17605. creditquota:
  17606. description: 授信额度(金瑞)
  17607. type: number
  17608. customername:
  17609. description: 客户名称(企业名称)
  17610. type: string
  17611. districtid:
  17612. description: 地区
  17613. type: integer
  17614. email:
  17615. description: 邮件(加密存储)
  17616. type: string
  17617. fax:
  17618. description: 传真(加密存储)
  17619. type: string
  17620. halfbodyphotourl:
  17621. description: 半身照地址
  17622. type: string
  17623. hasencrypt:
  17624. description: 数据是否已加密 - 0:未加密 1:已加密
  17625. type: integer
  17626. headurl:
  17627. description: 头像地址
  17628. type: string
  17629. legalcardbackphotourl:
  17630. description: 法人身份证背面照地址
  17631. type: string
  17632. legalcardfrontphotourl:
  17633. description: 法人身份证正面照地址
  17634. type: string
  17635. legalpersonname:
  17636. description: 法人姓名(企业)
  17637. type: string
  17638. mobile:
  17639. description: 手机号码(加密存储)
  17640. type: string
  17641. mobile2:
  17642. description: 手机号码[明文-尚志]
  17643. type: string
  17644. modifierid:
  17645. description: 修改人
  17646. type: integer
  17647. modifiertime:
  17648. description: 修改时间
  17649. type: string
  17650. needinvoice:
  17651. description: 是否需要发票 - 0:不需要 1:需要
  17652. type: integer
  17653. nickname:
  17654. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17655. type: string
  17656. openmode:
  17657. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17658. 6:苹果手机端注册 7:PC交易端注册"
  17659. type: integer
  17660. otherurl:
  17661. description: 其它图片地址[使用分号分隔]
  17662. type: string
  17663. postalcode:
  17664. description: 邮政编码
  17665. type: string
  17666. provinceid:
  17667. description: 省
  17668. type: integer
  17669. proxystatementurl:
  17670. description: 授权委托书
  17671. type: string
  17672. qq:
  17673. description: QQ(加密存储
  17674. type: string
  17675. remark:
  17676. description: 备注
  17677. type: string
  17678. sex:
  17679. description: '用户性别 0: 女 1: 男'
  17680. type: integer
  17681. signpdfurl:
  17682. description: 签约pdf文件
  17683. type: string
  17684. taxpayernum:
  17685. description: 纳税人识别号
  17686. type: string
  17687. telphone:
  17688. description: 联系电话(加密存储)
  17689. type: string
  17690. userid:
  17691. description: 用户ID
  17692. type: integer
  17693. userinfotype:
  17694. description: 用户信息类型 - 1:个人 2:企业
  17695. type: integer
  17696. userstatus:
  17697. description: 用户状态 - 1:正常 2:注销
  17698. type: integer
  17699. usertype:
  17700. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17701. type: integer
  17702. wechat:
  17703. description: 微信(加密存储)
  17704. type: string
  17705. wskhinfo:
  17706. description: 开户申请信息(JSON)
  17707. type: string
  17708. type: object
  17709. models.WrFAProductDetail:
  17710. properties:
  17711. accountid:
  17712. description: 资金账号
  17713. type: integer
  17714. areauserid:
  17715. description: 金融机构ID
  17716. type: integer
  17717. financingdays:
  17718. description: 天数(天)
  17719. type: integer
  17720. interestminlen:
  17721. description: 最小起息天数
  17722. type: integer
  17723. interestrate:
  17724. description: 利率
  17725. type: number
  17726. interestratemode:
  17727. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17728. type: integer
  17729. interestsettlemode:
  17730. description: 结息方式 - 1:按日结息 3:按月结息
  17731. type: integer
  17732. interestsettlevalue:
  17733. description: 结息方式值
  17734. type: integer
  17735. isautoloan:
  17736. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17737. type: integer
  17738. loantag:
  17739. description: '放款标识: "放款快" 或者为空'
  17740. type: string
  17741. marginratio:
  17742. description: 保证金比率质押率 - [仓单质押]
  17743. type: number
  17744. productdetailid:
  17745. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17746. type: integer
  17747. productid:
  17748. description: 金融产品ID
  17749. type: integer
  17750. productname:
  17751. description: 产品名称
  17752. type: string
  17753. updatetime:
  17754. description: 更新时间
  17755. type: string
  17756. username:
  17757. description: 融出方
  17758. type: string
  17759. type: object
  17760. models.WrFactorTypeInfo:
  17761. properties:
  17762. deliverygoodscode:
  17763. description: 品种代码
  17764. type: string
  17765. deliverygoodsname:
  17766. description: 品种名称
  17767. type: string
  17768. dgfactoryitemid:
  17769. description: 选择项id
  17770. type: integer
  17771. dgfactoryitemtypeid:
  17772. description: 要素选择项ID (1-仓库 2-品牌)
  17773. type: integer
  17774. dgfactoryitemvalue:
  17775. description: 要素项值
  17776. type: string
  17777. itemtypename:
  17778. description: 要素项名称
  17779. type: string
  17780. optioncompare:
  17781. description: 选择比较串
  17782. type: string
  17783. warehouseid:
  17784. description: 仓库id
  17785. type: integer
  17786. wrfactortypeid:
  17787. description: 仓单要素ID
  17788. type: string
  17789. wrfactortypename:
  17790. description: 要素名称
  17791. type: string
  17792. wrfactortypename2:
  17793. description: 要素名称(不含仓库)
  17794. type: string
  17795. wrstandardcode:
  17796. description: 品类代码
  17797. type: string
  17798. wrstandardid:
  17799. description: 品类id
  17800. type: integer
  17801. wrstandardname:
  17802. description: 品类名称
  17803. type: string
  17804. type: object
  17805. models.WrFilterItem:
  17806. properties:
  17807. itemcode:
  17808. description: 代码
  17809. type: string
  17810. itemid:
  17811. description: 项id
  17812. type: integer
  17813. itemname:
  17814. description: 名称
  17815. type: string
  17816. itemtype:
  17817. description: 类型 1-品种 2-品类(商品) 3-仓库
  17818. type: integer
  17819. type: object
  17820. models.WrFinanceBuyApply:
  17821. properties:
  17822. applydate:
  17823. description: 申请时间
  17824. type: string
  17825. applystatus:
  17826. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17827. type: integer
  17828. applyuserid:
  17829. description: 申请人
  17830. type: integer
  17831. auditdate:
  17832. description: 审核时间
  17833. type: string
  17834. auditremark:
  17835. description: 审核备注
  17836. type: string
  17837. audituserid:
  17838. description: 审核人
  17839. type: integer
  17840. buyaccountid:
  17841. description: 买方资金账号
  17842. type: integer
  17843. buyorsell:
  17844. description: 买卖 - 0:买 1:卖
  17845. type: integer
  17846. buyuserid:
  17847. description: 买方用户ID
  17848. type: integer
  17849. buyusername:
  17850. description: 买方名称
  17851. type: string
  17852. buywrtradeorderid:
  17853. description: 融资方买委托单ID
  17854. type: string
  17855. deliverygoodscode:
  17856. description: 品种代码
  17857. type: string
  17858. deliverygoodsid:
  17859. description: 品种ID
  17860. type: integer
  17861. deliverygoodsname:
  17862. description: 品种名称
  17863. type: string
  17864. deliverymonth:
  17865. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17866. type: string
  17867. enumdicname:
  17868. description: 单位名称
  17869. type: string
  17870. financeaccountid:
  17871. description: 融资方资金帐户ID
  17872. type: integer
  17873. financeapplyid:
  17874. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17875. type: string
  17876. financeareauserid:
  17877. description: 融资方用户ID
  17878. type: string
  17879. financename:
  17880. description: 融出方名称
  17881. type: string
  17882. financetype:
  17883. description: 融资类型 1-融资回购
  17884. type: integer
  17885. financingdays:
  17886. description: 天数(天)
  17887. type: integer
  17888. freezebuymargin:
  17889. description: 冻结融资保证金(买方)
  17890. type: number
  17891. handleremark:
  17892. description: 处理备注
  17893. type: string
  17894. handlestatus:
  17895. description: 处理状态
  17896. type: integer
  17897. interestminlen:
  17898. description: 最小起息天数
  17899. type: integer
  17900. interestrate:
  17901. description: 利率
  17902. type: number
  17903. interestratemode:
  17904. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17905. type: integer
  17906. interestsettlemode:
  17907. description: 结息方式 - 1:按日结息 3:按月结息
  17908. type: integer
  17909. interestsettlevalue:
  17910. description: 结息方式值
  17911. type: integer
  17912. isautoloan:
  17913. description: 是否自动放款 - 0:手动 1:自动
  17914. type: integer
  17915. marginratio:
  17916. description: 保证金比率质押率 - [仓单质押]
  17917. type: number
  17918. marketid:
  17919. description: 市场ID
  17920. type: integer
  17921. minivalue:
  17922. description: 现货商品最小变动值
  17923. type: integer
  17924. optioncompare:
  17925. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17926. type: string
  17927. orderqty:
  17928. description: 委托数量(商品数量)
  17929. type: number
  17930. productdetailid:
  17931. description: 产品组合ID
  17932. type: integer
  17933. productid:
  17934. description: 金融产品ID
  17935. type: integer
  17936. productname:
  17937. description: 产品名称
  17938. type: string
  17939. remark:
  17940. description: 备注
  17941. type: string
  17942. scfcontractid:
  17943. description: 仓单回购合同ID
  17944. type: string
  17945. sellaccountid:
  17946. description: 卖方资金账号
  17947. type: integer
  17948. selluserid:
  17949. description: 卖方用户ID
  17950. type: integer
  17951. sellwrtradeorderid:
  17952. description: 卖方委托单ID
  17953. type: string
  17954. tradeamount:
  17955. description: 成交金额(借款金额)
  17956. type: number
  17957. tradedate:
  17958. description: 交易日(yyyyMMdd)
  17959. type: string
  17960. tradeprice:
  17961. description: 成交价格
  17962. type: number
  17963. warehouseid:
  17964. description: 仓库ID
  17965. type: integer
  17966. warehousename:
  17967. description: 仓库名称
  17968. type: string
  17969. wrfactortypeid:
  17970. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17971. type: string
  17972. wrfactortypename:
  17973. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17974. type: string
  17975. wrpricetype:
  17976. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  17977. type: integer
  17978. wrstandardcode:
  17979. description: 现货商品代码
  17980. type: string
  17981. wrstandardid:
  17982. description: 现货商品ID
  17983. type: integer
  17984. wrstandardname:
  17985. description: 商品名称
  17986. type: string
  17987. wrtypename:
  17988. description: 商品
  17989. type: string
  17990. type: object
  17991. models.WrFriendApply:
  17992. properties:
  17993. applicantid:
  17994. description: 申请人
  17995. type: integer
  17996. applyname:
  17997. description: 申请人名称
  17998. type: string
  17999. applysrc:
  18000. description: 申请来源 - 1:管理端 2:终端
  18001. type: integer
  18002. applystatus:
  18003. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18004. type: integer
  18005. applytime:
  18006. description: 申请时间
  18007. type: string
  18008. auditname:
  18009. description: 审核人名称
  18010. type: string
  18011. auditorid:
  18012. description: 审核人
  18013. type: integer
  18014. auditremark:
  18015. description: 审核备注
  18016. type: string
  18017. auditsrc:
  18018. description: 审核来源 - 1:管理端 2:终端
  18019. type: integer
  18020. audittime:
  18021. description: 审核时间
  18022. type: string
  18023. friendapplyid:
  18024. description: 申请ID(SEQ_FRIENDAPPLY)
  18025. type: string
  18026. friendname:
  18027. description: 好友名字(已脱敏)
  18028. type: string
  18029. frienduserid:
  18030. description: 好友用户ID
  18031. type: string
  18032. remark:
  18033. description: 备注
  18034. type: string
  18035. userid:
  18036. description: 申请人用户ID
  18037. type: integer
  18038. type: object
  18039. models.WrFtDeliveryGoods:
  18040. properties:
  18041. deliverygoodscode:
  18042. description: 品种代码
  18043. type: string
  18044. deliverygoodsid:
  18045. description: 品种ID
  18046. type: integer
  18047. deliverygoodsname:
  18048. description: 品种名称
  18049. type: string
  18050. wdlst:
  18051. description: 商品列表
  18052. items:
  18053. $ref: '#/definitions/models.WrFtWrstandard'
  18054. type: array
  18055. type: object
  18056. models.WrFtWrstandard:
  18057. properties:
  18058. enumdicname:
  18059. description: 单位名称
  18060. type: string
  18061. minivalue:
  18062. description: 最小变动值
  18063. type: integer
  18064. wrstandardcode:
  18065. description: 现货商品代码
  18066. type: string
  18067. wrstandardid:
  18068. description: 现货商品ID
  18069. type: integer
  18070. wrstandardname:
  18071. description: 商品名称
  18072. type: string
  18073. type: object
  18074. models.WrGoodsInfo:
  18075. properties:
  18076. haswr:
  18077. description: 0:仓单预售 1:仓单贸易
  18078. type: integer
  18079. lstitem:
  18080. description: 商品信息项
  18081. items:
  18082. $ref: '#/definitions/models.WrTypeItem'
  18083. type: array
  18084. lststep:
  18085. description: 履约规则
  18086. items:
  18087. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18088. type: array
  18089. marketid:
  18090. description: 市场id
  18091. type: integer
  18092. type: object
  18093. models.WrGoodsPerformanceStep:
  18094. properties:
  18095. autoid:
  18096. description: AutoID
  18097. type: integer
  18098. isauto:
  18099. description: 是否自动 - 0:不自动 1:自动
  18100. type: integer
  18101. remark:
  18102. description: 备注
  18103. type: string
  18104. stepdate:
  18105. description: 天数信息(T+N)
  18106. type: string
  18107. stepdays:
  18108. description: 距离上一步天数
  18109. type: integer
  18110. stepindex:
  18111. description: 步骤序号
  18112. type: integer
  18113. stepinfo:
  18114. description: 步骤信息(步骤名称+步骤值)
  18115. type: string
  18116. steptypeid:
  18117. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18118. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18119. type: integer
  18120. steptypename:
  18121. description: 步骤名称
  18122. type: string
  18123. stepvalue:
  18124. description: 期初均价
  18125. type: number
  18126. templateid:
  18127. description: 履约计划模板ID
  18128. type: integer
  18129. type: object
  18130. models.WrHoldLB:
  18131. properties:
  18132. accountid:
  18133. description: 持有人帐户ID
  18134. type: integer
  18135. bannerpicurl:
  18136. description: Banner图
  18137. type: string
  18138. createtime:
  18139. description: 创建时间(过户时间)
  18140. type: string
  18141. deliverygoodscode:
  18142. description: 品种代码
  18143. type: string
  18144. deliverygoodsid:
  18145. description: 品种ID
  18146. type: integer
  18147. deliverygoodsname:
  18148. description: 品种名称
  18149. type: string
  18150. enableqty:
  18151. description: 可用数量
  18152. type: number
  18153. enumdicname:
  18154. description: 单位名称
  18155. type: string
  18156. freezerqty:
  18157. description: 冻结数量
  18158. type: number
  18159. ladingbillid:
  18160. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18161. type: string
  18162. minivalue:
  18163. description: 现货商品最小变动值
  18164. type: integer
  18165. optioncompare:
  18166. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18167. type: string
  18168. parentsubnum:
  18169. description: 拆分父子单号
  18170. type: integer
  18171. pledgeqty:
  18172. description: 质押数量
  18173. type: number
  18174. qty:
  18175. description: 数量
  18176. type: number
  18177. subnum:
  18178. description: 提单子单号
  18179. type: integer
  18180. thumurls:
  18181. description: 缩略图
  18182. type: string
  18183. tradedate:
  18184. description: 交易日(yyyyMMdd)
  18185. type: string
  18186. userid:
  18187. description: 持有人ID
  18188. type: integer
  18189. warehouseid:
  18190. description: 仓库ID
  18191. type: integer
  18192. warehousename:
  18193. description: 仓库名称
  18194. type: string
  18195. wrfactortypeid:
  18196. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18197. type: string
  18198. wrfactortypename:
  18199. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18200. type: string
  18201. wrholdeno:
  18202. description: 仓单编号
  18203. type: string
  18204. wrid:
  18205. description: 仓单变更ID
  18206. type: string
  18207. wrstandardcode:
  18208. description: 现货商品代码
  18209. type: string
  18210. wrstandardid:
  18211. description: 现货商品ID
  18212. type: integer
  18213. wrstandardname:
  18214. description: 商品名称
  18215. type: string
  18216. wrtypename:
  18217. description: 商品
  18218. type: string
  18219. type: object
  18220. models.WrMarketTradeConfig:
  18221. properties:
  18222. basisdownratio:
  18223. description: 浮动价基差下限比例(仓单贸易)
  18224. type: number
  18225. basisupratio:
  18226. description: 浮动价基差上限比例(仓单贸易)
  18227. type: number
  18228. buychargealgorithm:
  18229. description: 买方手续费收取方式 1:比率 2:固定
  18230. type: integer
  18231. buychargealgorithm2:
  18232. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  18233. type: integer
  18234. buychargealgorithmvalue:
  18235. description: 买方手续费设置值(交易所部分)
  18236. type: number
  18237. buychargealgorithmvalue2:
  18238. description: 买方手续费设置值(会员部分)
  18239. type: number
  18240. buychargealgorithmvalue3:
  18241. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  18242. type: number
  18243. buychargealgorithmvalue4:
  18244. description: 回购买方手续费设置值(会员部分) --77:现货商城
  18245. type: number
  18246. buyfirstmarginalgorithm:
  18247. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  18248. type: integer
  18249. buyfirstmarginvalue:
  18250. description: 买方出价保证金设置值 - [竞拍]
  18251. type: number
  18252. buymarginalgorithm:
  18253. description: 买方保证金方式 - 1:比率 2:固定
  18254. type: integer
  18255. buymarginvalue:
  18256. description: 买方保证金设置值
  18257. type: number
  18258. buyreleaseratio:
  18259. description: 买方释放比率[2:分步履约]
  18260. type: number
  18261. executemode:
  18262. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  18263. type: integer
  18264. executeside:
  18265. description: 执行方[2:分步履约] - 1:买方 2:卖方
  18266. type: integer
  18267. failedchargealgorithm:
  18268. description: 流拍手续费收取方式 1:比率 2:固定
  18269. type: integer
  18270. failedchargevalue:
  18271. description: 流拍手续费设置值
  18272. type: number
  18273. failedchargevalue2:
  18274. description: 流拍卖方手续费设置值
  18275. type: number
  18276. holddays:
  18277. description: 合同期限[2:分步履约]
  18278. type: integer
  18279. listingmode:
  18280. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  18281. type: integer
  18282. marketid:
  18283. description: 市场ID-仓单贸易、竞拍、预售
  18284. type: integer
  18285. minqty:
  18286. description: 最小执行量[2:分步履约]
  18287. type: number
  18288. modifierid:
  18289. description: 修改人
  18290. type: integer
  18291. nowrquotaflag:
  18292. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  18293. type: integer
  18294. performancetempid:
  18295. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18296. 立即执行(-1)
  18297. type: integer
  18298. performancetempid2:
  18299. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18300. 立即执行
  18301. type: integer
  18302. performancetempid2s:
  18303. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18304. - 履约方式: 立即执行
  18305. type: string
  18306. performancetempids:
  18307. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18308. - 履约方式: 立即执行(-1)
  18309. type: string
  18310. performanceway:
  18311. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  18312. type: integer
  18313. sellchargealgorithm:
  18314. description: 卖方手续费收取方式 1:比率 2:固定
  18315. type: integer
  18316. sellchargealgorithm2:
  18317. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  18318. type: integer
  18319. sellchargealgorithmvalue:
  18320. description: 卖方手续费设置值(交易所部分)
  18321. type: number
  18322. sellchargealgorithmvalue2:
  18323. description: 卖方手续费设置值(会员部分)
  18324. type: number
  18325. sellchargealgorithmvalue3:
  18326. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  18327. type: number
  18328. sellchargealgorithmvalue4:
  18329. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  18330. type: number
  18331. sellmarginalgorithm:
  18332. description: 卖方保证金方式 - 1:比率 2:固定
  18333. type: integer
  18334. sellmarginvalue:
  18335. description: 卖方保证金设置值
  18336. type: number
  18337. sellmarginvalue2:
  18338. description: 卖方保证金设置值(无仓单)
  18339. type: number
  18340. sellreleaseratio:
  18341. description: 卖方释放比率[2:分步履约]
  18342. type: number
  18343. updatetime:
  18344. description: 更新时间
  18345. type: string
  18346. type: object
  18347. models.WrOrderDetail:
  18348. properties:
  18349. accountid:
  18350. description: 交易账号(资金账号)
  18351. type: integer
  18352. allfriendsflag:
  18353. description: 是否全好友可见 - 0:否 1:是
  18354. type: integer
  18355. amount:
  18356. description: 期初均价
  18357. type: number
  18358. bannerpicurl:
  18359. description: Banner图
  18360. type: string
  18361. begindate:
  18362. description: 开始交易日(yyyymmdd)
  18363. type: string
  18364. buyorsell:
  18365. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18366. type: integer
  18367. canbargain:
  18368. description: 是否可议价 - 0:不可 1:可
  18369. type: integer
  18370. cancelqty:
  18371. description: 撤销数量
  18372. type: number
  18373. canpart:
  18374. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  18375. type: integer
  18376. delistminqty:
  18377. description: 起摘数量
  18378. type: integer
  18379. deliverygoodscode:
  18380. description: 品种代码
  18381. type: string
  18382. deliverygoodsid:
  18383. description: 品种ID
  18384. type: integer
  18385. deliverygoodsname:
  18386. description: 品种名称
  18387. type: string
  18388. deliverymonth:
  18389. description: 交收月
  18390. type: string
  18391. enddate:
  18392. description: 结束交易日(yyyymmdd)
  18393. type: string
  18394. enumdicname:
  18395. description: 单位名称
  18396. type: string
  18397. fixedprice:
  18398. description: 固定价格 - [挂牌]
  18399. type: number
  18400. freezecharge:
  18401. description: 期初均价
  18402. type: number
  18403. freezemargin:
  18404. description: 期初均价
  18405. type: number
  18406. futupricemove:
  18407. description: 期货升贴水
  18408. type: number
  18409. futushow:
  18410. description: 期货合约/升贴水
  18411. type: string
  18412. goodscode:
  18413. description: 期货合约
  18414. type: string
  18415. goodsid:
  18416. description: 期货商品id
  18417. type: integer
  18418. goodsname:
  18419. description: 商品名称
  18420. type: string
  18421. haswr:
  18422. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18423. type: integer
  18424. isspecified:
  18425. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  18426. type: integer
  18427. ladingbillid:
  18428. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18429. type: string
  18430. marginvalue:
  18431. description: 期初均价
  18432. type: number
  18433. marketid:
  18434. description: 市场ID
  18435. type: integer
  18436. matchusername:
  18437. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  18438. type: string
  18439. minivalue:
  18440. description: 现货商品最小变动值
  18441. type: integer
  18442. optioncompare:
  18443. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18444. type: string
  18445. orderqty:
  18446. description: 委托数量
  18447. type: number
  18448. ordertime:
  18449. description: 委托时间(挂牌时间)
  18450. type: string
  18451. performancetemplateid:
  18452. description: 履约模板id
  18453. type: integer
  18454. pricemove:
  18455. description: 升贴水(浮动价时填写) - [挂牌]
  18456. type: number
  18457. taname:
  18458. description: 交易用户名称(资金账号名称)
  18459. type: string
  18460. thumurls:
  18461. description: 缩略图
  18462. type: string
  18463. tradedate:
  18464. description: 交易日(yyyyMMdd)
  18465. type: string
  18466. tradeprice:
  18467. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  18468. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  18469. type: number
  18470. tradeqty:
  18471. description: 成交数量
  18472. type: number
  18473. userid:
  18474. description: 用户ID
  18475. type: integer
  18476. validtime:
  18477. description: 挂牌有效期
  18478. type: string
  18479. validtype:
  18480. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18481. type: integer
  18482. warehouseid:
  18483. description: 仓库ID
  18484. type: integer
  18485. warehousename:
  18486. description: 仓库名称
  18487. type: string
  18488. wrfactortypeid:
  18489. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18490. type: string
  18491. wrfactortypename:
  18492. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18493. type: string
  18494. wrpricetype:
  18495. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18496. type: integer
  18497. wrstandardcode:
  18498. description: 现货商品代码
  18499. type: string
  18500. wrstandardid:
  18501. description: 现货商品ID
  18502. type: integer
  18503. wrstandardname:
  18504. description: 商品名称
  18505. type: string
  18506. wrtradeorderid:
  18507. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18508. type: string
  18509. wrtradeorderstatus:
  18510. 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:撤单解冻贷款失败
  18511. type: integer
  18512. wrtradetype:
  18513. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18514. type: integer
  18515. wrtypename:
  18516. description: 商品
  18517. type: string
  18518. type: object
  18519. models.WrOrderQuote:
  18520. properties:
  18521. bannerpicurl:
  18522. description: Banner图
  18523. type: string
  18524. buyprice:
  18525. description: 买价
  18526. type: number
  18527. buypricemove:
  18528. description: 买升贴水(基差)
  18529. type: number
  18530. buyqty:
  18531. description: 买量
  18532. type: number
  18533. deliverygoodscode:
  18534. description: 品种代码
  18535. type: string
  18536. deliverygoodsid:
  18537. description: 品种id
  18538. type: integer
  18539. deliverygoodsname:
  18540. description: 品种名称
  18541. type: string
  18542. deliverymonth:
  18543. description: 交收月
  18544. type: string
  18545. enumdicname:
  18546. description: 单位名称
  18547. type: string
  18548. goodscode:
  18549. description: 商品合约(浮动价列表才有)
  18550. type: string
  18551. goodsid:
  18552. description: 商品id(浮动价列表才有)
  18553. type: integer
  18554. minivalue:
  18555. description: 现货商品最小变动值
  18556. type: integer
  18557. pictureurls:
  18558. description: 详情图片(逗号分隔)
  18559. type: string
  18560. sellprice:
  18561. description: 卖价
  18562. type: number
  18563. sellpricemove:
  18564. description: 卖升贴水(基差)
  18565. type: number
  18566. sellqty:
  18567. description: 卖量
  18568. type: number
  18569. thumurls:
  18570. description: 缩略图片(1:1)(逗号分隔)
  18571. type: string
  18572. warehousecode:
  18573. description: 仓库代码
  18574. type: string
  18575. warehouseid:
  18576. description: 仓库id
  18577. type: integer
  18578. warehousename:
  18579. description: 仓库名称
  18580. type: string
  18581. wrfactortypeid:
  18582. description: 仓单要素id
  18583. type: string
  18584. wrfactortypename:
  18585. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18586. type: string
  18587. wrgoodsname:
  18588. description: 商品(商品名称+仓库要素名称 拼接)
  18589. type: string
  18590. wrstandardcode:
  18591. description: 商品代码
  18592. type: string
  18593. wrstandardid:
  18594. description: 商品id
  18595. type: integer
  18596. wrstandardname:
  18597. description: 商品名称
  18598. type: string
  18599. type: object
  18600. models.WrOrderQuoteDetail:
  18601. properties:
  18602. buyorsell:
  18603. description: 买卖 - 0:买 1:卖
  18604. type: integer
  18605. delistminqty:
  18606. description: 期初均价
  18607. type: number
  18608. deliverymonth:
  18609. description: 交收月
  18610. type: string
  18611. enumdicname:
  18612. description: 单位名称
  18613. type: string
  18614. fixedprice:
  18615. description: 买(卖)价
  18616. type: number
  18617. marketid:
  18618. description: 市场id
  18619. type: integer
  18620. minivalue:
  18621. description: 现货商品最小变动值
  18622. type: integer
  18623. orderqty:
  18624. description: 买(卖)量(=委托量-成交量)
  18625. type: number
  18626. ordertime:
  18627. description: 委托时间
  18628. type: string
  18629. pricemove:
  18630. description: 买(卖)升贴水- 基差
  18631. type: number
  18632. userid:
  18633. description: 购买方(销售方)用户ID
  18634. type: integer
  18635. username:
  18636. description: 购买方(销售方)
  18637. type: string
  18638. wrtradeorderid:
  18639. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18640. type: string
  18641. type: object
  18642. models.WrOutInApply:
  18643. properties:
  18644. applyid:
  18645. description: 申请单id
  18646. type: string
  18647. applystatus:
  18648. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18649. 8:已撤销
  18650. type: integer
  18651. applytime:
  18652. description: 申请时间
  18653. type: string
  18654. applytype:
  18655. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18656. type: integer
  18657. bannerpicurl:
  18658. description: Banner图
  18659. type: string
  18660. begindate:
  18661. description: 开始交易日(yyyymmdd)
  18662. type: string
  18663. deliverygoodscode:
  18664. description: 品种代码
  18665. type: string
  18666. deliverygoodsid:
  18667. description: 品种ID
  18668. type: integer
  18669. deliverygoodsname:
  18670. description: 品种名称
  18671. type: string
  18672. enddate:
  18673. description: 结束交易日(yyyymmdd)
  18674. type: string
  18675. enumdicname:
  18676. description: 单位名称
  18677. type: string
  18678. expresscompany:
  18679. description: 物流公司
  18680. type: string
  18681. expressnum:
  18682. description: 物流单号
  18683. type: string
  18684. minivalue:
  18685. description: 现货商品最小变动值
  18686. type: integer
  18687. optioncompare:
  18688. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18689. type: string
  18690. qty:
  18691. description: 数量
  18692. type: integer
  18693. userid:
  18694. description: 用户id
  18695. type: integer
  18696. warehouseid:
  18697. description: 仓库ID
  18698. type: integer
  18699. warehousename:
  18700. description: 仓库名称
  18701. type: string
  18702. wrfactortypeid:
  18703. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18704. type: string
  18705. wrfactortypename:
  18706. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18707. type: string
  18708. wrstandardcode:
  18709. description: 现货商品代码
  18710. type: string
  18711. wrstandardid:
  18712. description: 现货商品ID
  18713. type: integer
  18714. wrstandardname:
  18715. description: 商品名称
  18716. type: string
  18717. wrtypename:
  18718. description: 商品
  18719. type: string
  18720. type: object
  18721. models.WrPerformancePlan:
  18722. properties:
  18723. activatemonth:
  18724. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18725. type: string
  18726. amount:
  18727. description: 履约金额(总金额)
  18728. type: number
  18729. begindate:
  18730. description: 开始交易日(yyyymmdd)
  18731. type: string
  18732. buyaccountid:
  18733. description: 买方账号
  18734. type: integer
  18735. buyerfreezeamount:
  18736. description: 履约冻结(买履约)
  18737. type: number
  18738. buyerfreezeamountremain:
  18739. description: 履约冻结剩余(买履约)
  18740. type: number
  18741. buyorsell:
  18742. description: 买卖方向 0-买 1-卖
  18743. type: integer
  18744. buypaidamount:
  18745. description: 买方已冻/已扣金额 (已付金额)
  18746. type: number
  18747. buyusername:
  18748. description: 买方名字
  18749. type: string
  18750. contractid:
  18751. description: 合同ID
  18752. type: integer
  18753. createtime:
  18754. description: 创建时间
  18755. type: string
  18756. creatorid:
  18757. description: 创建人
  18758. type: integer
  18759. curstepdeadline:
  18760. description: 当前步骤到期时间
  18761. type: string
  18762. curstepid:
  18763. description: 当前步骤ID
  18764. type: string
  18765. curstepname:
  18766. description: 当前步骤名称
  18767. type: string
  18768. deliverygoodscode:
  18769. description: 品种代码
  18770. type: string
  18771. deliverygoodsid:
  18772. description: 品种ID
  18773. type: integer
  18774. deliverygoodsname:
  18775. description: 品种名称
  18776. type: string
  18777. enddate:
  18778. description: 结束交易日(yyyymmdd)
  18779. type: string
  18780. enumdicname:
  18781. description: 单位名称
  18782. type: string
  18783. expressfee:
  18784. description: 运费
  18785. type: number
  18786. expressfeeconfirmed:
  18787. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18788. type: integer
  18789. hasovershort:
  18790. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18791. type: integer
  18792. haswr:
  18793. description: 类型 0-仓单预售 1-仓单贸易
  18794. type: integer
  18795. marketid:
  18796. description: 市场ID
  18797. type: integer
  18798. middleaccountid:
  18799. description: 中间商资金账号ID
  18800. type: integer
  18801. middleuserid:
  18802. description: 中间商用户ID
  18803. type: integer
  18804. minivalue:
  18805. description: 现货商品最小变动值
  18806. type: integer
  18807. optioncompare:
  18808. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18809. type: string
  18810. overshortamount:
  18811. description: 溢短金额
  18812. type: number
  18813. overshortqty:
  18814. description: 溢短数量
  18815. type: number
  18816. paymenttype:
  18817. description: 付款方式 - 1:冻结 2:扣款
  18818. type: integer
  18819. performanceplanid:
  18820. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18821. type: string
  18822. performancestatus:
  18823. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18824. 9:超时待处理 10:超时关闭
  18825. type: integer
  18826. performancetype:
  18827. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18828. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18829. type: integer
  18830. qty:
  18831. description: 履约数量
  18832. type: number
  18833. relatedorderid:
  18834. description: 关联单号(履约类型的关联单号)
  18835. type: string
  18836. remark:
  18837. description: 备注
  18838. type: string
  18839. sellaccountid:
  18840. description: 卖方账号
  18841. type: integer
  18842. sellerfreezeamount:
  18843. description: 履约冻结(卖履约)
  18844. type: number
  18845. sellerfreezeamountremain:
  18846. description: 履约冻结剩余(卖履约)
  18847. type: number
  18848. sellreceivedamount:
  18849. description: 卖方已收金额
  18850. type: number
  18851. sellusername:
  18852. description: 卖方名字
  18853. type: string
  18854. shipremark:
  18855. description: 发货备注[物流单号]
  18856. type: string
  18857. starttime:
  18858. description: 开始时间
  18859. type: string
  18860. steptypeid:
  18861. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18862. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18863. type: integer
  18864. typename:
  18865. description: 履约类型 名称
  18866. type: string
  18867. unpaidamount:
  18868. description: 期初均价
  18869. type: number
  18870. userid:
  18871. description: 用户id
  18872. type: integer
  18873. warehouseid:
  18874. description: 仓库ID
  18875. type: integer
  18876. warehousename:
  18877. description: 仓库名称
  18878. type: string
  18879. wrfactortypeid:
  18880. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18881. type: string
  18882. wrfactortypename:
  18883. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18884. type: string
  18885. wrstandardcode:
  18886. description: 现货商品代码
  18887. type: string
  18888. wrstandardid:
  18889. description: 现货商品ID
  18890. type: integer
  18891. wrstandardname:
  18892. description: 商品名称
  18893. type: string
  18894. wrtransferuserid:
  18895. description: 仓单受让用户
  18896. type: integer
  18897. wrtypename:
  18898. description: 商品
  18899. type: string
  18900. required:
  18901. - userid
  18902. type: object
  18903. models.WrPerformancePlanStep:
  18904. properties:
  18905. delaydays:
  18906. description: 延期申请天数
  18907. type: integer
  18908. deliverygoodscode:
  18909. description: 品种代码
  18910. type: string
  18911. deliverygoodsid:
  18912. description: 品种ID
  18913. type: integer
  18914. deliverygoodsname:
  18915. description: 品种名称
  18916. type: string
  18917. endtime:
  18918. description: 结束日期
  18919. type: string
  18920. enumdicname:
  18921. description: 单位名称
  18922. type: string
  18923. executeside:
  18924. description: 步骤执行方 - 1:买方 2:卖方
  18925. type: integer
  18926. handlestatus:
  18927. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18928. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18929. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18930. type: integer
  18931. isauto:
  18932. description: 是否自动 - 0:不自动 1:自动
  18933. type: integer
  18934. islastreceivestep:
  18935. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18936. type: integer
  18937. minivalue:
  18938. description: 现货商品最小变动值
  18939. type: integer
  18940. optioncompare:
  18941. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18942. type: string
  18943. overdays:
  18944. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18945. type: integer
  18946. performancestepid:
  18947. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18948. type: string
  18949. planid:
  18950. description: 所属履约计划ID
  18951. type: string
  18952. realamount:
  18953. description: 实际完成金额
  18954. type: number
  18955. relatedorderid:
  18956. description: 关联单号
  18957. type: string
  18958. remaindays:
  18959. description: 剩余天数
  18960. type: integer
  18961. remark:
  18962. description: 错误备注
  18963. type: string
  18964. starttime:
  18965. description: 开始日期
  18966. type: string
  18967. stepamount:
  18968. description: 步骤金额
  18969. type: number
  18970. stepdays:
  18971. description: 距离上一步天数(分钟)
  18972. type: integer
  18973. stepindex:
  18974. description: 步骤序号
  18975. type: integer
  18976. steplanchtype:
  18977. description: 步骤启动类型 - 1:系统自动 2:手动
  18978. type: integer
  18979. stepremark:
  18980. description: 步骤备注
  18981. type: string
  18982. stepstatus:
  18983. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  18984. type: integer
  18985. steptypeid:
  18986. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18987. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18988. type: integer
  18989. steptypename:
  18990. description: 步骤名称
  18991. type: string
  18992. stepvalue:
  18993. description: 步骤值
  18994. type: number
  18995. warehouseid:
  18996. description: 仓库ID
  18997. type: integer
  18998. warehousename:
  18999. description: 仓库名称
  19000. type: string
  19001. wrfactortypeid:
  19002. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19003. type: string
  19004. wrfactortypename:
  19005. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19006. type: string
  19007. wrstandardcode:
  19008. description: 现货商品代码
  19009. type: string
  19010. wrstandardid:
  19011. description: 现货商品ID
  19012. type: integer
  19013. wrstandardname:
  19014. description: 商品名称
  19015. type: string
  19016. wrtypename:
  19017. description: 商品
  19018. type: string
  19019. type: object
  19020. models.WrPerformanceStepType:
  19021. properties:
  19022. canauto:
  19023. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  19024. type: integer
  19025. steptypeid:
  19026. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  19027. type: integer
  19028. steptypename:
  19029. description: 步骤类型名称
  19030. type: string
  19031. type: object
  19032. models.WrPerformanceTemplateEx:
  19033. properties:
  19034. autoid:
  19035. description: AutoID 模板id
  19036. type: integer
  19037. createtime:
  19038. description: 创建时间
  19039. type: string
  19040. creatorid:
  19041. description: 创建人
  19042. type: integer
  19043. lstStep:
  19044. description: 步骤信息列表
  19045. items:
  19046. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19047. type: array
  19048. paymenttype:
  19049. description: 支付方式 - 1:冻结 2:扣款
  19050. type: integer
  19051. takemode:
  19052. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  19053. type: integer
  19054. templatename:
  19055. description: 模板名称
  19056. type: string
  19057. templatetype:
  19058. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  19059. (无仓单) 5:挂牌期权 6:竞拍-降价式
  19060. type: integer
  19061. userid:
  19062. description: 所属用户
  19063. type: integer
  19064. type: object
  19065. models.WrPosition:
  19066. properties:
  19067. accountid:
  19068. description: 帐户ID
  19069. type: integer
  19070. buyexcuteqty:
  19071. description: 采购履约中数量
  19072. type: number
  19073. creditcurqty:
  19074. description: 授信当前数量(预售仓单:预售当前量)
  19075. type: number
  19076. creditenableqty:
  19077. description: '授信可用数量(预售仓单: 可用数量)'
  19078. type: number
  19079. creditfreezeqty:
  19080. description: '授信冻结数量(预售仓单: 当前数量)'
  19081. type: number
  19082. credittotalqty:
  19083. description: 授信总数量(预售仓单:预售总量)
  19084. type: number
  19085. credittradeqty:
  19086. description: 授信成交数量(预售仓单:成交总量)
  19087. type: number
  19088. deliverygoodscode:
  19089. description: 品种代码
  19090. type: string
  19091. deliverygoodsid:
  19092. description: 品种ID
  19093. type: integer
  19094. deliverygoodsname:
  19095. description: 品种名称
  19096. type: string
  19097. enalbeqty:
  19098. description: 可用数量
  19099. type: number
  19100. enumdicname:
  19101. description: 单位名称
  19102. type: string
  19103. freezeqty:
  19104. description: 总冻结数量
  19105. type: number
  19106. haswr:
  19107. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19108. type: integer
  19109. minivalue:
  19110. description: 现货商品最小变动值
  19111. type: integer
  19112. modifytime:
  19113. description: 修改时间(过户时间)
  19114. type: string
  19115. optioncompare:
  19116. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19117. type: string
  19118. pledgeqty:
  19119. description: 质押数量
  19120. type: number
  19121. querytype:
  19122. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  19123. type: integer
  19124. sellexcuteqty:
  19125. description: 销售履约中数量
  19126. type: number
  19127. totalqty:
  19128. description: 总数量(库存数量)
  19129. type: number
  19130. warehouseid:
  19131. description: 仓库ID
  19132. type: integer
  19133. warehousename:
  19134. description: 仓库名称
  19135. type: string
  19136. wrfactortypeid:
  19137. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19138. type: string
  19139. wrfactortypename:
  19140. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19141. type: string
  19142. wrpositionid:
  19143. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  19144. type: string
  19145. wrpositionno:
  19146. description: 仓单编号
  19147. type: string
  19148. wrstandardcode:
  19149. description: 现货商品代码
  19150. type: string
  19151. wrstandardid:
  19152. description: 现货商品ID
  19153. type: integer
  19154. wrstandardname:
  19155. description: 商品名称
  19156. type: string
  19157. wrtypename:
  19158. description: 商品
  19159. type: string
  19160. wruserid:
  19161. description: 持有人ID
  19162. type: integer
  19163. type: object
  19164. models.WrPreSaleInfo:
  19165. properties:
  19166. bannerpicurl:
  19167. description: Banner图
  19168. type: string
  19169. baseqty:
  19170. description: 中签基数
  19171. type: number
  19172. createtime:
  19173. description: 创建时间
  19174. type: string
  19175. deliverygoodsid:
  19176. description: 现货品种ID
  19177. type: integer
  19178. enddate:
  19179. description: 预售结束日期
  19180. type: string
  19181. enumdicname:
  19182. description: 单位名称
  19183. type: string
  19184. lotteryflag:
  19185. description: 摇号标识 - 0:未摇号 1:已摇号
  19186. type: integer
  19187. lotteryqty:
  19188. description: 摇号总量
  19189. type: number
  19190. luckyqty:
  19191. description: 已中签量
  19192. type: number
  19193. marketid:
  19194. description: 市场ID
  19195. type: integer
  19196. maxbuyqty:
  19197. description: 单人最大申购量
  19198. type: number
  19199. maxluckyqty:
  19200. description: 单人最大中签量
  19201. type: number
  19202. pictureurls:
  19203. description: 详情图片(逗号分隔)
  19204. type: string
  19205. placeqty:
  19206. description: 已配售量
  19207. type: number
  19208. presaleapplyid:
  19209. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19210. example: "0"
  19211. type: string
  19212. presaleqty:
  19213. description: 预售总量
  19214. type: number
  19215. presalestatus:
  19216. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  19217. type: integer
  19218. sellaccountid:
  19219. description: 发行方资金账户ID
  19220. type: integer
  19221. selluserid:
  19222. description: 发行方用户ID
  19223. type: integer
  19224. sellwrtradeorderid:
  19225. description: 发行方卖委托单ID
  19226. type: string
  19227. startdate:
  19228. description: 预售开始日期
  19229. type: string
  19230. takestartdate:
  19231. description: 提货开始日期
  19232. type: string
  19233. thumurls:
  19234. description: 缩略图片(1:1)(逗号分隔)
  19235. type: string
  19236. tradedate:
  19237. description: 交易日
  19238. type: string
  19239. unitid:
  19240. description: 单位ID
  19241. type: integer
  19242. unitprice:
  19243. description: 商品单价
  19244. type: number
  19245. username:
  19246. description: 发行方用户名称
  19247. type: string
  19248. warehousecode:
  19249. description: 仓库代码(仓库简称)
  19250. type: string
  19251. warehouseid:
  19252. description: 仓库ID
  19253. type: integer
  19254. warehousename:
  19255. description: 仓库名称
  19256. type: string
  19257. wrfactortypeid:
  19258. description: 仓单要素类型ID - 根据现货商品\仓库生成
  19259. example: "0"
  19260. type: string
  19261. wrstandardid:
  19262. description: 现货商品ID
  19263. type: integer
  19264. wrstandardname:
  19265. description: 现货商品名称
  19266. type: string
  19267. type: object
  19268. models.WrQuoteOrderMyq:
  19269. properties:
  19270. buyorsell:
  19271. description: 买卖 - 0:买 1:卖
  19272. type: integer
  19273. canbargain:
  19274. description: 是否可议价 - 0:不可 1:可
  19275. type: integer
  19276. canpart:
  19277. description: 是否允许部份摘牌 - 0:不允许 1:允许
  19278. type: integer
  19279. delistminqty:
  19280. description: 期初均价
  19281. type: number
  19282. deliverygoodscode:
  19283. description: 品种代码
  19284. type: string
  19285. deliverygoodsid:
  19286. description: 品种ID
  19287. type: integer
  19288. deliverygoodsname:
  19289. description: 品种名称
  19290. type: string
  19291. deliverymonth:
  19292. description: 交收月
  19293. type: string
  19294. enumdicname:
  19295. description: 单位名称
  19296. type: string
  19297. fixedprice:
  19298. description: 买(卖)价
  19299. type: number
  19300. goodscode:
  19301. description: 商品合约代码
  19302. type: string
  19303. marginflag:
  19304. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  19305. type: integer
  19306. marginvalue:
  19307. description: 保证金设置值
  19308. type: number
  19309. minivalue:
  19310. description: 现货商品最小变动值
  19311. type: integer
  19312. orderqty:
  19313. description: 买(卖)量(=委托量-成交量)
  19314. type: number
  19315. ordertime:
  19316. description: 委托时间
  19317. type: string
  19318. performancetemplateid:
  19319. description: 履约模板id
  19320. type: integer
  19321. pricemove:
  19322. description: 买(卖)升贴水- 基差
  19323. type: number
  19324. templatename:
  19325. description: 履约模板名称
  19326. type: string
  19327. userid:
  19328. description: 购买方(销售方)用户ID
  19329. type: integer
  19330. username:
  19331. description: 购买方(销售方)
  19332. type: string
  19333. validtime:
  19334. description: 有效期限
  19335. type: string
  19336. validtype:
  19337. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19338. type: integer
  19339. warehousename:
  19340. description: 仓库名称
  19341. type: string
  19342. wrfactortypeid:
  19343. description: 仓单要素id
  19344. type: string
  19345. wrstandardcode:
  19346. description: 现货商品代码
  19347. type: string
  19348. wrstandardid:
  19349. description: 现货商品ID
  19350. type: integer
  19351. wrstandardname:
  19352. description: 商品名称
  19353. type: string
  19354. wrtradeorderid:
  19355. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19356. type: string
  19357. wrtypename:
  19358. description: 商品
  19359. type: string
  19360. type: object
  19361. models.WrReckonSpotGoodsTradeSum:
  19362. properties:
  19363. begindate:
  19364. description: 开始日期(结果含开始日期) yyyymmdd
  19365. type: string
  19366. enddate:
  19367. description: 结束日期(结果含结束日期) yyyymmdd
  19368. type: string
  19369. istoday:
  19370. description: 是否当日
  19371. type: boolean
  19372. marketid:
  19373. description: 市场ID
  19374. type: integer
  19375. price:
  19376. description: 价格 = 日成交金额 / 日成交数量
  19377. type: string
  19378. reckondate:
  19379. description: 日期 格式 yyyymmdd
  19380. type: string
  19381. tradeamount:
  19382. description: 期初均价
  19383. type: number
  19384. tradeqty:
  19385. description: 期初均价
  19386. type: number
  19387. wrstandardid:
  19388. description: 现货商品ID
  19389. type: integer
  19390. type: object
  19391. models.WrScfContract:
  19392. properties:
  19393. borroweruserid:
  19394. description: 借款用户ID
  19395. type: integer
  19396. buybackwrpositionqty:
  19397. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  19398. type: number
  19399. closeinterest:
  19400. description: 已结利息 -> 已结费用
  19401. type: number
  19402. currisklevel:
  19403. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  19404. type: integer
  19405. deadline:
  19406. description: 截止日期(yyyyMMdd) -> 借款到期时间
  19407. type: string
  19408. deliverygoodscode:
  19409. description: 品种代码
  19410. type: string
  19411. deliverygoodsid:
  19412. description: 品种ID
  19413. type: integer
  19414. deliverygoodsname:
  19415. description: 品种名称
  19416. type: string
  19417. enumdicname:
  19418. description: 单位名称
  19419. type: string
  19420. financingdays:
  19421. description: 天数(天)
  19422. type: integer
  19423. initmargin:
  19424. description: 保证金 - [仓单回购]
  19425. type: number
  19426. interestamount:
  19427. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  19428. type: number
  19429. interestdebt:
  19430. description: 利息欠款(记录负数) -> 费用欠款
  19431. type: number
  19432. interestminlen:
  19433. description: 最小起息天数
  19434. type: integer
  19435. interestrate:
  19436. description: 利率
  19437. type: number
  19438. interestratemode:
  19439. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19440. type: integer
  19441. interestsettlemode:
  19442. description: 结息方式 - 1:按日结息 3:按月结息
  19443. type: integer
  19444. interestsettlevalue:
  19445. description: 结息方式值
  19446. type: integer
  19447. isautoloan:
  19448. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  19449. type: integer
  19450. lastcloseinterestday:
  19451. description: 最近结息日(yyyyMMdd)
  19452. type: string
  19453. lenderamount:
  19454. description: 贷款金额 -> 借款金额
  19455. type: number
  19456. lenderuserid:
  19457. description: 贷款方用户ID -> 融出方用户ID
  19458. type: integer
  19459. lenderusername:
  19460. description: 融出方
  19461. type: string
  19462. marginratio:
  19463. description: 保证金比率质押率 - [仓单质押]
  19464. type: number
  19465. marketid:
  19466. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  19467. type: integer
  19468. minivalue:
  19469. description: 现货商品最小变动值
  19470. type: integer
  19471. optioncompare:
  19472. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19473. type: string
  19474. pricemove:
  19475. description: 估值升贴水值
  19476. type: number
  19477. productdetailid:
  19478. description: 产品组合ID
  19479. type: integer
  19480. productid:
  19481. description: 金融产品ID
  19482. type: integer
  19483. productname:
  19484. description: 产品名称
  19485. type: string
  19486. remainamount:
  19487. description: 合同剩余金额 -> 剩余金额
  19488. type: number
  19489. remainwrpositionqty:
  19490. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  19491. type: number
  19492. remark:
  19493. description: 备注
  19494. type: string
  19495. scfcontractid:
  19496. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  19497. type: string
  19498. scfcontractstatus:
  19499. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  19500. 9:违约结束 10:已注销 11:已关闭 99:未提交
  19501. type: integer
  19502. scfcontracttype:
  19503. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  19504. type: integer
  19505. startinterestday:
  19506. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  19507. type: string
  19508. totalinterest:
  19509. description: 已计利息 -> 已计费用
  19510. type: number
  19511. unpaidinterest:
  19512. description: 期初均价
  19513. type: number
  19514. updatetime:
  19515. description: 更新时间
  19516. type: string
  19517. warehouseid:
  19518. description: 仓库ID
  19519. type: integer
  19520. warehousename:
  19521. description: 仓库名称
  19522. type: string
  19523. wrfactortypeid:
  19524. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19525. type: string
  19526. wrfactortypename:
  19527. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19528. type: string
  19529. wrqty:
  19530. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  19531. type: number
  19532. wrstandardcode:
  19533. description: 现货商品代码
  19534. type: string
  19535. wrstandardid:
  19536. description: 现货商品ID
  19537. type: integer
  19538. wrstandardname:
  19539. description: 商品名称
  19540. type: string
  19541. wrtypename:
  19542. description: 商品
  19543. type: string
  19544. type: object
  19545. models.WrScfContractInterest:
  19546. properties:
  19547. closeinterest:
  19548. description: 已结利息
  19549. type: number
  19550. closeintereststatus:
  19551. description: 结息状态 - 1:未结 2:已结
  19552. type: integer
  19553. closetime:
  19554. description: 结息时间
  19555. type: string
  19556. closetradedate:
  19557. description: 结息交易日
  19558. type: string
  19559. creatorid:
  19560. description: 操作人ID
  19561. type: integer
  19562. dayrate:
  19563. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  19564. type: number
  19565. interest:
  19566. description: 利息
  19567. type: number
  19568. interestamount:
  19569. description: 计息金额
  19570. type: number
  19571. interestday:
  19572. description: 计息日(yyyyMMdd)
  19573. type: string
  19574. scfcontractid:
  19575. description: SCF合同ID
  19576. type: string
  19577. scfcontractinterestid:
  19578. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19579. type: integer
  19580. updatetime:
  19581. description: 更新时间
  19582. type: string
  19583. type: object
  19584. models.WrSearchUser:
  19585. properties:
  19586. userid:
  19587. description: 用户ID
  19588. type: integer
  19589. username:
  19590. description: 用户名称(已脱敏)
  19591. type: string
  19592. username2:
  19593. description: 用户名称(未脱敏)
  19594. type: string
  19595. usertype:
  19596. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19597. type: integer
  19598. required:
  19599. - username
  19600. type: object
  19601. models.WrSiteColumnDetail:
  19602. properties:
  19603. brief:
  19604. description: 简介
  19605. type: string
  19606. context:
  19607. description: 内容
  19608. type: string
  19609. coverimage:
  19610. description: 封面图片
  19611. type: string
  19612. creaedate:
  19613. description: 创建时间
  19614. type: string
  19615. id:
  19616. description: ID(SEQ_SITE_COLUMNDETAIL)
  19617. type: integer
  19618. istop:
  19619. description: 是否置顶 - 0:不置 1:置顶
  19620. type: integer
  19621. publishdate:
  19622. description: 发布日期
  19623. type: string
  19624. title:
  19625. description: 标题
  19626. type: string
  19627. updatedate:
  19628. description: 修改时间
  19629. type: string
  19630. type: object
  19631. models.WrSpecialMatchOrder:
  19632. properties:
  19633. amount:
  19634. description: 金额 = 数量 * 价格
  19635. type: number
  19636. buyorsell:
  19637. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19638. type: integer
  19639. cancelqty:
  19640. description: 撤销数量
  19641. type: number
  19642. deliverygoodscode:
  19643. description: 品种代码
  19644. type: string
  19645. deliverygoodsid:
  19646. description: 品种ID
  19647. type: integer
  19648. deliverygoodsname:
  19649. description: 品种名称
  19650. type: string
  19651. enumdicname:
  19652. description: 单位名称
  19653. type: string
  19654. fixedprice:
  19655. description: 固定价格(价格)
  19656. type: number
  19657. haswr:
  19658. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19659. type: integer
  19660. isspecified:
  19661. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19662. type: integer
  19663. marketid:
  19664. description: 市场ID
  19665. type: integer
  19666. matchuserid:
  19667. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19668. type: integer
  19669. matchusername:
  19670. description: 指定方
  19671. type: string
  19672. minivalue:
  19673. description: 现货商品最小变动值
  19674. type: integer
  19675. optioncompare:
  19676. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19677. type: string
  19678. orderqty:
  19679. description: 委托数量
  19680. type: number
  19681. ordertime:
  19682. description: 委托时间
  19683. type: string
  19684. pricemove:
  19685. description: 升贴水(浮动价时填写) - [挂牌]
  19686. type: number
  19687. tradedate:
  19688. description: 交易日(yyyyMMdd)
  19689. type: string
  19690. tradeprice:
  19691. description: 成交价格
  19692. type: number
  19693. tradeqty:
  19694. description: 成交数量
  19695. type: number
  19696. userid:
  19697. description: 用户ID
  19698. type: integer
  19699. username:
  19700. description: 发起方
  19701. type: string
  19702. warehouseid:
  19703. description: 仓库ID
  19704. type: integer
  19705. warehousename:
  19706. description: 仓库名称
  19707. type: string
  19708. wrfactortypeid:
  19709. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19710. type: string
  19711. wrfactortypename:
  19712. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19713. type: string
  19714. wrpricetype:
  19715. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19716. type: integer
  19717. wrstandardcode:
  19718. description: 现货商品代码
  19719. type: string
  19720. wrstandardid:
  19721. description: 现货商品ID
  19722. type: integer
  19723. wrstandardname:
  19724. description: 商品名称
  19725. type: string
  19726. wrtradeorderid:
  19727. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19728. type: string
  19729. wrtradeorderstatus:
  19730. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19731. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19732. type: integer
  19733. wrtradetype:
  19734. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19735. type: integer
  19736. wrtypename:
  19737. description: 商品
  19738. type: string
  19739. type: object
  19740. models.WrSpotGroupTradeSum:
  19741. properties:
  19742. deliverygoodscode:
  19743. description: 现货品种代码
  19744. type: string
  19745. deliverygoodsid:
  19746. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19747. type: integer
  19748. deliverygoodsname:
  19749. description: 现货品种名称
  19750. type: string
  19751. lastavgprice:
  19752. description: 上上个交易日价格(前2天价格)
  19753. type: string
  19754. lastreckondate:
  19755. description: 上上个交易日(前2天交易日)
  19756. type: string
  19757. reckondate:
  19758. description: 上个交易日(前1天交易日)
  19759. type: string
  19760. todayavgprice:
  19761. description: 上个交易日价格(前1天价格)
  19762. type: string
  19763. updown:
  19764. description: 涨跌
  19765. type: string
  19766. updownratio:
  19767. description: 涨幅(已格式化, 直接显示即可)
  19768. type: string
  19769. type: object
  19770. models.WrSpotGroupTradeSumDetail:
  19771. properties:
  19772. deliverygoodsid:
  19773. description: 现货商品id
  19774. type: integer
  19775. price:
  19776. description: 价格
  19777. type: number
  19778. reckondate:
  19779. description: 日期(yyymmdd, 如:20211031)
  19780. type: string
  19781. type: object
  19782. models.WrSpotGroupTradeSumEx:
  19783. properties:
  19784. lst:
  19785. description: 指数列表
  19786. items:
  19787. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19788. type: array
  19789. prereckondate:
  19790. description: 上上个交易日(yyymmdd)
  19791. type: string
  19792. reckondate:
  19793. description: 上个交易日(yyyymmdd)
  19794. type: string
  19795. type: object
  19796. models.WrStandardFactoryItem:
  19797. properties:
  19798. dgfactoryitemid:
  19799. description: 选择项id
  19800. type: integer
  19801. dgfactoryitemvalue:
  19802. description: 要素项值
  19803. type: string
  19804. warehouseid:
  19805. description: 仓库id
  19806. type: integer
  19807. type: object
  19808. models.WrStandardFactoryItemEx:
  19809. properties:
  19810. dgfactoryitemtypeid:
  19811. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19812. type: integer
  19813. itemlst:
  19814. description: 要素项列表
  19815. items:
  19816. $ref: '#/definitions/models.WrStandardFactoryItem'
  19817. type: array
  19818. itemtypename:
  19819. description: 要素项类型名称
  19820. type: string
  19821. wrstandardid:
  19822. description: 品类
  19823. type: integer
  19824. type: object
  19825. models.WrTradeDetail:
  19826. properties:
  19827. accountid:
  19828. description: 资金账号
  19829. type: integer
  19830. bannerpicurl:
  19831. description: Banner图
  19832. type: string
  19833. begindate:
  19834. description: 开始交易日(yyyymmdd)
  19835. type: string
  19836. buyorsell:
  19837. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19838. type: integer
  19839. chargevalue:
  19840. description: 手续费
  19841. type: number
  19842. deliverygoodscode:
  19843. description: 品种代码
  19844. type: string
  19845. deliverygoodsid:
  19846. description: 品种ID
  19847. type: integer
  19848. deliverygoodsname:
  19849. description: 品种名称
  19850. type: string
  19851. deliverymonth:
  19852. description: 交收月
  19853. type: string
  19854. enddate:
  19855. description: 结束交易日(yyyymmdd)
  19856. type: string
  19857. enumdicname:
  19858. description: 单位名称
  19859. type: string
  19860. haswr:
  19861. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19862. type: integer
  19863. marketid:
  19864. description: 市场ID
  19865. type: integer
  19866. matchaccountid:
  19867. description: 对手账号
  19868. type: integer
  19869. matchusername:
  19870. description: 对手方
  19871. type: string
  19872. minivalue:
  19873. description: 现货商品最小变动值
  19874. type: integer
  19875. optioncompare:
  19876. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19877. type: string
  19878. thumurls:
  19879. description: 缩略图
  19880. type: string
  19881. tradedate:
  19882. description: 交易日(yyyyMMdd)
  19883. type: string
  19884. tradeprice:
  19885. description: 成交价格
  19886. type: number
  19887. tradeqty:
  19888. description: 成交数量
  19889. type: number
  19890. tradetime:
  19891. description: 成交时间
  19892. type: string
  19893. userid:
  19894. description: 用户ID
  19895. type: integer
  19896. warehouseid:
  19897. description: 仓库ID
  19898. type: integer
  19899. warehousename:
  19900. description: 仓库名称
  19901. type: string
  19902. wrfactortypeid:
  19903. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19904. type: string
  19905. wrfactortypename:
  19906. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19907. type: string
  19908. wrstandardcode:
  19909. description: 现货商品代码
  19910. type: string
  19911. wrstandardid:
  19912. description: 现货商品ID
  19913. type: integer
  19914. wrstandardname:
  19915. description: 商品名称
  19916. type: string
  19917. wrtradedetailid:
  19918. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19919. type: string
  19920. wrtradetype:
  19921. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19922. type: integer
  19923. wrtypename:
  19924. description: 商品
  19925. type: string
  19926. type: object
  19927. models.WrTradeOrderDetail:
  19928. properties:
  19929. buyorsell:
  19930. description: 买卖方向 0-买 1-卖
  19931. type: integer
  19932. goodsid:
  19933. description: 商品id
  19934. type: integer
  19935. orderid:
  19936. description: 委托单号
  19937. type: string
  19938. orderprice:
  19939. description: 期初均价
  19940. type: number
  19941. orderqty:
  19942. description: 委托数量
  19943. type: integer
  19944. userid:
  19945. description: 用户id
  19946. type: integer
  19947. username:
  19948. description: 用户名称(已脱敏)
  19949. type: string
  19950. type: object
  19951. models.WrTypeItem:
  19952. properties:
  19953. name:
  19954. description: 名称
  19955. type: string
  19956. value:
  19957. description: 值
  19958. type: string
  19959. type: object
  19960. models.WrUserFriend:
  19961. properties:
  19962. friendname:
  19963. description: 朋友名称(已脱敏)
  19964. type: string
  19965. frienduserid:
  19966. description: 朋友id
  19967. type: integer
  19968. isfriend:
  19969. description: 是否好友 0-不是 1-是
  19970. type: integer
  19971. userid:
  19972. description: 用户id
  19973. type: integer
  19974. type: object
  19975. models.WrUserReceiptInfo:
  19976. properties:
  19977. address:
  19978. description: 地址[发票类型:企业]
  19979. type: string
  19980. autoid:
  19981. description: AutoID
  19982. type: integer
  19983. contactinfo:
  19984. description: 联系方式
  19985. type: string
  19986. idnum:
  19987. description: 身份证号码[发票类型:个人]
  19988. type: string
  19989. isdefault:
  19990. description: 是否默认地址 - 0:否 1:是
  19991. type: integer
  19992. receiptaccount:
  19993. description: 发票帐号[发票类型:企业]
  19994. type: string
  19995. receiptbank:
  19996. description: 发票开户行[发票类型:企业]
  19997. type: string
  19998. receipttype:
  19999. description: 发票类型 - 1:个人 2:企业
  20000. type: integer
  20001. taxpayerid:
  20002. description: 纳税人识别号
  20003. type: string
  20004. userid:
  20005. description: 用户ID
  20006. type: integer
  20007. username:
  20008. description: 户名(个人姓名或企业名称)
  20009. type: string
  20010. type: object
  20011. models.Wrtradetradequote:
  20012. properties:
  20013. begindate:
  20014. description: 开始日期(结果含开始日期) yyyymmdd
  20015. type: string
  20016. buyaccountid:
  20017. description: 买方账号ID
  20018. type: integer
  20019. buyuserid:
  20020. description: 买方用户ID
  20021. type: integer
  20022. deliverygoodsid:
  20023. description: 现货品种ID
  20024. type: integer
  20025. enddate:
  20026. description: 结束日期(结果含结束日期) yyyymmdd
  20027. type: string
  20028. marketid:
  20029. description: 市场ID
  20030. type: integer
  20031. sellaccountid:
  20032. description: 卖方账号ID
  20033. type: integer
  20034. selluserid:
  20035. description: 卖方用户ID
  20036. type: integer
  20037. tradeamount:
  20038. description: 成交金额
  20039. type: number
  20040. tradedate:
  20041. description: 交易日(yyyyMMdd)
  20042. type: string
  20043. tradeprice:
  20044. description: 成交价格
  20045. type: number
  20046. tradeqty:
  20047. description: 成交数量
  20048. type: integer
  20049. tradetime:
  20050. description: 成交时间
  20051. type: string
  20052. wrfactortypeid:
  20053. description: 仓单要素类型ID
  20054. type: integer
  20055. wrstandardid:
  20056. description: 现货商品ID
  20057. type: integer
  20058. wrtradedetailid:
  20059. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20060. type: string
  20061. type: object
  20062. models.XHBRAND:
  20063. properties:
  20064. brandid:
  20065. description: 品牌id
  20066. type: integer
  20067. brandname:
  20068. description: 品牌名称
  20069. type: string
  20070. isvalid:
  20071. description: 是否有效 0-无效 1-有效
  20072. type: integer
  20073. type: object
  20074. models.XHDeliveryGoods:
  20075. properties:
  20076. areauserid:
  20077. description: 所属机构
  20078. type: integer
  20079. bdlst:
  20080. description: 品牌列表
  20081. items:
  20082. $ref: '#/definitions/models.XHBRAND'
  20083. type: array
  20084. deliverygoodscode:
  20085. description: 现货品种代码
  20086. type: string
  20087. deliverygoodsid:
  20088. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20089. type: integer
  20090. deliverygoodsname:
  20091. description: 现货品种名称
  20092. type: string
  20093. dgstatus:
  20094. description: 品种状态 - 作废 - 0:未激活 1:正常
  20095. type: integer
  20096. filterSubEmpty:
  20097. description: 过滤下级为空的
  20098. type: integer
  20099. isvalid:
  20100. description: 是否有效 - 0:无效 1:有效
  20101. type: integer
  20102. remark:
  20103. description: 备注
  20104. type: string
  20105. unitid:
  20106. description: 单位id(目前看,数据库中是空值)
  20107. type: integer
  20108. wdlst:
  20109. description: 品类(现货商品)列表
  20110. items:
  20111. $ref: '#/definitions/models.XHWrstandard'
  20112. type: array
  20113. type: object
  20114. models.XHMiddleGoods:
  20115. properties:
  20116. GPLST:
  20117. description: 期货品种列表
  20118. items:
  20119. $ref: '#/definitions/models.TBGoodsGroup'
  20120. type: array
  20121. convertratio:
  20122. description: 拆算系数
  20123. type: number
  20124. costratio:
  20125. description: 成本权重
  20126. type: number
  20127. deliverygoodsid:
  20128. description: 现货商品id
  20129. type: integer
  20130. enumdicname:
  20131. description: 单位名称
  20132. type: string
  20133. middlegoodscode:
  20134. description: 套保品种代码
  20135. type: string
  20136. middlegoodsid:
  20137. description: 套保品种id
  20138. type: integer
  20139. middlegoodsname:
  20140. description: 套保品种名称
  20141. type: string
  20142. unitid:
  20143. description: 单位id
  20144. type: integer
  20145. type: object
  20146. models.XHWrstandard:
  20147. properties:
  20148. bannerpicurl:
  20149. description: banner图
  20150. type: string
  20151. deliverygoodsid:
  20152. description: 品种ID
  20153. type: integer
  20154. enumdicname:
  20155. description: 单位名称
  20156. type: string
  20157. mglst:
  20158. description: 套保品列表
  20159. items:
  20160. $ref: '#/definitions/models.XHMiddleGoods'
  20161. type: array
  20162. pictureurls:
  20163. description: 详情图片(逗号分隔)
  20164. type: string
  20165. thumurls:
  20166. description: 缩略图片(1:1)(逗号分隔)
  20167. type: string
  20168. unitid:
  20169. description: 单位id
  20170. type: integer
  20171. vatrate:
  20172. description: 增值税率
  20173. type: number
  20174. wrstandardcode:
  20175. description: 现货商品代码
  20176. type: string
  20177. wrstandardid:
  20178. description: 现货商品ID(SEQ_WRSTANDARD)
  20179. type: integer
  20180. wrstandardname:
  20181. description: 现货商品名称
  20182. type: string
  20183. type: object
  20184. models.XhcpSellBackApplyEx:
  20185. properties:
  20186. applyremark:
  20187. description: 申请备注
  20188. type: string
  20189. expirytype:
  20190. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20191. type: integer
  20192. goodsspec:
  20193. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20194. type: integer
  20195. holeflag:
  20196. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20197. type: integer
  20198. isunopened:
  20199. description: 是否原封 - 1:否 2:是
  20200. type: integer
  20201. mpflag:
  20202. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20203. type: integer
  20204. openflag:
  20205. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20206. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20207. type: integer
  20208. phonenum:
  20209. description: 联系电话
  20210. type: string
  20211. userid:
  20212. description: 所属用户ID
  20213. type: integer
  20214. zpflag:
  20215. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20216. type: integer
  20217. required:
  20218. - userid
  20219. type: object
  20220. models.Xhcpsellbackapply:
  20221. properties:
  20222. applyid:
  20223. description: 申请人
  20224. type: integer
  20225. applyremark:
  20226. description: 申请备注
  20227. type: string
  20228. applysrc:
  20229. description: 申请来源 - 1:管理端 2:终端
  20230. type: integer
  20231. applystatus:
  20232. description: 申请状态 - 1:待确认 2:已处理
  20233. type: integer
  20234. applytime:
  20235. description: 申请时间
  20236. type: string
  20237. auditremark:
  20238. description: 审核备注
  20239. type: string
  20240. auditsrc:
  20241. description: 审核来源 - 1:管理端 2:终端
  20242. type: integer
  20243. expirytype:
  20244. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20245. type: integer
  20246. goodsspec:
  20247. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20248. type: integer
  20249. holeflag:
  20250. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20251. type: integer
  20252. isunopened:
  20253. description: 是否原封 - 1:否 2:是
  20254. type: integer
  20255. mpflag:
  20256. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20257. type: integer
  20258. openflag:
  20259. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20260. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20261. type: integer
  20262. phonenum:
  20263. description: 联系电话
  20264. type: string
  20265. sellbackapplyid:
  20266. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  20267. type: string
  20268. userid:
  20269. description: 所属用户ID
  20270. type: integer
  20271. zpflag:
  20272. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20273. type: integer
  20274. required:
  20275. - userid
  20276. type: object
  20277. order.QueryHisTradeDetailRsp:
  20278. properties:
  20279. accountid:
  20280. description: 账户ID[报价币种]
  20281. type: integer
  20282. advanceratio:
  20283. description: 首付比率
  20284. type: number
  20285. buildtype:
  20286. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20287. type: integer
  20288. buyorsell:
  20289. description: 方向 - 0:买 1:卖
  20290. type: integer
  20291. charge:
  20292. description: 手续费
  20293. type: number
  20294. closecharge:
  20295. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20296. type: number
  20297. closeexchagechargevalue:
  20298. description: 平仓交易所手续费设置值
  20299. type: number
  20300. closefeealgorithm:
  20301. description: 平仓手续费收取方式 1:比率 2:固定
  20302. type: integer
  20303. closememberchargevalue:
  20304. description: 平仓会员手续费设置值
  20305. type: number
  20306. closepl:
  20307. description: 平仓盈亏
  20308. type: number
  20309. closepl2:
  20310. description: 平仓盈亏[逐笔]
  20311. type: number
  20312. closeqty:
  20313. description: 平仓数量(先建后平操作 需要记录)
  20314. type: number
  20315. creditamount:
  20316. description: 授信金额
  20317. type: number
  20318. decimalplace:
  20319. description: 商品报价小数位
  20320. type: integer
  20321. enumdicname:
  20322. description: 单位名称
  20323. type: string
  20324. gcaccountid:
  20325. description: 账户ID[合约币种]
  20326. type: integer
  20327. goodscode:
  20328. description: 商品代码
  20329. type: string
  20330. goodsid:
  20331. description: 商品ID
  20332. type: integer
  20333. goodsname:
  20334. description: 商品名称
  20335. type: string
  20336. goodunitid:
  20337. description: 商品单位id
  20338. type: integer
  20339. histradedate:
  20340. description: 历史交易日
  20341. type: string
  20342. intclosepl:
  20343. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20344. type: integer
  20345. isconfirmexercise:
  20346. description: 是否确认行权- 0:否 1:是
  20347. type: integer
  20348. ismain:
  20349. description: 是否主单 - 0:不是 1:是
  20350. type: integer
  20351. ispreexercise:
  20352. description: 是否预申报- 0:否 1:是
  20353. type: integer
  20354. isreckoned:
  20355. description: 是否结算 - 0:未结算 1:已结算
  20356. type: integer
  20357. isvaliddata:
  20358. description: 是否有效 - 0:无效 1:有效
  20359. type: integer
  20360. listingselecttype:
  20361. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20362. type: integer
  20363. marketid:
  20364. description: 市场ID
  20365. type: integer
  20366. marketname:
  20367. description: 市场名称
  20368. type: string
  20369. matchaccountid:
  20370. description: 对手账号id
  20371. type: integer
  20372. memberuserid:
  20373. description: 会员id 个人投资者 需要填写
  20374. type: integer
  20375. opencharge:
  20376. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20377. type: number
  20378. openexchagechargevalue:
  20379. description: 建仓交易所手续费设置值
  20380. type: number
  20381. openfeealgorithm:
  20382. description: 建仓手续费收取方式 1:比率 2:固定
  20383. type: integer
  20384. openmemberchargevalue:
  20385. description: 建仓会员手续费设置值
  20386. type: number
  20387. openqty:
  20388. description: 开仓数量(先建后平操作 需要记录)
  20389. type: number
  20390. optiontype:
  20391. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20392. type: integer
  20393. orderid:
  20394. description: 委托单号
  20395. type: string
  20396. payamount:
  20397. description: 支付金额(付款金额)
  20398. type: number
  20399. performanceplanid:
  20400. description: 履约计划ID[期权]
  20401. type: integer
  20402. performancestatus:
  20403. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20404. type: integer
  20405. preexerciseprice:
  20406. description: 预申报价格
  20407. type: number
  20408. premium:
  20409. description: 权利金 - [持仓单的权利金]
  20410. type: number
  20411. qtydecimalplace:
  20412. description: 商品报价小数位
  20413. type: integer
  20414. recvamount:
  20415. description: 到账金额 = 成交金额 - 手续费
  20416. type: number
  20417. relatedouttradeid:
  20418. description: 关联外部成交单ID
  20419. type: integer
  20420. status:
  20421. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20422. type: integer
  20423. totalamount:
  20424. description: 订单总额 = 成交金额 + 手续费
  20425. type: number
  20426. tradeamount:
  20427. description: 成交金额[账户币种,用于所有权]
  20428. type: number
  20429. tradedate:
  20430. description: 交易日(yyyyMMdd)
  20431. type: string
  20432. tradeid:
  20433. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20434. type: string
  20435. trademode:
  20436. description: 交易模式
  20437. type: integer
  20438. tradeprice:
  20439. description: 成交价格
  20440. type: number
  20441. tradeproperty:
  20442. description: 交易属性
  20443. type: integer
  20444. tradeqty:
  20445. description: 成交数量
  20446. type: number
  20447. tradetime:
  20448. description: 成交时间
  20449. type: string
  20450. tradetype:
  20451. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20452. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20453. type: integer
  20454. required:
  20455. - accountid
  20456. - buyorsell
  20457. - goodsid
  20458. - histradedate
  20459. - marketid
  20460. - memberuserid
  20461. - orderid
  20462. - tradeamount
  20463. - tradedate
  20464. - tradeid
  20465. - tradeprice
  20466. - tradeqty
  20467. - tradetime
  20468. type: object
  20469. order.QueryHisTradeOrderDetailRsp:
  20470. properties:
  20471. accountid:
  20472. description: 账户ID[报价币种]
  20473. type: integer
  20474. buildtype:
  20475. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20476. type: integer
  20477. buyorsell:
  20478. description: 买卖 - 0:买 1:卖
  20479. type: integer
  20480. cancelorderid:
  20481. description: 撤单单号(撤单时填写)
  20482. type: string
  20483. cancelqty:
  20484. description: 撤单数量
  20485. type: number
  20486. clientordertime:
  20487. description: 客户端委托时间
  20488. type: string
  20489. clientticket:
  20490. description: 客户端流水号
  20491. type: string
  20492. clienttype:
  20493. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20494. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20495. type: integer
  20496. closeexchagechargevalue:
  20497. description: 平仓交易所手续费设置值
  20498. type: number
  20499. closefeealgorithm:
  20500. description: 平仓手续费收取方式 1:比率 2:固定
  20501. type: integer
  20502. closefreezecharge:
  20503. description: 平仓冻结手续费(先建后平操作,需要记录)
  20504. type: number
  20505. closememberchargevalue:
  20506. description: 平仓会员手续费设置值
  20507. type: number
  20508. closeqty:
  20509. description: 平仓数量(先建后平操作 需要记录)
  20510. type: number
  20511. closetradeqty:
  20512. description: 平仓成交数量(先建后平操作,需要记录)
  20513. type: number
  20514. closeunfreezecharge:
  20515. description: 平仓解冻手续费(先建后平操作,需要记录)
  20516. type: number
  20517. decimalplace:
  20518. description: 商品报价小数位
  20519. type: integer
  20520. delistingtype:
  20521. description: 摘牌类型 - 1:价格最优 2:点选成交
  20522. type: integer
  20523. enumdicname:
  20524. description: 单位名称
  20525. type: string
  20526. freezecharge:
  20527. description: 冻结手续费
  20528. type: number
  20529. freezemargin:
  20530. description: 冻结保证金(冻结交易金额)
  20531. type: number
  20532. gcaccountid:
  20533. description: 账户ID[合约币种]
  20534. type: integer
  20535. goodscode:
  20536. description: 商品代码
  20537. type: string
  20538. goodsid:
  20539. description: 商品ID
  20540. type: integer
  20541. goodsname:
  20542. description: 商品名称
  20543. type: string
  20544. goodunitid:
  20545. description: 商品单位id
  20546. type: integer
  20547. histradedate:
  20548. description: 历史交易日
  20549. type: string
  20550. isconfirmexercise:
  20551. description: 是否确认行权- 0:否 1:是
  20552. type: integer
  20553. ispreexercise:
  20554. description: 是否预申报- 0:否 1:是
  20555. type: integer
  20556. isvaliddata:
  20557. description: 是否有效 - 0:无效 1:有效
  20558. type: integer
  20559. listingselecttype:
  20560. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20561. type: integer
  20562. marginalgorithm:
  20563. description: 保证金收取方式 1:比率 2:固定
  20564. type: integer
  20565. marginvalue:
  20566. description: 即市保证金设置值
  20567. type: number
  20568. marketid:
  20569. description: 市场ID
  20570. type: integer
  20571. marketmaxsub:
  20572. description: 市价最大偏移范围
  20573. type: number
  20574. marketname:
  20575. description: 市场名称
  20576. type: string
  20577. memberuserid:
  20578. description: 所属会员UserID
  20579. type: integer
  20580. openexchagechargevalue:
  20581. description: 建仓交易所手续费设置值
  20582. type: number
  20583. openfeealgorithm:
  20584. description: 建仓手续费收取方式 1:比率 2:固定
  20585. type: integer
  20586. openfreezecharge:
  20587. description: 开仓冻结手续费(先建后平操作,需要记录)
  20588. type: number
  20589. openmemberchargevalue:
  20590. description: 建仓会员手续费设置值
  20591. type: number
  20592. openqty:
  20593. description: 开仓数量(先建后平操作,需要记录)
  20594. type: number
  20595. opentradeqty:
  20596. description: 开仓成交数量(先建后平操作,需要记录)
  20597. type: number
  20598. openunfreezecharge:
  20599. description: 开仓解冻手续费(先建后平操作,需要记录)
  20600. type: number
  20601. operatetype:
  20602. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20603. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20604. 15:管理端协议转让
  20605. type: integer
  20606. operatorid:
  20607. description: 登录账号(LoginID)
  20608. type: integer
  20609. optiontype:
  20610. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20611. type: integer
  20612. orderid:
  20613. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20614. type: string
  20615. orderprice:
  20616. description: 委托价格
  20617. type: number
  20618. orderqty:
  20619. description: 委托数量
  20620. type: number
  20621. ordersrc:
  20622. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20623. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20624. type: integer
  20625. orderstatus:
  20626. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20627. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20628. 16:成交失败违约(荷兰式竞拍专用)
  20629. type: integer
  20630. ordertime:
  20631. description: 委托时间
  20632. type: string
  20633. preexerciseprice:
  20634. description: 预申报价格
  20635. type: number
  20636. premium:
  20637. description: 权利金
  20638. type: number
  20639. preorderid:
  20640. description: 关联预埋单号(止盈止损单时填写)
  20641. type: string
  20642. pricemode:
  20643. description: '取价方式 - 1:市价 2: 限价'
  20644. type: integer
  20645. qtydecimalplace:
  20646. description: 成交量小数位
  20647. type: integer
  20648. quoteid:
  20649. description: 报价单ID
  20650. type: integer
  20651. relatedid:
  20652. description: 关联单号(交割单)
  20653. type: string
  20654. retcode:
  20655. description: 错误代码
  20656. type: integer
  20657. sessionid:
  20658. description: 会话ID
  20659. type: integer
  20660. tradedate:
  20661. description: 交易日(yyyyMMdd)
  20662. type: string
  20663. trademode:
  20664. description: 交易模式
  20665. type: integer
  20666. tradeproperty:
  20667. description: 交易属性
  20668. type: integer
  20669. tradeqty:
  20670. description: 成交数量
  20671. type: number
  20672. unfreezecharge:
  20673. description: 解冻手续费
  20674. type: number
  20675. unfreezemargin:
  20676. description: 解冻保证金
  20677. type: number
  20678. updatetime:
  20679. description: 更新时间
  20680. type: string
  20681. uuid:
  20682. description: 发起端唯一id
  20683. type: string
  20684. validtime:
  20685. description: 有效期限
  20686. type: string
  20687. validtype:
  20688. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20689. type: integer
  20690. volumetype:
  20691. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20692. type: integer
  20693. required:
  20694. - accountid
  20695. - buildtype
  20696. - buyorsell
  20697. - goodsid
  20698. - histradedate
  20699. - marketid
  20700. - memberuserid
  20701. - operatetype
  20702. - orderid
  20703. - orderqty
  20704. - ordertime
  20705. - pricemode
  20706. - tradedate
  20707. - validtype
  20708. type: object
  20709. order.QueryTradeDetailRsp:
  20710. properties:
  20711. accountid:
  20712. description: 账户ID[报价币种]
  20713. type: integer
  20714. advanceratio:
  20715. description: 首付比率
  20716. type: number
  20717. buildtype:
  20718. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20719. type: integer
  20720. buyorsell:
  20721. description: 方向 - 0:买 1:卖
  20722. type: integer
  20723. charge:
  20724. description: 手续费
  20725. type: number
  20726. closecharge:
  20727. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20728. type: number
  20729. closeexchagechargevalue:
  20730. description: 平仓交易所手续费设置值
  20731. type: number
  20732. closefeealgorithm:
  20733. description: 平仓手续费收取方式 1:比率 2:固定
  20734. type: integer
  20735. closememberchargevalue:
  20736. description: 平仓会员手续费设置值
  20737. type: number
  20738. closepl:
  20739. description: 平仓盈亏
  20740. type: number
  20741. closepl2:
  20742. description: 平仓盈亏[逐笔]
  20743. type: number
  20744. closeqty:
  20745. description: 平仓数量(先建后平操作 需要记录)
  20746. type: number
  20747. creditamount:
  20748. description: 授信金额
  20749. type: number
  20750. decimalplace:
  20751. description: 商品报价小数位
  20752. type: integer
  20753. enumdicname:
  20754. description: 单位名称
  20755. type: string
  20756. gcaccountid:
  20757. description: 账户ID[合约币种]
  20758. type: integer
  20759. goodscode:
  20760. description: 商品代码
  20761. type: string
  20762. goodsid:
  20763. description: 商品ID
  20764. type: integer
  20765. goodsname:
  20766. description: 商品名称
  20767. type: string
  20768. goodunitid:
  20769. description: 商品单位id
  20770. type: integer
  20771. intclosepl:
  20772. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20773. type: integer
  20774. isconfirmexercise:
  20775. description: 是否确认行权- 0:否 1:是
  20776. type: integer
  20777. ismain:
  20778. description: 是否主单 - 0:不是 1:是
  20779. type: integer
  20780. ispreexercise:
  20781. description: 是否预申报- 0:否 1:是
  20782. type: integer
  20783. isreckoned:
  20784. description: 是否结算 - 0:未结算 1:已结算
  20785. type: integer
  20786. listingselecttype:
  20787. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20788. type: integer
  20789. marketid:
  20790. description: 市场ID
  20791. type: integer
  20792. marketname:
  20793. description: 市场名称
  20794. type: string
  20795. matchaccountid:
  20796. description: 对手账号id
  20797. type: integer
  20798. memberuserid:
  20799. description: 会员id 个人投资者 需要填写
  20800. type: integer
  20801. opencharge:
  20802. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20803. type: number
  20804. openexchagechargevalue:
  20805. description: 建仓交易所手续费设置值
  20806. type: number
  20807. openfeealgorithm:
  20808. description: 建仓手续费收取方式 1:比率 2:固定
  20809. type: integer
  20810. openmemberchargevalue:
  20811. description: 建仓会员手续费设置值
  20812. type: number
  20813. openqty:
  20814. description: 开仓数量(先建后平操作 需要记录)
  20815. type: number
  20816. optiontype:
  20817. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20818. type: integer
  20819. orderid:
  20820. description: 委托单号
  20821. type: string
  20822. payamount:
  20823. description: 支付金额(付款金额)
  20824. type: number
  20825. performanceplanid:
  20826. description: 履约计划ID[期权]
  20827. type: integer
  20828. performancestatus:
  20829. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20830. type: integer
  20831. preexerciseprice:
  20832. description: 预申报价格
  20833. type: number
  20834. premium:
  20835. description: 权利金 - [持仓单的权利金]
  20836. type: number
  20837. qtydecimalplace:
  20838. description: 商品报价小数位
  20839. type: integer
  20840. recvamount:
  20841. description: 到账金额 = 成交金额 - 手续费
  20842. type: number
  20843. relatedouttradeid:
  20844. description: 关联外部成交单ID
  20845. type: integer
  20846. status:
  20847. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20848. type: integer
  20849. totalamount:
  20850. description: 订单总额 = 成交金额 + 手续费
  20851. type: number
  20852. tradeamount:
  20853. description: 成交金额[账户币种,用于所有权]
  20854. type: number
  20855. tradedate:
  20856. description: 交易日(yyyyMMdd)
  20857. type: string
  20858. tradeid:
  20859. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20860. type: string
  20861. trademode:
  20862. description: 交易模式
  20863. type: integer
  20864. tradeprice:
  20865. description: 成交价格
  20866. type: number
  20867. tradeproperty:
  20868. description: 交易属性
  20869. type: integer
  20870. tradeqty:
  20871. description: 成交数量
  20872. type: number
  20873. tradetime:
  20874. description: 成交时间
  20875. type: string
  20876. tradetype:
  20877. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20878. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20879. type: integer
  20880. required:
  20881. - accountid
  20882. - buyorsell
  20883. - goodsid
  20884. - marketid
  20885. - memberuserid
  20886. - orderid
  20887. - tradeamount
  20888. - tradedate
  20889. - tradeid
  20890. - tradeprice
  20891. - tradeqty
  20892. - tradetime
  20893. type: object
  20894. order.QueryTradeOrderDetailRsp:
  20895. properties:
  20896. accountid:
  20897. description: 账户ID[报价币种]
  20898. type: integer
  20899. buildtype:
  20900. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20901. type: integer
  20902. buyorsell:
  20903. description: 买卖 - 0:买 1:卖
  20904. type: integer
  20905. cancelorderid:
  20906. description: 撤单单号(撤单时填写)
  20907. type: string
  20908. cancelqty:
  20909. description: 撤单数量
  20910. type: number
  20911. clienttype:
  20912. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20913. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20914. type: integer
  20915. closefreezecharge:
  20916. description: 平仓冻结手续费(先建后平操作,需要记录)
  20917. type: number
  20918. closeqty:
  20919. description: 平仓数量(先建后平操作 需要记录)
  20920. type: number
  20921. closetradeqty:
  20922. description: 平仓成交数量(先建后平操作,需要记录)
  20923. type: number
  20924. closeunfreezecharge:
  20925. description: 平仓解冻手续费(先建后平操作,需要记录)
  20926. type: number
  20927. decimalplace:
  20928. description: 商品报价小数位
  20929. type: integer
  20930. delistingtype:
  20931. description: 摘牌类型 - 1:价格最优 2:点选成交
  20932. type: integer
  20933. enableqty:
  20934. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20935. type: number
  20936. enumdicname:
  20937. description: 单位名称
  20938. type: string
  20939. freezecharge:
  20940. description: 冻结手续费
  20941. type: number
  20942. freezemargin:
  20943. description: 冻结保证金(冻结交易金额)
  20944. type: number
  20945. goodscode:
  20946. description: 商品代码
  20947. type: string
  20948. goodsid:
  20949. description: 商品ID
  20950. type: integer
  20951. goodsname:
  20952. description: 商品名称
  20953. type: string
  20954. goodunitid:
  20955. description: 商品单位id
  20956. type: integer
  20957. listingselecttype:
  20958. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20959. type: integer
  20960. marketid:
  20961. description: 市场ID
  20962. type: integer
  20963. marketname:
  20964. description: 市场名称
  20965. type: string
  20966. openfreezecharge:
  20967. description: 开仓冻结手续费(先建后平操作,需要记录)
  20968. type: number
  20969. openqty:
  20970. description: 开仓数量(先建后平操作,需要记录)
  20971. type: number
  20972. opentradeqty:
  20973. description: 开仓成交数量(先建后平操作,需要记录)
  20974. type: number
  20975. openunfreezecharge:
  20976. description: 开仓解冻手续费(先建后平操作,需要记录)
  20977. type: number
  20978. operatetype:
  20979. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20980. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20981. 15:管理端协议转让
  20982. type: integer
  20983. operatorid:
  20984. description: 登录账号(LoginID)
  20985. type: integer
  20986. orderid:
  20987. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20988. type: string
  20989. orderprice:
  20990. description: 委托价格
  20991. type: number
  20992. orderqty:
  20993. description: 委托数量
  20994. type: number
  20995. ordersrc:
  20996. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20997. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20998. type: integer
  20999. orderstatus:
  21000. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21001. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21002. 16:成交失败违约(荷兰式竞拍专用)
  21003. type: integer
  21004. ordertime:
  21005. description: 委托时间
  21006. type: string
  21007. preorderid:
  21008. description: 关联预埋单号(止盈止损单时填写)
  21009. type: string
  21010. pricemode:
  21011. description: '取价方式 - 1:市价 2: 限价'
  21012. type: integer
  21013. qtydecimalplace:
  21014. description: 商品报价小数位
  21015. type: integer
  21016. relatedid:
  21017. description: 关联单号(交割单)
  21018. type: string
  21019. tradedate:
  21020. description: 交易日(yyyyMMdd)
  21021. type: string
  21022. trademode:
  21023. description: 交易模式
  21024. type: integer
  21025. tradeqty:
  21026. description: 成交数量
  21027. type: number
  21028. unfreezecharge:
  21029. description: 解冻手续费
  21030. type: number
  21031. unfreezemargin:
  21032. description: 解冻保证金
  21033. type: number
  21034. validtime:
  21035. description: 有效期限
  21036. type: string
  21037. validtype:
  21038. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21039. type: integer
  21040. volumetype:
  21041. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21042. type: integer
  21043. required:
  21044. - accountid
  21045. - buildtype
  21046. - buyorsell
  21047. - goodsid
  21048. - marketid
  21049. - operatetype
  21050. - orderqty
  21051. - ordertime
  21052. - pricemode
  21053. - tradedate
  21054. - validtype
  21055. type: object
  21056. order.QueryTradePositionRsp:
  21057. properties:
  21058. accountid:
  21059. description: 资金账户
  21060. type: integer
  21061. agreeunit:
  21062. description: 合约单位
  21063. type: number
  21064. averageprice:
  21065. description: 持仓均价
  21066. type: number
  21067. buyorsell:
  21068. description: 方向 - 0:买 1:卖
  21069. type: integer
  21070. closetotalqty:
  21071. description: 平仓总数量
  21072. type: number
  21073. curholderamount:
  21074. description: 当前持仓总金额[商品币种]
  21075. type: number
  21076. curpositionqty:
  21077. description: 当前持仓总数量
  21078. type: number
  21079. currencyid:
  21080. description: 报价货币ID
  21081. type: integer
  21082. curtdposition:
  21083. description: 期末今日头寸
  21084. type: number
  21085. decimalplace:
  21086. description: 报价小数位
  21087. type: integer
  21088. enableqty:
  21089. description: 可用量
  21090. type: number
  21091. fretdposition:
  21092. description: 冻结今日头寸
  21093. type: number
  21094. frozenqty:
  21095. description: 持仓冻结数量
  21096. type: number
  21097. goodscode:
  21098. description: 商品代码
  21099. type: string
  21100. goodsid:
  21101. description: 商品Id
  21102. type: integer
  21103. goodsname:
  21104. description: 商品名称
  21105. type: string
  21106. goodunit:
  21107. description: 报价单位
  21108. type: string
  21109. goodunitid:
  21110. description: 报价单位ID
  21111. type: integer
  21112. holderamount:
  21113. description: 期初持仓总金额[商品币种]
  21114. type: number
  21115. lastprice:
  21116. description: 最新价
  21117. type: number
  21118. marketamount:
  21119. description: 市值
  21120. type: number
  21121. marketid:
  21122. description: 所属市场ID
  21123. type: integer
  21124. openreqqty:
  21125. description: 开仓申请数量(用于比较最大持仓数量)
  21126. type: number
  21127. opentotalqty:
  21128. description: 开仓总数量
  21129. type: number
  21130. otherfrozenqty:
  21131. description: 持仓其他冻结数量(交割冻结)
  21132. type: number
  21133. positionpl:
  21134. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  21135. * 合约单位
  21136. type: number
  21137. positionplrate:
  21138. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  21139. type: number
  21140. positionqty:
  21141. description: 期初持仓数量
  21142. type: number
  21143. qtydecimalplace:
  21144. description: 成交量小数位
  21145. type: integer
  21146. refgoodscode:
  21147. description: 参考商品代码
  21148. type: string
  21149. refgoodsid:
  21150. description: 参考商品ID
  21151. type: integer
  21152. tnqty:
  21153. description: T+N冻结总量
  21154. type: number
  21155. tnusedqty:
  21156. description: T+N使用量(可以使用T+N的冻结数量)
  21157. type: number
  21158. trademode:
  21159. description: 交易模式
  21160. type: integer
  21161. tradeproperty:
  21162. description: 交易属性
  21163. type: integer
  21164. usedmargin:
  21165. description: 占用保证金[商品币种]
  21166. type: number
  21167. required:
  21168. - goodsid
  21169. type: object
  21170. pb.GoodsMarginCfgStruct:
  21171. properties:
  21172. CustomerTypeID:
  21173. description: 投资者客户类型
  21174. type: integer
  21175. GoodsID:
  21176. description: 商品ID
  21177. type: integer
  21178. IsDefault:
  21179. description: 是否默认标志位
  21180. type: integer
  21181. LockMarginValue:
  21182. description: 锁仓保证金
  21183. type: number
  21184. MarginAlgorithm:
  21185. description: 保证金计算方式
  21186. type: integer
  21187. MarketMarginValue:
  21188. description: 即市保证金值
  21189. type: number
  21190. RealMarginAlgorithm:
  21191. description: 实付保证金计算方式
  21192. type: integer
  21193. RealMarginValue:
  21194. description: 实付比例
  21195. type: number
  21196. ReckonMarginValue:
  21197. description: 结算保证金值
  21198. type: number
  21199. type: object
  21200. quote.HistoryData:
  21201. properties:
  21202. c:
  21203. description: 收盘价
  21204. type: number
  21205. f:
  21206. description: 是否补充数据
  21207. type: boolean
  21208. h:
  21209. description: 最高价
  21210. type: number
  21211. hv:
  21212. description: 持仓量
  21213. type: integer
  21214. l:
  21215. description: 最低价
  21216. type: number
  21217. o:
  21218. description: 开盘价
  21219. type: number
  21220. s:
  21221. description: 结算价,日线周期(包括)以上才有
  21222. type: number
  21223. ts:
  21224. description: 时间
  21225. type: string
  21226. tt:
  21227. description: 总金额
  21228. type: number
  21229. tv:
  21230. description: 总量(成交量)
  21231. type: integer
  21232. type: object
  21233. quote.HistoryTikData:
  21234. properties:
  21235. AV:
  21236. description: 卖量
  21237. type: integer
  21238. Ask:
  21239. description: 卖价
  21240. type: number
  21241. BV:
  21242. description: 买量
  21243. type: integer
  21244. Bid:
  21245. description: 买价
  21246. type: number
  21247. HI:
  21248. description: 单笔持仓
  21249. type: integer
  21250. HV:
  21251. description: 持仓量
  21252. type: integer
  21253. PE:
  21254. description: 现价
  21255. type: number
  21256. TDR:
  21257. description: 交易方向,0:买 1:卖
  21258. type: integer
  21259. TK:
  21260. description: 交易类型
  21261. type: integer
  21262. TS:
  21263. description: 行情时间文本
  21264. type: string
  21265. TT:
  21266. description: 现金额
  21267. type: number
  21268. Vol:
  21269. description: 现量
  21270. type: integer
  21271. type: object
  21272. quote.QueryQuoteDayRsp:
  21273. properties:
  21274. ask:
  21275. description: 卖1
  21276. type: number
  21277. ask2:
  21278. description: 卖2
  21279. type: number
  21280. ask3:
  21281. description: 卖3
  21282. type: number
  21283. ask4:
  21284. description: 卖4
  21285. type: number
  21286. ask5:
  21287. description: 卖5
  21288. type: number
  21289. ask6:
  21290. description: 卖6
  21291. type: number
  21292. ask7:
  21293. description: 卖7
  21294. type: number
  21295. ask8:
  21296. description: 卖8
  21297. type: number
  21298. ask9:
  21299. description: 卖9
  21300. type: number
  21301. ask10:
  21302. description: 卖10
  21303. type: number
  21304. askorderid:
  21305. description: 卖单号1
  21306. type: integer
  21307. askorderid2:
  21308. description: 卖单号2
  21309. type: integer
  21310. askorderid3:
  21311. description: 卖单号3
  21312. type: integer
  21313. askorderid4:
  21314. description: 卖单号4
  21315. type: integer
  21316. askorderid5:
  21317. description: 卖单号5
  21318. type: integer
  21319. askordervolume:
  21320. description: 卖单量1
  21321. type: integer
  21322. askordervolume2:
  21323. description: 卖单量2
  21324. type: integer
  21325. askordervolume3:
  21326. description: 卖单量3
  21327. type: integer
  21328. askordervolume4:
  21329. description: 卖单量4
  21330. type: integer
  21331. askordervolume5:
  21332. description: 卖单量5
  21333. type: integer
  21334. askordervolume6:
  21335. description: 卖单量6
  21336. type: integer
  21337. askordervolume7:
  21338. description: 卖单量7
  21339. type: integer
  21340. askordervolume8:
  21341. description: 卖单量8
  21342. type: integer
  21343. askordervolume9:
  21344. description: 卖单量9
  21345. type: integer
  21346. askordervolume10:
  21347. description: 卖单量10
  21348. type: integer
  21349. askqueueinfo:
  21350. description: 大利市卖港股用
  21351. type: string
  21352. askvolume:
  21353. description: 卖量1
  21354. type: integer
  21355. askvolume2:
  21356. description: 卖量2
  21357. type: integer
  21358. askvolume3:
  21359. description: 卖量3
  21360. type: integer
  21361. askvolume4:
  21362. description: 卖量4
  21363. type: integer
  21364. askvolume5:
  21365. description: 卖量5
  21366. type: integer
  21367. askvolume6:
  21368. description: 卖量6
  21369. type: integer
  21370. askvolume7:
  21371. description: 卖量7
  21372. type: integer
  21373. askvolume8:
  21374. description: 卖量8
  21375. type: integer
  21376. askvolume9:
  21377. description: 卖量9
  21378. type: integer
  21379. askvolume10:
  21380. description: 卖量10
  21381. type: integer
  21382. averageprice:
  21383. description: 均价
  21384. type: number
  21385. bid:
  21386. description: 买1
  21387. type: number
  21388. bid2:
  21389. description: 买2
  21390. type: number
  21391. bid3:
  21392. description: 买3
  21393. type: number
  21394. bid4:
  21395. description: 买4
  21396. type: number
  21397. bid5:
  21398. description: 买5
  21399. type: number
  21400. bid6:
  21401. description: 买6
  21402. type: number
  21403. bid7:
  21404. description: 买7
  21405. type: number
  21406. bid8:
  21407. description: 买8
  21408. type: number
  21409. bid9:
  21410. description: 买9
  21411. type: number
  21412. bid10:
  21413. description: 买10
  21414. type: number
  21415. bidorderid:
  21416. description: 买单号1
  21417. type: integer
  21418. bidorderid2:
  21419. description: 买单号2
  21420. type: integer
  21421. bidorderid3:
  21422. description: 买单号3
  21423. type: integer
  21424. bidorderid4:
  21425. description: 买单号4
  21426. type: integer
  21427. bidorderid5:
  21428. description: 买单号5
  21429. type: integer
  21430. bidordervolume:
  21431. description: 买单量1
  21432. type: integer
  21433. bidordervolume2:
  21434. description: 买单量2
  21435. type: integer
  21436. bidordervolume3:
  21437. description: 买单量3
  21438. type: integer
  21439. bidordervolume4:
  21440. description: 买单量4
  21441. type: integer
  21442. bidordervolume5:
  21443. description: 买单量5
  21444. type: integer
  21445. bidordervolume6:
  21446. description: 买单量6
  21447. type: integer
  21448. bidordervolume7:
  21449. description: 买单量7
  21450. type: integer
  21451. bidordervolume8:
  21452. description: 买单量8
  21453. type: integer
  21454. bidordervolume9:
  21455. description: 买单量9
  21456. type: integer
  21457. bidordervolume10:
  21458. description: 买单量10
  21459. type: integer
  21460. bidqueueinfo:
  21461. description: 大利市买港股用
  21462. type: string
  21463. bidvolume:
  21464. description: 买量1
  21465. type: integer
  21466. bidvolume2:
  21467. description: 买量2
  21468. type: integer
  21469. bidvolume3:
  21470. description: 买量3
  21471. type: integer
  21472. bidvolume4:
  21473. description: 买量4
  21474. type: integer
  21475. bidvolume5:
  21476. description: 买量5
  21477. type: integer
  21478. bidvolume6:
  21479. description: 买量6
  21480. type: integer
  21481. bidvolume7:
  21482. description: 买量7
  21483. type: integer
  21484. bidvolume8:
  21485. description: 买量8
  21486. type: integer
  21487. bidvolume9:
  21488. description: 买量9
  21489. type: integer
  21490. bidvolume10:
  21491. description: 买量10
  21492. type: integer
  21493. calloptionpremiums:
  21494. description: 认购期权1
  21495. type: integer
  21496. calloptionpremiums2:
  21497. description: 认购期权2
  21498. type: integer
  21499. calloptionpremiums3:
  21500. description: 认购期权3
  21501. type: integer
  21502. calloptionpremiums4:
  21503. description: 认购期权4
  21504. type: integer
  21505. calloptionpremiums5:
  21506. description: 认购期权5
  21507. type: integer
  21508. cleartime:
  21509. description: 清盘时间
  21510. type: integer
  21511. exchangecode:
  21512. description: 交易所代码
  21513. type: integer
  21514. exchangedate:
  21515. description: 交易日
  21516. type: integer
  21517. goodscode:
  21518. description: 商品代码
  21519. type: string
  21520. grepmarketprice:
  21521. description: 暗盘价 港股专用
  21522. type: number
  21523. highest:
  21524. description: 最高价
  21525. type: number
  21526. holdincrement:
  21527. description: 单笔持仓
  21528. type: integer
  21529. holdvolume:
  21530. description: 持仓
  21531. type: integer
  21532. iep:
  21533. description: 平衡价 港股专用
  21534. type: number
  21535. iev:
  21536. description: 平衡量 港股专用
  21537. type: number
  21538. inventory:
  21539. description: 库存
  21540. type: integer
  21541. iscleared:
  21542. description: 是否清盘标志
  21543. type: integer
  21544. issettled:
  21545. description: 是否结算标志
  21546. type: integer
  21547. last:
  21548. description: 最新价
  21549. type: number
  21550. lastlot:
  21551. description: 最新成交手数
  21552. type: integer
  21553. lasttime:
  21554. description: 行情时间(只有现价变化行情时间才变化)
  21555. type: string
  21556. lastturnover:
  21557. description: 最新成交金额
  21558. type: number
  21559. lastvolume:
  21560. description: 最新成交量
  21561. type: integer
  21562. limitdown:
  21563. description: 跌停价
  21564. type: number
  21565. limitup:
  21566. description: 涨停价
  21567. type: number
  21568. lowest:
  21569. description: 最低价
  21570. type: number
  21571. nontotalholdervolume:
  21572. description: 非交易持仓量
  21573. type: integer
  21574. nontotallot:
  21575. description: 非交易总手数
  21576. type: integer
  21577. nontotalturnover:
  21578. description: 非交易总金额
  21579. type: integer
  21580. nontotalvolume:
  21581. description: 非交易总量
  21582. type: integer
  21583. opened:
  21584. description: 开盘价
  21585. type: number
  21586. opentime:
  21587. description: 开盘时间
  21588. type: string
  21589. orderid:
  21590. description: 序号
  21591. type: integer
  21592. preclose:
  21593. description: 昨收
  21594. type: number
  21595. preholdvolume:
  21596. description: 昨持仓
  21597. type: integer
  21598. presettle:
  21599. description: 昨结价
  21600. type: number
  21601. publictradetype:
  21602. description: 公共交易标志类型 港股专用
  21603. type: string
  21604. putoptionpremiums:
  21605. description: 认沽期权1
  21606. type: integer
  21607. putoptionpremiums2:
  21608. description: 认沽期权2
  21609. type: integer
  21610. putoptionpremiums3:
  21611. description: 认沽期权3
  21612. type: integer
  21613. putoptionpremiums4:
  21614. description: 认沽期权4
  21615. type: integer
  21616. putoptionpremiums5:
  21617. description: 认沽期权5
  21618. type: integer
  21619. settle:
  21620. description: 结算价
  21621. type: number
  21622. strikeprice:
  21623. description: 发行价
  21624. type: number
  21625. totalaskvolume:
  21626. description: 内盘
  21627. type: integer
  21628. totalbidvolume:
  21629. description: 外盘
  21630. type: integer
  21631. totallot:
  21632. description: 总手数
  21633. type: integer
  21634. totalturnover:
  21635. description: 总金额
  21636. type: number
  21637. totalvolume:
  21638. description: 总量
  21639. type: integer
  21640. utclasttime:
  21641. description: utc的行情时间
  21642. type: string
  21643. type: object
  21644. quote.QueryTSDataRsp:
  21645. properties:
  21646. Count:
  21647. description: 交易日应有数据个数
  21648. type: integer
  21649. decimalPlace:
  21650. description: 小数位
  21651. type: integer
  21652. endTime:
  21653. description: 结束时间
  21654. type: string
  21655. goodsCode:
  21656. description: 商品代码
  21657. type: string
  21658. historyDatas:
  21659. description: 历史数据
  21660. items:
  21661. $ref: '#/definitions/quote.HistoryData'
  21662. type: array
  21663. outGoodsCode:
  21664. description: 外部商品代码
  21665. type: string
  21666. preSettle:
  21667. description: 昨结价
  21668. type: number
  21669. runSteps:
  21670. description: 交易日开休市计划
  21671. items:
  21672. $ref: '#/definitions/quote.TSDataRunStep'
  21673. type: array
  21674. startTime:
  21675. description: 开始时间
  21676. type: string
  21677. tradeDate:
  21678. description: 交易日
  21679. type: string
  21680. type: object
  21681. quote.TSDataRunStep:
  21682. properties:
  21683. end:
  21684. description: 真实结束时间
  21685. type: string
  21686. endflag:
  21687. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21688. type: integer
  21689. endtime:
  21690. description: 结束时间(HH:mm)
  21691. type: string
  21692. endweekday:
  21693. description: 结束周几
  21694. type: integer
  21695. groupid:
  21696. description: 分组ID
  21697. type: integer
  21698. runstep:
  21699. description: 运行阶段 - 2:连续交易
  21700. type: integer
  21701. sectionid:
  21702. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21703. 结束时间=结算时间 结束周几=结算周几
  21704. type: integer
  21705. start:
  21706. description: 真实开始时间
  21707. type: string
  21708. startflag:
  21709. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21710. type: integer
  21711. starttime:
  21712. description: 起始时间(HH:mm)
  21713. type: string
  21714. startweekday:
  21715. description: 起始周几
  21716. type: integer
  21717. tradeweekday:
  21718. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21719. type: integer
  21720. type: object
  21721. szdz.QueryConvertLogRsp:
  21722. properties:
  21723. accountid:
  21724. description: 资金账户ID
  21725. type: integer
  21726. clientticket:
  21727. description: 客户端流水号
  21728. type: string
  21729. converttype:
  21730. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21731. type: integer
  21732. createtime:
  21733. description: 记账时间
  21734. type: string
  21735. daymaxvalue:
  21736. description: 配置当日最大转入限制
  21737. type: number
  21738. daymaxvalue2:
  21739. description: 配置当日最大转入限制(转入)
  21740. type: number
  21741. goodscode:
  21742. description: 商品代码
  21743. type: string
  21744. goodsname:
  21745. description: 商品名称
  21746. type: string
  21747. handlestatus:
  21748. description: 处理状态
  21749. type: integer
  21750. innergoodsid:
  21751. description: 内部商品ID
  21752. type: integer
  21753. inratio:
  21754. description: 配置转入比值
  21755. type: integer
  21756. invalue:
  21757. description: 目标值
  21758. type: number
  21759. logid:
  21760. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21761. type: integer
  21762. mobile:
  21763. description: 手机号码(加密存储)
  21764. type: string
  21765. outergoodscode:
  21766. description: 外部商品代码[JD\PD]
  21767. type: string
  21768. outratio:
  21769. description: 配置转出比值
  21770. type: integer
  21771. outvalue:
  21772. description: 源值
  21773. type: number
  21774. pddecimalplace:
  21775. description: PD小数位
  21776. type: integer
  21777. qty:
  21778. description: 数量
  21779. type: string
  21780. remark:
  21781. description: 备注
  21782. type: string
  21783. sessionid:
  21784. description: 会话ID
  21785. type: integer
  21786. timemaxvalue:
  21787. description: 配置单次最大转入限制
  21788. type: number
  21789. timemaxvalue2:
  21790. description: 配置单次最大转入限制(转入)
  21791. type: number
  21792. timeminvalue:
  21793. description: 配置单次最小数量限制
  21794. type: number
  21795. timeminvalue2:
  21796. description: 配置单次最小数量限制(转入)
  21797. type: number
  21798. tradedate:
  21799. description: 交易日(yyyyMMdd)
  21800. type: string
  21801. userid:
  21802. description: 用户ID
  21803. type: integer
  21804. required:
  21805. - logid
  21806. type: object
  21807. szdz.QueryGoodsPickupRsp:
  21808. properties:
  21809. accountid:
  21810. description: 账户ID
  21811. type: integer
  21812. address:
  21813. description: 提货人详细地址
  21814. type: string
  21815. auditer:
  21816. description: 审核人
  21817. type: integer
  21818. audittime:
  21819. description: 审核时间
  21820. type: string
  21821. cardnum:
  21822. description: 提货人证件号码
  21823. type: string
  21824. cardtypeid:
  21825. description: 提货人证件类型
  21826. type: integer
  21827. checkremark:
  21828. description: 审核备注
  21829. type: string
  21830. goodscode:
  21831. description: 商品代码
  21832. type: string
  21833. goodsid:
  21834. description: 商品ID
  21835. type: integer
  21836. goodsname:
  21837. description: 商品名称
  21838. type: string
  21839. handlestatus:
  21840. description: 处理状态
  21841. type: integer
  21842. marketid:
  21843. description: 市场ID
  21844. type: integer
  21845. phonenum:
  21846. description: 提货人联系方式
  21847. type: string
  21848. qty:
  21849. description: 提货数量
  21850. type: number
  21851. recivername:
  21852. description: 提货人姓名
  21853. type: string
  21854. reqtime:
  21855. description: 更新时间
  21856. type: string
  21857. takemode:
  21858. description: 提货方式 - 2:自提 3:配送
  21859. type: integer
  21860. takeorderid:
  21861. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21862. type: string
  21863. takeorderstatus:
  21864. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21865. type: integer
  21866. takeremark:
  21867. description: 提货备注
  21868. type: string
  21869. tradedate:
  21870. description: 交易日(yyyyMMdd)
  21871. type: string
  21872. userid:
  21873. description: 用户ID
  21874. type: integer
  21875. required:
  21876. - takeorderid
  21877. type: object
  21878. szdz.QueryRecieptOrderRsp:
  21879. properties:
  21880. accountName:
  21881. description: 所属账号名称(已脱敏)
  21882. type: string
  21883. accountid:
  21884. description: 资金账号
  21885. type: integer
  21886. buyorsell:
  21887. description: 方向 - 0:买 1:卖
  21888. type: integer
  21889. enableqty:
  21890. description: 可摘数量
  21891. type: integer
  21892. goodscode:
  21893. description: 商品代码
  21894. type: string
  21895. goodsid:
  21896. description: 商品ID
  21897. type: integer
  21898. goodsname:
  21899. description: 商品名称
  21900. type: string
  21901. orderid:
  21902. description: 委托单号
  21903. type: string
  21904. orderprice:
  21905. description: 委托价格
  21906. type: number
  21907. ordertime:
  21908. description: 委托时间
  21909. type: string
  21910. tradedate:
  21911. description: 交易日(yyyyMMdd)
  21912. type: string
  21913. required:
  21914. - ordertime
  21915. type: object
  21916. szdz.QuerySZDZTradePositionRsp:
  21917. properties:
  21918. accountid:
  21919. description: 账号Id
  21920. type: integer
  21921. agreeunit:
  21922. description: 合约单位
  21923. type: number
  21924. averageprice:
  21925. description: 持仓均价
  21926. type: number
  21927. buyorsell:
  21928. description: 方向 - 0:买 1:卖
  21929. type: integer
  21930. closetotalqty:
  21931. description: 平仓总数量
  21932. type: integer
  21933. curholderamount:
  21934. description: 当前持仓总金额
  21935. type: number
  21936. curpositionqty:
  21937. description: 当前持仓总数量
  21938. type: integer
  21939. currencyid:
  21940. description: 报价货币ID
  21941. type: integer
  21942. curtdposition:
  21943. description: 期末今日头寸
  21944. type: integer
  21945. decimalplace:
  21946. description: 报价小数位
  21947. type: integer
  21948. enableqty:
  21949. description: 可用量
  21950. type: integer
  21951. fretdposition:
  21952. description: 冻结今日头寸
  21953. type: integer
  21954. frozenqty:
  21955. description: 持仓冻结数量
  21956. type: integer
  21957. goodscode:
  21958. description: 商品代码(内部)
  21959. type: string
  21960. goodsid:
  21961. description: 商品Id
  21962. type: integer
  21963. goodsname:
  21964. description: 商品名称
  21965. type: string
  21966. goodunit:
  21967. description: 报价单位
  21968. type: string
  21969. goodunitid:
  21970. description: 报价单位ID
  21971. type: integer
  21972. holderamount:
  21973. description: 期初持仓总金额
  21974. type: number
  21975. marketid:
  21976. description: 市场ID
  21977. type: integer
  21978. openreqqty:
  21979. description: 开仓申请数量
  21980. type: integer
  21981. opentotalqty:
  21982. description: 开仓总数量
  21983. type: integer
  21984. otherfrozenqty:
  21985. description: 持仓其他冻结数量(交割冻结)
  21986. type: integer
  21987. positionqty:
  21988. description: 期初持仓数量
  21989. type: integer
  21990. szdz3freezqty:
  21991. description: 尚志大宗转换冻结总数量
  21992. type: integer
  21993. tnqty:
  21994. description: T+N冻结总量
  21995. type: integer
  21996. tnusedqty:
  21997. description: T+N使用量
  21998. type: integer
  21999. trademode:
  22000. description: 交易模式
  22001. type: integer
  22002. usedmargin:
  22003. description: 占用保证金
  22004. type: number
  22005. type: object
  22006. taaccount.QueryAmountLogRsp:
  22007. properties:
  22008. OPERATETYPENAME:
  22009. description: 资金操作类型名称
  22010. type: string
  22011. accountid:
  22012. description: 资金账户ID
  22013. type: integer
  22014. agoodscode:
  22015. description: 竞拍商品代码
  22016. type: string
  22017. agoodsname:
  22018. description: 竞拍商品名称
  22019. type: string
  22020. amount:
  22021. description: 资金金额
  22022. type: number
  22023. amountadjusttype:
  22024. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22025. type: integer
  22026. autoid:
  22027. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22028. type: integer
  22029. balance:
  22030. description: 期初余额
  22031. type: number
  22032. businesscode:
  22033. description: 业务编号
  22034. type: integer
  22035. createtime:
  22036. description: 发生时间
  22037. type: string
  22038. currencyid:
  22039. description: 币种ID
  22040. type: integer
  22041. currentbalance:
  22042. description: 期末余额(变动后金额)
  22043. type: number
  22044. dgoodscode:
  22045. description: 交割商品代码
  22046. type: string
  22047. dgoodsname:
  22048. description: 交割商品名称
  22049. type: string
  22050. goodscode:
  22051. description: 商品代码
  22052. type: string
  22053. goodsid:
  22054. description: 商品ID
  22055. type: integer
  22056. goodsname:
  22057. description: 商品名称
  22058. type: string
  22059. marketid:
  22060. description: 市场ID
  22061. type: integer
  22062. marketname:
  22063. description: 市场名称
  22064. type: string
  22065. moneyticket:
  22066. description: 资金流水号:银行端流水号
  22067. type: integer
  22068. operatetype:
  22069. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22070. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22071. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22072. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22073. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22074. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22075. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22076. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22077. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22078. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22079. type: integer
  22080. relationorderid:
  22081. description: 关联单号
  22082. type: string
  22083. remark:
  22084. description: 备注
  22085. type: string
  22086. trademode:
  22087. description: 交易模式
  22088. type: integer
  22089. required:
  22090. - accountid
  22091. - amount
  22092. - amountadjusttype
  22093. - autoid
  22094. - balance
  22095. - createtime
  22096. - currentbalance
  22097. - operatetype
  22098. type: object
  22099. taaccount.QueryHisAmountLogRsp:
  22100. properties:
  22101. OPERATETYPENAME:
  22102. description: 资金操作类型名称
  22103. type: string
  22104. accountid:
  22105. description: 资金账户ID
  22106. type: integer
  22107. agoodscode:
  22108. description: 竞拍商品代码
  22109. type: string
  22110. agoodsname:
  22111. description: 竞拍商品名称
  22112. type: string
  22113. amount:
  22114. description: 资金金额
  22115. type: number
  22116. amountadjusttype:
  22117. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22118. type: integer
  22119. autoid:
  22120. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22121. type: integer
  22122. balance:
  22123. description: 期初余额
  22124. type: number
  22125. businesscode:
  22126. description: 业务编号
  22127. type: integer
  22128. createtime:
  22129. description: 发生时间
  22130. type: string
  22131. currencyid:
  22132. description: 币种ID
  22133. type: integer
  22134. currentbalance:
  22135. description: 期末余额(变动后金额)
  22136. type: number
  22137. dgoodscode:
  22138. description: 交割商品代码
  22139. type: string
  22140. dgoodsname:
  22141. description: 交割商品名称
  22142. type: string
  22143. goodscode:
  22144. description: 商品代码
  22145. type: string
  22146. goodsid:
  22147. description: 商品ID
  22148. type: integer
  22149. goodsname:
  22150. description: 商品名称
  22151. type: string
  22152. histradedate:
  22153. description: 历史交易日
  22154. type: string
  22155. isvaliddata:
  22156. description: 是否有效 - 0:无效 1:有效
  22157. type: integer
  22158. marketid:
  22159. description: 市场ID
  22160. type: integer
  22161. marketname:
  22162. description: 市场名称
  22163. type: string
  22164. moneyticket:
  22165. description: 资金流水号:银行端流水号
  22166. type: integer
  22167. operatetype:
  22168. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22169. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22170. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22171. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22172. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22173. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22174. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22175. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22176. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22177. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22178. type: integer
  22179. relationorderid:
  22180. description: 关联单号
  22181. type: string
  22182. remark:
  22183. description: 备注
  22184. type: string
  22185. trademode:
  22186. description: 交易模式
  22187. type: integer
  22188. required:
  22189. - accountid
  22190. - amount
  22191. - amountadjusttype
  22192. - autoid
  22193. - balance
  22194. - createtime
  22195. - currentbalance
  22196. - histradedate
  22197. - operatetype
  22198. type: object
  22199. trade.QueryRecieptOrderRsp:
  22200. properties:
  22201. accountName:
  22202. description: 所属账号名称(已脱敏)
  22203. type: string
  22204. accountid:
  22205. description: 资金账号
  22206. type: integer
  22207. buyorsell:
  22208. description: 方向 - 0:买 1:卖
  22209. type: integer
  22210. enableqty:
  22211. description: 可摘数量
  22212. type: integer
  22213. goodscode:
  22214. description: 商品代码
  22215. type: string
  22216. goodsid:
  22217. description: 商品ID
  22218. type: integer
  22219. goodsname:
  22220. description: 商品名称
  22221. type: string
  22222. orderid:
  22223. description: 委托单号
  22224. type: string
  22225. orderprice:
  22226. description: 委托价格
  22227. type: number
  22228. ordertime:
  22229. description: 委托时间
  22230. type: string
  22231. tradedate:
  22232. description: 交易日(yyyyMMdd)
  22233. type: string
  22234. required:
  22235. - ordertime
  22236. type: object
  22237. user.LoginQueryRsp:
  22238. properties:
  22239. areaRoles:
  22240. description: 所属角色信息
  22241. items:
  22242. $ref: '#/definitions/models.Arearole'
  22243. type: array
  22244. externalExchanges:
  22245. description: 外部交易所
  22246. items:
  22247. $ref: '#/definitions/models.Externalexchange'
  22248. type: array
  22249. goodsgroups:
  22250. description: 商品组
  22251. items:
  22252. $ref: '#/definitions/models.Goodsgroup'
  22253. type: array
  22254. loginAccount:
  22255. $ref: '#/definitions/models.Loginaccount'
  22256. description: 登录账号
  22257. markets:
  22258. description: 市场
  22259. items:
  22260. $ref: '#/definitions/models.Market'
  22261. type: array
  22262. systemParams:
  22263. description: 系统参数
  22264. items:
  22265. $ref: '#/definitions/models.Systemparam'
  22266. type: array
  22267. userAccount:
  22268. $ref: '#/definitions/models.Useraccount'
  22269. description: 用户账号
  22270. userInfo:
  22271. $ref: '#/definitions/models.Userinfo'
  22272. description: 用户信息
  22273. username:
  22274. description: 用户姓名
  22275. type: string
  22276. type: object
  22277. info:
  22278. contact: {}
  22279. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  22280. termsOfService: http://www.muchinfo.cn
  22281. title: MTP2.0 查询服务 API
  22282. version: "1.0"
  22283. paths:
  22284. /CPTrade/QueryCPTradeMyBidInfos:
  22285. get:
  22286. parameters:
  22287. - description: 资金账户
  22288. in: query
  22289. name: accountid
  22290. required: true
  22291. type: integer
  22292. - description: 预售市场ID
  22293. in: query
  22294. name: marketid
  22295. type: integer
  22296. - description: 预售商品ID
  22297. in: query
  22298. name: goodsid
  22299. type: integer
  22300. produces:
  22301. - application/json
  22302. responses:
  22303. "200":
  22304. description: OK
  22305. schema:
  22306. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  22307. "500":
  22308. description: Internal Server Error
  22309. schema:
  22310. $ref: '#/definitions/app.Response'
  22311. security:
  22312. - ApiKeyAuth: []
  22313. summary: 查询产能预售我的出价信息
  22314. tags:
  22315. - 产能预售
  22316. /CPTrade/QueryCPTradeOrderDetail:
  22317. get:
  22318. parameters:
  22319. - description: 预售商品ID
  22320. in: query
  22321. name: goodsid
  22322. type: integer
  22323. - description: 预售市场ID
  22324. in: query
  22325. name: marketid
  22326. type: integer
  22327. - description: 预售商品ID列表 - 格式:1,2,3
  22328. in: query
  22329. name: goodsids
  22330. type: string
  22331. produces:
  22332. - application/json
  22333. responses:
  22334. "200":
  22335. description: OK
  22336. schema:
  22337. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  22338. "500":
  22339. description: Internal Server Error
  22340. schema:
  22341. $ref: '#/definitions/app.Response'
  22342. security:
  22343. - ApiKeyAuth: []
  22344. summary: 查询产能预售委托单信息
  22345. tags:
  22346. - 产能预售
  22347. /CPTrade/QueryMyCPTradeGoods:
  22348. get:
  22349. parameters:
  22350. - description: 资金账户
  22351. in: query
  22352. name: accountid
  22353. required: true
  22354. type: integer
  22355. produces:
  22356. - application/json
  22357. responses:
  22358. "200":
  22359. description: OK
  22360. schema:
  22361. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  22362. "500":
  22363. description: Internal Server Error
  22364. schema:
  22365. $ref: '#/definitions/app.Response'
  22366. security:
  22367. - ApiKeyAuth: []
  22368. summary: 查询我的预售信息
  22369. tags:
  22370. - 产能预售
  22371. /CPTrade/QueryPositionCancel:
  22372. get:
  22373. parameters:
  22374. - description: 账户ID
  22375. in: query
  22376. name: userid
  22377. required: true
  22378. type: integer
  22379. - description: 注销ID
  22380. in: query
  22381. name: cancelid
  22382. type: integer
  22383. - description: 资金账户ID
  22384. in: query
  22385. name: accountid
  22386. type: integer
  22387. produces:
  22388. - application/json
  22389. responses:
  22390. "200":
  22391. description: OK
  22392. schema:
  22393. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  22394. "500":
  22395. description: Internal Server Error
  22396. schema:
  22397. $ref: '#/definitions/app.Response'
  22398. security:
  22399. - ApiKeyAuth: []
  22400. summary: 查询远期订单注销申请信息
  22401. tags:
  22402. - 产能预售
  22403. /CPTrade/QueryPreasleApply:
  22404. get:
  22405. parameters:
  22406. - description: 账户ID
  22407. in: query
  22408. name: userid
  22409. required: true
  22410. type: integer
  22411. - description: 申请ID
  22412. in: query
  22413. name: applyid
  22414. type: integer
  22415. - description: 资金账户ID
  22416. in: query
  22417. name: accountid
  22418. type: integer
  22419. produces:
  22420. - application/json
  22421. responses:
  22422. "200":
  22423. description: OK
  22424. schema:
  22425. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  22426. "500":
  22427. description: Internal Server Error
  22428. schema:
  22429. $ref: '#/definitions/app.Response'
  22430. security:
  22431. - ApiKeyAuth: []
  22432. summary: 查询产能预售申请信息
  22433. tags:
  22434. - 产能预售
  22435. /CPTrade/QueryPresaleGoodsEx:
  22436. get:
  22437. parameters:
  22438. - description: 预售商品ID
  22439. in: query
  22440. name: goodsid
  22441. type: integer
  22442. - description: 预售市场ID
  22443. in: query
  22444. name: marketid
  22445. type: integer
  22446. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  22447. in: query
  22448. name: presalemode
  22449. type: integer
  22450. - description: 预售商品ID列表 - 格式:1,2,3
  22451. in: query
  22452. name: goodsids
  22453. type: string
  22454. - description: 预售商品代码
  22455. in: query
  22456. name: goodscode
  22457. type: string
  22458. produces:
  22459. - application/json
  22460. responses:
  22461. "200":
  22462. description: OK
  22463. schema:
  22464. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  22465. "500":
  22466. description: Internal Server Error
  22467. schema:
  22468. $ref: '#/definitions/app.Response'
  22469. security:
  22470. - ApiKeyAuth: []
  22471. summary: 查询产能预售商品扩展信息
  22472. tags:
  22473. - 产能预售
  22474. /CPTrade/QueryUserGoodsData:
  22475. get:
  22476. parameters:
  22477. - description: 资金账户ID
  22478. in: query
  22479. name: accountid
  22480. required: true
  22481. type: integer
  22482. produces:
  22483. - application/json
  22484. responses:
  22485. "200":
  22486. description: OK
  22487. schema:
  22488. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  22489. "500":
  22490. description: Internal Server Error
  22491. schema:
  22492. $ref: '#/definitions/app.Response'
  22493. security:
  22494. - ApiKeyAuth: []
  22495. summary: 查询远期订单信息
  22496. tags:
  22497. - 产能预售
  22498. /Common/DeleteNewFuncmenu:
  22499. delete:
  22500. consumes:
  22501. - application/json
  22502. parameters:
  22503. - description: 菜单表数据,只需要resourcecode字段即可
  22504. in: body
  22505. name: data
  22506. required: true
  22507. schema:
  22508. $ref: '#/definitions/models.NewFuncmenulist'
  22509. produces:
  22510. - application/json
  22511. responses:
  22512. "200":
  22513. description: OK
  22514. schema:
  22515. $ref: '#/definitions/app.Response'
  22516. "500":
  22517. description: Internal Server Error
  22518. schema:
  22519. $ref: '#/definitions/app.Response'
  22520. security:
  22521. - ApiKeyAuth: []
  22522. summary: 删除菜单表数据
  22523. tags:
  22524. - 通用服务
  22525. /Common/FindNewFuncmenu:
  22526. get:
  22527. parameters:
  22528. - description: 资源代码
  22529. in: query
  22530. name: resourcecode
  22531. type: string
  22532. - description: 上级资源代码
  22533. in: query
  22534. name: parentcode
  22535. type: string
  22536. - description: 资源名(Title), 模糊查询
  22537. in: query
  22538. name: resourcename
  22539. type: string
  22540. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22541. in: query
  22542. name: menutype
  22543. type: string
  22544. produces:
  22545. - application/json
  22546. responses:
  22547. "200":
  22548. description: OK
  22549. schema:
  22550. items:
  22551. $ref: '#/definitions/models.NewFuncmenulist'
  22552. type: array
  22553. "500":
  22554. description: Internal Server Error
  22555. schema:
  22556. $ref: '#/definitions/app.Response'
  22557. security:
  22558. - ApiKeyAuth: []
  22559. summary: 获取菜单表数据
  22560. tags:
  22561. - 通用服务
  22562. /Common/GetAllEnums:
  22563. get:
  22564. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  22565. parameters:
  22566. - description: 起始自增ID
  22567. in: query
  22568. name: autoid
  22569. type: integer
  22570. produces:
  22571. - application/json
  22572. responses:
  22573. "200":
  22574. description: OK
  22575. schema:
  22576. $ref: '#/definitions/models.Enumdicitem'
  22577. "500":
  22578. description: Internal Server Error
  22579. schema:
  22580. $ref: '#/definitions/app.Response'
  22581. summary: 获取所有枚举信息
  22582. tags:
  22583. - 通用服务
  22584. /Common/GetClientMenus:
  22585. get:
  22586. parameters:
  22587. - description: 登录账号
  22588. in: query
  22589. name: loginID
  22590. required: true
  22591. type: integer
  22592. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  22593. in: query
  22594. name: clientType
  22595. type: integer
  22596. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  22597. in: query
  22598. name: name
  22599. type: string
  22600. produces:
  22601. - application/json
  22602. responses:
  22603. "200":
  22604. description: OK
  22605. schema:
  22606. items:
  22607. $ref: '#/definitions/common.ClientMenu'
  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. - 通用服务
  22618. /Common/GetClientNewFuncmenu:
  22619. get:
  22620. parameters:
  22621. - description: 登录账号
  22622. in: query
  22623. name: loginid
  22624. required: true
  22625. type: integer
  22626. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22627. in: query
  22628. name: menutype
  22629. required: true
  22630. type: integer
  22631. produces:
  22632. - application/json
  22633. responses:
  22634. "200":
  22635. description: OK
  22636. schema:
  22637. items:
  22638. $ref: '#/definitions/models.NewFuncmenulist'
  22639. type: array
  22640. "500":
  22641. description: Internal Server Error
  22642. schema:
  22643. $ref: '#/definitions/app.Response'
  22644. security:
  22645. - ApiKeyAuth: []
  22646. summary: 获取终端菜单
  22647. tags:
  22648. - 通用服务
  22649. /Common/GetDivisions:
  22650. get:
  22651. produces:
  22652. - application/json
  22653. responses:
  22654. "200":
  22655. description: OK
  22656. schema:
  22657. $ref: '#/definitions/models.Division'
  22658. "500":
  22659. description: Internal Server Error
  22660. schema:
  22661. $ref: '#/definitions/app.Response'
  22662. summary: 查询区域信息
  22663. tags:
  22664. - 通用服务
  22665. /Common/GetPCWebMenus:
  22666. get:
  22667. parameters:
  22668. - description: 登录账号
  22669. in: query
  22670. name: loginID
  22671. required: true
  22672. type: integer
  22673. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  22674. in: query
  22675. name: name
  22676. type: string
  22677. produces:
  22678. - application/json
  22679. responses:
  22680. "200":
  22681. description: OK
  22682. schema:
  22683. items:
  22684. $ref: '#/definitions/common.PCWebMenu'
  22685. type: array
  22686. "500":
  22687. description: Internal Server Error
  22688. schema:
  22689. $ref: '#/definitions/app.Response'
  22690. security:
  22691. - ApiKeyAuth: []
  22692. summary: 获取PCWeb交易端菜单
  22693. tags:
  22694. - 通用服务
  22695. /Common/GetServerTime:
  22696. get:
  22697. produces:
  22698. - application/json
  22699. responses:
  22700. "200":
  22701. description: OK
  22702. schema:
  22703. $ref: '#/definitions/app.Response'
  22704. "500":
  22705. description: Internal Server Error
  22706. schema:
  22707. $ref: '#/definitions/app.Response'
  22708. summary: 获取服务器时间
  22709. tags:
  22710. - 通用服务
  22711. /Common/InsertNewFuncmenu:
  22712. post:
  22713. consumes:
  22714. - application/json
  22715. parameters:
  22716. - description: 菜单表数据
  22717. in: body
  22718. name: data
  22719. required: true
  22720. schema:
  22721. $ref: '#/definitions/models.NewFuncmenulist'
  22722. produces:
  22723. - application/json
  22724. responses:
  22725. "200":
  22726. description: OK
  22727. schema:
  22728. $ref: '#/definitions/app.Response'
  22729. "500":
  22730. description: Internal Server Error
  22731. schema:
  22732. $ref: '#/definitions/app.Response'
  22733. security:
  22734. - ApiKeyAuth: []
  22735. summary: 插入菜单表数据
  22736. tags:
  22737. - 通用服务
  22738. /Common/NoticeReaded:
  22739. post:
  22740. parameters:
  22741. - description: 登录账号
  22742. in: query
  22743. name: loginID
  22744. required: true
  22745. type: integer
  22746. - description: 通知公告ID
  22747. in: query
  22748. name: noticeID
  22749. required: true
  22750. type: integer
  22751. produces:
  22752. - application/json
  22753. responses:
  22754. "200":
  22755. description: OK
  22756. schema:
  22757. $ref: '#/definitions/app.Response'
  22758. "500":
  22759. description: Internal Server Error
  22760. schema:
  22761. $ref: '#/definitions/app.Response'
  22762. security:
  22763. - ApiKeyAuth: []
  22764. summary: 通知公告设置已读请求
  22765. tags:
  22766. - 通用服务
  22767. /Common/QueryErrorInfos:
  22768. get:
  22769. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22770. parameters:
  22771. - description: 起始行号前索引
  22772. in: query
  22773. name: rowNumber
  22774. type: string
  22775. produces:
  22776. - application/json
  22777. responses:
  22778. "200":
  22779. description: OK
  22780. schema:
  22781. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22782. "500":
  22783. description: Internal Server Error
  22784. schema:
  22785. $ref: '#/definitions/app.Response'
  22786. summary: 获取数据库错误信息
  22787. tags:
  22788. - 通用服务
  22789. /Common/QueryImageConfigs:
  22790. get:
  22791. parameters:
  22792. - description: 用户id
  22793. in: query
  22794. name: userId
  22795. type: integer
  22796. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22797. in: query
  22798. name: imageType
  22799. type: integer
  22800. produces:
  22801. - application/json
  22802. responses:
  22803. "200":
  22804. description: OK
  22805. schema:
  22806. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22807. "500":
  22808. description: Internal Server Error
  22809. schema:
  22810. $ref: '#/definitions/app.Response'
  22811. summary: 查询轮播图配置信息
  22812. tags:
  22813. - 通用服务
  22814. /Common/QueryNotice:
  22815. get:
  22816. parameters:
  22817. - description: 页码
  22818. in: query
  22819. name: page
  22820. type: integer
  22821. - description: 每页条数
  22822. in: query
  22823. name: pagesize
  22824. type: integer
  22825. - description: 登录账号
  22826. in: query
  22827. name: loginID
  22828. required: true
  22829. type: integer
  22830. - description: 消息类型 - 1:公告通知 2:系统消息
  22831. in: query
  22832. name: msgType
  22833. type: integer
  22834. - description: 是否只获取未读信息
  22835. in: query
  22836. name: onlyUnRead
  22837. type: boolean
  22838. - description: 自增ID,传入后会返回这个ID后面的记录
  22839. in: query
  22840. name: lastID
  22841. type: integer
  22842. produces:
  22843. - application/json
  22844. responses:
  22845. "200":
  22846. description: OK
  22847. schema:
  22848. $ref: '#/definitions/common.QueryNoticeRsp'
  22849. "500":
  22850. description: Internal Server Error
  22851. schema:
  22852. $ref: '#/definitions/app.Response'
  22853. security:
  22854. - ApiKeyAuth: []
  22855. summary: 通知公告系统消息查询
  22856. tags:
  22857. - 通用服务
  22858. /Common/QueryProvincesAndCities:
  22859. get:
  22860. parameters:
  22861. - description: 省ID
  22862. in: query
  22863. name: provinceID
  22864. type: integer
  22865. produces:
  22866. - application/json
  22867. responses:
  22868. "200":
  22869. description: OK
  22870. schema:
  22871. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22872. "500":
  22873. description: Internal Server Error
  22874. schema:
  22875. $ref: '#/definitions/app.Response'
  22876. summary: 查询省市信息(不包括区)
  22877. tags:
  22878. - 通用服务
  22879. /Common/QueryTableDefine:
  22880. get:
  22881. parameters:
  22882. - description: 表key
  22883. in: query
  22884. name: tableKey
  22885. type: string
  22886. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22887. in: query
  22888. name: tableType
  22889. type: integer
  22890. produces:
  22891. - application/json
  22892. responses:
  22893. "200":
  22894. description: OK
  22895. schema:
  22896. $ref: '#/definitions/common.QueryTableDefineRsp'
  22897. "500":
  22898. description: Internal Server Error
  22899. schema:
  22900. $ref: '#/definitions/app.Response'
  22901. summary: 查询交易端列表头信息
  22902. tags:
  22903. - 通用服务
  22904. /Common/QueryTraderMenu:
  22905. get:
  22906. parameters:
  22907. - description: 登录账号
  22908. in: query
  22909. name: loginid
  22910. required: true
  22911. type: integer
  22912. produces:
  22913. - application/json
  22914. responses:
  22915. "200":
  22916. description: OK
  22917. schema:
  22918. $ref: '#/definitions/common.QueryTraderMenuRsp'
  22919. "500":
  22920. description: Internal Server Error
  22921. schema:
  22922. $ref: '#/definitions/app.Response'
  22923. summary: 查询交易端菜单
  22924. tags:
  22925. - 通用服务
  22926. /Common/UpdateNewFuncmenu:
  22927. put:
  22928. consumes:
  22929. - application/json
  22930. parameters:
  22931. - description: 菜单表数据
  22932. in: body
  22933. name: data
  22934. required: true
  22935. schema:
  22936. $ref: '#/definitions/models.NewFuncmenulist'
  22937. produces:
  22938. - application/json
  22939. responses:
  22940. "200":
  22941. description: OK
  22942. schema:
  22943. $ref: '#/definitions/app.Response'
  22944. "500":
  22945. description: Internal Server Error
  22946. schema:
  22947. $ref: '#/definitions/app.Response'
  22948. security:
  22949. - ApiKeyAuth: []
  22950. summary: 更新菜单表数据
  22951. tags:
  22952. - 通用服务
  22953. /Delivery/QueryDeliveryRelation:
  22954. get:
  22955. parameters:
  22956. - description: 商品ID
  22957. in: query
  22958. name: goodsid
  22959. type: integer
  22960. - description: 品种ID
  22961. in: query
  22962. name: deliverygoodsid
  22963. type: integer
  22964. - description: 市场ID
  22965. in: query
  22966. name: marketid
  22967. type: integer
  22968. produces:
  22969. - application/json
  22970. responses:
  22971. "200":
  22972. description: OK
  22973. schema:
  22974. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  22975. "500":
  22976. description: Internal Server Error
  22977. schema:
  22978. $ref: '#/definitions/app.Response'
  22979. security:
  22980. - ApiKeyAuth: []
  22981. summary: 查询商品交割关系表
  22982. tags:
  22983. - 交割服务
  22984. /Ermcp/GetErmcpGoods:
  22985. get:
  22986. parameters:
  22987. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  22988. in: query
  22989. name: userid
  22990. type: integer
  22991. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22992. in: query
  22993. name: lastUpdateTime
  22994. type: string
  22995. produces:
  22996. - application/json
  22997. responses:
  22998. "200":
  22999. description: OK
  23000. schema:
  23001. $ref: '#/definitions/models.ErmcpGoods'
  23002. "500":
  23003. description: Internal Server Error
  23004. schema:
  23005. $ref: '#/definitions/app.Response'
  23006. security:
  23007. - ApiKeyAuth: []
  23008. summary: 查询企业风管期货商品信息
  23009. tags:
  23010. - 企业风险管理(app)
  23011. /Ermcp/GetErmcpGoodsSortByPosition:
  23012. get:
  23013. parameters:
  23014. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  23015. in: query
  23016. name: sortIndex
  23017. type: string
  23018. produces:
  23019. - application/json
  23020. responses:
  23021. "200":
  23022. description: OK
  23023. schema:
  23024. $ref: '#/definitions/models.Goodssortbypreposition'
  23025. "500":
  23026. description: Internal Server Error
  23027. schema:
  23028. $ref: '#/definitions/app.Response'
  23029. security:
  23030. - ApiKeyAuth: []
  23031. summary: 查询企业风管期货主力、次主力商品信息
  23032. tags:
  23033. - 企业风险管理(app)
  23034. /Ermcp/GetErmcpOutAccountStatus:
  23035. get:
  23036. parameters:
  23037. - description: 登录账号
  23038. in: query
  23039. name: loginID
  23040. required: true
  23041. type: integer
  23042. produces:
  23043. - application/json
  23044. responses:
  23045. "200":
  23046. description: OK
  23047. schema:
  23048. $ref: '#/definitions/models.Hedgemarketopenlog'
  23049. "500":
  23050. description: Internal Server Error
  23051. schema:
  23052. $ref: '#/definitions/app.Response'
  23053. security:
  23054. - ApiKeyAuth: []
  23055. summary: 获取目标登录账号当前对冲账号在线状态
  23056. tags:
  23057. - 企业风险管理(app)
  23058. /Ermcp/GetErmcpRoleFuncMenuLists:
  23059. get:
  23060. parameters:
  23061. - description: 登录账号
  23062. in: query
  23063. name: loginID
  23064. required: true
  23065. type: integer
  23066. produces:
  23067. - application/json
  23068. responses:
  23069. "200":
  23070. description: OK
  23071. schema:
  23072. $ref: '#/definitions/models.Funcmenulist'
  23073. "500":
  23074. description: Internal Server Error
  23075. schema:
  23076. $ref: '#/definitions/app.Response'
  23077. security:
  23078. - ApiKeyAuth: []
  23079. summary: 获取企业风管终端权限
  23080. tags:
  23081. - 企业风险管理(app)
  23082. /Ermcp/QueryAccMgrBizGroupSet:
  23083. get:
  23084. parameters:
  23085. - description: 用户ID
  23086. in: query
  23087. name: userid
  23088. required: true
  23089. type: integer
  23090. - description: 现货商品id
  23091. in: query
  23092. name: deliverygoodsid
  23093. type: integer
  23094. produces:
  23095. - application/json
  23096. responses:
  23097. "200":
  23098. description: OK
  23099. schema:
  23100. items:
  23101. $ref: '#/definitions/models.ErmcpBizGroupEx'
  23102. type: array
  23103. "500":
  23104. description: Internal Server Error
  23105. schema:
  23106. $ref: '#/definitions/app.Response'
  23107. security:
  23108. - ApiKeyAuth: []
  23109. summary: 查询业务类型分组(账户管理/账户设置)
  23110. tags:
  23111. - 企业风险管理(app)
  23112. /Ermcp/QueryAccMgrLoginUser:
  23113. get:
  23114. parameters:
  23115. - description: 用户ID
  23116. in: query
  23117. name: userid
  23118. required: true
  23119. type: integer
  23120. - description: 用户类型 2-机构 7-企业成员
  23121. in: query
  23122. name: usertype
  23123. type: integer
  23124. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  23125. in: query
  23126. name: querytype
  23127. required: true
  23128. type: integer
  23129. produces:
  23130. - application/json
  23131. responses:
  23132. "200":
  23133. description: OK
  23134. schema:
  23135. items:
  23136. $ref: '#/definitions/models.ErmcpLoginUserEx'
  23137. type: array
  23138. "500":
  23139. description: Internal Server Error
  23140. schema:
  23141. $ref: '#/definitions/app.Response'
  23142. security:
  23143. - ApiKeyAuth: []
  23144. summary: 查询账户管理登录账号(账户管理/登录账号)
  23145. tags:
  23146. - 企业风险管理(app)
  23147. /Ermcp/QueryAccMgrMainAccountInfo:
  23148. get:
  23149. parameters:
  23150. - description: 用户ID
  23151. in: query
  23152. name: userid
  23153. type: integer
  23154. - description: 主账号id
  23155. in: query
  23156. name: accountid
  23157. type: integer
  23158. produces:
  23159. - application/json
  23160. responses:
  23161. "200":
  23162. description: OK
  23163. schema:
  23164. items:
  23165. $ref: '#/definitions/models.MainAccountInfo'
  23166. type: array
  23167. "500":
  23168. description: Internal Server Error
  23169. schema:
  23170. $ref: '#/definitions/app.Response'
  23171. security:
  23172. - ApiKeyAuth: []
  23173. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  23174. tags:
  23175. - 企业风险管理(app)
  23176. /Ermcp/QueryAccMgrRole:
  23177. get:
  23178. parameters:
  23179. - description: 用户ID
  23180. in: query
  23181. name: userid
  23182. required: true
  23183. type: integer
  23184. produces:
  23185. - application/json
  23186. responses:
  23187. "200":
  23188. description: OK
  23189. schema:
  23190. items:
  23191. $ref: '#/definitions/models.ErmcpRole'
  23192. type: array
  23193. "500":
  23194. description: Internal Server Error
  23195. schema:
  23196. $ref: '#/definitions/app.Response'
  23197. security:
  23198. - ApiKeyAuth: []
  23199. summary: 查询账户管理角色设置(账户管理/角色设置)
  23200. tags:
  23201. - 企业风险管理(app)
  23202. /Ermcp/QueryAccMgrRoleMenu:
  23203. get:
  23204. parameters:
  23205. - description: 用户ID
  23206. in: query
  23207. name: userid
  23208. required: true
  23209. type: integer
  23210. - description: 角色id(可多个,逗号隔开)
  23211. in: query
  23212. name: roleid
  23213. type: string
  23214. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  23215. in: query
  23216. name: menutype
  23217. type: integer
  23218. produces:
  23219. - application/json
  23220. responses:
  23221. "200":
  23222. description: OK
  23223. schema:
  23224. items:
  23225. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  23226. type: array
  23227. "500":
  23228. description: Internal Server Error
  23229. schema:
  23230. $ref: '#/definitions/app.Response'
  23231. security:
  23232. - ApiKeyAuth: []
  23233. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  23234. tags:
  23235. - 企业风险管理(app)
  23236. /Ermcp/QueryAccMgrTaAccountInfo:
  23237. get:
  23238. parameters:
  23239. - description: 用户ID
  23240. in: query
  23241. name: userid
  23242. required: true
  23243. type: integer
  23244. - description: 账号id
  23245. in: query
  23246. name: accountid
  23247. type: integer
  23248. produces:
  23249. - application/json
  23250. responses:
  23251. "200":
  23252. description: OK
  23253. schema:
  23254. items:
  23255. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  23256. type: array
  23257. "500":
  23258. description: Internal Server Error
  23259. schema:
  23260. $ref: '#/definitions/app.Response'
  23261. security:
  23262. - ApiKeyAuth: []
  23263. summary: 查询账户管理授信(账户管理/账户设置/授信)
  23264. tags:
  23265. - 企业风险管理(app)
  23266. /Ermcp/QueryAccMgrTaaccount:
  23267. get:
  23268. parameters:
  23269. - description: 用户ID
  23270. in: query
  23271. name: userid
  23272. required: true
  23273. type: integer
  23274. produces:
  23275. - application/json
  23276. responses:
  23277. "200":
  23278. description: OK
  23279. schema:
  23280. items:
  23281. $ref: '#/definitions/models.ErmcpTaAccountEx'
  23282. type: array
  23283. "500":
  23284. description: Internal Server Error
  23285. schema:
  23286. $ref: '#/definitions/app.Response'
  23287. security:
  23288. - ApiKeyAuth: []
  23289. summary: 查询账户管理期货账号(账户管理/期货账号)
  23290. tags:
  23291. - 企业风险管理(app)
  23292. /Ermcp/QueryAvaildGoodsGroup:
  23293. get:
  23294. parameters:
  23295. - description: 所属机构ID
  23296. in: query
  23297. name: userid
  23298. required: true
  23299. type: integer
  23300. produces:
  23301. - application/json
  23302. responses:
  23303. "200":
  23304. description: OK
  23305. schema:
  23306. items:
  23307. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  23308. type: array
  23309. "500":
  23310. description: Internal Server Error
  23311. schema:
  23312. $ref: '#/definitions/app.Response'
  23313. security:
  23314. - ApiKeyAuth: []
  23315. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  23316. tags:
  23317. - 企业风险管理(app)
  23318. /Ermcp/QueryBusinessDj:
  23319. get:
  23320. parameters:
  23321. - description: 用户ID
  23322. in: query
  23323. name: UserId
  23324. required: true
  23325. type: integer
  23326. - description: 用户类型 2-机构 7-企业成员
  23327. in: query
  23328. name: usertype
  23329. type: integer
  23330. - description: 现货合同ID, 不填则查所有
  23331. in: query
  23332. name: relatedid
  23333. type: string
  23334. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23335. in: query
  23336. name: applystatus
  23337. type: string
  23338. produces:
  23339. - application/json
  23340. responses:
  23341. "200":
  23342. description: OK
  23343. schema:
  23344. items:
  23345. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  23346. type: array
  23347. "500":
  23348. description: Internal Server Error
  23349. schema:
  23350. $ref: '#/definitions/app.Response'
  23351. security:
  23352. - ApiKeyAuth: []
  23353. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  23354. tags:
  23355. - 企业风险管理(app)
  23356. /Ermcp/QueryBusinessFp:
  23357. get:
  23358. parameters:
  23359. - description: 用户ID
  23360. in: query
  23361. name: UserId
  23362. required: true
  23363. type: integer
  23364. - description: 用户类型 2-机构 7-企业成员
  23365. in: query
  23366. name: usertype
  23367. type: integer
  23368. - description: 现货合同ID, 不填则查所有
  23369. in: query
  23370. name: relatedid
  23371. type: string
  23372. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23373. in: query
  23374. name: applystatus
  23375. type: string
  23376. produces:
  23377. - application/json
  23378. responses:
  23379. "200":
  23380. description: OK
  23381. schema:
  23382. items:
  23383. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  23384. type: array
  23385. "500":
  23386. description: Internal Server Error
  23387. schema:
  23388. $ref: '#/definitions/app.Response'
  23389. security:
  23390. - ApiKeyAuth: []
  23391. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  23392. tags:
  23393. - 企业风险管理(app)
  23394. /Ermcp/QueryBusinessJs:
  23395. get:
  23396. parameters:
  23397. - description: 用户ID
  23398. in: query
  23399. name: UserId
  23400. required: true
  23401. type: integer
  23402. - description: 用户类型 2-机构 7-企业成员
  23403. in: query
  23404. name: usertype
  23405. type: integer
  23406. - description: 现货合同ID, 不填则查所有
  23407. in: query
  23408. name: relatedid
  23409. type: string
  23410. - description: 操作申请id
  23411. in: query
  23412. name: operateapplyid
  23413. type: string
  23414. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23415. in: query
  23416. name: applystatus
  23417. type: string
  23418. produces:
  23419. - application/json
  23420. responses:
  23421. "200":
  23422. description: OK
  23423. schema:
  23424. items:
  23425. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  23426. type: array
  23427. "500":
  23428. description: Internal Server Error
  23429. schema:
  23430. $ref: '#/definitions/app.Response'
  23431. security:
  23432. - ApiKeyAuth: []
  23433. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  23434. tags:
  23435. - 企业风险管理(app)
  23436. /Ermcp/QueryBusinessJsEx:
  23437. get:
  23438. parameters:
  23439. - description: 用户ID
  23440. in: query
  23441. name: UserId
  23442. required: true
  23443. type: integer
  23444. - description: 用户类型 2-机构 7-企业成员
  23445. in: query
  23446. name: usertype
  23447. type: integer
  23448. - description: 现货合同ID, 不填则查所有
  23449. in: query
  23450. name: relatedid
  23451. type: string
  23452. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23453. in: query
  23454. name: applystatus
  23455. type: string
  23456. produces:
  23457. - application/json
  23458. responses:
  23459. "200":
  23460. description: OK
  23461. schema:
  23462. items:
  23463. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  23464. type: array
  23465. "500":
  23466. description: Internal Server Error
  23467. schema:
  23468. $ref: '#/definitions/app.Response'
  23469. security:
  23470. - ApiKeyAuth: []
  23471. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  23472. tags:
  23473. - 企业风险管理(app)
  23474. /Ermcp/QueryBusinessKx:
  23475. get:
  23476. parameters:
  23477. - description: 用户ID
  23478. in: query
  23479. name: UserId
  23480. required: true
  23481. type: integer
  23482. - description: 用户类型 2-机构 7-企业成员
  23483. in: query
  23484. name: usertype
  23485. type: integer
  23486. - description: 现货合同ID, 不填则查所有
  23487. in: query
  23488. name: relatedid
  23489. type: string
  23490. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23491. in: query
  23492. name: applystatus
  23493. type: string
  23494. produces:
  23495. - application/json
  23496. responses:
  23497. "200":
  23498. description: OK
  23499. schema:
  23500. items:
  23501. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  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/QueryChangeLog:
  23513. get:
  23514. parameters:
  23515. - description: 合同ID
  23516. in: query
  23517. name: RelatedId
  23518. required: true
  23519. type: string
  23520. produces:
  23521. - application/json
  23522. responses:
  23523. "200":
  23524. description: OK
  23525. schema:
  23526. items:
  23527. $ref: '#/definitions/ermcp.QryOPLogRsp'
  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/QueryErmcpHisOrderDetails:
  23539. get:
  23540. parameters:
  23541. - description: 资金账户ID
  23542. in: query
  23543. name: accountID
  23544. required: true
  23545. type: integer
  23546. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23547. in: query
  23548. name: startDate
  23549. type: string
  23550. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23551. in: query
  23552. name: endDate
  23553. type: string
  23554. produces:
  23555. - application/json
  23556. responses:
  23557. "200":
  23558. description: OK
  23559. schema:
  23560. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23561. "500":
  23562. description: Internal Server Error
  23563. schema:
  23564. $ref: '#/definitions/app.Response'
  23565. security:
  23566. - ApiKeyAuth: []
  23567. summary: 获取企业风管期货历史委托单信息
  23568. tags:
  23569. - 企业风险管理(app)
  23570. /Ermcp/QueryErmcpHisTradeDetails:
  23571. get:
  23572. parameters:
  23573. - description: 资金账户ID
  23574. in: query
  23575. name: accountID
  23576. required: true
  23577. type: integer
  23578. - description: 商品ID
  23579. in: query
  23580. name: goodsID
  23581. type: integer
  23582. - description: 买卖方向,0:买 1:卖
  23583. in: query
  23584. name: buyOrSell
  23585. type: integer
  23586. - description: 关联委托单号
  23587. in: query
  23588. name: orderID
  23589. type: integer
  23590. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23591. in: query
  23592. name: startDate
  23593. type: string
  23594. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23595. in: query
  23596. name: endDate
  23597. type: string
  23598. produces:
  23599. - application/json
  23600. responses:
  23601. "200":
  23602. description: OK
  23603. schema:
  23604. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23605. "500":
  23606. description: Internal Server Error
  23607. schema:
  23608. $ref: '#/definitions/app.Response'
  23609. security:
  23610. - ApiKeyAuth: []
  23611. summary: 获取企业风管期货历史成交单信息
  23612. tags:
  23613. - 企业风险管理(app)
  23614. /Ermcp/QueryErmcpInnerHolderDetails:
  23615. get:
  23616. parameters:
  23617. - description: 资金账户ID
  23618. in: query
  23619. name: accountID
  23620. required: true
  23621. type: integer
  23622. - description: 商品ID
  23623. in: query
  23624. name: goodsID
  23625. type: integer
  23626. - description: 买卖方向,0:买 1:卖
  23627. in: query
  23628. name: buyOrSell
  23629. type: integer
  23630. produces:
  23631. - application/json
  23632. responses:
  23633. "200":
  23634. description: OK
  23635. schema:
  23636. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  23637. "500":
  23638. description: Internal Server Error
  23639. schema:
  23640. $ref: '#/definitions/app.Response'
  23641. security:
  23642. - ApiKeyAuth: []
  23643. summary: 获取企业风管期货内部持仓单信息
  23644. tags:
  23645. - 企业风险管理(app)
  23646. /Ermcp/QueryErmcpOrderDetails:
  23647. get:
  23648. parameters:
  23649. - description: 资金账户ID
  23650. in: query
  23651. name: accountID
  23652. required: true
  23653. type: integer
  23654. produces:
  23655. - application/json
  23656. responses:
  23657. "200":
  23658. description: OK
  23659. schema:
  23660. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23661. "500":
  23662. description: Internal Server Error
  23663. schema:
  23664. $ref: '#/definitions/app.Response'
  23665. security:
  23666. - ApiKeyAuth: []
  23667. summary: 获取企业风管期货委托单信息
  23668. tags:
  23669. - 企业风险管理(app)
  23670. /Ermcp/QueryErmcpTradeDetails:
  23671. get:
  23672. parameters:
  23673. - description: 资金账户ID
  23674. in: query
  23675. name: accountID
  23676. required: true
  23677. type: integer
  23678. - description: 商品ID
  23679. in: query
  23680. name: goodsID
  23681. type: integer
  23682. - description: 买卖方向,0:买 1:卖
  23683. in: query
  23684. name: buyOrSell
  23685. type: integer
  23686. - description: 关联委托单号
  23687. in: query
  23688. name: orderID
  23689. type: integer
  23690. produces:
  23691. - application/json
  23692. responses:
  23693. "200":
  23694. description: OK
  23695. schema:
  23696. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23697. "500":
  23698. description: Internal Server Error
  23699. schema:
  23700. $ref: '#/definitions/app.Response'
  23701. security:
  23702. - ApiKeyAuth: []
  23703. summary: 获取企业风管期货成交单信息
  23704. tags:
  23705. - 企业风险管理(app)
  23706. /Ermcp/QueryErmcpTradePosition:
  23707. get:
  23708. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  23709. parameters:
  23710. - description: 资金账户ID
  23711. in: query
  23712. name: accountID
  23713. required: true
  23714. type: integer
  23715. - description: 所属市场ID
  23716. in: query
  23717. name: marketID
  23718. type: integer
  23719. produces:
  23720. - application/json
  23721. responses:
  23722. "200":
  23723. description: OK
  23724. schema:
  23725. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  23726. "500":
  23727. description: Internal Server Error
  23728. schema:
  23729. $ref: '#/definitions/app.Response'
  23730. security:
  23731. - ApiKeyAuth: []
  23732. summary: 获取企业风管期货持仓头寸信息
  23733. tags:
  23734. - 企业风险管理(app)
  23735. /Ermcp/QueryExposureDetail:
  23736. get:
  23737. parameters:
  23738. - description: 所属机构ID
  23739. in: query
  23740. name: areaUserId
  23741. required: true
  23742. type: integer
  23743. - description: 套保商品
  23744. in: query
  23745. name: middleGoodsId
  23746. required: true
  23747. type: integer
  23748. produces:
  23749. - application/json
  23750. responses:
  23751. "200":
  23752. description: OK
  23753. schema:
  23754. items:
  23755. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  23756. type: array
  23757. "500":
  23758. description: Internal Server Error
  23759. schema:
  23760. $ref: '#/definitions/app.Response'
  23761. security:
  23762. - ApiKeyAuth: []
  23763. summary: 查询敞口现货明细
  23764. tags:
  23765. - 企业风险管理(app)
  23766. /Ermcp/QueryExposureGoods:
  23767. get:
  23768. parameters:
  23769. - description: 套保商品id
  23770. in: query
  23771. name: middlegoodsid
  23772. required: true
  23773. type: integer
  23774. produces:
  23775. - application/json
  23776. responses:
  23777. "200":
  23778. description: OK
  23779. schema:
  23780. items:
  23781. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23782. type: array
  23783. "500":
  23784. description: Internal Server Error
  23785. schema:
  23786. $ref: '#/definitions/app.Response'
  23787. security:
  23788. - ApiKeyAuth: []
  23789. summary: 查询敞口主力合约
  23790. tags:
  23791. - 企业风险管理(app)
  23792. /Ermcp/QueryExposureHedgePosition:
  23793. get:
  23794. parameters:
  23795. - description: 用户id
  23796. in: query
  23797. name: userid
  23798. required: true
  23799. type: integer
  23800. produces:
  23801. - application/json
  23802. responses:
  23803. "200":
  23804. description: OK
  23805. schema:
  23806. items:
  23807. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23808. type: array
  23809. "500":
  23810. description: Internal Server Error
  23811. schema:
  23812. $ref: '#/definitions/app.Response'
  23813. security:
  23814. - ApiKeyAuth: []
  23815. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23816. tags:
  23817. - 企业风险管理(app)
  23818. /Ermcp/QueryExposureHedgePositionDetail:
  23819. get:
  23820. parameters:
  23821. - description: 所属机构ID
  23822. in: query
  23823. name: userid
  23824. required: true
  23825. type: integer
  23826. - description: 商品id
  23827. in: query
  23828. name: goodsId
  23829. required: true
  23830. type: integer
  23831. produces:
  23832. - application/json
  23833. responses:
  23834. "200":
  23835. description: OK
  23836. schema:
  23837. items:
  23838. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23839. type: array
  23840. "500":
  23841. description: Internal Server Error
  23842. schema:
  23843. $ref: '#/definitions/app.Response'
  23844. security:
  23845. - ApiKeyAuth: []
  23846. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23847. tags:
  23848. - 企业风险管理(app)
  23849. /Ermcp/QueryExposureSpot:
  23850. get:
  23851. parameters:
  23852. - description: 所属机构ID
  23853. in: query
  23854. name: areaUserId
  23855. required: true
  23856. type: integer
  23857. produces:
  23858. - application/json
  23859. responses:
  23860. "200":
  23861. description: OK
  23862. schema:
  23863. items:
  23864. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23865. type: array
  23866. "500":
  23867. description: Internal Server Error
  23868. schema:
  23869. $ref: '#/definitions/app.Response'
  23870. security:
  23871. - ApiKeyAuth: []
  23872. summary: 查询敞口现货头寸(敞口/现货头寸)
  23873. tags:
  23874. - 企业风险管理(app)
  23875. /Ermcp/QueryExposureSpotDetail:
  23876. get:
  23877. parameters:
  23878. - description: 所属机构ID
  23879. in: query
  23880. name: areaUserId
  23881. required: true
  23882. type: integer
  23883. - description: 现货品种ID
  23884. in: query
  23885. name: wrstandardId
  23886. required: true
  23887. type: integer
  23888. produces:
  23889. - application/json
  23890. responses:
  23891. "200":
  23892. description: OK
  23893. schema:
  23894. items:
  23895. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23896. type: array
  23897. "500":
  23898. description: Internal Server Error
  23899. schema:
  23900. $ref: '#/definitions/app.Response'
  23901. security:
  23902. - ApiKeyAuth: []
  23903. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23904. tags:
  23905. - 企业风险管理(app)
  23906. /Ermcp/QueryFuturesCompany:
  23907. get:
  23908. produces:
  23909. - application/json
  23910. responses:
  23911. "200":
  23912. description: OK
  23913. schema:
  23914. items:
  23915. $ref: '#/definitions/models.ErmcpFuturesCompany'
  23916. type: array
  23917. "500":
  23918. description: Internal Server Error
  23919. schema:
  23920. $ref: '#/definitions/app.Response'
  23921. security:
  23922. - ApiKeyAuth: []
  23923. summary: 查询期货公司
  23924. tags:
  23925. - 企业风险管理(app)
  23926. /Ermcp/QueryGGConvertConfig:
  23927. get:
  23928. parameters:
  23929. - description: 品种id(不填则查所有)
  23930. in: query
  23931. name: goodsgroupid
  23932. type: integer
  23933. produces:
  23934. - application/json
  23935. responses:
  23936. "200":
  23937. description: OK
  23938. schema:
  23939. items:
  23940. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  23941. type: array
  23942. "500":
  23943. description: Internal Server Error
  23944. schema:
  23945. $ref: '#/definitions/app.Response'
  23946. security:
  23947. - ApiKeyAuth: []
  23948. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  23949. tags:
  23950. - 企业风险管理(app)
  23951. /Ermcp/QueryGoodsBrand:
  23952. get:
  23953. parameters:
  23954. - description: 用户ID
  23955. in: query
  23956. name: userid
  23957. required: true
  23958. type: integer
  23959. - description: 现货商品ID
  23960. in: query
  23961. name: wrstandardid
  23962. type: integer
  23963. produces:
  23964. - application/json
  23965. responses:
  23966. "200":
  23967. description: OK
  23968. schema:
  23969. items:
  23970. $ref: '#/definitions/models.ErmcpGoodsBrand'
  23971. type: array
  23972. "500":
  23973. description: Internal Server Error
  23974. schema:
  23975. $ref: '#/definitions/app.Response'
  23976. security:
  23977. - ApiKeyAuth: []
  23978. summary: 查询商品品牌
  23979. tags:
  23980. - 企业风险管理(app)
  23981. /Ermcp/QueryGoodsModel:
  23982. get:
  23983. parameters:
  23984. - description: 用户ID
  23985. in: query
  23986. name: userid
  23987. required: true
  23988. type: integer
  23989. produces:
  23990. - application/json
  23991. responses:
  23992. "200":
  23993. description: OK
  23994. schema:
  23995. items:
  23996. $ref: '#/definitions/models.ErmcpGoodsModel'
  23997. type: array
  23998. "500":
  23999. description: Internal Server Error
  24000. schema:
  24001. $ref: '#/definitions/app.Response'
  24002. security:
  24003. - ApiKeyAuth: []
  24004. summary: 查询商品型号
  24005. tags:
  24006. - 企业风险管理(app)
  24007. /Ermcp/QueryHisExposure:
  24008. get:
  24009. parameters:
  24010. - description: 用户id
  24011. in: query
  24012. name: userid
  24013. required: true
  24014. type: integer
  24015. - description: 每个品种记录数
  24016. in: query
  24017. name: lastNum
  24018. required: true
  24019. type: integer
  24020. produces:
  24021. - application/json
  24022. responses:
  24023. "200":
  24024. description: OK
  24025. schema:
  24026. items:
  24027. $ref: '#/definitions/ermcp.HisExposureRsp'
  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. - 企业风险管理(app)
  24038. /Ermcp/QueryMiddleGoods:
  24039. get:
  24040. parameters:
  24041. - description: 所属机构ID
  24042. in: query
  24043. name: userid
  24044. required: true
  24045. type: integer
  24046. - description: 状态 0-停用 1-正常
  24047. in: query
  24048. name: status
  24049. required: true
  24050. type: integer
  24051. produces:
  24052. - application/json
  24053. responses:
  24054. "200":
  24055. description: OK
  24056. schema:
  24057. items:
  24058. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  24059. type: array
  24060. "500":
  24061. description: Internal Server Error
  24062. schema:
  24063. $ref: '#/definitions/app.Response'
  24064. security:
  24065. - ApiKeyAuth: []
  24066. summary: 查询套保品种(菜单:套保品种)
  24067. tags:
  24068. - 企业风险管理(app)
  24069. /Ermcp/QueryMiddleGoodsChangeLog:
  24070. get:
  24071. parameters:
  24072. - description: 所属机构ID
  24073. in: query
  24074. name: userid
  24075. required: true
  24076. type: integer
  24077. - description: 套保品种id
  24078. in: query
  24079. name: middlegoodsid
  24080. required: true
  24081. type: integer
  24082. produces:
  24083. - application/json
  24084. responses:
  24085. "200":
  24086. description: OK
  24087. schema:
  24088. items:
  24089. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  24090. type: array
  24091. "500":
  24092. description: Internal Server Error
  24093. schema:
  24094. $ref: '#/definitions/app.Response'
  24095. security:
  24096. - ApiKeyAuth: []
  24097. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  24098. tags:
  24099. - 企业风险管理(app)
  24100. /Ermcp/QueryMiddleGoodsDetail:
  24101. get:
  24102. parameters:
  24103. - description: 所属机构ID
  24104. in: query
  24105. name: userid
  24106. required: true
  24107. type: integer
  24108. - description: 套保品种id
  24109. in: query
  24110. name: middlegoodsid
  24111. type: integer
  24112. produces:
  24113. - application/json
  24114. responses:
  24115. "200":
  24116. description: OK
  24117. schema:
  24118. items:
  24119. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  24120. type: array
  24121. "500":
  24122. description: Internal Server Error
  24123. schema:
  24124. $ref: '#/definitions/app.Response'
  24125. security:
  24126. - ApiKeyAuth: []
  24127. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  24128. tags:
  24129. - 企业风险管理(app)
  24130. /Ermcp/QueryPendingAuditInfo:
  24131. get:
  24132. parameters:
  24133. - description: 用户ID
  24134. in: query
  24135. name: UserId
  24136. required: true
  24137. type: integer
  24138. produces:
  24139. - application/json
  24140. responses:
  24141. "200":
  24142. description: OK
  24143. schema:
  24144. items:
  24145. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  24146. type: array
  24147. "500":
  24148. description: Internal Server Error
  24149. schema:
  24150. $ref: '#/definitions/app.Response'
  24151. security:
  24152. - ApiKeyAuth: []
  24153. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  24154. tags:
  24155. - 企业风险管理(app)
  24156. /Ermcp/QueryRealtimeExposure:
  24157. get:
  24158. parameters:
  24159. - description: 所属机构ID
  24160. in: query
  24161. name: userid
  24162. required: true
  24163. type: integer
  24164. produces:
  24165. - application/json
  24166. responses:
  24167. "200":
  24168. description: OK
  24169. schema:
  24170. items:
  24171. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  24172. type: array
  24173. "500":
  24174. description: Internal Server Error
  24175. schema:
  24176. $ref: '#/definitions/app.Response'
  24177. security:
  24178. - ApiKeyAuth: []
  24179. summary: 查询实时敞口
  24180. tags:
  24181. - 企业风险管理(app)
  24182. /Ermcp/QueryRealtimeExposurePosition:
  24183. get:
  24184. parameters:
  24185. - description: 用户id
  24186. in: query
  24187. name: userid
  24188. required: true
  24189. type: integer
  24190. - description: 套保商品ID
  24191. in: query
  24192. name: middleGoodsId
  24193. required: true
  24194. type: integer
  24195. produces:
  24196. - application/json
  24197. responses:
  24198. "200":
  24199. description: OK
  24200. schema:
  24201. items:
  24202. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  24203. type: array
  24204. "500":
  24205. description: Internal Server Error
  24206. schema:
  24207. $ref: '#/definitions/app.Response'
  24208. security:
  24209. - ApiKeyAuth: []
  24210. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  24211. tags:
  24212. - 企业风险管理(app)
  24213. /Ermcp/QueryRoleMenu:
  24214. get:
  24215. parameters:
  24216. - description: 登录ID
  24217. in: query
  24218. name: loginid
  24219. required: true
  24220. type: integer
  24221. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  24222. in: query
  24223. name: menutype
  24224. type: integer
  24225. produces:
  24226. - application/json
  24227. responses:
  24228. "200":
  24229. description: OK
  24230. schema:
  24231. items:
  24232. $ref: '#/definitions/models.RoleMenu'
  24233. type: array
  24234. "500":
  24235. description: Internal Server Error
  24236. schema:
  24237. $ref: '#/definitions/app.Response'
  24238. security:
  24239. - ApiKeyAuth: []
  24240. summary: 查询角色菜单和权限
  24241. tags:
  24242. - 企业风险管理(app)
  24243. /Ermcp/QueryTradeConfigTMP:
  24244. get:
  24245. parameters:
  24246. - description: 所属机构id
  24247. in: query
  24248. name: areauserid
  24249. type: integer
  24250. produces:
  24251. - application/json
  24252. responses:
  24253. "200":
  24254. description: OK
  24255. schema:
  24256. items:
  24257. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  24258. type: array
  24259. "500":
  24260. description: Internal Server Error
  24261. schema:
  24262. $ref: '#/definitions/app.Response'
  24263. security:
  24264. - ApiKeyAuth: []
  24265. summary: 查询交易模板配置
  24266. tags:
  24267. - 企业风险管理(app)
  24268. /Ermcp/QueryUserInfo:
  24269. get:
  24270. parameters:
  24271. - description: 所属机构用户ID
  24272. in: query
  24273. name: MemberUserID
  24274. required: true
  24275. type: integer
  24276. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  24277. in: query
  24278. name: queryType
  24279. required: true
  24280. type: integer
  24281. produces:
  24282. - application/json
  24283. responses:
  24284. "200":
  24285. description: OK
  24286. schema:
  24287. items:
  24288. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  24289. type: array
  24290. "500":
  24291. description: Internal Server Error
  24292. schema:
  24293. $ref: '#/definitions/app.Response'
  24294. security:
  24295. - ApiKeyAuth: []
  24296. summary: 查询客户资料
  24297. tags:
  24298. - 企业风险管理(app)
  24299. /Ermcp/QueryWarehouseInfo:
  24300. get:
  24301. parameters:
  24302. - description: 用户ID
  24303. in: query
  24304. name: userid
  24305. required: true
  24306. type: integer
  24307. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24308. in: query
  24309. name: status
  24310. type: string
  24311. produces:
  24312. - application/json
  24313. responses:
  24314. "200":
  24315. description: OK
  24316. schema:
  24317. items:
  24318. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  24319. type: array
  24320. "500":
  24321. description: Internal Server Error
  24322. schema:
  24323. $ref: '#/definitions/app.Response'
  24324. security:
  24325. - ApiKeyAuth: []
  24326. summary: 查询仓库信息
  24327. tags:
  24328. - 企业风险管理(app)
  24329. /Ermcp3/QryAreaExpourseContractDetail:
  24330. get:
  24331. parameters:
  24332. - description: 用户ID
  24333. in: query
  24334. name: userid
  24335. required: true
  24336. type: integer
  24337. - description: 套保商品id
  24338. in: query
  24339. name: middlegoodsid
  24340. required: true
  24341. type: integer
  24342. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24343. in: query
  24344. name: cycletype
  24345. required: true
  24346. type: integer
  24347. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24348. 全(0)【原值】
  24349. in: query
  24350. name: cycletime
  24351. required: true
  24352. type: string
  24353. produces:
  24354. - application/json
  24355. responses:
  24356. "200":
  24357. description: OK
  24358. schema:
  24359. items:
  24360. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  24361. type: array
  24362. "500":
  24363. description: Internal Server Error
  24364. schema:
  24365. $ref: '#/definitions/app.Response'
  24366. security:
  24367. - ApiKeyAuth: []
  24368. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  24369. tags:
  24370. - 企业风险管理v3(app)
  24371. /Ermcp3/QryAreaExpourseFutuDetail:
  24372. get:
  24373. parameters:
  24374. - description: 用户ID
  24375. in: query
  24376. name: userid
  24377. required: true
  24378. type: integer
  24379. - description: 套保商品id
  24380. in: query
  24381. name: middlegoodsid
  24382. required: true
  24383. type: integer
  24384. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24385. in: query
  24386. name: cycletype
  24387. required: true
  24388. type: integer
  24389. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24390. 全(0)【原值】
  24391. in: query
  24392. name: cycletime
  24393. required: true
  24394. type: string
  24395. produces:
  24396. - application/json
  24397. responses:
  24398. "200":
  24399. description: OK
  24400. schema:
  24401. items:
  24402. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  24403. type: array
  24404. "500":
  24405. description: Internal Server Error
  24406. schema:
  24407. $ref: '#/definitions/app.Response'
  24408. security:
  24409. - ApiKeyAuth: []
  24410. summary: 查询敞口期货明细(敞口报表/期货明细)
  24411. tags:
  24412. - 企业风险管理v3(app)
  24413. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  24414. get:
  24415. parameters:
  24416. - description: 用户ID
  24417. in: query
  24418. name: userid
  24419. required: true
  24420. type: integer
  24421. - description: 套保商品id
  24422. in: query
  24423. name: middlegoodsid
  24424. required: true
  24425. type: integer
  24426. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24427. in: query
  24428. name: cycletype
  24429. required: true
  24430. type: integer
  24431. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24432. 全(0)【原值】
  24433. in: query
  24434. name: cycletime
  24435. required: true
  24436. type: string
  24437. produces:
  24438. - application/json
  24439. responses:
  24440. "200":
  24441. description: OK
  24442. schema:
  24443. items:
  24444. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  24445. type: array
  24446. "500":
  24447. description: Internal Server Error
  24448. schema:
  24449. $ref: '#/definitions/app.Response'
  24450. security:
  24451. - ApiKeyAuth: []
  24452. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  24453. tags:
  24454. - 企业风险管理v3(app)
  24455. /Ermcp3/QryAreaExpourseParamChLogDetail:
  24456. get:
  24457. parameters:
  24458. - description: 用户ID
  24459. in: query
  24460. name: userid
  24461. required: true
  24462. type: integer
  24463. - description: 套保商品id
  24464. in: query
  24465. name: middlegoodsid
  24466. required: true
  24467. type: integer
  24468. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24469. in: query
  24470. name: cycletype
  24471. required: true
  24472. type: integer
  24473. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24474. 全(0)【原值】
  24475. in: query
  24476. name: cycletime
  24477. required: true
  24478. type: string
  24479. produces:
  24480. - application/json
  24481. responses:
  24482. "200":
  24483. description: OK
  24484. schema:
  24485. items:
  24486. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  24487. type: array
  24488. "500":
  24489. description: Internal Server Error
  24490. schema:
  24491. $ref: '#/definitions/app.Response'
  24492. security:
  24493. - ApiKeyAuth: []
  24494. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  24495. tags:
  24496. - 企业风险管理v3(app)
  24497. /Ermcp3/QryAreaExpourseReport:
  24498. get:
  24499. parameters:
  24500. - description: 用户ID
  24501. in: query
  24502. name: userid
  24503. required: true
  24504. type: integer
  24505. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  24506. in: query
  24507. name: querytype
  24508. required: true
  24509. type: integer
  24510. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24511. in: query
  24512. name: cycletype
  24513. required: true
  24514. type: integer
  24515. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24516. 全(0)【原值】
  24517. in: query
  24518. name: cycletime
  24519. required: true
  24520. type: string
  24521. produces:
  24522. - application/json
  24523. responses:
  24524. "200":
  24525. description: OK
  24526. schema:
  24527. items:
  24528. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  24529. type: array
  24530. "500":
  24531. description: Internal Server Error
  24532. schema:
  24533. $ref: '#/definitions/app.Response'
  24534. security:
  24535. - ApiKeyAuth: []
  24536. summary: 查询敞口报表
  24537. tags:
  24538. - 企业风险管理v3(app)
  24539. /Ermcp3/QryAreaSpotplReport:
  24540. get:
  24541. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  24542. parameters:
  24543. - description: 用户ID
  24544. in: query
  24545. name: userid
  24546. required: true
  24547. type: integer
  24548. - description: 查询类型 1-报表 2-报表明细
  24549. in: query
  24550. name: querytype
  24551. required: true
  24552. type: integer
  24553. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24554. in: query
  24555. name: cycletype
  24556. required: true
  24557. type: integer
  24558. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24559. 全(0)【原值】
  24560. in: query
  24561. name: cycletime
  24562. required: true
  24563. type: string
  24564. - description: 现货品种id(明细必填)
  24565. in: query
  24566. name: deliverygoodsid
  24567. type: integer
  24568. - description: 币种id(明细必填)
  24569. in: query
  24570. name: currencyid
  24571. type: integer
  24572. - description: 日/周/月报表汇总维度 1:品种+品类
  24573. in: query
  24574. name: sumflag
  24575. type: integer
  24576. produces:
  24577. - application/json
  24578. responses:
  24579. "200":
  24580. description: OK
  24581. schema:
  24582. items:
  24583. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  24584. type: array
  24585. "500":
  24586. description: Internal Server Error
  24587. schema:
  24588. $ref: '#/definitions/app.Response'
  24589. security:
  24590. - ApiKeyAuth: []
  24591. summary: 查询现货报表
  24592. tags:
  24593. - 企业风险管理v3(app)
  24594. /Ermcp3/QryAreaStockReport:
  24595. get:
  24596. parameters:
  24597. - description: 用户ID
  24598. in: query
  24599. name: userid
  24600. required: true
  24601. type: integer
  24602. - description: 查询类型 1-报表 2-报表明细
  24603. in: query
  24604. name: querytype
  24605. required: true
  24606. type: integer
  24607. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24608. in: query
  24609. name: cycletype
  24610. required: true
  24611. type: integer
  24612. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24613. 全(0)【原值】
  24614. in: query
  24615. name: cycletime
  24616. required: true
  24617. type: string
  24618. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  24619. in: query
  24620. name: sumfields
  24621. type: string
  24622. - description: 品种ID
  24623. in: query
  24624. name: deliverygoodsid
  24625. type: integer
  24626. - description: 品类ID
  24627. in: query
  24628. name: wrstandardid
  24629. type: integer
  24630. - description: 品牌ID
  24631. in: query
  24632. name: spotgoodsbrandid
  24633. type: integer
  24634. - description: 仓库ID
  24635. in: query
  24636. name: warehouseinfoid
  24637. type: integer
  24638. produces:
  24639. - application/json
  24640. responses:
  24641. "200":
  24642. description: OK
  24643. schema:
  24644. items:
  24645. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  24646. type: array
  24647. "500":
  24648. description: Internal Server Error
  24649. schema:
  24650. $ref: '#/definitions/app.Response'
  24651. security:
  24652. - ApiKeyAuth: []
  24653. summary: 查询库存报表
  24654. tags:
  24655. - 企业风险管理v3(app)
  24656. /Ermcp3/QryAreaSumPL:
  24657. get:
  24658. parameters:
  24659. - description: 用户ID
  24660. in: query
  24661. name: userid
  24662. required: true
  24663. type: integer
  24664. - description: 查询类型 1-报表 2-报表明细
  24665. in: query
  24666. name: querytype
  24667. required: true
  24668. type: integer
  24669. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24670. in: query
  24671. name: cycletype
  24672. required: true
  24673. type: integer
  24674. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24675. 全(0)【原值】
  24676. in: query
  24677. name: cycletime
  24678. required: true
  24679. type: string
  24680. - description: 币种id(明细必填)
  24681. in: query
  24682. name: currencyid
  24683. type: integer
  24684. - description: 套保品种ID, 查询类型为2时起效
  24685. in: query
  24686. name: middlegoodsid
  24687. type: integer
  24688. produces:
  24689. - application/json
  24690. responses:
  24691. "200":
  24692. description: OK
  24693. schema:
  24694. items:
  24695. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  24696. type: array
  24697. "500":
  24698. description: Internal Server Error
  24699. schema:
  24700. $ref: '#/definitions/app.Response'
  24701. security:
  24702. - ApiKeyAuth: []
  24703. summary: 查询汇总损益表
  24704. tags:
  24705. - 企业风险管理v3(app)
  24706. /Ermcp3/QryFinanceReport:
  24707. get:
  24708. parameters:
  24709. - description: 用户ID
  24710. in: query
  24711. name: userid
  24712. required: true
  24713. type: integer
  24714. - description: 查询类型 1-报表 2-报表明细
  24715. in: query
  24716. name: querytype
  24717. required: true
  24718. type: integer
  24719. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24720. in: query
  24721. name: cycletype
  24722. required: true
  24723. type: integer
  24724. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24725. 全(0)【原值】
  24726. in: query
  24727. name: cycletime
  24728. required: true
  24729. type: string
  24730. - description: 币种id(报表明细必填)
  24731. in: query
  24732. name: currencyid
  24733. type: integer
  24734. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  24735. in: query
  24736. name: sumfields
  24737. type: string
  24738. produces:
  24739. - application/json
  24740. responses:
  24741. "200":
  24742. description: OK
  24743. schema:
  24744. items:
  24745. $ref: '#/definitions/models.Ermcp3FinanceReport'
  24746. type: array
  24747. "500":
  24748. description: Internal Server Error
  24749. schema:
  24750. $ref: '#/definitions/app.Response'
  24751. security:
  24752. - ApiKeyAuth: []
  24753. summary: 查询财务报表
  24754. tags:
  24755. - 企业风险管理v3(app)
  24756. /Ermcp3/QrySCMiddleGoodsReport:
  24757. get:
  24758. parameters:
  24759. - description: 用户ID
  24760. in: query
  24761. name: userid
  24762. required: true
  24763. type: integer
  24764. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24765. in: query
  24766. name: cycletype
  24767. required: true
  24768. type: integer
  24769. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24770. 全(0)【原值】
  24771. in: query
  24772. name: cycletime
  24773. required: true
  24774. type: string
  24775. - description: 合同id
  24776. in: query
  24777. name: spotcontractid
  24778. type: integer
  24779. - description: 套保品种id
  24780. in: query
  24781. name: middlegoodsid
  24782. type: integer
  24783. - description: 现货品种id
  24784. in: query
  24785. name: deliverygoodsid
  24786. type: integer
  24787. - description: 现货商品id
  24788. in: query
  24789. name: wrstandardid
  24790. type: integer
  24791. - description: 合同编号(模糊匹配)
  24792. in: query
  24793. name: contractno
  24794. type: string
  24795. produces:
  24796. - application/json
  24797. responses:
  24798. "200":
  24799. description: OK
  24800. schema:
  24801. items:
  24802. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24803. type: array
  24804. "500":
  24805. description: Internal Server Error
  24806. schema:
  24807. $ref: '#/definitions/app.Response'
  24808. security:
  24809. - ApiKeyAuth: []
  24810. summary: 查询定价报表
  24811. tags:
  24812. - 企业风险管理v3(app)
  24813. /Ermcp3/QryTaFutureDataReport:
  24814. get:
  24815. parameters:
  24816. - description: 用户ID
  24817. in: query
  24818. name: userid
  24819. required: true
  24820. type: integer
  24821. - description: 查询类型 1-报表 2-报表明细
  24822. in: query
  24823. name: querytype
  24824. required: true
  24825. type: integer
  24826. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24827. in: query
  24828. name: cycletype
  24829. required: true
  24830. type: integer
  24831. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24832. 全(0)【原值】
  24833. in: query
  24834. name: cycletime
  24835. required: true
  24836. type: string
  24837. - description: 币种id(查明细必填)
  24838. in: query
  24839. name: currencyid
  24840. type: integer
  24841. - description: 品种id(查明细必填)
  24842. in: query
  24843. name: goodsgroupid
  24844. type: integer
  24845. - description: 商品id(查明细必填)
  24846. in: query
  24847. name: goodsid
  24848. type: integer
  24849. - description: 买卖方向(查明细必填)
  24850. in: query
  24851. name: buyorsell
  24852. type: integer
  24853. produces:
  24854. - application/json
  24855. responses:
  24856. "200":
  24857. description: OK
  24858. schema:
  24859. items:
  24860. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24861. type: array
  24862. "500":
  24863. description: Internal Server Error
  24864. schema:
  24865. $ref: '#/definitions/app.Response'
  24866. security:
  24867. - ApiKeyAuth: []
  24868. summary: 查询期货报表
  24869. tags:
  24870. - 企业风险管理v3(app)
  24871. /Ermcp3/QueryAreaStock:
  24872. get:
  24873. parameters:
  24874. - description: 用户ID
  24875. in: query
  24876. name: userid
  24877. required: true
  24878. type: integer
  24879. produces:
  24880. - application/json
  24881. responses:
  24882. "200":
  24883. description: OK
  24884. schema:
  24885. items:
  24886. $ref: '#/definitions/models.Ermcp3AreaStock'
  24887. type: array
  24888. "500":
  24889. description: Internal Server Error
  24890. schema:
  24891. $ref: '#/definitions/app.Response'
  24892. security:
  24893. - ApiKeyAuth: []
  24894. summary: 查询机构库存(库存管理/当前库存)
  24895. tags:
  24896. - 企业风险管理v3(app)
  24897. /Ermcp3/QueryAreaStockApply:
  24898. get:
  24899. parameters:
  24900. - description: 用户ID
  24901. in: query
  24902. name: userid
  24903. required: true
  24904. type: integer
  24905. - description: 用户类型 2-机构 7-企业成员
  24906. in: query
  24907. name: usertype
  24908. type: integer
  24909. - description: 现货商品ID
  24910. in: query
  24911. name: deliverygoodsid
  24912. type: integer
  24913. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  24914. in: query
  24915. name: inouttype
  24916. type: string
  24917. - description: 合同ID
  24918. in: query
  24919. name: spotcontractid
  24920. type: integer
  24921. - description: 品类ID
  24922. in: query
  24923. name: wrstandardid
  24924. type: integer
  24925. - description: 品牌ID
  24926. in: query
  24927. name: spotgoodsbrandid
  24928. type: integer
  24929. - description: 仓库ID
  24930. in: query
  24931. name: warehouseinfoid
  24932. type: integer
  24933. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24934. in: query
  24935. name: applystatus
  24936. type: string
  24937. produces:
  24938. - application/json
  24939. responses:
  24940. "200":
  24941. description: OK
  24942. schema:
  24943. items:
  24944. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  24945. type: array
  24946. "500":
  24947. description: Internal Server Error
  24948. schema:
  24949. $ref: '#/definitions/app.Response'
  24950. security:
  24951. - ApiKeyAuth: []
  24952. summary: 查询库存申请(出入库记录|库存审核)
  24953. tags:
  24954. - 企业风险管理v3(app)
  24955. /Ermcp3/QueryAreaStockApplySum:
  24956. get:
  24957. parameters:
  24958. - description: 合同ID
  24959. in: query
  24960. name: spotcontractid
  24961. required: true
  24962. type: integer
  24963. produces:
  24964. - application/json
  24965. responses:
  24966. "200":
  24967. description: OK
  24968. schema:
  24969. items:
  24970. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  24971. type: array
  24972. "500":
  24973. description: Internal Server Error
  24974. schema:
  24975. $ref: '#/definitions/app.Response'
  24976. security:
  24977. - ApiKeyAuth: []
  24978. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  24979. tags:
  24980. - 企业风险管理v3(app)
  24981. /Ermcp3/QueryDGFactoryItem:
  24982. get:
  24983. parameters:
  24984. - description: 用户id
  24985. in: query
  24986. name: userid
  24987. type: integer
  24988. - description: 用户类型 2-机构 7-企业成员
  24989. in: query
  24990. name: usertype
  24991. type: integer
  24992. - description: 选择项ID(SEQ_DGFACTORYITEM)
  24993. in: query
  24994. name: dgfactoryitemid
  24995. type: integer
  24996. - description: 现货品种ID
  24997. in: query
  24998. name: deliverygoodsid
  24999. type: integer
  25000. - description: 要素项类型
  25001. in: query
  25002. name: dgfactoryitemtypeid
  25003. type: integer
  25004. - description: 顺序
  25005. in: query
  25006. name: orderindex
  25007. type: integer
  25008. produces:
  25009. - application/json
  25010. responses:
  25011. "200":
  25012. description: OK
  25013. schema:
  25014. items:
  25015. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  25016. type: array
  25017. "500":
  25018. description: Internal Server Error
  25019. schema:
  25020. $ref: '#/definitions/app.Response'
  25021. security:
  25022. - ApiKeyAuth: []
  25023. summary: 查询品种要素定义项
  25024. tags:
  25025. - 企业风险管理v3(app)
  25026. /Ermcp3/QueryDeliveryGoods:
  25027. get:
  25028. parameters:
  25029. - description: 用户id
  25030. in: query
  25031. name: userid
  25032. required: true
  25033. type: integer
  25034. - description: 用户类型 2-机构 7-企业成员
  25035. in: query
  25036. name: usertype
  25037. type: integer
  25038. - description: 排除已配置的业务类型商品 1-套保 2-套利
  25039. in: query
  25040. name: excludecfg
  25041. type: integer
  25042. produces:
  25043. - application/json
  25044. responses:
  25045. "200":
  25046. description: OK
  25047. schema:
  25048. items:
  25049. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  25050. type: array
  25051. "500":
  25052. description: Internal Server Error
  25053. schema:
  25054. $ref: '#/definitions/app.Response'
  25055. security:
  25056. - ApiKeyAuth: []
  25057. summary: 查询现货商品
  25058. tags:
  25059. - 企业风险管理v3(app)
  25060. /Ermcp3/QueryDeliveryGoodsDetail:
  25061. get:
  25062. parameters:
  25063. - description: 用户id
  25064. in: query
  25065. name: userid
  25066. required: true
  25067. type: integer
  25068. - description: 用户类型 2-机构 7-企业成员
  25069. in: query
  25070. name: usertype
  25071. type: integer
  25072. - description: 现货商品id
  25073. in: query
  25074. name: deliverygoodsid
  25075. type: integer
  25076. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  25077. in: query
  25078. name: filtersubempty
  25079. type: integer
  25080. produces:
  25081. - application/json
  25082. responses:
  25083. "200":
  25084. description: OK
  25085. schema:
  25086. items:
  25087. $ref: '#/definitions/models.XHDeliveryGoods'
  25088. type: array
  25089. "500":
  25090. description: Internal Server Error
  25091. schema:
  25092. $ref: '#/definitions/app.Response'
  25093. security:
  25094. - ApiKeyAuth: []
  25095. summary: 查询现货商品详情
  25096. tags:
  25097. - 企业风险管理v3(app)
  25098. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  25099. get:
  25100. parameters:
  25101. - description: 合同id
  25102. in: query
  25103. name: spotcontractid
  25104. required: true
  25105. type: string
  25106. produces:
  25107. - application/json
  25108. responses:
  25109. "200":
  25110. description: OK
  25111. schema:
  25112. items:
  25113. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  25114. type: array
  25115. "500":
  25116. description: Internal Server Error
  25117. schema:
  25118. $ref: '#/definitions/app.Response'
  25119. security:
  25120. - ApiKeyAuth: []
  25121. summary: 查询现货合同期现配置信息
  25122. tags:
  25123. - 企业风险管理v3(app)
  25124. /Ermcp3/QueryExposureDetail:
  25125. get:
  25126. parameters:
  25127. - description: 用户id
  25128. in: query
  25129. name: userid
  25130. required: true
  25131. type: integer
  25132. - description: 用户类型 2-机构 7-企业成员
  25133. in: query
  25134. name: usertype
  25135. type: integer
  25136. - description: 套保商品
  25137. in: query
  25138. name: middlegoodsid
  25139. required: true
  25140. type: integer
  25141. produces:
  25142. - application/json
  25143. responses:
  25144. "200":
  25145. description: OK
  25146. schema:
  25147. items:
  25148. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  25149. type: array
  25150. "500":
  25151. description: Internal Server Error
  25152. schema:
  25153. $ref: '#/definitions/app.Response'
  25154. security:
  25155. - ApiKeyAuth: []
  25156. summary: 查询敞口现货明细
  25157. tags:
  25158. - 企业风险管理v3(app)
  25159. /Ermcp3/QueryExposureSpot:
  25160. get:
  25161. parameters:
  25162. - description: 用户id
  25163. in: query
  25164. name: userid
  25165. required: true
  25166. type: integer
  25167. - description: 用户类型 2-机构 7-企业成员
  25168. in: query
  25169. name: usertype
  25170. type: integer
  25171. produces:
  25172. - application/json
  25173. responses:
  25174. "200":
  25175. description: OK
  25176. schema:
  25177. items:
  25178. $ref: '#/definitions/models.Ermcp3AreaSpot'
  25179. type: array
  25180. "500":
  25181. description: Internal Server Error
  25182. schema:
  25183. $ref: '#/definitions/app.Response'
  25184. security:
  25185. - ApiKeyAuth: []
  25186. summary: 查询敞口现货头寸(敞口/现货头寸)
  25187. tags:
  25188. - 企业风险管理v3(app)
  25189. /Ermcp3/QueryExposureSpotDetail:
  25190. get:
  25191. parameters:
  25192. - description: 用户id
  25193. in: query
  25194. name: userid
  25195. required: true
  25196. type: integer
  25197. - description: 用户类型 2-机构 7-企业成员
  25198. in: query
  25199. name: usertype
  25200. type: integer
  25201. - description: 现货商品ID
  25202. in: query
  25203. name: wrstandardid
  25204. required: true
  25205. type: integer
  25206. produces:
  25207. - application/json
  25208. responses:
  25209. "200":
  25210. description: OK
  25211. schema:
  25212. items:
  25213. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  25214. type: array
  25215. "500":
  25216. description: Internal Server Error
  25217. schema:
  25218. $ref: '#/definitions/app.Response'
  25219. security:
  25220. - ApiKeyAuth: []
  25221. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25222. tags:
  25223. - 企业风险管理v3(app)
  25224. /Ermcp3/QueryGoodsGroup:
  25225. get:
  25226. parameters:
  25227. - description: 用户id
  25228. in: query
  25229. name: userid
  25230. required: true
  25231. type: integer
  25232. - description: 用户类型 2-机构 7-企业成员
  25233. in: query
  25234. name: usertype
  25235. type: integer
  25236. - description: 排除套保品中已关联的商品组 1-排除
  25237. in: query
  25238. name: excludecfg
  25239. type: integer
  25240. produces:
  25241. - application/json
  25242. responses:
  25243. "200":
  25244. description: OK
  25245. schema:
  25246. items:
  25247. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  25248. type: array
  25249. "500":
  25250. description: Internal Server Error
  25251. schema:
  25252. $ref: '#/definitions/app.Response'
  25253. security:
  25254. - ApiKeyAuth: []
  25255. summary: 查询期货商品组
  25256. tags:
  25257. - 企业风险管理v3(app)
  25258. /Ermcp3/QueryGoodsWrstandard:
  25259. get:
  25260. parameters:
  25261. - description: 用户id
  25262. in: query
  25263. name: userid
  25264. required: true
  25265. type: integer
  25266. - description: 用户类型 2-机构 7-企业成员
  25267. in: query
  25268. name: usertype
  25269. type: integer
  25270. - description: 现货商品id
  25271. in: query
  25272. name: deliverygoodsid
  25273. type: integer
  25274. produces:
  25275. - application/json
  25276. responses:
  25277. "200":
  25278. description: OK
  25279. schema:
  25280. items:
  25281. $ref: '#/definitions/models.Ermcp3Wrstandard'
  25282. type: array
  25283. "500":
  25284. description: Internal Server Error
  25285. schema:
  25286. $ref: '#/definitions/app.Response'
  25287. security:
  25288. - ApiKeyAuth: []
  25289. summary: 查询商品品类
  25290. tags:
  25291. - 企业风险管理v3(app)
  25292. /Ermcp3/QueryGoodsbrand:
  25293. get:
  25294. parameters:
  25295. - description: 用户id
  25296. in: query
  25297. name: userid
  25298. required: true
  25299. type: integer
  25300. - description: 用户类型 2-机构 7-企业成员
  25301. in: query
  25302. name: usertype
  25303. type: integer
  25304. produces:
  25305. - application/json
  25306. responses:
  25307. "200":
  25308. description: OK
  25309. schema:
  25310. items:
  25311. $ref: '#/definitions/models.Ermcp3Brand'
  25312. type: array
  25313. "500":
  25314. description: Internal Server Error
  25315. schema:
  25316. $ref: '#/definitions/app.Response'
  25317. security:
  25318. - ApiKeyAuth: []
  25319. summary: 查询商品品牌
  25320. tags:
  25321. - 企业风险管理v3(app)
  25322. /Ermcp3/QueryHPMiddleGoods:
  25323. get:
  25324. parameters:
  25325. - description: 用户ID(填登录用户的userid)
  25326. in: query
  25327. name: userid
  25328. required: true
  25329. type: integer
  25330. - description: 买卖方向 0-买 1-卖
  25331. in: query
  25332. name: buyorsell
  25333. required: true
  25334. type: integer
  25335. - description: 商品组id
  25336. in: query
  25337. name: goodsgroupid
  25338. required: true
  25339. type: integer
  25340. - description: 套保计划编号(模糊匹配)
  25341. in: query
  25342. name: hedgeplanno
  25343. type: string
  25344. - description: 现货商品名称(模糊匹配)
  25345. in: query
  25346. name: wrstandardname
  25347. type: string
  25348. produces:
  25349. - application/json
  25350. responses:
  25351. "200":
  25352. description: OK
  25353. schema:
  25354. items:
  25355. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  25356. type: array
  25357. "500":
  25358. description: Internal Server Error
  25359. schema:
  25360. $ref: '#/definitions/app.Response'
  25361. security:
  25362. - ApiKeyAuth: []
  25363. summary: 查询可关联套保计划
  25364. tags:
  25365. - 企业风险管理v3(app)
  25366. /Ermcp3/QueryHedgePlan:
  25367. get:
  25368. parameters:
  25369. - description: 用户ID
  25370. in: query
  25371. name: userid
  25372. required: true
  25373. type: integer
  25374. - description: 用户类型 2-机构 7-企业成员
  25375. in: query
  25376. name: usertype
  25377. type: integer
  25378. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25379. in: query
  25380. name: hedgeplanstatus
  25381. required: true
  25382. type: string
  25383. produces:
  25384. - application/json
  25385. responses:
  25386. "200":
  25387. description: OK
  25388. schema:
  25389. items:
  25390. $ref: '#/definitions/models.Ermcp3HedgePlan'
  25391. type: array
  25392. "500":
  25393. description: Internal Server Error
  25394. schema:
  25395. $ref: '#/definitions/app.Response'
  25396. security:
  25397. - ApiKeyAuth: []
  25398. summary: 查询套保计划
  25399. tags:
  25400. - 企业风险管理v3(app)
  25401. /Ermcp3/QueryInnerTradeLink:
  25402. get:
  25403. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  25404. parameters:
  25405. - description: 外部成交单号
  25406. in: query
  25407. name: outtradeid
  25408. required: true
  25409. type: integer
  25410. produces:
  25411. - application/json
  25412. responses:
  25413. "200":
  25414. description: OK
  25415. schema:
  25416. items:
  25417. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  25418. type: array
  25419. "500":
  25420. description: Internal Server Error
  25421. schema:
  25422. $ref: '#/definitions/app.Response'
  25423. security:
  25424. - ApiKeyAuth: []
  25425. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  25426. tags:
  25427. - 企业风险管理v3(app)
  25428. /Ermcp3/QueryMiddleGoodsDetail:
  25429. get:
  25430. parameters:
  25431. - description: 用户id
  25432. in: query
  25433. name: userid
  25434. required: true
  25435. type: integer
  25436. - description: 用户类型 2-机构 7-企业成员
  25437. in: query
  25438. name: usertype
  25439. type: integer
  25440. - description: 套保品种id
  25441. in: query
  25442. name: middlegoodsid
  25443. type: integer
  25444. produces:
  25445. - application/json
  25446. responses:
  25447. "200":
  25448. description: OK
  25449. schema:
  25450. items:
  25451. $ref: '#/definitions/models.TBMiddleGoods'
  25452. type: array
  25453. "500":
  25454. description: Internal Server Error
  25455. schema:
  25456. $ref: '#/definitions/app.Response'
  25457. security:
  25458. - ApiKeyAuth: []
  25459. summary: 查询套保品种详情(套保品种/商品详情)
  25460. tags:
  25461. - 企业风险管理v3(app)
  25462. /Ermcp3/QueryOutTradeLink:
  25463. get:
  25464. description: 页面 app 现货->期现关联->外部成交单关联
  25465. parameters:
  25466. - description: 用户ID(填登录用户的userid)
  25467. in: query
  25468. name: userid
  25469. required: true
  25470. type: integer
  25471. - description: 外部订单号(模糊匹配)
  25472. in: query
  25473. name: outtradeid
  25474. type: string
  25475. - description: 合约名称/代码(模糊匹配)
  25476. in: query
  25477. name: goodsname
  25478. type: string
  25479. - description: 关联状态 0-未关联 1-已关联
  25480. in: query
  25481. name: hasinnerorder
  25482. type: integer
  25483. produces:
  25484. - application/json
  25485. responses:
  25486. "200":
  25487. description: OK
  25488. schema:
  25489. items:
  25490. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  25491. type: array
  25492. "500":
  25493. description: Internal Server Error
  25494. schema:
  25495. $ref: '#/definitions/app.Response'
  25496. security:
  25497. - ApiKeyAuth: []
  25498. summary: 查询外部成交单关联
  25499. tags:
  25500. - 企业风险管理v3(app)
  25501. /Ermcp3/QueryPaAreaAuditCfg:
  25502. get:
  25503. parameters:
  25504. - description: 用户id
  25505. in: query
  25506. name: userid
  25507. required: true
  25508. type: integer
  25509. produces:
  25510. - application/json
  25511. responses:
  25512. "200":
  25513. description: OK
  25514. schema:
  25515. items:
  25516. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  25517. type: array
  25518. "500":
  25519. description: Internal Server Error
  25520. schema:
  25521. $ref: '#/definitions/app.Response'
  25522. security:
  25523. - ApiKeyAuth: []
  25524. summary: 查询审核设置
  25525. tags:
  25526. - 企业风险管理v3(app)
  25527. /Ermcp3/QueryPaAreaSubject:
  25528. get:
  25529. parameters:
  25530. - description: 用户id
  25531. in: query
  25532. name: userid
  25533. required: true
  25534. type: integer
  25535. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  25536. in: query
  25537. name: subjectid
  25538. type: integer
  25539. - description: 主体类型 - 1:交易主体 2:业务部门
  25540. in: query
  25541. name: subjecttype
  25542. type: integer
  25543. - description: '主体状态 - 1:正常 2: 停用'
  25544. in: query
  25545. name: subjectstatus
  25546. type: integer
  25547. produces:
  25548. - application/json
  25549. responses:
  25550. "200":
  25551. description: OK
  25552. schema:
  25553. items:
  25554. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  25555. type: array
  25556. "500":
  25557. description: Internal Server Error
  25558. schema:
  25559. $ref: '#/definitions/app.Response'
  25560. security:
  25561. - ApiKeyAuth: []
  25562. summary: 查询交易主体
  25563. tags:
  25564. - 企业风险管理v3(app)
  25565. /Ermcp3/QueryPaTradeLink:
  25566. get:
  25567. description: 页面 app 现货->期现关联->期现单据关联
  25568. parameters:
  25569. - description: 用户ID
  25570. in: query
  25571. name: userid
  25572. required: true
  25573. type: integer
  25574. produces:
  25575. - application/json
  25576. responses:
  25577. "200":
  25578. description: OK
  25579. schema:
  25580. items:
  25581. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  25582. type: array
  25583. "500":
  25584. description: Internal Server Error
  25585. schema:
  25586. $ref: '#/definitions/app.Response'
  25587. security:
  25588. - ApiKeyAuth: []
  25589. summary: 查询期现单据关联
  25590. tags:
  25591. - 企业风险管理v3(app)
  25592. /Ermcp3/QueryPaTradeLinkDetail:
  25593. get:
  25594. description: 页面 app 现货->期现关联->关联记录
  25595. parameters:
  25596. - description: 用户ID(填登录用户的userid)
  25597. in: query
  25598. name: userid
  25599. required: true
  25600. type: integer
  25601. - description: 关联状态 1:成功 2:失败 3:解绑
  25602. in: query
  25603. name: linkstatus
  25604. type: integer
  25605. - description: 期货订单号(模糊匹配)
  25606. in: query
  25607. name: tradeid
  25608. type: string
  25609. - description: 现货编号(模糊匹配)
  25610. in: query
  25611. name: contractno
  25612. type: string
  25613. - description: 期货账户(模糊匹配)
  25614. in: query
  25615. name: taname
  25616. type: string
  25617. produces:
  25618. - application/json
  25619. responses:
  25620. "200":
  25621. description: OK
  25622. schema:
  25623. items:
  25624. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  25625. type: array
  25626. "500":
  25627. description: Internal Server Error
  25628. schema:
  25629. $ref: '#/definitions/app.Response'
  25630. security:
  25631. - ApiKeyAuth: []
  25632. summary: 查询期现关联记录
  25633. tags:
  25634. - 企业风险管理v3(app)
  25635. /Ermcp3/QueryParamChangeApp:
  25636. get:
  25637. description: |-
  25638. 原型页面:
  25639. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  25640. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  25641. parameters:
  25642. - description: 用户ID
  25643. in: query
  25644. name: userid
  25645. required: true
  25646. type: integer
  25647. - description: 现货品种id
  25648. in: query
  25649. name: deliverygoodsid
  25650. type: integer
  25651. - description: 现货商品id
  25652. in: query
  25653. name: wrstandardid
  25654. type: integer
  25655. - description: 套保商品id
  25656. in: query
  25657. name: middlegoodsid
  25658. type: integer
  25659. - description: 操作类型 1:新增 2:修改
  25660. in: query
  25661. name: operatetype
  25662. type: integer
  25663. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  25664. in: query
  25665. name: paramchangetype
  25666. type: integer
  25667. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25668. in: query
  25669. name: ftstatus
  25670. type: string
  25671. produces:
  25672. - application/json
  25673. responses:
  25674. "200":
  25675. description: OK
  25676. schema:
  25677. items:
  25678. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  25679. type: array
  25680. "500":
  25681. description: Internal Server Error
  25682. schema:
  25683. $ref: '#/definitions/app.Response'
  25684. security:
  25685. - ApiKeyAuth: []
  25686. summary: 查询现货商品参数变更申请(流水)
  25687. tags:
  25688. - 企业风险管理v3(app)
  25689. /Ermcp3/QueryRootUserAccount:
  25690. get:
  25691. parameters:
  25692. - description: 用户ID
  25693. in: query
  25694. name: userid
  25695. required: true
  25696. type: integer
  25697. produces:
  25698. - application/json
  25699. responses:
  25700. "200":
  25701. description: OK
  25702. schema:
  25703. items:
  25704. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  25705. type: array
  25706. "500":
  25707. description: Internal Server Error
  25708. schema:
  25709. $ref: '#/definitions/app.Response'
  25710. security:
  25711. - ApiKeyAuth: []
  25712. summary: 查询顶级用户信息
  25713. tags:
  25714. - 企业风险管理v3(app)
  25715. /Ermcp3/QuerySCMiddleGoods:
  25716. get:
  25717. description: |-
  25718. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  25719. 现货编号 即 合同编号
  25720. parameters:
  25721. - description: 用户ID(填登录用户的userid)
  25722. in: query
  25723. name: userid
  25724. required: true
  25725. type: integer
  25726. - description: 买卖方向 0-买 1-卖
  25727. in: query
  25728. name: buyorsell
  25729. required: true
  25730. type: integer
  25731. - description: 商品组id
  25732. in: query
  25733. name: goodsgroupid
  25734. required: true
  25735. type: integer
  25736. - description: 业务类型 1:套保 2:套利
  25737. in: query
  25738. name: biztype
  25739. type: integer
  25740. - description: 现货编号(模糊匹配)
  25741. in: query
  25742. name: contractno
  25743. type: string
  25744. - description: 对手方(模糊匹配)
  25745. in: query
  25746. name: customername
  25747. type: string
  25748. - description: 现货商品名称(模糊匹配)
  25749. in: query
  25750. name: wrstandardname
  25751. type: string
  25752. produces:
  25753. - application/json
  25754. responses:
  25755. "200":
  25756. description: OK
  25757. schema:
  25758. items:
  25759. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  25760. type: array
  25761. "500":
  25762. description: Internal Server Error
  25763. schema:
  25764. $ref: '#/definitions/app.Response'
  25765. security:
  25766. - ApiKeyAuth: []
  25767. summary: 查询现货订单
  25768. tags:
  25769. - 企业风险管理v3(app)
  25770. /Ermcp3/QuerySpotContract:
  25771. get:
  25772. parameters:
  25773. - description: 用户id(当指定contractid, userid可不填)
  25774. in: query
  25775. name: userid
  25776. required: true
  25777. type: integer
  25778. - description: 用户类型 2-机构 7-企业成员
  25779. in: query
  25780. name: usertype
  25781. type: integer
  25782. - description: 合同类型 1-采购, -1-销售
  25783. in: query
  25784. name: contracttype
  25785. type: integer
  25786. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25787. in: query
  25788. name: querytype
  25789. type: string
  25790. - description: 合同ID(SpotContractId)
  25791. in: query
  25792. name: contractid
  25793. type: string
  25794. - description: 合同编号(模糊匹配)
  25795. in: query
  25796. name: contractno
  25797. type: string
  25798. - description: 商品名称(模糊匹配)
  25799. in: query
  25800. name: wrstandardname
  25801. type: string
  25802. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25803. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25804. in: query
  25805. name: status
  25806. type: string
  25807. - description: 是否只查今日的合同 1-查今日合同
  25808. in: query
  25809. name: istoday
  25810. type: integer
  25811. produces:
  25812. - application/json
  25813. responses:
  25814. "200":
  25815. description: OK
  25816. schema:
  25817. items:
  25818. $ref: '#/definitions/models.Ermcp3Contract'
  25819. type: array
  25820. "500":
  25821. description: Internal Server Error
  25822. schema:
  25823. $ref: '#/definitions/app.Response'
  25824. security:
  25825. - ApiKeyAuth: []
  25826. summary: 查询现货合同
  25827. tags:
  25828. - 企业风险管理v3(app)
  25829. /Ermcp3/QuerySpotContractBS:
  25830. get:
  25831. parameters:
  25832. - description: 用户id
  25833. in: query
  25834. name: userid
  25835. required: true
  25836. type: integer
  25837. - description: 用户类型 2-机构 7-企业成员
  25838. in: query
  25839. name: usertype
  25840. type: integer
  25841. - description: 合同类型 1-采购, -1-销售
  25842. in: query
  25843. name: contracttype
  25844. required: true
  25845. type: integer
  25846. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25847. in: query
  25848. name: querytype
  25849. type: integer
  25850. - description: 合同ID(SpotContractId)
  25851. in: query
  25852. name: contractid
  25853. type: string
  25854. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25855. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25856. in: query
  25857. name: status
  25858. type: string
  25859. - description: 是否只查今日的合同 1-查今日合同
  25860. in: query
  25861. name: istoday
  25862. type: integer
  25863. produces:
  25864. - application/json
  25865. responses:
  25866. "200":
  25867. description: OK
  25868. schema:
  25869. items:
  25870. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25871. type: array
  25872. "500":
  25873. description: Internal Server Error
  25874. schema:
  25875. $ref: '#/definitions/app.Response'
  25876. security:
  25877. - ApiKeyAuth: []
  25878. summary: 查询合同(采购/销售)
  25879. tags:
  25880. - 企业风险管理v3(app)
  25881. /Ermcp3/QuerySpotGoodsPrice:
  25882. get:
  25883. parameters:
  25884. - description: 用户ID
  25885. in: query
  25886. name: userid
  25887. required: true
  25888. type: integer
  25889. produces:
  25890. - application/json
  25891. responses:
  25892. "200":
  25893. description: OK
  25894. schema:
  25895. items:
  25896. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25897. type: array
  25898. "500":
  25899. description: Internal Server Error
  25900. schema:
  25901. $ref: '#/definitions/app.Response'
  25902. security:
  25903. - ApiKeyAuth: []
  25904. summary: 查询现货市价(现货市价)
  25905. tags:
  25906. - 企业风险管理v3(app)
  25907. /Ermcp3/QuerySpotGoodsPriceLog:
  25908. get:
  25909. parameters:
  25910. - description: 用户ID
  25911. in: query
  25912. name: userid
  25913. required: true
  25914. type: integer
  25915. - description: 现货商品ID
  25916. in: query
  25917. name: deliverygoodsid
  25918. required: true
  25919. type: integer
  25920. - description: 品牌ID
  25921. in: query
  25922. name: brandid
  25923. type: integer
  25924. - description: 品类ID
  25925. in: query
  25926. name: wrstandardid
  25927. type: integer
  25928. produces:
  25929. - application/json
  25930. responses:
  25931. "200":
  25932. description: OK
  25933. schema:
  25934. items:
  25935. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  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. - 企业风险管理v3(app)
  25946. /Ermcp3/QuerySubTaaccount:
  25947. get:
  25948. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  25949. parameters:
  25950. - description: 母账号id
  25951. in: query
  25952. name: parentaccountid
  25953. type: integer
  25954. - description: 母账号代码
  25955. in: query
  25956. name: parentaccountcode
  25957. type: string
  25958. produces:
  25959. - application/json
  25960. responses:
  25961. "200":
  25962. description: OK
  25963. schema:
  25964. items:
  25965. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  25966. type: array
  25967. "500":
  25968. description: Internal Server Error
  25969. schema:
  25970. $ref: '#/definitions/app.Response'
  25971. security:
  25972. - ApiKeyAuth: []
  25973. summary: 查询期货子账户
  25974. tags:
  25975. - 企业风险管理v3(app)
  25976. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  25977. get:
  25978. parameters:
  25979. - description: 套期项目ID
  25980. in: query
  25981. name: hedgeditemid
  25982. required: true
  25983. type: integer
  25984. produces:
  25985. - application/json
  25986. responses:
  25987. "200":
  25988. description: OK
  25989. schema:
  25990. items:
  25991. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  25992. type: array
  25993. "500":
  25994. description: Internal Server Error
  25995. schema:
  25996. $ref: '#/definitions/app.Response'
  25997. security:
  25998. - ApiKeyAuth: []
  25999. summary: 现货成交明细查询
  26000. tags:
  26001. - 企业风险管理v8
  26002. /Ermcp8/QueryERMCP2HedgedItemspot:
  26003. get:
  26004. parameters:
  26005. - description: 套期项目ID
  26006. in: query
  26007. name: hedgeditemid
  26008. required: true
  26009. type: integer
  26010. produces:
  26011. - application/json
  26012. responses:
  26013. "200":
  26014. description: OK
  26015. schema:
  26016. items:
  26017. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  26018. type: array
  26019. "500":
  26020. description: Internal Server Error
  26021. schema:
  26022. $ref: '#/definitions/app.Response'
  26023. security:
  26024. - ApiKeyAuth: []
  26025. summary: 套期计划明细查询
  26026. tags:
  26027. - 企业风险管理v8
  26028. /Ermcp8/QueryERMCPJRLinkPos:
  26029. get:
  26030. parameters:
  26031. - description: 套期项目ID
  26032. in: query
  26033. name: hedgeditemid
  26034. required: true
  26035. type: integer
  26036. produces:
  26037. - application/json
  26038. responses:
  26039. "200":
  26040. description: OK
  26041. schema:
  26042. items:
  26043. $ref: '#/definitions/models.Ermcpjrlinkpos'
  26044. type: array
  26045. "500":
  26046. description: Internal Server Error
  26047. schema:
  26048. $ref: '#/definitions/app.Response'
  26049. security:
  26050. - ApiKeyAuth: []
  26051. summary: 期货持仓明细查询
  26052. tags:
  26053. - 企业风险管理v8
  26054. /Ermcp8/QueryERMCPPatradeLinkDetail:
  26055. get:
  26056. parameters:
  26057. - description: 套期项目ID
  26058. in: query
  26059. name: hedgeditemid
  26060. required: true
  26061. type: integer
  26062. produces:
  26063. - application/json
  26064. responses:
  26065. "200":
  26066. description: OK
  26067. schema:
  26068. items:
  26069. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  26070. type: array
  26071. "500":
  26072. description: Internal Server Error
  26073. schema:
  26074. $ref: '#/definitions/app.Response'
  26075. security:
  26076. - ApiKeyAuth: []
  26077. summary: 期货成交单明细查询
  26078. tags:
  26079. - 企业风险管理v8
  26080. /Ermcp8/QueryErmcp2AreaExposure:
  26081. get:
  26082. parameters:
  26083. - description: 用户ID
  26084. in: query
  26085. name: userid
  26086. required: true
  26087. type: string
  26088. produces:
  26089. - application/json
  26090. responses:
  26091. "200":
  26092. description: OK
  26093. schema:
  26094. items:
  26095. $ref: '#/definitions/models.Ermcp2AreaExposure'
  26096. type: array
  26097. "500":
  26098. description: Internal Server Error
  26099. schema:
  26100. $ref: '#/definitions/app.Response'
  26101. security:
  26102. - ApiKeyAuth: []
  26103. summary: 企业敞口查询
  26104. tags:
  26105. - 企业风险管理v8
  26106. /Ermcp8/QueryErmcp2HedgedItem:
  26107. get:
  26108. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  26109. parameters:
  26110. - description: 用户ID
  26111. in: query
  26112. name: userid
  26113. required: true
  26114. type: string
  26115. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26116. in: query
  26117. name: hedgedtype
  26118. type: integer
  26119. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26120. in: query
  26121. name: hedgeditemstatus
  26122. type: integer
  26123. produces:
  26124. - application/json
  26125. responses:
  26126. "200":
  26127. description: OK
  26128. schema:
  26129. items:
  26130. $ref: '#/definitions/models.Ermcp2hedgeditem'
  26131. type: array
  26132. "500":
  26133. description: Internal Server Error
  26134. schema:
  26135. $ref: '#/definitions/app.Response'
  26136. security:
  26137. - ApiKeyAuth: []
  26138. summary: 查询被套期项目信息
  26139. tags:
  26140. - 企业风险管理v8
  26141. /Ermcp8/QueryErmcp2HedgedItemLink:
  26142. get:
  26143. parameters:
  26144. - description: 现货合同ID
  26145. in: query
  26146. name: spotcontractid
  26147. required: true
  26148. type: integer
  26149. produces:
  26150. - application/json
  26151. responses:
  26152. "200":
  26153. description: OK
  26154. schema:
  26155. items:
  26156. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  26157. type: array
  26158. "500":
  26159. description: Internal Server Error
  26160. schema:
  26161. $ref: '#/definitions/app.Response'
  26162. security:
  26163. - ApiKeyAuth: []
  26164. summary: 现货合同关联被套期项目查询
  26165. tags:
  26166. - 企业风险管理v8
  26167. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  26168. get:
  26169. parameters:
  26170. - description: 用户ID
  26171. in: query
  26172. name: userid
  26173. required: true
  26174. type: integer
  26175. - description: 套保品种ID
  26176. in: query
  26177. name: middlegoodsid
  26178. required: true
  26179. type: integer
  26180. produces:
  26181. - application/json
  26182. responses:
  26183. "200":
  26184. description: OK
  26185. schema:
  26186. items:
  26187. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  26188. type: array
  26189. "500":
  26190. description: Internal Server Error
  26191. schema:
  26192. $ref: '#/definitions/app.Response'
  26193. security:
  26194. - ApiKeyAuth: []
  26195. summary: 敞口明细 - 计划变动明细
  26196. tags:
  26197. - 企业风险管理v8
  26198. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  26199. get:
  26200. parameters:
  26201. - description: 用户ID
  26202. in: query
  26203. name: userid
  26204. required: true
  26205. type: integer
  26206. - description: 套保品种ID
  26207. in: query
  26208. name: middlegoodsid
  26209. required: true
  26210. type: integer
  26211. produces:
  26212. - application/json
  26213. responses:
  26214. "200":
  26215. description: OK
  26216. schema:
  26217. items:
  26218. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  26219. type: array
  26220. "500":
  26221. description: Internal Server Error
  26222. schema:
  26223. $ref: '#/definitions/app.Response'
  26224. security:
  26225. - ApiKeyAuth: []
  26226. summary: 敞口明细 - 现货变动明细查询
  26227. tags:
  26228. - 企业风险管理v8
  26229. /Ermcp8/QueryErmcp8EnableHedgeditem:
  26230. get:
  26231. parameters:
  26232. - description: 用户ID
  26233. in: query
  26234. name: userid
  26235. required: true
  26236. type: integer
  26237. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  26238. in: query
  26239. name: spottype
  26240. required: true
  26241. type: integer
  26242. - description: 现货商品ID
  26243. in: query
  26244. name: wrstandardid
  26245. type: integer
  26246. produces:
  26247. - application/json
  26248. responses:
  26249. "200":
  26250. description: OK
  26251. schema:
  26252. items:
  26253. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  26254. type: array
  26255. "500":
  26256. description: Internal Server Error
  26257. schema:
  26258. $ref: '#/definitions/app.Response'
  26259. security:
  26260. - ApiKeyAuth: []
  26261. summary: 可关联项目查询
  26262. tags:
  26263. - 企业风险管理v8
  26264. /Ermcp8/QueryErmcp8HedgeditemReport:
  26265. get:
  26266. parameters:
  26267. - description: 用户ID
  26268. in: query
  26269. name: userid
  26270. required: true
  26271. type: integer
  26272. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26273. in: query
  26274. name: cycletype
  26275. type: integer
  26276. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26277. 全(0)【原值】
  26278. in: query
  26279. name: cycletime
  26280. required: true
  26281. type: string
  26282. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26283. in: query
  26284. name: hedgedtype
  26285. type: integer
  26286. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26287. in: query
  26288. name: hedgeditemstatus
  26289. type: integer
  26290. - description: 项目编号,模糊查询
  26291. in: query
  26292. name: hedgeditemnum
  26293. type: string
  26294. - description: 现货商品ID
  26295. in: query
  26296. name: wrstandardid
  26297. type: integer
  26298. produces:
  26299. - application/json
  26300. responses:
  26301. "200":
  26302. description: OK
  26303. schema:
  26304. items:
  26305. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  26306. type: array
  26307. "500":
  26308. description: Internal Server Error
  26309. schema:
  26310. $ref: '#/definitions/app.Response'
  26311. security:
  26312. - ApiKeyAuth: []
  26313. summary: 套期项目报表查询
  26314. tags:
  26315. - 企业风险管理v8
  26316. /Ermcp8/QueryErmcp8RunningHedgeditem:
  26317. get:
  26318. parameters:
  26319. - description: 用户ID
  26320. in: query
  26321. name: userid
  26322. required: true
  26323. type: string
  26324. produces:
  26325. - application/json
  26326. responses:
  26327. "200":
  26328. description: OK
  26329. schema:
  26330. items:
  26331. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  26332. type: array
  26333. "500":
  26334. description: Internal Server Error
  26335. schema:
  26336. $ref: '#/definitions/app.Response'
  26337. security:
  26338. - ApiKeyAuth: []
  26339. summary: 查询执行中项目查询信息
  26340. tags:
  26341. - 企业风险管理v8
  26342. /Ermcp8/QueryInternalEnableTradeDetail:
  26343. get:
  26344. parameters:
  26345. - description: 企业ID
  26346. in: query
  26347. name: areauserid
  26348. required: true
  26349. type: integer
  26350. - description: 期货合约ID
  26351. in: query
  26352. name: goodsid
  26353. required: true
  26354. type: integer
  26355. - description: 交易用户ID
  26356. in: query
  26357. name: tradeuserid
  26358. required: true
  26359. type: integer
  26360. produces:
  26361. - application/json
  26362. responses:
  26363. "200":
  26364. description: OK
  26365. schema:
  26366. items:
  26367. $ref: '#/definitions/models.InternalEnableTradeDetail'
  26368. type: array
  26369. "500":
  26370. description: Internal Server Error
  26371. schema:
  26372. $ref: '#/definitions/app.Response'
  26373. security:
  26374. - ApiKeyAuth: []
  26375. summary: 内部成交单可关联项目查询
  26376. tags:
  26377. - 企业风险管理v8
  26378. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  26379. get:
  26380. parameters:
  26381. - description: 用户编号
  26382. in: query
  26383. name: userid
  26384. required: true
  26385. type: integer
  26386. - description: 起始日期(格式yyyymmdd)
  26387. in: query
  26388. name: begindate
  26389. type: string
  26390. - description: 终止日期(格式yyyymmdd)
  26391. in: query
  26392. name: enddate
  26393. type: string
  26394. - description: 合约代码
  26395. in: query
  26396. name: goodscode
  26397. type: string
  26398. - description: 合约名称
  26399. in: query
  26400. name: goodsname
  26401. type: string
  26402. - description: 成交单号
  26403. in: query
  26404. name: tradeid
  26405. type: integer
  26406. - description: 方向 - 0:买 1:卖
  26407. in: query
  26408. name: buyorsell
  26409. type: integer
  26410. - description: 套期主体
  26411. in: query
  26412. name: accountname
  26413. type: string
  26414. produces:
  26415. - application/json
  26416. responses:
  26417. "200":
  26418. description: OK
  26419. schema:
  26420. items:
  26421. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  26422. type: array
  26423. "500":
  26424. description: Internal Server Error
  26425. schema:
  26426. $ref: '#/definitions/app.Response'
  26427. security:
  26428. - ApiKeyAuth: []
  26429. summary: 内部未关联成交单查询
  26430. tags:
  26431. - 企业风险管理v8
  26432. /Ermcp8/QueryMarketCalendar:
  26433. get:
  26434. parameters:
  26435. - description: 市场ID
  26436. in: query
  26437. name: marketid
  26438. type: integer
  26439. produces:
  26440. - application/json
  26441. responses:
  26442. "200":
  26443. description: OK
  26444. schema:
  26445. items:
  26446. $ref: '#/definitions/models.Marketcalendar'
  26447. type: array
  26448. "500":
  26449. description: Internal Server Error
  26450. schema:
  26451. $ref: '#/definitions/app.Response'
  26452. security:
  26453. - ApiKeyAuth: []
  26454. summary: 市场节假日查询
  26455. tags:
  26456. - 企业风险管理v8
  26457. /Ermcp8/QueryPatradeLinkDetail:
  26458. get:
  26459. parameters:
  26460. - description: 用户ID
  26461. in: query
  26462. name: userid
  26463. required: true
  26464. type: integer
  26465. - description: 套保品种ID
  26466. in: query
  26467. name: middlegoodsid
  26468. required: true
  26469. type: integer
  26470. produces:
  26471. - application/json
  26472. responses:
  26473. "200":
  26474. description: OK
  26475. schema:
  26476. items:
  26477. $ref: '#/definitions/models.Patradelinkdetail'
  26478. type: array
  26479. "500":
  26480. description: Internal Server Error
  26481. schema:
  26482. $ref: '#/definitions/app.Response'
  26483. security:
  26484. - ApiKeyAuth: []
  26485. summary: 敞口明细 - 期货变动明细
  26486. tags:
  26487. - 企业风险管理v8
  26488. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  26489. get:
  26490. parameters:
  26491. - description: 企业ID
  26492. in: query
  26493. name: areauserid
  26494. required: true
  26495. type: integer
  26496. - description: 计划类型 - 1:采购 -1:销售
  26497. in: query
  26498. name: contracttype
  26499. type: integer
  26500. - description: 计划编号,模糊查询
  26501. in: query
  26502. name: hedgeplanno
  26503. type: string
  26504. - description: 现货商品,模糊查询
  26505. in: query
  26506. name: wrstandardname
  26507. type: string
  26508. produces:
  26509. - application/json
  26510. responses:
  26511. "200":
  26512. description: OK
  26513. schema:
  26514. items:
  26515. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  26516. type: array
  26517. "500":
  26518. description: Internal Server Error
  26519. schema:
  26520. $ref: '#/definitions/app.Response'
  26521. security:
  26522. - ApiKeyAuth: []
  26523. summary: 未关联购销计划
  26524. tags:
  26525. - 企业风险管理v8
  26526. /Ermcp8/QueryUnLinkSpotContract:
  26527. get:
  26528. parameters:
  26529. - description: 用户ID
  26530. in: query
  26531. name: userid
  26532. required: true
  26533. type: integer
  26534. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  26535. in: query
  26536. name: pricetype
  26537. type: integer
  26538. - description: 合同编号, 模拟查询
  26539. in: query
  26540. name: contractno
  26541. type: string
  26542. - description: 对手方, 模拟查询
  26543. in: query
  26544. name: customername
  26545. type: string
  26546. - description: 项合同类型 - 1:采购 -1:销售
  26547. in: query
  26548. name: contracttype
  26549. type: integer
  26550. produces:
  26551. - application/json
  26552. responses:
  26553. "200":
  26554. description: OK
  26555. schema:
  26556. items:
  26557. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  26558. type: array
  26559. "500":
  26560. description: Internal Server Error
  26561. schema:
  26562. $ref: '#/definitions/app.Response'
  26563. security:
  26564. - ApiKeyAuth: []
  26565. summary: 未关联合同查询
  26566. tags:
  26567. - 企业风险管理v8
  26568. /Erms2/QueryArbitrageStrategy:
  26569. get:
  26570. parameters:
  26571. - description: 账户ID
  26572. in: query
  26573. name: userid
  26574. required: true
  26575. type: integer
  26576. - description: 商品组ID(品种ID)
  26577. in: query
  26578. name: goodsgroupid
  26579. type: string
  26580. produces:
  26581. - application/json
  26582. responses:
  26583. "200":
  26584. description: OK
  26585. schema:
  26586. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  26587. "500":
  26588. description: Internal Server Error
  26589. schema:
  26590. $ref: '#/definitions/app.Response'
  26591. security:
  26592. - ApiKeyAuth: []
  26593. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  26594. tags:
  26595. - 风险管理
  26596. /Erms2/QueryInnerTradeDetail:
  26597. get:
  26598. parameters:
  26599. - description: 资金账户
  26600. in: query
  26601. name: accountid
  26602. required: true
  26603. type: integer
  26604. produces:
  26605. - application/json
  26606. responses:
  26607. "200":
  26608. description: OK
  26609. schema:
  26610. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  26611. "500":
  26612. description: Internal Server Error
  26613. schema:
  26614. $ref: '#/definitions/app.Response'
  26615. security:
  26616. - ApiKeyAuth: []
  26617. summary: 查询内部成交单信息
  26618. tags:
  26619. - 风险管理
  26620. /Erms2/QuerySpotContract:
  26621. get:
  26622. parameters:
  26623. - description: 策略申请ID
  26624. in: query
  26625. name: asapplyid
  26626. required: true
  26627. type: integer
  26628. - description: 现货合同ID
  26629. in: query
  26630. name: spotcontractid
  26631. type: integer
  26632. produces:
  26633. - application/json
  26634. responses:
  26635. "200":
  26636. description: OK
  26637. schema:
  26638. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  26639. "500":
  26640. description: Internal Server Error
  26641. schema:
  26642. $ref: '#/definitions/app.Response'
  26643. security:
  26644. - ApiKeyAuth: []
  26645. summary: 查询现货合同表信息(指定策略ID、未结束的)
  26646. tags:
  26647. - 风险管理
  26648. /Erms3/AddErms2ASApply:
  26649. post:
  26650. parameters:
  26651. - description: 申请参数
  26652. in: body
  26653. name: jsonBody
  26654. required: true
  26655. schema:
  26656. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  26657. produces:
  26658. - application/json
  26659. responses:
  26660. "200":
  26661. description: OK
  26662. schema:
  26663. $ref: '#/definitions/app.Response'
  26664. "500":
  26665. description: Internal Server Error
  26666. schema:
  26667. $ref: '#/definitions/app.Response'
  26668. security:
  26669. - ApiKeyAuth: []
  26670. summary: 新增期现套利业务申请
  26671. tags:
  26672. - 风险管理v3
  26673. /Erms3/AddErms2SpotTradeApply:
  26674. post:
  26675. parameters:
  26676. - description: 申请参数
  26677. in: body
  26678. name: jsonBody
  26679. required: true
  26680. schema:
  26681. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  26682. produces:
  26683. - application/json
  26684. responses:
  26685. "200":
  26686. description: OK
  26687. schema:
  26688. $ref: '#/definitions/app.Response'
  26689. "500":
  26690. description: Internal Server Error
  26691. schema:
  26692. $ref: '#/definitions/app.Response'
  26693. security:
  26694. - ApiKeyAuth: []
  26695. summary: 新增现货贸易业务申请
  26696. tags:
  26697. - 风险管理v3
  26698. /Erms3/AddSpotContractApply:
  26699. post:
  26700. parameters:
  26701. - description: 申请参数
  26702. in: body
  26703. name: jsonBody
  26704. required: true
  26705. schema:
  26706. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  26707. produces:
  26708. - application/json
  26709. responses:
  26710. "200":
  26711. description: OK
  26712. schema:
  26713. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  26714. "500":
  26715. description: Internal Server Error
  26716. schema:
  26717. $ref: '#/definitions/app.Response'
  26718. security:
  26719. - ApiKeyAuth: []
  26720. summary: 新增现货合同申请
  26721. tags:
  26722. - 风险管理v3
  26723. /Erms3/AddUserInfoApply:
  26724. post:
  26725. parameters:
  26726. - description: 用户信息
  26727. in: body
  26728. name: jsonBody
  26729. required: true
  26730. schema:
  26731. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  26732. produces:
  26733. - application/json
  26734. responses:
  26735. "200":
  26736. description: OK
  26737. schema:
  26738. $ref: '#/definitions/app.Response'
  26739. "500":
  26740. description: Internal Server Error
  26741. schema:
  26742. $ref: '#/definitions/app.Response'
  26743. security:
  26744. - ApiKeyAuth: []
  26745. summary: 新增客户申请
  26746. tags:
  26747. - 风险管理v3
  26748. /Erms3/DeleteUserInfoApply:
  26749. get:
  26750. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  26751. parameters:
  26752. - description: 用户ID
  26753. in: query
  26754. name: userID
  26755. required: true
  26756. type: integer
  26757. produces:
  26758. - application/json
  26759. responses:
  26760. "200":
  26761. description: OK
  26762. schema:
  26763. $ref: '#/definitions/app.Response'
  26764. "500":
  26765. description: Internal Server Error
  26766. schema:
  26767. $ref: '#/definitions/app.Response'
  26768. security:
  26769. - ApiKeyAuth: []
  26770. summary: 删除客户申请
  26771. tags:
  26772. - 风险管理v3
  26773. /Erms3/ModifyUserInfoApply:
  26774. post:
  26775. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  26776. int, "userstate": 2 }'
  26777. parameters:
  26778. - description: 用户信息
  26779. in: body
  26780. name: jsonBody
  26781. required: true
  26782. schema:
  26783. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  26784. produces:
  26785. - application/json
  26786. responses:
  26787. "200":
  26788. description: OK
  26789. schema:
  26790. $ref: '#/definitions/app.Response'
  26791. "500":
  26792. description: Internal Server Error
  26793. schema:
  26794. $ref: '#/definitions/app.Response'
  26795. security:
  26796. - ApiKeyAuth: []
  26797. summary: 修改客户申请
  26798. tags:
  26799. - 风险管理v3
  26800. /Erms3/QueryBusinessInfo:
  26801. get:
  26802. parameters:
  26803. - description: 资金账号ID列表,用逗号分隔
  26804. in: query
  26805. name: accountids
  26806. required: true
  26807. type: string
  26808. - description: 状态,0为未结束 1为已结束
  26809. in: query
  26810. name: status
  26811. required: true
  26812. type: integer
  26813. produces:
  26814. - application/json
  26815. responses:
  26816. "200":
  26817. description: OK
  26818. schema:
  26819. items:
  26820. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  26821. type: array
  26822. "500":
  26823. description: Internal Server Error
  26824. schema:
  26825. $ref: '#/definitions/app.Response'
  26826. security:
  26827. - ApiKeyAuth: []
  26828. summary: 查询业务表单数据
  26829. tags:
  26830. - 风险管理v3
  26831. /Erms3/QueryPendingAuditContract:
  26832. get:
  26833. parameters:
  26834. - description: 资金账号ID列表,逗号隔开
  26835. in: query
  26836. name: accountids
  26837. required: true
  26838. type: string
  26839. - description: 合同类型 1-采购 -1-销售
  26840. in: query
  26841. name: contracttype
  26842. required: true
  26843. type: integer
  26844. - description: 合同模式 1-普通 2-回购
  26845. in: query
  26846. name: contractmode
  26847. required: true
  26848. type: integer
  26849. produces:
  26850. - application/json
  26851. responses:
  26852. "200":
  26853. description: OK
  26854. schema:
  26855. items:
  26856. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26857. type: array
  26858. "500":
  26859. description: Internal Server Error
  26860. schema:
  26861. $ref: '#/definitions/app.Response'
  26862. security:
  26863. - ApiKeyAuth: []
  26864. summary: 查询待审核合同
  26865. tags:
  26866. - 风险管理v3
  26867. /Erms3/QueryPendingBusiness:
  26868. get:
  26869. parameters:
  26870. - description: 资金账号ID列表,逗号隔开
  26871. in: query
  26872. name: accountids
  26873. required: true
  26874. type: string
  26875. produces:
  26876. - application/json
  26877. responses:
  26878. "200":
  26879. description: OK
  26880. schema:
  26881. items:
  26882. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26883. type: array
  26884. "500":
  26885. description: Internal Server Error
  26886. schema:
  26887. $ref: '#/definitions/app.Response'
  26888. security:
  26889. - ApiKeyAuth: []
  26890. summary: 查询待审核基差贸易业务
  26891. tags:
  26892. - 风险管理v3
  26893. /Erms3/QuerySpotContractAppleForm:
  26894. get:
  26895. parameters:
  26896. - description: 登录账号
  26897. in: query
  26898. name: loginID
  26899. required: true
  26900. type: integer
  26901. produces:
  26902. - application/json
  26903. responses:
  26904. "200":
  26905. description: OK
  26906. schema:
  26907. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26908. "500":
  26909. description: Internal Server Error
  26910. schema:
  26911. $ref: '#/definitions/app.Response'
  26912. security:
  26913. - ApiKeyAuth: []
  26914. summary: 查询合同申请表单数据
  26915. tags:
  26916. - 风险管理v3
  26917. /Erms3/QuerySpotContractDetail:
  26918. get:
  26919. parameters:
  26920. - description: 资金账号ID列表,用逗号分隔
  26921. in: query
  26922. name: accountids
  26923. required: true
  26924. type: string
  26925. - description: 合同类型,1为采购合同 -1为销售合同
  26926. in: query
  26927. name: contracttype
  26928. required: true
  26929. type: integer
  26930. - description: 合同模式,1为普通合同 2为回购销售合同
  26931. in: query
  26932. name: contractmode
  26933. required: true
  26934. type: integer
  26935. - description: 状态,0为履约中 1为已完成
  26936. in: query
  26937. name: status
  26938. required: true
  26939. type: integer
  26940. produces:
  26941. - application/json
  26942. responses:
  26943. "200":
  26944. description: OK
  26945. schema:
  26946. items:
  26947. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  26948. type: array
  26949. "500":
  26950. description: Internal Server Error
  26951. schema:
  26952. $ref: '#/definitions/app.Response'
  26953. security:
  26954. - ApiKeyAuth: []
  26955. summary: 查询合同详细信息
  26956. tags:
  26957. - 风险管理v3
  26958. /Erms3/QueryUserInfoApplies:
  26959. get:
  26960. parameters:
  26961. - description: 页码
  26962. in: query
  26963. name: page
  26964. type: integer
  26965. - description: 每页条数
  26966. in: query
  26967. name: pagesize
  26968. type: integer
  26969. - description: 客户名称,支持模糊查询
  26970. in: query
  26971. name: userName
  26972. type: string
  26973. produces:
  26974. - application/json
  26975. responses:
  26976. "200":
  26977. description: OK
  26978. schema:
  26979. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  26980. "500":
  26981. description: Internal Server Error
  26982. schema:
  26983. $ref: '#/definitions/app.Response'
  26984. security:
  26985. - ApiKeyAuth: []
  26986. summary: 客户申请信息查询
  26987. tags:
  26988. - 风险管理v3
  26989. /Erms3/QueryUserInfos:
  26990. get:
  26991. parameters:
  26992. - description: 页码
  26993. in: query
  26994. name: page
  26995. type: integer
  26996. - description: 每页条数
  26997. in: query
  26998. name: pagesize
  26999. type: integer
  27000. - description: 客户名称,支持模糊查询
  27001. in: query
  27002. name: userName
  27003. type: string
  27004. produces:
  27005. - application/json
  27006. responses:
  27007. "200":
  27008. description: OK
  27009. schema:
  27010. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  27011. "500":
  27012. description: Internal Server Error
  27013. schema:
  27014. $ref: '#/definitions/app.Response'
  27015. security:
  27016. - ApiKeyAuth: []
  27017. summary: 客户信息查询
  27018. tags:
  27019. - 风险管理v3
  27020. /Guangzuan/QueryBuyOrder:
  27021. get:
  27022. parameters:
  27023. - description: 页码
  27024. in: query
  27025. name: page
  27026. type: integer
  27027. - description: 每页条数
  27028. in: query
  27029. name: pagesize
  27030. type: integer
  27031. - description: 商品(查询字段-模糊查询)
  27032. in: query
  27033. name: zsallproperties
  27034. type: string
  27035. - description: 钻石分类枚举ID
  27036. in: query
  27037. name: zscategory
  27038. type: integer
  27039. - description: 委托单号
  27040. in: query
  27041. name: wrtradeorderid
  27042. type: integer
  27043. - description: 买方(查询字段-模糊查询)
  27044. in: query
  27045. name: buyusername
  27046. type: string
  27047. produces:
  27048. - application/json
  27049. responses:
  27050. "200":
  27051. description: OK
  27052. schema:
  27053. items:
  27054. $ref: '#/definitions/models.BuyOrder'
  27055. type: array
  27056. "500":
  27057. description: Internal Server Error
  27058. schema:
  27059. $ref: '#/definitions/app.Response'
  27060. security:
  27061. - ApiKeyAuth: []
  27062. - LoginID: []
  27063. - Group: []
  27064. summary: 查询求购大厅委托单
  27065. tags:
  27066. - 广钻
  27067. /Guangzuan/QueryDiamond:
  27068. post:
  27069. parameters:
  27070. - description: 钻石搜索入参
  27071. in: body
  27072. name: data
  27073. required: true
  27074. schema:
  27075. $ref: '#/definitions/models.SellOrderQueryReq'
  27076. produces:
  27077. - application/json
  27078. responses:
  27079. "200":
  27080. description: OK
  27081. schema:
  27082. items:
  27083. $ref: '#/definitions/models.SellOrder'
  27084. type: array
  27085. "500":
  27086. description: Internal Server Error
  27087. schema:
  27088. $ref: '#/definitions/app.Response'
  27089. security:
  27090. - ApiKeyAuth: []
  27091. - LoginID: []
  27092. - Group: []
  27093. summary: 钻石搜索
  27094. tags:
  27095. - 广钻
  27096. /Guangzuan/QueryMyWRPosition:
  27097. get:
  27098. parameters:
  27099. - description: 页码
  27100. in: query
  27101. name: page
  27102. type: integer
  27103. - description: 每页条数
  27104. in: query
  27105. name: pagesize
  27106. type: integer
  27107. - description: 登录用户ID
  27108. in: query
  27109. name: wruserid
  27110. required: true
  27111. type: integer
  27112. - description: 商品(查询字段-模糊查询)
  27113. in: query
  27114. name: zsallproperties
  27115. type: string
  27116. - description: 钻石分类枚举ID
  27117. in: query
  27118. name: zscategory
  27119. type: integer
  27120. - description: 仓库ID
  27121. in: query
  27122. name: warehouseid
  27123. type: integer
  27124. produces:
  27125. - application/json
  27126. responses:
  27127. "200":
  27128. description: OK
  27129. schema:
  27130. items:
  27131. $ref: '#/definitions/models.GZWarehouseinfo'
  27132. type: array
  27133. "500":
  27134. description: Internal Server Error
  27135. schema:
  27136. $ref: '#/definitions/app.Response'
  27137. security:
  27138. - ApiKeyAuth: []
  27139. - LoginID: []
  27140. - Group: []
  27141. summary: 查询我的库存
  27142. tags:
  27143. - 广钻
  27144. /Guangzuan/QuerySellOrder:
  27145. get:
  27146. parameters:
  27147. - description: 页码
  27148. in: query
  27149. name: page
  27150. type: integer
  27151. - description: 每页条数
  27152. in: query
  27153. name: pagesize
  27154. type: integer
  27155. - description: 商品(查询字段-模糊查询)
  27156. in: query
  27157. name: zsallproperties
  27158. type: string
  27159. - description: 钻石分类枚举ID
  27160. in: query
  27161. name: zscategory
  27162. type: integer
  27163. - description: 委托单号
  27164. in: query
  27165. name: wrtradeorderid
  27166. type: integer
  27167. - description: 卖方(查询字段-模糊查询)
  27168. in: query
  27169. name: buyusername
  27170. type: string
  27171. produces:
  27172. - application/json
  27173. responses:
  27174. "200":
  27175. description: OK
  27176. schema:
  27177. items:
  27178. $ref: '#/definitions/models.SellOrder'
  27179. type: array
  27180. "500":
  27181. description: Internal Server Error
  27182. schema:
  27183. $ref: '#/definitions/app.Response'
  27184. security:
  27185. - ApiKeyAuth: []
  27186. - LoginID: []
  27187. - Group: []
  27188. summary: 查询出售大厅委托单
  27189. tags:
  27190. - 广钻
  27191. /Guangzuan/QueryWarehouseInfo:
  27192. get:
  27193. parameters:
  27194. - description: 页码
  27195. in: query
  27196. name: page
  27197. type: integer
  27198. - description: 每页条数
  27199. in: query
  27200. name: pagesize
  27201. type: integer
  27202. - description: 用户ID
  27203. in: query
  27204. name: userid
  27205. required: true
  27206. type: integer
  27207. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  27208. in: query
  27209. name: status
  27210. type: string
  27211. - description: 是返回交易所仓库
  27212. in: query
  27213. name: isincludeexchange
  27214. type: boolean
  27215. produces:
  27216. - application/json
  27217. responses:
  27218. "200":
  27219. description: OK
  27220. schema:
  27221. items:
  27222. $ref: '#/definitions/models.GZWarehouseinfo'
  27223. type: array
  27224. "500":
  27225. description: Internal Server Error
  27226. schema:
  27227. $ref: '#/definitions/app.Response'
  27228. security:
  27229. - ApiKeyAuth: []
  27230. - LoginID: []
  27231. - Group: []
  27232. summary: 查询仓库信息
  27233. tags:
  27234. - 广钻
  27235. /HSBY/GetHsbyMyCount:
  27236. get:
  27237. description: 说明: 不包括已完成的数量。
  27238. parameters:
  27239. - description: 资金账户列表,格式:1,2,3
  27240. in: query
  27241. name: accountIDs
  27242. required: true
  27243. type: string
  27244. produces:
  27245. - application/json
  27246. responses:
  27247. "200":
  27248. description: OK
  27249. schema:
  27250. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  27251. "500":
  27252. description: Internal Server Error
  27253. schema:
  27254. $ref: '#/definitions/app.Response'
  27255. security:
  27256. - ApiKeyAuth: []
  27257. summary: 获取我的订单与包裹数量
  27258. tags:
  27259. - 定制【海商报业】
  27260. /HSBY/QueryClientFixedADConfigs:
  27261. get:
  27262. produces:
  27263. - application/json
  27264. responses:
  27265. "200":
  27266. description: OK
  27267. schema:
  27268. $ref: '#/definitions/models.Clientfixedadconfig'
  27269. "500":
  27270. description: Internal Server Error
  27271. schema:
  27272. $ref: '#/definitions/app.Response'
  27273. security:
  27274. - ApiKeyAuth: []
  27275. summary: 获取终端固定广告配置
  27276. tags:
  27277. - 定制【海商报业】
  27278. /HSBY/QueryHsbyBuyMyTradeDetail:
  27279. get:
  27280. parameters:
  27281. - description: 页码
  27282. in: query
  27283. name: page
  27284. type: integer
  27285. - description: 每页条数
  27286. in: query
  27287. name: pagesize
  27288. type: integer
  27289. - description: 资金账户列表,格式:1,2,3
  27290. in: query
  27291. name: accountIDs
  27292. required: true
  27293. type: string
  27294. produces:
  27295. - application/json
  27296. responses:
  27297. "200":
  27298. description: OK
  27299. schema:
  27300. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  27301. "500":
  27302. description: Internal Server Error
  27303. schema:
  27304. $ref: '#/definitions/app.Response'
  27305. security:
  27306. - ApiKeyAuth: []
  27307. summary: 查询"我的订单 - 已完成"单据信息
  27308. tags:
  27309. - 定制【海商报业】
  27310. /HSBY/QueryHsbyGoodsOrderDetails:
  27311. get:
  27312. description: 说明:查询结果已按委托价格和委托时间排序
  27313. parameters:
  27314. - description: 商品ID
  27315. in: query
  27316. name: goodsID
  27317. required: true
  27318. type: integer
  27319. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  27320. in: query
  27321. name: accountIDs
  27322. type: string
  27323. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  27324. in: query
  27325. name: buyOrSell
  27326. type: integer
  27327. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  27328. in: query
  27329. name: price
  27330. type: number
  27331. - description: 档位,不传则默认为3档
  27332. in: query
  27333. name: speed
  27334. type: integer
  27335. produces:
  27336. - application/json
  27337. responses:
  27338. "200":
  27339. description: OK
  27340. schema:
  27341. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  27342. "500":
  27343. description: Internal Server Error
  27344. schema:
  27345. $ref: '#/definitions/app.Response'
  27346. security:
  27347. - ApiKeyAuth: []
  27348. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  27349. tags:
  27350. - 定制【海商报业】
  27351. /HSBY/QueryHsbyListingGoodsDetail:
  27352. get:
  27353. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  27354. parameters:
  27355. - description: 商品ID
  27356. in: query
  27357. name: goodsID
  27358. required: true
  27359. type: integer
  27360. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  27361. in: query
  27362. name: accountID
  27363. type: integer
  27364. produces:
  27365. - application/json
  27366. responses:
  27367. "200":
  27368. description: OK
  27369. schema:
  27370. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  27371. "500":
  27372. description: Internal Server Error
  27373. schema:
  27374. $ref: '#/definitions/app.Response'
  27375. security:
  27376. - ApiKeyAuth: []
  27377. summary: 查询二级市场(挂牌点选)商品信息详情
  27378. tags:
  27379. - 定制【海商报业】
  27380. /HSBY/QueryHsbyMarketGoodsDetail:
  27381. get:
  27382. parameters:
  27383. - description: 委托单号
  27384. in: query
  27385. name: orderID
  27386. required: true
  27387. type: integer
  27388. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  27389. in: query
  27390. name: accountID
  27391. type: integer
  27392. produces:
  27393. - application/json
  27394. responses:
  27395. "200":
  27396. description: OK
  27397. schema:
  27398. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  27399. "500":
  27400. description: Internal Server Error
  27401. schema:
  27402. $ref: '#/definitions/app.Response'
  27403. security:
  27404. - ApiKeyAuth: []
  27405. summary: 查询三级市场(商城)商品信息详情
  27406. tags:
  27407. - 定制【海商报业】
  27408. /HSBY/QueryHsbyMarketGoodses:
  27409. get:
  27410. parameters:
  27411. - description: 页码
  27412. in: query
  27413. name: page
  27414. type: integer
  27415. - description: 每页条数
  27416. in: query
  27417. name: pagesize
  27418. type: integer
  27419. - description: 市场ID列表,格式:1,2,3
  27420. in: query
  27421. name: marketIDs
  27422. required: true
  27423. type: string
  27424. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  27425. in: query
  27426. name: accountID
  27427. required: true
  27428. type: integer
  27429. - description: 类别ID
  27430. in: query
  27431. name: categoryID
  27432. type: integer
  27433. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  27434. in: query
  27435. name: goodsIDs
  27436. type: string
  27437. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  27438. in: query
  27439. name: couponTypeID
  27440. type: integer
  27441. produces:
  27442. - application/json
  27443. responses:
  27444. "200":
  27445. description: OK
  27446. schema:
  27447. $ref: '#/definitions/models.HsbyMarketGoods'
  27448. "500":
  27449. description: Internal Server Error
  27450. schema:
  27451. $ref: '#/definitions/app.Response'
  27452. security:
  27453. - ApiKeyAuth: []
  27454. summary: 查询特卖商品列表(三级商城)
  27455. tags:
  27456. - 定制【海商报业】
  27457. /HSBY/QueryHsbyMarkets:
  27458. get:
  27459. produces:
  27460. - application/json
  27461. responses:
  27462. "200":
  27463. description: OK
  27464. schema:
  27465. $ref: '#/definitions/models.HsbyMarketInfo'
  27466. "500":
  27467. description: Internal Server Error
  27468. schema:
  27469. $ref: '#/definitions/app.Response'
  27470. security:
  27471. - ApiKeyAuth: []
  27472. summary: 查询海商报业相关市场信息
  27473. tags:
  27474. - 定制【海商报业】
  27475. /HSBY/QueryHsbyMyBuyOrderDetails:
  27476. get:
  27477. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  27478. parameters:
  27479. - description: 资金账户列表,格式:1,2,3
  27480. in: query
  27481. name: accountIDs
  27482. required: true
  27483. type: string
  27484. produces:
  27485. - application/json
  27486. responses:
  27487. "200":
  27488. description: OK
  27489. schema:
  27490. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  27491. "500":
  27492. description: Internal Server Error
  27493. schema:
  27494. $ref: '#/definitions/app.Response'
  27495. security:
  27496. - ApiKeyAuth: []
  27497. summary: 查询“我的订单”信息
  27498. tags:
  27499. - 定制【海商报业】
  27500. /HSBY/QueryHsbyMyGoods:
  27501. get:
  27502. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  27503. parameters:
  27504. - description: 资金账户列表,格式:1,2,3
  27505. in: query
  27506. name: accountIDs
  27507. required: true
  27508. type: string
  27509. produces:
  27510. - application/json
  27511. responses:
  27512. "200":
  27513. description: OK
  27514. schema:
  27515. $ref: '#/definitions/models.HsbyMyGoods'
  27516. "500":
  27517. description: Internal Server Error
  27518. schema:
  27519. $ref: '#/definitions/app.Response'
  27520. security:
  27521. - ApiKeyAuth: []
  27522. summary: 查询“我的商品”信息
  27523. tags:
  27524. - 定制【海商报业】
  27525. /HSBY/QueryHsbyMyPackages:
  27526. get:
  27527. parameters:
  27528. - description: 资金账户列表,格式:1,2,3
  27529. in: query
  27530. name: accountIDs
  27531. required: true
  27532. type: string
  27533. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  27534. in: query
  27535. name: takeOrderStatus
  27536. type: integer
  27537. produces:
  27538. - application/json
  27539. responses:
  27540. "200":
  27541. description: OK
  27542. schema:
  27543. $ref: '#/definitions/models.HsbyMyPackage'
  27544. "500":
  27545. description: Internal Server Error
  27546. schema:
  27547. $ref: '#/definitions/app.Response'
  27548. security:
  27549. - ApiKeyAuth: []
  27550. summary: 查询我的包裹信息
  27551. tags:
  27552. - 定制【海商报业】
  27553. /HSBY/QueryHsbyPreGoodsDetail:
  27554. get:
  27555. parameters:
  27556. - description: 商品ID
  27557. in: query
  27558. name: goodsID
  27559. required: true
  27560. type: integer
  27561. - description: 资金账户,主要用于获取预售商品购买上限
  27562. in: query
  27563. name: accountID
  27564. type: integer
  27565. produces:
  27566. - application/json
  27567. responses:
  27568. "200":
  27569. description: OK
  27570. schema:
  27571. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  27572. "500":
  27573. description: Internal Server Error
  27574. schema:
  27575. $ref: '#/definitions/app.Response'
  27576. security:
  27577. - ApiKeyAuth: []
  27578. summary: 查询一级市场(预售)商品信息详情
  27579. tags:
  27580. - 定制【海商报业】
  27581. /HSBY/QueryHsbyPreGoodses:
  27582. get:
  27583. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  27584. parameters:
  27585. - description: 页码
  27586. in: query
  27587. name: page
  27588. type: integer
  27589. - description: 每页条数
  27590. in: query
  27591. name: pagesize
  27592. type: integer
  27593. - description: 市场ID列表,格式:1,2,3
  27594. in: query
  27595. name: marketIDs
  27596. required: true
  27597. type: string
  27598. - description: 目的地(省)ID
  27599. in: query
  27600. name: descProvinceID
  27601. type: integer
  27602. - description: 目的地(市)ID
  27603. in: query
  27604. name: descCityID
  27605. type: integer
  27606. produces:
  27607. - application/json
  27608. responses:
  27609. "200":
  27610. description: OK
  27611. schema:
  27612. $ref: '#/definitions/models.HsbyPreGoods'
  27613. "500":
  27614. description: Internal Server Error
  27615. schema:
  27616. $ref: '#/definitions/app.Response'
  27617. security:
  27618. - ApiKeyAuth: []
  27619. summary: 查询新品上市商品列表(一级市场预售)
  27620. tags:
  27621. - 定制【海商报业】
  27622. /HSBY/QueryHsbySellMyDetails:
  27623. get:
  27624. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  27625. parameters:
  27626. - description: 页码
  27627. in: query
  27628. name: page
  27629. type: integer
  27630. - description: 每页条数
  27631. in: query
  27632. name: pagesize
  27633. type: integer
  27634. - description: 资金账户列表,格式:1,2,3
  27635. in: query
  27636. name: accountIDs
  27637. required: true
  27638. type: string
  27639. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  27640. in: query
  27641. name: orderType
  27642. type: integer
  27643. produces:
  27644. - application/json
  27645. responses:
  27646. "200":
  27647. description: OK
  27648. schema:
  27649. $ref: '#/definitions/models.HsbySellMyDetail'
  27650. "500":
  27651. description: Internal Server Error
  27652. schema:
  27653. $ref: '#/definitions/app.Response'
  27654. security:
  27655. - ApiKeyAuth: []
  27656. summary: 查询"我的闲置"单据信息
  27657. tags:
  27658. - 定制【海商报业】
  27659. /HSBY/QueryHsbyTopGoodses:
  27660. get:
  27661. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  27662. parameters:
  27663. - description: 页码
  27664. in: query
  27665. name: page
  27666. type: integer
  27667. - description: 每页条数
  27668. in: query
  27669. name: pagesize
  27670. type: integer
  27671. - description: 市场ID列表,格式:1,2,3
  27672. in: query
  27673. name: marketIDs
  27674. required: true
  27675. type: string
  27676. - description: 目的地(省)ID
  27677. in: query
  27678. name: descProvinceID
  27679. type: integer
  27680. - description: 目的地(市)ID
  27681. in: query
  27682. name: descCityID
  27683. type: integer
  27684. produces:
  27685. - application/json
  27686. responses:
  27687. "200":
  27688. description: OK
  27689. schema:
  27690. $ref: '#/definitions/models.HsbyTopGoods'
  27691. "500":
  27692. description: Internal Server Error
  27693. schema:
  27694. $ref: '#/definitions/app.Response'
  27695. security:
  27696. - ApiKeyAuth: []
  27697. summary: 查询热卖商品列表(二级市场挂牌点选)
  27698. tags:
  27699. - 定制【海商报业】
  27700. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  27701. get:
  27702. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  27703. parameters:
  27704. - description: 商品ID
  27705. in: query
  27706. name: goodsID
  27707. required: true
  27708. type: integer
  27709. produces:
  27710. - application/json
  27711. responses:
  27712. "200":
  27713. description: OK
  27714. schema:
  27715. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  27716. "500":
  27717. description: Internal Server Error
  27718. schema:
  27719. $ref: '#/definitions/app.Response'
  27720. security:
  27721. - ApiKeyAuth: []
  27722. summary: 查询游客三级市场(商城)商品信息详情
  27723. tags:
  27724. - 定制【海商报业】
  27725. /HSBY/QueryHsbyVisitorMarketGoodses:
  27726. get:
  27727. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  27728. parameters:
  27729. - description: 页码
  27730. in: query
  27731. name: page
  27732. type: integer
  27733. - description: 每页条数
  27734. in: query
  27735. name: pagesize
  27736. type: integer
  27737. - description: 市场ID列表,格式:1,2,3
  27738. in: query
  27739. name: marketIDs
  27740. required: true
  27741. type: string
  27742. - description: 类别ID
  27743. in: query
  27744. name: categoryID
  27745. type: integer
  27746. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  27747. in: query
  27748. name: goodsIDs
  27749. type: string
  27750. produces:
  27751. - application/json
  27752. responses:
  27753. "200":
  27754. description: OK
  27755. schema:
  27756. $ref: '#/definitions/models.HsbyMarketGoods'
  27757. "500":
  27758. description: Internal Server Error
  27759. schema:
  27760. $ref: '#/definitions/app.Response'
  27761. security:
  27762. - ApiKeyAuth: []
  27763. summary: 查询游客特卖商品列表(三级商城)
  27764. tags:
  27765. - 定制【海商报业】
  27766. /HSBY/QueryMyCollectionOrders:
  27767. get:
  27768. parameters:
  27769. - description: 页码
  27770. in: query
  27771. name: page
  27772. type: integer
  27773. - description: 每页条数
  27774. in: query
  27775. name: pagesize
  27776. type: integer
  27777. - description: 资金账户,格式:1,2,3
  27778. in: query
  27779. name: accountIDs
  27780. required: true
  27781. type: string
  27782. produces:
  27783. - application/json
  27784. responses:
  27785. "200":
  27786. description: OK
  27787. schema:
  27788. $ref: '#/definitions/models.HsbySellCollectionOrder'
  27789. "500":
  27790. description: Internal Server Error
  27791. schema:
  27792. $ref: '#/definitions/app.Response'
  27793. security:
  27794. - ApiKeyAuth: []
  27795. summary: 我的闲置中收款信息查询
  27796. tags:
  27797. - 定制【海商报业】
  27798. /HSBY/QueryMyCouponHolds:
  27799. get:
  27800. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  27801. parameters:
  27802. - description: 资金账户列表,格式:1,2,3
  27803. in: query
  27804. name: accountIDs
  27805. required: true
  27806. type: string
  27807. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  27808. in: query
  27809. name: holdStatus
  27810. type: string
  27811. produces:
  27812. - application/json
  27813. responses:
  27814. "200":
  27815. description: OK
  27816. schema:
  27817. $ref: '#/definitions/models.MyCouponHold'
  27818. "500":
  27819. description: Internal Server Error
  27820. schema:
  27821. $ref: '#/definitions/app.Response'
  27822. security:
  27823. - ApiKeyAuth: []
  27824. summary: 我的优惠卷持仓查询
  27825. tags:
  27826. - 定制【海商报业】
  27827. /HSBY/QueryMyCoupons:
  27828. get:
  27829. parameters:
  27830. - description: 资金账户列表,格式:1,2,3
  27831. in: query
  27832. name: accountIDs
  27833. required: true
  27834. type: string
  27835. - description: 商品ID, 一般与sellUserID配套传入
  27836. in: query
  27837. name: goodsID
  27838. type: integer
  27839. - description: 卖方UserID
  27840. in: query
  27841. name: sellUserID
  27842. type: integer
  27843. produces:
  27844. - application/json
  27845. responses:
  27846. "200":
  27847. description: OK
  27848. schema:
  27849. $ref: '#/definitions/models.MyCoupon'
  27850. "500":
  27851. description: Internal Server Error
  27852. schema:
  27853. $ref: '#/definitions/app.Response'
  27854. security:
  27855. - ApiKeyAuth: []
  27856. summary: 我的优惠卷查询
  27857. tags:
  27858. - 定制【海商报业】
  27859. /HSBY/QueryMyPayOrders:
  27860. get:
  27861. parameters:
  27862. - description: 页码
  27863. in: query
  27864. name: page
  27865. type: integer
  27866. - description: 每页条数
  27867. in: query
  27868. name: pagesize
  27869. type: integer
  27870. - description: 资金账户列表,格式:1,2,3
  27871. in: query
  27872. name: accountIDs
  27873. required: true
  27874. type: string
  27875. - description: 买方委托单号
  27876. in: query
  27877. name: buyOrderID
  27878. type: integer
  27879. - description: 卖方委托单号
  27880. in: query
  27881. name: sellOrderID
  27882. type: integer
  27883. produces:
  27884. - application/json
  27885. responses:
  27886. "200":
  27887. description: OK
  27888. schema:
  27889. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  27890. "500":
  27891. description: Internal Server Error
  27892. schema:
  27893. $ref: '#/definitions/app.Response'
  27894. security:
  27895. - ApiKeyAuth: []
  27896. summary: 获取我的订单中待付款信息
  27897. tags:
  27898. - 定制【海商报业】
  27899. /HSBY/QueryMyUsedCoupon:
  27900. get:
  27901. parameters:
  27902. - description: 资金账户列表,格式:1,2,3
  27903. in: query
  27904. name: accountIDs
  27905. required: true
  27906. type: string
  27907. produces:
  27908. - application/json
  27909. responses:
  27910. "200":
  27911. description: OK
  27912. schema:
  27913. $ref: '#/definitions/models.MyUsedCoupon'
  27914. "500":
  27915. description: Internal Server Error
  27916. schema:
  27917. $ref: '#/definitions/app.Response'
  27918. security:
  27919. - ApiKeyAuth: []
  27920. summary: 已使用优惠卷查询
  27921. tags:
  27922. - 定制【海商报业】
  27923. /HSBY/QueryProvincesAndCities:
  27924. get:
  27925. description: 查询结果只包括二级市场商品已关连的省市信息。
  27926. parameters:
  27927. - description: 省ID
  27928. in: query
  27929. name: provinceID
  27930. type: integer
  27931. produces:
  27932. - application/json
  27933. responses:
  27934. "200":
  27935. description: OK
  27936. schema:
  27937. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  27938. "500":
  27939. description: Internal Server Error
  27940. schema:
  27941. $ref: '#/definitions/app.Response'
  27942. security:
  27943. - ApiKeyAuth: []
  27944. summary: 查询省市信息(不包括区)
  27945. tags:
  27946. - 定制【海商报业】
  27947. /HSBY/SetHsbyMyPackagesStatus:
  27948. post:
  27949. parameters:
  27950. - description: 提货单号
  27951. in: query
  27952. name: takeOrderID
  27953. required: true
  27954. type: string
  27955. - description: 资金账号
  27956. in: query
  27957. name: accountID
  27958. required: true
  27959. type: integer
  27960. produces:
  27961. - application/json
  27962. responses:
  27963. "200":
  27964. description: OK
  27965. schema:
  27966. $ref: '#/definitions/app.Response'
  27967. "500":
  27968. description: Internal Server Error
  27969. schema:
  27970. $ref: '#/definitions/app.Response'
  27971. security:
  27972. - ApiKeyAuth: []
  27973. summary: 设置我的包裹已收货状态
  27974. tags:
  27975. - 定制【海商报业】
  27976. /Market/GetAllExExchanges:
  27977. get:
  27978. produces:
  27979. - application/json
  27980. responses:
  27981. "200":
  27982. description: OK
  27983. schema:
  27984. $ref: '#/definitions/models.Goods'
  27985. "500":
  27986. description: Internal Server Error
  27987. schema:
  27988. $ref: '#/definitions/app.Response'
  27989. security:
  27990. - ApiKeyAuth: []
  27991. summary: 获取所有外部交易所信息
  27992. tags:
  27993. - 通用市场
  27994. /Market/QueryGoodsesByLoginID:
  27995. get:
  27996. parameters:
  27997. - description: 登录账号
  27998. in: query
  27999. name: loginID
  28000. required: true
  28001. type: integer
  28002. - description: 市场ID列表,格式:1,2,3
  28003. in: query
  28004. name: marketIDs
  28005. type: string
  28006. produces:
  28007. - application/json
  28008. responses:
  28009. "200":
  28010. description: OK
  28011. schema:
  28012. $ref: '#/definitions/models.Goods'
  28013. "500":
  28014. description: Internal Server Error
  28015. schema:
  28016. $ref: '#/definitions/app.Response'
  28017. security:
  28018. - ApiKeyAuth: []
  28019. summary: 获取登录账号有权限的商品信息
  28020. tags:
  28021. - 通用市场
  28022. /Market/QueryMarketRun:
  28023. get:
  28024. parameters:
  28025. - description: 市场ID,不传返回所有
  28026. in: query
  28027. name: marketID
  28028. type: integer
  28029. produces:
  28030. - application/json
  28031. responses:
  28032. "200":
  28033. description: OK
  28034. schema:
  28035. $ref: '#/definitions/models.Marketrun'
  28036. "500":
  28037. description: Internal Server Error
  28038. schema:
  28039. $ref: '#/definitions/app.Response'
  28040. security:
  28041. - ApiKeyAuth: []
  28042. summary: 查询市场运行信息
  28043. tags:
  28044. - 通用市场
  28045. /Market/QueryMarketsByLoginID:
  28046. get:
  28047. parameters:
  28048. - description: 登录账号
  28049. in: query
  28050. name: loginID
  28051. required: true
  28052. type: integer
  28053. produces:
  28054. - application/json
  28055. responses:
  28056. "200":
  28057. description: OK
  28058. schema:
  28059. $ref: '#/definitions/models.Market'
  28060. "500":
  28061. description: Internal Server Error
  28062. schema:
  28063. $ref: '#/definitions/app.Response'
  28064. security:
  28065. - ApiKeyAuth: []
  28066. summary: 获取登录账号有权限的市场信息
  28067. tags:
  28068. - 通用市场
  28069. /Order/QueryHisTradeDetail:
  28070. get:
  28071. parameters:
  28072. - description: 资金账户 - 格式:1,2,3
  28073. in: query
  28074. name: accountID
  28075. required: true
  28076. type: string
  28077. - description: 成交单号
  28078. in: query
  28079. name: tradeID
  28080. type: integer
  28081. - description: 委托单号
  28082. in: query
  28083. name: orderID
  28084. type: integer
  28085. - description: 商品ID
  28086. in: query
  28087. name: goodsID
  28088. type: integer
  28089. - description: 交易模式 - 格式:1,2,3
  28090. in: query
  28091. name: tradeMode
  28092. type: string
  28093. - description: 委托单据类型
  28094. in: query
  28095. name: buildType
  28096. type: integer
  28097. - description: 成交类别 - 格式:1,2,3
  28098. in: query
  28099. name: tradeType
  28100. type: string
  28101. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28102. in: query
  28103. name: startDate
  28104. type: string
  28105. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28106. in: query
  28107. name: endDate
  28108. type: string
  28109. produces:
  28110. - application/json
  28111. responses:
  28112. "200":
  28113. description: OK
  28114. schema:
  28115. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  28116. "500":
  28117. description: Internal Server Error
  28118. schema:
  28119. $ref: '#/definitions/app.Response'
  28120. security:
  28121. - ApiKeyAuth: []
  28122. summary: 历史成交单查询(合约市场)
  28123. tags:
  28124. - 通用单据
  28125. /Order/QueryHisTradeOrderDetail:
  28126. get:
  28127. parameters:
  28128. - description: 资金账户 - 格式:1,2,3
  28129. in: query
  28130. name: accountID
  28131. required: true
  28132. type: string
  28133. - description: 交易模式 - 格式:1,2,3
  28134. in: query
  28135. name: tradeMode
  28136. type: string
  28137. - description: 委托状态 - 格式:1,2,3
  28138. in: query
  28139. name: orderStatus
  28140. type: string
  28141. - description: 委托单号
  28142. in: query
  28143. name: orderID
  28144. type: integer
  28145. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28146. in: query
  28147. name: startDate
  28148. type: string
  28149. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28150. in: query
  28151. name: endDate
  28152. type: string
  28153. produces:
  28154. - application/json
  28155. responses:
  28156. "200":
  28157. description: OK
  28158. schema:
  28159. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  28160. "500":
  28161. description: Internal Server Error
  28162. schema:
  28163. $ref: '#/definitions/app.Response'
  28164. security:
  28165. - ApiKeyAuth: []
  28166. summary: 历史委托单查询请求(合约市场)
  28167. tags:
  28168. - 通用单据
  28169. /Order/QueryTradeDetail:
  28170. get:
  28171. parameters:
  28172. - description: 资金账户 - 格式:1,2,3
  28173. in: query
  28174. name: accountID
  28175. required: true
  28176. type: string
  28177. - description: 成交单号
  28178. in: query
  28179. name: tradeID
  28180. type: integer
  28181. - description: 委托单号
  28182. in: query
  28183. name: orderID
  28184. type: integer
  28185. - description: 交易模式 - 格式:1,2,3
  28186. in: query
  28187. name: tradeMode
  28188. type: string
  28189. - description: 委托单据类型
  28190. in: query
  28191. name: buildType
  28192. type: integer
  28193. - description: 成交类别 - 格式:1,2,3
  28194. in: query
  28195. name: tradeType
  28196. type: string
  28197. - description: 商品ID
  28198. in: query
  28199. name: goodsID
  28200. type: integer
  28201. produces:
  28202. - application/json
  28203. responses:
  28204. "200":
  28205. description: OK
  28206. schema:
  28207. $ref: '#/definitions/order.QueryTradeDetailRsp'
  28208. "500":
  28209. description: Internal Server Error
  28210. schema:
  28211. $ref: '#/definitions/app.Response'
  28212. security:
  28213. - ApiKeyAuth: []
  28214. summary: 成交单查询(合约市场)
  28215. tags:
  28216. - 通用单据
  28217. /Order/QueryTradeHolderDetail:
  28218. get:
  28219. parameters:
  28220. - description: 用户id
  28221. in: query
  28222. name: userid
  28223. type: integer
  28224. - description: 资金账号, 格式 1,2,3
  28225. in: query
  28226. name: accids
  28227. type: string
  28228. - description: 交易模式, 格式 1,2,3
  28229. in: query
  28230. name: trademodes
  28231. type: string
  28232. - description: 市场id, 格式 1,2,3
  28233. in: query
  28234. name: marketids
  28235. type: string
  28236. - description: 商品id
  28237. in: query
  28238. name: goodsid
  28239. type: integer
  28240. - description: 买卖方向 0-买 1-卖
  28241. in: query
  28242. name: buyorsell
  28243. type: integer
  28244. produces:
  28245. - application/json
  28246. responses:
  28247. "200":
  28248. description: OK
  28249. schema:
  28250. items:
  28251. $ref: '#/definitions/models.TradeHolderDetail'
  28252. type: array
  28253. "500":
  28254. description: Internal Server Error
  28255. schema:
  28256. $ref: '#/definitions/app.Response'
  28257. security:
  28258. - ApiKeyAuth: []
  28259. summary: 查询持仓明细
  28260. tags:
  28261. - 通用单据
  28262. /Order/QueryTradeOrderDetail:
  28263. get:
  28264. parameters:
  28265. - description: 资金账户 - 格式:1,2,3
  28266. in: query
  28267. name: accountID
  28268. required: true
  28269. type: string
  28270. - description: 交易模式 - 格式:1,2,3
  28271. in: query
  28272. name: tradeMode
  28273. type: string
  28274. - description: 委托状态 - 格式:1,2,3
  28275. in: query
  28276. name: orderStatus
  28277. type: string
  28278. - description: 委托单号
  28279. in: query
  28280. name: orderID
  28281. type: integer
  28282. produces:
  28283. - application/json
  28284. responses:
  28285. "200":
  28286. description: OK
  28287. schema:
  28288. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  28289. "500":
  28290. description: Internal Server Error
  28291. schema:
  28292. $ref: '#/definitions/app.Response'
  28293. security:
  28294. - ApiKeyAuth: []
  28295. summary: 委托单查询请求(合约市场)
  28296. tags:
  28297. - 通用单据
  28298. /Order/QueryTradePosition:
  28299. get:
  28300. parameters:
  28301. - description: 资金账户 - 格式:1,2,3
  28302. in: query
  28303. name: accountID
  28304. required: true
  28305. type: string
  28306. - description: 交易模式 - 格式:1,2,3
  28307. in: query
  28308. name: tradeMode
  28309. type: string
  28310. produces:
  28311. - application/json
  28312. responses:
  28313. "200":
  28314. description: OK
  28315. schema:
  28316. $ref: '#/definitions/order.QueryTradePositionRsp'
  28317. "500":
  28318. description: Internal Server Error
  28319. schema:
  28320. $ref: '#/definitions/app.Response'
  28321. security:
  28322. - ApiKeyAuth: []
  28323. summary: 持仓汇总查询(合约市场)
  28324. tags:
  28325. - 通用单据
  28326. /Qhj/QueryAccountInOutApply:
  28327. get:
  28328. parameters:
  28329. - description: 用户ID
  28330. in: query
  28331. name: userid
  28332. required: true
  28333. type: integer
  28334. - description: 申请起始日期(格式yyyymmdd)
  28335. in: query
  28336. name: begindate
  28337. type: string
  28338. - description: 申请截止日期(格式yyyymmdd)
  28339. in: query
  28340. name: enddate
  28341. type: string
  28342. - description: 模糊搜索名称
  28343. in: query
  28344. name: likename
  28345. type: string
  28346. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28347. in: query
  28348. name: applystatus
  28349. type: integer
  28350. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28351. in: query
  28352. name: querytype
  28353. type: integer
  28354. produces:
  28355. - application/json
  28356. responses:
  28357. "200":
  28358. description: OK
  28359. schema:
  28360. items:
  28361. $ref: '#/definitions/models.QhjAccountOutInApply'
  28362. type: array
  28363. "500":
  28364. description: Internal Server Error
  28365. schema:
  28366. $ref: '#/definitions/app.Response'
  28367. security:
  28368. - ApiKeyAuth: []
  28369. summary: 查询充值提现
  28370. tags:
  28371. - 大连千海金
  28372. /Qhj/QueryAreaFinanceConfig:
  28373. get:
  28374. parameters:
  28375. - description: 机构用户ID 其他做市关系,都设置为 1
  28376. in: query
  28377. name: userid
  28378. type: integer
  28379. produces:
  28380. - application/json
  28381. responses:
  28382. "200":
  28383. description: OK
  28384. schema:
  28385. items:
  28386. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  28387. type: array
  28388. "500":
  28389. description: Internal Server Error
  28390. schema:
  28391. $ref: '#/definitions/app.Response'
  28392. security:
  28393. - ApiKeyAuth: []
  28394. summary: 查询企业配置表
  28395. tags:
  28396. - 大连千海金
  28397. /Qhj/QueryBankAccountSign:
  28398. get:
  28399. parameters:
  28400. - description: 用户ID
  28401. in: query
  28402. name: userid
  28403. required: true
  28404. type: integer
  28405. produces:
  28406. - application/json
  28407. responses:
  28408. "200":
  28409. description: OK
  28410. schema:
  28411. items:
  28412. $ref: '#/definitions/models.QhjBankAccountSign'
  28413. type: array
  28414. "500":
  28415. description: Internal Server Error
  28416. schema:
  28417. $ref: '#/definitions/app.Response'
  28418. security:
  28419. - ApiKeyAuth: []
  28420. summary: 查询签约银行信息(提现账户管理)
  28421. tags:
  28422. - 大连千海金
  28423. /Qhj/QueryBankInfo:
  28424. get:
  28425. produces:
  28426. - application/json
  28427. responses:
  28428. "200":
  28429. description: OK
  28430. schema:
  28431. items:
  28432. $ref: '#/definitions/models.QhjBankInfo'
  28433. type: array
  28434. "500":
  28435. description: Internal Server Error
  28436. schema:
  28437. $ref: '#/definitions/app.Response'
  28438. security:
  28439. - ApiKeyAuth: []
  28440. summary: 查询开户行
  28441. tags:
  28442. - 大连千海金
  28443. /Qhj/QueryBrokerApply:
  28444. get:
  28445. parameters:
  28446. - description: 所属机构ID
  28447. in: query
  28448. name: userid
  28449. type: integer
  28450. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28451. in: query
  28452. name: filterstatus
  28453. type: string
  28454. produces:
  28455. - application/json
  28456. responses:
  28457. "200":
  28458. description: OK
  28459. schema:
  28460. items:
  28461. $ref: '#/definitions/models.QhjBrokerApply'
  28462. type: array
  28463. "500":
  28464. description: Internal Server Error
  28465. schema:
  28466. $ref: '#/definitions/app.Response'
  28467. security:
  28468. - ApiKeyAuth: []
  28469. summary: 查询经纪人申请
  28470. tags:
  28471. - 大连千海金
  28472. /Qhj/QueryBrokerApplyEx:
  28473. get:
  28474. parameters:
  28475. - description: 所属机构ID
  28476. in: query
  28477. name: userid
  28478. type: integer
  28479. produces:
  28480. - application/json
  28481. responses:
  28482. "200":
  28483. description: OK
  28484. schema:
  28485. items:
  28486. $ref: '#/definitions/models.QhjBrokerApplyEx'
  28487. type: array
  28488. "500":
  28489. description: Internal Server Error
  28490. schema:
  28491. $ref: '#/definitions/app.Response'
  28492. security:
  28493. - ApiKeyAuth: []
  28494. summary: 查询经纪人信息和申请记录
  28495. tags:
  28496. - 大连千海金
  28497. /Qhj/QueryBrokerRewardLog:
  28498. get:
  28499. parameters:
  28500. - description: 用户ID
  28501. in: query
  28502. name: userid
  28503. required: true
  28504. type: integer
  28505. - description: 开始交易日(yyyymmdd)
  28506. in: query
  28507. name: begindate
  28508. type: string
  28509. - description: 结束交易日(yyyymmdd)
  28510. in: query
  28511. name: enddate
  28512. type: string
  28513. produces:
  28514. - application/json
  28515. responses:
  28516. "200":
  28517. description: OK
  28518. schema:
  28519. items:
  28520. $ref: '#/definitions/models.QhjBrokerRewardLog'
  28521. type: array
  28522. "500":
  28523. description: Internal Server Error
  28524. schema:
  28525. $ref: '#/definitions/app.Response'
  28526. security:
  28527. - ApiKeyAuth: []
  28528. summary: 查询奖励流水(我的奖励)
  28529. tags:
  28530. - 大连千海金
  28531. /Qhj/QueryContract:
  28532. get:
  28533. parameters:
  28534. - description: 用户ID
  28535. in: query
  28536. name: userid
  28537. type: integer
  28538. - description: scf合同id
  28539. in: query
  28540. name: scfcontractid
  28541. type: integer
  28542. produces:
  28543. - application/json
  28544. responses:
  28545. "200":
  28546. description: OK
  28547. schema:
  28548. items:
  28549. $ref: '#/definitions/models.QhjContract'
  28550. type: array
  28551. "500":
  28552. description: Internal Server Error
  28553. schema:
  28554. $ref: '#/definitions/app.Response'
  28555. security:
  28556. - ApiKeyAuth: []
  28557. summary: 查询融资明细(合同)
  28558. tags:
  28559. - 大连千海金
  28560. /Qhj/QueryContractLog:
  28561. get:
  28562. parameters:
  28563. - description: scf合同id
  28564. in: query
  28565. name: scfcontractid
  28566. required: true
  28567. type: integer
  28568. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  28569. in: query
  28570. name: amounttype
  28571. type: string
  28572. produces:
  28573. - application/json
  28574. responses:
  28575. "200":
  28576. description: OK
  28577. schema:
  28578. items:
  28579. $ref: '#/definitions/models.QhjContractLog'
  28580. type: array
  28581. "500":
  28582. description: Internal Server Error
  28583. schema:
  28584. $ref: '#/definitions/app.Response'
  28585. security:
  28586. - ApiKeyAuth: []
  28587. summary: 查询融资明细流水(融资明细详情页中的流水)
  28588. tags:
  28589. - 大连千海金
  28590. /Qhj/QueryCusBankSignBank:
  28591. get:
  28592. produces:
  28593. - application/json
  28594. responses:
  28595. "200":
  28596. description: OK
  28597. schema:
  28598. items:
  28599. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  28600. type: array
  28601. "500":
  28602. description: Internal Server Error
  28603. schema:
  28604. $ref: '#/definitions/app.Response'
  28605. security:
  28606. - ApiKeyAuth: []
  28607. summary: 查询托管银行
  28608. tags:
  28609. - 大连千海金
  28610. /Qhj/QueryCustomerInfo:
  28611. get:
  28612. parameters:
  28613. - description: 用户ID
  28614. in: query
  28615. name: userid
  28616. required: true
  28617. type: integer
  28618. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28619. in: query
  28620. name: querytype
  28621. required: true
  28622. type: integer
  28623. - description: 客户类型 1-个人 2-企业
  28624. in: query
  28625. name: userinfotype
  28626. type: integer
  28627. - description: 客户名称(模糊匹配)
  28628. in: query
  28629. name: customername
  28630. type: string
  28631. - description: 昵称(模糊匹配)
  28632. in: query
  28633. name: nickname
  28634. type: string
  28635. - description: 是否包含子级 1-包含
  28636. in: query
  28637. name: includesub
  28638. type: integer
  28639. produces:
  28640. - application/json
  28641. responses:
  28642. "200":
  28643. description: OK
  28644. schema:
  28645. items:
  28646. $ref: '#/definitions/models.QhjCustomer'
  28647. type: array
  28648. "500":
  28649. description: Internal Server Error
  28650. schema:
  28651. $ref: '#/definitions/app.Response'
  28652. security:
  28653. - ApiKeyAuth: []
  28654. summary: 查询客户资料
  28655. tags:
  28656. - 大连千海金
  28657. /Qhj/QueryGoodsEx:
  28658. get:
  28659. parameters:
  28660. - description: 商品id
  28661. in: query
  28662. name: goodsid
  28663. type: integer
  28664. produces:
  28665. - application/json
  28666. responses:
  28667. "200":
  28668. description: OK
  28669. schema:
  28670. items:
  28671. $ref: '#/definitions/models.Qhjgoodsex'
  28672. type: array
  28673. "500":
  28674. description: Internal Server Error
  28675. schema:
  28676. $ref: '#/definitions/app.Response'
  28677. security:
  28678. - ApiKeyAuth: []
  28679. summary: 交易商品扩展表
  28680. tags:
  28681. - 大连千海金
  28682. /Qhj/QueryMyTeam:
  28683. get:
  28684. parameters:
  28685. - description: 用户ID
  28686. in: query
  28687. name: userid
  28688. required: true
  28689. type: integer
  28690. produces:
  28691. - application/json
  28692. responses:
  28693. "200":
  28694. description: OK
  28695. schema:
  28696. items:
  28697. $ref: '#/definitions/models.QhjMyTeamEx'
  28698. type: array
  28699. "500":
  28700. description: Internal Server Error
  28701. schema:
  28702. $ref: '#/definitions/app.Response'
  28703. security:
  28704. - ApiKeyAuth: []
  28705. summary: 查询我的团队
  28706. tags:
  28707. - 大连千海金
  28708. /Qhj/QueryMyTeamOrder:
  28709. get:
  28710. parameters:
  28711. - description: 页码
  28712. in: query
  28713. name: page
  28714. type: integer
  28715. - description: 每页条数
  28716. in: query
  28717. name: pagesize
  28718. type: integer
  28719. - description: 用户ID
  28720. in: query
  28721. name: userid
  28722. required: true
  28723. type: integer
  28724. - description: 交易模式
  28725. in: query
  28726. name: trademode
  28727. type: integer
  28728. - description: 名称(模糊搜索账户)
  28729. in: query
  28730. name: filtername
  28731. type: string
  28732. produces:
  28733. - application/json
  28734. responses:
  28735. "200":
  28736. description: OK
  28737. schema:
  28738. items:
  28739. $ref: '#/definitions/models.QhjTeamOrder'
  28740. type: array
  28741. "500":
  28742. description: Internal Server Error
  28743. schema:
  28744. $ref: '#/definitions/app.Response'
  28745. security:
  28746. - ApiKeyAuth: []
  28747. summary: 查询团队订单(我的团队/团队订单)
  28748. tags:
  28749. - 大连千海金
  28750. /Qhj/QueryParentAreaList:
  28751. get:
  28752. parameters:
  28753. - description: 用户ID
  28754. in: query
  28755. name: userid
  28756. required: true
  28757. type: integer
  28758. produces:
  28759. - application/json
  28760. responses:
  28761. "200":
  28762. description: OK
  28763. schema:
  28764. items:
  28765. $ref: '#/definitions/models.QhjParentAreaList'
  28766. type: array
  28767. "500":
  28768. description: Internal Server Error
  28769. schema:
  28770. $ref: '#/definitions/app.Response'
  28771. security:
  28772. - ApiKeyAuth: []
  28773. summary: 查询所属机构列表
  28774. tags:
  28775. - 大连千海金
  28776. /Qhj/QueryPayOrder:
  28777. get:
  28778. parameters:
  28779. - description: 资金账号id
  28780. in: query
  28781. name: accountid
  28782. required: true
  28783. type: integer
  28784. - description: 成交单号
  28785. in: query
  28786. name: tradeid
  28787. type: integer
  28788. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28789. in: query
  28790. name: payflag
  28791. type: string
  28792. produces:
  28793. - application/json
  28794. responses:
  28795. "200":
  28796. description: OK
  28797. schema:
  28798. items:
  28799. $ref: '#/definitions/models.QhjPayOrder'
  28800. type: array
  28801. "500":
  28802. description: Internal Server Error
  28803. schema:
  28804. $ref: '#/definitions/app.Response'
  28805. security:
  28806. - ApiKeyAuth: []
  28807. summary: 查询待付款单据
  28808. tags:
  28809. - 大连千海金
  28810. /Qhj/QueryPickArea:
  28811. get:
  28812. parameters:
  28813. - description: 用户ID
  28814. in: query
  28815. name: userid
  28816. type: integer
  28817. produces:
  28818. - application/json
  28819. responses:
  28820. "200":
  28821. description: OK
  28822. schema:
  28823. items:
  28824. $ref: '#/definitions/models.QhjPickArea'
  28825. type: array
  28826. "500":
  28827. description: Internal Server Error
  28828. schema:
  28829. $ref: '#/definitions/app.Response'
  28830. security:
  28831. - ApiKeyAuth: []
  28832. summary: 查询提货门店
  28833. tags:
  28834. - 大连千海金
  28835. /Qhj/QueryPickGoods:
  28836. get:
  28837. parameters:
  28838. - description: 交易商品id
  28839. in: query
  28840. name: goodsid
  28841. required: true
  28842. type: integer
  28843. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28844. in: query
  28845. name: status
  28846. type: string
  28847. produces:
  28848. - application/json
  28849. responses:
  28850. "200":
  28851. description: OK
  28852. schema:
  28853. items:
  28854. $ref: '#/definitions/models.QhjPickGoods'
  28855. type: array
  28856. "500":
  28857. description: Internal Server Error
  28858. schema:
  28859. $ref: '#/definitions/app.Response'
  28860. security:
  28861. - ApiKeyAuth: []
  28862. summary: 查询提货商品
  28863. tags:
  28864. - 大连千海金
  28865. /Qhj/QueryRSTriggerLog:
  28866. get:
  28867. parameters:
  28868. - description: 用户ID
  28869. in: query
  28870. name: userid
  28871. type: integer
  28872. - description: 定投策略id
  28873. in: query
  28874. name: regularlystrategyid
  28875. type: integer
  28876. - description: 商品id
  28877. in: query
  28878. name: goodsid
  28879. type: integer
  28880. - description: 开始交易日(yyyymmdd)
  28881. in: query
  28882. name: begindate
  28883. type: string
  28884. - description: 结束交易日(yyyymmdd)
  28885. in: query
  28886. name: enddate
  28887. type: string
  28888. - description: 名称(模糊搜索账户)
  28889. in: query
  28890. name: filtername
  28891. type: string
  28892. produces:
  28893. - application/json
  28894. responses:
  28895. "200":
  28896. description: OK
  28897. schema:
  28898. items:
  28899. $ref: '#/definitions/models.QhjRSTriggerLog'
  28900. type: array
  28901. "500":
  28902. description: Internal Server Error
  28903. schema:
  28904. $ref: '#/definitions/app.Response'
  28905. security:
  28906. - ApiKeyAuth: []
  28907. summary: 查询定投记录(定投管理/详情/定投记录)
  28908. tags:
  28909. - 大连千海金
  28910. /Qhj/QueryRStrategy:
  28911. get:
  28912. parameters:
  28913. - description: 用户ID
  28914. in: query
  28915. name: userid
  28916. type: integer
  28917. - description: 商品id
  28918. in: query
  28919. name: goodsid
  28920. type: integer
  28921. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  28922. in: query
  28923. name: status
  28924. type: string
  28925. - description: 名称(模糊搜索账户)
  28926. in: query
  28927. name: filtername
  28928. type: string
  28929. produces:
  28930. - application/json
  28931. responses:
  28932. "200":
  28933. description: OK
  28934. schema:
  28935. items:
  28936. $ref: '#/definitions/models.QhjRStrategy'
  28937. type: array
  28938. "500":
  28939. description: Internal Server Error
  28940. schema:
  28941. $ref: '#/definitions/app.Response'
  28942. security:
  28943. - ApiKeyAuth: []
  28944. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  28945. tags:
  28946. - 大连千海金
  28947. /Qhj/QueryReckonPriceLog:
  28948. get:
  28949. parameters:
  28950. - description: 商品ID
  28951. in: query
  28952. name: goodsid
  28953. type: integer
  28954. - description: 交易日 格式(yyyymmdd)
  28955. in: query
  28956. name: tradedate
  28957. type: string
  28958. produces:
  28959. - application/json
  28960. responses:
  28961. "200":
  28962. description: OK
  28963. schema:
  28964. items:
  28965. $ref: '#/definitions/models.QhjReckonPriceLog'
  28966. type: array
  28967. "500":
  28968. description: Internal Server Error
  28969. schema:
  28970. $ref: '#/definitions/app.Response'
  28971. security:
  28972. - ApiKeyAuth: []
  28973. summary: 查询定投价(结算价)
  28974. tags:
  28975. - 大连千海金
  28976. /Qhj/QueryScoreLog:
  28977. get:
  28978. parameters:
  28979. - description: 用户ID
  28980. in: query
  28981. name: userid
  28982. required: true
  28983. type: integer
  28984. - description: 开始交易日(yyyymmdd)
  28985. in: query
  28986. name: begindate
  28987. type: string
  28988. - description: 结束交易日(yyyymmdd)
  28989. in: query
  28990. name: enddate
  28991. type: string
  28992. - description: 最近多少条
  28993. in: query
  28994. name: lastnum
  28995. type: integer
  28996. produces:
  28997. - application/json
  28998. responses:
  28999. "200":
  29000. description: OK
  29001. schema:
  29002. items:
  29003. $ref: '#/definitions/models.QhjScoreLog'
  29004. type: array
  29005. "500":
  29006. description: Internal Server Error
  29007. schema:
  29008. $ref: '#/definitions/app.Response'
  29009. security:
  29010. - ApiKeyAuth: []
  29011. summary: 查询积分流水(我的积分)
  29012. tags:
  29013. - 大连千海金
  29014. /Qhj/QuerySiteColumnDetail:
  29015. get:
  29016. parameters:
  29017. - description: 用户ID
  29018. in: query
  29019. name: userid
  29020. required: true
  29021. type: integer
  29022. produces:
  29023. - application/json
  29024. responses:
  29025. "200":
  29026. description: OK
  29027. schema:
  29028. items:
  29029. $ref: '#/definitions/models.QhjSiteColumnDetail'
  29030. type: array
  29031. "500":
  29032. description: Internal Server Error
  29033. schema:
  29034. $ref: '#/definitions/app.Response'
  29035. security:
  29036. - ApiKeyAuth: []
  29037. summary: 查询资讯
  29038. tags:
  29039. - 大连千海金
  29040. /Qhj/QueryTradeGoodsPickup:
  29041. get:
  29042. parameters:
  29043. - description: 用户ID
  29044. in: query
  29045. name: userid
  29046. required: true
  29047. type: integer
  29048. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  29049. 7:已拒绝 8:已撤销
  29050. in: query
  29051. name: takeorderstatus
  29052. type: integer
  29053. produces:
  29054. - application/json
  29055. responses:
  29056. "200":
  29057. description: OK
  29058. schema:
  29059. items:
  29060. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  29061. type: array
  29062. "500":
  29063. description: Internal Server Error
  29064. schema:
  29065. $ref: '#/definitions/app.Response'
  29066. security:
  29067. - ApiKeyAuth: []
  29068. summary: 查询提货
  29069. tags:
  29070. - 大连千海金
  29071. /Qhj/QueryUserCollectConfig:
  29072. get:
  29073. parameters:
  29074. - description: 用户ID
  29075. in: query
  29076. name: userid
  29077. required: true
  29078. type: integer
  29079. produces:
  29080. - application/json
  29081. responses:
  29082. "200":
  29083. description: OK
  29084. schema:
  29085. items:
  29086. $ref: '#/definitions/models.UserCollectConfig'
  29087. type: array
  29088. "500":
  29089. description: Internal Server Error
  29090. schema:
  29091. $ref: '#/definitions/app.Response'
  29092. security:
  29093. - ApiKeyAuth: []
  29094. summary: 查询提现账户设置
  29095. tags:
  29096. - 大连千海金
  29097. /Qhj/QueryUserReceiveInfo:
  29098. get:
  29099. parameters:
  29100. - description: 用户ID
  29101. in: query
  29102. name: userid
  29103. required: true
  29104. type: integer
  29105. produces:
  29106. - application/json
  29107. responses:
  29108. "200":
  29109. description: OK
  29110. schema:
  29111. items:
  29112. $ref: '#/definitions/models.UserReceiveInfo'
  29113. type: array
  29114. "500":
  29115. description: Internal Server Error
  29116. schema:
  29117. $ref: '#/definitions/app.Response'
  29118. security:
  29119. - ApiKeyAuth: []
  29120. summary: 查询收货地址信息
  29121. tags:
  29122. - 大连千海金
  29123. /QhjMgr/QueryAccountInOutApply:
  29124. get:
  29125. parameters:
  29126. - description: 查询类型 1-提现(出金) 2-充值(出金)
  29127. in: query
  29128. name: querytype
  29129. required: true
  29130. type: integer
  29131. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  29132. in: query
  29133. name: applystatus
  29134. type: integer
  29135. - description: 申请起始日期(格式yyyymmdd)
  29136. in: query
  29137. name: begindate
  29138. type: string
  29139. - description: 申请截止日期(格式yyyymmdd)
  29140. in: query
  29141. name: enddate
  29142. type: string
  29143. - description: 模糊搜索名称
  29144. in: query
  29145. name: likename
  29146. type: string
  29147. produces:
  29148. - application/json
  29149. responses:
  29150. "200":
  29151. description: OK
  29152. schema:
  29153. items:
  29154. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  29155. type: array
  29156. "500":
  29157. description: Internal Server Error
  29158. schema:
  29159. $ref: '#/definitions/app.Response'
  29160. security:
  29161. - ApiKeyAuth: []
  29162. summary: 查询充值提现
  29163. tags:
  29164. - 大连千海金(PCWeb)
  29165. /QhjMgr/QueryBrokerApply:
  29166. get:
  29167. parameters:
  29168. - description: 所属机构ID
  29169. in: query
  29170. name: userid
  29171. type: integer
  29172. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29173. in: query
  29174. name: filterstatus
  29175. type: string
  29176. - description: 名称(模糊匹配)
  29177. in: query
  29178. name: filtername
  29179. type: string
  29180. - description: 是否包含子级 1-包含
  29181. in: query
  29182. name: includesub
  29183. type: integer
  29184. produces:
  29185. - application/json
  29186. responses:
  29187. "200":
  29188. description: OK
  29189. schema:
  29190. items:
  29191. $ref: '#/definitions/models.QhjMgrBrokerApply'
  29192. type: array
  29193. "500":
  29194. description: Internal Server Error
  29195. schema:
  29196. $ref: '#/definitions/app.Response'
  29197. security:
  29198. - ApiKeyAuth: []
  29199. summary: 查询经纪人申请
  29200. tags:
  29201. - 大连千海金(PCWeb)
  29202. /QhjMgr/QueryBrokerRewardReport:
  29203. get:
  29204. parameters:
  29205. - description: 所属机构ID
  29206. in: query
  29207. name: userid
  29208. required: true
  29209. type: integer
  29210. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29211. in: query
  29212. name: cycletype
  29213. required: true
  29214. type: integer
  29215. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  29216. in: query
  29217. name: cycletime
  29218. required: true
  29219. type: string
  29220. - description: 名称(模糊匹配)
  29221. in: query
  29222. name: filtername
  29223. type: string
  29224. - description: 是否包含子级 1-包含
  29225. in: query
  29226. name: includesub
  29227. type: integer
  29228. produces:
  29229. - application/json
  29230. responses:
  29231. "200":
  29232. description: OK
  29233. schema:
  29234. items:
  29235. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  29236. type: array
  29237. "500":
  29238. description: Internal Server Error
  29239. schema:
  29240. $ref: '#/definitions/app.Response'
  29241. security:
  29242. - ApiKeyAuth: []
  29243. summary: 查询经纪人奖励报表(废弃)
  29244. tags:
  29245. - 大连千海金(PCWeb)
  29246. /QhjMgr/QueryContract:
  29247. get:
  29248. parameters:
  29249. - description: 用户ID
  29250. in: query
  29251. name: userid
  29252. type: integer
  29253. - description: 商品id
  29254. in: query
  29255. name: goodsid
  29256. type: integer
  29257. - description: 名称(模糊搜索账户)
  29258. in: query
  29259. name: filtername
  29260. type: string
  29261. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  29262. in: query
  29263. name: risklevel
  29264. type: string
  29265. - description: 开始交易日(yyyymmdd)
  29266. in: query
  29267. name: begindate
  29268. type: string
  29269. - description: 结束交易日(yyyymmdd)
  29270. in: query
  29271. name: enddate
  29272. type: string
  29273. produces:
  29274. - application/json
  29275. responses:
  29276. "200":
  29277. description: OK
  29278. schema:
  29279. items:
  29280. $ref: '#/definitions/models.QhjMgrContract'
  29281. type: array
  29282. "500":
  29283. description: Internal Server Error
  29284. schema:
  29285. $ref: '#/definitions/app.Response'
  29286. security:
  29287. - ApiKeyAuth: []
  29288. summary: 查询融资信息(合同)
  29289. tags:
  29290. - 大连千海金(PCWeb)
  29291. /QhjMgr/QueryCustomerInfo:
  29292. get:
  29293. parameters:
  29294. - description: 用户ID
  29295. in: query
  29296. name: userid
  29297. required: true
  29298. type: integer
  29299. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29300. in: query
  29301. name: querytype
  29302. required: true
  29303. type: integer
  29304. - description: 客户类型 1-个人 2-企业
  29305. in: query
  29306. name: userinfotype
  29307. type: integer
  29308. - description: 客户名称(模糊匹配)
  29309. in: query
  29310. name: customername
  29311. type: string
  29312. - description: 昵称(模糊匹配)
  29313. in: query
  29314. name: nickname
  29315. type: string
  29316. - description: 所属客户经理(模糊匹配)
  29317. in: query
  29318. name: brokername
  29319. type: string
  29320. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  29321. 如0503 -5月3日)
  29322. in: query
  29323. name: birthday
  29324. type: string
  29325. - description: 是否包含子级 1-包含
  29326. in: query
  29327. name: includesub
  29328. type: integer
  29329. produces:
  29330. - application/json
  29331. responses:
  29332. "200":
  29333. description: OK
  29334. schema:
  29335. items:
  29336. $ref: '#/definitions/models.QhjMgrCustomer'
  29337. type: array
  29338. "500":
  29339. description: Internal Server Error
  29340. schema:
  29341. $ref: '#/definitions/app.Response'
  29342. security:
  29343. - ApiKeyAuth: []
  29344. summary: 查询客户资料
  29345. tags:
  29346. - 大连千海金(PCWeb)
  29347. /QhjMgr/QueryPickGoods:
  29348. get:
  29349. parameters:
  29350. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29351. in: query
  29352. name: status
  29353. type: string
  29354. produces:
  29355. - application/json
  29356. responses:
  29357. "200":
  29358. description: OK
  29359. schema:
  29360. items:
  29361. $ref: '#/definitions/models.QhjMgrPickGoods'
  29362. type: array
  29363. "500":
  29364. description: Internal Server Error
  29365. schema:
  29366. $ref: '#/definitions/app.Response'
  29367. security:
  29368. - ApiKeyAuth: []
  29369. summary: 查询提货商品
  29370. tags:
  29371. - 大连千海金(PCWeb)
  29372. /QhjMgr/QuerySubArea:
  29373. get:
  29374. parameters:
  29375. - description: 用户ID
  29376. in: query
  29377. name: userid
  29378. required: true
  29379. type: integer
  29380. produces:
  29381. - application/json
  29382. responses:
  29383. "200":
  29384. description: OK
  29385. schema:
  29386. items:
  29387. $ref: '#/definitions/models.QhjMgrSubArea'
  29388. type: array
  29389. "500":
  29390. description: Internal Server Error
  29391. schema:
  29392. $ref: '#/definitions/app.Response'
  29393. security:
  29394. - ApiKeyAuth: []
  29395. summary: 查询子机构列表
  29396. tags:
  29397. - 大连千海金(PCWeb)
  29398. /QhjMgr/QueryTradeDetail:
  29399. get:
  29400. parameters:
  29401. - description: 用户ID
  29402. in: query
  29403. name: userid
  29404. required: true
  29405. type: integer
  29406. - description: 用户类型 1-个人 2-企业
  29407. in: query
  29408. name: userinfotype
  29409. type: integer
  29410. - description: 交易模式
  29411. in: query
  29412. name: trademode
  29413. type: integer
  29414. - description: 商品id
  29415. in: query
  29416. name: goodsid
  29417. type: integer
  29418. - description: 名称(模糊搜索账户)
  29419. in: query
  29420. name: filtername
  29421. type: string
  29422. - description: 开始交易日(yyyymmdd)
  29423. in: query
  29424. name: begindate
  29425. type: string
  29426. - description: 结束交易日(yyyymmdd)
  29427. in: query
  29428. name: enddate
  29429. type: string
  29430. - description: 是否包含子级 1-包含
  29431. in: query
  29432. name: includesub
  29433. type: integer
  29434. produces:
  29435. - application/json
  29436. responses:
  29437. "200":
  29438. description: OK
  29439. schema:
  29440. items:
  29441. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  29442. type: array
  29443. "500":
  29444. description: Internal Server Error
  29445. schema:
  29446. $ref: '#/definitions/app.Response'
  29447. security:
  29448. - ApiKeyAuth: []
  29449. summary: 查询成交明细
  29450. tags:
  29451. - 大连千海金(PCWeb)
  29452. /QhjMgr/QueryTradeOrderDetail:
  29453. get:
  29454. parameters:
  29455. - description: 用户ID
  29456. in: query
  29457. name: userid
  29458. required: true
  29459. type: integer
  29460. - description: 用户类型 1-个人 2-企业
  29461. in: query
  29462. name: userinfotype
  29463. type: integer
  29464. - description: 交易模式
  29465. in: query
  29466. name: trademode
  29467. type: integer
  29468. - description: 商品id
  29469. in: query
  29470. name: goodsid
  29471. type: integer
  29472. - description: 名称(模糊搜索账户)
  29473. in: query
  29474. name: filtername
  29475. type: string
  29476. - description: 开始交易日(yyyymmdd)
  29477. in: query
  29478. name: begindate
  29479. type: string
  29480. - description: 结束交易日(yyyymmdd)
  29481. in: query
  29482. name: enddate
  29483. type: string
  29484. - description: 是否包含子级 1-包含
  29485. in: query
  29486. name: includesub
  29487. type: integer
  29488. produces:
  29489. - application/json
  29490. responses:
  29491. "200":
  29492. description: OK
  29493. schema:
  29494. items:
  29495. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  29496. type: array
  29497. "500":
  29498. description: Internal Server Error
  29499. schema:
  29500. $ref: '#/definitions/app.Response'
  29501. security:
  29502. - ApiKeyAuth: []
  29503. summary: 查询委托明细
  29504. tags:
  29505. - 大连千海金(PCWeb)
  29506. /QhjMgr/QueryTradePayOrder:
  29507. get:
  29508. parameters:
  29509. - description: 用户ID
  29510. in: query
  29511. name: userid
  29512. required: true
  29513. type: integer
  29514. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  29515. in: query
  29516. name: payflag
  29517. type: string
  29518. - description: 用户类型 1-个人 2-企业
  29519. in: query
  29520. name: userinfotype
  29521. type: integer
  29522. - description: 交易模式
  29523. in: query
  29524. name: trademode
  29525. type: integer
  29526. - description: 商品id
  29527. in: query
  29528. name: goodsid
  29529. type: integer
  29530. - description: 名称(模糊搜索账户)
  29531. in: query
  29532. name: filtername
  29533. type: string
  29534. - description: 开始交易日(yyyymmdd)
  29535. in: query
  29536. name: begindate
  29537. type: string
  29538. - description: 结束交易日(yyyymmdd)
  29539. in: query
  29540. name: enddate
  29541. type: string
  29542. - description: 是否包含子级 1-包含
  29543. in: query
  29544. name: includesub
  29545. type: integer
  29546. produces:
  29547. - application/json
  29548. responses:
  29549. "200":
  29550. description: OK
  29551. schema:
  29552. items:
  29553. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  29554. type: array
  29555. "500":
  29556. description: Internal Server Error
  29557. schema:
  29558. $ref: '#/definitions/app.Response'
  29559. security:
  29560. - ApiKeyAuth: []
  29561. summary: 查询待付款单
  29562. tags:
  29563. - 大连千海金(PCWeb)
  29564. /QhjMgr/QueryTradePosition:
  29565. get:
  29566. parameters:
  29567. - description: 用户ID
  29568. in: query
  29569. name: userid
  29570. required: true
  29571. type: integer
  29572. - description: 用户类型 1-个人 2-企业
  29573. in: query
  29574. name: userinfotype
  29575. type: integer
  29576. - description: 交易模式
  29577. in: query
  29578. name: trademode
  29579. type: integer
  29580. - description: 商品id
  29581. in: query
  29582. name: goodsid
  29583. type: integer
  29584. - description: 名称(模糊搜索账户)
  29585. in: query
  29586. name: filtername
  29587. type: string
  29588. - description: 是否包含子级 1-包含
  29589. in: query
  29590. name: includesub
  29591. type: integer
  29592. produces:
  29593. - application/json
  29594. responses:
  29595. "200":
  29596. description: OK
  29597. schema:
  29598. items:
  29599. $ref: '#/definitions/models.QhjMgrPositionRsp'
  29600. type: array
  29601. "500":
  29602. description: Internal Server Error
  29603. schema:
  29604. $ref: '#/definitions/app.Response'
  29605. security:
  29606. - ApiKeyAuth: []
  29607. summary: 查询持仓汇总
  29608. tags:
  29609. - 大连千海金(PCWeb)
  29610. /QhjSys/QueryAgreementChangeLog:
  29611. get:
  29612. parameters:
  29613. - description: 协议ID
  29614. in: query
  29615. name: agreementid
  29616. type: integer
  29617. - description: 协议版本号
  29618. in: query
  29619. name: agreementversion
  29620. type: integer
  29621. - description: 协议类型 - 1:注册 2:登录 3:交易
  29622. in: query
  29623. name: agreementtype
  29624. type: integer
  29625. - description: 协议编号(模糊匹配)
  29626. in: query
  29627. name: agreementno
  29628. type: string
  29629. - description: 协议名称(模糊匹配)
  29630. in: query
  29631. name: agreementname
  29632. type: string
  29633. produces:
  29634. - application/json
  29635. responses:
  29636. "200":
  29637. description: OK
  29638. schema:
  29639. items:
  29640. $ref: '#/definitions/models.QhjAgreementChangeLog'
  29641. type: array
  29642. "500":
  29643. description: Internal Server Error
  29644. schema:
  29645. $ref: '#/definitions/app.Response'
  29646. security:
  29647. - ApiKeyAuth: []
  29648. summary: 查询协议配置变更流水
  29649. tags:
  29650. - 大连千海金(协议和签约信息)
  29651. /QhjSys/QueryAgreementConfig:
  29652. get:
  29653. parameters:
  29654. - description: 协议ID
  29655. in: query
  29656. name: agreementid
  29657. type: integer
  29658. - description: 协议版本号
  29659. in: query
  29660. name: agreementversion
  29661. type: integer
  29662. - description: 协议类型 - 1:注册 2:登录 3:交易
  29663. in: query
  29664. name: agreementtype
  29665. type: integer
  29666. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  29667. in: query
  29668. name: isvalid
  29669. type: integer
  29670. - description: 协议编号(模糊匹配)
  29671. in: query
  29672. name: agreementno
  29673. type: string
  29674. - description: 协议名称(模糊匹配)
  29675. in: query
  29676. name: agreementname
  29677. type: string
  29678. produces:
  29679. - application/json
  29680. responses:
  29681. "200":
  29682. description: OK
  29683. schema:
  29684. items:
  29685. $ref: '#/definitions/models.QhjAgreementConfig'
  29686. type: array
  29687. "500":
  29688. description: Internal Server Error
  29689. schema:
  29690. $ref: '#/definitions/app.Response'
  29691. security:
  29692. - ApiKeyAuth: []
  29693. summary: 查询协议配置
  29694. tags:
  29695. - 大连千海金(协议和签约信息)
  29696. /QhjSys/QueryCustomerSignStatus:
  29697. get:
  29698. parameters:
  29699. - description: 客户ID
  29700. in: query
  29701. name: userid
  29702. type: integer
  29703. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  29704. in: query
  29705. name: nodetype
  29706. type: integer
  29707. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29708. in: query
  29709. name: goodsid
  29710. type: integer
  29711. - description: 创建交易日(yyyyMMdd)
  29712. in: query
  29713. name: tradedate
  29714. type: string
  29715. - description: 用户名称(模糊匹配)
  29716. in: query
  29717. name: username
  29718. type: string
  29719. produces:
  29720. - application/json
  29721. responses:
  29722. "200":
  29723. description: OK
  29724. schema:
  29725. items:
  29726. $ref: '#/definitions/models.QhjCustomerSignStatus'
  29727. type: array
  29728. "500":
  29729. description: Internal Server Error
  29730. schema:
  29731. $ref: '#/definitions/app.Response'
  29732. security:
  29733. - ApiKeyAuth: []
  29734. summary: 查询客户协议签约状态
  29735. tags:
  29736. - 大连千海金(协议和签约信息)
  29737. /QhjSys/QueryNodeAgreementConfig:
  29738. get:
  29739. parameters:
  29740. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29741. in: query
  29742. name: configid
  29743. type: integer
  29744. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29745. in: query
  29746. name: nodetype
  29747. type: integer
  29748. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29749. in: query
  29750. name: goodsid
  29751. type: integer
  29752. - description: 协议ID
  29753. in: query
  29754. name: agreementid
  29755. type: integer
  29756. - description: 协议类型 - 1:注册 2:登录 3:交易
  29757. in: query
  29758. name: agreementtype
  29759. type: integer
  29760. - description: 协议版本号
  29761. in: query
  29762. name: agreementversion
  29763. type: integer
  29764. - description: 协议编号(模糊匹配)
  29765. in: query
  29766. name: agreementno
  29767. type: string
  29768. - description: 协议名称(模糊匹配)
  29769. in: query
  29770. name: agreementname
  29771. type: string
  29772. produces:
  29773. - application/json
  29774. responses:
  29775. "200":
  29776. description: OK
  29777. schema:
  29778. items:
  29779. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  29780. type: array
  29781. "500":
  29782. description: Internal Server Error
  29783. schema:
  29784. $ref: '#/definitions/app.Response'
  29785. security:
  29786. - ApiKeyAuth: []
  29787. summary: 查询协议节点配置
  29788. tags:
  29789. - 大连千海金(协议和签约信息)
  29790. /QhjSys/QueryQhjCustomerSignLog:
  29791. get:
  29792. parameters:
  29793. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  29794. in: query
  29795. name: logid
  29796. type: integer
  29797. - description: 客户ID
  29798. in: query
  29799. name: userid
  29800. type: integer
  29801. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29802. in: query
  29803. name: nodetype
  29804. type: integer
  29805. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29806. in: query
  29807. name: goodsid
  29808. type: integer
  29809. - description: 协议ID
  29810. in: query
  29811. name: agreementid
  29812. type: integer
  29813. - description: 用户名称(模糊匹配)
  29814. in: query
  29815. name: username
  29816. type: string
  29817. - description: 协议编号(模糊匹配)
  29818. in: query
  29819. name: agreementno
  29820. type: string
  29821. - description: 协议名称(模糊匹配)
  29822. in: query
  29823. name: agreementname
  29824. type: string
  29825. produces:
  29826. - application/json
  29827. responses:
  29828. "200":
  29829. description: OK
  29830. schema:
  29831. items:
  29832. $ref: '#/definitions/models.QhjCustomerSignLog'
  29833. type: array
  29834. "500":
  29835. description: Internal Server Error
  29836. schema:
  29837. $ref: '#/definitions/app.Response'
  29838. security:
  29839. - ApiKeyAuth: []
  29840. summary: 查询客户协议签约流水
  29841. tags:
  29842. - 大连千海金(协议和签约信息)
  29843. /QhjSys/QueryUserNodeCfgAndStatus:
  29844. get:
  29845. parameters:
  29846. - description: 客户ID
  29847. in: query
  29848. name: userid
  29849. type: integer
  29850. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29851. in: query
  29852. name: configid
  29853. type: integer
  29854. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29855. in: query
  29856. name: nodetype
  29857. type: string
  29858. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29859. in: query
  29860. name: goodsid
  29861. type: integer
  29862. - description: 协议ID
  29863. in: query
  29864. name: agreementid
  29865. type: integer
  29866. - description: 协议类型 - 1:注册 2:登录 3:交易
  29867. in: query
  29868. name: agreementtype
  29869. type: integer
  29870. - description: 协议版本号
  29871. in: query
  29872. name: agreementversion
  29873. type: integer
  29874. - description: 协议编号(模糊匹配)
  29875. in: query
  29876. name: agreementno
  29877. type: string
  29878. - description: 协议名称(模糊匹配)
  29879. in: query
  29880. name: agreementname
  29881. type: string
  29882. produces:
  29883. - application/json
  29884. responses:
  29885. "200":
  29886. description: OK
  29887. schema:
  29888. items:
  29889. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  29890. type: array
  29891. "500":
  29892. description: Internal Server Error
  29893. schema:
  29894. $ref: '#/definitions/app.Response'
  29895. security:
  29896. - ApiKeyAuth: []
  29897. summary: 查询用户协议节点配置和状态
  29898. tags:
  29899. - 大连千海金(协议和签约信息)
  29900. /Quote/QueryHistoryDatas:
  29901. get:
  29902. parameters:
  29903. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  29904. 日线 12:周线 13:月线 14:年线'
  29905. in: query
  29906. name: cycleType
  29907. required: true
  29908. type: integer
  29909. - description: 商品代码
  29910. in: query
  29911. name: goodsCode
  29912. required: true
  29913. type: string
  29914. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29915. in: query
  29916. name: startTime
  29917. type: string
  29918. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29919. in: query
  29920. name: endTime
  29921. type: string
  29922. - description: 条数
  29923. in: query
  29924. name: count
  29925. type: integer
  29926. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29927. in: query
  29928. name: isAsc
  29929. type: boolean
  29930. produces:
  29931. - application/json
  29932. responses:
  29933. "200":
  29934. description: OK
  29935. schema:
  29936. $ref: '#/definitions/quote.HistoryData'
  29937. "500":
  29938. description: Internal Server Error
  29939. schema:
  29940. $ref: '#/definitions/app.Response'
  29941. security:
  29942. - ApiKeyAuth: []
  29943. summary: 查询行情历史数据
  29944. tags:
  29945. - 行情服务
  29946. /Quote/QueryHistoryTikDatas:
  29947. get:
  29948. parameters:
  29949. - description: 商品代码
  29950. in: query
  29951. name: goodsCode
  29952. required: true
  29953. type: string
  29954. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29955. in: query
  29956. name: startTime
  29957. type: string
  29958. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29959. in: query
  29960. name: endTime
  29961. type: string
  29962. - description: 条数
  29963. in: query
  29964. name: count
  29965. type: integer
  29966. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29967. in: query
  29968. name: isAsc
  29969. type: boolean
  29970. produces:
  29971. - application/json
  29972. responses:
  29973. "200":
  29974. description: OK
  29975. schema:
  29976. $ref: '#/definitions/quote.HistoryTikData'
  29977. "500":
  29978. description: Internal Server Error
  29979. schema:
  29980. $ref: '#/definitions/app.Response'
  29981. security:
  29982. - ApiKeyAuth: []
  29983. summary: 查询行情Tik数据
  29984. tags:
  29985. - 行情服务
  29986. /Quote/QueryQuoteDay:
  29987. get:
  29988. parameters:
  29989. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  29990. in: query
  29991. name: goodsCodes
  29992. type: string
  29993. produces:
  29994. - application/json
  29995. responses:
  29996. "200":
  29997. description: OK
  29998. schema:
  29999. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  30000. "500":
  30001. description: Internal Server Error
  30002. schema:
  30003. $ref: '#/definitions/app.Response'
  30004. security:
  30005. - ApiKeyAuth: []
  30006. summary: 获取商品盘面信息
  30007. tags:
  30008. - 行情服务
  30009. /Quote/QueryTSData:
  30010. get:
  30011. parameters:
  30012. - description: 商品代码
  30013. in: query
  30014. name: goodsCode
  30015. required: true
  30016. type: string
  30017. produces:
  30018. - application/json
  30019. responses:
  30020. "200":
  30021. description: OK
  30022. schema:
  30023. $ref: '#/definitions/quote.QueryTSDataRsp'
  30024. "500":
  30025. description: Internal Server Error
  30026. schema:
  30027. $ref: '#/definitions/app.Response'
  30028. security:
  30029. - ApiKeyAuth: []
  30030. summary: 分时图数据查询
  30031. tags:
  30032. - 行情服务
  30033. /SZDZ/QueryConvertConfig:
  30034. get:
  30035. parameters:
  30036. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  30037. 6:交易转花生米(不设置)
  30038. in: query
  30039. name: convertType
  30040. type: integer
  30041. - description: 外部商品代码[JD\PD]
  30042. in: query
  30043. name: outerGoodsCode
  30044. type: string
  30045. - description: 内部商品ID列表[交易],格式:1,2,3
  30046. in: query
  30047. name: innerGoodsIDs
  30048. type: string
  30049. produces:
  30050. - application/json
  30051. responses:
  30052. "200":
  30053. description: OK
  30054. schema:
  30055. $ref: '#/definitions/models.Szdz3convertconfig'
  30056. "500":
  30057. description: Internal Server Error
  30058. schema:
  30059. $ref: '#/definitions/app.Response'
  30060. security:
  30061. - ApiKeyAuth: []
  30062. summary: 查询交易系统转换设置
  30063. tags:
  30064. - 定制【尚志大宗】
  30065. /SZDZ/QueryConvertLog:
  30066. get:
  30067. parameters:
  30068. - description: 资金账户 - 格式:1,2,3
  30069. in: query
  30070. name: accountID
  30071. required: true
  30072. type: string
  30073. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  30074. in: query
  30075. name: startDate
  30076. type: string
  30077. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  30078. in: query
  30079. name: endDate
  30080. type: string
  30081. produces:
  30082. - application/json
  30083. responses:
  30084. "200":
  30085. description: OK
  30086. schema:
  30087. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  30088. "500":
  30089. description: Internal Server Error
  30090. schema:
  30091. $ref: '#/definitions/app.Response'
  30092. security:
  30093. - ApiKeyAuth: []
  30094. summary: 交易系统转换流水查询
  30095. tags:
  30096. - 定制【尚志大宗】
  30097. /SZDZ/QueryGoodsPickup:
  30098. get:
  30099. parameters:
  30100. - description: 资金账户 - 格式:1,2,3
  30101. in: query
  30102. name: accountID
  30103. required: true
  30104. type: string
  30105. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  30106. in: query
  30107. name: takeOrderStatus
  30108. type: integer
  30109. produces:
  30110. - application/json
  30111. responses:
  30112. "200":
  30113. description: OK
  30114. schema:
  30115. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  30116. "500":
  30117. description: Internal Server Error
  30118. schema:
  30119. $ref: '#/definitions/app.Response'
  30120. security:
  30121. - ApiKeyAuth: []
  30122. summary: 商品提货单查询
  30123. tags:
  30124. - 定制【尚志大宗】
  30125. /SZDZ/QueryRecieptOrder:
  30126. get:
  30127. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  30128. parameters:
  30129. - description: 页码
  30130. in: query
  30131. name: page
  30132. type: integer
  30133. - description: 每页条数
  30134. in: query
  30135. name: pagesize
  30136. type: integer
  30137. - description: 商品ID
  30138. in: query
  30139. name: goodsID
  30140. required: true
  30141. type: integer
  30142. - description: 所属账户名称
  30143. in: query
  30144. name: accountName
  30145. type: string
  30146. - description: 市场ID
  30147. in: query
  30148. name: marketID
  30149. type: integer
  30150. - description: 方向 - 0:买 1:卖
  30151. in: query
  30152. name: buyorsell
  30153. required: true
  30154. type: integer
  30155. produces:
  30156. - application/json
  30157. responses:
  30158. "200":
  30159. description: OK
  30160. schema:
  30161. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  30162. "500":
  30163. description: Internal Server Error
  30164. schema:
  30165. $ref: '#/definitions/app.Response'
  30166. security:
  30167. - ApiKeyAuth: []
  30168. summary: 点选挂牌委托单据查询(摘牌大厅)
  30169. tags:
  30170. - 定制【尚志大宗】
  30171. /SZDZ/QuerySZDZTradePosition:
  30172. get:
  30173. parameters:
  30174. - description: 资金账户
  30175. in: query
  30176. name: accountID
  30177. required: true
  30178. type: integer
  30179. produces:
  30180. - application/json
  30181. responses:
  30182. "200":
  30183. description: OK
  30184. schema:
  30185. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  30186. "500":
  30187. description: Internal Server Error
  30188. schema:
  30189. $ref: '#/definitions/app.Response'
  30190. security:
  30191. - ApiKeyAuth: []
  30192. summary: 持仓汇总查询(尚志大宗)
  30193. tags:
  30194. - 定制【尚志大宗】
  30195. /SZDZ/SearchWhite:
  30196. get:
  30197. parameters:
  30198. - description: 用户ID
  30199. in: query
  30200. name: userID
  30201. required: true
  30202. type: integer
  30203. produces:
  30204. - application/json
  30205. responses:
  30206. "200":
  30207. description: OK
  30208. schema:
  30209. $ref: '#/definitions/models.Szdz3searchwhitelist'
  30210. "500":
  30211. description: Internal Server Error
  30212. schema:
  30213. $ref: '#/definitions/app.Response'
  30214. security:
  30215. - ApiKeyAuth: []
  30216. summary: 搜索白名单
  30217. tags:
  30218. - 定制【尚志大宗】
  30219. /Search/SearchGoodses:
  30220. get:
  30221. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  30222. parameters:
  30223. - description: 检索内容
  30224. in: query
  30225. name: content
  30226. required: true
  30227. type: string
  30228. - description: 交易模式,格式:1,2,3
  30229. in: query
  30230. name: tradeModes
  30231. type: string
  30232. produces:
  30233. - application/json
  30234. responses:
  30235. "200":
  30236. description: OK
  30237. schema:
  30238. $ref: '#/definitions/models.SearchGoods'
  30239. "500":
  30240. description: Internal Server Error
  30241. schema:
  30242. $ref: '#/definitions/app.Response'
  30243. summary: 检索商品信息
  30244. tags:
  30245. - 检索服务
  30246. /TaAccount/GetTaAccounts:
  30247. get:
  30248. parameters:
  30249. - description: 登录账户
  30250. in: query
  30251. name: loginID
  30252. required: true
  30253. type: integer
  30254. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  30255. in: query
  30256. name: taAccountType
  30257. type: integer
  30258. produces:
  30259. - application/json
  30260. responses:
  30261. "200":
  30262. description: OK
  30263. schema:
  30264. $ref: '#/definitions/models.Taaccount'
  30265. "500":
  30266. description: Internal Server Error
  30267. schema:
  30268. $ref: '#/definitions/app.Response'
  30269. security:
  30270. - ApiKeyAuth: []
  30271. summary: 获取资金账户信息
  30272. tags:
  30273. - 资金账户
  30274. /TaAccount/QueryAmountLog:
  30275. get:
  30276. parameters:
  30277. - description: 页码
  30278. in: query
  30279. name: page
  30280. type: integer
  30281. - description: 每页条数
  30282. in: query
  30283. name: pagesize
  30284. type: integer
  30285. - description: 资金账户 - 格式:1,2,3
  30286. in: query
  30287. name: accountID
  30288. required: true
  30289. type: string
  30290. - description: 资金操作类型 - 格式:1,2,3
  30291. in: query
  30292. name: OperateType
  30293. type: string
  30294. produces:
  30295. - application/json
  30296. responses:
  30297. "200":
  30298. description: OK
  30299. schema:
  30300. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  30301. "500":
  30302. description: Internal Server Error
  30303. schema:
  30304. $ref: '#/definitions/app.Response'
  30305. security:
  30306. - ApiKeyAuth: []
  30307. summary: 资金流水查询(当前)
  30308. tags:
  30309. - 资金账户
  30310. /TaAccount/QueryHisAmountLog:
  30311. get:
  30312. parameters:
  30313. - description: 页码
  30314. in: query
  30315. name: page
  30316. type: integer
  30317. - description: 每页条数
  30318. in: query
  30319. name: pagesize
  30320. type: integer
  30321. - description: 资金账户 - 格式:1,2,3
  30322. in: query
  30323. name: accountID
  30324. required: true
  30325. type: string
  30326. - description: 资金操作类型 - 格式:1,2,3
  30327. in: query
  30328. name: OperateType
  30329. type: string
  30330. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30331. in: query
  30332. name: startDate
  30333. type: string
  30334. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30335. in: query
  30336. name: endDate
  30337. type: string
  30338. produces:
  30339. - application/json
  30340. responses:
  30341. "200":
  30342. description: OK
  30343. schema:
  30344. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  30345. "500":
  30346. description: Internal Server Error
  30347. schema:
  30348. $ref: '#/definitions/app.Response'
  30349. security:
  30350. - ApiKeyAuth: []
  30351. summary: 资金流水查询(历史)
  30352. tags:
  30353. - 资金账户
  30354. /TaAccount/QueryRelatedTaAccount:
  30355. get:
  30356. parameters:
  30357. - description: 关联UserID
  30358. in: query
  30359. name: relateduserid
  30360. required: true
  30361. type: integer
  30362. produces:
  30363. - application/json
  30364. responses:
  30365. "200":
  30366. description: OK
  30367. schema:
  30368. items:
  30369. $ref: '#/definitions/models.RelatedTaAccount'
  30370. type: array
  30371. "500":
  30372. description: Internal Server Error
  30373. schema:
  30374. $ref: '#/definitions/app.Response'
  30375. security:
  30376. - ApiKeyAuth: []
  30377. summary: 查询关联资金账户信息
  30378. tags:
  30379. - 资金账户
  30380. /Tjmd/QueryQuoteGoodsList:
  30381. get:
  30382. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  30383. parameters:
  30384. - description: 用户类型
  30385. in: query
  30386. name: usertype
  30387. required: true
  30388. type: integer
  30389. - description: 市场id, 格式 1,2,3
  30390. in: query
  30391. name: marketids
  30392. type: string
  30393. - description: 商品组id
  30394. in: query
  30395. name: goodsgroupid
  30396. type: integer
  30397. - description: 商品id
  30398. in: query
  30399. name: goodsid
  30400. type: integer
  30401. produces:
  30402. - application/json
  30403. responses:
  30404. "200":
  30405. description: OK
  30406. schema:
  30407. items:
  30408. $ref: '#/definitions/models.TjmdQuoteGoods'
  30409. type: array
  30410. "500":
  30411. description: Internal Server Error
  30412. schema:
  30413. $ref: '#/definitions/app.Response'
  30414. security:
  30415. - ApiKeyAuth: []
  30416. summary: 查询掉期报价列表
  30417. tags:
  30418. - 天津麦顿
  30419. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  30420. get:
  30421. parameters:
  30422. - description: 成交单号
  30423. in: query
  30424. name: tradeid
  30425. required: true
  30426. type: string
  30427. produces:
  30428. - application/json
  30429. responses:
  30430. "200":
  30431. description: OK
  30432. schema:
  30433. items:
  30434. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  30435. type: array
  30436. "500":
  30437. description: Internal Server Error
  30438. schema:
  30439. $ref: '#/definitions/app.Response'
  30440. security:
  30441. - ApiKeyAuth: []
  30442. summary: 掉期商品订单详情(交易确认书)
  30443. tags:
  30444. - 天津麦顿
  30445. /Tjmd/QueryTjmdMarketSection:
  30446. get:
  30447. produces:
  30448. - application/json
  30449. responses:
  30450. "200":
  30451. description: OK
  30452. schema:
  30453. items:
  30454. $ref: '#/definitions/models.TjmdMarketSection'
  30455. type: array
  30456. "500":
  30457. description: Internal Server Error
  30458. schema:
  30459. $ref: '#/definitions/app.Response'
  30460. security:
  30461. - ApiKeyAuth: []
  30462. summary: 查询市场板块
  30463. tags:
  30464. - 天津麦顿
  30465. /Tjmd/QueryTjmdTodayAccountMargin:
  30466. get:
  30467. parameters:
  30468. - description: 市场id
  30469. in: query
  30470. name: marketid
  30471. type: string
  30472. - description: 商品id
  30473. in: query
  30474. name: goodsid
  30475. type: string
  30476. - description: 资金账号
  30477. in: query
  30478. name: accountid
  30479. type: string
  30480. produces:
  30481. - application/json
  30482. responses:
  30483. "200":
  30484. description: OK
  30485. schema:
  30486. items:
  30487. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  30488. type: array
  30489. "500":
  30490. description: Internal Server Error
  30491. schema:
  30492. $ref: '#/definitions/app.Response'
  30493. security:
  30494. - ApiKeyAuth: []
  30495. summary: 查询今日账户保证金配置
  30496. tags:
  30497. - 天津麦顿
  30498. /Tjmd/QueryTjmdTradeOrderDetail:
  30499. get:
  30500. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  30501. parameters:
  30502. - description: 页码
  30503. in: query
  30504. name: page
  30505. type: integer
  30506. - description: 每页条数
  30507. in: query
  30508. name: pagesize
  30509. type: integer
  30510. - description: 用户id
  30511. in: query
  30512. name: userid
  30513. required: true
  30514. type: integer
  30515. - description: 用户类型
  30516. in: query
  30517. name: usertype
  30518. required: true
  30519. type: integer
  30520. - description: 市场id, 格式 1,2,3
  30521. in: query
  30522. name: marketids
  30523. type: string
  30524. - description: 商品id
  30525. in: query
  30526. name: goodsid
  30527. required: true
  30528. type: integer
  30529. - description: 买卖方向 0-买 1-卖
  30530. in: query
  30531. name: buyorsell
  30532. required: true
  30533. type: integer
  30534. produces:
  30535. - application/json
  30536. responses:
  30537. "200":
  30538. description: OK
  30539. schema:
  30540. items:
  30541. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  30542. type: array
  30543. "500":
  30544. description: Internal Server Error
  30545. schema:
  30546. $ref: '#/definitions/app.Response'
  30547. security:
  30548. - ApiKeyAuth: []
  30549. summary: 查询掉期买卖大厅
  30550. tags:
  30551. - 天津麦顿
  30552. /Tjmd/QueryTjmdTransferApply:
  30553. get:
  30554. parameters:
  30555. - description: 类型 1-我的申请 2-对方申请
  30556. in: query
  30557. name: applytype
  30558. required: true
  30559. type: integer
  30560. - description: 市场id, 格式 1,2,3
  30561. in: query
  30562. name: marketids
  30563. type: string
  30564. - description: 资金账号, 格式 25000000001,25000000003
  30565. in: query
  30566. name: accountids
  30567. type: string
  30568. - description: 开始交易日(yyyymmdd)
  30569. in: query
  30570. name: begindate
  30571. type: string
  30572. - description: 结束交易日(yyyymmdd)
  30573. in: query
  30574. name: enddate
  30575. type: string
  30576. produces:
  30577. - application/json
  30578. responses:
  30579. "200":
  30580. description: OK
  30581. schema:
  30582. items:
  30583. $ref: '#/definitions/models.TjmdTransferApply'
  30584. type: array
  30585. "500":
  30586. description: Internal Server Error
  30587. schema:
  30588. $ref: '#/definitions/app.Response'
  30589. security:
  30590. - ApiKeyAuth: []
  30591. summary: 查询掉期协议单
  30592. tags:
  30593. - 天津麦顿
  30594. /Trade/QueryRecieptOrder:
  30595. get:
  30596. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  30597. parameters:
  30598. - description: 页码
  30599. in: query
  30600. name: page
  30601. type: integer
  30602. - description: 每页条数
  30603. in: query
  30604. name: pagesize
  30605. type: integer
  30606. - description: 商品ID
  30607. in: query
  30608. name: goodsID
  30609. required: true
  30610. type: integer
  30611. - description: 所属账户名称
  30612. in: query
  30613. name: accountName
  30614. type: string
  30615. - description: 市场ID
  30616. in: query
  30617. name: marketID
  30618. type: integer
  30619. - description: 方向 - 0:买 1:卖
  30620. in: query
  30621. name: buyorsell
  30622. required: true
  30623. type: integer
  30624. produces:
  30625. - application/json
  30626. responses:
  30627. "200":
  30628. description: OK
  30629. schema:
  30630. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  30631. "500":
  30632. description: Internal Server Error
  30633. schema:
  30634. $ref: '#/definitions/app.Response'
  30635. security:
  30636. - ApiKeyAuth: []
  30637. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  30638. tags:
  30639. - 通用交易
  30640. /User/AddMessageBoard:
  30641. post:
  30642. parameters:
  30643. - description: 用户ID
  30644. in: query
  30645. name: userID
  30646. required: true
  30647. type: integer
  30648. - description: 留言信息
  30649. in: query
  30650. name: message
  30651. required: true
  30652. type: string
  30653. - description: 联系电话
  30654. in: query
  30655. name: contactNum
  30656. required: true
  30657. type: string
  30658. produces:
  30659. - application/json
  30660. responses:
  30661. "200":
  30662. description: OK
  30663. schema:
  30664. $ref: '#/definitions/app.Response'
  30665. "500":
  30666. description: Internal Server Error
  30667. schema:
  30668. $ref: '#/definitions/app.Response'
  30669. security:
  30670. - ApiKeyAuth: []
  30671. summary: 添加用户留言板信息
  30672. tags:
  30673. - 用户信息
  30674. /User/AddUserFavoriteGoods:
  30675. post:
  30676. parameters:
  30677. - description: 用户ID
  30678. in: query
  30679. name: userID
  30680. required: true
  30681. type: integer
  30682. - description: 商品ID
  30683. in: query
  30684. name: goodsID
  30685. required: true
  30686. type: integer
  30687. produces:
  30688. - application/json
  30689. responses:
  30690. "200":
  30691. description: OK
  30692. schema:
  30693. $ref: '#/definitions/app.Response'
  30694. "500":
  30695. description: Internal Server Error
  30696. schema:
  30697. $ref: '#/definitions/app.Response'
  30698. security:
  30699. - ApiKeyAuth: []
  30700. summary: 添加用户商品收藏信息
  30701. tags:
  30702. - 用户信息
  30703. /User/GetLoginID:
  30704. get:
  30705. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  30706. parameters:
  30707. - description: 登录代码
  30708. in: query
  30709. name: username
  30710. required: true
  30711. type: string
  30712. produces:
  30713. - application/json
  30714. responses:
  30715. "200":
  30716. description: OK
  30717. schema:
  30718. $ref: '#/definitions/app.Response'
  30719. "500":
  30720. description: Internal Server Error
  30721. schema:
  30722. $ref: '#/definitions/app.Response'
  30723. summary: 获取登录ID
  30724. tags:
  30725. - 用户信息
  30726. /User/GetUserAccount:
  30727. get:
  30728. parameters:
  30729. - description: 用户ID
  30730. in: query
  30731. name: userID
  30732. required: true
  30733. type: integer
  30734. produces:
  30735. - application/json
  30736. responses:
  30737. "200":
  30738. description: OK
  30739. schema:
  30740. $ref: '#/definitions/models.Useraccount'
  30741. "500":
  30742. description: Internal Server Error
  30743. schema:
  30744. $ref: '#/definitions/app.Response'
  30745. security:
  30746. - ApiKeyAuth: []
  30747. summary: 获取用户账号信息
  30748. tags:
  30749. - 用户信息
  30750. /User/GetUserAuthStatus:
  30751. get:
  30752. parameters:
  30753. - description: 用户ID
  30754. in: query
  30755. name: userID
  30756. required: true
  30757. type: integer
  30758. produces:
  30759. - application/json
  30760. responses:
  30761. "200":
  30762. description: OK
  30763. schema:
  30764. $ref: '#/definitions/app.Response'
  30765. "500":
  30766. description: Internal Server Error
  30767. schema:
  30768. $ref: '#/definitions/app.Response'
  30769. security:
  30770. - ApiKeyAuth: []
  30771. summary: 获取用户实名认证状态
  30772. tags:
  30773. - 用户信息
  30774. /User/LoginQuery:
  30775. get:
  30776. parameters:
  30777. - description: 登录账号
  30778. in: query
  30779. name: loginID
  30780. required: true
  30781. type: integer
  30782. produces:
  30783. - application/json
  30784. responses:
  30785. "200":
  30786. description: OK
  30787. schema:
  30788. $ref: '#/definitions/user.LoginQueryRsp'
  30789. "500":
  30790. description: Internal Server Error
  30791. schema:
  30792. $ref: '#/definitions/app.Response'
  30793. security:
  30794. - ApiKeyAuth: []
  30795. summary: 账户登录后信息查询
  30796. tags:
  30797. - 用户信息
  30798. /User/QueryMessageBoard:
  30799. get:
  30800. parameters:
  30801. - description: 用户ID
  30802. in: query
  30803. name: userID
  30804. required: true
  30805. type: integer
  30806. produces:
  30807. - application/json
  30808. responses:
  30809. "200":
  30810. description: OK
  30811. schema:
  30812. $ref: '#/definitions/models.Messageboard'
  30813. "500":
  30814. description: Internal Server Error
  30815. schema:
  30816. $ref: '#/definitions/app.Response'
  30817. security:
  30818. - ApiKeyAuth: []
  30819. summary: 获取用户留言板信息
  30820. tags:
  30821. - 用户信息
  30822. /User/QueryUserFavoriteGoodses:
  30823. get:
  30824. parameters:
  30825. - description: 用户ID
  30826. in: query
  30827. name: userID
  30828. required: true
  30829. type: integer
  30830. produces:
  30831. - application/json
  30832. responses:
  30833. "200":
  30834. description: OK
  30835. schema:
  30836. $ref: '#/definitions/models.Userfavoritegoods'
  30837. "500":
  30838. description: Internal Server Error
  30839. schema:
  30840. $ref: '#/definitions/app.Response'
  30841. security:
  30842. - ApiKeyAuth: []
  30843. summary: 获取用户商品收藏信息
  30844. tags:
  30845. - 用户信息
  30846. /User/QueryUserInfo:
  30847. get:
  30848. parameters:
  30849. - description: 用户ID
  30850. in: query
  30851. name: userID
  30852. required: true
  30853. type: integer
  30854. - description: 是否解密
  30855. in: query
  30856. name: isDecrypt
  30857. type: boolean
  30858. produces:
  30859. - application/json
  30860. responses:
  30861. "200":
  30862. description: OK
  30863. schema:
  30864. $ref: '#/definitions/models.Userinfo'
  30865. "500":
  30866. description: Internal Server Error
  30867. schema:
  30868. $ref: '#/definitions/app.Response'
  30869. security:
  30870. - ApiKeyAuth: []
  30871. summary: 获取用户信息
  30872. tags:
  30873. - 用户信息
  30874. /User/QueryUserReferNum:
  30875. get:
  30876. parameters:
  30877. - description: 用户ID
  30878. in: query
  30879. name: userID
  30880. required: true
  30881. type: integer
  30882. produces:
  30883. - application/json
  30884. responses:
  30885. "200":
  30886. description: OK
  30887. schema:
  30888. $ref: '#/definitions/app.Response'
  30889. "500":
  30890. description: Internal Server Error
  30891. schema:
  30892. $ref: '#/definitions/app.Response'
  30893. summary: 获取用户邀请码
  30894. tags:
  30895. - 用户信息
  30896. /User/RemoveUserFavoriteGoods:
  30897. post:
  30898. parameters:
  30899. - description: 用户ID
  30900. in: query
  30901. name: userID
  30902. required: true
  30903. type: integer
  30904. - description: 商品ID
  30905. in: query
  30906. name: goodsID
  30907. required: true
  30908. type: integer
  30909. produces:
  30910. - application/json
  30911. responses:
  30912. "200":
  30913. description: OK
  30914. schema:
  30915. $ref: '#/definitions/app.Response'
  30916. "500":
  30917. description: Internal Server Error
  30918. schema:
  30919. $ref: '#/definitions/app.Response'
  30920. security:
  30921. - ApiKeyAuth: []
  30922. summary: 移除用户商品收藏信息
  30923. tags:
  30924. - 用户信息
  30925. /User/UpdateUserAccountStatus:
  30926. post:
  30927. parameters:
  30928. - description: 用户ID
  30929. in: query
  30930. name: userID
  30931. required: true
  30932. type: integer
  30933. - description: 账户状态 - 4:正常 6:注销(停用)
  30934. in: query
  30935. name: accountStatus
  30936. required: true
  30937. type: integer
  30938. produces:
  30939. - application/json
  30940. responses:
  30941. "200":
  30942. description: OK
  30943. schema:
  30944. $ref: '#/definitions/app.Response'
  30945. "500":
  30946. description: Internal Server Error
  30947. schema:
  30948. $ref: '#/definitions/app.Response'
  30949. security:
  30950. - ApiKeyAuth: []
  30951. summary: 更新用户状态
  30952. tags:
  30953. - 用户信息
  30954. /WRTrade/GetAllDeliveryGoods:
  30955. get:
  30956. produces:
  30957. - application/json
  30958. responses:
  30959. "200":
  30960. description: OK
  30961. schema:
  30962. $ref: '#/definitions/app.Response'
  30963. "500":
  30964. description: Internal Server Error
  30965. schema:
  30966. $ref: '#/definitions/app.Response'
  30967. security:
  30968. - ApiKeyAuth: []
  30969. summary: 获取带仓单分类的种类信息
  30970. tags:
  30971. - 仓单贸易
  30972. - 仓单贸易
  30973. /WrTrade2/InsertXhcpSellBackApply:
  30974. post:
  30975. parameters:
  30976. - description: 回收申请
  30977. in: body
  30978. name: jsonBody
  30979. required: true
  30980. schema:
  30981. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  30982. produces:
  30983. - application/json
  30984. responses:
  30985. "200":
  30986. description: OK
  30987. schema:
  30988. $ref: '#/definitions/app.Response'
  30989. "500":
  30990. description: Internal Server Error
  30991. schema:
  30992. $ref: '#/definitions/app.Response'
  30993. security:
  30994. - ApiKeyAuth: []
  30995. summary: 新增回收申请(新会陈皮)
  30996. tags:
  30997. - 仓单贸易v2
  30998. /WrTrade2/QueryDeliveryGoodsSection:
  30999. get:
  31000. produces:
  31001. - application/json
  31002. responses:
  31003. "200":
  31004. description: OK
  31005. schema:
  31006. items:
  31007. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  31008. type: array
  31009. "500":
  31010. description: Internal Server Error
  31011. schema:
  31012. $ref: '#/definitions/app.Response'
  31013. security:
  31014. - ApiKeyAuth: []
  31015. summary: 查询板块(分类)
  31016. tags:
  31017. - 仓单贸易v2
  31018. /WrTrade2/QueryFaProductDetail:
  31019. get:
  31020. description: 页面 买卖大厅 -> 选择融资方案
  31021. parameters:
  31022. - description: 仓单要素id
  31023. in: query
  31024. name: wrfactortypeid
  31025. required: true
  31026. type: integer
  31027. produces:
  31028. - application/json
  31029. responses:
  31030. "200":
  31031. description: OK
  31032. schema:
  31033. items:
  31034. $ref: '#/definitions/models.WrFAProductDetail'
  31035. type: array
  31036. "500":
  31037. description: Internal Server Error
  31038. schema:
  31039. $ref: '#/definitions/app.Response'
  31040. security:
  31041. - ApiKeyAuth: []
  31042. summary: 查询融资产品列表
  31043. tags:
  31044. - 仓单贸易v2
  31045. /WrTrade2/QueryFilterItem:
  31046. get:
  31047. parameters:
  31048. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  31049. in: query
  31050. name: itype
  31051. required: true
  31052. type: string
  31053. produces:
  31054. - application/json
  31055. responses:
  31056. "200":
  31057. description: OK
  31058. schema:
  31059. items:
  31060. $ref: '#/definitions/models.WrFilterItem'
  31061. type: array
  31062. "500":
  31063. description: Internal Server Error
  31064. schema:
  31065. $ref: '#/definitions/app.Response'
  31066. security:
  31067. - ApiKeyAuth: []
  31068. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  31069. tags:
  31070. - 仓单贸易v2
  31071. /WrTrade2/QueryFtDeliveryGoods:
  31072. get:
  31073. produces:
  31074. - application/json
  31075. responses:
  31076. "200":
  31077. description: OK
  31078. schema:
  31079. items:
  31080. $ref: '#/definitions/models.WrFtDeliveryGoods'
  31081. type: array
  31082. "500":
  31083. description: Internal Server Error
  31084. schema:
  31085. $ref: '#/definitions/app.Response'
  31086. security:
  31087. - ApiKeyAuth: []
  31088. summary: 查询品种品类筛选框列表
  31089. tags:
  31090. - 仓单贸易v2
  31091. /WrTrade2/QueryHoldLB:
  31092. get:
  31093. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  31094. parameters:
  31095. - description: 资金账号
  31096. in: query
  31097. name: accountid
  31098. required: true
  31099. type: integer
  31100. - description: 仓库id
  31101. in: query
  31102. name: warehouseid
  31103. type: integer
  31104. - description: 品种id
  31105. in: query
  31106. name: deliverygoodsid
  31107. type: integer
  31108. - description: 品类id
  31109. in: query
  31110. name: wrstandardid
  31111. type: integer
  31112. - description: 仓单要素id
  31113. in: query
  31114. name: wrfactortypeid
  31115. type: integer
  31116. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31117. in: query
  31118. name: dgitemname
  31119. type: string
  31120. produces:
  31121. - application/json
  31122. responses:
  31123. "200":
  31124. description: OK
  31125. schema:
  31126. items:
  31127. $ref: '#/definitions/models.WrHoldLB'
  31128. type: array
  31129. "500":
  31130. description: Internal Server Error
  31131. schema:
  31132. $ref: '#/definitions/app.Response'
  31133. security:
  31134. - ApiKeyAuth: []
  31135. summary: 查询仓单持有记录
  31136. tags:
  31137. - 仓单贸易v2
  31138. /WrTrade2/QueryOrderQuote:
  31139. get:
  31140. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  31141. 唯一确定1条记录
  31142. parameters:
  31143. - description: 页码
  31144. in: query
  31145. name: page
  31146. type: integer
  31147. - description: 每页条数
  31148. in: query
  31149. name: pagesize
  31150. type: integer
  31151. - description: 仓单贸易市场id
  31152. in: query
  31153. name: marketid
  31154. type: integer
  31155. - description: 价格方式 - 1:固定价 2-浮动价
  31156. in: query
  31157. name: wrpricetype
  31158. required: true
  31159. type: integer
  31160. - description: 0:仓单预售 1:仓单贸易
  31161. in: query
  31162. name: haswr
  31163. type: integer
  31164. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31165. in: query
  31166. name: dgitemname
  31167. type: string
  31168. - description: 仓库id(筛选条件)
  31169. in: query
  31170. name: warehouseid
  31171. type: integer
  31172. - description: 品种id
  31173. in: query
  31174. name: deliverygoodsid
  31175. type: integer
  31176. - description: 品类id
  31177. in: query
  31178. name: wrstandardid
  31179. type: integer
  31180. - description: 品牌id(dgfactoryitemid)
  31181. in: query
  31182. name: brandid
  31183. type: integer
  31184. - description: 年份id(dgfactoryitemid)
  31185. in: query
  31186. name: yearsid
  31187. type: integer
  31188. - description: 仓单要素id
  31189. in: query
  31190. name: wrfactortypeid
  31191. type: integer
  31192. - description: 交收月(yyyy-mm) 仓单预售填写
  31193. in: query
  31194. name: deliverymonth
  31195. type: string
  31196. produces:
  31197. - application/json
  31198. responses:
  31199. "200":
  31200. description: OK
  31201. schema:
  31202. items:
  31203. $ref: '#/definitions/models.WrOrderQuote'
  31204. type: array
  31205. "500":
  31206. description: Internal Server Error
  31207. schema:
  31208. $ref: '#/definitions/app.Response'
  31209. security:
  31210. - ApiKeyAuth: []
  31211. summary: 查询大厅行情列表
  31212. tags:
  31213. - 仓单贸易v2
  31214. /WrTrade2/QueryOrderQuoteDetail:
  31215. get:
  31216. parameters:
  31217. - description: 页码
  31218. in: query
  31219. name: page
  31220. type: integer
  31221. - description: 每页条数
  31222. in: query
  31223. name: pagesize
  31224. type: integer
  31225. - description: 仓单贸易市场id
  31226. in: query
  31227. name: marketid
  31228. type: integer
  31229. - description: 价格方式 - 1:固定价 2-浮动价
  31230. in: query
  31231. name: wrpricetype
  31232. required: true
  31233. type: integer
  31234. - description: 0:仓单预售 1:仓单贸易
  31235. in: query
  31236. name: haswr
  31237. type: integer
  31238. - description: 仓单要素id
  31239. in: query
  31240. name: wrfactortypeid
  31241. required: true
  31242. type: integer
  31243. - description: 期货商品id(浮动价方式时填)
  31244. in: query
  31245. name: goodsid
  31246. type: integer
  31247. - description: 买卖方向 0-买 1-卖
  31248. in: query
  31249. name: buyorsell
  31250. required: true
  31251. type: integer
  31252. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  31253. in: query
  31254. name: deliverymonth
  31255. type: string
  31256. produces:
  31257. - application/json
  31258. responses:
  31259. "200":
  31260. description: OK
  31261. schema:
  31262. items:
  31263. $ref: '#/definitions/models.WrOrderQuoteDetail'
  31264. type: array
  31265. "500":
  31266. description: Internal Server Error
  31267. schema:
  31268. $ref: '#/definitions/app.Response'
  31269. security:
  31270. - ApiKeyAuth: []
  31271. summary: 查询买卖大厅
  31272. tags:
  31273. - 仓单贸易v2
  31274. /WrTrade2/QueryOrderQuoteMyq:
  31275. get:
  31276. parameters:
  31277. - description: 页码
  31278. in: query
  31279. name: page
  31280. type: integer
  31281. - description: 每页条数
  31282. in: query
  31283. name: pagesize
  31284. type: integer
  31285. - description: 用户id
  31286. in: query
  31287. name: userid
  31288. required: true
  31289. type: integer
  31290. - description: 仓单贸易市场id
  31291. in: query
  31292. name: marketid
  31293. type: integer
  31294. - description: 0:仓单预售 1:仓单贸易
  31295. in: query
  31296. name: haswr
  31297. type: integer
  31298. - description: 买卖方向 0-买 1-卖
  31299. in: query
  31300. name: buyorsell
  31301. required: true
  31302. type: integer
  31303. - description: 品种id
  31304. in: query
  31305. name: deliverygoodsid
  31306. type: integer
  31307. - description: 品类id
  31308. in: query
  31309. name: wrstandardid
  31310. type: integer
  31311. - description: 交收月(yyyy-mm) 仓单预售填写
  31312. in: query
  31313. name: deliverymonth
  31314. type: string
  31315. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31316. in: query
  31317. name: dgitemname
  31318. type: string
  31319. produces:
  31320. - application/json
  31321. responses:
  31322. "200":
  31323. description: OK
  31324. schema:
  31325. items:
  31326. $ref: '#/definitions/models.WrQuoteOrderMyq'
  31327. type: array
  31328. "500":
  31329. description: Internal Server Error
  31330. schema:
  31331. $ref: '#/definitions/app.Response'
  31332. security:
  31333. - ApiKeyAuth: []
  31334. summary: 查询贸易圈挂牌大厅
  31335. tags:
  31336. - 仓单贸易v2
  31337. /WrTrade2/QueryPerformancePlan:
  31338. get:
  31339. parameters:
  31340. - description: 用户id
  31341. in: query
  31342. name: userid
  31343. required: true
  31344. type: integer
  31345. - description: 买卖方向 0-买 1-卖
  31346. in: query
  31347. name: buyorsell
  31348. required: true
  31349. type: integer
  31350. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  31351. 8:释放冻结失败 9:超时待处理 10:超时关闭
  31352. in: query
  31353. name: status
  31354. type: string
  31355. - description: 开始交易日(yyyymmdd)
  31356. in: query
  31357. name: begindate
  31358. type: string
  31359. - description: 结束交易日(yyyymmdd)
  31360. in: query
  31361. name: enddate
  31362. type: string
  31363. produces:
  31364. - application/json
  31365. responses:
  31366. "200":
  31367. description: OK
  31368. schema:
  31369. items:
  31370. $ref: '#/definitions/models.WrPerformancePlan'
  31371. type: array
  31372. "500":
  31373. description: Internal Server Error
  31374. schema:
  31375. $ref: '#/definitions/app.Response'
  31376. security:
  31377. - ApiKeyAuth: []
  31378. summary: 查询履约信息
  31379. tags:
  31380. - 仓单贸易v2
  31381. /WrTrade2/QueryPermancePlanTmp:
  31382. get:
  31383. description: |-
  31384. 返回指定用户的模板和公共模板(用户id为空)
  31385. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  31386. parameters:
  31387. - description: 用户id
  31388. in: query
  31389. name: userid
  31390. type: integer
  31391. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  31392. (无仓单) 5:挂牌期权 6:竞拍-降价式
  31393. in: query
  31394. name: tmptype
  31395. type: string
  31396. - description: 是否包含公共模板(用户id为空的) 1-包含
  31397. in: query
  31398. name: includepub
  31399. type: integer
  31400. - description: 市场id(天津麦顿指定此参数,其它不用)
  31401. in: query
  31402. name: marketid
  31403. type: integer
  31404. produces:
  31405. - application/json
  31406. responses:
  31407. "200":
  31408. description: OK
  31409. schema:
  31410. items:
  31411. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  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/QuerySiteColumnDetail:
  31423. get:
  31424. parameters:
  31425. - description: 页码
  31426. in: query
  31427. name: page
  31428. type: integer
  31429. - description: 每页条数
  31430. in: query
  31431. name: pagesize
  31432. type: integer
  31433. - description: 所属栏目id
  31434. in: query
  31435. name: columnid
  31436. type: integer
  31437. produces:
  31438. - application/json
  31439. responses:
  31440. "200":
  31441. description: OK
  31442. schema:
  31443. items:
  31444. $ref: '#/definitions/models.WrSiteColumnDetail'
  31445. type: array
  31446. "500":
  31447. description: Internal Server Error
  31448. schema:
  31449. $ref: '#/definitions/app.Response'
  31450. security:
  31451. - ApiKeyAuth: []
  31452. summary: 查询资讯
  31453. tags:
  31454. - 仓单贸易v2
  31455. /WrTrade2/QuerySpotGroupTradeSum:
  31456. get:
  31457. produces:
  31458. - application/json
  31459. responses:
  31460. "200":
  31461. description: OK
  31462. schema:
  31463. items:
  31464. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  31465. type: array
  31466. "500":
  31467. description: Internal Server Error
  31468. schema:
  31469. $ref: '#/definitions/app.Response'
  31470. security:
  31471. - ApiKeyAuth: []
  31472. summary: 查询指数
  31473. tags:
  31474. - 仓单贸易v2
  31475. /WrTrade2/QuerySpotGroupTradeSumDetail:
  31476. get:
  31477. description: 查询的结果将会按日期 从小到大 排序
  31478. parameters:
  31479. - description: 现货商品id
  31480. in: query
  31481. name: deliverygoodsid
  31482. required: true
  31483. type: integer
  31484. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  31485. in: query
  31486. name: lastnum
  31487. type: integer
  31488. produces:
  31489. - application/json
  31490. responses:
  31491. "200":
  31492. description: OK
  31493. schema:
  31494. items:
  31495. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  31496. type: array
  31497. "500":
  31498. description: Internal Server Error
  31499. schema:
  31500. $ref: '#/definitions/app.Response'
  31501. security:
  31502. - ApiKeyAuth: []
  31503. summary: 查询指数详细(价格走势图)
  31504. tags:
  31505. - 仓单贸易v2
  31506. /WrTrade2/QueryWrAverageTradePrice:
  31507. get:
  31508. parameters:
  31509. - description: 页码
  31510. in: query
  31511. name: page
  31512. type: integer
  31513. - description: 每页条数
  31514. in: query
  31515. name: pagesize
  31516. type: integer
  31517. - description: 0:仓单预售 1:仓单贸易
  31518. in: query
  31519. name: haswr
  31520. required: true
  31521. type: integer
  31522. - description: 仓单要素id
  31523. in: query
  31524. name: wrfactortypeid
  31525. required: true
  31526. type: integer
  31527. produces:
  31528. - application/json
  31529. responses:
  31530. "200":
  31531. description: OK
  31532. schema:
  31533. items:
  31534. $ref: '#/definitions/models.WrAverageTradePrice'
  31535. type: array
  31536. "500":
  31537. description: Internal Server Error
  31538. schema:
  31539. $ref: '#/definitions/app.Response'
  31540. security:
  31541. - ApiKeyAuth: []
  31542. summary: 查询成交价(历史走势)
  31543. tags:
  31544. - 仓单贸易v2
  31545. /WrTrade2/QueryWrBrandAndYears:
  31546. get:
  31547. produces:
  31548. - application/json
  31549. responses:
  31550. "200":
  31551. description: OK
  31552. schema:
  31553. items:
  31554. $ref: '#/definitions/models.WrBrandAndYears'
  31555. type: array
  31556. "500":
  31557. description: Internal Server Error
  31558. schema:
  31559. $ref: '#/definitions/app.Response'
  31560. security:
  31561. - ApiKeyAuth: []
  31562. summary: 查询品牌和年份
  31563. tags:
  31564. - 仓单贸易v2
  31565. /WrTrade2/QueryWrBsGoodsInfo:
  31566. get:
  31567. description: 合约交易/买卖大厅/详情
  31568. parameters:
  31569. - description: 商品id
  31570. in: query
  31571. name: goodsid
  31572. required: true
  31573. type: integer
  31574. produces:
  31575. - application/json
  31576. responses:
  31577. "200":
  31578. description: OK
  31579. schema:
  31580. items:
  31581. $ref: '#/definitions/models.WrBsGoodsInfo'
  31582. type: array
  31583. "500":
  31584. description: Internal Server Error
  31585. schema:
  31586. $ref: '#/definitions/app.Response'
  31587. security:
  31588. - ApiKeyAuth: []
  31589. summary: 查询合约交易买卖大厅详情
  31590. tags:
  31591. - 仓单贸易v2
  31592. /WrTrade2/QueryWrBuybackDetail:
  31593. get:
  31594. parameters:
  31595. - description: 融资合同id
  31596. in: query
  31597. name: scfcontractid
  31598. type: integer
  31599. produces:
  31600. - application/json
  31601. responses:
  31602. "200":
  31603. description: OK
  31604. schema:
  31605. items:
  31606. $ref: '#/definitions/models.WrBuybackDetail'
  31607. type: array
  31608. "500":
  31609. description: Internal Server Error
  31610. schema:
  31611. $ref: '#/definitions/app.Response'
  31612. security:
  31613. - ApiKeyAuth: []
  31614. summary: 查询仓单回购明细
  31615. tags:
  31616. - 仓单贸易v2
  31617. /WrTrade2/QueryWrClientAdSpaceConfig:
  31618. get:
  31619. produces:
  31620. - application/json
  31621. responses:
  31622. "200":
  31623. description: OK
  31624. schema:
  31625. items:
  31626. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  31627. type: array
  31628. "500":
  31629. description: Internal Server Error
  31630. schema:
  31631. $ref: '#/definitions/app.Response'
  31632. security:
  31633. - ApiKeyAuth: []
  31634. summary: 查询固定广告配置
  31635. tags:
  31636. - 仓单贸易v2
  31637. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  31638. get:
  31639. parameters:
  31640. - description: 资金账号
  31641. in: query
  31642. name: accountid
  31643. required: true
  31644. type: integer
  31645. - description: 商品id
  31646. in: query
  31647. name: goodsid
  31648. required: true
  31649. type: integer
  31650. produces:
  31651. - application/json
  31652. responses:
  31653. "200":
  31654. description: OK
  31655. schema:
  31656. items:
  31657. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  31658. type: array
  31659. "500":
  31660. description: Internal Server Error
  31661. schema:
  31662. $ref: '#/definitions/app.Response'
  31663. security:
  31664. - ApiKeyAuth: []
  31665. summary: 查询合约交收可点选仓单
  31666. tags:
  31667. - 仓单贸易v2
  31668. /WrTrade2/QueryWrDeliveryDetail:
  31669. get:
  31670. parameters:
  31671. - description: 用户id
  31672. in: query
  31673. name: userid
  31674. required: true
  31675. type: integer
  31676. - description: 资金账号id
  31677. in: query
  31678. name: accountid
  31679. type: integer
  31680. - description: 开始交易日(yyyymmdd)
  31681. in: query
  31682. name: begindate
  31683. type: string
  31684. - description: 结束交易日(yyyymmdd)
  31685. in: query
  31686. name: enddate
  31687. type: string
  31688. produces:
  31689. - application/json
  31690. responses:
  31691. "200":
  31692. description: OK
  31693. schema:
  31694. items:
  31695. $ref: '#/definitions/models.WrDeliveryDetail'
  31696. type: array
  31697. "500":
  31698. description: Internal Server Error
  31699. schema:
  31700. $ref: '#/definitions/app.Response'
  31701. security:
  31702. - ApiKeyAuth: []
  31703. summary: 查询交收
  31704. tags:
  31705. - 仓单贸易v2
  31706. /WrTrade2/QueryWrDraftUserInfo:
  31707. get:
  31708. parameters:
  31709. - description: 用户ID
  31710. in: query
  31711. name: userid
  31712. required: true
  31713. type: integer
  31714. - description: 用户状态 1:正常 2:注销
  31715. in: query
  31716. name: userstatus
  31717. type: integer
  31718. produces:
  31719. - application/json
  31720. responses:
  31721. "200":
  31722. description: OK
  31723. schema:
  31724. items:
  31725. $ref: '#/definitions/models.WrDraftUserInfo'
  31726. type: array
  31727. "500":
  31728. description: Internal Server Error
  31729. schema:
  31730. $ref: '#/definitions/app.Response'
  31731. security:
  31732. - ApiKeyAuth: []
  31733. summary: 查询实名认证信息
  31734. tags:
  31735. - 仓单贸易v2
  31736. /WrTrade2/QueryWrFactorTypeInfo:
  31737. get:
  31738. parameters:
  31739. - description: 仓单要素id
  31740. in: query
  31741. name: wrfactortypeid
  31742. required: true
  31743. type: integer
  31744. produces:
  31745. - application/json
  31746. responses:
  31747. "200":
  31748. description: OK
  31749. schema:
  31750. items:
  31751. $ref: '#/definitions/models.WrFactorTypeInfo'
  31752. type: array
  31753. "500":
  31754. description: Internal Server Error
  31755. schema:
  31756. $ref: '#/definitions/app.Response'
  31757. security:
  31758. - ApiKeyAuth: []
  31759. summary: 查询仓单要素详细信息
  31760. tags:
  31761. - 仓单贸易v2
  31762. /WrTrade2/QueryWrFactorTypeInfoEx:
  31763. get:
  31764. parameters:
  31765. - description: 仓单要素id
  31766. in: query
  31767. name: wrfactortypeid
  31768. required: true
  31769. type: integer
  31770. produces:
  31771. - application/json
  31772. responses:
  31773. "200":
  31774. description: OK
  31775. schema:
  31776. items:
  31777. $ref: '#/definitions/models.WrTypeItem'
  31778. type: array
  31779. "500":
  31780. description: Internal Server Error
  31781. schema:
  31782. $ref: '#/definitions/app.Response'
  31783. security:
  31784. - ApiKeyAuth: []
  31785. summary: 查询仓单要素详细信息列表项
  31786. tags:
  31787. - 仓单贸易v2
  31788. /WrTrade2/QueryWrFinanceBuyApply:
  31789. get:
  31790. description: 页面 融资信息+ / 申请单
  31791. parameters:
  31792. - description: 用户id
  31793. in: query
  31794. name: userid
  31795. required: true
  31796. type: integer
  31797. produces:
  31798. - application/json
  31799. responses:
  31800. "200":
  31801. description: OK
  31802. schema:
  31803. items:
  31804. $ref: '#/definitions/models.WrFinanceBuyApply'
  31805. type: array
  31806. "500":
  31807. description: Internal Server Error
  31808. schema:
  31809. $ref: '#/definitions/app.Response'
  31810. security:
  31811. - ApiKeyAuth: []
  31812. summary: 查询融资购买申请
  31813. tags:
  31814. - 仓单贸易v2
  31815. /WrTrade2/QueryWrFriendApply:
  31816. get:
  31817. parameters:
  31818. - description: 用户id
  31819. in: query
  31820. name: userid
  31821. required: true
  31822. type: integer
  31823. produces:
  31824. - application/json
  31825. responses:
  31826. "200":
  31827. description: OK
  31828. schema:
  31829. items:
  31830. $ref: '#/definitions/models.WrFriendApply'
  31831. type: array
  31832. "500":
  31833. description: Internal Server Error
  31834. schema:
  31835. $ref: '#/definitions/app.Response'
  31836. security:
  31837. - ApiKeyAuth: []
  31838. summary: 查询好友申请记录
  31839. tags:
  31840. - 仓单贸易v2
  31841. /WrTrade2/QueryWrGoodsInfo:
  31842. get:
  31843. parameters:
  31844. - description: 仓单贸易市场id
  31845. in: query
  31846. name: marketid
  31847. type: integer
  31848. - description: 0:仓单预售 1:仓单贸易
  31849. in: query
  31850. name: haswr
  31851. required: true
  31852. type: integer
  31853. - description: 仓单要素id
  31854. in: query
  31855. name: wrfactortypeid
  31856. required: true
  31857. type: integer
  31858. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  31859. in: query
  31860. name: tmplateid
  31861. type: integer
  31862. produces:
  31863. - application/json
  31864. responses:
  31865. "200":
  31866. description: OK
  31867. schema:
  31868. items:
  31869. $ref: '#/definitions/models.WrGoodsInfo'
  31870. type: array
  31871. "500":
  31872. description: Internal Server Error
  31873. schema:
  31874. $ref: '#/definitions/app.Response'
  31875. security:
  31876. - ApiKeyAuth: []
  31877. summary: 查询仓单商品信息
  31878. tags:
  31879. - 仓单贸易v2
  31880. /WrTrade2/QueryWrMarketTradeConfig:
  31881. get:
  31882. parameters:
  31883. - description: 市场id
  31884. in: query
  31885. name: marketid
  31886. type: integer
  31887. produces:
  31888. - application/json
  31889. responses:
  31890. "200":
  31891. description: OK
  31892. schema:
  31893. items:
  31894. $ref: '#/definitions/models.WrMarketTradeConfig'
  31895. type: array
  31896. "500":
  31897. description: Internal Server Error
  31898. schema:
  31899. $ref: '#/definitions/app.Response'
  31900. security:
  31901. - ApiKeyAuth: []
  31902. summary: 查询市场交易参数配置
  31903. tags:
  31904. - 仓单贸易v2
  31905. /WrTrade2/QueryWrOrderDetail:
  31906. get:
  31907. description: 页面 现货仓单 | 预售仓单 -> 委托单
  31908. parameters:
  31909. - description: 页码
  31910. in: query
  31911. name: page
  31912. type: integer
  31913. - description: 每页条数
  31914. in: query
  31915. name: pagesize
  31916. type: integer
  31917. - description: 用户id
  31918. in: query
  31919. name: userid
  31920. required: true
  31921. type: integer
  31922. - description: 仓单贸易市场id
  31923. in: query
  31924. name: marketid
  31925. type: integer
  31926. - description: 0:仓单预售 1:仓单贸易
  31927. in: query
  31928. name: haswr
  31929. required: true
  31930. type: integer
  31931. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  31932. in: query
  31933. name: bcancel
  31934. type: integer
  31935. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  31936. in: query
  31937. name: wrtradetype
  31938. type: integer
  31939. - description: 开始交易日(yyyymmdd)
  31940. in: query
  31941. name: begindate
  31942. type: string
  31943. - description: 结束交易日(yyyymmdd)
  31944. in: query
  31945. name: enddate
  31946. type: string
  31947. produces:
  31948. - application/json
  31949. responses:
  31950. "200":
  31951. description: OK
  31952. schema:
  31953. items:
  31954. $ref: '#/definitions/models.WrOrderDetail'
  31955. type: array
  31956. "500":
  31957. description: Internal Server Error
  31958. schema:
  31959. $ref: '#/definitions/app.Response'
  31960. security:
  31961. - ApiKeyAuth: []
  31962. summary: 查询仓单委托单
  31963. tags:
  31964. - 仓单贸易v2
  31965. /WrTrade2/QueryWrOutInApply:
  31966. get:
  31967. parameters:
  31968. - description: 页码
  31969. in: query
  31970. name: page
  31971. type: integer
  31972. - description: 每页条数
  31973. in: query
  31974. name: pagesize
  31975. type: integer
  31976. - description: 用户id
  31977. in: query
  31978. name: userid
  31979. required: true
  31980. type: integer
  31981. - description: 开始交易日(yyyymmdd)
  31982. in: query
  31983. name: begindate
  31984. type: string
  31985. - description: 结束交易日(yyyymmdd)
  31986. in: query
  31987. name: enddate
  31988. type: string
  31989. produces:
  31990. - application/json
  31991. responses:
  31992. "200":
  31993. description: OK
  31994. schema:
  31995. items:
  31996. $ref: '#/definitions/models.WrOutInApply'
  31997. type: array
  31998. "500":
  31999. description: Internal Server Error
  32000. schema:
  32001. $ref: '#/definitions/app.Response'
  32002. security:
  32003. - ApiKeyAuth: []
  32004. summary: 查询提货申请
  32005. tags:
  32006. - 仓单贸易v2
  32007. /WrTrade2/QueryWrPerformancePlanStep:
  32008. get:
  32009. parameters:
  32010. - description: 履约计划id(performanceplanid)
  32011. in: query
  32012. name: planid
  32013. required: true
  32014. type: integer
  32015. - description: 当前步骤id
  32016. in: query
  32017. name: curstepid
  32018. type: integer
  32019. produces:
  32020. - application/json
  32021. responses:
  32022. "200":
  32023. description: OK
  32024. schema:
  32025. items:
  32026. $ref: '#/definitions/models.WrPerformancePlanStep'
  32027. type: array
  32028. "500":
  32029. description: Internal Server Error
  32030. schema:
  32031. $ref: '#/definitions/app.Response'
  32032. security:
  32033. - ApiKeyAuth: []
  32034. summary: 查询履约信息详情
  32035. tags:
  32036. - 仓单贸易v2
  32037. /WrTrade2/QueryWrPerformanceStepType:
  32038. get:
  32039. produces:
  32040. - application/json
  32041. responses:
  32042. "200":
  32043. description: OK
  32044. schema:
  32045. items:
  32046. $ref: '#/definitions/models.WrPerformanceStepType'
  32047. type: array
  32048. "500":
  32049. description: Internal Server Error
  32050. schema:
  32051. $ref: '#/definitions/app.Response'
  32052. security:
  32053. - ApiKeyAuth: []
  32054. summary: 查询履约步骤枚举
  32055. tags:
  32056. - 仓单贸易v2
  32057. /WrTrade2/QueryWrPosition:
  32058. get:
  32059. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  32060. parameters:
  32061. - description: 用户id
  32062. in: query
  32063. name: userid
  32064. required: true
  32065. type: integer
  32066. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  32067. in: query
  32068. name: querytype
  32069. required: true
  32070. type: integer
  32071. - description: 0:仓单预售 1:仓单贸易
  32072. in: query
  32073. name: haswr
  32074. required: true
  32075. type: integer
  32076. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32077. in: query
  32078. name: dgitemname
  32079. type: string
  32080. - description: 仓库id(筛选条件)
  32081. in: query
  32082. name: warehouseid
  32083. type: integer
  32084. - description: 品种id
  32085. in: query
  32086. name: deliverygoodsid
  32087. type: integer
  32088. - description: 品类id
  32089. in: query
  32090. name: wrstandardid
  32091. type: integer
  32092. produces:
  32093. - application/json
  32094. responses:
  32095. "200":
  32096. description: OK
  32097. schema:
  32098. items:
  32099. $ref: '#/definitions/models.WrPosition'
  32100. type: array
  32101. "500":
  32102. description: Internal Server Error
  32103. schema:
  32104. $ref: '#/definitions/app.Response'
  32105. security:
  32106. - ApiKeyAuth: []
  32107. summary: 查询现货(预售)仓单持仓
  32108. tags:
  32109. - 仓单贸易v2
  32110. /WrTrade2/QueryWrPreSaleInfo:
  32111. get:
  32112. parameters:
  32113. - description: 市场id
  32114. in: query
  32115. name: marketid
  32116. type: integer
  32117. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  32118. in: query
  32119. name: presalestatus
  32120. type: string
  32121. - description: 摇号标识 - 0:未摇号 1:已摇号
  32122. in: query
  32123. name: lotteryflag
  32124. type: integer
  32125. - description: 最近多少条记录(按创建时间倒序)
  32126. in: query
  32127. name: lastnum
  32128. type: integer
  32129. produces:
  32130. - application/json
  32131. responses:
  32132. "200":
  32133. description: OK
  32134. schema:
  32135. items:
  32136. $ref: '#/definitions/models.WrPreSaleInfo'
  32137. type: array
  32138. "500":
  32139. description: Internal Server Error
  32140. schema:
  32141. $ref: '#/definitions/app.Response'
  32142. security:
  32143. - ApiKeyAuth: []
  32144. summary: 查询新品发布
  32145. tags:
  32146. - 仓单贸易v2
  32147. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  32148. get:
  32149. parameters:
  32150. - description: 市场id
  32151. in: query
  32152. name: marketid
  32153. required: true
  32154. type: integer
  32155. - description: 现货商品id
  32156. in: query
  32157. name: wrstandardid
  32158. required: true
  32159. type: integer
  32160. - description: 开始交易日(yyyymmdd)
  32161. in: query
  32162. name: begindate
  32163. type: string
  32164. - description: 结束交易日(yyyymmdd)
  32165. in: query
  32166. name: enddate
  32167. type: string
  32168. - description: 最近多少条记录(按交易日倒序)
  32169. in: query
  32170. name: lastnum
  32171. type: integer
  32172. - description: 是否今日
  32173. in: query
  32174. name: istoday
  32175. type: boolean
  32176. produces:
  32177. - application/json
  32178. responses:
  32179. "200":
  32180. description: OK
  32181. schema:
  32182. items:
  32183. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  32184. type: array
  32185. "500":
  32186. description: Internal Server Error
  32187. schema:
  32188. $ref: '#/definitions/app.Response'
  32189. security:
  32190. - ApiKeyAuth: []
  32191. summary: 查询价格走势
  32192. tags:
  32193. - 仓单贸易v2
  32194. /WrTrade2/QueryWrScfContract:
  32195. get:
  32196. parameters:
  32197. - description: 用户id
  32198. in: query
  32199. name: userid
  32200. required: true
  32201. type: integer
  32202. - description: 融资合同id
  32203. in: query
  32204. name: scfcontractid
  32205. type: integer
  32206. produces:
  32207. - application/json
  32208. responses:
  32209. "200":
  32210. description: OK
  32211. schema:
  32212. items:
  32213. $ref: '#/definitions/models.WrScfContract'
  32214. type: array
  32215. "500":
  32216. description: Internal Server Error
  32217. schema:
  32218. $ref: '#/definitions/app.Response'
  32219. security:
  32220. - ApiKeyAuth: []
  32221. summary: 查询仓单贸易融资合同
  32222. tags:
  32223. - 仓单贸易v2
  32224. /WrTrade2/QueryWrScfContractInterest:
  32225. get:
  32226. parameters:
  32227. - description: 融资合同id
  32228. in: query
  32229. name: scfcontractid
  32230. type: integer
  32231. produces:
  32232. - application/json
  32233. responses:
  32234. "200":
  32235. description: OK
  32236. schema:
  32237. items:
  32238. $ref: '#/definitions/models.WrScfContractInterest'
  32239. type: array
  32240. "500":
  32241. description: Internal Server Error
  32242. schema:
  32243. $ref: '#/definitions/app.Response'
  32244. security:
  32245. - ApiKeyAuth: []
  32246. summary: 查询融资合同费用明细
  32247. tags:
  32248. - 仓单贸易v2
  32249. /WrTrade2/QueryWrSearchUser:
  32250. get:
  32251. parameters:
  32252. - description: 用户名称(模糊匹配)
  32253. in: query
  32254. name: username
  32255. required: true
  32256. type: string
  32257. produces:
  32258. - application/json
  32259. responses:
  32260. "200":
  32261. description: OK
  32262. schema:
  32263. items:
  32264. $ref: '#/definitions/models.WrSearchUser'
  32265. type: array
  32266. "500":
  32267. description: Internal Server Error
  32268. schema:
  32269. $ref: '#/definitions/app.Response'
  32270. security:
  32271. - ApiKeyAuth: []
  32272. summary: 查询用户
  32273. tags:
  32274. - 仓单贸易v2
  32275. /WrTrade2/QueryWrSpecialMatchOrder:
  32276. get:
  32277. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  32278. parameters:
  32279. - description: 页码
  32280. in: query
  32281. name: page
  32282. type: integer
  32283. - description: 每页条数
  32284. in: query
  32285. name: pagesize
  32286. type: integer
  32287. - description: 用户id
  32288. in: query
  32289. name: userid
  32290. required: true
  32291. type: integer
  32292. - description: 仓单贸易市场id
  32293. in: query
  32294. name: marketid
  32295. type: integer
  32296. - description: 0:仓单预售 1:仓单贸易
  32297. in: query
  32298. name: haswr
  32299. required: true
  32300. type: integer
  32301. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  32302. in: query
  32303. name: isspecified
  32304. type: integer
  32305. produces:
  32306. - application/json
  32307. responses:
  32308. "200":
  32309. description: OK
  32310. schema:
  32311. items:
  32312. $ref: '#/definitions/models.WrSpecialMatchOrder'
  32313. type: array
  32314. "500":
  32315. description: Internal Server Error
  32316. schema:
  32317. $ref: '#/definitions/app.Response'
  32318. security:
  32319. - ApiKeyAuth: []
  32320. summary: 查询指定成交
  32321. tags:
  32322. - 仓单贸易v2
  32323. /WrTrade2/QueryWrStandardFactoryItem:
  32324. get:
  32325. parameters:
  32326. - description: 品类id
  32327. in: query
  32328. name: wrstandardid
  32329. required: true
  32330. type: integer
  32331. produces:
  32332. - application/json
  32333. responses:
  32334. "200":
  32335. description: OK
  32336. schema:
  32337. items:
  32338. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  32339. type: array
  32340. "500":
  32341. description: Internal Server Error
  32342. schema:
  32343. $ref: '#/definitions/app.Response'
  32344. security:
  32345. - ApiKeyAuth: []
  32346. summary: 查询品类要素定义项
  32347. tags:
  32348. - 仓单贸易v2
  32349. /WrTrade2/QueryWrTradeBargainApply:
  32350. get:
  32351. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  32352. 议价->对方议价 填写matchuserid=登录用户id
  32353. parameters:
  32354. - description: 议价人id(摘牌方)
  32355. in: query
  32356. name: userid
  32357. type: integer
  32358. - description: 挂牌方id(查对方议价时,填写此项)
  32359. in: query
  32360. name: matchuserid
  32361. type: integer
  32362. - description: 关联委托单id
  32363. in: query
  32364. name: wrtradeorderid
  32365. type: integer
  32366. - description: 0:仓单预售 1:仓单贸易
  32367. in: query
  32368. name: haswr
  32369. required: true
  32370. type: integer
  32371. - description: 开始交易日(yyyymmdd)
  32372. in: query
  32373. name: begindate
  32374. type: string
  32375. - description: 结束交易日(yyyymmdd)
  32376. in: query
  32377. name: enddate
  32378. type: string
  32379. produces:
  32380. - application/json
  32381. responses:
  32382. "200":
  32383. description: OK
  32384. schema:
  32385. items:
  32386. $ref: '#/definitions/models.WRTradeBargainApply'
  32387. type: array
  32388. "500":
  32389. description: Internal Server Error
  32390. schema:
  32391. $ref: '#/definitions/app.Response'
  32392. security:
  32393. - ApiKeyAuth: []
  32394. summary: 查询议价单
  32395. tags:
  32396. - 仓单贸易v2
  32397. /WrTrade2/QueryWrTradeDetail:
  32398. get:
  32399. parameters:
  32400. - description: 页码
  32401. in: query
  32402. name: page
  32403. type: integer
  32404. - description: 每页条数
  32405. in: query
  32406. name: pagesize
  32407. type: integer
  32408. - description: 用户id
  32409. in: query
  32410. name: userid
  32411. required: true
  32412. type: integer
  32413. - description: 仓单贸易市场id
  32414. in: query
  32415. name: marketid
  32416. type: integer
  32417. - description: 0:仓单预售 1:仓单贸易
  32418. in: query
  32419. name: haswr
  32420. required: true
  32421. type: integer
  32422. - description: 开始交易日(yyyymmdd)
  32423. in: query
  32424. name: begindate
  32425. type: string
  32426. - description: 结束交易日(yyyymmdd)
  32427. in: query
  32428. name: enddate
  32429. type: string
  32430. produces:
  32431. - application/json
  32432. responses:
  32433. "200":
  32434. description: OK
  32435. schema:
  32436. items:
  32437. $ref: '#/definitions/models.WrTradeDetail'
  32438. type: array
  32439. "500":
  32440. description: Internal Server Error
  32441. schema:
  32442. $ref: '#/definitions/app.Response'
  32443. security:
  32444. - ApiKeyAuth: []
  32445. summary: 查询仓单成交明细
  32446. tags:
  32447. - 仓单贸易v2
  32448. /WrTrade2/QueryWrTradeOrderDetail:
  32449. get:
  32450. parameters:
  32451. - description: 页码
  32452. in: query
  32453. name: page
  32454. type: integer
  32455. - description: 每页条数
  32456. in: query
  32457. name: pagesize
  32458. type: integer
  32459. - description: 商品id
  32460. in: query
  32461. name: goodsid
  32462. required: true
  32463. type: integer
  32464. - description: 买卖方向 0-买 1-卖
  32465. in: query
  32466. name: buyorsell
  32467. required: true
  32468. type: integer
  32469. produces:
  32470. - application/json
  32471. responses:
  32472. "200":
  32473. description: OK
  32474. schema:
  32475. items:
  32476. $ref: '#/definitions/models.WrTradeOrderDetail'
  32477. type: array
  32478. "500":
  32479. description: Internal Server Error
  32480. schema:
  32481. $ref: '#/definitions/app.Response'
  32482. security:
  32483. - ApiKeyAuth: []
  32484. summary: 查询合约交易买卖大厅
  32485. tags:
  32486. - 仓单贸易v2
  32487. /WrTrade2/QueryWrTradeQuote:
  32488. get:
  32489. parameters:
  32490. - description: 现货商品id
  32491. in: query
  32492. name: wrstandardid
  32493. required: true
  32494. type: integer
  32495. - description: 开始日期(yyyymmdd)
  32496. in: query
  32497. name: begindate
  32498. required: true
  32499. type: string
  32500. - description: 结束日期(yyyymmdd)
  32501. in: query
  32502. name: enddate
  32503. required: true
  32504. type: string
  32505. - description: 市场id
  32506. in: query
  32507. name: marketid
  32508. type: integer
  32509. produces:
  32510. - application/json
  32511. responses:
  32512. "200":
  32513. description: OK
  32514. schema:
  32515. items:
  32516. $ref: '#/definitions/models.Wrtradetradequote'
  32517. type: array
  32518. "500":
  32519. description: Internal Server Error
  32520. schema:
  32521. $ref: '#/definitions/app.Response'
  32522. security:
  32523. - ApiKeyAuth: []
  32524. summary: 查询仓单贸易成交行情
  32525. tags:
  32526. - 仓单贸易v2
  32527. /WrTrade2/QueryWrUserFriend:
  32528. get:
  32529. parameters:
  32530. - description: 用户id
  32531. in: query
  32532. name: userid
  32533. required: true
  32534. type: integer
  32535. - description: 新朋友userid, 如果填写了此项则查找新朋友
  32536. in: query
  32537. name: newuserid
  32538. type: integer
  32539. produces:
  32540. - application/json
  32541. responses:
  32542. "200":
  32543. description: OK
  32544. schema:
  32545. items:
  32546. $ref: '#/definitions/models.WrUserFriend'
  32547. type: array
  32548. "500":
  32549. description: Internal Server Error
  32550. schema:
  32551. $ref: '#/definitions/app.Response'
  32552. security:
  32553. - ApiKeyAuth: []
  32554. summary: 查询我的朋友
  32555. tags:
  32556. - 仓单贸易v2
  32557. /WrTrade2/QueryWrUserReceiptInfo:
  32558. get:
  32559. parameters:
  32560. - description: 用户id
  32561. in: query
  32562. name: userid
  32563. type: integer
  32564. - description: 发票类型 - 1:个人 2:企业
  32565. in: query
  32566. name: receipttype
  32567. type: integer
  32568. produces:
  32569. - application/json
  32570. responses:
  32571. "200":
  32572. description: OK
  32573. schema:
  32574. items:
  32575. $ref: '#/definitions/models.WrUserReceiptInfo'
  32576. type: array
  32577. "500":
  32578. description: Internal Server Error
  32579. schema:
  32580. $ref: '#/definitions/app.Response'
  32581. security:
  32582. - ApiKeyAuth: []
  32583. summary: 查询发票信息
  32584. tags:
  32585. - 仓单贸易v2
  32586. /WrTrade2/QueryXhcpSellBackApply:
  32587. get:
  32588. parameters:
  32589. - description: 用户ID
  32590. in: query
  32591. name: userid
  32592. required: true
  32593. type: integer
  32594. produces:
  32595. - application/json
  32596. responses:
  32597. "200":
  32598. description: OK
  32599. schema:
  32600. items:
  32601. $ref: '#/definitions/models.Xhcpsellbackapply'
  32602. type: array
  32603. "500":
  32604. description: Internal Server Error
  32605. schema:
  32606. $ref: '#/definitions/app.Response'
  32607. security:
  32608. - ApiKeyAuth: []
  32609. summary: 查询我的回收申请(新会陈皮)
  32610. tags:
  32611. - 仓单贸易v2
  32612. /ZJ/GetBankTip:
  32613. get:
  32614. produces:
  32615. - application/json
  32616. responses:
  32617. "200":
  32618. description: OK
  32619. schema:
  32620. type: string
  32621. "500":
  32622. description: Internal Server Error
  32623. schema:
  32624. $ref: '#/definitions/app.Response'
  32625. summary: 获取中江网银端出入金提示信息
  32626. tags:
  32627. - 中江
  32628. /ZJ/GetCusBankChannels:
  32629. get:
  32630. produces:
  32631. - application/json
  32632. responses:
  32633. "200":
  32634. description: OK
  32635. schema:
  32636. items:
  32637. type: string
  32638. type: array
  32639. "500":
  32640. description: Internal Server Error
  32641. schema:
  32642. $ref: '#/definitions/app.Response'
  32643. summary: 获取中江出入金渠道显示列表
  32644. tags:
  32645. - 中江
  32646. securityDefinitions:
  32647. ApiKeyAuth:
  32648. in: header
  32649. name: Authorization
  32650. type: apiKey
  32651. Group:
  32652. in: header
  32653. name: Group
  32654. type: apiKey
  32655. LoginID:
  32656. in: header
  32657. name: LoginID
  32658. type: apiKey
  32659. swagger: "2.0"