swagger.yaml 891 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagedetailpath:
  126. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  127. type: string
  128. imagepath:
  129. description: 图片
  130. type: string
  131. imagetype:
  132. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  133. type: integer
  134. isshow:
  135. description: 是否展示 - 0:不展示 1:展示
  136. type: integer
  137. marketid:
  138. description: 市场ID
  139. type: integer
  140. modifierid:
  141. description: 操作人
  142. type: integer
  143. sort:
  144. description: 排序
  145. type: integer
  146. title:
  147. description: 标题
  148. type: string
  149. trademode:
  150. description: 交易模式
  151. type: integer
  152. updatedate:
  153. description: 修改时间
  154. type: string
  155. url:
  156. description: 链接(地址或商品ID)
  157. type: string
  158. urltype:
  159. description: 链接类型 - 1:直接地址 2:商品ID
  160. type: integer
  161. required:
  162. - configid
  163. type: object
  164. common.QueryNoticeRsp:
  165. properties:
  166. auditoruserid:
  167. description: 审核人
  168. type: integer
  169. auditremark:
  170. description: 审核备注
  171. type: string
  172. audittime:
  173. description: 审核日期
  174. type: string
  175. autoid:
  176. description: 自增ID
  177. type: integer
  178. content:
  179. description: 内容
  180. type: string
  181. createtime:
  182. description: 创建时间
  183. type: string
  184. creatorid:
  185. description: 建仓人
  186. type: integer
  187. endtime:
  188. description: 结束时间
  189. type: string
  190. istop:
  191. description: 是否置顶 - 0:不置顶 1:置顶
  192. type: integer
  193. msgiconurl:
  194. description: 消息图标Url
  195. type: string
  196. msgtype:
  197. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  198. type: integer
  199. publisher:
  200. description: 消息发布者
  201. type: string
  202. readed:
  203. description: 是否已读
  204. type: boolean
  205. scheduletime:
  206. description: 计划发送时间
  207. type: string
  208. sendtype:
  209. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  210. type: integer
  211. sentstatus:
  212. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  213. type: integer
  214. title:
  215. description: 标题
  216. type: string
  217. userid:
  218. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  219. type: integer
  220. required:
  221. - autoid
  222. type: object
  223. common.QueryProvincesAndCitiesRsp:
  224. properties:
  225. cities:
  226. description: 市
  227. items:
  228. $ref: '#/definitions/models.Division'
  229. type: array
  230. province:
  231. $ref: '#/definitions/models.Division'
  232. description: 省
  233. type: object
  234. common.QueryTableDefineRsp:
  235. properties:
  236. columns:
  237. description: 列头信息数组
  238. items:
  239. $ref: '#/definitions/models.Tablecolumnconfig'
  240. type: array
  241. remark:
  242. description: Remark
  243. type: string
  244. tabelmenu:
  245. description: 列表菜单
  246. type: string
  247. tablekey:
  248. description: 列表Key
  249. type: string
  250. tablename:
  251. description: 列表名称
  252. type: string
  253. tabletype:
  254. description: 列表类型 - 1:管理端 2:终端
  255. type: integer
  256. required:
  257. - tablekey
  258. type: object
  259. common.QueryTraderMenuRsp:
  260. properties:
  261. OperationMenu:
  262. description: 功能菜单
  263. items:
  264. $ref: '#/definitions/models.OperationPrimaryMenu'
  265. type: array
  266. QuoteMenu:
  267. description: 报价牌分类菜单
  268. items:
  269. $ref: '#/definitions/models.QuotePrimaryMenu'
  270. type: array
  271. type: object
  272. cptrade.Cptradepositioncancel:
  273. properties:
  274. accountid:
  275. description: 申请人账户ID
  276. type: integer
  277. applystatus:
  278. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  279. type: integer
  280. applytime:
  281. description: 申请时间
  282. type: string
  283. cancelid:
  284. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  285. type: integer
  286. cancelqty:
  287. description: 注销数量
  288. type: integer
  289. createtime:
  290. description: 创建时间
  291. type: string
  292. creatorid:
  293. description: 创建人ID
  294. type: integer
  295. creatorname:
  296. description: 创建人
  297. type: string
  298. goodscode:
  299. description: 订单商品代码
  300. type: string
  301. goodsid:
  302. description: 商品ID
  303. type: integer
  304. goodsname:
  305. description: 订单商品名称
  306. type: string
  307. goodunit:
  308. description: 报价单位
  309. type: string
  310. handlestatus:
  311. description: 处理状态
  312. type: integer
  313. marketid:
  314. description: 市场ID
  315. type: integer
  316. marketname:
  317. description: 市场名称
  318. type: string
  319. tradedate:
  320. description: 交易日(yyyyMMdd)
  321. type: string
  322. userid:
  323. description: 申请人ID
  324. type: integer
  325. required:
  326. - cancelid
  327. type: object
  328. cptrade.Cptradepresaleapply:
  329. properties:
  330. accountid:
  331. description: 申请人账户ID
  332. type: integer
  333. applyid:
  334. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  335. type: integer
  336. applyremark:
  337. description: 申请备注
  338. type: string
  339. applystatus:
  340. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  341. type: integer
  342. applytime:
  343. description: 申请时间
  344. type: string
  345. attachmenturl:
  346. description: 附件地址
  347. type: string
  348. endtime:
  349. description: 预售结束时间
  350. type: string
  351. goodscode:
  352. description: 商品代码
  353. type: string
  354. goodsid:
  355. description: 商品ID
  356. type: integer
  357. goodsname:
  358. description: 商品名称
  359. type: string
  360. goodunit:
  361. description: 报价单位
  362. type: string
  363. handlestatus:
  364. description: 处理状态
  365. type: integer
  366. marketid:
  367. description: 预售市场ID
  368. type: integer
  369. marketname:
  370. description: 预售市场名称
  371. type: string
  372. presaleqty:
  373. description: 预售数量
  374. type: integer
  375. relatedgoodscode:
  376. description: 关联交易合约代码
  377. type: string
  378. relatedgoodsid:
  379. description: 关联交易合约ID
  380. type: integer
  381. relatedgoodsname:
  382. description: 关联交易合约名称
  383. type: string
  384. starttime:
  385. description: 预售开始时间
  386. type: string
  387. tradedate:
  388. description: 交易日(yyyyMMdd)
  389. type: string
  390. trademode:
  391. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  392. type: integer
  393. userid:
  394. description: 申请人ID
  395. type: integer
  396. required:
  397. - applyid
  398. type: object
  399. cptrade.Cptradeusergoodsdata:
  400. properties:
  401. EnabledQty:
  402. description: 可用量
  403. type: integer
  404. GoodsCode:
  405. description: 订单商品代码
  406. type: string
  407. GoodsName:
  408. description: 订单商品名称
  409. type: string
  410. WRStandardCode:
  411. description: 仓单标准代码
  412. type: string
  413. WRStandardName:
  414. description: 仓单标准名称
  415. type: string
  416. accountid:
  417. description: 账户ID
  418. type: integer
  419. cancelqty:
  420. description: 注销量
  421. type: integer
  422. curpresaleqty:
  423. description: 当前预售量
  424. type: integer
  425. deliveryqty:
  426. description: 交割量
  427. type: integer
  428. freezeamount:
  429. description: 冻结金额
  430. type: number
  431. goodsid:
  432. description: 商品ID
  433. type: integer
  434. goodunit:
  435. description: 报价单位
  436. type: string
  437. hasspotfreeze:
  438. description: 是否有现货冻结 - 0:否 1:有
  439. type: integer
  440. inqty:
  441. description: 转入量(总数量)
  442. type: integer
  443. marketid:
  444. description: 市场ID
  445. type: integer
  446. presaledamount:
  447. description: 已预售总金额
  448. type: integer
  449. presaledqty:
  450. description: 已预售量
  451. type: integer
  452. userid:
  453. description: 用户ID
  454. type: integer
  455. wrstandardid:
  456. description: 仓单标准ID
  457. type: integer
  458. required:
  459. - accountid
  460. - goodsid
  461. type: object
  462. cptrade.QueryCPTradeMyBidRsp:
  463. properties:
  464. accountid:
  465. description: 账户ID[报价币种]
  466. type: integer
  467. goodsid:
  468. description: 商品ID
  469. type: integer
  470. goodunit:
  471. description: 报价单位
  472. type: string
  473. marketid:
  474. description: 市场ID
  475. type: integer
  476. orderid:
  477. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  478. type: integer
  479. orderprice:
  480. description: 委托价格
  481. type: number
  482. orderqty:
  483. description: 委托数量
  484. type: integer
  485. ordertime:
  486. description: 委托时间
  487. type: string
  488. ordertotalprice:
  489. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  490. type: number
  491. ordertotalweight:
  492. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  493. type: integer
  494. totaltotalprice:
  495. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  496. type: number
  497. tradeprice:
  498. description: 成交价格
  499. type: number
  500. tradeqty:
  501. description: 成交数量
  502. type: integer
  503. required:
  504. - accountid
  505. - goodsid
  506. - marketid
  507. - orderid
  508. - orderqty
  509. - ordertime
  510. - tradeprice
  511. - tradeqty
  512. type: object
  513. cptrade.QueryCPTradeOrderDetailRsq:
  514. properties:
  515. accountid:
  516. description: 账户ID[报价币种]
  517. type: integer
  518. buildtype:
  519. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  520. type: integer
  521. buyorsell:
  522. description: 买卖 - 0:买 1:卖
  523. type: integer
  524. cancelorderid:
  525. description: 撤单单号(撤单时填写)
  526. type: integer
  527. cancelqty:
  528. description: 撤单数量
  529. type: integer
  530. clientordertime:
  531. description: 客户端委托时间
  532. type: string
  533. clientticket:
  534. description: 客户端流水号
  535. type: string
  536. clienttype:
  537. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  538. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  539. type: integer
  540. closeexchagechargevalue:
  541. description: 平仓交易所手续费设置值
  542. type: number
  543. closefeealgorithm:
  544. description: 平仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. closefreezecharge:
  547. description: 平仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. closememberchargevalue:
  550. description: 平仓会员手续费设置值
  551. type: number
  552. closeqty:
  553. description: 平仓数量(先建后平操作 需要记录)
  554. type: integer
  555. closetradeqty:
  556. description: 平仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. closeunfreezecharge:
  559. description: 平仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. delistingtype:
  562. description: 摘牌类型 - 1:价格最优 2:点选成交
  563. type: integer
  564. freezecharge:
  565. description: 冻结手续费
  566. type: number
  567. freezemargin:
  568. description: 冻结保证金(冻结交易金额)
  569. type: number
  570. gcaccountid:
  571. description: 账户ID[合约币种]
  572. type: integer
  573. goodsid:
  574. description: 商品ID
  575. type: integer
  576. isconfirmexercise:
  577. description: 是否确认行权- 0:否 1:是
  578. type: integer
  579. ispreexercise:
  580. description: 是否预申报- 0:否 1:是
  581. type: integer
  582. listingselecttype:
  583. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  584. type: integer
  585. marginalgorithm:
  586. description: 保证金收取方式 1:比率 2:固定
  587. type: integer
  588. marginvalue:
  589. description: 即市保证金设置值
  590. type: number
  591. marketid:
  592. description: 市场ID
  593. type: integer
  594. marketmaxsub:
  595. description: 市价最大偏移范围
  596. type: number
  597. memberuserid:
  598. description: 所属会员UserID
  599. type: integer
  600. openexchagechargevalue:
  601. description: 建仓交易所手续费设置值
  602. type: number
  603. openfeealgorithm:
  604. description: 建仓手续费收取方式 1:比率 2:固定
  605. type: integer
  606. openfreezecharge:
  607. description: 开仓冻结手续费(先建后平操作,需要记录)
  608. type: number
  609. openmemberchargevalue:
  610. description: 建仓会员手续费设置值
  611. type: number
  612. openqty:
  613. description: 开仓数量(先建后平操作,需要记录)
  614. type: integer
  615. opentradeqty:
  616. description: 开仓成交数量(先建后平操作,需要记录)
  617. type: integer
  618. openunfreezecharge:
  619. description: 开仓解冻手续费(先建后平操作,需要记录)
  620. type: number
  621. operatetype:
  622. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  623. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  624. 15:管理端协议转让
  625. type: integer
  626. operatorid:
  627. description: 登录账号(LoginID)
  628. type: integer
  629. optiontype:
  630. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  631. type: integer
  632. orderprice:
  633. description: 委托价格
  634. type: number
  635. orderqty:
  636. description: 委托数量
  637. type: integer
  638. ordersrc:
  639. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  640. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  641. type: integer
  642. orderstatus:
  643. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  644. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  645. 16:成交失败违约(荷兰式竞拍专用)
  646. type: integer
  647. ordertime:
  648. description: 委托时间
  649. type: string
  650. preexerciseprice:
  651. description: 预申报价格
  652. type: number
  653. premium:
  654. description: 权利金
  655. type: number
  656. preorderid:
  657. description: 关联预埋单号(止盈止损单时填写)
  658. type: integer
  659. pricemode:
  660. description: '取价方式 - 1:市价 2: 限价'
  661. type: integer
  662. quoteid:
  663. description: 报价单ID
  664. type: integer
  665. relatedid:
  666. description: 关联单号(交割单)
  667. type: integer
  668. retcode:
  669. description: 错误代码
  670. type: integer
  671. sessionid:
  672. description: 会话ID
  673. type: integer
  674. strorderid:
  675. description: 委托单号
  676. type: string
  677. tradedate:
  678. description: 交易日(yyyyMMdd)
  679. type: string
  680. tradeproperty:
  681. description: 交易属性
  682. type: integer
  683. tradeqty:
  684. description: 成交数量
  685. type: integer
  686. unfreezecharge:
  687. description: 解冻手续费
  688. type: number
  689. unfreezemargin:
  690. description: 解冻保证金
  691. type: number
  692. updatetime:
  693. description: 更新时间
  694. type: string
  695. uuid:
  696. description: 发起端唯一id
  697. type: string
  698. validtime:
  699. description: 有效期限
  700. type: string
  701. validtype:
  702. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  703. type: integer
  704. volumetype:
  705. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  706. type: integer
  707. required:
  708. - accountid
  709. - buildtype
  710. - buyorsell
  711. - goodsid
  712. - marketid
  713. - memberuserid
  714. - operatetype
  715. - orderqty
  716. - ordertime
  717. - pricemode
  718. - strorderid
  719. - tradedate
  720. - validtype
  721. type: object
  722. cptrade.QueryMyCPTradeGoodsRsp:
  723. properties:
  724. accountid:
  725. description: 卖方账户ID
  726. type: integer
  727. agreeunit:
  728. description: 合约单位
  729. type: number
  730. applyid:
  731. description: 关联申请ID
  732. type: integer
  733. attachmenturl:
  734. description: 附件地址
  735. type: string
  736. createtime:
  737. description: 创建时间
  738. type: string
  739. currencyid:
  740. description: 报价货币ID
  741. type: integer
  742. decimalplace:
  743. description: 报价小数位
  744. type: integer
  745. endtime:
  746. description: 预售结束时间
  747. type: string
  748. floorprice:
  749. description: 底价[大宗式竞拍]
  750. type: number
  751. goodscode:
  752. description: 商品代码(预售)
  753. type: string
  754. goodsdetail:
  755. description: 详情[大宗]
  756. type: string
  757. goodsid:
  758. description: 商品ID(自增ID SEQ_GOODS)
  759. type: integer
  760. goodsname:
  761. description: 商品名称(预售)
  762. type: string
  763. goodunit:
  764. description: 报价单位
  765. type: string
  766. goodunitid:
  767. description: 报价单位ID
  768. type: integer
  769. marketid:
  770. description: 所属市场ID
  771. type: integer
  772. marketname:
  773. description: 预售市场名称
  774. type: string
  775. presaledamount:
  776. description: 已预售总金额(预售结束时更新)
  777. type: number
  778. presaledqty:
  779. description: 已预售量(预售结束时更新)
  780. type: integer
  781. presalemode:
  782. description: 预售模式 - 1:一口价 2:大宗式竞拍
  783. type: integer
  784. presaleqty:
  785. description: 预售数量
  786. type: integer
  787. refprice:
  788. description: 参考价格[一口价]
  789. type: number
  790. relatedgoodscode:
  791. description: 商品代码(订单)
  792. type: string
  793. relatedgoodsid:
  794. description: 关联交易合约ID
  795. type: integer
  796. relatedgoodsname:
  797. description: 商品名称(订单)
  798. type: string
  799. relatedmarketid:
  800. description: 关联交易合约市场ID
  801. type: integer
  802. sellstatus:
  803. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  804. type: integer
  805. startprice:
  806. description: 起拍价[大宗式竞拍]
  807. type: number
  808. starttime:
  809. description: 预售开始时间
  810. type: string
  811. tradedate:
  812. description: 交易日(yyyyMMdd)
  813. type: string
  814. tradeprice:
  815. description: 成交价[大宗]
  816. type: number
  817. userid:
  818. description: 卖方用户ID
  819. type: integer
  820. required:
  821. - goodscode
  822. - goodsid
  823. - goodsname
  824. - marketid
  825. - relatedgoodscode
  826. - relatedgoodsname
  827. type: object
  828. cptrade.QueryPresaleGoodsExRsp:
  829. properties:
  830. attachmenturl:
  831. description: 附件地址
  832. type: string
  833. createtime:
  834. description: 创建时间
  835. type: string
  836. endtime:
  837. description: 预售结束时间
  838. type: string
  839. floorprice:
  840. description: 底价[大宗式竞拍]
  841. type: number
  842. goodsdetail:
  843. description: 详情[大宗]
  844. type: string
  845. goodsid:
  846. description: 商品ID(预售)
  847. type: integer
  848. goodunit:
  849. description: 报价单位
  850. type: string
  851. marketid:
  852. description: 预售市场ID - 根据预售模式选择市场
  853. type: integer
  854. presaledamount:
  855. description: 已预售总金额(预售结束时更新)
  856. type: number
  857. presaledqty:
  858. description: 已预售量(预售结束时更新)
  859. type: integer
  860. presalemode:
  861. description: 预售模式 - 1:一口价 2:大宗式竞拍
  862. type: integer
  863. presaleqty:
  864. description: 预售数量
  865. type: integer
  866. refprice:
  867. description: 参考价格[一口价]
  868. type: number
  869. relatedgoodsid:
  870. description: 关联交易合约ID
  871. type: integer
  872. relatedmarketid:
  873. description: 关联交易合约市场ID
  874. type: integer
  875. sellstatus:
  876. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  877. type: integer
  878. startprice:
  879. description: 起拍价[大宗式竞拍]
  880. type: number
  881. starttime:
  882. description: 预售开始时间
  883. type: string
  884. tradedate:
  885. description: 交易日(yyyyMMdd)
  886. type: string
  887. tradeprice:
  888. description: 成交价[大宗]
  889. type: number
  890. required:
  891. - goodsid
  892. type: object
  893. delivery.QueryDeliveryRelationRsp:
  894. properties:
  895. begindate:
  896. description: 起始日期(yyyyMMdd)
  897. type: string
  898. buytemplateid:
  899. description: 买履约计划模板ID
  900. type: integer
  901. deliverygoodscode:
  902. description: 品种代码
  903. type: string
  904. deliverygoodsid:
  905. description: 交割商品
  906. type: integer
  907. deliverygoodsname:
  908. description: 品种名称
  909. type: string
  910. deliverymode:
  911. description: 交割方式 - 1:点选式 2:申报式
  912. type: integer
  913. deliverypricerule:
  914. description: 交割价规则- 1:行情价 2:建仓价
  915. type: integer
  916. deliverytype:
  917. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  918. type: integer
  919. enddate:
  920. description: 结束日期(yyyyMMdd)
  921. type: string
  922. enumdicname:
  923. description: 品类单位名称
  924. type: string
  925. goodscode:
  926. description: 商品代码
  927. type: string
  928. goodsid:
  929. description: 交易合约ID
  930. type: integer
  931. goodsname:
  932. description: 商品名称
  933. type: string
  934. marketid:
  935. description: 市场ID
  936. type: integer
  937. mindeliveryqty:
  938. description: 最小交割系数(K)
  939. type: integer
  940. p2deliveryprice:
  941. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  942. type: number
  943. p2deliveryratio:
  944. description: P2合约系数(p)
  945. type: integer
  946. p2goodsid:
  947. description: P2合约ID
  948. type: integer
  949. p2pricemode:
  950. description: P2合约价格方式 - 1:商品价 2:固定值
  951. type: integer
  952. pdeliveryprice:
  953. description: P合约价格(商品价时填写0,固定值时填写固定值)
  954. type: number
  955. pdeliveryratio:
  956. description: P合约系数(n)
  957. type: integer
  958. pgoodscode:
  959. description: p合约代码
  960. type: string
  961. pgoodsid:
  962. description: P合约ID
  963. type: integer
  964. ppricemode:
  965. description: P合约价格方式 - 1:商品价 2:固定值
  966. type: integer
  967. rratio:
  968. description: 兑换系数(R)
  969. type: integer
  970. rratio1:
  971. description: 兑换系数(交易合约)(R1)
  972. type: integer
  973. rratio2:
  974. description: 兑换系数(仓单标准)(R2)
  975. type: integer
  976. selltemplateid:
  977. description: 卖履约计划模板ID
  978. type: integer
  979. wrstandardid:
  980. description: 仓单标准ID
  981. type: integer
  982. xdeliveryratio:
  983. description: 交易合约系数(m)
  984. type: integer
  985. required:
  986. - begindate
  987. - enddate
  988. - goodsid
  989. - mindeliveryqty
  990. - xdeliveryratio
  991. type: object
  992. ermcp.ExposureDetailRsp:
  993. properties:
  994. areauserid:
  995. description: 机构ID
  996. type: integer
  997. changeQty:
  998. description: 套保变动量
  999. type: number
  1000. contracttype:
  1001. description: 现货合同类型 - 1:采购 -1:销售
  1002. type: integer
  1003. convertfactor:
  1004. description: 标仓系数
  1005. type: number
  1006. convertratio:
  1007. description: 套保系数
  1008. type: number
  1009. createtime:
  1010. description: 时间
  1011. type: string
  1012. enumdicname:
  1013. description: 现货商品单位名称
  1014. type: string
  1015. logtype:
  1016. description: 类型 - 1:套保计划 2:现货合同
  1017. type: integer
  1018. middlegoodsId:
  1019. description: 套保商品id
  1020. type: integer
  1021. middlegoodscode:
  1022. description: 套保商品代码
  1023. type: string
  1024. middlegoodsname:
  1025. description: 套保商品名称
  1026. type: string
  1027. qty:
  1028. description: 数量
  1029. type: number
  1030. relateNo:
  1031. description: 现货合同/套保计划编号
  1032. type: string
  1033. wrstandardcode:
  1034. description: 现货商品代码
  1035. type: string
  1036. wrstandardid:
  1037. description: 现货商品ID
  1038. type: integer
  1039. wrstandardname:
  1040. description: 现货商品名称
  1041. type: string
  1042. type: object
  1043. ermcp.ExposureHedgePosDetailRsp:
  1044. properties:
  1045. buyorsell:
  1046. description: 买卖方向 0-买 1-卖
  1047. type: integer
  1048. channelbuildtype:
  1049. description: 开平方向 1-建仓 2-平仓
  1050. type: integer
  1051. goodscode:
  1052. description: 商品代码
  1053. type: string
  1054. goodsname:
  1055. description: 商品名称
  1056. type: string
  1057. hedgegoodsid:
  1058. description: 商品id
  1059. type: integer
  1060. tradeqty:
  1061. description: 数量(成交数量)
  1062. type: integer
  1063. tradetime:
  1064. description: 时间(成交时间)
  1065. type: string
  1066. type: object
  1067. ermcp.ExposureHedgePositionRsp:
  1068. properties:
  1069. accountid:
  1070. description: 资金账号[外部母账户]
  1071. type: integer
  1072. curbuyposition:
  1073. description: 期末买头寸
  1074. type: integer
  1075. cursellposition:
  1076. description: 期末卖头寸
  1077. type: integer
  1078. curtdbuyposition:
  1079. description: 期末今日买头寸
  1080. type: integer
  1081. curtdsellposition:
  1082. description: 期末今日卖头寸
  1083. type: integer
  1084. curydbuyposition:
  1085. description: 期末上日买头寸
  1086. type: integer
  1087. curydsellposition:
  1088. description: 期末上日卖头寸
  1089. type: integer
  1090. decreaseqty:
  1091. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1092. type: integer
  1093. fretdbuyposition:
  1094. description: 冻结今日买头寸
  1095. type: integer
  1096. fretdsellposition:
  1097. description: 冻结今日卖头寸
  1098. type: integer
  1099. freydbuyposition:
  1100. description: 冻结上日买头寸
  1101. type: integer
  1102. freydsellposition:
  1103. description: 冻结上日卖头寸
  1104. type: integer
  1105. goodscode:
  1106. description: 商品代码
  1107. type: string
  1108. goodsid:
  1109. description: 商品id
  1110. type: integer
  1111. goodsname:
  1112. description: 商品名称
  1113. type: string
  1114. hedgeaccountcode:
  1115. description: 对冲账号
  1116. type: string
  1117. hedgegoodsid:
  1118. description: 对冲合约ID
  1119. type: integer
  1120. increaseqty:
  1121. description: 增加数量 = 期末买头寸 - 期初买头寸
  1122. type: integer
  1123. marketid:
  1124. description: 市场ID
  1125. type: integer
  1126. relateduserid:
  1127. description: 关联用户id
  1128. type: integer
  1129. totalcurqty:
  1130. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1131. type: integer
  1132. totalydqty:
  1133. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1134. type: integer
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. ydbuyposition:
  1139. description: 期初买头寸
  1140. type: integer
  1141. ydsellposition:
  1142. description: 期初卖头寸
  1143. type: integer
  1144. type: object
  1145. ermcp.ExposureSpotDetailRsp:
  1146. properties:
  1147. contracttype:
  1148. description: 合同类型 1-采购 -1-销售
  1149. type: integer
  1150. createtime:
  1151. description: 创建时间
  1152. type: string
  1153. enumdicname:
  1154. description: 现货商品单位名称
  1155. type: string
  1156. logtype:
  1157. description: 记录类型 1-套保 2-现货合同
  1158. type: integer
  1159. qty:
  1160. description: 数量
  1161. type: number
  1162. recordname:
  1163. description: 类型名称
  1164. type: string
  1165. relatedid:
  1166. description: 套保计划ID/现货合同ID
  1167. type: string
  1168. relatedno:
  1169. description: 编号
  1170. type: string
  1171. strtime:
  1172. description: 时间
  1173. type: string
  1174. wrstandardcode:
  1175. description: 现货商品代码
  1176. type: string
  1177. wrstandardname:
  1178. description: 现货商品名称
  1179. type: string
  1180. type: object
  1181. ermcp.ExposureSpotRsp:
  1182. properties:
  1183. areauserid:
  1184. description: 所属机构
  1185. type: integer
  1186. decreaseqty:
  1187. description: 减少数量=-(销售已定价数量+采购计划数量)
  1188. type: number
  1189. increaseqty:
  1190. description: 增加数量=销售计划数量+采购已定价数量
  1191. type: number
  1192. oritoalspotqty:
  1193. description: 昨日数量
  1194. type: number
  1195. totalspotqty:
  1196. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1197. type: number
  1198. updatetime:
  1199. description: 更新时间
  1200. type: string
  1201. wrstandardcode:
  1202. description: 现货品种代码
  1203. type: string
  1204. wrstandardid:
  1205. description: 现货商品ID
  1206. type: integer
  1207. wrstandardname:
  1208. description: 现货品种
  1209. type: string
  1210. type: object
  1211. ermcp.HisExposureRsp:
  1212. properties:
  1213. data:
  1214. description: 历史敞口
  1215. items:
  1216. $ref: '#/definitions/models.ErmcpHisExposure'
  1217. type: array
  1218. enumdicname:
  1219. description: 单位名称
  1220. type: string
  1221. middlegoodscode:
  1222. description: 套保品种代码
  1223. type: string
  1224. middlegoodsid:
  1225. description: 套保品种ID
  1226. type: integer
  1227. middlegoodsname:
  1228. description: 套保品种名称
  1229. type: string
  1230. type: object
  1231. ermcp.PendingAuditCntRsp:
  1232. properties:
  1233. areastockqty:
  1234. description: '待审核数量: 库存申请'
  1235. type: integer
  1236. businessdjqty:
  1237. description: '待审核数量: 点价'
  1238. type: integer
  1239. businessfpqty:
  1240. description: '待审核数量: 发票'
  1241. type: integer
  1242. businessjsqty:
  1243. description: '待审核数量: 结算'
  1244. type: integer
  1245. businesskxqty:
  1246. description: '待审核数量: 款项'
  1247. type: integer
  1248. hedgeplanqty:
  1249. description: '待审核数量: 套保计划'
  1250. type: integer
  1251. spotcontractqty:
  1252. description: '待审核数量: 现货合同'
  1253. type: integer
  1254. userqty:
  1255. description: '待审核数量: 用户'
  1256. type: integer
  1257. type: object
  1258. ermcp.QryAvalidGPRsp:
  1259. properties:
  1260. goodsgroupid:
  1261. description: 期货品种id
  1262. type: integer
  1263. goodsgroupname:
  1264. description: 期货品种名称
  1265. type: string
  1266. goodunitid:
  1267. description: 品种单位id
  1268. type: integer
  1269. goodunitname:
  1270. description: 品种单位名称
  1271. type: string
  1272. outergroupcode:
  1273. description: 期货品种代码
  1274. type: string
  1275. type: object
  1276. ermcp.QryBusinessDjRsp:
  1277. properties:
  1278. amount:
  1279. description: 点价金额=(点价价格+升贴水)*点价数量
  1280. type: number
  1281. applyid:
  1282. description: 申请人
  1283. type: string
  1284. applyname:
  1285. description: 申请人名称
  1286. type: string
  1287. applystatus:
  1288. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1289. type: integer
  1290. applytime:
  1291. description: 申请时间
  1292. type: string
  1293. attachurl:
  1294. description: 附件
  1295. type: string
  1296. auditid:
  1297. description: 审核人ID
  1298. type: string
  1299. auditname:
  1300. description: 审核人名称
  1301. type: string
  1302. auditremark:
  1303. description: 审核备注
  1304. type: string
  1305. audittime:
  1306. description: 审核时间
  1307. type: string
  1308. buyusername:
  1309. description: 采购方名称
  1310. type: string
  1311. contractno:
  1312. description: 合同编号
  1313. type: string
  1314. contractstatus:
  1315. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1316. type: integer
  1317. contracttype:
  1318. description: 现货合同类型 - 1:采购 -1:销售
  1319. type: integer
  1320. deliverygoodscode:
  1321. description: 现货品种代码
  1322. type: string
  1323. deliverygoodsid:
  1324. description: 现货商品ID
  1325. type: integer
  1326. deliverygoodsname:
  1327. description: 现货品种名称
  1328. type: string
  1329. enumdicname:
  1330. description: 单位名称
  1331. type: string
  1332. goodscode:
  1333. description: 点价合约
  1334. type: string
  1335. goodsname:
  1336. description: 商品名称
  1337. type: string
  1338. operateapplyid:
  1339. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1340. type: string
  1341. operateapplytype:
  1342. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1343. type: integer
  1344. pricedPrice:
  1345. description: 点价价格(非必填)
  1346. type: number
  1347. pricedQty:
  1348. description: 点价数量(非必填)
  1349. type: number
  1350. pricemove:
  1351. description: 升贴水
  1352. type: number
  1353. pricetype:
  1354. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1355. type: integer
  1356. relatedid:
  1357. description: 现货合同ID
  1358. type: string
  1359. sellusername:
  1360. description: 销售方名字
  1361. type: string
  1362. userid:
  1363. description: 用户ID
  1364. type: integer
  1365. wrstandardcode:
  1366. description: 品类代码
  1367. type: string
  1368. wrstandardid:
  1369. description: 品类id
  1370. type: integer
  1371. wrstandardname:
  1372. description: 品类名称
  1373. type: string
  1374. type: object
  1375. ermcp.QryBussinessFpRsp:
  1376. properties:
  1377. applyid:
  1378. description: 申请人
  1379. type: string
  1380. applyname:
  1381. description: 申请人名称
  1382. type: string
  1383. applystatus:
  1384. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1385. type: integer
  1386. applytime:
  1387. description: 申请时间
  1388. type: string
  1389. attachurl:
  1390. description: 附件
  1391. type: string
  1392. auditid:
  1393. description: 审核人ID
  1394. type: string
  1395. auditname:
  1396. description: 审核人名称
  1397. type: string
  1398. auditremark:
  1399. description: 审核备注
  1400. type: string
  1401. audittime:
  1402. description: 审核时间
  1403. type: string
  1404. buyusername:
  1405. description: 采购方名称
  1406. type: string
  1407. contractno:
  1408. description: 合同编号
  1409. type: string
  1410. contractstatus:
  1411. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1412. type: integer
  1413. contracttype:
  1414. description: 现货合同类型 - 1:采购 -1:销售
  1415. type: integer
  1416. deliverygoodscode:
  1417. description: 现货品种代码
  1418. type: string
  1419. deliverygoodsid:
  1420. description: 现货商品ID
  1421. type: integer
  1422. deliverygoodsname:
  1423. description: 现货品种名称
  1424. type: string
  1425. enumdicname:
  1426. description: 单位名称
  1427. type: string
  1428. goodscode:
  1429. description: 点价合约
  1430. type: string
  1431. goodsname:
  1432. description: 商品名称
  1433. type: string
  1434. invoiceamount:
  1435. description: 已开收票金额(销售为开票,采购为收票)
  1436. type: number
  1437. operateapplyid:
  1438. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1439. type: string
  1440. operateapplytype:
  1441. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1442. type: integer
  1443. pricemove:
  1444. description: 升贴水
  1445. type: number
  1446. pricetype:
  1447. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1448. type: integer
  1449. relatedid:
  1450. description: 现货合同ID
  1451. type: string
  1452. sellusername:
  1453. description: 销售方名字
  1454. type: string
  1455. userid:
  1456. description: 用户ID
  1457. type: integer
  1458. wrstandardcode:
  1459. description: 品类代码
  1460. type: string
  1461. wrstandardid:
  1462. description: 品类id
  1463. type: integer
  1464. wrstandardname:
  1465. description: 品类名称
  1466. type: string
  1467. type: object
  1468. ermcp.QryBussinessJsExRsp:
  1469. properties:
  1470. applyid:
  1471. description: 申请人
  1472. type: string
  1473. applyname:
  1474. description: 申请人名称
  1475. type: string
  1476. applystatus:
  1477. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1478. type: integer
  1479. applytime:
  1480. description: 申请时间
  1481. type: string
  1482. attachurl:
  1483. description: 附件
  1484. type: string
  1485. auditid:
  1486. description: 审核人ID
  1487. type: string
  1488. auditname:
  1489. description: 审核人名称
  1490. type: string
  1491. auditremark:
  1492. description: 审核备注
  1493. type: string
  1494. audittime:
  1495. description: 审核时间
  1496. type: string
  1497. buyusername:
  1498. description: 采购方名称
  1499. type: string
  1500. contractno:
  1501. description: 合同编号
  1502. type: string
  1503. contractstatus:
  1504. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1505. type: integer
  1506. contracttype:
  1507. description: 现货合同类型 - 1:采购 -1:销售
  1508. type: integer
  1509. deliverygoodscode:
  1510. description: 现货品种代码
  1511. type: string
  1512. deliverygoodsid:
  1513. description: 现货商品ID
  1514. type: integer
  1515. deliverygoodsname:
  1516. description: 现货品种名称
  1517. type: string
  1518. enumdicname:
  1519. description: 单位名称
  1520. type: string
  1521. goodscode:
  1522. description: 点价合约
  1523. type: string
  1524. goodsname:
  1525. description: 商品名称
  1526. type: string
  1527. operateapplyid:
  1528. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1529. type: string
  1530. operateapplytype:
  1531. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1532. type: integer
  1533. pricemove:
  1534. description: 升贴水
  1535. type: number
  1536. pricetype:
  1537. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1538. type: integer
  1539. reckontype:
  1540. description: 结算类型
  1541. type: string
  1542. reckonvalue:
  1543. description: 值
  1544. type: number
  1545. relatedid:
  1546. description: 现货合同ID
  1547. type: string
  1548. sellusername:
  1549. description: 销售方名字
  1550. type: string
  1551. userid:
  1552. description: 用户ID
  1553. type: integer
  1554. wrstandardcode:
  1555. description: 品类代码
  1556. type: string
  1557. wrstandardid:
  1558. description: 品类id
  1559. type: integer
  1560. wrstandardname:
  1561. description: 品类名称
  1562. type: string
  1563. type: object
  1564. ermcp.QryBussinessJsRsp:
  1565. properties:
  1566. addmargin:
  1567. description: 追加保证金(非必填)
  1568. type: number
  1569. applyid:
  1570. description: 申请人
  1571. type: string
  1572. applyname:
  1573. description: 申请人名称
  1574. type: string
  1575. applystatus:
  1576. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1577. type: integer
  1578. applytime:
  1579. description: 申请时间
  1580. type: string
  1581. attachurl:
  1582. description: 附件
  1583. type: string
  1584. auditid:
  1585. description: 审核人ID
  1586. type: string
  1587. auditname:
  1588. description: 审核人名称
  1589. type: string
  1590. auditremark:
  1591. description: 审核备注
  1592. type: string
  1593. audittime:
  1594. description: 审核时间
  1595. type: string
  1596. buyusername:
  1597. description: 采购方名称
  1598. type: string
  1599. contractno:
  1600. description: 合同编号
  1601. type: string
  1602. contractstatus:
  1603. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1604. type: integer
  1605. contracttype:
  1606. description: 现货合同类型 - 1:采购 -1:销售
  1607. type: integer
  1608. decmargin:
  1609. description: 减少保证金(非必填)
  1610. type: number
  1611. deliverygoodscode:
  1612. description: 现货品种代码
  1613. type: string
  1614. deliverygoodsid:
  1615. description: 现货商品ID
  1616. type: integer
  1617. deliverygoodsname:
  1618. description: 现货品种名称
  1619. type: string
  1620. enumdicname:
  1621. description: 单位名称
  1622. type: string
  1623. goodscode:
  1624. description: 点价合约
  1625. type: string
  1626. goodsname:
  1627. description: 商品名称
  1628. type: string
  1629. operateapplyid:
  1630. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1631. type: string
  1632. operateapplytype:
  1633. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1634. type: integer
  1635. pricemove:
  1636. description: 升贴水
  1637. type: number
  1638. pricetype:
  1639. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1640. type: integer
  1641. reckonadjustamount:
  1642. description: 结算调整金额(非必填)
  1643. type: number
  1644. reckonosamount:
  1645. description: 结算溢短金额(非必填)
  1646. type: number
  1647. reckonotheramount:
  1648. description: 结算其他费用(非必填)
  1649. type: number
  1650. reckonrealqty:
  1651. description: 结算实际数量(非必填)
  1652. type: number
  1653. relatedid:
  1654. description: 现货合同ID
  1655. type: string
  1656. sellusername:
  1657. description: 销售方名字
  1658. type: string
  1659. userid:
  1660. description: 用户ID
  1661. type: integer
  1662. wrstandardcode:
  1663. description: 品类代码
  1664. type: string
  1665. wrstandardid:
  1666. description: 品类id
  1667. type: integer
  1668. wrstandardname:
  1669. description: 品类名称
  1670. type: string
  1671. type: object
  1672. ermcp.QryBussinessKxRsp:
  1673. properties:
  1674. applyid:
  1675. description: 申请人
  1676. type: string
  1677. applyname:
  1678. description: 申请人名称
  1679. type: string
  1680. applystatus:
  1681. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1682. type: integer
  1683. applytime:
  1684. description: 申请时间
  1685. type: string
  1686. attachurl:
  1687. description: 附件
  1688. type: string
  1689. auditid:
  1690. description: 审核人ID
  1691. type: string
  1692. auditname:
  1693. description: 审核人名称
  1694. type: string
  1695. auditremark:
  1696. description: 审核备注
  1697. type: string
  1698. audittime:
  1699. description: 审核时间
  1700. type: string
  1701. buyusername:
  1702. description: 采购方名称
  1703. type: string
  1704. contractno:
  1705. description: 合同编号
  1706. type: string
  1707. contractstatus:
  1708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1709. type: integer
  1710. contracttype:
  1711. description: 现货合同类型 - 1:采购 -1:销售
  1712. type: integer
  1713. deductamount:
  1714. description: 退款(非必填)
  1715. type: number
  1716. deliverygoodscode:
  1717. description: 现货品种代码
  1718. type: string
  1719. deliverygoodsid:
  1720. description: 现货商品ID
  1721. type: integer
  1722. deliverygoodsname:
  1723. description: 现货品种名称
  1724. type: string
  1725. enumdicname:
  1726. description: 单位名称
  1727. type: string
  1728. goodscode:
  1729. description: 点价合约
  1730. type: string
  1731. goodsname:
  1732. description: 商品名称
  1733. type: string
  1734. kxtype:
  1735. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1736. type: integer
  1737. operateapplyid:
  1738. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1739. type: string
  1740. operateapplytype:
  1741. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1742. type: integer
  1743. payamount:
  1744. description: 收付款(非必填)
  1745. type: number
  1746. pricemove:
  1747. description: 升贴水
  1748. type: number
  1749. pricetype:
  1750. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1751. type: integer
  1752. relatedid:
  1753. description: 现货合同ID
  1754. type: string
  1755. sellusername:
  1756. description: 销售方名字
  1757. type: string
  1758. userid:
  1759. description: 用户ID
  1760. type: integer
  1761. wrstandardcode:
  1762. description: 品类代码
  1763. type: string
  1764. wrstandardid:
  1765. description: 品类id
  1766. type: integer
  1767. wrstandardname:
  1768. description: 品类名称
  1769. type: string
  1770. type: object
  1771. ermcp.QryGGCovertCfgRsp:
  1772. properties:
  1773. convertratio:
  1774. description: 折算系数
  1775. type: number
  1776. destgoodsgroupid:
  1777. description: 目标品种ID
  1778. type: integer
  1779. dstcode:
  1780. description: 目录品种代码
  1781. type: string
  1782. dstexchangecode:
  1783. description: 目标期货交易所
  1784. type: string
  1785. dstname:
  1786. description: 目标品种名称
  1787. type: string
  1788. dstunitid:
  1789. description: 目标品种单位ID
  1790. type: integer
  1791. dstunitidname:
  1792. description: 目标品种单位名称
  1793. type: string
  1794. modifytime:
  1795. description: 修改时间
  1796. type: string
  1797. srccode:
  1798. description: 源品种代码
  1799. type: string
  1800. srcexchangecode:
  1801. description: 源期货交易所
  1802. type: string
  1803. srcgoodsgroupid:
  1804. description: 源品种ID
  1805. type: integer
  1806. srcname:
  1807. description: 源品种名称
  1808. type: string
  1809. srcunitid:
  1810. description: 源品种单位ID
  1811. type: integer
  1812. srcunitidname:
  1813. description: 源品种单位名称
  1814. type: string
  1815. type: object
  1816. ermcp.QryMGChangeLogRsp:
  1817. properties:
  1818. aftervalue:
  1819. description: 变更后
  1820. type: number
  1821. applyid:
  1822. description: 操作人
  1823. type: integer
  1824. applyname:
  1825. description: 操作人名称
  1826. type: string
  1827. applysrc:
  1828. description: 操作来源 - 1:管理端 2:终端
  1829. type: integer
  1830. beforevalue:
  1831. description: 变更前
  1832. type: number
  1833. changelogtype:
  1834. description: 变更流水类型 - 1:套保比率变更
  1835. type: integer
  1836. handlestatus:
  1837. description: 处理状态
  1838. type: integer
  1839. logdatetime:
  1840. description: 流水日期
  1841. type: string
  1842. logid:
  1843. description: 流水ID
  1844. type: integer
  1845. logremark:
  1846. description: 流水备注
  1847. type: string
  1848. middlegoodsid:
  1849. description: 套保品种ID
  1850. type: integer
  1851. tradedate:
  1852. description: 交易日(yyyyMMdd)
  1853. type: string
  1854. updatetime:
  1855. description: 更新时间
  1856. type: string
  1857. type: object
  1858. ermcp.QryMiddleGoodsDetailRsp:
  1859. properties:
  1860. cvList:
  1861. description: 期货品种折算列表
  1862. items:
  1863. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1864. type: array
  1865. mg:
  1866. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1867. description: 套保品种基本信息
  1868. wrcList:
  1869. description: 现货品种列表(现货商品折算配置)
  1870. items:
  1871. $ref: '#/definitions/models.WRSConverTDetail'
  1872. type: array
  1873. type: object
  1874. ermcp.QryMiddleGoodsRsp:
  1875. properties:
  1876. areauserid:
  1877. description: 机构用户ID
  1878. type: integer
  1879. createtime:
  1880. description: 修改时间
  1881. type: string
  1882. enumdicname:
  1883. description: 单位名称
  1884. type: string
  1885. evaluateratio:
  1886. description: 估价系数
  1887. type: number
  1888. goodsgroupid:
  1889. description: 关联期货品种ID
  1890. type: integer
  1891. goodsunitid:
  1892. description: 单位ID
  1893. type: integer
  1894. isvalid:
  1895. description: 状态 0-无效(停用) 1-有效(正常)
  1896. type: integer
  1897. middlegoodscode:
  1898. description: 套保品种代码
  1899. type: string
  1900. middlegoodsid:
  1901. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1902. type: integer
  1903. middlegoodsname:
  1904. description: 套保品种名称
  1905. type: string
  1906. modifytime:
  1907. description: 修改时间
  1908. type: string
  1909. needarbitrageratio:
  1910. description: 套利比例
  1911. type: number
  1912. needhedgeratio:
  1913. description: 套保比率
  1914. type: number
  1915. qtydecimalplace:
  1916. description: 数量小数位
  1917. type: integer
  1918. relatedgoodsid:
  1919. description: 关联交易商品ID
  1920. type: integer
  1921. relatedgoodstype:
  1922. description: 关联商品类型 - 1:期货合约 2:现货品种
  1923. type: integer
  1924. remark:
  1925. description: 备注
  1926. type: string
  1927. type: object
  1928. ermcp.QryOPLogRsp:
  1929. properties:
  1930. aftervalue:
  1931. description: 变更后
  1932. type: number
  1933. applyid:
  1934. description: 操作人ID
  1935. type: string
  1936. applyname:
  1937. description: 操作人名称
  1938. type: string
  1939. beforevalue:
  1940. description: 变更前
  1941. type: number
  1942. biztype:
  1943. description: 业务类型 - 1:套保计划 2:现货合同
  1944. type: integer
  1945. contracttype:
  1946. description: 现货合同类型 - 1:采购 -1:销售
  1947. type: integer
  1948. logvalue:
  1949. description: 数值
  1950. type: number
  1951. operatelogtype:
  1952. description: 操作流水类型
  1953. type: integer
  1954. operatelogtypedesc:
  1955. description: 操作流水类型名称
  1956. type: string
  1957. relatedid:
  1958. description: 现货合同ID\套保计划
  1959. type: string
  1960. updatetime:
  1961. description: 更新时间
  1962. type: string
  1963. type: object
  1964. ermcp.QryUserInfoRsp:
  1965. properties:
  1966. address:
  1967. description: 通讯地址
  1968. type: string
  1969. attachment1:
  1970. description: 附件1
  1971. type: string
  1972. audittime:
  1973. description: 审核时间
  1974. type: string
  1975. cardbackphotourl:
  1976. description: 证件反面图片地址
  1977. type: string
  1978. cardfrontphotourl:
  1979. description: 证件正面图片地址
  1980. type: string
  1981. cardnum:
  1982. description: 证件号码
  1983. type: string
  1984. cardtype:
  1985. description: 证件类型
  1986. type: integer
  1987. cardtypename:
  1988. description: 证件类型名称
  1989. type: string
  1990. cityid:
  1991. description: 市
  1992. type: integer
  1993. contactname:
  1994. description: 联系人
  1995. type: string
  1996. countryid:
  1997. description: 国家
  1998. type: integer
  1999. createtime:
  2000. description: 创建时间
  2001. type: string
  2002. customername:
  2003. description: 企业名称
  2004. type: string
  2005. districtid:
  2006. description: 区域
  2007. type: integer
  2008. email:
  2009. description: 邮件
  2010. type: string
  2011. legalpersonname:
  2012. description: 法人姓名(企业)
  2013. type: string
  2014. memberuserid:
  2015. description: 所属机构ID
  2016. type: integer
  2017. mobile:
  2018. description: 手机号码
  2019. type: string
  2020. modifytime:
  2021. description: 修改时间
  2022. type: string
  2023. nickname:
  2024. description: 昵称
  2025. type: string
  2026. provinceid:
  2027. description: 省
  2028. type: integer
  2029. remark:
  2030. description: 备注
  2031. type: string
  2032. status:
  2033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2034. type: integer
  2035. statusdesc:
  2036. description: 账户状态中文描述
  2037. type: string
  2038. taxpayernum:
  2039. description: 纳税人识别号
  2040. type: string
  2041. telphone:
  2042. description: 联系电话
  2043. type: string
  2044. userid:
  2045. description: 用户ID
  2046. type: integer
  2047. userinfotype:
  2048. description: 客户类型
  2049. type: string
  2050. type: object
  2051. ermcp.QryWarehouseRsp:
  2052. properties:
  2053. address:
  2054. description: 详细地址
  2055. type: string
  2056. areauserid:
  2057. description: 所属机构
  2058. type: integer
  2059. autoid:
  2060. description: 自增ID(仓库ID)
  2061. type: integer
  2062. cityid:
  2063. description: 市
  2064. type: integer
  2065. contactname:
  2066. description: 联系人
  2067. type: string
  2068. contactnum:
  2069. description: 联系电话
  2070. type: string
  2071. countryid:
  2072. description: 国家
  2073. type: integer
  2074. createtime:
  2075. description: 创建时间
  2076. type: string
  2077. districtid:
  2078. description: 区
  2079. type: integer
  2080. hasvideo:
  2081. description: 是否有视频 - 0:无 1:有
  2082. type: integer
  2083. provinceid:
  2084. description: 省
  2085. type: integer
  2086. remark:
  2087. description: 审核备注
  2088. type: string
  2089. videourl:
  2090. description: 视频地址
  2091. type: string
  2092. warehousecode:
  2093. description: 仓库代码
  2094. type: string
  2095. warehousename:
  2096. description: 仓库名称
  2097. type: string
  2098. warehousestatus:
  2099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2100. type: integer
  2101. warehousetype:
  2102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2103. type: integer
  2104. type: object
  2105. ermcp.QueryErmcpTradePositionRsp:
  2106. properties:
  2107. agreeunit:
  2108. description: 合约单位
  2109. type: number
  2110. buyorsell:
  2111. description: 方向 - 0:买 1:卖
  2112. type: integer
  2113. curpositionqty:
  2114. description: 持仓(总仓数量, 期末头寸)
  2115. type: integer
  2116. curtdposition:
  2117. description: 今仓数量(期末今日头寸)
  2118. type: integer
  2119. curtdpositionenabled:
  2120. description: 今仓可用
  2121. type: integer
  2122. decimalplace:
  2123. description: 报价小数位
  2124. type: integer
  2125. enableqty:
  2126. description: 可用(总仓可用)
  2127. type: integer
  2128. exexchangename:
  2129. description: 外部交易所名称
  2130. type: string
  2131. exexehangecode:
  2132. description: 外部交易所代码
  2133. type: string
  2134. exexehangeid:
  2135. description: 外部交易所id
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. last:
  2147. description: 现价
  2148. type: number
  2149. marketid:
  2150. description: 所属市场ID
  2151. type: integer
  2152. openaverageprice:
  2153. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2154. type: number
  2155. opencost:
  2156. description: 开仓成本
  2157. type: number
  2158. openpl:
  2159. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2160. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2161. type: number
  2162. outgoodscode:
  2163. description: 商品代码(外部)
  2164. type: string
  2165. positionaverageprice:
  2166. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2167. type: number
  2168. positioncost:
  2169. description: 持仓成本
  2170. type: number
  2171. positionpl:
  2172. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2173. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2174. type: number
  2175. positionplrate:
  2176. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2177. type: number
  2178. usedmargin:
  2179. description: 占用保证金
  2180. type: number
  2181. type: object
  2182. ermcp.RealtimeExposurePositionRsp:
  2183. properties:
  2184. agreeunit:
  2185. description: 合约单位
  2186. type: string
  2187. areauserid:
  2188. description: 所属机构id
  2189. type: integer
  2190. convertratio:
  2191. description: 期货品种系数(折算系数)
  2192. type: number
  2193. curhedgeqty:
  2194. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2195. type: number
  2196. curqty:
  2197. description: 当前持仓
  2198. type: integer
  2199. diffhedgeqty:
  2200. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2201. type: number
  2202. diffqty:
  2203. description: 持仓变动量=当前持仓-昨日持仓
  2204. type: integer
  2205. goodscode:
  2206. description: 商品代码
  2207. type: string
  2208. goodsid:
  2209. description: 商品id
  2210. type: integer
  2211. goodsname:
  2212. description: 商品名称
  2213. type: string
  2214. hedgeaccountcode:
  2215. description: 对冲账号(只有外部账号才有值)
  2216. type: string
  2217. middlegoodscode:
  2218. description: 套保商品代码
  2219. type: string
  2220. middlegoodsid:
  2221. description: 套保商品id
  2222. type: integer
  2223. middlegoodsname:
  2224. description: 套保商品名称
  2225. type: string
  2226. ydqty:
  2227. description: 昨日持仓
  2228. type: integer
  2229. type: object
  2230. ermcp.RealtimeExposureRsp:
  2231. properties:
  2232. AreaUserID:
  2233. description: 所属机构
  2234. type: integer
  2235. BuyFutureQty:
  2236. description: 买入期货数量
  2237. type: number
  2238. BuyPlanQty:
  2239. description: 采购计划数量
  2240. type: number
  2241. BuyPricedQty:
  2242. description: 采购合同已定价数量
  2243. type: number
  2244. MiddleGoodsCode:
  2245. description: 套保品种代码
  2246. type: string
  2247. MiddleGoodsHedgeRatio:
  2248. description: 套保比例
  2249. type: number
  2250. MiddleGoodsID:
  2251. description: 套保品种
  2252. type: integer
  2253. MiddleGoodsName:
  2254. description: 套保品种名称
  2255. type: string
  2256. NeedHedgeExposoure:
  2257. description: 应套保敞口(套保敞口)
  2258. type: number
  2259. NeedHedgeRatio:
  2260. description: 应套保敞口比例
  2261. type: number
  2262. OriBuyFutureQty:
  2263. description: 期初买入期货数量
  2264. type: number
  2265. OriBuyPlanQty:
  2266. description: 期初采购计划数量
  2267. type: number
  2268. OriBuyPricedQty:
  2269. description: 期初采购合同已定价数量
  2270. type: number
  2271. OriSellFutureQty:
  2272. description: 期初卖出期货数量
  2273. type: number
  2274. OriSellPlanQty:
  2275. description: 期初销售计划数量
  2276. type: number
  2277. OriSellPricedQty:
  2278. description: 期初销售合同已定价数量
  2279. type: number
  2280. OriTotalSpotQty:
  2281. description: 期初现货总量
  2282. type: number
  2283. SellFutureQty:
  2284. description: 卖出期货数量
  2285. type: number
  2286. SellPlanQty:
  2287. description: 销售计划数量
  2288. type: number
  2289. SellPricedQty:
  2290. description: 销售合同已定价数量
  2291. type: number
  2292. TotalExposure:
  2293. description: 总敞口 平安:净敞口
  2294. type: number
  2295. TotalFutureQty:
  2296. description: 期货总量 平安:保值净持仓量
  2297. type: number
  2298. TotalHedgeRatio:
  2299. description: 敞口比例
  2300. type: number
  2301. TotalNeedHedgeQty:
  2302. description: 应套保总量(现货应套保总量)
  2303. type: number
  2304. TotalSpotQty:
  2305. description: 现货总量 平安:采销定价净值
  2306. type: number
  2307. arbitrageqty:
  2308. description: 套利量
  2309. type: number
  2310. diffArbitrageQty:
  2311. description: 套利变动量
  2312. type: number
  2313. diffExposoureQty:
  2314. description: 变动量(套保敞口)
  2315. type: number
  2316. diffFutuQty:
  2317. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2318. type: number
  2319. diffHedgeQty:
  2320. description: 套保变动量
  2321. type: number
  2322. diffQty:
  2323. description: 变动量(总敞口) 平安:净敞口今日变动
  2324. type: number
  2325. diffSpotHedgeQty:
  2326. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2327. type: number
  2328. diffSpotQty:
  2329. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2330. type: number
  2331. enumdicname:
  2332. description: 单位名称
  2333. type: string
  2334. hedgeqty:
  2335. description: 套保量
  2336. type: number
  2337. needarbitrageqty:
  2338. description: 应套利量
  2339. type: number
  2340. needarbitrageratio:
  2341. description: 套利比例
  2342. type: number
  2343. needhedgeqty:
  2344. description: 应套保量
  2345. type: number
  2346. oriarbitrageqty:
  2347. description: 期初套利量
  2348. type: number
  2349. orihedgeqty:
  2350. description: 期初套保量
  2351. type: number
  2352. orineedhedgeexposoure:
  2353. description: 期初套保敞口
  2354. type: number
  2355. oritotalexposure:
  2356. description: 期初总敞口
  2357. type: number
  2358. oritotalfutureqty:
  2359. description: 期初期货总量
  2360. type: number
  2361. oritotalneedhedgeqty:
  2362. description: 期初现货应套保量
  2363. type: number
  2364. type: object
  2365. erms2.QueryArbitrageStrategyRsp:
  2366. properties:
  2367. applybasis:
  2368. description: 申请基差
  2369. type: number
  2370. asapplyid:
  2371. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2372. type: string
  2373. asname:
  2374. description: 策略名称
  2375. type: string
  2376. asno:
  2377. description: 策略编号
  2378. type: string
  2379. basischangepl:
  2380. description: 基差变动损益[结算更新]
  2381. type: number
  2382. biztype:
  2383. description: 业务类型 - 1:正向套利 -1:反向套利
  2384. type: integer
  2385. closetradedate:
  2386. description: 完结交易日(yyyyMMdd)
  2387. type: string
  2388. curbasis:
  2389. description: 当前基差[结算更新]
  2390. type: number
  2391. deliverygoodsid:
  2392. description: 现货品种ID
  2393. type: integer
  2394. futureavgprice:
  2395. description: 期货建仓均价
  2396. type: number
  2397. futurecloseamount:
  2398. description: 期货平仓金额
  2399. type: number
  2400. futurecloseqty:
  2401. description: 期货平仓数量
  2402. type: number
  2403. futureopenamount:
  2404. description: 期货开仓金额
  2405. type: number
  2406. futureopenqty:
  2407. description: 期货开仓数量
  2408. type: number
  2409. futurepl:
  2410. description: 期货总盈亏[结算更新]
  2411. type: number
  2412. futureqty:
  2413. description: 期货持仓数量
  2414. type: number
  2415. futurequote:
  2416. description: 期货额度
  2417. type: number
  2418. goodsgroupid:
  2419. description: 期货品种ID
  2420. type: integer
  2421. marketid:
  2422. description: 市场ID
  2423. type: integer
  2424. netexposure:
  2425. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2426. type: number
  2427. netexposurepl:
  2428. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2429. type: number
  2430. netexposurerate:
  2431. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2432. type: number
  2433. openbasis:
  2434. description: 建仓基差
  2435. type: number
  2436. pricedspotqty:
  2437. description: 已定价现货数量
  2438. type: number
  2439. pricedspotqtynotax:
  2440. description: 已定价现货不含税数量
  2441. type: number
  2442. remark:
  2443. description: 备注
  2444. type: string
  2445. spotavgprice:
  2446. description: 现货均价
  2447. type: number
  2448. spotbuyamount:
  2449. description: 现货采购金额
  2450. type: number
  2451. spotbuyqty:
  2452. description: 现货采购数量
  2453. type: number
  2454. spotpl:
  2455. description: 现货总盈亏[结算更新]
  2456. type: number
  2457. spotquota:
  2458. description: 现货额度
  2459. type: number
  2460. spotsellamount:
  2461. description: 现货销售金额
  2462. type: number
  2463. spotsellqty:
  2464. description: 现货销售数量
  2465. type: number
  2466. spotusedquota:
  2467. description: 现货占用资金
  2468. type: number
  2469. strategystatus:
  2470. description: 策略状态 - 0:未结束 1:已结束
  2471. type: integer
  2472. totalpl:
  2473. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2474. type: number
  2475. tradedate:
  2476. description: 交易日(yyyyMMdd)
  2477. type: string
  2478. updatetime:
  2479. description: 更新时间
  2480. type: string
  2481. usedquota:
  2482. description: 已占用资金
  2483. type: number
  2484. userid:
  2485. description: 所属机构
  2486. type: integer
  2487. required:
  2488. - asapplyid
  2489. type: object
  2490. erms2.QueryInnerTradeDetailRsp:
  2491. properties:
  2492. accountid:
  2493. description: 账号ID
  2494. type: integer
  2495. agreeunit:
  2496. description: 合约单位
  2497. type: number
  2498. asapplyid:
  2499. description: 策略申请ID
  2500. type: integer
  2501. asname:
  2502. description: 策略名称
  2503. type: string
  2504. asno:
  2505. description: 策略编号
  2506. type: string
  2507. buyorsell:
  2508. description: 方向 - 0:买 1:卖
  2509. type: integer
  2510. channelbuildtype:
  2511. description: 委托单据类型 0:无 1:建仓 2:平仓
  2512. type: integer
  2513. closetype:
  2514. description: 平仓方式 - 0:无 1:平今 2:平昨
  2515. type: integer
  2516. decimalplace:
  2517. description: 报价小数位
  2518. type: integer
  2519. detailtype:
  2520. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2521. type: integer
  2522. exexchangecode:
  2523. description: 外部交易所代码
  2524. type: string
  2525. exexchangename:
  2526. description: 外部交易所名称
  2527. type: string
  2528. goodscode:
  2529. description: 商品代码(合约)
  2530. type: string
  2531. goodsgroupid:
  2532. description: 商品组ID(品种ID)
  2533. type: integer
  2534. goodsgroupname:
  2535. description: 商品组名称(品种)
  2536. type: string
  2537. goodsid:
  2538. description: 商品ID
  2539. type: integer
  2540. goodsname:
  2541. description: 商品名称(合约)
  2542. type: string
  2543. goodunit:
  2544. description: 报价单位
  2545. type: string
  2546. marketid:
  2547. description: 市场ID
  2548. type: integer
  2549. orderid:
  2550. description: 委托单号
  2551. type: string
  2552. outgoodscode:
  2553. description: 商品代码(外部)
  2554. type: string
  2555. relatedouttradeid:
  2556. description: 关联外部成交单ID
  2557. type: string
  2558. remark:
  2559. description: 备注
  2560. type: string
  2561. spotcontractid:
  2562. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2563. type: integer
  2564. spotcontractno:
  2565. description: 现货合同编号
  2566. type: string
  2567. tradeid:
  2568. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2569. type: string
  2570. tradeprice:
  2571. description: 成交价格
  2572. type: number
  2573. tradeqty:
  2574. description: 成交数量
  2575. type: integer
  2576. tradetime:
  2577. description: 成交时间
  2578. type: string
  2579. updatetime:
  2580. description: 更新时间
  2581. type: string
  2582. required:
  2583. - asapplyid
  2584. - buyorsell
  2585. - goodscode
  2586. - goodsgroupid
  2587. - goodsgroupname
  2588. - goodsname
  2589. - tradeid
  2590. type: object
  2591. erms2.QuerySpotContractRsp:
  2592. properties:
  2593. accountid:
  2594. description: 资金账户ID
  2595. type: integer
  2596. areauserid:
  2597. description: 所属机构
  2598. type: integer
  2599. closedate:
  2600. description: 终止日期
  2601. type: string
  2602. closeremark:
  2603. description: 结束备注
  2604. type: string
  2605. closetradedate:
  2606. description: 完结交易日(yyyyMMdd)
  2607. type: string
  2608. closetype:
  2609. description: 终止类型 - 1:违约 2:提前终止
  2610. type: integer
  2611. contractamount:
  2612. description: 合同金额
  2613. type: number
  2614. contractattachment:
  2615. description: 合同附件
  2616. type: string
  2617. contractno:
  2618. description: 现货合同编号
  2619. type: string
  2620. contractqty:
  2621. description: 合同数量(数值) (用于计算)
  2622. type: number
  2623. contractqtychar:
  2624. description: 合同数量\已订价数量 (用于显示)
  2625. type: string
  2626. contractstatus:
  2627. description: 合同状态 - 0:未结束 1:已结束
  2628. type: integer
  2629. contracttype:
  2630. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2631. type: integer
  2632. customeraccountid:
  2633. description: 客户资金账户ID
  2634. type: integer
  2635. customeruserid:
  2636. description: 客户ID
  2637. type: integer
  2638. deliverygoodsdesc:
  2639. description: 品种说明
  2640. type: string
  2641. deliverygoodsid:
  2642. description: 现货品种ID
  2643. type: integer
  2644. handlestatus:
  2645. description: 处理状态
  2646. type: integer
  2647. invoiceatt:
  2648. description: 发票附件
  2649. type: string
  2650. invoicedatetime:
  2651. description: 开收票更新时间
  2652. type: string
  2653. invoiceopentime:
  2654. description: 开票时间
  2655. type: string
  2656. invoiceremark:
  2657. description: 发票备注
  2658. type: string
  2659. invoicestatus:
  2660. description: 开收票状态 - 0:未开票 1:已开票
  2661. type: integer
  2662. lastdate:
  2663. description: 交货时间
  2664. type: string
  2665. marketid:
  2666. description: 市场ID
  2667. type: integer
  2668. paydatetime:
  2669. description: 收付款更新时间
  2670. type: string
  2671. payremark:
  2672. description: 收付款备注
  2673. type: string
  2674. paystatus:
  2675. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2676. type: integer
  2677. positionqty:
  2678. description: 头寸数量 - 合同数量去小数部分
  2679. type: integer
  2680. producttype:
  2681. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2682. type: integer
  2683. relatedqty:
  2684. description: 已关联数量
  2685. type: number
  2686. relatedstatus:
  2687. description: 关联完结状态 - 0:未结束 1:已结束
  2688. type: integer
  2689. remark:
  2690. description: 备注
  2691. type: string
  2692. signdate:
  2693. description: 签订日期
  2694. type: string
  2695. spotcontractid:
  2696. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2697. type: string
  2698. spotdatetime:
  2699. description: 收发货更新时间
  2700. type: string
  2701. spotprice:
  2702. description: 价格
  2703. type: number
  2704. spotremark:
  2705. description: 收发货备注
  2706. type: string
  2707. spotstatus:
  2708. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2709. type: integer
  2710. tradedate:
  2711. description: 交易日(yyyyMMdd)
  2712. type: string
  2713. userid:
  2714. description: 业务员用户ID
  2715. type: integer
  2716. warehouseid:
  2717. description: 仓库ID
  2718. type: integer
  2719. wrfactortypeid:
  2720. description: 仓单要素类型ID
  2721. type: integer
  2722. wrstandardid:
  2723. description: 仓单标准ID(SEQ_WRSTANDARD)
  2724. type: integer
  2725. required:
  2726. - spotcontractid
  2727. type: object
  2728. erms3.AddErms2ASApplyReq:
  2729. properties:
  2730. applybasis:
  2731. description: 申请基差
  2732. type: number
  2733. applystatus:
  2734. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2735. type: integer
  2736. asapplyid:
  2737. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2738. type: integer
  2739. asname:
  2740. description: 策略名称
  2741. type: string
  2742. asno:
  2743. description: 策略编号
  2744. type: string
  2745. auditid:
  2746. description: 审核人
  2747. type: integer
  2748. auditremark:
  2749. description: 审核备注
  2750. type: string
  2751. audittime:
  2752. description: 审核时间
  2753. type: string
  2754. biztype:
  2755. description: 业务类型 - 1:正向套利 2:反向套利
  2756. type: integer
  2757. createtime:
  2758. description: 创建时间
  2759. type: string
  2760. creatorid:
  2761. description: 创建人
  2762. type: integer
  2763. deliverygoodsid:
  2764. description: 现货品种ID
  2765. type: integer
  2766. futurequote:
  2767. description: 期货额度
  2768. type: number
  2769. goodsgroupid:
  2770. description: 期货品种ID
  2771. type: integer
  2772. marketid:
  2773. description: 市场ID
  2774. type: integer
  2775. remark:
  2776. description: 备注
  2777. type: string
  2778. spotquota:
  2779. description: 现货额度
  2780. type: number
  2781. tradedate:
  2782. description: 交易日(yyyyMMdd)
  2783. type: string
  2784. userid:
  2785. description: 所属机构
  2786. type: integer
  2787. required:
  2788. - asapplyid
  2789. type: object
  2790. erms3.AddErms2SpotTradeApplyReq:
  2791. properties:
  2792. applyjsondetail:
  2793. description: 申请明细(JSON)
  2794. type: string
  2795. applystatus:
  2796. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2797. type: integer
  2798. areauserid:
  2799. description: 所属机构
  2800. type: integer
  2801. auditid:
  2802. description: 审核人
  2803. type: integer
  2804. auditremark:
  2805. description: 审核备注
  2806. type: string
  2807. audittime:
  2808. description: 审核时间
  2809. type: string
  2810. createtime:
  2811. description: 创建时间
  2812. type: string
  2813. creatorid:
  2814. description: 创建人
  2815. type: integer
  2816. deliverygoodsid:
  2817. description: 现货品种ID
  2818. type: integer
  2819. futureaccountid:
  2820. description: 期货资金账户
  2821. type: integer
  2822. goodsgroupid:
  2823. description: 期货品种
  2824. type: integer
  2825. marketid:
  2826. description: 市场ID
  2827. type: integer
  2828. remark:
  2829. description: 备注
  2830. type: string
  2831. spotaccountid:
  2832. description: 现货资金账户
  2833. type: integer
  2834. spottradeid:
  2835. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2836. type: integer
  2837. spottradename:
  2838. description: 业务名称
  2839. type: string
  2840. spottradeno:
  2841. description: 业务编号
  2842. type: string
  2843. tradedate:
  2844. description: 交易日(yyyyMMdd)
  2845. type: string
  2846. wrstandardid:
  2847. description: 仓单标准ID
  2848. type: integer
  2849. required:
  2850. - spottradeid
  2851. type: object
  2852. erms3.AddSpotContractApplyReq:
  2853. properties:
  2854. accountid:
  2855. description: 资金账户ID
  2856. type: integer
  2857. areauserid:
  2858. description: 所属机构
  2859. type: integer
  2860. contractattachment:
  2861. description: 合同附件
  2862. type: string
  2863. contractno:
  2864. description: 现货合同编号
  2865. type: string
  2866. contracttype:
  2867. description: 现货合同类型 - 1:采购 -1:销售
  2868. type: integer
  2869. creatorid:
  2870. description: 申请人
  2871. type: integer
  2872. customeraccountid:
  2873. description: 客户资金账户ID
  2874. type: integer
  2875. customeruserid:
  2876. description: 客户ID
  2877. type: integer
  2878. details:
  2879. description: 明细
  2880. items:
  2881. $ref: '#/definitions/erms3.SoptContractDetail'
  2882. type: array
  2883. orimargin:
  2884. description: 初始保证金
  2885. type: number
  2886. remark:
  2887. description: 备注
  2888. type: string
  2889. signdate:
  2890. description: 签订日期
  2891. type: string
  2892. required:
  2893. - accountid
  2894. - areauserid
  2895. - contractno
  2896. - contracttype
  2897. - customeraccountid
  2898. - customeruserid
  2899. - details
  2900. - orimargin
  2901. - signdate
  2902. type: object
  2903. erms3.AddSpotContractApplyRsp:
  2904. properties:
  2905. contractno:
  2906. description: 现货合同编号
  2907. type: string
  2908. spotcontractid:
  2909. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2910. type: integer
  2911. required:
  2912. - contractno
  2913. type: object
  2914. erms3.AddUserInfoApplyReq:
  2915. properties:
  2916. accountid:
  2917. description: 交易系统帐号Id (加密存储)
  2918. type: integer
  2919. areacode:
  2920. description: 机构代码
  2921. type: string
  2922. areaid:
  2923. description: 机构Id
  2924. type: integer
  2925. attachment1:
  2926. description: 附件1
  2927. type: string
  2928. attachment2:
  2929. description: 附件2
  2930. type: string
  2931. attachment3:
  2932. description: 附件3
  2933. type: string
  2934. attachment4:
  2935. description: 附件4
  2936. type: string
  2937. attachment5:
  2938. description: 附件5
  2939. type: string
  2940. auditedby:
  2941. description: 审核人
  2942. type: string
  2943. auditime:
  2944. description: 审核时间
  2945. type: string
  2946. auditsrc:
  2947. description: 审核来源 - 1:管理端 2:终端
  2948. type: integer
  2949. bankaccount:
  2950. description: 银行帐号 (加密存储)
  2951. type: string
  2952. bankaccountname:
  2953. description: 收款人名称
  2954. type: string
  2955. bankcardbackphotourl:
  2956. description: 银行卡背面照地址
  2957. type: string
  2958. bankcardfrontphotourl:
  2959. description: 银行卡正面照地址
  2960. type: string
  2961. bankid:
  2962. description: 银行编码
  2963. type: string
  2964. bankname:
  2965. description: 银行名称
  2966. type: string
  2967. bankpictureurl:
  2968. description: 银行卡正面地址
  2969. type: string
  2970. biznature:
  2971. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2972. type: integer
  2973. bizscope:
  2974. description: 企业经营范围(企业)
  2975. type: string
  2976. biztype:
  2977. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2978. type: integer
  2979. brokerid:
  2980. description: 经纪人ID(加密存储)
  2981. type: string
  2982. cardaddress:
  2983. description: 证件地址 (加密存储)
  2984. type: string
  2985. cardbackphotourl:
  2986. description: 背面证件照地址
  2987. type: string
  2988. cardfrontphotourl:
  2989. description: 正面证件照地址
  2990. type: string
  2991. cardnum:
  2992. description: 证件号码 (加密存储)
  2993. type: string
  2994. cardtype:
  2995. description: 证件类型
  2996. type: integer
  2997. cityid:
  2998. description: 市
  2999. type: integer
  3000. company:
  3001. description: 公司(个人)
  3002. type: string
  3003. contactcardbackphotourl:
  3004. description: 联系人证件背面图片地址
  3005. type: string
  3006. contactcardfrontphotourl:
  3007. description: 联系人证件正面图片地址
  3008. type: string
  3009. contactname:
  3010. description: 联系人
  3011. type: string
  3012. countryid:
  3013. description: 国家
  3014. type: integer
  3015. createtime:
  3016. description: 开户申请时间
  3017. type: string
  3018. cusbankid:
  3019. description: 签约类型
  3020. type: string
  3021. cusbankname:
  3022. description: 签约类型名称
  3023. type: string
  3024. customername:
  3025. description: 客户名称(企业名称)
  3026. type: string
  3027. districtid:
  3028. description: 地区
  3029. type: integer
  3030. email:
  3031. description: Email地址(加密存储)
  3032. type: string
  3033. halfbodyphotourl:
  3034. description: 半身照地址
  3035. type: string
  3036. headurl:
  3037. description: 头像地址
  3038. type: string
  3039. ipaddress:
  3040. description: IP地址
  3041. type: string
  3042. isvalidate:
  3043. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3044. type: string
  3045. legalcardbackphotourl:
  3046. description: 法人身份证背面照地址
  3047. type: string
  3048. legalcardfrontphotourl:
  3049. description: 法人身份证正面照地址
  3050. type: string
  3051. legalpersonname:
  3052. description: 法人姓名(企业)
  3053. type: string
  3054. logincode:
  3055. description: 登录帐号 (加密存储)
  3056. type: string
  3057. memberareaid:
  3058. description: 所属会员ID
  3059. type: integer
  3060. mobile2:
  3061. description: 手机号码[明文-尚志]
  3062. type: string
  3063. mobilephone:
  3064. description: 手机号码 (加密存储)
  3065. type: string
  3066. modifiedby:
  3067. description: 修改人帐号
  3068. type: integer
  3069. modifiedtime:
  3070. description: 修改时间
  3071. type: string
  3072. nickname:
  3073. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3074. type: string
  3075. openmode:
  3076. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3077. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3078. type: integer
  3079. otherurl:
  3080. description: 其它图片地址[使用分号分隔]
  3081. type: string
  3082. postalcode:
  3083. description: 邮政编码
  3084. type: string
  3085. provinceid:
  3086. description: 省
  3087. type: integer
  3088. proxystatementurl:
  3089. description: 授权委托书
  3090. type: string
  3091. qq:
  3092. description: QQ(加密存储
  3093. type: string
  3094. referral:
  3095. description: 推荐人编码
  3096. type: string
  3097. remark:
  3098. description: 备注
  3099. type: string
  3100. removebeforestatus:
  3101. description: REMOVEBEFORESTATUS
  3102. type: integer
  3103. sex:
  3104. description: 性别 - 0:女 1:男
  3105. type: integer
  3106. signedstatus:
  3107. description: 账户一号签签约状态
  3108. type: integer
  3109. signpdfurl:
  3110. description: 签约pdf文件
  3111. type: string
  3112. subbranch:
  3113. description: 开户支行
  3114. type: string
  3115. taxpayernum:
  3116. description: 纳税人识别号
  3117. type: string
  3118. telphone:
  3119. description: 联系电话(加密存储)
  3120. type: string
  3121. userid:
  3122. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3123. type: integer
  3124. userinfotype:
  3125. description: 用户信息类型 - 1:个人 2:企业
  3126. type: integer
  3127. username:
  3128. description: 用户姓名
  3129. type: string
  3130. userstate:
  3131. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3132. type: integer
  3133. usertype:
  3134. description: 用户类型 - 1:投资者 2:机构
  3135. type: integer
  3136. videourl:
  3137. description: 视频地址
  3138. type: string
  3139. wechat:
  3140. description: 微信号 (加密存储)
  3141. type: string
  3142. required:
  3143. - userid
  3144. type: object
  3145. erms3.CustomerInfo:
  3146. properties:
  3147. accountids:
  3148. description: 资金账户ID列表
  3149. items:
  3150. type: integer
  3151. type: array
  3152. customername:
  3153. description: 名称(企业名称)
  3154. type: string
  3155. mobile:
  3156. description: 手机号码
  3157. type: string
  3158. userid:
  3159. description: 用户ID
  3160. type: integer
  3161. required:
  3162. - userid
  3163. type: object
  3164. erms3.ModifyUserInfoApplyReq:
  3165. properties:
  3166. accountid:
  3167. description: 交易系统帐号Id (加密存储)
  3168. type: integer
  3169. areacode:
  3170. description: 机构代码
  3171. type: string
  3172. areaid:
  3173. description: 机构Id
  3174. type: integer
  3175. attachment1:
  3176. description: 附件1
  3177. type: string
  3178. attachment2:
  3179. description: 附件2
  3180. type: string
  3181. attachment3:
  3182. description: 附件3
  3183. type: string
  3184. attachment4:
  3185. description: 附件4
  3186. type: string
  3187. attachment5:
  3188. description: 附件5
  3189. type: string
  3190. auditedby:
  3191. description: 审核人
  3192. type: string
  3193. auditime:
  3194. description: 审核时间
  3195. type: string
  3196. auditsrc:
  3197. description: 审核来源 - 1:管理端 2:终端
  3198. type: integer
  3199. bankaccount:
  3200. description: 银行帐号 (加密存储)
  3201. type: string
  3202. bankaccountname:
  3203. description: 收款人名称
  3204. type: string
  3205. bankcardbackphotourl:
  3206. description: 银行卡背面照地址
  3207. type: string
  3208. bankcardfrontphotourl:
  3209. description: 银行卡正面照地址
  3210. type: string
  3211. bankid:
  3212. description: 银行编码
  3213. type: string
  3214. bankname:
  3215. description: 银行名称
  3216. type: string
  3217. bankpictureurl:
  3218. description: 银行卡正面地址
  3219. type: string
  3220. biznature:
  3221. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3222. type: integer
  3223. bizscope:
  3224. description: 企业经营范围(企业)
  3225. type: string
  3226. biztype:
  3227. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3228. type: integer
  3229. brokerid:
  3230. description: 经纪人ID(加密存储)
  3231. type: string
  3232. cardaddress:
  3233. description: 证件地址 (加密存储)
  3234. type: string
  3235. cardbackphotourl:
  3236. description: 背面证件照地址
  3237. type: string
  3238. cardfrontphotourl:
  3239. description: 正面证件照地址
  3240. type: string
  3241. cardnum:
  3242. description: 证件号码 (加密存储)
  3243. type: string
  3244. cardtype:
  3245. description: 证件类型
  3246. type: integer
  3247. cityid:
  3248. description: 市
  3249. type: integer
  3250. company:
  3251. description: 公司(个人)
  3252. type: string
  3253. contactcardbackphotourl:
  3254. description: 联系人证件背面图片地址
  3255. type: string
  3256. contactcardfrontphotourl:
  3257. description: 联系人证件正面图片地址
  3258. type: string
  3259. contactname:
  3260. description: 联系人
  3261. type: string
  3262. countryid:
  3263. description: 国家
  3264. type: integer
  3265. createtime:
  3266. description: 开户申请时间
  3267. type: string
  3268. cusbankid:
  3269. description: 签约类型
  3270. type: string
  3271. cusbankname:
  3272. description: 签约类型名称
  3273. type: string
  3274. customername:
  3275. description: 客户名称(企业名称)
  3276. type: string
  3277. districtid:
  3278. description: 地区
  3279. type: integer
  3280. email:
  3281. description: Email地址(加密存储)
  3282. type: string
  3283. halfbodyphotourl:
  3284. description: 半身照地址
  3285. type: string
  3286. headurl:
  3287. description: 头像地址
  3288. type: string
  3289. ipaddress:
  3290. description: IP地址
  3291. type: string
  3292. isvalidate:
  3293. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3294. type: string
  3295. legalcardbackphotourl:
  3296. description: 法人身份证背面照地址
  3297. type: string
  3298. legalcardfrontphotourl:
  3299. description: 法人身份证正面照地址
  3300. type: string
  3301. legalpersonname:
  3302. description: 法人姓名(企业)
  3303. type: string
  3304. logincode:
  3305. description: 登录帐号 (加密存储)
  3306. type: string
  3307. memberareaid:
  3308. description: 所属会员ID
  3309. type: integer
  3310. mobile2:
  3311. description: 手机号码[明文-尚志]
  3312. type: string
  3313. mobilephone:
  3314. description: 手机号码 (加密存储)
  3315. type: string
  3316. modifiedby:
  3317. description: 修改人帐号
  3318. type: integer
  3319. modifiedtime:
  3320. description: 修改时间
  3321. type: string
  3322. nickname:
  3323. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3324. type: string
  3325. openmode:
  3326. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3327. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3328. type: integer
  3329. otherurl:
  3330. description: 其它图片地址[使用分号分隔]
  3331. type: string
  3332. postalcode:
  3333. description: 邮政编码
  3334. type: string
  3335. provinceid:
  3336. description: 省
  3337. type: integer
  3338. proxystatementurl:
  3339. description: 授权委托书
  3340. type: string
  3341. qq:
  3342. description: QQ(加密存储
  3343. type: string
  3344. referral:
  3345. description: 推荐人编码
  3346. type: string
  3347. remark:
  3348. description: 备注
  3349. type: string
  3350. removebeforestatus:
  3351. description: REMOVEBEFORESTATUS
  3352. type: integer
  3353. sex:
  3354. description: 性别 - 0:女 1:男
  3355. type: integer
  3356. signedstatus:
  3357. description: 账户一号签签约状态
  3358. type: integer
  3359. signpdfurl:
  3360. description: 签约pdf文件
  3361. type: string
  3362. subbranch:
  3363. description: 开户支行
  3364. type: string
  3365. taxpayernum:
  3366. description: 纳税人识别号
  3367. type: string
  3368. telphone:
  3369. description: 联系电话(加密存储)
  3370. type: string
  3371. userid:
  3372. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3373. type: integer
  3374. userinfotype:
  3375. description: 用户信息类型 - 1:个人 2:企业
  3376. type: integer
  3377. username:
  3378. description: 用户姓名
  3379. type: string
  3380. userstate:
  3381. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3382. type: integer
  3383. usertype:
  3384. description: 用户类型 - 1:投资者 2:机构
  3385. type: integer
  3386. videourl:
  3387. description: 视频地址
  3388. type: string
  3389. wechat:
  3390. description: 微信号 (加密存储)
  3391. type: string
  3392. required:
  3393. - userid
  3394. type: object
  3395. erms3.QryAuditContractRsp:
  3396. properties:
  3397. accountid:
  3398. description: 交易员ID
  3399. type: string
  3400. applystatus:
  3401. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3402. type: integer
  3403. curdeliveryqty:
  3404. description: 未交收量
  3405. type: integer
  3406. customername:
  3407. description: 采购方ID
  3408. type: string
  3409. deliverygoodsid:
  3410. description: 品种ID
  3411. type: string
  3412. deliveryqty:
  3413. description: 交收量
  3414. type: integer
  3415. enumdicname:
  3416. description: 单位名称
  3417. type: string
  3418. matchaccountid:
  3419. description: 业务员ID
  3420. type: string
  3421. matchcustomername:
  3422. description: 销售方ID
  3423. type: string
  3424. pricedqty:
  3425. description: 定价量
  3426. type: number
  3427. signdate:
  3428. description: 签订日期
  3429. type: string
  3430. spotcontractid:
  3431. description: 合同ID
  3432. type: string
  3433. totaldqty:
  3434. description: 合同量
  3435. type: number
  3436. unpricedqty:
  3437. description: 未定价量
  3438. type: number
  3439. wrstandardname:
  3440. description: 商品名称
  3441. type: string
  3442. required:
  3443. - matchcustomername
  3444. - spotcontractid
  3445. type: object
  3446. erms3.QryPendingBizRsp:
  3447. properties:
  3448. accountid:
  3449. description: 现货账户
  3450. type: string
  3451. areaname:
  3452. description: 所属部门
  3453. type: string
  3454. bizid:
  3455. description: 业务ID
  3456. type: string
  3457. bizname:
  3458. description: 业务名称
  3459. type: string
  3460. status:
  3461. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3462. type: integer
  3463. type:
  3464. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3465. type: integer
  3466. type: object
  3467. erms3.QueryBusinessInfoRsp:
  3468. properties:
  3469. businessid:
  3470. description: 业务ID.
  3471. type: integer
  3472. buyamount:
  3473. description: 采购额.
  3474. type: number
  3475. buyqty:
  3476. description: 采购量.
  3477. type: string
  3478. futurepl:
  3479. description: 期货盈亏.
  3480. type: number
  3481. futureqty:
  3482. description: 期货敞口.
  3483. type: string
  3484. goodsid:
  3485. description: 商品名称/商品代码.
  3486. type: string
  3487. hedgingqty:
  3488. description: 套保量.
  3489. type: string
  3490. sellamount:
  3491. description: 销售额.
  3492. type: number
  3493. sellqty:
  3494. description: 销售量.
  3495. type: string
  3496. spotmarketvalue:
  3497. description: 现货市值.
  3498. type: number
  3499. spotpl:
  3500. description: 浮动权益.
  3501. type: number
  3502. spotqty:
  3503. description: 现货量.
  3504. type: string
  3505. statu:
  3506. description: 状态,0-未结束 1-已结束.
  3507. type: integer
  3508. totalpl:
  3509. description: 总盈亏.
  3510. type: number
  3511. totalqty:
  3512. description: 总敞口.
  3513. type: string
  3514. type:
  3515. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3516. type: integer
  3517. type: object
  3518. erms3.QuerySpotContractAppleFormRsp:
  3519. properties:
  3520. goodses:
  3521. description: 合约列表
  3522. items:
  3523. $ref: '#/definitions/models.GoodsIDAndName'
  3524. type: array
  3525. oppositeusers:
  3526. description: 对方账号列表
  3527. items:
  3528. $ref: '#/definitions/erms3.CustomerInfo'
  3529. type: array
  3530. ouruser:
  3531. $ref: '#/definitions/erms3.CustomerInfo'
  3532. description: 我方账号
  3533. warehouseinfos:
  3534. description: 仓库信息列表
  3535. items:
  3536. $ref: '#/definitions/models.Warehouseinfo'
  3537. type: array
  3538. wrstandards:
  3539. description: 仓单标准列表
  3540. items:
  3541. $ref: '#/definitions/models.WRStandardInfo'
  3542. type: array
  3543. type: object
  3544. erms3.QuerySpotContractInfoRsp:
  3545. properties:
  3546. accountid:
  3547. description: 表示交易员ID.
  3548. type: integer
  3549. curdeliveryqty:
  3550. description: 表示未交收量.
  3551. type: number
  3552. customername:
  3553. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3554. type: string
  3555. deliverygoodsid:
  3556. description: 表示品种ID.
  3557. type: string
  3558. deliveryqty:
  3559. description: 表示交收量.
  3560. type: number
  3561. matchaccountid:
  3562. description: 表示业务员ID.
  3563. type: integer
  3564. matchcustomername:
  3565. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3566. type: string
  3567. priceqty:
  3568. description: 表示定价量.
  3569. type: number
  3570. relatedbizid:
  3571. description: 表示业务ID.
  3572. type: string
  3573. signdate:
  3574. description: 表示签订日期.
  3575. type: string
  3576. spotcontractid:
  3577. description: 合同ID
  3578. type: string
  3579. status:
  3580. description: 表示状态,0-履约中 1-已完成.
  3581. type: integer
  3582. totalqty:
  3583. description: 表示合同量.
  3584. type: number
  3585. unpricedqty:
  3586. description: 表示未定价量.
  3587. type: number
  3588. wrstandardname:
  3589. description: 表示商品ID.
  3590. type: string
  3591. type: object
  3592. erms3.QueryUserInfoAppliesRsp:
  3593. properties:
  3594. biznature:
  3595. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3596. type: integer
  3597. contactname:
  3598. description: 联系人
  3599. type: string
  3600. createtime:
  3601. description: 开户申请时间
  3602. type: string
  3603. userid:
  3604. description: 用户ID(自增ID)
  3605. type: integer
  3606. userinfotype:
  3607. description: 用户信息类型 - 1:个人 2:企业
  3608. type: integer
  3609. username:
  3610. description: 用户姓名
  3611. type: string
  3612. userstate:
  3613. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3614. type: integer
  3615. required:
  3616. - userid
  3617. type: object
  3618. erms3.QueryUserInfosRsp:
  3619. properties:
  3620. biznature:
  3621. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3622. type: integer
  3623. contactname:
  3624. description: 联系人
  3625. type: string
  3626. customername:
  3627. description: 客户名称(企业名称)
  3628. type: string
  3629. userid:
  3630. description: 用户ID
  3631. type: integer
  3632. userinfotype:
  3633. description: 用户信息类型 - 1:个人 2:企业
  3634. type: integer
  3635. userstatus:
  3636. description: 用户状态 - 1:正常 2:注销
  3637. type: integer
  3638. required:
  3639. - userid
  3640. type: object
  3641. erms3.SoptContractDetail:
  3642. properties:
  3643. deliverygoodsdesc:
  3644. description: 现货品种说明
  3645. type: string
  3646. deliverygoodsid:
  3647. description: 现货品种ID
  3648. type: integer
  3649. deliverygoodsname:
  3650. description: 现货品种名称
  3651. type: string
  3652. pointdesc:
  3653. description: 点价描述
  3654. type: string
  3655. producttype:
  3656. description: 产品类型 1:标准仓单 2:等标 3:非标
  3657. type: integer
  3658. producttypename:
  3659. description: 产品类型名称
  3660. type: string
  3661. spotPointOrderVoList:
  3662. description: 点价列表
  3663. items:
  3664. $ref: '#/definitions/erms3.SpotPointOrder'
  3665. type: array
  3666. spotPriceOrderList:
  3667. description: 定价列表
  3668. items:
  3669. $ref: '#/definitions/erms3.SpotPriceOrder'
  3670. type: array
  3671. unitname:
  3672. description: 单位名称
  3673. type: string
  3674. warehouseid:
  3675. description: 仓库ID
  3676. type: integer
  3677. warehousename:
  3678. description: 仓库名称
  3679. type: string
  3680. wrstandardid:
  3681. description: 交易标的ID
  3682. type: integer
  3683. wrstandardname:
  3684. description: 交易标的名称
  3685. type: string
  3686. required:
  3687. - deliverygoodsid
  3688. - producttype
  3689. - unitname
  3690. - warehouseid
  3691. - wrstandardid
  3692. - wrstandardname
  3693. type: object
  3694. erms3.SpotPointOrder:
  3695. properties:
  3696. basic:
  3697. description: 基差
  3698. type: number
  3699. deliveryenddate:
  3700. description: 交收结束日期
  3701. type: string
  3702. deliverystartdate:
  3703. description: 交收开始日期
  3704. type: string
  3705. enddate:
  3706. description: 点价结束日期
  3707. type: string
  3708. goodsid:
  3709. description: 商品ID
  3710. type: integer
  3711. goodsname:
  3712. description: 商品名称
  3713. type: string
  3714. qty:
  3715. description: 数量
  3716. type: number
  3717. startdate:
  3718. description: 点价开始日期
  3719. type: string
  3720. required:
  3721. - basic
  3722. - goodsid
  3723. - qty
  3724. type: object
  3725. erms3.SpotPriceOrder:
  3726. properties:
  3727. amount:
  3728. description: 金额
  3729. type: number
  3730. deliveryenddate:
  3731. description: 交收结束日期
  3732. type: string
  3733. deliverystartdate:
  3734. description: 交收开始日期
  3735. type: string
  3736. price:
  3737. description: 价格
  3738. type: number
  3739. qty:
  3740. description: 数量
  3741. type: number
  3742. required:
  3743. - amount
  3744. - price
  3745. - qty
  3746. type: object
  3747. hsby.GetHsbyMyCountRsp:
  3748. properties:
  3749. myCouponCount:
  3750. description: 我的优惠卷数量
  3751. type: integer
  3752. myOrderDetailListingCount:
  3753. description: 我的订单求购中数量
  3754. type: integer
  3755. myOrderDetailPreCount:
  3756. description: 我的订单抢购中数量
  3757. type: integer
  3758. myPackageUnReceiveCount:
  3759. description: 我的包裹待收货数量
  3760. type: integer
  3761. myPackageUnSendCount:
  3762. description: 我的包裹待发货数量
  3763. type: integer
  3764. myPayOrderCount:
  3765. description: 我的订单待付款数量
  3766. type: integer
  3767. type: object
  3768. hsby.QueryProvincesAndCitiesRsp:
  3769. properties:
  3770. cities:
  3771. description: 市
  3772. items:
  3773. $ref: '#/definitions/models.Division'
  3774. type: array
  3775. province:
  3776. $ref: '#/definitions/models.Division'
  3777. description: 省
  3778. type: object
  3779. models.Arearole:
  3780. properties:
  3781. createtime:
  3782. description: 创建时间
  3783. type: string
  3784. creatorid:
  3785. description: 创建人ID
  3786. type: integer
  3787. fromuserid:
  3788. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3789. type: integer
  3790. isreturnscore:
  3791. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3792. type: integer
  3793. modifierid:
  3794. description: 修改人ID
  3795. type: integer
  3796. modifytime:
  3797. description: 修改时间
  3798. type: string
  3799. orgtype:
  3800. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3801. type: integer
  3802. outuserid:
  3803. description: 外部账户[场外期权做市商]
  3804. type: string
  3805. parentuserid:
  3806. description: 上级组织机构(组织机构)
  3807. type: integer
  3808. roletype:
  3809. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3810. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3811. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3812. type: integer
  3813. rootuserid:
  3814. description: 顶级组织机构用户ID(组织机构)
  3815. type: integer
  3816. shoppassword:
  3817. description: 商城店铺登陆密码(商城店铺角色使用)
  3818. type: string
  3819. sublevelpath:
  3820. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3821. type: string
  3822. suborgtype:
  3823. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3824. type: integer
  3825. tradeaccountid:
  3826. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3827. type: integer
  3828. transurl:
  3829. description: 物流地址(物流机构)
  3830. type: string
  3831. userid:
  3832. description: 机构用户ID其他做市关系,都设置为 1
  3833. type: integer
  3834. required:
  3835. - roletype
  3836. - userid
  3837. type: object
  3838. models.Clientfixedadconfig:
  3839. properties:
  3840. adsort:
  3841. description: 排序
  3842. type: integer
  3843. adtype:
  3844. description: 广告位类型 - 1:新品抢购(HSBY)
  3845. type: integer
  3846. areauserid:
  3847. description: 所属机构ID
  3848. type: integer
  3849. createdate:
  3850. description: 创建时间
  3851. type: string
  3852. creatorid:
  3853. description: 创建人
  3854. type: integer
  3855. imagepath:
  3856. description: 图片
  3857. type: string
  3858. isshow:
  3859. description: 是否展示 - 0:不展示 1:展示
  3860. type: integer
  3861. modifierid:
  3862. description: 操作人
  3863. type: integer
  3864. recsize:
  3865. description: 推荐尺寸
  3866. type: string
  3867. title:
  3868. description: 标题
  3869. type: string
  3870. updatedate:
  3871. description: 更新时间
  3872. type: string
  3873. urlcontent:
  3874. description: 链接(地址或商品ID)
  3875. type: string
  3876. urltype:
  3877. description: 链接类型 - 1:直接地址 2:商品ID
  3878. type: integer
  3879. required:
  3880. - adsort
  3881. - adtype
  3882. type: object
  3883. models.DgFactoryItem:
  3884. properties:
  3885. dgfactoryitemid:
  3886. description: 选择项ID(SEQ_DGFACTORYITEM)
  3887. type: integer
  3888. dgfactoryitemtypeid:
  3889. description: 要素项类型
  3890. type: integer
  3891. dgfactoryitemvalue:
  3892. description: 要素项值(类型为仓库时填写仓库名称)
  3893. type: string
  3894. orderindex:
  3895. description: 顺序
  3896. type: integer
  3897. type: object
  3898. models.Division:
  3899. properties:
  3900. autoid:
  3901. description: 自增ID
  3902. type: integer
  3903. divisioncode:
  3904. description: 行政代码
  3905. type: string
  3906. divisionlevel:
  3907. description: 行政级别
  3908. type: string
  3909. divisionname:
  3910. description: 行政名称
  3911. type: string
  3912. modifierid:
  3913. description: 修改人
  3914. type: integer
  3915. modifytime:
  3916. description: 修改时间
  3917. type: string
  3918. parentcode:
  3919. description: 上级行政代码
  3920. type: string
  3921. pathname:
  3922. description: 路径名称
  3923. type: string
  3924. postcode:
  3925. description: 邮政编码
  3926. type: string
  3927. separablename:
  3928. description: 可拆分的全称
  3929. type: string
  3930. shortcode:
  3931. description: 地区简码
  3932. type: string
  3933. required:
  3934. - autoid
  3935. - divisioncode
  3936. type: object
  3937. models.Enumdicitem:
  3938. properties:
  3939. autoid:
  3940. description: 自增ID
  3941. type: integer
  3942. bankmappedvalue:
  3943. description: 银行服务对应值
  3944. type: string
  3945. enumdiccode:
  3946. description: 所属枚举代码
  3947. type: string
  3948. enumdicid:
  3949. description: 所属枚举ID
  3950. type: integer
  3951. enumdicname:
  3952. description: 枚举项名称
  3953. type: string
  3954. enumitemname:
  3955. description: 枚举项值
  3956. type: integer
  3957. enumitemstatus:
  3958. description: 枚举项状态 - 1.启用 2.不启用
  3959. type: integer
  3960. enumitemvalue:
  3961. description: 通用值 - [币种通用简写]
  3962. type: string
  3963. param1:
  3964. description: 参数1[币种:币种小数位]
  3965. type: string
  3966. param2:
  3967. description: 参数1[币种:币种显示单位]
  3968. type: string
  3969. remark:
  3970. description: 备注
  3971. type: string
  3972. required:
  3973. - autoid
  3974. - enumdiccode
  3975. - enumdicid
  3976. - enumitemname
  3977. type: object
  3978. models.Ermcp2AreaExposure:
  3979. properties:
  3980. areauserid:
  3981. description: 所属机构
  3982. type: integer
  3983. enumdicname:
  3984. description: 单位
  3985. type: string
  3986. futureqty:
  3987. description: 期货套期量
  3988. type: number
  3989. futureqtychange:
  3990. description: 期货变动量 = FutureQty - OriFutureQty
  3991. type: number
  3992. goodsunitid:
  3993. description: 单位ID
  3994. type: integer
  3995. hedgedspotexposure:
  3996. description: 被套期现货敞口量
  3997. type: number
  3998. hedgedspratio:
  3999. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4000. type: number
  4001. hedgedtotalexposourechange:
  4002. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4003. type: number
  4004. hedgedtotalexposure:
  4005. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4006. type: number
  4007. hedgeplanqty:
  4008. description: 套期计划量
  4009. type: number
  4010. hedgeplanqtychange:
  4011. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4012. type: number
  4013. hedgespotqty:
  4014. description: 被套期现货量
  4015. type: number
  4016. middlegoodsid:
  4017. description: 套保品种
  4018. type: integer
  4019. middlegoodsname:
  4020. description: 套保品种名称
  4021. type: string
  4022. orifutureqty:
  4023. description: 期初期货套期量
  4024. type: number
  4025. orihedgedspotexposure:
  4026. description: 期初被套期现货敞口量
  4027. type: number
  4028. orihedgedtotalexposure:
  4029. description: 期初套期敞口量
  4030. type: number
  4031. orihedgeplanqty:
  4032. description: 期初套期计划量
  4033. type: number
  4034. orihedgespotqty:
  4035. description: 期初被套期现货量
  4036. type: number
  4037. orispotexposure:
  4038. description: 期初现货敞口量
  4039. type: number
  4040. orispotqty:
  4041. description: 期初现货总量
  4042. type: number
  4043. oritotalexposure:
  4044. description: 期初总敞口量
  4045. type: number
  4046. spotexposure:
  4047. description: 现货敞口量
  4048. type: number
  4049. spotqty:
  4050. description: 现货总量
  4051. type: number
  4052. spotqtychange:
  4053. description: 现货变动量 = SpotQty - OriSpotQty
  4054. type: number
  4055. spratio:
  4056. description: 总期现比例 = 期货套期量/现货敞口量
  4057. type: number
  4058. totalexposure:
  4059. description: 总敞口量 = 现货敞口量 + 期货套期量
  4060. type: number
  4061. totalexposurechange:
  4062. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4063. type: number
  4064. updatetime:
  4065. description: 更新时间 --DATE
  4066. type: string
  4067. type: object
  4068. models.Ermcp2hedgeditem:
  4069. properties:
  4070. accountname:
  4071. description: 套期主体
  4072. type: string
  4073. applyid:
  4074. description: 申请人
  4075. type: integer
  4076. applysrc:
  4077. description: 申请来源 - 1:管理端 2:终端
  4078. type: integer
  4079. areauserid:
  4080. description: 企业ID
  4081. type: integer
  4082. auditid:
  4083. description: 审核人
  4084. type: integer
  4085. auditremark:
  4086. description: 审核备注
  4087. type: string
  4088. auditsrc:
  4089. description: 审核来源 - 1:管理端 2:终端
  4090. type: integer
  4091. audittime:
  4092. description: 审核时间
  4093. type: string
  4094. audittradedate:
  4095. description: 审核交易日(yyyyMMdd)
  4096. type: string
  4097. createtime:
  4098. description: 申请时间
  4099. type: string
  4100. curprice:
  4101. description: 当前市场价
  4102. type: number
  4103. curstock:
  4104. description: 期末库存量 = 采购总量 - 销售总量
  4105. type: number
  4106. deliverygoodsid:
  4107. description: 现货品种ID
  4108. type: integer
  4109. enddate:
  4110. description: 完成日期
  4111. type: string
  4112. endtradedate:
  4113. description: 完成交易日
  4114. type: string
  4115. enumdicname:
  4116. description: 单位
  4117. type: string
  4118. exeamount:
  4119. description: 执行市价总额
  4120. type: number
  4121. exeavgprice:
  4122. description: 执行市场均价= 执行市价总额 / 执行现货量
  4123. type: number
  4124. execontractamount:
  4125. description: 执行定价总额
  4126. type: number
  4127. exeqty:
  4128. description: 执行现货量
  4129. type: number
  4130. exerestamount:
  4131. description: 执行剩余市价总额【现货贸易】
  4132. type: number
  4133. futurefloatpl:
  4134. description: 期货浮动损益
  4135. type: number
  4136. futurehedgepl:
  4137. description: 期货实际损益
  4138. type: number
  4139. futurehedgeplchange:
  4140. description: 期货实际损益变动
  4141. type: number
  4142. futurepl:
  4143. description: 期货套期损益
  4144. type: number
  4145. futureplchange:
  4146. description: 期货套期损益变动
  4147. type: number
  4148. hedgeamount:
  4149. description: 套期市价总额
  4150. type: number
  4151. hedgecontractamount:
  4152. description: 套期定价总额 【定价采购合同】【现货贸易】
  4153. type: number
  4154. hedgeditemid:
  4155. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4156. type: string
  4157. hedgeditemname:
  4158. description: 项目名称
  4159. type: string
  4160. hedgeditemnum:
  4161. description: 项目编号
  4162. type: string
  4163. hedgeditemstatus:
  4164. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4165. type: integer
  4166. hedgedtype:
  4167. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4168. type: integer
  4169. hedgeqty:
  4170. description: 套期现货量
  4171. type: number
  4172. hedgerate:
  4173. description: 套保比率
  4174. type: number
  4175. hedgerestamount:
  4176. description: 套期剩余市价总额【现货贸易】
  4177. type: number
  4178. hedgesumpl:
  4179. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4180. type: number
  4181. middlegoodslist:
  4182. description: 套期商品列表
  4183. items:
  4184. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4185. type: array
  4186. oriavgprice:
  4187. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4188. type: number
  4189. orifuturehedgepl:
  4190. description: 期初期货实际损益
  4191. type: number
  4192. orifuturepl:
  4193. description: 期初期货套期损益
  4194. type: number
  4195. orispothedgepl:
  4196. description: 期初现货实际损益
  4197. type: number
  4198. orispotpl:
  4199. description: 期初现货套期损益
  4200. type: number
  4201. planenddate:
  4202. description: 计划结束日期
  4203. type: string
  4204. planstartdate:
  4205. description: 计划开始日期
  4206. type: string
  4207. remark:
  4208. description: 备注
  4209. type: string
  4210. spotbookamount:
  4211. description: 现货账面总额
  4212. type: number
  4213. spotfloatpl:
  4214. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4215. type: number
  4216. spothedgepl:
  4217. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4218. type: number
  4219. spothedgeplchange:
  4220. description: 现货实际损益变动
  4221. type: number
  4222. spotpl:
  4223. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4224. type: number
  4225. spotplchange:
  4226. description: 现货套期损益变动
  4227. type: number
  4228. spottradepl:
  4229. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4230. type: number
  4231. sumobspl:
  4232. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4233. type: number
  4234. tradeuserid:
  4235. description: 交易用户ID
  4236. type: integer
  4237. unexeqty:
  4238. description: 未执行现货量 = 套期现货量 - 执行现货量
  4239. type: number
  4240. updatetime:
  4241. description: 更新时间
  4242. type: string
  4243. vatpl:
  4244. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4245. type: number
  4246. vatrate:
  4247. description: 增值税
  4248. type: number
  4249. wrstandardid:
  4250. description: 现货商品ID
  4251. type: integer
  4252. wrstandardname:
  4253. description: 商品名称
  4254. type: string
  4255. type: object
  4256. models.Ermcp2hedgeditemlink:
  4257. properties:
  4258. areauserid:
  4259. description: 企业ID
  4260. type: integer
  4261. createtime:
  4262. description: '[关联时间]创建时间'
  4263. type: string
  4264. customeruserid:
  4265. description: 对手方 【3:采购合同 4:销售合同】
  4266. type: integer
  4267. deliverygoodsid:
  4268. description: 现货品种ID
  4269. type: integer
  4270. enumdicname:
  4271. description: 单位
  4272. type: string
  4273. hedgeditemid:
  4274. description: 被套期项目ID
  4275. type: integer
  4276. hedgeditemlinkid:
  4277. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4278. type: integer
  4279. hedgeditemnum:
  4280. description: 项目编号
  4281. type: string
  4282. hedgedtype:
  4283. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4284. type: integer
  4285. relatedamount:
  4286. description: 市价总额 = 关联数量 * 期初市场价
  4287. type: number
  4288. relatedhedgeplanid:
  4289. description: 关联计划ID 【1:采购计划 2:销售计划】
  4290. type: integer
  4291. relatedqty:
  4292. description: 关联数量
  4293. type: number
  4294. relatedspotcontractid:
  4295. description: 关联合同ID 【3:采购合同 4:销售合同】
  4296. type: integer
  4297. relatedtype:
  4298. description: 关联类型 - 1:套期关联 2:执行关联
  4299. type: integer
  4300. spotgoodsbrandid:
  4301. description: 现货品牌ID
  4302. type: integer
  4303. spotpricedamount:
  4304. description: '[关联定价总额]定价总额'
  4305. type: number
  4306. spotpricedavgprice:
  4307. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4308. type: number
  4309. spottype:
  4310. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4311. type: integer
  4312. tradeuserid:
  4313. description: 交易用户ID
  4314. type: integer
  4315. unexeqty:
  4316. description: 未执行现货量【项目关联时值】
  4317. type: number
  4318. wrstandardid:
  4319. description: 现货商品ID
  4320. type: integer
  4321. wrstandardname:
  4322. description: 现货商品
  4323. type: string
  4324. required:
  4325. - relatedspotcontractid
  4326. type: object
  4327. models.Ermcp2hedgeditemsDetail:
  4328. properties:
  4329. accountname:
  4330. description: 套期主体
  4331. type: string
  4332. areauserid:
  4333. description: 企业ID
  4334. type: integer
  4335. createtime:
  4336. description: '[日期时间]创建时间'
  4337. type: string
  4338. customeruserid:
  4339. description: 对手方 【3:采购合同 4:销售合同】
  4340. type: integer
  4341. deliverygoodsid:
  4342. description: 现货品种ID
  4343. type: integer
  4344. enumdicname:
  4345. description: 单位
  4346. type: string
  4347. hedgeditemid:
  4348. description: 被套期项目ID
  4349. type: string
  4350. hedgeditemspotid:
  4351. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4352. type: string
  4353. hedgedtype:
  4354. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4355. type: integer
  4356. hedgeplanno:
  4357. description: 计划编号
  4358. type: string
  4359. middlegoodschange:
  4360. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4361. type: number
  4362. oriavgprice:
  4363. description: 期初市场价[当初市场价]
  4364. type: number
  4365. relatedamount:
  4366. description: 市价总额 = 关联数量 * 期初市场价
  4367. type: number
  4368. relatedhedgeplanid:
  4369. description: 关联计划ID 【1:采购计划 2:销售计划】
  4370. type: integer
  4371. relatedqty:
  4372. description: '[期间变化量]关联数量'
  4373. type: number
  4374. relatedspotcontractid:
  4375. description: 关联合同ID 【3:采购合同 4:销售合同】
  4376. type: integer
  4377. relatedtype:
  4378. description: 关联类型 - 1:套期关联 2:执行关联
  4379. type: integer
  4380. spotgoodsbrandid:
  4381. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4382. type: integer
  4383. spotpricedamount:
  4384. description: 定价总额
  4385. type: number
  4386. spotpricedavgprice:
  4387. description: 现货均价 = 定价总额 / 关联数量
  4388. type: number
  4389. spottype:
  4390. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4391. type: integer
  4392. tradeuserid:
  4393. description: 交易用户ID
  4394. type: integer
  4395. unexeqty:
  4396. description: 未执行现货量 = 套期现货量 - 执行现货量
  4397. type: number
  4398. wrstandardid:
  4399. description: 现货商品ID
  4400. type: integer
  4401. wrstandardname:
  4402. description: 现货商品
  4403. type: string
  4404. type: object
  4405. models.Ermcp2hedgeditemspot:
  4406. properties:
  4407. areauserid:
  4408. description: 企业ID
  4409. type: integer
  4410. createtime:
  4411. description: 创建时间
  4412. type: string
  4413. customeruserid:
  4414. description: 对手方 【3:采购合同 4:销售合同】
  4415. type: integer
  4416. deliverygoodsid:
  4417. description: 现货品种ID
  4418. type: integer
  4419. enumdicname:
  4420. description: 单位
  4421. type: string
  4422. hedgeditemid:
  4423. description: 被套期项目ID
  4424. type: string
  4425. hedgeditemspotid:
  4426. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4427. type: string
  4428. hedgedtype:
  4429. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4430. type: integer
  4431. hedgeplanno:
  4432. description: 计划编号
  4433. type: string
  4434. oriavgprice:
  4435. description: 期初市场价[当初市场价]
  4436. type: number
  4437. relatedamount:
  4438. description: 市价总额 = 关联数量 * 期初市场价
  4439. type: number
  4440. relatedhedgeplanid:
  4441. description: 关联计划ID 【1:采购计划 2:销售计划】
  4442. type: integer
  4443. relatedqty:
  4444. description: 关联数量[数量]
  4445. type: number
  4446. relatedspotcontractid:
  4447. description: 关联合同ID 【3:采购合同 4:销售合同】
  4448. type: integer
  4449. relatedtype:
  4450. description: 关联类型 - 1:套期关联 2:执行关联
  4451. type: integer
  4452. spotgoodsbrandid:
  4453. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4454. type: integer
  4455. spotpricedamount:
  4456. description: 定价总额
  4457. type: number
  4458. spotpricedavgprice:
  4459. description: 现货均价 = 定价总额 / 关联数量
  4460. type: number
  4461. spottype:
  4462. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4463. type: integer
  4464. tradeuserid:
  4465. description: 交易用户ID
  4466. type: integer
  4467. wrstandardid:
  4468. description: 现货商品ID
  4469. type: integer
  4470. wrstandardname:
  4471. description: 现货商品
  4472. type: string
  4473. required:
  4474. - hedgeditemid
  4475. type: object
  4476. models.Ermcp2hedgeditemspotDetail:
  4477. properties:
  4478. accountname:
  4479. description: 对手方
  4480. type: string
  4481. areauserid:
  4482. description: 企业ID
  4483. type: integer
  4484. brandname:
  4485. description: 品牌
  4486. type: string
  4487. contractno:
  4488. description: 合同编号
  4489. type: string
  4490. createtime:
  4491. description: 创建时间
  4492. type: string
  4493. customeruserid:
  4494. description: 对手方 【3:采购合同 4:销售合同】
  4495. type: integer
  4496. deliverygoodsid:
  4497. description: 现货品种ID
  4498. type: integer
  4499. enumdicname:
  4500. description: 单位
  4501. type: string
  4502. hedgeditemid:
  4503. description: 被套期项目ID
  4504. type: string
  4505. hedgeditemspotid:
  4506. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4507. type: string
  4508. hedgedtype:
  4509. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4510. type: integer
  4511. oriavgprice:
  4512. description: 期初市场价[当初市场价]
  4513. type: number
  4514. relatedamount:
  4515. description: 市价总额 = 关联数量 * 期初市场价
  4516. type: number
  4517. relatedhedgeplanid:
  4518. description: 关联计划ID 【1:采购计划 2:销售计划】
  4519. type: integer
  4520. relatedqty:
  4521. description: 关联数量[数量]
  4522. type: number
  4523. relatedspotcontractid:
  4524. description: 关联合同ID 【3:采购合同 4:销售合同】
  4525. type: integer
  4526. relatedtype:
  4527. description: 关联类型 - 1:套期关联 2:执行关联
  4528. type: integer
  4529. spotgoodsbrandid:
  4530. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4531. type: integer
  4532. spotpricedamount:
  4533. description: 定价总额[金额]
  4534. type: number
  4535. spotpricedavgprice:
  4536. description: 现货均价 = 定价总额 / 关联数量
  4537. type: number
  4538. spottype:
  4539. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4540. type: integer
  4541. tradeuserid:
  4542. description: 交易用户ID
  4543. type: integer
  4544. wrstandardid:
  4545. description: 现货商品ID
  4546. type: integer
  4547. wrstandardname:
  4548. description: 现货商品
  4549. type: string
  4550. required:
  4551. - hedgeditemid
  4552. type: object
  4553. models.Ermcp2himiddlegoods:
  4554. properties:
  4555. futurehedgeqty:
  4556. description: 期货持仓套期量
  4557. type: number
  4558. hedgeditemid:
  4559. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4560. type: integer
  4561. hiexpsoure:
  4562. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4563. type: number
  4564. middlegoodscode:
  4565. description: 套保商品代码
  4566. type: string
  4567. middlegoodsid:
  4568. description: 套保品种ID
  4569. type: integer
  4570. middlegoodsname:
  4571. description: 套保商品名称
  4572. type: string
  4573. unexehedgeqty:
  4574. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4575. type: number
  4576. required:
  4577. - hedgeditemid
  4578. - middlegoodsid
  4579. type: object
  4580. models.Ermcp2stockspotchangelog:
  4581. properties:
  4582. accountname:
  4583. description: 套期主体
  4584. type: string
  4585. aftervalue:
  4586. description: 现货量
  4587. type: number
  4588. beforevalue:
  4589. description: 变更前现货量
  4590. type: number
  4591. contractno:
  4592. description: '[编号]现货合同编号'
  4593. type: string
  4594. contracttype:
  4595. description: 现货合同类型 - 1:采购 -1:销售
  4596. type: integer
  4597. createtime:
  4598. description: 创建时间
  4599. type: string
  4600. customerusername:
  4601. description: 对手方
  4602. type: string
  4603. deliverygoodsid:
  4604. description: 现货品种ID
  4605. type: integer
  4606. exetype:
  4607. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4608. type: integer
  4609. logid:
  4610. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4611. type: string
  4612. logvalue:
  4613. description: '[期间变化量]现货量变更值'
  4614. type: number
  4615. middlegoodschange:
  4616. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4617. type: number
  4618. operatelogtype:
  4619. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4620. 27:生产出库
  4621. type: integer
  4622. relatedid:
  4623. description: 现货合同ID
  4624. type: integer
  4625. spotgoodsbrandid:
  4626. description: 现货品牌ID
  4627. type: integer
  4628. tradedate:
  4629. description: 交易日(yyyyMMdd)
  4630. type: string
  4631. userid:
  4632. description: 机构ID
  4633. type: integer
  4634. warehouseinfoid:
  4635. description: 仓库ID
  4636. type: integer
  4637. wrfactortypeid:
  4638. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4639. type: integer
  4640. wrstandardid:
  4641. description: 现货商品ID
  4642. type: integer
  4643. wrstandardname:
  4644. description: 商品名称
  4645. type: string
  4646. type: object
  4647. models.Ermcp3AreaSpot:
  4648. properties:
  4649. areauserid:
  4650. description: 所属机构
  4651. type: integer
  4652. convertratio:
  4653. description: 套保系数
  4654. type: number
  4655. decreaseqty:
  4656. description: 减少数量=-(销售已定价数量+采购计划数量)
  4657. type: number
  4658. enumdicname:
  4659. description: 单位名称
  4660. type: string
  4661. increaseqty:
  4662. description: 增加数量=销售计划数量+采购已定价数量
  4663. type: number
  4664. oritoalspotqty:
  4665. description: 昨日数量
  4666. type: number
  4667. totalspotqty:
  4668. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4669. type: number
  4670. unitid:
  4671. description: 现货商品单位id
  4672. type: integer
  4673. updatetime:
  4674. description: 更新时间
  4675. type: string
  4676. wrstandardcode:
  4677. description: 现货商品代码
  4678. type: string
  4679. wrstandardid:
  4680. description: 现货商品ID(SEQ_WRSTANDARD)
  4681. type: integer
  4682. wrstandardname:
  4683. description: 现货商品名称
  4684. type: string
  4685. type: object
  4686. models.Ermcp3AreaSpotDetail:
  4687. properties:
  4688. contracttype:
  4689. description: 合同类型 1-采购 -1-销售
  4690. type: integer
  4691. createtime:
  4692. description: 创建时间
  4693. type: string
  4694. enumdicname:
  4695. description: 现货商品单位名称
  4696. type: string
  4697. logtype:
  4698. description: 记录类型 1-套保 2-现货合同
  4699. type: integer
  4700. qty:
  4701. description: 数量
  4702. type: number
  4703. recordname:
  4704. description: 类型名称
  4705. type: string
  4706. relatedid:
  4707. description: 套保计划ID/现货合同ID
  4708. type: string
  4709. relatedno:
  4710. description: 编号
  4711. type: string
  4712. strtime:
  4713. description: 时间
  4714. type: string
  4715. wrstandardcode:
  4716. description: 现货商品代码
  4717. type: string
  4718. wrstandardid:
  4719. description: 现货商品ID(SEQ_WRSTANDARD)
  4720. type: integer
  4721. wrstandardname:
  4722. description: 现货商品名称
  4723. type: string
  4724. type: object
  4725. models.Ermcp3AreaSpotPLReport:
  4726. properties:
  4727. accountid:
  4728. description: 期货账户ID (作废, 默认为0)
  4729. type: integer
  4730. accountname:
  4731. description: 机构名称
  4732. type: string
  4733. actualpl:
  4734. description: 现货损益
  4735. type: number
  4736. areauserid:
  4737. description: 所属机构\交易用户ID
  4738. type: integer
  4739. begindate:
  4740. description: 开始交易日
  4741. type: string
  4742. biztype:
  4743. description: 业务类型 - 1:套保 2:套利
  4744. type: integer
  4745. brandname:
  4746. description: 品牌名称
  4747. type: string
  4748. curamount:
  4749. description: 期末额
  4750. type: number
  4751. curaverageprice:
  4752. description: 期末均价
  4753. type: number
  4754. curbuyamount:
  4755. description: 期末采购总额
  4756. type: number
  4757. curbuyqty:
  4758. description: 期末采购总量
  4759. type: number
  4760. curmarketvalue:
  4761. description: 参考市值(期末市值)
  4762. type: number
  4763. curqty:
  4764. description: 期末量
  4765. type: number
  4766. currencyid:
  4767. description: 结算币种ID【原值】
  4768. type: integer
  4769. currencyname:
  4770. description: 币种名称
  4771. type: string
  4772. cursellamount:
  4773. description: 期末销售总额
  4774. type: number
  4775. cursellqty:
  4776. description: 期末销售总量
  4777. type: number
  4778. curspotprice:
  4779. description: 参考市价(最新价)
  4780. type: number
  4781. cycletime:
  4782. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4783. type: string
  4784. cycletype:
  4785. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4786. type: integer
  4787. deliverygoodscode:
  4788. description: 现货品种代码
  4789. type: string
  4790. deliverygoodsid:
  4791. description: 现货品种ID
  4792. type: integer
  4793. deliverygoodsname:
  4794. description: 现货品种名称
  4795. type: string
  4796. enddate:
  4797. description: 结束交易日
  4798. type: string
  4799. enumdicname:
  4800. description: 现货品种单位名称(作废)
  4801. type: string
  4802. floatpl:
  4803. description: 浮动损益
  4804. type: number
  4805. goodsunitid:
  4806. description: 现货品种单位id(作废)
  4807. type: integer
  4808. oriamount:
  4809. description: 期初额
  4810. type: number
  4811. oriaverageprice:
  4812. description: 期初均价
  4813. type: number
  4814. oribuyamount:
  4815. description: 期初采购总额
  4816. type: number
  4817. oribuyqty:
  4818. description: 期初采购总量
  4819. type: number
  4820. oriqty:
  4821. description: 期初量
  4822. type: number
  4823. orisellamount:
  4824. description: 期初销售总额
  4825. type: number
  4826. orisellqty:
  4827. description: 期初销售总量
  4828. type: number
  4829. reckondate:
  4830. description: 日照时期(yyyyMMdd)
  4831. type: string
  4832. spotgoodsbrandid:
  4833. description: 现货品牌ID
  4834. type: integer
  4835. todaybuyamount:
  4836. description: 今日采购额(今采购额)
  4837. type: number
  4838. todaybuyaverageprice:
  4839. description: 今日采购均价
  4840. type: number
  4841. todaybuyqty:
  4842. description: 今日采购量(今采购量)
  4843. type: number
  4844. todayinqty:
  4845. description: 今日入库量(今入库量)
  4846. type: number
  4847. todayoutqty:
  4848. description: 今日出库量(今出库量)
  4849. type: number
  4850. todaysellamount:
  4851. description: 今日销售额(今销售额)
  4852. type: number
  4853. todaysellaverageprice:
  4854. description: 今日销售均价
  4855. type: number
  4856. todaysellqty:
  4857. description: 今日销售量(今销售量)
  4858. type: number
  4859. unitid:
  4860. description: 品类单位id
  4861. type: integer
  4862. unitidname:
  4863. description: 品类单位名称
  4864. type: string
  4865. updatetime:
  4866. description: 更新时间
  4867. type: string
  4868. wrfactortypeid:
  4869. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4870. type: integer
  4871. wrstandardcode:
  4872. description: 现货商品(品类)代码
  4873. type: string
  4874. wrstandardid:
  4875. description: 现货品类ID
  4876. type: integer
  4877. wrstandardname:
  4878. description: 现货商品(品类)名称
  4879. type: string
  4880. type: object
  4881. models.Ermcp3AreaStock:
  4882. properties:
  4883. brandname:
  4884. description: 品牌名称
  4885. type: string
  4886. curstock:
  4887. description: 期末库存量(今日量)
  4888. type: number
  4889. deliverygoodscode:
  4890. description: 现货品种代码
  4891. type: string
  4892. deliverygoodsid:
  4893. description: 现货品种id
  4894. type: integer
  4895. deliverygoodsname:
  4896. description: 现货品种名称
  4897. type: string
  4898. enumdicname:
  4899. description: 单位名称
  4900. type: string
  4901. goodsunitid:
  4902. description: 现货商品单位id
  4903. type: integer
  4904. oristock:
  4905. description: 期初库存量(昨日量)
  4906. type: number
  4907. spotgoodsbrandid:
  4908. description: 现货品牌ID
  4909. type: integer
  4910. todaybuyinqty:
  4911. description: 今日采购入库量
  4912. type: number
  4913. todayproduceinqty:
  4914. description: 今日生产入库量
  4915. type: number
  4916. todayproduceoutqty:
  4917. description: 今日生产出库量
  4918. type: number
  4919. todayselloutqty:
  4920. description: 今日销售出库量
  4921. type: number
  4922. unitid:
  4923. description: 单位id
  4924. type: integer
  4925. updatetime:
  4926. description: 更新时间
  4927. type: string
  4928. userid:
  4929. description: 机构ID
  4930. type: integer
  4931. username:
  4932. description: 机构名称
  4933. type: string
  4934. warehousecode:
  4935. description: 仓库代码
  4936. type: string
  4937. warehouseinfoid:
  4938. description: 仓库ID
  4939. type: string
  4940. warehousename:
  4941. description: 仓库名称
  4942. type: string
  4943. warehousetype:
  4944. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4945. type: integer
  4946. wrstandardcode:
  4947. description: 品类代码
  4948. type: string
  4949. wrstandardid:
  4950. description: 品类ID
  4951. type: string
  4952. wrstandardname:
  4953. description: 品类名称
  4954. type: string
  4955. required:
  4956. - userid
  4957. type: object
  4958. models.Ermcp3AreaStockApply:
  4959. properties:
  4960. applyid:
  4961. description: 申请人
  4962. type: integer
  4963. applyname:
  4964. description: 申请人名称
  4965. type: string
  4966. applyremark:
  4967. description: 申请备注
  4968. type: string
  4969. applysrc:
  4970. description: 申请来源 - 1:管理端 2:终端
  4971. type: integer
  4972. applystatus:
  4973. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4974. type: integer
  4975. applytime:
  4976. description: 申请时间
  4977. type: string
  4978. auditid:
  4979. description: 审核人
  4980. type: integer
  4981. auditname:
  4982. description: 审核人名称
  4983. type: string
  4984. auditremark:
  4985. description: 审核备注
  4986. type: string
  4987. auditsrc:
  4988. description: 审核来源 - 1:管理端 2:终端
  4989. type: integer
  4990. audittime:
  4991. description: 审核时间
  4992. type: string
  4993. audittradedate:
  4994. description: 审核交易日(yyyyMMdd)
  4995. type: string
  4996. brandname:
  4997. description: 品牌名称
  4998. type: string
  4999. buynickname:
  5000. description: 采购方昵称
  5001. type: string
  5002. buyuserid:
  5003. description: 采购方userid
  5004. type: integer
  5005. buyusername:
  5006. description: 采购方名称
  5007. type: string
  5008. contractno:
  5009. description: 合同编号
  5010. type: string
  5011. contractqty:
  5012. description: 合同量
  5013. type: number
  5014. contracttype:
  5015. description: 现货合同类型 - 1:采购 -1:销售
  5016. type: integer
  5017. deliverygoodscode:
  5018. description: 现货品种代码
  5019. type: string
  5020. deliverygoodsid:
  5021. description: 现货品种id
  5022. type: integer
  5023. deliverygoodsname:
  5024. description: 现货品种名称
  5025. type: string
  5026. detailjson:
  5027. description: 明细数据
  5028. type: string
  5029. enumdicname:
  5030. description: 现货商品单位名称
  5031. type: string
  5032. inoutapplyid:
  5033. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5034. type: string
  5035. inouttype:
  5036. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5037. type: integer
  5038. pricetype:
  5039. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5040. type: integer
  5041. qty:
  5042. description: 数量
  5043. type: number
  5044. sellnickname:
  5045. description: 销售方昵称
  5046. type: string
  5047. selluserid:
  5048. description: 销售方userid
  5049. type: integer
  5050. sellusername:
  5051. description: 销售方名称
  5052. type: string
  5053. spotcontractid:
  5054. description: 关联现货合同ID
  5055. type: string
  5056. spotgoodsbrandid:
  5057. description: 现货品牌ID
  5058. type: integer
  5059. unitid:
  5060. description: 单位id
  5061. type: integer
  5062. userid:
  5063. description: 机构ID
  5064. type: integer
  5065. warehousecode:
  5066. description: 仓库代码
  5067. type: string
  5068. warehouseinfoid:
  5069. description: 现货仓库ID
  5070. type: string
  5071. warehousename:
  5072. description: 仓库名称
  5073. type: string
  5074. warehousetype:
  5075. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5076. type: integer
  5077. wrstandardcode:
  5078. description: 品类代码
  5079. type: string
  5080. wrstandardid:
  5081. description: 品类ID
  5082. type: integer
  5083. wrstandardname:
  5084. description: 品类名称
  5085. type: string
  5086. type: object
  5087. models.Ermcp3AreaStockApplySum:
  5088. properties:
  5089. brandname:
  5090. description: 品牌名称
  5091. type: string
  5092. inouttype:
  5093. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5094. type: integer
  5095. spotcontractid:
  5096. description: 关联现货合同ID
  5097. type: string
  5098. spotgoodsbrandid:
  5099. description: 品牌id
  5100. type: integer
  5101. totalqty:
  5102. description: 总数量
  5103. type: number
  5104. wrstandardid:
  5105. description: 品类id
  5106. type: integer
  5107. wrstandardname:
  5108. description: 品类名称
  5109. type: string
  5110. type: object
  5111. models.Ermcp3AreaStockReportEx:
  5112. properties:
  5113. begindate:
  5114. description: 开始交易日
  5115. type: string
  5116. brandname:
  5117. description: 品牌名称
  5118. type: string
  5119. curstock:
  5120. description: 期末库存量
  5121. type: number
  5122. cycletime:
  5123. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5124. type: string
  5125. cycletype:
  5126. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5127. type: integer
  5128. deliverygoodscode:
  5129. description: 现货品种代码
  5130. type: string
  5131. deliverygoodsid:
  5132. description: 现货品种id
  5133. type: integer
  5134. deliverygoodsname:
  5135. description: 现货品种名称
  5136. type: string
  5137. diffqty:
  5138. description: 库存变化量 = 期末 - 期初
  5139. type: number
  5140. enddate:
  5141. description: 结束交易日
  5142. type: string
  5143. enumdicname:
  5144. description: 单位名称
  5145. type: string
  5146. goodsunitid:
  5147. description: 现货单位id
  5148. type: integer
  5149. oristock:
  5150. description: 期初库存量
  5151. type: number
  5152. reckondate:
  5153. description: 日照时期(yyyyMMdd)
  5154. type: string
  5155. spotgoodsbrandid:
  5156. description: 现货品牌ID
  5157. type: integer
  5158. todaybuyinqty:
  5159. description: 今采购入库量
  5160. type: number
  5161. todayproduceinqty:
  5162. description: 今内部入库量
  5163. type: number
  5164. todayproduceoutqty:
  5165. description: 今内部出库量
  5166. type: number
  5167. todayselloutqty:
  5168. description: 今销售出库量
  5169. type: number
  5170. unbuyinqty:
  5171. description: 采购未入库量(数据库未找到相关字段?)
  5172. type: number
  5173. unitid:
  5174. description: 品类单位id
  5175. type: integer
  5176. unselloutqty:
  5177. description: 销售未出库量(数据库未找到相关字段?)
  5178. type: number
  5179. updatetime:
  5180. description: 更新时间
  5181. type: string
  5182. userid:
  5183. description: 机构ID
  5184. type: integer
  5185. username:
  5186. description: 机构名称
  5187. type: string
  5188. warehousecode:
  5189. description: 仓库代码
  5190. type: string
  5191. warehouseinfoid:
  5192. description: 仓库ID
  5193. type: string
  5194. warehousename:
  5195. description: 仓库名称
  5196. type: string
  5197. warehousetype:
  5198. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5199. type: integer
  5200. wrstandardcode:
  5201. description: 品类代码
  5202. type: string
  5203. wrstandardid:
  5204. description: 品类ID
  5205. type: integer
  5206. wrstandardname:
  5207. description: 品类名称
  5208. type: string
  5209. type: object
  5210. models.Ermcp3ArealSumPL:
  5211. properties:
  5212. accountname:
  5213. description: 机构名称
  5214. type: string
  5215. areauserid:
  5216. description: 所属机构\交易用户ID
  5217. type: integer
  5218. begindate:
  5219. description: 开始交易日
  5220. type: string
  5221. currencyid:
  5222. description: 结算币种ID
  5223. type: integer
  5224. currencyname:
  5225. description: 币种名称
  5226. type: string
  5227. cycletime:
  5228. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5229. type: string
  5230. cycletype:
  5231. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5232. type: integer
  5233. enddate:
  5234. description: 结束交易日
  5235. type: string
  5236. enumdicname:
  5237. description: 单位名称(套保品种)
  5238. type: string
  5239. futureactualpl:
  5240. description: 期货损益
  5241. type: number
  5242. futurefloatpl:
  5243. description: 期货浮动损益
  5244. type: number
  5245. futurespotratio:
  5246. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5247. type: number
  5248. goodsunitid:
  5249. description: 套保品种单位id
  5250. type: integer
  5251. hedgeexposurepl:
  5252. description: 套保敞口损益
  5253. type: number
  5254. middlegoodscode:
  5255. description: 套保品种代码
  5256. type: string
  5257. middlegoodsid:
  5258. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5259. type: integer
  5260. middlegoodsname:
  5261. description: 套保品种名称
  5262. type: string
  5263. reckondate:
  5264. description: 日照时期(yyyyMMdd)
  5265. type: string
  5266. spotactualpl:
  5267. description: 现货损益
  5268. type: number
  5269. spotfloatpl:
  5270. description: 现货浮动损益
  5271. type: number
  5272. sumactualpl:
  5273. description: 实际损益 = (ActualPL + FutureActualPL)
  5274. type: number
  5275. sumpl:
  5276. description: 总敞口损益 | 汇总损益
  5277. type: number
  5278. totalfutureqty:
  5279. description: 期货头寸总量
  5280. type: number
  5281. totalneedhedgeqty:
  5282. description: 应套保总量
  5283. type: number
  5284. totalspotqty:
  5285. description: 现货头寸总量
  5286. type: number
  5287. updatetime:
  5288. description: 更新时间
  5289. type: string
  5290. type: object
  5291. models.Ermcp3Brand:
  5292. properties:
  5293. areauserid:
  5294. description: 用户id
  5295. type: integer
  5296. brandid:
  5297. description: 品牌id
  5298. type: integer
  5299. brandname:
  5300. description: 品牌名称
  5301. type: string
  5302. deliverygoodsid:
  5303. description: 品种ID
  5304. type: integer
  5305. isvalid:
  5306. description: 是否有效
  5307. type: integer
  5308. type: object
  5309. models.Ermcp3Contract:
  5310. properties:
  5311. accountid:
  5312. description: 期货账户id
  5313. type: string
  5314. amount:
  5315. description: 金额 [1:一口价、3:暂定价]
  5316. type: number
  5317. attachment:
  5318. description: 附件
  5319. type: string
  5320. auditremark:
  5321. description: 审核意见
  5322. type: string
  5323. audittime:
  5324. description: 审核时间
  5325. type: string
  5326. biztype:
  5327. description: 业务类型 1-套保 2-套利
  5328. type: integer
  5329. brandname:
  5330. description: 品牌名称
  5331. type: string
  5332. buynickname:
  5333. description: 销售方昵称
  5334. type: string
  5335. buyuserid:
  5336. description: 采购方ID
  5337. type: integer
  5338. buyusername:
  5339. description: 采购方名称
  5340. type: string
  5341. contracctstatus:
  5342. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5343. type: integer
  5344. contractmargin:
  5345. description: 合同保证金
  5346. type: number
  5347. contractno:
  5348. description: 现货合同编号
  5349. type: string
  5350. contracttype:
  5351. description: 现货合同类型 - 1:采购 -1:销售
  5352. type: integer
  5353. convertfactor:
  5354. description: 标仓系数(品类)
  5355. type: number
  5356. createtime:
  5357. description: 创建时间
  5358. type: string
  5359. currencyid:
  5360. description: 币种id
  5361. type: integer
  5362. currencyname:
  5363. description: 币种名称
  5364. type: string
  5365. deliveryenddate:
  5366. description: 交收期(结束)
  5367. type: string
  5368. deliverygoodscode:
  5369. description: 现货品种代码
  5370. type: string
  5371. deliverygoodsid:
  5372. description: 现货品种ID
  5373. type: integer
  5374. deliverygoodsname:
  5375. description: 现货品种名称
  5376. type: string
  5377. deliverystartdate:
  5378. description: 交收期(开始)
  5379. type: string
  5380. enddate:
  5381. description: 点价结束日期 [2:点价 3:暂定价]
  5382. type: string
  5383. enumdicname:
  5384. description: 单位名称
  5385. type: string
  5386. goodscode:
  5387. description: 点价合约代码
  5388. type: string
  5389. goodsid:
  5390. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5391. type: integer
  5392. goodsname:
  5393. description: 点价商品名称
  5394. type: string
  5395. margin:
  5396. description: 当前保证金
  5397. type: number
  5398. meruserid:
  5399. description: 跟单员id
  5400. type: integer
  5401. meruserlogincode:
  5402. description: 跟单员登录代码
  5403. type: string
  5404. merusername:
  5405. description: 跟单员名称
  5406. type: string
  5407. pointdesc:
  5408. description: 点价备注
  5409. type: string
  5410. price:
  5411. description: 价格\暂定价 [1:一口价、3:暂定价]
  5412. type: number
  5413. pricemove:
  5414. description: 升贴水 [2:点价 3:暂定价]
  5415. type: number
  5416. pricetype:
  5417. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5418. type: integer
  5419. producttype:
  5420. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5421. type: integer
  5422. qty:
  5423. description: 数量
  5424. type: number
  5425. remark:
  5426. description: 备注
  5427. type: string
  5428. saleuserid:
  5429. description: 业务员id
  5430. type: integer
  5431. saleuserlogincode:
  5432. description: 业务员登录代码
  5433. type: string
  5434. saleusername:
  5435. description: 业务员名称
  5436. type: string
  5437. sellnickname:
  5438. description: 采购方昵称
  5439. type: string
  5440. selluserid:
  5441. description: 销售方ID
  5442. type: integer
  5443. sellusername:
  5444. description: 销售方名称
  5445. type: string
  5446. spotcontractid:
  5447. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5448. type: string
  5449. spotgoodsbrandid:
  5450. description: 现货品牌ID(DGFactoryItem表的ID)
  5451. type: integer
  5452. spotgoodsdesc:
  5453. description: 商品型号
  5454. type: string
  5455. startdate:
  5456. description: 点价开始日期 [2:点价 3:暂定价]
  5457. type: string
  5458. subjectid:
  5459. description: 交易主体ID
  5460. type: integer
  5461. subjectname:
  5462. description: 交易主体名称
  5463. type: string
  5464. tradeuserid:
  5465. description: 交易员id
  5466. type: integer
  5467. tradeuserlogincode:
  5468. description: 交易员登录代码
  5469. type: string
  5470. tradeusername:
  5471. description: 交易员名称
  5472. type: string
  5473. unitid:
  5474. description: 单位id(取品类上的单位id)
  5475. type: integer
  5476. updatetime:
  5477. description: 更新时间
  5478. type: string
  5479. userid:
  5480. description: 所属机构ID
  5481. type: integer
  5482. vatrate:
  5483. description: 增值税率
  5484. type: number
  5485. wrstandardcode:
  5486. description: 品类代码
  5487. type: string
  5488. wrstandardid:
  5489. description: 品类ID
  5490. type: integer
  5491. wrstandardname:
  5492. description: 品类名称
  5493. type: string
  5494. type: object
  5495. models.Ermcp3ContractMiddleGoodsCfg:
  5496. properties:
  5497. agreeunit:
  5498. description: 合约乘数
  5499. type: number
  5500. convertratio:
  5501. description: 期货品种系数
  5502. type: number
  5503. covertqty:
  5504. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5505. type: integer
  5506. middlegoodsid:
  5507. description: 套保品种ID
  5508. type: integer
  5509. middlegoodspricedqty3:
  5510. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5511. example: "0"
  5512. type: string
  5513. pendingpricedqty:
  5514. description: 待点价量
  5515. example: "0"
  5516. type: string
  5517. relatedmiddlegoodsqty:
  5518. description: 已关联量(套保品种-期货)
  5519. example: "0"
  5520. type: string
  5521. spotcontractid:
  5522. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5523. type: string
  5524. type: object
  5525. models.Ermcp3ExposureContractDetail:
  5526. properties:
  5527. biztype:
  5528. description: 业务类型 1-套保 2-套利
  5529. type: integer
  5530. brandname:
  5531. description: 品牌名称
  5532. type: string
  5533. buyuserid:
  5534. description: 采购方id
  5535. type: integer
  5536. buyusername:
  5537. description: 采购方名称
  5538. type: string
  5539. contractno:
  5540. description: 合同编号
  5541. type: string
  5542. contracttype:
  5543. description: 现货合同类型 - 1:采购 -1:销售
  5544. type: integer
  5545. convertfactor:
  5546. description: 标仓系数
  5547. type: number
  5548. convertratio:
  5549. description: 折算系数(套保品种)
  5550. type: number
  5551. curqty:
  5552. description: 今定价量
  5553. type: number
  5554. deliverygoodscode:
  5555. description: 现货品种代码
  5556. type: string
  5557. deliverygoodsid:
  5558. description: 现货品种id
  5559. type: integer
  5560. deliverygoodsname:
  5561. description: 现货品种名称
  5562. type: string
  5563. diffhedgeqty:
  5564. description: 套保变动量
  5565. type: number
  5566. diffneedhedgeqty:
  5567. description: 应套保变动量
  5568. type: number
  5569. diffqty:
  5570. description: 套保品种今变动量
  5571. type: number
  5572. enumdicname:
  5573. description: 单位名称
  5574. type: string
  5575. mgunitname:
  5576. description: 套保品种单位名称
  5577. type: string
  5578. middlegoodscode:
  5579. description: 套保品种代码
  5580. type: string
  5581. middlegoodsid:
  5582. description: 套保品种id
  5583. type: integer
  5584. middlegoodsname:
  5585. description: 套保品种名称
  5586. type: string
  5587. needarbitrageratio:
  5588. description: 应套利比例
  5589. type: number
  5590. needhedgeratio:
  5591. description: 应套保比例
  5592. type: number
  5593. pricedqty:
  5594. description: 已定价量
  5595. type: number
  5596. qty:
  5597. description: 合同量
  5598. type: number
  5599. reckondate:
  5600. description: 交易日(reckondate)
  5601. type: string
  5602. selluserid:
  5603. description: 销售方id
  5604. type: integer
  5605. sellusername:
  5606. description: 销售方名称
  5607. type: string
  5608. spotcontractid:
  5609. description: 合同id
  5610. type: string
  5611. todaypricedqty:
  5612. description: 今定价量
  5613. type: number
  5614. tradedate:
  5615. description: 交易日
  5616. type: string
  5617. unitid:
  5618. description: 品类单位id
  5619. type: integer
  5620. userid:
  5621. description: 机构id
  5622. type: integer
  5623. username:
  5624. description: 交易用户
  5625. type: string
  5626. wrstandardcode:
  5627. description: 现货商品代码
  5628. type: string
  5629. wrstandardid:
  5630. description: 现货商品id
  5631. type: integer
  5632. wrstandardname:
  5633. description: 现货商品名称
  5634. type: string
  5635. type: object
  5636. models.Ermcp3ExposureDetail:
  5637. properties:
  5638. areauserid:
  5639. description: 机构ID
  5640. type: integer
  5641. changeQty:
  5642. description: 套保变动量
  5643. type: number
  5644. contracttype:
  5645. description: 现货合同类型 - 1:采购 -1:销售
  5646. type: integer
  5647. convertfactor:
  5648. description: 标仓系数
  5649. type: number
  5650. convertratio:
  5651. description: 折算系数
  5652. type: number
  5653. createtime:
  5654. description: 时间
  5655. type: string
  5656. enumdicname:
  5657. description: 现货商品单位名称
  5658. type: string
  5659. logtype:
  5660. description: 类型 - 1:套保计划 2:现货合同
  5661. type: integer
  5662. mgunitid:
  5663. description: 套保品种单位id
  5664. type: integer
  5665. mgunitidname:
  5666. description: 套保品种单位名称
  5667. type: string
  5668. middlegoodsId:
  5669. description: 套保商品id
  5670. type: integer
  5671. middlegoodscode:
  5672. description: 套保商品代码
  5673. type: string
  5674. middlegoodsname:
  5675. description: 套保商品名称
  5676. type: string
  5677. qty:
  5678. description: 数量
  5679. type: number
  5680. relateNo:
  5681. description: 现货合同/套保计划编号
  5682. type: string
  5683. unitid:
  5684. description: 现货商品单位id
  5685. type: integer
  5686. wrstandardcode:
  5687. description: 现货商品代码
  5688. type: string
  5689. wrstandardid:
  5690. description: 现货商品ID(SEQ_WRSTANDARD)
  5691. type: integer
  5692. wrstandardname:
  5693. description: 现货商品名称
  5694. type: string
  5695. type: object
  5696. models.Ermcp3ExposureFutuDetail:
  5697. properties:
  5698. accountid:
  5699. description: 交易账户id
  5700. type: integer
  5701. accountname:
  5702. description: 交易账户
  5703. type: string
  5704. begindate:
  5705. description: 开始交易日
  5706. type: string
  5707. buyorsell:
  5708. description: 方向 0-买 1-卖
  5709. type: integer
  5710. diffmgqty:
  5711. description: 套保品种今变化量
  5712. type: number
  5713. diffneedqty:
  5714. description: 应套保总量变化量
  5715. type: number
  5716. difftradeqty:
  5717. description: 交易品种今变化量
  5718. type: number
  5719. enddate:
  5720. description: 结束交易日
  5721. type: string
  5722. enumdicname:
  5723. description: 单位名称
  5724. type: string
  5725. goodscode:
  5726. description: 商品代码
  5727. type: string
  5728. goodsid:
  5729. description: 商品id
  5730. type: integer
  5731. goodsname:
  5732. description: 商品名称
  5733. type: string
  5734. holdqty:
  5735. description: 期末持仓量
  5736. type: number
  5737. middlegoodscode:
  5738. description: 套保商品代码
  5739. type: string
  5740. middlegoodsid:
  5741. description: 套保商品id
  5742. type: integer
  5743. middlegoodsname:
  5744. description: 套保商品名称
  5745. type: string
  5746. oriholdqty:
  5747. description: 期初持仓量
  5748. type: number
  5749. reckondate:
  5750. description: 交易日(RECKONDATE)
  5751. type: string
  5752. todaycloseqty:
  5753. description: 今平仓量
  5754. type: number
  5755. todayopenqty:
  5756. description: 今开仓量
  5757. type: number
  5758. tradedate:
  5759. description: 交易日(RECKONDATE)
  5760. type: string
  5761. username:
  5762. description: 用户名称(交易用户)
  5763. type: string
  5764. type: object
  5765. models.Ermcp3ExposureHedgeplanDetail:
  5766. properties:
  5767. biztype:
  5768. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5769. type: integer
  5770. changqty:
  5771. description: 应套保总量变化量
  5772. type: number
  5773. contracttype:
  5774. description: 计划类型 - 1:采购 -1:销售
  5775. type: integer
  5776. convertratio:
  5777. description: 折算系数(套保品种)
  5778. type: number
  5779. deliverygoodscode:
  5780. description: 现货商品代码
  5781. type: string
  5782. deliverygoodsid:
  5783. description: 现货商品id
  5784. type: integer
  5785. deliverygoodsname:
  5786. description: 现货商吕名称
  5787. type: string
  5788. dgunitid:
  5789. description: 现货商品单位id
  5790. type: integer
  5791. dgunitidname:
  5792. description: 单位名称(现货商品)
  5793. type: string
  5794. diffqty:
  5795. description: 套保品种今变动量
  5796. type: number
  5797. enumdicname:
  5798. description: 单位名称(品类)
  5799. type: string
  5800. hedgeplanid:
  5801. description: 套保计划id
  5802. type: string
  5803. hedgeplanno:
  5804. description: 套保计划名称
  5805. type: string
  5806. hedgeplanstatus:
  5807. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5808. type: integer
  5809. mgunitidname:
  5810. description: 单位名称(套保商品)
  5811. type: string
  5812. middlegoodscode:
  5813. description: 套保品种代码
  5814. type: string
  5815. middlegoodsid:
  5816. description: 套保品种id
  5817. type: integer
  5818. middlegoodsname:
  5819. description: 套保品种名称
  5820. type: string
  5821. needarbitrageratio:
  5822. description: 应套利比例
  5823. type: number
  5824. needhedgeratio:
  5825. description: 应套保比例
  5826. type: number
  5827. pricedqty:
  5828. description: 已定价量
  5829. type: number
  5830. qty:
  5831. description: 合同量
  5832. type: number
  5833. reckondate:
  5834. description: 交易日(reckondate)
  5835. type: string
  5836. tradedate:
  5837. description: 交易日(登记日)
  5838. type: string
  5839. unitid:
  5840. description: 品类单位id
  5841. type: integer
  5842. userid:
  5843. description: 机构id
  5844. type: integer
  5845. wrstandardcode:
  5846. description: 品类代码
  5847. type: string
  5848. wrstandardid:
  5849. description: 品类id
  5850. type: integer
  5851. wrstandardname:
  5852. description: 品类名称
  5853. type: string
  5854. type: object
  5855. models.Ermcp3ExposureParamChLog:
  5856. properties:
  5857. accountid:
  5858. description: 期货账户ID (作废, 默认为0)
  5859. type: integer
  5860. aftervalue:
  5861. description: 应套保\套利量变更后(调整后应套保总量)
  5862. type: number
  5863. areauserid:
  5864. description: 所属机构\交易用户ID
  5865. type: integer
  5866. beforevalue:
  5867. description: 应套保\套利量变更前(调整前应套保总量)
  5868. type: number
  5869. begindate:
  5870. description: 开始交易日
  5871. type: string
  5872. changelogtype:
  5873. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5874. type: integer
  5875. curvalue:
  5876. description: 当前套保\套利量(套保总量|套利总量)
  5877. type: number
  5878. diffvalue:
  5879. description: 应套保总量变化量
  5880. type: number
  5881. enddate:
  5882. description: 结束交易日
  5883. type: string
  5884. logdatetime:
  5885. description: 流水日期
  5886. type: string
  5887. logid:
  5888. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5889. type: string
  5890. middlegoodscode:
  5891. description: 套保品种代码
  5892. type: string
  5893. middlegoodsid:
  5894. description: 套保品种
  5895. type: integer
  5896. middlegoodsname:
  5897. description: 套保品种名称
  5898. type: string
  5899. paramaftervalue:
  5900. description: 参数变更后(调整后参数值)
  5901. type: number
  5902. parambeforevalue:
  5903. description: 参数变更前(调整前参数值)
  5904. type: number
  5905. reckondate:
  5906. description: 交易日(reckondate)
  5907. type: string
  5908. tradedate:
  5909. description: 交易日(yyyyMMdd)
  5910. type: string
  5911. type: object
  5912. models.Ermcp3ExpourseReport:
  5913. properties:
  5914. accountid:
  5915. description: 期货账户ID (作废, 默认为0)
  5916. type: integer
  5917. accountname:
  5918. description: 机构名称
  5919. type: string
  5920. arbitrageqty:
  5921. description: 套利量
  5922. type: number
  5923. areauserid:
  5924. description: 所属机构\交易用户ID
  5925. type: integer
  5926. begindate:
  5927. description: 开始交易日
  5928. type: string
  5929. buyfutureqty:
  5930. description: 买入期货数量
  5931. type: number
  5932. buyplanqty:
  5933. description: 采购计划数量
  5934. type: number
  5935. buypricedqty:
  5936. description: 采购合同已定价数量
  5937. type: number
  5938. cycletime:
  5939. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5940. type: string
  5941. cycletype:
  5942. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5943. type: integer
  5944. diffexposure:
  5945. description: 变动量(套保敞口)
  5946. type: number
  5947. difffutuqty:
  5948. description: 变动量(期货)
  5949. type: number
  5950. diffhedgeqty:
  5951. description: 变动量(现货应套保总量)
  5952. type: number
  5953. diffmgqtya:
  5954. description: 套保变动量
  5955. type: number
  5956. diffmgqtyb:
  5957. description: 套利变动量
  5958. type: number
  5959. diffneedqty:
  5960. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5961. type: number
  5962. diffqty:
  5963. description: 变动量(总敞口)
  5964. type: number
  5965. diffspotqty:
  5966. description: 变动量(现货) | 除税变动量
  5967. type: number
  5968. enddate:
  5969. description: 结束交易日
  5970. type: string
  5971. enumdicname:
  5972. description: 单位名称
  5973. type: string
  5974. hedgeqty:
  5975. description: 套保量
  5976. type: number
  5977. mgneedhedgeratio:
  5978. description: 套保比例(套保品的)
  5979. type: number
  5980. middlegoodsid:
  5981. description: 套保品种ID
  5982. type: integer
  5983. middlegoodsname:
  5984. description: 套保商品名称
  5985. type: string
  5986. middlgoodscode:
  5987. description: 套保商品代码
  5988. type: string
  5989. needarbitrageqty:
  5990. description: 应套利量
  5991. type: number
  5992. needarbitrageratio:
  5993. description: 套利比例(套保品的)
  5994. type: number
  5995. needhedgeexposoure:
  5996. description: 应套保敞口(套保敞口)
  5997. type: number
  5998. needhedgeqty:
  5999. description: 应套保量
  6000. type: number
  6001. needhedgeratio:
  6002. description: 应套保敞口比例
  6003. type: number
  6004. needqty:
  6005. description: 应套总量 = 应套保量 + 应套利量
  6006. type: number
  6007. oriarbitrageqty:
  6008. description: 期初套利量
  6009. type: number
  6010. oribuyfutureqty:
  6011. description: 期初买入期货数量
  6012. type: number
  6013. oribuyplanqty:
  6014. description: 期初采购计划数量
  6015. type: number
  6016. oribuypricedqty:
  6017. description: 期初采购合同已定价数量
  6018. type: number
  6019. orihedgeqty:
  6020. description: 期初套保量
  6021. type: number
  6022. orineedarbitrageqty:
  6023. description: 期初应套利量
  6024. type: number
  6025. orineedhedgeexposoure:
  6026. description: 期初应套保敞口
  6027. type: number
  6028. orineedhedgeqty:
  6029. description: 期初应套保量
  6030. type: number
  6031. orisellfutureqty:
  6032. description: 期初卖出期货数量
  6033. type: number
  6034. orisellplanqty:
  6035. description: 期初销售计划数量
  6036. type: number
  6037. orisellpricedqty:
  6038. description: 期初销售合同已定价数量
  6039. type: number
  6040. oritotalexposure:
  6041. description: 期初实时总敞口
  6042. type: number
  6043. oritotalfutureqty:
  6044. description: 期初期货头寸总量
  6045. type: number
  6046. oritotalneedhedgeqty:
  6047. description: 期初应套保总量
  6048. type: number
  6049. oritotalspotqty:
  6050. description: 期初现货头寸总量
  6051. type: number
  6052. reckondate:
  6053. description: 日照时期(yyyyMMdd)
  6054. type: string
  6055. sellfutureqty:
  6056. description: 卖出期货数量
  6057. type: number
  6058. sellplanqty:
  6059. description: 销售计划数量
  6060. type: number
  6061. sellpricedqty:
  6062. description: 销售合同已定价数量
  6063. type: number
  6064. totalexposure:
  6065. description: 实时总敞口(总敞口)
  6066. type: number
  6067. totalfutureqty:
  6068. description: 期货头寸总量(期货总量)
  6069. type: number
  6070. totalhedgeratio:
  6071. description: 敞口比例
  6072. type: number
  6073. totalneedhedgeqty:
  6074. description: 应套保总量(现货应套保总量)
  6075. type: number
  6076. totalspotqty:
  6077. description: 现货头寸总量 | 除税总量
  6078. type: number
  6079. unitid:
  6080. description: 单位id
  6081. type: integer
  6082. updatetime:
  6083. description: 更新时间
  6084. type: string
  6085. type: object
  6086. models.Ermcp3FinanceReport:
  6087. properties:
  6088. accountname:
  6089. description: 机构名称
  6090. type: string
  6091. areauserid:
  6092. description: 所属机构\交易用户ID
  6093. type: integer
  6094. begindate:
  6095. description: 开始交易日
  6096. type: string
  6097. biztype:
  6098. description: 业务类型 - 1:套保 2:套利
  6099. type: integer
  6100. brandname:
  6101. description: 品牌名称
  6102. type: string
  6103. buypreinvoicedamount:
  6104. description: 采购预收票额(预收票额)
  6105. type: number
  6106. buyprepaidamount:
  6107. description: 采购预付款额(预付货款额)
  6108. type: number
  6109. buytodayinvoiceamount:
  6110. description: 采购今收票额(今收票额)
  6111. type: number
  6112. buytodayrefundamount:
  6113. description: 采购今收退款额(今收退款额)
  6114. type: number
  6115. buytodaysettleamount:
  6116. description: 采购今付款额(今付货款额)
  6117. type: number
  6118. buyuninvoicedamount:
  6119. description: 采购应收票额(应收票额)
  6120. type: number
  6121. buyunpaidamount:
  6122. description: 采购应付款额(应付货款额)
  6123. type: number
  6124. currencyid:
  6125. description: 结算币种ID
  6126. type: integer
  6127. currencyname:
  6128. description: 币种名称
  6129. type: string
  6130. cycletime:
  6131. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6132. type: string
  6133. cycletype:
  6134. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6135. type: integer
  6136. deliverygoodscode:
  6137. description: 现货品种代码
  6138. type: string
  6139. deliverygoodsid:
  6140. description: 现货品种ID
  6141. type: integer
  6142. deliverygoodsname:
  6143. description: 现货品种名称
  6144. type: string
  6145. enddate:
  6146. description: 结束交易日
  6147. type: string
  6148. reckondate:
  6149. description: 日照时期(yyyyMMdd)
  6150. type: string
  6151. sellpreinvoicedamount:
  6152. description: 销售预开票额(预开票额)
  6153. type: number
  6154. sellprepaidamount:
  6155. description: 销售预收款额(预收货款额)
  6156. type: number
  6157. selltodayinvoiceamount:
  6158. description: 销售今开票额(今开票额)
  6159. type: number
  6160. selltodayrefundamount:
  6161. description: 销售今付退款额(今付退款额)
  6162. type: number
  6163. selltodaysettleamount:
  6164. description: 销售今收款额(今收货款额)
  6165. type: number
  6166. selluninvoicedamount:
  6167. description: 销售应开票额(应开票额)
  6168. type: number
  6169. sellunpaidamount:
  6170. description: 销售应收款额(应收货款额)
  6171. type: number
  6172. spotgoodsbrandid:
  6173. description: 现货品牌ID
  6174. type: integer
  6175. todaypaysum:
  6176. description: 今付款合计
  6177. type: number
  6178. todayreceivesum:
  6179. description: 今收款合计
  6180. type: number
  6181. updatetime:
  6182. description: 更新时间
  6183. type: string
  6184. wrfactortypeid:
  6185. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6186. type: integer
  6187. wrstandardcode:
  6188. description: 品类代码
  6189. type: string
  6190. wrstandardid:
  6191. description: 现货商品ID
  6192. type: integer
  6193. wrstandardname:
  6194. description: 品类名称
  6195. type: string
  6196. type: object
  6197. models.Ermcp3GoodsGroup:
  6198. properties:
  6199. agreeunit:
  6200. description: 合约单位
  6201. type: number
  6202. areauserid:
  6203. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6204. type: integer
  6205. canshort:
  6206. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6207. type: integer
  6208. closepricemode:
  6209. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6210. type: integer
  6211. createtime:
  6212. description: 创建时间
  6213. type: string
  6214. creatorid:
  6215. description: 创建人
  6216. type: integer
  6217. currencyid:
  6218. description: 报价货币ID
  6219. type: integer
  6220. decimalplace:
  6221. description: 报价小数位
  6222. type: integer
  6223. enumdicname:
  6224. description: 单位名称
  6225. type: string
  6226. exchangefullname:
  6227. description: 交易所全称
  6228. type: string
  6229. excludecfg:
  6230. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6231. type: integer
  6232. exexchangecode:
  6233. description: 交易所代码
  6234. type: string
  6235. exexchangeid:
  6236. description: 外部交易所ID[通道交易]
  6237. type: integer
  6238. exexchangename:
  6239. description: 交易所名称
  6240. type: string
  6241. goodsgroupid:
  6242. description: 商品组ID(自增ID)
  6243. type: integer
  6244. goodsgroupname:
  6245. description: 商品组名称
  6246. type: string
  6247. goodsgroupstatus:
  6248. description: 商品组状态 - 1:正常 2:注销
  6249. type: integer
  6250. goodunitid:
  6251. description: 报价单位ID
  6252. type: integer
  6253. groupcategroyid:
  6254. description: 品种分类ID
  6255. type: integer
  6256. innerdealmode:
  6257. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6258. type: integer
  6259. marketid:
  6260. description: 所属市场ID
  6261. type: integer
  6262. modifierid:
  6263. description: 修改人
  6264. type: integer
  6265. modifytime:
  6266. description: 修改时间
  6267. type: string
  6268. outerdealmode:
  6269. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6270. type: integer
  6271. outergroupcode:
  6272. description: 外部商品组代码[通道交易]
  6273. type: string
  6274. quoteminunit:
  6275. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6276. type: integer
  6277. quotesourcegroupid:
  6278. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6279. type: integer
  6280. syncgoodsqty:
  6281. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6282. type: integer
  6283. required:
  6284. - areauserid
  6285. type: object
  6286. models.Ermcp3HPMiddleGoods:
  6287. properties:
  6288. biztype:
  6289. description: 业务类型 1:套保 2:套利
  6290. type: integer
  6291. contracttype:
  6292. description: 合同类型 1:采购 -1:销售
  6293. type: integer
  6294. convertratio:
  6295. description: 折算系数
  6296. type: number
  6297. customername:
  6298. description: 对手手名称
  6299. type: string
  6300. customeruserid:
  6301. description: 对手id
  6302. type: integer
  6303. enumdicname:
  6304. description: 现货单位名称
  6305. type: string
  6306. hedgeplanid:
  6307. description: 计划id
  6308. type: string
  6309. hedgeplanno:
  6310. description: 计划编号
  6311. type: string
  6312. middlegoodsid:
  6313. description: 套保品种ID
  6314. type: integer
  6315. middlegoodsplanqty3:
  6316. description: 应套保计划量
  6317. type: number
  6318. needhedgeratio:
  6319. description: 套保比例
  6320. type: number
  6321. pricedqty:
  6322. description: 已定价量
  6323. type: number
  6324. relatedmiddlegoodsqty:
  6325. description: 已关联量(套保品种)(期货)
  6326. type: number
  6327. unitid:
  6328. description: 现货单位id
  6329. type: integer
  6330. userid:
  6331. description: 用户id
  6332. type: integer
  6333. vatrate:
  6334. description: 增值税率
  6335. type: number
  6336. wrstandardcode:
  6337. description: 现货商品代码
  6338. type: string
  6339. wrstandardid:
  6340. description: 现货商品id
  6341. type: integer
  6342. wrstandardname:
  6343. description: 现货商品名称
  6344. type: string
  6345. type: object
  6346. models.Ermcp3HedgePlan:
  6347. properties:
  6348. accountid:
  6349. description: 资金账号
  6350. type: integer
  6351. areauserid:
  6352. description: 用户ID
  6353. type: integer
  6354. auditid:
  6355. description: 审核id
  6356. type: integer
  6357. auditname:
  6358. description: 审核人名称
  6359. type: string
  6360. auditremark:
  6361. description: 审核备注
  6362. type: string
  6363. auditsrc:
  6364. description: 审核来源 1-管理端 2-终端
  6365. type: integer
  6366. audittime:
  6367. description: 审核时间
  6368. type: string
  6369. contracttype:
  6370. description: 计划类型 - 1:采购 -1:销售
  6371. type: integer
  6372. convertfactor:
  6373. description: 标仓系数
  6374. type: number
  6375. createtime:
  6376. description: 创建时间
  6377. type: string
  6378. currencyid:
  6379. description: 币种id
  6380. type: integer
  6381. currencyname:
  6382. description: 币种名称
  6383. type: string
  6384. deliverygoodscode:
  6385. description: 现货品种代码
  6386. type: string
  6387. deliverygoodsid:
  6388. description: 现货品种ID
  6389. type: integer
  6390. deliverygoodsname:
  6391. description: 现货品种名称
  6392. type: string
  6393. enumdicname:
  6394. description: 单位名称(现货商品)
  6395. type: string
  6396. hedgeplanid:
  6397. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6398. type: string
  6399. hedgeplanno:
  6400. description: 套保计划编号(名称)
  6401. type: string
  6402. hedgeplanstatus:
  6403. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6404. type: integer
  6405. planqty:
  6406. description: 计划数量
  6407. type: number
  6408. plantime:
  6409. description: 计划时间
  6410. type: string
  6411. producttype:
  6412. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6413. type: integer
  6414. remark:
  6415. description: 备注
  6416. type: string
  6417. spotgoodsdesc:
  6418. description: 商品型号
  6419. type: string
  6420. taaccountname:
  6421. description: 资金账号名称
  6422. type: string
  6423. tradeuserid:
  6424. description: 交易用户id
  6425. type: integer
  6426. tradeusername:
  6427. description: 交易用户名称
  6428. type: string
  6429. unitid:
  6430. description: 单位id(现货商品)
  6431. type: integer
  6432. updatetime:
  6433. description: 更新时间
  6434. type: string
  6435. vatrate:
  6436. description: 增值税率
  6437. type: number
  6438. wrstandardcode:
  6439. description: 品类代码
  6440. type: string
  6441. wrstandardid:
  6442. description: 品类id
  6443. type: integer
  6444. wrstandardname:
  6445. description: 品类名称
  6446. type: string
  6447. wrunitid:
  6448. description: 品类单位id
  6449. type: integer
  6450. wrunitidame:
  6451. description: 品类单位名称
  6452. type: string
  6453. type: object
  6454. models.Ermcp3InnerTradeLink:
  6455. properties:
  6456. accountid:
  6457. description: 期货账号代码 | 资金账号ID
  6458. type: integer
  6459. buyorsell:
  6460. description: 方向 - 0:买 1:卖
  6461. type: integer
  6462. channelbuildtype:
  6463. description: 委托单据类型 0:无 1:建仓 2:平仓
  6464. type: integer
  6465. currencyid:
  6466. description: 币种id
  6467. type: integer
  6468. currencyname:
  6469. description: 结算币种 名称
  6470. type: string
  6471. goodscode:
  6472. description: 商品代码
  6473. type: string
  6474. goodsid:
  6475. description: 商品ID
  6476. type: integer
  6477. goodsname:
  6478. description: 商品名称
  6479. type: string
  6480. outtradeid:
  6481. description: 外部成交单号
  6482. type: string
  6483. taname:
  6484. description: 期货账户名称
  6485. type: string
  6486. tradeid:
  6487. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6488. type: string
  6489. tradeprice:
  6490. description: 成交价格
  6491. type: number
  6492. tradeqty:
  6493. description: 期货成交数量
  6494. type: integer
  6495. tradetime:
  6496. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6497. type: string
  6498. username:
  6499. description: 用户名称
  6500. type: string
  6501. type: object
  6502. models.Ermcp3OutTradeLink:
  6503. properties:
  6504. buyorsell:
  6505. description: 买卖方向 - 0:买 1:卖
  6506. type: integer
  6507. channelbuildtype:
  6508. description: 开平标志- 0:无 1:建仓 2:平仓
  6509. type: integer
  6510. currencyname:
  6511. description: 币种名称
  6512. type: string
  6513. exexchangecode:
  6514. description: 交易所代码
  6515. type: string
  6516. exexchangename:
  6517. description: 交易所名称
  6518. type: string
  6519. goodscode:
  6520. description: 合约代码
  6521. type: string
  6522. goodsid:
  6523. description: 合约id
  6524. type: integer
  6525. goodsname:
  6526. description: 合约名称
  6527. type: string
  6528. hasinnerorder:
  6529. description: 是否有内部单关联 - 0:无 1:有
  6530. type: integer
  6531. hedgeaccountcode:
  6532. description: 外部账号 | 对冲账号
  6533. type: string
  6534. outtradeid:
  6535. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6536. type: string
  6537. tradeprice:
  6538. description: 成交价格
  6539. type: number
  6540. tradeqty:
  6541. description: 成交数量
  6542. type: integer
  6543. tradetime:
  6544. description: 成交时间
  6545. type: string
  6546. type: object
  6547. models.Ermcp3PaAreaAuditCfg:
  6548. properties:
  6549. areauserid:
  6550. description: 用户ID
  6551. type: integer
  6552. buyinauditflag:
  6553. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6554. type: integer
  6555. costratioauditflag:
  6556. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6557. type: integer
  6558. customerauditflag:
  6559. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6560. type: integer
  6561. deliveryauditflag:
  6562. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6563. type: integer
  6564. invoiceauditflag:
  6565. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6566. type: integer
  6567. mgneedhedgeratioauditflag:
  6568. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6569. type: integer
  6570. moneyauditflag:
  6571. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6572. type: integer
  6573. operatorid:
  6574. description: 操作人
  6575. type: integer
  6576. operatorsrc:
  6577. description: 操作来源 - 1:管理端 2:终端
  6578. type: integer
  6579. pointpriceauditflag:
  6580. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6581. type: integer
  6582. produceinauditflag:
  6583. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6584. type: integer
  6585. produceoutauditflag:
  6586. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6587. type: integer
  6588. selloutauditflag:
  6589. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6590. type: integer
  6591. sgconvertratioauditflag:
  6592. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6593. type: integer
  6594. sgvtaratioauditflag:
  6595. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6596. type: integer
  6597. spotcontractauditflag:
  6598. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6599. type: integer
  6600. updatetime:
  6601. description: 更新时间
  6602. type: string
  6603. type: object
  6604. models.Ermcp3PaAreaSubject:
  6605. properties:
  6606. areauserid:
  6607. description: 所属机构
  6608. type: integer
  6609. canmodify:
  6610. description: 是否可修改 - 0:否 1:是
  6611. type: integer
  6612. createtime:
  6613. description: 创建时间
  6614. type: string
  6615. creatorid:
  6616. description: 创建人ID
  6617. type: string
  6618. creatorsrc:
  6619. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6620. type: integer
  6621. modifierid:
  6622. description: 修改人
  6623. type: string
  6624. modifiersrc:
  6625. description: 修改人来源 - 1:管理端 2:终端
  6626. type: integer
  6627. modifytime:
  6628. description: 修改时间
  6629. type: string
  6630. parentsubjectid:
  6631. description: 上级主体ID
  6632. type: string
  6633. remark:
  6634. description: 备注
  6635. type: string
  6636. subjectid:
  6637. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6638. type: integer
  6639. subjectname:
  6640. description: 主体名称
  6641. type: string
  6642. subjectstatus:
  6643. description: '主体状态 - 1:正常 2: 停用'
  6644. type: integer
  6645. subjecttype:
  6646. description: 主体类型 - 1:交易主体 2:业务部门
  6647. type: integer
  6648. type: object
  6649. models.Ermcp3PaTradeLink:
  6650. properties:
  6651. accountid:
  6652. description: 期货账户代码 | 账号ID
  6653. type: integer
  6654. agreeunit:
  6655. description: 合约乘数
  6656. type: number
  6657. buyorsell:
  6658. description: 方向 - 0:买 1:卖
  6659. type: integer
  6660. channelbuildtype:
  6661. description: 委托单据类型 0:无 1:建仓 2:平仓
  6662. type: integer
  6663. charge:
  6664. description: 手续费
  6665. type: number
  6666. closepl:
  6667. description: 平仓盈亏
  6668. type: number
  6669. closetype:
  6670. description: 平仓方式 - 0:无 1:平今 2:平昨
  6671. type: integer
  6672. convertratio:
  6673. description: 折算系数
  6674. type: number
  6675. enumdicname:
  6676. description: 单位名称
  6677. type: string
  6678. executeprice:
  6679. description: 执行价 [期权]
  6680. type: integer
  6681. goodscode:
  6682. description: 合约代码
  6683. type: string
  6684. goodsgroupid:
  6685. description: 对冲品种ID[期货合约商品组ID]
  6686. type: integer
  6687. goodsid:
  6688. description: 商品ID
  6689. type: integer
  6690. goodsname:
  6691. description: 合约名称
  6692. type: string
  6693. goodunitid:
  6694. description: 单位id
  6695. type: integer
  6696. hedgeflag:
  6697. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6698. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6699. type: integer
  6700. marketid:
  6701. description: 市场ID
  6702. type: integer
  6703. middlegoodsid:
  6704. description: 套保品种ID
  6705. type: integer
  6706. middlegoodsqty:
  6707. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6708. type: number
  6709. optioncode:
  6710. description: 期权代码 [期权]
  6711. type: string
  6712. ordertype:
  6713. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6714. type: integer
  6715. ordertypename:
  6716. description: 订单类型
  6717. type: string
  6718. parentaccountid:
  6719. description: 所属母账户
  6720. type: integer
  6721. premium:
  6722. description: 权利金 [期权]
  6723. type: number
  6724. relatedlot:
  6725. description: 已关联数量(已关联数量手) | db:关联手数
  6726. type: number
  6727. relatedouttradeid:
  6728. description: 关联外部成交单ID
  6729. type: string
  6730. relatedqty:
  6731. description: 关联数量
  6732. type: number
  6733. spotcontractid:
  6734. description: 现货合同ID [4:套期保值\10\11]
  6735. type: string
  6736. taname:
  6737. description: 期货账户名称
  6738. type: string
  6739. tradeamount:
  6740. description: 成交金额(账户)
  6741. type: number
  6742. tradedate:
  6743. description: 交易日(yyyyMMdd)
  6744. type: string
  6745. tradeid:
  6746. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6747. type: string
  6748. tradelot:
  6749. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6750. type: integer
  6751. tradeprice:
  6752. description: 成交价格
  6753. type: number
  6754. tradetime:
  6755. description: 时间 | db:成交时间
  6756. type: string
  6757. tradetype:
  6758. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6759. type: integer
  6760. userid:
  6761. description: 所属机构 - 所属母账户的UserID
  6762. type: string
  6763. username:
  6764. description: 用户名称
  6765. type: string
  6766. type: object
  6767. models.Ermcp3ParamChangeApp:
  6768. properties:
  6769. aftervalue:
  6770. description: 变更后
  6771. type: number
  6772. applicationid:
  6773. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6774. type: string
  6775. applyid:
  6776. description: 申请人
  6777. type: string
  6778. applyname:
  6779. description: 申请人名称(代码)
  6780. type: string
  6781. applyremark:
  6782. description: 申请备注
  6783. type: string
  6784. applysrc:
  6785. description: 申请来源 - 1:管理端 2:终端
  6786. type: integer
  6787. applystatus:
  6788. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6789. type: integer
  6790. applytime:
  6791. description: 申请时间
  6792. type: string
  6793. areauserid:
  6794. description: 所属机构用户ID
  6795. type: integer
  6796. auditid:
  6797. description: 审核人
  6798. type: string
  6799. auditname:
  6800. description: 审核人名称(代码)
  6801. type: string
  6802. auditremark:
  6803. description: 审核备注
  6804. type: string
  6805. auditsrc:
  6806. description: 审核来源 - 1:管理端 2:终端
  6807. type: integer
  6808. audittime:
  6809. description: 审核时间
  6810. type: string
  6811. audittradedate:
  6812. description: 审核交易日(yyyyMMdd)
  6813. type: string
  6814. beforevalue:
  6815. description: 变更前
  6816. type: number
  6817. deliverygoodscode:
  6818. description: 品种代码
  6819. type: string
  6820. deliverygoodsid:
  6821. description: 品种id
  6822. type: integer
  6823. deliverygoodsname:
  6824. description: 品种名称
  6825. type: string
  6826. middlegoodscode:
  6827. description: 套保品种代码
  6828. type: string
  6829. middlegoodsid:
  6830. description: 套保品种ID [ParamChangeType = 2,3,4]
  6831. type: integer
  6832. middlegoodsname:
  6833. description: 套保品种名称
  6834. type: string
  6835. operatetype:
  6836. description: 操作类型 - 1:新增 2:修改
  6837. type: integer
  6838. paramchangetype:
  6839. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6840. type: integer
  6841. wrstandardcode:
  6842. description: 现货商品代码
  6843. type: string
  6844. wrstandardid:
  6845. description: 现货商品ID [ParamChangeType = 1,2,3]
  6846. type: integer
  6847. wrstandardname:
  6848. description: 现货商品名称
  6849. type: string
  6850. type: object
  6851. models.Ermcp3RootUserAccount:
  6852. properties:
  6853. accountname:
  6854. description: 账户名称(机构名称)
  6855. type: string
  6856. accountstatus:
  6857. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6858. type: integer
  6859. applysrc:
  6860. description: 申请来源 - 1:管理端 2:终端
  6861. type: integer
  6862. auditremark:
  6863. description: 审核备注
  6864. type: string
  6865. auditsrc:
  6866. description: 审核来源 - 1:管理端 2:终端
  6867. type: integer
  6868. audittime:
  6869. description: 审核时间
  6870. type: string
  6871. audituserid:
  6872. description: 审核人
  6873. type: integer
  6874. broker:
  6875. description: 所属经纪人ID
  6876. type: integer
  6877. canceltime:
  6878. description: 销户时间
  6879. type: string
  6880. canceluserid:
  6881. description: 销户人
  6882. type: integer
  6883. canrecommend:
  6884. description: 是否可推荐 - 0:不可 1;可
  6885. type: integer
  6886. createtime:
  6887. description: 创建时间
  6888. type: string
  6889. creatorid:
  6890. description: 创建人
  6891. type: integer
  6892. hasauth:
  6893. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6894. type: integer
  6895. isanonymous:
  6896. description: 是否匿名下单 - 0:否 1:是
  6897. type: integer
  6898. maxinvestornum:
  6899. description: 最大用户数(经纪会员下投资者个数)
  6900. type: integer
  6901. memberuserid:
  6902. description: 所属会员ID
  6903. type: integer
  6904. modifierid:
  6905. description: 修改人
  6906. type: integer
  6907. modifyremark:
  6908. description: 变更备注
  6909. type: string
  6910. modifystatus:
  6911. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6912. type: integer
  6913. modifytime:
  6914. description: 修改时间
  6915. type: string
  6916. nickname:
  6917. description: 昵称
  6918. type: string
  6919. parenttopuser:
  6920. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6921. type: string
  6922. parentuserid:
  6923. description: 所属机构ID
  6924. type: integer
  6925. reckonaccountid:
  6926. description: 默认结算资金账号ID(机构分润使用) 作废
  6927. type: integer
  6928. refercount:
  6929. description: 推荐总人数
  6930. type: integer
  6931. refereeuserid:
  6932. description: 推荐人ID
  6933. type: integer
  6934. refernum:
  6935. description: 推荐码
  6936. type: string
  6937. rootuserid:
  6938. description: 根用户ID
  6939. type: integer
  6940. subaccountlevel:
  6941. description: 子账户层数
  6942. type: integer
  6943. subarealevelpath:
  6944. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6945. type: string
  6946. userid:
  6947. description: 用户ID
  6948. type: integer
  6949. usertype:
  6950. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6951. type: integer
  6952. type: object
  6953. models.Ermcp3SCMiddleGoods:
  6954. properties:
  6955. biztype:
  6956. description: 业务类型 1:套保 2:套利
  6957. type: integer
  6958. contractno:
  6959. description: 合同编号
  6960. type: string
  6961. contracttype:
  6962. description: 合同类型 1:采购 -1:销售
  6963. type: integer
  6964. convertratio:
  6965. description: 折算系数
  6966. type: number
  6967. customername:
  6968. description: 对手手名称
  6969. type: string
  6970. customeruserid:
  6971. description: 对手id
  6972. type: integer
  6973. deliverygoodscode:
  6974. description: 现货品种代码
  6975. type: string
  6976. deliverygoodsid:
  6977. description: 现货品种ID
  6978. type: integer
  6979. deliverygoodsname:
  6980. description: 现货品种名称
  6981. type: string
  6982. enumdicname:
  6983. description: 现货单位名称
  6984. type: string
  6985. middlegoodsid:
  6986. description: 套保品种ID
  6987. type: integer
  6988. middlegoodspricedqty3:
  6989. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6990. type: number
  6991. needhedgeratio:
  6992. description: 套保比例
  6993. type: number
  6994. pricedqty:
  6995. description: 已定价量
  6996. type: number
  6997. relatedmiddlegoodsqty:
  6998. description: 已关联量(套保品种)(期货)
  6999. type: number
  7000. spotcontractid:
  7001. description: 合同编号
  7002. type: string
  7003. unitid:
  7004. description: 现货单位id
  7005. type: integer
  7006. userid:
  7007. description: 用户id
  7008. type: integer
  7009. vatrate:
  7010. description: 增值税率
  7011. type: number
  7012. wrstandardcode:
  7013. description: 现货商品代码
  7014. type: string
  7015. wrstandardid:
  7016. description: 现货商品id
  7017. type: integer
  7018. wrstandardname:
  7019. description: 现货商品名称
  7020. type: string
  7021. type: object
  7022. models.Ermcp3SCMiddleGoodsReport:
  7023. properties:
  7024. begindate:
  7025. description: 开始交易日
  7026. type: string
  7027. contractno:
  7028. description: 合同编号
  7029. type: string
  7030. contracttype:
  7031. description: 合同类型 1:采购 -1:销售
  7032. type: integer
  7033. convertratio:
  7034. description: 折算系数
  7035. type: number
  7036. cycletime:
  7037. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7038. type: string
  7039. cycletype:
  7040. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7041. type: integer
  7042. deliverygoodscode:
  7043. description: 品种代码
  7044. type: string
  7045. deliverygoodsid:
  7046. description: 现货品种ID
  7047. type: integer
  7048. deliverygoodsname:
  7049. description: 品种名称
  7050. type: string
  7051. diffprice:
  7052. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  7053. type: number
  7054. diffqty:
  7055. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  7056. type: number
  7057. enddate:
  7058. description: 结束交易日
  7059. type: string
  7060. hedgeplanqty:
  7061. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  7062. type: number
  7063. matchname:
  7064. description: 交易对手方(个人:用户名称 企业:简称)
  7065. type: string
  7066. matchnickname:
  7067. description: 交易对手方昵称
  7068. type: string
  7069. middlegoodscode:
  7070. description: 套保品种代码
  7071. type: string
  7072. middlegoodsid:
  7073. description: 套保品种ID
  7074. type: integer
  7075. middlegoodsname:
  7076. description: 套保品种名称
  7077. type: string
  7078. middlegoodspricedqty:
  7079. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  7080. type: number
  7081. middlegoodspricedqty2:
  7082. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  7083. type: number
  7084. middlegoodspricedqty3:
  7085. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  7086. type: number
  7087. needhedgeratio:
  7088. description: 套保系数
  7089. type: number
  7090. pricedamount:
  7091. description: 已定价额(现货)
  7092. type: number
  7093. pricedamount2:
  7094. description: 已定价额(现货-基价额)
  7095. type: number
  7096. pricedqty:
  7097. description: 已定价量(现货)
  7098. type: number
  7099. reckondate:
  7100. description: 日照时期(yyyyMMdd)
  7101. type: string
  7102. relatedmiddlegoodsamount:
  7103. description: 已关联额(期货)
  7104. type: number
  7105. relatedmiddlegoodsqty:
  7106. description: 已关联量(套保品种)(期货)
  7107. type: number
  7108. spotcontractid:
  7109. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7110. type: string
  7111. todayavgfutuprice:
  7112. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  7113. type: number
  7114. todayavgprice:
  7115. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  7116. type: number
  7117. todayavgprice2:
  7118. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  7119. type: number
  7120. todaypricedamount:
  7121. description: 今日定价额(现货)
  7122. type: number
  7123. todaypricedamount2:
  7124. description: 今日定价额(现货-基价额)
  7125. type: number
  7126. todaypricedqty:
  7127. description: 今日定价量(现货)
  7128. type: number
  7129. todayrelatedfutureqty:
  7130. description: 今日关联量(期货)
  7131. type: number
  7132. todayrelatedmiddlegoodsamount:
  7133. description: 今日关联额(期货)
  7134. type: number
  7135. todayrelatedmiddlegoodsqty:
  7136. description: 今日关联量(套保品-期货)
  7137. type: number
  7138. updatetime:
  7139. description: 更新时间
  7140. type: string
  7141. userid:
  7142. description: 合同所属用户id
  7143. type: integer
  7144. vatrate:
  7145. description: 增值税率
  7146. type: number
  7147. wrstandardcode:
  7148. description: 商品(品类) 代码
  7149. type: string
  7150. wrstandardid:
  7151. description: 现货商品ID
  7152. type: integer
  7153. wrstandardname:
  7154. description: 商品(品类) 名称
  7155. type: string
  7156. type: object
  7157. models.Ermcp3SellBuyContract:
  7158. properties:
  7159. accountid:
  7160. description: 期货账户id
  7161. type: string
  7162. accountname:
  7163. description: 账户名称
  7164. type: string
  7165. attachment:
  7166. description: 附件
  7167. type: string
  7168. audittime:
  7169. description: 审核时间
  7170. type: string
  7171. bizsubjectid:
  7172. description: 归属业务部门ID - SubjectID
  7173. type: integer
  7174. biztype:
  7175. description: 业务类型 1-套保 2-套利
  7176. type: integer
  7177. brandname:
  7178. description: 品牌名称
  7179. type: string
  7180. contracctstatus:
  7181. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7182. type: integer
  7183. contractmargin:
  7184. description: 合同保证金
  7185. type: number
  7186. contractno:
  7187. description: 合同编号
  7188. type: string
  7189. contracttype:
  7190. description: 合同类型 1-采购, -1-销售
  7191. type: integer
  7192. convertfactor:
  7193. description: 标仓系数(品类)
  7194. type: number
  7195. createtime:
  7196. description: 创建时间
  7197. type: string
  7198. currencyid:
  7199. description: 币种id
  7200. type: integer
  7201. currencyname:
  7202. description: 币种名称
  7203. type: string
  7204. daikaiamount:
  7205. description: 应收(开)票额 | 未收票额
  7206. type: number
  7207. deliveryenddate:
  7208. description: 交割结束日
  7209. type: string
  7210. deliverygoodscode:
  7211. description: 现货品种代码
  7212. type: string
  7213. deliverygoodsid:
  7214. description: 现货商品ID
  7215. type: integer
  7216. deliverygoodsname:
  7217. description: 现货品种名称
  7218. type: string
  7219. deliverystartdate:
  7220. description: 交割开始日
  7221. type: string
  7222. enddate:
  7223. description: 点价结束日
  7224. type: string
  7225. enumdicname:
  7226. description: 单位名称
  7227. type: string
  7228. goodscode:
  7229. description: 点价商品代码
  7230. type: string
  7231. goodsgroupid:
  7232. description: 点价商品组id
  7233. type: integer
  7234. goodsid:
  7235. description: 点价商品ID
  7236. type: integer
  7237. goodsname:
  7238. description: 点价商品名称
  7239. type: string
  7240. invoiceamount:
  7241. description: 已开票额
  7242. type: number
  7243. loanamount:
  7244. description: 贷款总额=已定价额+调整金额
  7245. type: number
  7246. margin:
  7247. description: 保证金
  7248. type: number
  7249. meruserid:
  7250. description: 跟单员id
  7251. type: integer
  7252. meruserlogincode:
  7253. description: 跟单员登录代码
  7254. type: string
  7255. merusername:
  7256. description: 跟单员名称
  7257. type: string
  7258. nickname:
  7259. description: 账户昵称
  7260. type: string
  7261. orireckonrealqty:
  7262. description: 应交收量
  7263. type: number
  7264. payamount:
  7265. description: 已收付额(收款或付款)
  7266. type: number
  7267. preinvoiceamount:
  7268. description: 预收(开)票额
  7269. type: number
  7270. prepayamount:
  7271. description: 预收付额
  7272. type: number
  7273. price:
  7274. description: 价格
  7275. type: number
  7276. pricedamount:
  7277. description: 已定价额
  7278. type: number
  7279. pricedavg:
  7280. description: 已点均价
  7281. type: number
  7282. pricedqty:
  7283. description: 已定价量
  7284. type: number
  7285. pricemove:
  7286. description: 升贴水
  7287. type: number
  7288. pricetype:
  7289. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7290. type: integer
  7291. producttype:
  7292. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7293. type: integer
  7294. qty:
  7295. description: 合同量
  7296. type: number
  7297. reckonadjustamount:
  7298. description: 调整金额
  7299. type: number
  7300. reckonedamount:
  7301. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7302. type: number
  7303. reckonotheramount:
  7304. description: 其它费用
  7305. type: number
  7306. reckonrealqty:
  7307. description: 已交收量
  7308. type: number
  7309. remark:
  7310. description: 备注
  7311. type: string
  7312. saleuserid:
  7313. description: 业务员id
  7314. type: integer
  7315. saleuserlogincode:
  7316. description: 业务员登录代码
  7317. type: string
  7318. saleusername:
  7319. description: 业务员名称
  7320. type: string
  7321. spotcontractid:
  7322. description: 合同ID
  7323. type: string
  7324. spotgoodsbrandid:
  7325. description: 现货品牌ID(DGFactoryItem表的ID)
  7326. type: integer
  7327. spotgoodsdesc:
  7328. description: 商品型号(商品规格)
  7329. type: string
  7330. startdate:
  7331. description: 点价开始日
  7332. type: string
  7333. subjectid:
  7334. description: 交易主体ID
  7335. type: integer
  7336. subjectname:
  7337. description: 交易主体名称
  7338. type: string
  7339. totalamount:
  7340. description: 合计总额
  7341. type: number
  7342. tradeuserid:
  7343. description: 交易员id
  7344. type: integer
  7345. tradeuserlogincode:
  7346. description: 交易员登录代码
  7347. type: string
  7348. tradeusername:
  7349. description: 交易员名称
  7350. type: string
  7351. unpayamount:
  7352. description: 应收付款额(应支付或应收款) | 未付款额
  7353. type: number
  7354. unpricedqty:
  7355. description: 未定价量
  7356. type: number
  7357. unsureqty:
  7358. description: 未确定量 | 未交收量
  7359. type: number
  7360. userid:
  7361. description: 机构ID
  7362. type: integer
  7363. vatrate:
  7364. description: 增值税率
  7365. type: number
  7366. wrstandardcode:
  7367. description: 品类代码
  7368. type: string
  7369. wrstandardid:
  7370. description: 品类ID
  7371. type: integer
  7372. wrstandardname:
  7373. description: 品类名称
  7374. type: string
  7375. type: object
  7376. models.Ermcp3SpotGoodsPrice:
  7377. properties:
  7378. areauserid:
  7379. description: 所属机构id
  7380. type: integer
  7381. brandname:
  7382. description: 品牌名称
  7383. type: string
  7384. currencyid:
  7385. description: 报价货币ID
  7386. type: integer
  7387. currencyname:
  7388. description: 币种名称
  7389. type: string
  7390. deliverygoodscode:
  7391. description: 现货商品代码
  7392. type: string
  7393. deliverygoodsid:
  7394. description: 现货商品id
  7395. type: integer
  7396. deliverygoodsname:
  7397. description: 现货商品名称
  7398. type: string
  7399. enumdicname:
  7400. description: 现货商品单位名称
  7401. type: string
  7402. gbenumdicname:
  7403. description: 品类单位名称
  7404. type: string
  7405. gmunitid:
  7406. description: 品类单位id
  7407. type: integer
  7408. isvalid:
  7409. description: 是否有效 - 0:无效 1:有效
  7410. type: integer
  7411. operateid:
  7412. description: 最后操作人
  7413. type: integer
  7414. operatesrc:
  7415. description: 最后操作来源 - 1:管理端 2:终端
  7416. type: integer
  7417. operatetime:
  7418. description: 最后操作时间
  7419. type: string
  7420. operatorname:
  7421. description: 操作人名称
  7422. type: string
  7423. spotgoodsbrandid:
  7424. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7425. type: integer
  7426. spotgoodsprice:
  7427. description: 现货价格
  7428. type: number
  7429. tradedate:
  7430. description: 交易日(yyyyMMdd)
  7431. type: string
  7432. unitid:
  7433. description: 现货商品单位id
  7434. type: integer
  7435. wrstandardcode:
  7436. description: 品类代码
  7437. type: string
  7438. wrstandardid:
  7439. description: 现货品类ID(通用则为0)
  7440. type: integer
  7441. wrstandardname:
  7442. description: 品类名称
  7443. type: string
  7444. type: object
  7445. models.Ermcp3SpotGoodsPriceLog:
  7446. properties:
  7447. areauserid:
  7448. description: 所属机构id
  7449. type: integer
  7450. brandname:
  7451. description: 品牌名称
  7452. type: string
  7453. currencyid:
  7454. description: 报价货币ID
  7455. type: integer
  7456. deliverygoodscode:
  7457. description: 现货商品代码
  7458. type: string
  7459. deliverygoodsid:
  7460. description: 现货商品id
  7461. type: integer
  7462. deliverygoodsname:
  7463. description: 现货商品名称
  7464. type: string
  7465. enumdicname:
  7466. description: 现货商品单位名称
  7467. type: string
  7468. gbenumdicname:
  7469. description: 品类单位名称
  7470. type: string
  7471. gmunitid:
  7472. description: 品类单位id
  7473. type: integer
  7474. logid:
  7475. description: 日志id
  7476. type: integer
  7477. operateid:
  7478. description: 最后操作人
  7479. type: integer
  7480. operatesrc:
  7481. description: 最后操作来源 - 1:管理端 2:终端
  7482. type: integer
  7483. operatetime:
  7484. description: 最后操作时间
  7485. type: string
  7486. operatorname:
  7487. description: 操作人名称
  7488. type: string
  7489. spotgoodsbrandid:
  7490. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7491. type: integer
  7492. spotgoodsprice:
  7493. description: 现货价格
  7494. type: number
  7495. tradedate:
  7496. description: 交易日(yyyyMMdd)
  7497. type: string
  7498. unitid:
  7499. description: 现货商品单位id
  7500. type: integer
  7501. wrstandardcode:
  7502. description: 品类代码
  7503. type: string
  7504. wrstandardid:
  7505. description: 现货品类ID(通用则为0)
  7506. type: integer
  7507. wrstandardname:
  7508. description: 品类名称
  7509. type: string
  7510. type: object
  7511. models.Ermcp3SubTaaccount:
  7512. properties:
  7513. accountid:
  7514. description: 资金账户ID
  7515. type: integer
  7516. parentaccountcode:
  7517. description: 所属根账号代码(母账号代码)
  7518. type: string
  7519. parentaccountid:
  7520. description: 所属根账号(母账号)
  7521. type: integer
  7522. taname:
  7523. description: 资金账号名称
  7524. type: string
  7525. tradestatus:
  7526. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7527. type: integer
  7528. username:
  7529. description: 交易用户
  7530. type: string
  7531. type: object
  7532. models.Ermcp3TaFutuReDataReport:
  7533. properties:
  7534. accountid:
  7535. description: 交易账户
  7536. type: integer
  7537. accountname:
  7538. description: 交易账号名称
  7539. type: string
  7540. agreeunit:
  7541. description: 商品合约单位
  7542. type: number
  7543. begindate:
  7544. description: 开始交易日
  7545. type: string
  7546. buyorsell:
  7547. description: 持仓方向
  7548. type: integer
  7549. charge:
  7550. description: 手续费
  7551. type: number
  7552. closeavgprice:
  7553. description: 平仓均价
  7554. type: number
  7555. closepl:
  7556. description: 平仓损益
  7557. type: number
  7558. currencyid:
  7559. description: 结算币种ID
  7560. type: integer
  7561. currencyname:
  7562. description: 币种名称
  7563. type: string
  7564. cycletime:
  7565. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7566. type: string
  7567. cycletype:
  7568. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7569. type: integer
  7570. enddate:
  7571. description: 结束交易日
  7572. type: string
  7573. enumdicname:
  7574. description: 单位名称
  7575. type: string
  7576. floatpl:
  7577. description: 浮动损益
  7578. type: number
  7579. goodscode:
  7580. description: 交易合约代码
  7581. type: string
  7582. goodsgroupid:
  7583. description: 交易品种
  7584. type: integer
  7585. goodsgroupname:
  7586. description: 交易品种名称
  7587. type: string
  7588. goodsgroupspotqty:
  7589. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7590. type: number
  7591. goodsid:
  7592. description: 交易合约
  7593. type: integer
  7594. goodsname:
  7595. description: 交易合约名称
  7596. type: string
  7597. goodunitid:
  7598. description: 交易合约单位id
  7599. type: integer
  7600. holdamount:
  7601. description: 期末持仓额
  7602. type: number
  7603. holdqty:
  7604. description: 期末持仓量
  7605. type: number
  7606. lastholdamount:
  7607. description: 当前持仓额
  7608. type: number
  7609. lastprice:
  7610. description: 最新价
  7611. type: number
  7612. middlegoodsid:
  7613. description: 套保品种id
  7614. type: integer
  7615. middlegoodsname:
  7616. description: 套保商品名称
  7617. type: string
  7618. middlegoodsqty:
  7619. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7620. type: number
  7621. middlgoodscode:
  7622. description: 套保商品代码
  7623. type: string
  7624. openamount:
  7625. description: 期末开仓额
  7626. type: number
  7627. openavgprice:
  7628. description: 开仓均价
  7629. type: number
  7630. oriholdamount:
  7631. description: 期初持仓额
  7632. type: number
  7633. oriholdqty:
  7634. description: 期初持仓量
  7635. type: number
  7636. oriopenamount:
  7637. description: 期初开仓额
  7638. type: number
  7639. outergroupcode:
  7640. description: 交易品种代码
  7641. type: string
  7642. qtydecimalplace:
  7643. description: 成交量小数位
  7644. type: integer
  7645. reckondate:
  7646. description: 日照时期(yyyyMMdd)
  7647. type: string
  7648. reckonholdamount:
  7649. description: 结算持仓额
  7650. type: number
  7651. reckonpl:
  7652. description: 结算损益
  7653. type: number
  7654. reckonpl2:
  7655. description: 结算逐笔盈亏
  7656. type: number
  7657. reckonprice:
  7658. description: 结算价
  7659. type: number
  7660. relateduserid:
  7661. description: 账户关联用户ID
  7662. type: integer
  7663. todaycloseamount:
  7664. description: 今平仓额
  7665. type: number
  7666. todaycloseqty:
  7667. description: 今平仓量
  7668. type: number
  7669. todaygoodsgroupspotqty:
  7670. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7671. type: number
  7672. todaymiddlegoodsqty:
  7673. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7674. type: number
  7675. todayopenamount:
  7676. description: 今开仓额
  7677. type: number
  7678. todayopenqty:
  7679. description: 今开仓量
  7680. type: number
  7681. userid:
  7682. description: 账户所属用户ID
  7683. type: integer
  7684. type: object
  7685. models.Ermcp3TradeLinkDetail:
  7686. properties:
  7687. accountid:
  7688. description: 资金账号
  7689. type: integer
  7690. agreeunit:
  7691. description: 合约乘数
  7692. type: number
  7693. areauserid:
  7694. description: 所属机构
  7695. type: string
  7696. bizsubjectid:
  7697. description: 归属业务部门ID - SubjectID
  7698. type: string
  7699. buyorsell:
  7700. description: 方向 - 0:买 1:卖
  7701. type: integer
  7702. channelbuildtype:
  7703. description: 委托单据类型 0:无 1:建仓 2:平仓
  7704. type: integer
  7705. contractno:
  7706. description: 现货编号 (合同编号)
  7707. type: string
  7708. convertratio:
  7709. description: 折算系数
  7710. type: number
  7711. createtime:
  7712. description: 关联时间 | 创建时间
  7713. type: string
  7714. creatorid:
  7715. description: 创建人ID
  7716. type: string
  7717. creatorsrc:
  7718. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7719. type: integer
  7720. enumdicname:
  7721. description: 单位名称
  7722. type: string
  7723. goodscode:
  7724. description: 合约代码
  7725. type: string
  7726. goodsgroupid:
  7727. description: 对冲品种ID[期货合约商品组ID]
  7728. type: integer
  7729. goodsid:
  7730. description: 商品ID
  7731. type: integer
  7732. goodsname:
  7733. description: 合约名称
  7734. type: string
  7735. hedgeflag:
  7736. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7737. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7738. type: integer
  7739. linkdetailid:
  7740. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7741. type: string
  7742. linkstatus:
  7743. description: 关联状态 - 1:成功 2:失败 3:解绑
  7744. type: integer
  7745. middlegoodscode:
  7746. description: 套保品种代码
  7747. type: string
  7748. middlegoodsid:
  7749. description: 套保品种ID
  7750. type: integer
  7751. middlegoodsname:
  7752. description: 套保品种名称
  7753. type: string
  7754. relatedlot:
  7755. description: 关联手数
  7756. type: number
  7757. relatedmode:
  7758. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7759. type: integer
  7760. relatedqty:
  7761. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7762. type: number
  7763. retcode:
  7764. description: 返回码
  7765. type: integer
  7766. saleuserid:
  7767. description: 业务员ID
  7768. type: string
  7769. spotcontractid:
  7770. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7771. type: string
  7772. taname:
  7773. description: 期货账户
  7774. type: string
  7775. tradedate:
  7776. description: 关联交易日(yyyyMMdd)
  7777. type: string
  7778. tradeid:
  7779. description: 期货订单号 | 内部成交单ID
  7780. type: string
  7781. tradelot:
  7782. description: 成交数量 | 成交手数
  7783. type: integer
  7784. tradeprice:
  7785. description: 成交价格
  7786. type: number
  7787. tradetime:
  7788. description: 期货成交时间
  7789. type: string
  7790. tradetradedate:
  7791. description: 成交交易日(yyyyMMdd)
  7792. type: string
  7793. username:
  7794. description: 用户名称
  7795. type: string
  7796. type: object
  7797. models.Ermcp3Wrstandard:
  7798. properties:
  7799. areauserid:
  7800. description: 所属机构
  7801. type: integer
  7802. cantrade:
  7803. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7804. type: integer
  7805. convertfactor:
  7806. description: 标仓系数
  7807. type: number
  7808. createtime:
  7809. description: 创建时间
  7810. type: string
  7811. creatorid:
  7812. description: 创建人
  7813. type: integer
  7814. deliverygoodsid:
  7815. description: 现货品种ID
  7816. type: integer
  7817. enumdicname:
  7818. description: 品类单位名称
  7819. type: string
  7820. isvalid:
  7821. description: 是否有效 0-无效(停用) 1-有效(正常)
  7822. type: integer
  7823. minivalue:
  7824. description: 最小变动值
  7825. type: integer
  7826. minivaluedp:
  7827. description: 最小变动值小数位
  7828. type: integer
  7829. realminivalue:
  7830. description: 实际最小变动值
  7831. type: integer
  7832. realminivaluedp:
  7833. description: 实际最小变动值小数位
  7834. type: integer
  7835. remark:
  7836. description: 备注
  7837. type: string
  7838. unitid:
  7839. description: 品类单位ID
  7840. type: integer
  7841. updatetime:
  7842. description: 更新时间
  7843. type: string
  7844. wrstandardcode:
  7845. description: 品类代码
  7846. type: string
  7847. wrstandardid:
  7848. description: 品类ID(SEQ_WRSTANDARD)
  7849. type: integer
  7850. wrstandardname:
  7851. description: 品类名称
  7852. type: string
  7853. type: object
  7854. models.Ermcp8EnableHedgeditem:
  7855. properties:
  7856. accountname:
  7857. description: 套期主体
  7858. type: string
  7859. hedgeditemid:
  7860. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7861. type: string
  7862. hedgeditemname:
  7863. description: 项目名称
  7864. type: string
  7865. hedgeditemnum:
  7866. description: 项目编号
  7867. type: string
  7868. hedgedtype:
  7869. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7870. type: integer
  7871. planenddate:
  7872. description: 计划结束日期
  7873. type: string
  7874. planstartdate:
  7875. description: 计划开始日期
  7876. type: string
  7877. wrstandardid:
  7878. description: 现货商品ID
  7879. type: integer
  7880. wrstandardname:
  7881. description: 现货商品
  7882. type: string
  7883. type: object
  7884. models.Ermcp8HedgeditemReport:
  7885. properties:
  7886. accountname:
  7887. description: 套期主体
  7888. type: string
  7889. areauserid:
  7890. description: 企业ID
  7891. type: integer
  7892. curprice:
  7893. description: '[当日现货市场价]当前市场价'
  7894. type: number
  7895. enumdicname:
  7896. description: 单位
  7897. type: string
  7898. exeamount:
  7899. description: '[执行现货金额]执行市价总额'
  7900. type: number
  7901. exeavgprice:
  7902. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7903. type: number
  7904. exeqty:
  7905. description: '[执行数量]执行现货量'
  7906. type: number
  7907. futurehedgepl:
  7908. description: 期货实际损益
  7909. type: number
  7910. futurehedgeplchange:
  7911. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7912. type: number
  7913. futurepl:
  7914. description: 期货套期损益
  7915. type: number
  7916. futureplchange:
  7917. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7918. type: number
  7919. hedgeamount:
  7920. description: '[套期现货金额]套期市价总额'
  7921. type: number
  7922. hedgeditemnum:
  7923. description: 项目编号,模糊查询
  7924. type: string
  7925. hedgeditemstatus:
  7926. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7927. type: integer
  7928. hedgedtype:
  7929. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7930. type: integer
  7931. hedgeqty:
  7932. description: '[套期数量]套期现货量'
  7933. type: number
  7934. oriavgprice:
  7935. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7936. type: number
  7937. orifuturehedgepl:
  7938. description: 期初期货实际损益
  7939. type: number
  7940. orifuturepl:
  7941. description: 期初期货套期损益
  7942. type: number
  7943. orispothedgepl:
  7944. description: 期初现货实际损益
  7945. type: number
  7946. orispotpl:
  7947. description: 期初现货套期损益
  7948. type: number
  7949. planenddate:
  7950. description: 计划结束日期
  7951. type: string
  7952. planstartdate:
  7953. description: 计划开始日期
  7954. type: string
  7955. spothedgepl:
  7956. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7957. type: number
  7958. spothedgeplchange:
  7959. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7960. type: number
  7961. spotpl:
  7962. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7963. type: number
  7964. spotplchange:
  7965. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7966. type: number
  7967. tradeuserid:
  7968. description: 交易用户ID
  7969. type: integer
  7970. unexeqty:
  7971. description: 未执行现货量 = 套期现货量 - 执行现货量
  7972. type: number
  7973. wrstandardcode:
  7974. description: 现货品类代码
  7975. type: string
  7976. wrstandardid:
  7977. description: 现货商品ID
  7978. type: integer
  7979. wrstandardname:
  7980. description: '[现货商品]现货品类名称'
  7981. type: string
  7982. type: object
  7983. models.Ermcp8RunningHedgeditem:
  7984. properties:
  7985. accountname:
  7986. description: 套期主体
  7987. type: string
  7988. applyid:
  7989. description: 申请人
  7990. type: integer
  7991. applysrc:
  7992. description: 申请来源 - 1:管理端 2:终端
  7993. type: integer
  7994. areauserid:
  7995. description: 企业ID
  7996. type: integer
  7997. auditid:
  7998. description: 审核人
  7999. type: integer
  8000. auditremark:
  8001. description: 审核备注
  8002. type: string
  8003. auditsrc:
  8004. description: 审核来源 - 1:管理端 2:终端
  8005. type: integer
  8006. audittime:
  8007. description: 审核时间
  8008. type: string
  8009. audittradedate:
  8010. description: 审核交易日(yyyyMMdd)
  8011. type: string
  8012. createtime:
  8013. description: 申请时间
  8014. type: string
  8015. curprice:
  8016. description: 当前市场价
  8017. type: number
  8018. curstock:
  8019. description: 期末库存量 = 采购总量 - 销售总量
  8020. type: number
  8021. deliverygoodsid:
  8022. description: 现货品种ID
  8023. type: integer
  8024. enddate:
  8025. description: 完成日期
  8026. type: string
  8027. endtradedate:
  8028. description: 完成交易日
  8029. type: string
  8030. enumdicname:
  8031. description: 单位
  8032. type: string
  8033. exeamount:
  8034. description: 执行市价总额
  8035. type: number
  8036. exeavgprice:
  8037. description: 执行市场均价= 执行市价总额 / 执行现货量
  8038. type: number
  8039. execontractamount:
  8040. description: 执行定价总额
  8041. type: number
  8042. exeqty:
  8043. description: 执行现货量
  8044. type: number
  8045. exerestamount:
  8046. description: 执行剩余市价总额【现货贸易】
  8047. type: number
  8048. futurefloatpl:
  8049. description: 期货浮动损益
  8050. type: number
  8051. futurehedgepl:
  8052. description: 期货实际损益
  8053. type: number
  8054. futurehedgeplchange:
  8055. description: 期货实际损益变动
  8056. type: number
  8057. futurepl:
  8058. description: 期货套期损益
  8059. type: number
  8060. futureplchange:
  8061. description: 期货套期损益变动
  8062. type: number
  8063. hedgeamount:
  8064. description: 套期市价总额
  8065. type: number
  8066. hedgecontractamount:
  8067. description: 套期定价总额 【定价采购合同】【现货贸易】
  8068. type: number
  8069. hedgeditemid:
  8070. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8071. type: string
  8072. hedgeditemname:
  8073. description: 项目名称
  8074. type: string
  8075. hedgeditemnum:
  8076. description: 项目编号
  8077. type: string
  8078. hedgeditemstatus:
  8079. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8080. type: integer
  8081. hedgedtype:
  8082. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8083. type: integer
  8084. hedgeqty:
  8085. description: 套期现货量
  8086. type: number
  8087. hedgerate:
  8088. description: 套保比率
  8089. type: number
  8090. hedgerestamount:
  8091. description: 套期剩余市价总额【现货贸易】
  8092. type: number
  8093. hedgesumpl:
  8094. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8095. type: number
  8096. middlegoodslist:
  8097. description: 套期商品列表
  8098. items:
  8099. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8100. type: array
  8101. oriavgprice:
  8102. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8103. type: number
  8104. orifuturehedgepl:
  8105. description: 期初期货实际损益
  8106. type: number
  8107. orifuturepl:
  8108. description: 期初期货套期损益
  8109. type: number
  8110. orispothedgepl:
  8111. description: 期初现货实际损益
  8112. type: number
  8113. orispotpl:
  8114. description: 期初现货套期损益
  8115. type: number
  8116. planenddate:
  8117. description: 计划结束日期
  8118. type: string
  8119. planstartdate:
  8120. description: 计划开始日期
  8121. type: string
  8122. remark:
  8123. description: 备注
  8124. type: string
  8125. spotbookamount:
  8126. description: 现货账面总额
  8127. type: number
  8128. spotfloatpl:
  8129. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8130. type: number
  8131. spothedgepl:
  8132. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8133. type: number
  8134. spothedgeplchange:
  8135. description: 现货实际损益变动
  8136. type: number
  8137. spotpl:
  8138. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8139. type: number
  8140. spotplchange:
  8141. description: 现货套期损益变动
  8142. type: number
  8143. spottradepl:
  8144. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8145. type: number
  8146. sumobspl:
  8147. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8148. type: number
  8149. tradeuserid:
  8150. description: 交易用户ID
  8151. type: integer
  8152. unexeqty:
  8153. description: 未执行现货量 = 套期现货量 - 执行现货量
  8154. type: number
  8155. updatetime:
  8156. description: 更新时间
  8157. type: string
  8158. vatpl:
  8159. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8160. type: number
  8161. vatrate:
  8162. description: 增值税
  8163. type: number
  8164. wrstandardid:
  8165. description: 现货商品ID
  8166. type: integer
  8167. wrstandardname:
  8168. description: 商品名称
  8169. type: string
  8170. type: object
  8171. models.ErmcpBizGroupEx:
  8172. properties:
  8173. acclist:
  8174. description: 账号列表
  8175. items:
  8176. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8177. type: array
  8178. bizgroupid:
  8179. description: 业务分组id
  8180. type: integer
  8181. biztype:
  8182. description: 业务类型 1-套保 2-套利
  8183. type: integer
  8184. wrlist:
  8185. description: 现货商品表
  8186. items:
  8187. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8188. type: array
  8189. type: object
  8190. models.ErmcpBizGroupSpotGoods:
  8191. properties:
  8192. areauserid:
  8193. description: 所属机构id
  8194. type: integer
  8195. bizgroupid:
  8196. description: 分组id
  8197. type: integer
  8198. biztype:
  8199. description: 业务类型 1-套保 2-套利
  8200. type: integer
  8201. deliverygoodscode:
  8202. description: 现货商品代码
  8203. type: string
  8204. deliverygoodsid:
  8205. description: 现货商品id
  8206. type: integer
  8207. deliverygoodsname:
  8208. description: 现货商品名称
  8209. type: string
  8210. unitid:
  8211. description: 现货商品单位id
  8212. type: integer
  8213. type: object
  8214. models.ErmcpBizGroupTaAccount:
  8215. properties:
  8216. accountid:
  8217. description: 账号id
  8218. type: integer
  8219. accountname:
  8220. description: 账号名称
  8221. type: string
  8222. areauserid:
  8223. description: 所属机构id
  8224. type: integer
  8225. bizgroupid:
  8226. description: 业务分组id
  8227. type: integer
  8228. ismain:
  8229. description: 是否主账号 1-是 0-否
  8230. type: integer
  8231. type: object
  8232. models.ErmcpDGFactoryItem:
  8233. properties:
  8234. areauserid:
  8235. description: 用户id
  8236. type: integer
  8237. deliverygoodsid:
  8238. description: 现货品种ID
  8239. type: integer
  8240. dgfactoryitemid:
  8241. description: 选择项ID(SEQ_DGFACTORYITEM)
  8242. type: integer
  8243. dgfactoryitemtypeid:
  8244. description: 要素项类型
  8245. type: integer
  8246. dgfactoryitemvalue:
  8247. description: 要素项值(类型为仓库时填写仓库名称)
  8248. type: string
  8249. isvalid:
  8250. description: 是否有效 - 0:无效 1:有效
  8251. type: integer
  8252. orderindex:
  8253. description: 顺序
  8254. type: integer
  8255. warehouseid:
  8256. description: 仓库ID(类型为仓库时填写)
  8257. type: integer
  8258. type: object
  8259. models.ErmcpDeliveryGoods:
  8260. properties:
  8261. agreeunit:
  8262. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8263. type: integer
  8264. areauserid:
  8265. description: 所属机构
  8266. type: integer
  8267. auditflag:
  8268. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8269. type: integer
  8270. categoryid:
  8271. description: 类别ID(SEQ_WRCATEGORY)
  8272. type: integer
  8273. deliverygoodscode:
  8274. description: 现货品种代码
  8275. type: string
  8276. deliverygoodsid:
  8277. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8278. type: integer
  8279. deliverygoodsname:
  8280. description: 现货品种名称
  8281. type: string
  8282. deliverygoodstype:
  8283. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8284. type: integer
  8285. dgstatus:
  8286. description: 品种状态 - 作废 - 0:未激活 1:正常
  8287. type: integer
  8288. enumdicname:
  8289. description: 现货品种单位名称
  8290. type: string
  8291. goodsunitid:
  8292. description: 现货品种单位ID
  8293. type: integer
  8294. isvalid:
  8295. description: 是否有效 - 0:无效 1:有效
  8296. type: integer
  8297. qtydecimalplace:
  8298. description: 成交量小数位
  8299. type: integer
  8300. remark:
  8301. description: 备注
  8302. type: string
  8303. standardqty:
  8304. description: 标准数量(库位数量) [标准品特有]
  8305. type: integer
  8306. standardqtyrange:
  8307. description: 标准数量偏差范围 [标准品特有]
  8308. type: integer
  8309. type: object
  8310. models.ErmcpFuturesCompany:
  8311. properties:
  8312. brokerid:
  8313. description: 经纪公司代码
  8314. type: string
  8315. channeladdress:
  8316. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8317. type: string
  8318. channelid:
  8319. description: 对冲渠道ID
  8320. type: string
  8321. createtime:
  8322. description: 创建时间
  8323. type: string
  8324. creatorid:
  8325. description: 创建人
  8326. type: string
  8327. fcid:
  8328. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8329. type: integer
  8330. fcname:
  8331. description: 期货公司名称
  8332. type: string
  8333. isvalid:
  8334. description: 是否有效 - 0:无效 1:有效
  8335. type: integer
  8336. mhpaddress:
  8337. description: MHP服务地址(IP:Port)
  8338. type: string
  8339. riskrulegroupid:
  8340. description: 风控规则组ID
  8341. type: string
  8342. tradefeetmpid:
  8343. description: 手续费模板ID[TradeConfigTmpType为2]
  8344. type: string
  8345. trademargintmpid:
  8346. description: 保证金模板ID [TradeConfigTmpType为1]
  8347. type: string
  8348. traderatetmpid:
  8349. description: 汇率模板ID[TradeConfigTmpType为3]
  8350. type: string
  8351. updatetime:
  8352. description: 更新时间
  8353. type: string
  8354. updatorid:
  8355. description: 更新人
  8356. type: string
  8357. type: object
  8358. models.ErmcpGGConvertCfg:
  8359. properties:
  8360. convertratio:
  8361. description: 折算系数
  8362. type: number
  8363. destgoodsgroupid:
  8364. description: 目标品种ID
  8365. type: integer
  8366. dstcode:
  8367. description: 目录品种代码
  8368. type: string
  8369. dstexchangecode:
  8370. description: 目标期货交易所
  8371. type: string
  8372. dstname:
  8373. description: 目标品种名称
  8374. type: string
  8375. dstunitid:
  8376. description: 目标品种单位ID
  8377. type: integer
  8378. dstunitidname:
  8379. description: 目标品种单位名称
  8380. type: string
  8381. modifytime:
  8382. description: 修改时间
  8383. type: string
  8384. srccode:
  8385. description: 源品种代码
  8386. type: string
  8387. srcexchangecode:
  8388. description: 源期货交易所
  8389. type: string
  8390. srcgoodsgroupid:
  8391. description: 源品种ID
  8392. type: integer
  8393. srcname:
  8394. description: 源品种名称
  8395. type: string
  8396. srcunitid:
  8397. description: 源品种单位ID
  8398. type: integer
  8399. srcunitidname:
  8400. description: 源品种单位名称
  8401. type: string
  8402. type: object
  8403. models.ErmcpGoods:
  8404. properties:
  8405. agreeunit:
  8406. description: 合约单位
  8407. type: number
  8408. areauserid:
  8409. description: 所属机构
  8410. type: integer
  8411. auditaccountid:
  8412. description: 审核操作员账号
  8413. type: integer
  8414. audittime:
  8415. description: 审核时间
  8416. type: string
  8417. cancelaccountid:
  8418. description: 注销操作员账号
  8419. type: integer
  8420. canceltime:
  8421. description: 注销时间
  8422. type: string
  8423. closepricemode:
  8424. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8425. type: integer
  8426. closepriceparam:
  8427. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8428. type: number
  8429. createtime:
  8430. description: 创建时间
  8431. type: string
  8432. creatorid:
  8433. description: 创建人
  8434. type: integer
  8435. currencyid:
  8436. description: 报价货币ID
  8437. type: integer
  8438. cutmode:
  8439. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8440. type: integer
  8441. decimalplace:
  8442. description: 报价小数位
  8443. type: integer
  8444. delistingdate:
  8445. description: 商品退市时间(状态:退市) -- 已作废
  8446. type: string
  8447. delistingmode:
  8448. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8449. type: integer
  8450. deliveryflag:
  8451. description: 交割标志 - 0:不可交割 1:可交割
  8452. type: integer
  8453. enumdicname:
  8454. description: 单位名称
  8455. type: string
  8456. forceclosemode:
  8457. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8458. type: integer
  8459. forceclosevalue:
  8460. description: 定期强平参数 [收益权]
  8461. type: integer
  8462. goodscode:
  8463. description: 商品代码(内部)
  8464. type: string
  8465. goodscurrencyid:
  8466. description: 合约货币ID
  8467. type: integer
  8468. goodsgroupid:
  8469. description: 所属商品组ID
  8470. type: integer
  8471. goodsid:
  8472. description: 商品ID(自增ID SEQ_GOODS)
  8473. type: integer
  8474. goodsname:
  8475. description: 商品名称
  8476. type: string
  8477. goodsquotetype:
  8478. description: '合约报价类型: 1-直接报价 2-间接报价'
  8479. type: integer
  8480. goodsstatus:
  8481. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8482. type: integer
  8483. goodstradetype:
  8484. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8485. type: integer
  8486. goodunitid:
  8487. description: 报价单位ID
  8488. type: integer
  8489. hasquoter:
  8490. description: 是否有报价商 - 0:无报价商 1:有报价商
  8491. type: integer
  8492. hqprotecttime:
  8493. description: 行情保护时间(秒)
  8494. type: integer
  8495. innerdealmode:
  8496. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8497. type: integer
  8498. isbuylimited:
  8499. description: 是否限制建仓量 - 0:不限制 1:限制
  8500. type: integer
  8501. isvisible:
  8502. description: 游客是否可见 - 0:不可见 1:可见
  8503. type: integer
  8504. lasttradedate:
  8505. description: 最后交易日期(状态:待退市)
  8506. type: string
  8507. listingdate:
  8508. description: 交易开始日期
  8509. type: string
  8510. marketid:
  8511. description: 所属市场ID
  8512. type: integer
  8513. modifierid:
  8514. description: 修改人
  8515. type: integer
  8516. modifystatus:
  8517. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8518. type: integer
  8519. modifytime:
  8520. description: 修改时间
  8521. type: string
  8522. outerdealmode:
  8523. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8524. type: integer
  8525. outgoodscode:
  8526. description: 商品代码(外部)
  8527. type: string
  8528. pictureurl:
  8529. description: 商品图片
  8530. type: string
  8531. qtydecimalplace:
  8532. description: 成交量小数位
  8533. type: integer
  8534. quotegear:
  8535. description: 行情档位(1-10)
  8536. type: integer
  8537. quoteminunit:
  8538. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8539. type: integer
  8540. quoteshowtype:
  8541. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8542. type: integer
  8543. quoteshowtypeinterval:
  8544. description: 行情报价间隔时间(秒)(成交价时为0)
  8545. type: integer
  8546. relatedgoodsid:
  8547. description: 关联参考商品ID
  8548. type: integer
  8549. remark:
  8550. description: 备注
  8551. type: string
  8552. trademode:
  8553. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8554. 21:竞拍-大宗式 22:受托竞价
  8555. type: integer
  8556. required:
  8557. - goodscode
  8558. - goodsid
  8559. - goodsname
  8560. - marketid
  8561. type: object
  8562. models.ErmcpGoodsBrand:
  8563. properties:
  8564. areauserid:
  8565. description: 所属机构
  8566. type: integer
  8567. brandid:
  8568. description: BrandID(SEQ_SPOTGOODSBRAND)
  8569. type: integer
  8570. brandname:
  8571. description: 品牌名称
  8572. type: string
  8573. createtime:
  8574. description: 创建时间
  8575. type: string
  8576. creatorid:
  8577. description: 创建人
  8578. type: integer
  8579. creatorsrc:
  8580. description: 创建人来源 - 1:管理端 2:终端
  8581. type: integer
  8582. deliverygoodsid:
  8583. description: 现货品种ID
  8584. type: integer
  8585. isvalid:
  8586. description: 是否有效 - 0:无效 1:有效
  8587. type: integer
  8588. updatetime:
  8589. description: 更新时间
  8590. type: string
  8591. updatorid:
  8592. description: 更新人
  8593. type: integer
  8594. updatorsrc:
  8595. description: 更新人来源 - 1:管理端 2:终端
  8596. type: integer
  8597. wrstandardid:
  8598. description: 现货商品ID
  8599. type: integer
  8600. type: object
  8601. models.ErmcpGoodsModel:
  8602. properties:
  8603. areauserid:
  8604. description: 所属机构
  8605. type: integer
  8606. convertfactor:
  8607. description: 标仓系数
  8608. type: number
  8609. createtime:
  8610. description: 创建时间
  8611. type: string
  8612. creatorid:
  8613. description: 创建人
  8614. type: integer
  8615. creatorsrc:
  8616. description: 创建人来源 - 1:管理端 2:终端
  8617. type: integer
  8618. deliverygoodsid:
  8619. description: 现货品种ID
  8620. type: integer
  8621. isvalid:
  8622. description: 是否有效 - 0:无效 1:有效
  8623. type: integer
  8624. modelid:
  8625. description: ModelID(SEQ_SPOTGOODSMODEL)
  8626. type: integer
  8627. modelname:
  8628. description: 型号名称
  8629. type: string
  8630. updatetime:
  8631. description: 更新时间
  8632. type: string
  8633. updatorid:
  8634. description: 更新人
  8635. type: integer
  8636. updatorsrc:
  8637. description: 更新人来源 - 1:管理端 2:终端
  8638. type: integer
  8639. wrstandardid:
  8640. description: 现货商品ID
  8641. type: integer
  8642. type: object
  8643. models.ErmcpHisExposure:
  8644. properties:
  8645. needhedgeexposoure:
  8646. description: 应套保敞口
  8647. type: number
  8648. reckondate:
  8649. description: 日照时期(yyyyMMdd)
  8650. type: string
  8651. totalexposure:
  8652. description: 总敞口
  8653. type: number
  8654. type: object
  8655. models.ErmcpLoginTaAccount:
  8656. properties:
  8657. accountid:
  8658. description: 账号id
  8659. type: integer
  8660. accountname:
  8661. description: 账号名称
  8662. type: string
  8663. type: object
  8664. models.ErmcpLoginUser:
  8665. properties:
  8666. acclist:
  8667. description: 关联资金账号
  8668. items:
  8669. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8670. type: array
  8671. accountname:
  8672. description: 用户名称
  8673. type: string
  8674. clientroleid:
  8675. description: 角色id(usertype=2)
  8676. type: integer
  8677. createtime:
  8678. description: 创建时间
  8679. type: string
  8680. logincode:
  8681. description: 登录代码
  8682. type: string
  8683. loginid:
  8684. description: 登录id(LOGINID)
  8685. type: integer
  8686. loginname:
  8687. description: 登录名称(loginaccount表中的accountname字段)
  8688. type: string
  8689. loginstatus:
  8690. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8691. type: integer
  8692. memberuserid:
  8693. description: 所属会员id
  8694. type: integer
  8695. mobile:
  8696. description: 手机号
  8697. type: string
  8698. modifytime:
  8699. description: 修改时间
  8700. type: string
  8701. password:
  8702. description: 密码(不可解密)
  8703. type: string
  8704. rolename:
  8705. description: 角色名称
  8706. type: string
  8707. rolestatus:
  8708. description: 角色状态 1-启用 2-停用
  8709. type: integer
  8710. roletype:
  8711. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8712. type: string
  8713. userid:
  8714. description: 用户id
  8715. type: integer
  8716. usertype:
  8717. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8718. type: integer
  8719. type: object
  8720. models.ErmcpLoginUserEx:
  8721. properties:
  8722. accountstatus:
  8723. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8724. type: integer
  8725. mobile:
  8726. description: 手机号
  8727. type: string
  8728. querytype:
  8729. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8730. type: integer
  8731. roleid:
  8732. description: 角色id(交易账户->用户id)
  8733. type: integer
  8734. rolename:
  8735. description: 角色名称(交易账户->用户名称)
  8736. type: string
  8737. userlist:
  8738. description: 用户列表
  8739. items:
  8740. $ref: '#/definitions/models.ErmcpLoginUser'
  8741. type: array
  8742. usertype:
  8743. description: 用户类型 2-机构 7-企业成员(云平台)
  8744. type: integer
  8745. type: object
  8746. models.ErmcpMiddleGoodsModel:
  8747. properties:
  8748. areauserid:
  8749. description: 机构用户ID
  8750. type: integer
  8751. createtime:
  8752. description: 修改时间
  8753. type: string
  8754. enumdicname:
  8755. description: 单位名称
  8756. type: string
  8757. evaluateratio:
  8758. description: 估价系数
  8759. type: number
  8760. goodsgroupid:
  8761. description: 关联期货品种ID
  8762. type: integer
  8763. goodsunitid:
  8764. description: 单位ID
  8765. type: integer
  8766. isvalid:
  8767. description: 状态 0-无效(停用) 1-有效(正常)
  8768. type: integer
  8769. middlegoodscode:
  8770. description: 套保品种代码
  8771. type: string
  8772. middlegoodsid:
  8773. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8774. type: integer
  8775. middlegoodsname:
  8776. description: 套保品种名称
  8777. type: string
  8778. modifytime:
  8779. description: 修改时间
  8780. type: string
  8781. needarbitrageratio:
  8782. description: 套利比例
  8783. type: number
  8784. needhedgeratio:
  8785. description: 套保比率
  8786. type: number
  8787. qtydecimalplace:
  8788. description: 数量小数位
  8789. type: integer
  8790. relatedgoodsid:
  8791. description: 关联交易商品ID
  8792. type: integer
  8793. relatedgoodstype:
  8794. description: 关联商品类型 - 1:期货合约 2:现货品种
  8795. type: integer
  8796. remark:
  8797. description: 备注
  8798. type: string
  8799. type: object
  8800. models.ErmcpMiddlegoodsRelateGoods:
  8801. properties:
  8802. agreeunit:
  8803. description: 合约乘数
  8804. type: number
  8805. convertratio:
  8806. description: 折算系数
  8807. type: number
  8808. enumdicname:
  8809. description: 单位名称(交易商品)
  8810. type: string
  8811. goodscode:
  8812. description: 交易商品代码
  8813. type: string
  8814. goodsgroupid:
  8815. description: 交易品种id
  8816. type: integer
  8817. goodsid:
  8818. description: 商品Id
  8819. type: integer
  8820. goodsname:
  8821. description: 交易商品名称
  8822. type: string
  8823. goodunitid:
  8824. description: 交易商品单位id
  8825. type: integer
  8826. middlegoodsid:
  8827. description: 套保商品id
  8828. type: integer
  8829. middlegoodsname:
  8830. description: 套保商品名称
  8831. type: string
  8832. middlegoodsswcode:
  8833. description: 套保商品代码
  8834. type: string
  8835. needarbitrageratio:
  8836. description: 应套利比例
  8837. type: number
  8838. needhedgeratio:
  8839. description: 应套保比例
  8840. type: number
  8841. type: object
  8842. models.ErmcpRole:
  8843. properties:
  8844. areauserid:
  8845. description: 所属机构
  8846. type: integer
  8847. autoid:
  8848. description: 角色ID(自增ID)
  8849. type: integer
  8850. modifierid:
  8851. description: 修改人(创建人)
  8852. type: integer
  8853. modifiername:
  8854. description: 修改人名称
  8855. type: string
  8856. modifytime:
  8857. description: 修改时间(创建时间)
  8858. type: string
  8859. rolename:
  8860. description: 角色名称
  8861. type: string
  8862. rolestatus:
  8863. description: 角色状态 - 1:启用 2:停用
  8864. type: integer
  8865. roletype:
  8866. description: 角色类型 - 1- 管理端 2- 交易端
  8867. type: integer
  8868. type: object
  8869. models.ErmcpRoleMenu:
  8870. properties:
  8871. iconame:
  8872. description: 菜单图标
  8873. type: string
  8874. ishadrole:
  8875. description: 是否有权限
  8876. type: boolean
  8877. menutype:
  8878. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8879. type: integer
  8880. parentcode:
  8881. description: 上级资源代码
  8882. type: string
  8883. remark:
  8884. description: 菜单备注
  8885. type: string
  8886. resourcecode:
  8887. description: 菜单代码
  8888. type: string
  8889. resourcelevel:
  8890. description: 级别
  8891. type: integer
  8892. resourcename:
  8893. description: 菜单名称
  8894. type: string
  8895. roleid:
  8896. description: 角色id
  8897. type: integer
  8898. sort:
  8899. description: 排序
  8900. type: integer
  8901. url:
  8902. description: URL
  8903. type: string
  8904. userid:
  8905. description: 用户id
  8906. type: integer
  8907. type: object
  8908. models.ErmcpRoleMenuEx:
  8909. properties:
  8910. menu:
  8911. $ref: '#/definitions/models.ErmcpRoleMenu'
  8912. description: 父级菜单
  8913. subMenu:
  8914. description: 子级菜单
  8915. items:
  8916. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8917. type: array
  8918. type: object
  8919. models.ErmcpSpotContractModelEx:
  8920. properties:
  8921. accountname:
  8922. description: 套期主体
  8923. type: string
  8924. amount:
  8925. description: 金额 [1:一口价、3:暂定价]
  8926. type: number
  8927. attachment:
  8928. description: 附件
  8929. type: string
  8930. auditremark:
  8931. description: 审核意见
  8932. type: string
  8933. audittime:
  8934. description: 审核时间
  8935. type: string
  8936. avgprice:
  8937. description: 定价均价 = 已定价金额 / 已定价量
  8938. type: number
  8939. brandname:
  8940. description: 品牌名称
  8941. type: string
  8942. buyuserid:
  8943. description: 采购方ID
  8944. type: integer
  8945. buyusername:
  8946. description: 采购方名称
  8947. type: string
  8948. contracctstatus:
  8949. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8950. type: integer
  8951. contractmargin:
  8952. description: 合同保证金
  8953. type: number
  8954. contractno:
  8955. description: '[合同编号]现货合同编号'
  8956. type: string
  8957. contracttype:
  8958. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8959. type: integer
  8960. convertfactor:
  8961. description: 标仓系数
  8962. type: number
  8963. createtime:
  8964. description: 创建时间
  8965. type: string
  8966. customername:
  8967. description: 对手方
  8968. type: string
  8969. customeruserid:
  8970. description: 客户ID
  8971. type: integer
  8972. deliveryenddate:
  8973. description: 交收期(结束)
  8974. type: string
  8975. deliverygoodscode:
  8976. description: 现货品种代码
  8977. type: string
  8978. deliverygoodsid:
  8979. description: 现货品种ID
  8980. type: integer
  8981. deliverygoodsname:
  8982. description: 现货品种名称
  8983. type: string
  8984. deliverystartdate:
  8985. description: 交收期(开始)
  8986. type: string
  8987. enddate:
  8988. description: 点价结束日期 [2:点价 3:暂定价]
  8989. type: string
  8990. enumdicname:
  8991. description: 单位名称
  8992. type: string
  8993. goodscode:
  8994. description: 点价合约代码
  8995. type: string
  8996. goodsid:
  8997. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  8998. type: integer
  8999. goodsname:
  9000. description: 点价商品名称
  9001. type: string
  9002. isrelated:
  9003. description: 是否已关联计划项目 - 0:否 1:是
  9004. type: integer
  9005. isrelated2:
  9006. description: 是否已关联现货项目 - 0:否 1:是
  9007. type: integer
  9008. margin:
  9009. description: 当前保证金
  9010. type: number
  9011. modelname:
  9012. description: 型号名称
  9013. type: string
  9014. price:
  9015. description: 价格\暂定价 [1:一口价、3:暂定价]
  9016. type: number
  9017. pricedamount:
  9018. description: 已定价金额 = (点价价格+升贴水) * 数量
  9019. type: number
  9020. pricedqty:
  9021. description: 已定价量
  9022. type: number
  9023. pricemove:
  9024. description: 升贴水 [2:点价 3:暂定价]
  9025. type: number
  9026. pricetype:
  9027. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9028. type: integer
  9029. producttype:
  9030. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9031. type: integer
  9032. qty:
  9033. description: '[合同数量]数量'
  9034. type: number
  9035. remark:
  9036. description: 备注
  9037. type: string
  9038. selluserid:
  9039. description: 销售方ID
  9040. type: integer
  9041. sellusername:
  9042. description: 销售方名称
  9043. type: string
  9044. spotamount:
  9045. description: 合同现货金额 [不含升贴水]
  9046. type: number
  9047. spotavgprice:
  9048. description: 现货均价 = 合同现货金额 / 已定价量
  9049. type: number
  9050. spotcontractid:
  9051. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9052. type: string
  9053. spotgoodsbrandid:
  9054. description: 现货品牌ID
  9055. type: integer
  9056. spotgoodsdesc:
  9057. description: 商品型号
  9058. type: string
  9059. spotgoodsmodelid:
  9060. description: 现货型号ID
  9061. type: integer
  9062. startdate:
  9063. description: 点价开始日期 [2:点价 3:暂定价]
  9064. type: string
  9065. tradeuserid:
  9066. description: 交易用户ID
  9067. type: integer
  9068. unpricedqty:
  9069. description: 未定价量 = 合同数量 - 已定价量
  9070. type: number
  9071. updatetime:
  9072. description: 更新时间
  9073. type: string
  9074. userid:
  9075. description: 机构ID
  9076. type: integer
  9077. wrstandardcode:
  9078. description: 现货商品代码
  9079. type: string
  9080. wrstandardid:
  9081. description: 现货商品ID
  9082. type: integer
  9083. wrstandardname:
  9084. description: '[现货商品]现货商品名称'
  9085. type: string
  9086. type: object
  9087. models.ErmcpTaAccount:
  9088. properties:
  9089. accountid:
  9090. description: 账户id
  9091. type: integer
  9092. accountname:
  9093. description: 账户名称
  9094. type: string
  9095. currencyid:
  9096. description: 币种id
  9097. type: integer
  9098. hedgeaccountcode:
  9099. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9100. type: string
  9101. ismain:
  9102. description: 是否主账户 0-否 1-是
  9103. type: integer
  9104. parentaccountid:
  9105. description: 父账户id
  9106. type: integer
  9107. relateduserid:
  9108. description: 关联userid
  9109. type: integer
  9110. tradefeetmpid:
  9111. description: 手续费模板id
  9112. type: integer
  9113. tradefeetmpname:
  9114. description: 手续费模板名称
  9115. type: string
  9116. trademargintmpid:
  9117. description: 保证金模板id
  9118. type: integer
  9119. trademargintmpname:
  9120. description: 保证金模板名称
  9121. type: string
  9122. traderatetmpid:
  9123. description: 汇率模板id
  9124. type: integer
  9125. traderatetmpname:
  9126. description: 汇率模板名称
  9127. type: string
  9128. tradestatus:
  9129. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9130. type: integer
  9131. userid:
  9132. description: 用户id
  9133. type: integer
  9134. type: object
  9135. models.ErmcpTaAccountEx:
  9136. properties:
  9137. mainAcc:
  9138. $ref: '#/definitions/models.ErmcpTaAccountM'
  9139. description: 主账号
  9140. subacclist:
  9141. description: 子账号列表
  9142. items:
  9143. $ref: '#/definitions/models.ErmcpTaAccount'
  9144. type: array
  9145. type: object
  9146. models.ErmcpTaAccountInfo:
  9147. properties:
  9148. accountid:
  9149. description: 资金账户ID
  9150. type: integer
  9151. accountname:
  9152. description: 账户名称
  9153. type: string
  9154. balance:
  9155. description: 期初余额
  9156. type: number
  9157. capitalbalance:
  9158. description: 本金余额[外部子账户实际出入金余额]
  9159. type: number
  9160. closepl:
  9161. description: 今日平仓盈亏
  9162. type: number
  9163. creditdecrease:
  9164. description: 今日授信减少
  9165. type: number
  9166. creditincrease:
  9167. description: 今日授信增加
  9168. type: number
  9169. curdebt:
  9170. description: 期末欠款
  9171. type: number
  9172. currencyid:
  9173. description: 货币ID
  9174. type: integer
  9175. currentbalance:
  9176. description: 期末余额
  9177. type: number
  9178. freezecharge:
  9179. description: 手续费冻结
  9180. type: number
  9181. freezemargin:
  9182. description: 冻结保证金
  9183. type: number
  9184. fromaccountid:
  9185. description: 所属上级账户
  9186. type: integer
  9187. inamount:
  9188. description: 今日入金金额(包括三方入金)
  9189. type: number
  9190. ismain:
  9191. description: 是否母账号 0:不是母账户 1:是母账户
  9192. type: integer
  9193. mortgagecredit:
  9194. description: 授信金额
  9195. type: number
  9196. oridebt:
  9197. description: 期初欠款
  9198. type: number
  9199. orifreezecharge:
  9200. description: 期初手续费冻结
  9201. type: number
  9202. orifreezemargin:
  9203. description: 期初冻结保证金
  9204. type: number
  9205. orimortgagecredit:
  9206. description: 期初授信金额
  9207. type: number
  9208. oriothercredit:
  9209. description: 期初其它授信金额
  9210. type: number
  9211. oriotherfreezemargin:
  9212. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9213. type: number
  9214. orioutamountfreeze:
  9215. description: 期初出金冻结
  9216. type: number
  9217. oriusedmargin:
  9218. description: 期初占用保证金
  9219. type: number
  9220. othercredit:
  9221. description: 其它授信金额
  9222. type: number
  9223. othercreditdecrease:
  9224. description: 今日其它授信减少
  9225. type: number
  9226. othercreditincrease:
  9227. description: 今日其它授信增加
  9228. type: number
  9229. otherfreezemargin:
  9230. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9231. type: number
  9232. outamount:
  9233. description: 今日出金金额(包括三方出金)
  9234. type: number
  9235. outamountfreeze:
  9236. description: 出金冻结
  9237. type: number
  9238. outthreshold:
  9239. description: 出金阈值
  9240. type: number
  9241. parentaccountid:
  9242. description: 所属根账号
  9243. type: integer
  9244. paycharge:
  9245. description: 今日手续费支出
  9246. type: number
  9247. relateduserid:
  9248. description: 关联用户
  9249. type: integer
  9250. signstatus:
  9251. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9252. type: integer
  9253. sublevelpath:
  9254. description: 账号层级路径(逗号分隔,首尾加逗号)
  9255. type: string
  9256. taaccounttype:
  9257. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9258. type: integer
  9259. thirdinamount:
  9260. description: 今日三方入金
  9261. type: number
  9262. thirdoutamount:
  9263. description: 今日三方出金
  9264. type: number
  9265. tradestatus:
  9266. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9267. type: integer
  9268. transferamount:
  9269. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9270. type: number
  9271. usedmargin:
  9272. description: 占用保证金
  9273. type: number
  9274. userid:
  9275. description: 用户ID
  9276. type: integer
  9277. type: object
  9278. models.ErmcpTaAccountM:
  9279. properties:
  9280. accountid:
  9281. description: 账户id
  9282. type: integer
  9283. accountname:
  9284. description: 账户名称
  9285. type: string
  9286. currencyid:
  9287. description: 币种id
  9288. type: integer
  9289. fcid:
  9290. description: 期货公司id
  9291. type: integer
  9292. fcname:
  9293. description: 期货公司代码
  9294. type: string
  9295. hedgeaccountcode:
  9296. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9297. type: string
  9298. ismain:
  9299. description: 是否主账户 0-否 1-是
  9300. type: integer
  9301. parentaccountid:
  9302. description: 父账户id
  9303. type: integer
  9304. relateduserid:
  9305. description: 关联userid
  9306. type: integer
  9307. tradefeetmpid:
  9308. description: 手续费模板id
  9309. type: integer
  9310. tradefeetmpname:
  9311. description: 手续费模板名称
  9312. type: string
  9313. trademargintmpid:
  9314. description: 保证金模板id
  9315. type: integer
  9316. trademargintmpname:
  9317. description: 保证金模板名称
  9318. type: string
  9319. traderatetmpid:
  9320. description: 汇率模板id
  9321. type: integer
  9322. traderatetmpname:
  9323. description: 汇率模板名称
  9324. type: string
  9325. tradestatus:
  9326. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9327. type: integer
  9328. userid:
  9329. description: 用户id
  9330. type: integer
  9331. type: object
  9332. models.ErmcpTradeConfigTMP:
  9333. properties:
  9334. areauserid:
  9335. description: 所属机构
  9336. type: integer
  9337. basiccurrencyid:
  9338. description: 基本币种ID[汇率] - 目标币种
  9339. type: integer
  9340. mainaccountid:
  9341. description: 主账户ID
  9342. type: integer
  9343. modifierid:
  9344. description: 修改人
  9345. type: integer
  9346. remark:
  9347. description: 备注
  9348. type: string
  9349. tradeconfigtmpid:
  9350. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9351. type: integer
  9352. tradeconfigtmpname:
  9353. description: 交易配置模板名称
  9354. type: string
  9355. tradeconfigtmptype:
  9356. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9357. type: integer
  9358. updatetime:
  9359. description: 更新时间
  9360. type: string
  9361. type: object
  9362. models.Ermcpjrlinkpos:
  9363. properties:
  9364. areauserid:
  9365. description: 所属企业
  9366. type: integer
  9367. averageprice:
  9368. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9369. type: number
  9370. closepl:
  9371. description: 总平仓盈亏 [期货损益]
  9372. type: number
  9373. executeprice:
  9374. description: 执行价 - 1:期货单 为 0
  9375. type: integer
  9376. futurehedgeqty:
  9377. description: 期货套期量
  9378. type: number
  9379. goodsid:
  9380. description: 期货合约
  9381. type: integer
  9382. middlegoodscode:
  9383. description: 套保商品代码
  9384. type: string
  9385. middlegoodsname:
  9386. description: 套保商品名称
  9387. type: string
  9388. netqty:
  9389. description: 净头寸
  9390. type: number
  9391. optioncode:
  9392. description: 期权代码
  9393. type: string
  9394. ordertype:
  9395. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9396. type: integer
  9397. reckonpl:
  9398. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9399. type: number
  9400. spotcontractid:
  9401. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9402. type: string
  9403. todayfutureclosepl:
  9404. description: 今日平仓盈亏
  9405. type: number
  9406. totalbuyamount:
  9407. description: 买金额 [期货]
  9408. type: number
  9409. totalbuyholdamount:
  9410. description: 买持仓总金额[期货]
  9411. type: number
  9412. totalbuyqty:
  9413. description: 买数量
  9414. type: number
  9415. totalcharge:
  9416. description: 手续费
  9417. type: number
  9418. totalpremium:
  9419. description: 权利金 [期权]
  9420. type: number
  9421. totalsellamount:
  9422. description: 卖金额 [期货]
  9423. type: number
  9424. totalsellholdamount:
  9425. description: 卖持仓总金额[期货]
  9426. type: number
  9427. totalsellqty:
  9428. description: 卖数量
  9429. type: number
  9430. updatetime:
  9431. description: 更新时间
  9432. type: string
  9433. required:
  9434. - spotcontractid
  9435. type: object
  9436. models.Ermcppatradelinkdetail:
  9437. properties:
  9438. agreeunit:
  9439. description: 合约乘数
  9440. type: number
  9441. amount:
  9442. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9443. type: number
  9444. areauserid:
  9445. description: 所属机构
  9446. type: integer
  9447. bizsubjectid:
  9448. description: 归属业务部门ID - SubjectID
  9449. type: integer
  9450. buyorsell:
  9451. description: 方向 - 0:买 1:卖
  9452. type: integer
  9453. convertratio:
  9454. description: 品种系数
  9455. type: number
  9456. createtime:
  9457. description: 创建时间
  9458. type: string
  9459. creatorid:
  9460. description: 创建人ID
  9461. type: integer
  9462. creatorsrc:
  9463. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9464. type: integer
  9465. goodsgroupid:
  9466. description: 对冲品种ID[期货合约商品组ID]
  9467. type: integer
  9468. goodsid:
  9469. description: 商品ID
  9470. type: integer
  9471. hedgeditemid:
  9472. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9473. type: integer
  9474. hedgeflag:
  9475. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9476. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9477. type: integer
  9478. linkdetailid:
  9479. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9480. type: string
  9481. linkstatus:
  9482. description: 关联状态 - 1:成功 2:失败 3:解绑
  9483. type: integer
  9484. middlegoodsid:
  9485. description: 套保品种ID
  9486. type: integer
  9487. name:
  9488. description: 账户名/子账户
  9489. type: string
  9490. optioncode:
  9491. description: '[期货合约]期权代码 [期权]'
  9492. type: string
  9493. ordertype:
  9494. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9495. type: integer
  9496. relatedlot:
  9497. description: '[数量]关联手数'
  9498. type: number
  9499. relatedmode:
  9500. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9501. type: integer
  9502. relatedqty:
  9503. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9504. type: number
  9505. retcode:
  9506. description: 返回码
  9507. type: integer
  9508. saleuserid:
  9509. description: 业务员ID
  9510. type: integer
  9511. tradedate:
  9512. description: 关联交易日(yyyyMMdd)
  9513. type: string
  9514. tradeid:
  9515. description: '[成交单号]内部成交单ID'
  9516. type: string
  9517. tradelot:
  9518. description: 成交手数
  9519. type: integer
  9520. tradeprice:
  9521. description: '[价格]成交价格'
  9522. type: number
  9523. tradetime:
  9524. description: 日期时间
  9525. type: string
  9526. tradetradedate:
  9527. description: 成交交易日(yyyyMMdd)
  9528. type: string
  9529. required:
  9530. - hedgeditemid
  9531. type: object
  9532. models.Externalexchange:
  9533. properties:
  9534. autoid:
  9535. description: AutoID - SEQ_EXTERNALEXCHANGE
  9536. type: integer
  9537. exchangefullname:
  9538. description: 外部交易所全称
  9539. type: string
  9540. exexchangecode:
  9541. description: 外部交易所代码
  9542. type: string
  9543. exexchangename:
  9544. description: 外部交易所名称(简称)
  9545. type: string
  9546. ismarketprice:
  9547. description: 是否支持市价 - 0:不支持 1:支持
  9548. type: integer
  9549. quotegear:
  9550. description: 行情档位(1-10)
  9551. type: integer
  9552. showbrokerflag:
  9553. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9554. type: integer
  9555. updatetime:
  9556. description: 更新时间
  9557. type: string
  9558. required:
  9559. - autoid
  9560. type: object
  9561. models.Funcmenulist:
  9562. properties:
  9563. iconame:
  9564. description: 菜单图标
  9565. type: string
  9566. menutype:
  9567. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9568. type: integer
  9569. parentcode:
  9570. description: 上级资源代码
  9571. type: string
  9572. remark:
  9573. description: 备注
  9574. type: string
  9575. resourcecode:
  9576. description: 资源代码
  9577. type: string
  9578. resourcelevel:
  9579. description: 级别 1-一级 2-二级 3-三级 4-四级
  9580. type: integer
  9581. resourcename:
  9582. description: 资源名
  9583. type: string
  9584. sort:
  9585. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9586. type: integer
  9587. url:
  9588. description: URL
  9589. type: string
  9590. required:
  9591. - resourcecode
  9592. type: object
  9593. models.Goods:
  9594. properties:
  9595. agreeunit:
  9596. description: 合约单位
  9597. type: number
  9598. areauserid:
  9599. description: 所属机构
  9600. type: integer
  9601. auditaccountid:
  9602. description: 审核操作员账号
  9603. type: integer
  9604. audittime:
  9605. description: 审核时间
  9606. type: string
  9607. cancelaccountid:
  9608. description: 注销操作员账号
  9609. type: integer
  9610. canceltime:
  9611. description: 注销时间
  9612. type: string
  9613. closepricemode:
  9614. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9615. type: integer
  9616. closepriceparam:
  9617. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9618. type: number
  9619. createtime:
  9620. description: 创建时间
  9621. type: string
  9622. creatorid:
  9623. description: 创建人
  9624. type: integer
  9625. currencyid:
  9626. description: 报价货币ID
  9627. type: integer
  9628. cutmode:
  9629. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9630. type: integer
  9631. decimalplace:
  9632. description: 报价小数位
  9633. type: integer
  9634. delistingdate:
  9635. description: 商品退市时间(状态:退市) -- 已作废
  9636. type: string
  9637. delistingmode:
  9638. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9639. type: integer
  9640. deliveryflag:
  9641. description: 交割标志 - 0:不可交割 1:可交割
  9642. type: integer
  9643. forceclosemode:
  9644. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9645. type: integer
  9646. forceclosevalue:
  9647. description: 定期强平参数 [收益权]
  9648. type: integer
  9649. goodscode:
  9650. description: 商品代码(内部)
  9651. type: string
  9652. goodscurrencyid:
  9653. description: 合约货币ID
  9654. type: integer
  9655. goodsgroupid:
  9656. description: 所属商品组ID
  9657. type: integer
  9658. goodsid:
  9659. description: 商品ID(自增ID SEQ_GOODS)
  9660. type: integer
  9661. goodsname:
  9662. description: 商品名称
  9663. type: string
  9664. goodsquotetype:
  9665. description: '合约报价类型: 1-直接报价 2-间接报价'
  9666. type: integer
  9667. goodsstatus:
  9668. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9669. type: integer
  9670. goodstradetype:
  9671. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9672. type: integer
  9673. goodunitid:
  9674. description: 报价单位ID
  9675. type: integer
  9676. hasquoter:
  9677. description: 是否有报价商 - 0:无报价商 1:有报价商
  9678. type: integer
  9679. hqprotecttime:
  9680. description: 行情保护时间(秒)
  9681. type: integer
  9682. innerdealmode:
  9683. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9684. type: integer
  9685. isbuylimited:
  9686. description: 是否限制建仓量 - 0:不限制 1:限制
  9687. type: integer
  9688. isvisible:
  9689. description: 游客是否可见 - 0:不可见 1:可见
  9690. type: integer
  9691. lasttradedate:
  9692. description: 最后交易日期(状态:待退市)
  9693. type: string
  9694. listingdate:
  9695. description: 交易开始日期
  9696. type: string
  9697. marketid:
  9698. description: 所属市场ID
  9699. type: integer
  9700. modifierid:
  9701. description: 修改人
  9702. type: integer
  9703. modifystatus:
  9704. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9705. type: integer
  9706. modifytime:
  9707. description: 修改时间
  9708. type: string
  9709. outerdealmode:
  9710. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9711. type: integer
  9712. outgoodscode:
  9713. description: 商品代码(外部)
  9714. type: string
  9715. pictureurl:
  9716. description: 商品图片
  9717. type: string
  9718. qtydecimalplace:
  9719. description: 成交量小数位
  9720. type: integer
  9721. quotegear:
  9722. description: 行情档位(1-10)
  9723. type: integer
  9724. quoteminunit:
  9725. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9726. type: integer
  9727. quoteshowtype:
  9728. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9729. type: integer
  9730. quoteshowtypeinterval:
  9731. description: 行情报价间隔时间(秒)(成交价时为0)
  9732. type: integer
  9733. remark:
  9734. description: 备注
  9735. type: string
  9736. required:
  9737. - goodscode
  9738. - goodsid
  9739. - goodsname
  9740. - marketid
  9741. type: object
  9742. models.GoodsIDAndName:
  9743. properties:
  9744. goodscode:
  9745. description: 商品代码(内部)
  9746. type: string
  9747. goodsid:
  9748. description: 商品ID(自增ID SEQ_GOODS)
  9749. type: integer
  9750. goodsname:
  9751. description: 商品名称
  9752. type: string
  9753. marketid:
  9754. description: 所属市场ID
  9755. type: integer
  9756. required:
  9757. - goodscode
  9758. - goodsid
  9759. - goodsname
  9760. - marketid
  9761. type: object
  9762. models.Goodsgroup:
  9763. properties:
  9764. agreeunit:
  9765. description: 合约单位
  9766. type: number
  9767. canshort:
  9768. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9769. type: integer
  9770. closepricemode:
  9771. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9772. type: integer
  9773. closepriceparam:
  9774. description: 强平最新价浮动比例 - 方式为2时使用
  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. decimalplace:
  9786. description: 报价小数位
  9787. type: integer
  9788. exercisetype:
  9789. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9790. type: integer
  9791. exexchangeid:
  9792. description: 外部交易所ID[通道交易]
  9793. type: integer
  9794. goodsgroupid:
  9795. description: 商品组ID(自增ID)
  9796. type: integer
  9797. goodsgroupname:
  9798. description: 商品组名称
  9799. type: string
  9800. goodsgroupstatus:
  9801. description: 商品组状态 - 1:正常 2:注销
  9802. type: integer
  9803. goodunitid:
  9804. description: 报价单位ID
  9805. type: integer
  9806. innerdealmode:
  9807. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9808. type: integer
  9809. isbuylimited:
  9810. description: 是否限制建仓量 - 0:不限制 1:限制
  9811. type: integer
  9812. marketid:
  9813. description: 所属市场ID
  9814. type: integer
  9815. modifierid:
  9816. description: 修改人
  9817. type: integer
  9818. modifytime:
  9819. description: 修改时间
  9820. type: string
  9821. outerdealmode:
  9822. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9823. type: integer
  9824. outergroupcode:
  9825. description: 外部商品组代码[通道交易]
  9826. type: string
  9827. premiumdecimalplace:
  9828. description: 权利金小数位[场外期权]
  9829. type: integer
  9830. premiumspreadalgorithm:
  9831. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9832. type: integer
  9833. premiumspreadvalue:
  9834. description: 权利金点差值[场外期权]
  9835. type: number
  9836. qtydecimalplace:
  9837. description: 成交量小数位
  9838. type: integer
  9839. quotegear:
  9840. description: 行情档位(1-10)
  9841. type: integer
  9842. quoteminunit:
  9843. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9844. type: integer
  9845. quoterid:
  9846. description: 报价商ID[场外期权]
  9847. type: integer
  9848. quotesourcegroupid:
  9849. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9850. type: integer
  9851. syncgoodsqty:
  9852. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9853. type: integer
  9854. required:
  9855. - goodsgroupid
  9856. - goodsgroupname
  9857. - goodsgroupstatus
  9858. - marketid
  9859. type: object
  9860. models.Goodssortbypreposition:
  9861. properties:
  9862. goodscode:
  9863. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9864. type: string
  9865. goodsgroupcode:
  9866. description: 品种代码
  9867. type: string
  9868. prepositionqty:
  9869. description: 昨持仓量
  9870. type: integer
  9871. sortindex:
  9872. description: 排序
  9873. type: integer
  9874. tradedate:
  9875. description: 交易日
  9876. type: string
  9877. updatetime:
  9878. description: 更新时间
  9879. type: string
  9880. required:
  9881. - goodscode
  9882. - tradedate
  9883. type: object
  9884. models.Hedgeinnerholderdetail:
  9885. properties:
  9886. accountid:
  9887. description: 账号ID
  9888. type: integer
  9889. buyorsell:
  9890. description: 方向 - 0:买 1:卖
  9891. type: integer
  9892. freezeqty:
  9893. description: 冻结数量 - 按单平使用
  9894. type: integer
  9895. goodsid:
  9896. description: 商品ID
  9897. type: integer
  9898. holderamount:
  9899. description: 持仓金额 [商品币种]
  9900. type: number
  9901. holderdays:
  9902. description: 剩余冻结天数
  9903. type: integer
  9904. holderprice:
  9905. description: 持仓价格
  9906. type: number
  9907. holderqty:
  9908. description: 持仓数量
  9909. type: integer
  9910. marketid:
  9911. description: 市场ID
  9912. type: integer
  9913. openprice:
  9914. description: 建仓价格
  9915. type: number
  9916. openqty:
  9917. description: 建仓数量
  9918. type: integer
  9919. parentaccountid:
  9920. description: 所属母账户
  9921. type: integer
  9922. releaseamount:
  9923. description: 释放持仓金额[商品币种]
  9924. type: number
  9925. tradeamount:
  9926. description: 成交金额[账户]
  9927. type: number
  9928. tradedate:
  9929. description: 交易日(yyyyMMdd)
  9930. type: string
  9931. tradeid:
  9932. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9933. type: string
  9934. tradetime:
  9935. description: 交易时间
  9936. type: string
  9937. required:
  9938. - buyorsell
  9939. - tradeid
  9940. type: object
  9941. models.Hedgemarketopenlog:
  9942. properties:
  9943. accountid:
  9944. description: 资金账号[外部母账户]
  9945. type: integer
  9946. fcname:
  9947. description: 期货公司名称
  9948. type: string
  9949. handlestatus:
  9950. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9951. type: integer
  9952. marketid:
  9953. description: 市场ID
  9954. type: integer
  9955. status:
  9956. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9957. type: integer
  9958. tradedate:
  9959. description: 交易日(yyyyMMdd)
  9960. type: string
  9961. updatetime:
  9962. description: 更新时间
  9963. type: string
  9964. required:
  9965. - accountid
  9966. type: object
  9967. models.HsbyBuyMyPayOrder:
  9968. properties:
  9969. agreeunit:
  9970. description: 合约单位
  9971. type: number
  9972. buyaccountid:
  9973. description: 买方账号ID[报价币种]
  9974. type: integer
  9975. buyorderid:
  9976. description: 买方委托单号
  9977. type: string
  9978. createtime:
  9979. description: 创建时间
  9980. type: string
  9981. currencysign:
  9982. description: 货币符号
  9983. type: string
  9984. decimalplace:
  9985. description: 报价小数位
  9986. type: integer
  9987. goodscode:
  9988. description: 商品代码(内部)
  9989. type: string
  9990. goodsid:
  9991. description: 商品ID
  9992. type: integer
  9993. goodsname:
  9994. description: 商品名称
  9995. type: string
  9996. marketid:
  9997. description: 市场ID
  9998. type: integer
  9999. offamount:
  10000. description: 优惠金额
  10001. type: number
  10002. originalamount:
  10003. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  10004. type: number
  10005. payamount:
  10006. description: 支付金额 = TradeAmount + TradeCharge
  10007. type: number
  10008. payflag:
  10009. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10010. type: integer
  10011. paylimitedtime:
  10012. description: 支付期限
  10013. type: string
  10014. paytime:
  10015. description: 付款时间
  10016. type: string
  10017. picurls1:
  10018. description: 预售商品介绍图片[多张用逗号分隔]
  10019. type: string
  10020. picurls2:
  10021. description: 挂牌商品介绍图片[多张用逗号分隔]
  10022. type: string
  10023. sellaccountid:
  10024. description: 卖方账号ID[报价币种]
  10025. type: integer
  10026. sellorderid:
  10027. description: 卖方委托单号
  10028. type: string
  10029. tradeamount:
  10030. description: 成交金额
  10031. type: number
  10032. tradecharge:
  10033. description: 成交手续费(买方)
  10034. type: number
  10035. tradedate:
  10036. description: 交易日(yyyyMMdd)
  10037. type: string
  10038. tradeid:
  10039. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10040. type: string
  10041. trademode:
  10042. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10043. 21:竞拍-大宗式 22:受托竞价
  10044. type: integer
  10045. tradeprice:
  10046. description: 成交价格
  10047. type: number
  10048. tradeqty:
  10049. description: 成交数量
  10050. type: integer
  10051. vendorname1:
  10052. description: 预售商品供应商名称
  10053. type: string
  10054. vendorname2:
  10055. description: 挂牌商品供应商名称
  10056. type: string
  10057. required:
  10058. - goodscode
  10059. - goodsname
  10060. - tradeid
  10061. - trademode
  10062. type: object
  10063. models.HsbyBuyMyTradeDetail:
  10064. properties:
  10065. accountid:
  10066. description: 账户ID[报价币种]
  10067. type: integer
  10068. agreeunit:
  10069. description: 合约单位
  10070. type: number
  10071. amount:
  10072. description: 金额 = 价格 * 数量 * 合约单位
  10073. type: number
  10074. buyorsell:
  10075. description: 买卖 - 0:买 1:卖
  10076. type: integer
  10077. currencysign:
  10078. description: 货币符号
  10079. type: string
  10080. decimalplace:
  10081. description: 报价小数位
  10082. type: integer
  10083. goodscode:
  10084. description: 商品代码(内部)
  10085. type: string
  10086. goodsid:
  10087. description: 商品ID
  10088. type: integer
  10089. goodsname:
  10090. description: 商品名称
  10091. type: string
  10092. marketid:
  10093. description: 市场ID
  10094. type: integer
  10095. orderamount:
  10096. description: 委托金额
  10097. type: number
  10098. orderid:
  10099. description: 单号(成交单号)
  10100. type: string
  10101. picurls1:
  10102. description: 预售商品介绍图片[多张用逗号分隔]
  10103. type: string
  10104. picurls2:
  10105. description: 挂牌商品介绍图片[多张用逗号分隔]
  10106. type: string
  10107. price:
  10108. description: 价格
  10109. type: number
  10110. qty:
  10111. description: 数量
  10112. type: integer
  10113. time:
  10114. description: 时间
  10115. type: string
  10116. trademode:
  10117. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10118. 21:竞拍-大宗式 22:受托竞价
  10119. type: integer
  10120. vendorname1:
  10121. description: 预售商品供应商名称
  10122. type: string
  10123. vendorname2:
  10124. description: 挂牌商品供应商名称
  10125. type: string
  10126. required:
  10127. - accountid
  10128. - buyorsell
  10129. - goodscode
  10130. - goodsid
  10131. - goodsname
  10132. - marketid
  10133. - orderid
  10134. - qty
  10135. - time
  10136. - trademode
  10137. type: object
  10138. models.HsbyGoodsOrderDetail:
  10139. properties:
  10140. buyorsell:
  10141. description: 买卖 - 0:买 1:卖
  10142. type: integer
  10143. currencysign:
  10144. description: 货币符号
  10145. type: string
  10146. customername:
  10147. description: 客户名称(企业名称),已脱敏
  10148. type: string
  10149. enableqty:
  10150. description: 可用数量
  10151. type: integer
  10152. goodunit:
  10153. description: 报价单位
  10154. type: string
  10155. orderid:
  10156. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10157. type: string
  10158. orderprice:
  10159. description: 委托价格
  10160. type: number
  10161. ordertime:
  10162. description: 委托时间
  10163. type: string
  10164. required:
  10165. - buyorsell
  10166. - orderid
  10167. - ordertime
  10168. type: object
  10169. models.HsbyListingGoodsDetail:
  10170. properties:
  10171. agreeunit:
  10172. description: 合约单位
  10173. type: number
  10174. buymaxqty:
  10175. description: 购买上限 [71] - 0为不限
  10176. type: integer
  10177. currency:
  10178. description: 货币
  10179. type: string
  10180. currencysign:
  10181. description: 货币符号
  10182. type: string
  10183. decimalplace:
  10184. description: 报价小数位
  10185. type: integer
  10186. desccityid:
  10187. description: 目的地(市)ID
  10188. type: integer
  10189. descprovinceid:
  10190. description: 目的地(省)ID
  10191. type: integer
  10192. goodscode:
  10193. description: 商品代码(内部)
  10194. type: string
  10195. goodsdesc:
  10196. description: 商品详情
  10197. type: string
  10198. goodsid:
  10199. description: 商品ID(自增ID SEQ_GOODS)
  10200. type: integer
  10201. goodsname:
  10202. description: 商品名称
  10203. type: string
  10204. goodsprice:
  10205. description: 商品价格
  10206. type: number
  10207. hotindex:
  10208. description: 景点热度
  10209. type: integer
  10210. last:
  10211. description: 现价
  10212. type: number
  10213. limitdown:
  10214. description: 跌停价
  10215. type: number
  10216. limitup:
  10217. description: 涨停价
  10218. type: number
  10219. lotsize:
  10220. description: 手数最小变动单位
  10221. type: integer
  10222. marketid:
  10223. description: 所属市场ID
  10224. type: integer
  10225. picurls:
  10226. description: 介绍图片[多张用逗号分隔]
  10227. type: string
  10228. quoteminunit:
  10229. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10230. type: integer
  10231. stepvalue:
  10232. description: 价格最小变动单位
  10233. type: number
  10234. trademode:
  10235. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10236. 21:竞拍-大宗式 22:受托竞价
  10237. type: integer
  10238. vendorattr:
  10239. description: 供应商附件(多张,逗号分隔)
  10240. type: string
  10241. vendorname:
  10242. description: 供应商名称
  10243. type: string
  10244. vendorphone:
  10245. description: 供应商客服电话
  10246. type: string
  10247. videourls:
  10248. description: 介绍视频[多张用逗号分隔]
  10249. type: string
  10250. required:
  10251. - goodscode
  10252. - goodsid
  10253. - goodsname
  10254. - marketid
  10255. - trademode
  10256. type: object
  10257. models.HsbyMarketGoods:
  10258. properties:
  10259. accountid:
  10260. description: 账户ID[报价币种]
  10261. type: integer
  10262. agreeunit:
  10263. description: 合约单位
  10264. type: number
  10265. buyorsell:
  10266. description: 买卖 - 0:买 1:卖
  10267. type: integer
  10268. categoryid:
  10269. description: 类别ID(WRCATEGORY)
  10270. type: integer
  10271. currency:
  10272. description: 货币
  10273. type: string
  10274. currencysign:
  10275. description: 货币符号
  10276. type: string
  10277. customername:
  10278. description: 卖家名称
  10279. type: string
  10280. decimalplace:
  10281. description: 报价小数位
  10282. type: integer
  10283. goodscode:
  10284. description: 商品代码(内部)
  10285. type: string
  10286. goodsid:
  10287. description: 商品ID
  10288. type: integer
  10289. goodsname:
  10290. description: 商品名称
  10291. type: string
  10292. goodsprice:
  10293. description: 商品价格
  10294. type: number
  10295. hascoupon:
  10296. description: 是否可用优惠卷
  10297. type: boolean
  10298. hotindex:
  10299. description: 景点热度
  10300. type: integer
  10301. marketid:
  10302. description: 市场ID
  10303. type: integer
  10304. orderid:
  10305. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10306. type: string
  10307. orderprice:
  10308. description: 委托价格
  10309. type: number
  10310. orderstatus:
  10311. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10312. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10313. 16:成交失败违约(荷兰式竞拍专用)
  10314. type: integer
  10315. picurls:
  10316. description: 介绍图片[多张用逗号分隔]
  10317. type: string
  10318. quoteminunit:
  10319. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10320. type: integer
  10321. sellUserID:
  10322. description: 卖方UserID
  10323. type: integer
  10324. trademode:
  10325. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10326. 21:竞拍-大宗式 22:受托竞价
  10327. type: integer
  10328. videourls:
  10329. description: 介绍视频[多张用逗号分隔]
  10330. type: string
  10331. required:
  10332. - accountid
  10333. - buyorsell
  10334. - goodscode
  10335. - goodsid
  10336. - goodsname
  10337. - marketid
  10338. - orderid
  10339. - trademode
  10340. type: object
  10341. models.HsbyMarketGoodsDetail:
  10342. properties:
  10343. accountid:
  10344. description: 账户ID[报价币种]
  10345. type: integer
  10346. agreeunit:
  10347. description: 合约单位
  10348. type: number
  10349. buymaxqty:
  10350. description: 购买上限 [71] - 0为不限
  10351. type: integer
  10352. buyorsell:
  10353. description: 买卖 - 0:买 1:卖
  10354. type: integer
  10355. cancelqty:
  10356. description: 撤单数量
  10357. type: integer
  10358. categoryid:
  10359. description: 类别ID(WRCATEGORY)
  10360. type: integer
  10361. currency:
  10362. description: 货币
  10363. type: string
  10364. currencysign:
  10365. description: 货币符号
  10366. type: string
  10367. customername:
  10368. description: 卖家名称
  10369. type: string
  10370. decimalplace:
  10371. description: 报价小数位
  10372. type: integer
  10373. goodscode:
  10374. description: 商品代码(内部)
  10375. type: string
  10376. goodsdesc:
  10377. description: 商品详情
  10378. type: string
  10379. goodsid:
  10380. description: 商品ID
  10381. type: integer
  10382. goodsname:
  10383. description: 商品名称
  10384. type: string
  10385. goodsprice:
  10386. description: 商品价格
  10387. type: number
  10388. hotindex:
  10389. description: 景点热度
  10390. type: integer
  10391. lotsize:
  10392. description: 手数最小变动单位
  10393. type: integer
  10394. marketid:
  10395. description: 市场ID
  10396. type: integer
  10397. orderid:
  10398. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10399. type: string
  10400. orderprice:
  10401. description: 委托价格
  10402. type: number
  10403. orderqty:
  10404. description: 委托数量
  10405. type: integer
  10406. orderstatus:
  10407. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10408. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10409. 16:成交失败违约(荷兰式竞拍专用)
  10410. type: integer
  10411. picurls:
  10412. description: 介绍图片[多张用逗号分隔]
  10413. type: string
  10414. quoteminunit:
  10415. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10416. type: integer
  10417. sellUserID:
  10418. description: 卖方UserID
  10419. type: integer
  10420. trademode:
  10421. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10422. 21:竞拍-大宗式 22:受托竞价
  10423. type: integer
  10424. tradeqty:
  10425. description: 成交数量
  10426. type: integer
  10427. vendorattr:
  10428. description: 供应商附件(多张,逗号分隔)
  10429. type: string
  10430. vendorname:
  10431. description: 供应商名称
  10432. type: string
  10433. vendorphone:
  10434. description: 供应商客服电话
  10435. type: string
  10436. videourls:
  10437. description: 介绍视频[多张用逗号分隔]
  10438. type: string
  10439. required:
  10440. - accountid
  10441. - buyorsell
  10442. - goodscode
  10443. - goodsid
  10444. - goodsname
  10445. - marketid
  10446. - orderid
  10447. - orderqty
  10448. - trademode
  10449. type: object
  10450. models.HsbyMarketInfo:
  10451. properties:
  10452. marketid:
  10453. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10454. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10455. type: integer
  10456. marketname:
  10457. description: 市场名称
  10458. type: string
  10459. marketstatus:
  10460. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10461. type: integer
  10462. trademode:
  10463. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10464. 21:竞拍-大宗式 22:受托竞价
  10465. type: integer
  10466. required:
  10467. - marketid
  10468. - marketstatus
  10469. - trademode
  10470. type: object
  10471. models.HsbyMyGoods:
  10472. properties:
  10473. accountid:
  10474. description: 账号Id
  10475. type: integer
  10476. agreeunit:
  10477. description: 合约单位
  10478. type: number
  10479. buyaverageprice:
  10480. description: 持仓均价
  10481. type: number
  10482. buycurholderamount:
  10483. description: 买当前持仓总金额[商品币种]
  10484. type: number
  10485. buycurpositionqty:
  10486. description: 买当前持仓总数量
  10487. type: integer
  10488. buymaxqty:
  10489. description: 购买上限 [71] - 0为不限
  10490. type: integer
  10491. currencysign:
  10492. description: 货币符号
  10493. type: string
  10494. decimalplace:
  10495. description: 报价小数位
  10496. type: integer
  10497. enableqty:
  10498. description: 可用数量
  10499. type: integer
  10500. goodscode:
  10501. description: 商品代码(内部)
  10502. type: string
  10503. goodsid:
  10504. description: 商品Id
  10505. type: integer
  10506. goodsname:
  10507. description: 商品名称
  10508. type: string
  10509. goodsprice:
  10510. description: 商品价格
  10511. type: number
  10512. goodsstatus:
  10513. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10514. type: integer
  10515. last:
  10516. description: 现价(仅使用于挂牌点选)
  10517. type: number
  10518. limitdown:
  10519. description: 跌停价(仅使用于挂牌点选)
  10520. type: number
  10521. limitup:
  10522. description: 涨停价(仅使用于挂牌点选)
  10523. type: number
  10524. lotsize:
  10525. description: 手数最小变动单位
  10526. type: integer
  10527. marketid:
  10528. description: 所属市场ID
  10529. type: integer
  10530. picurls:
  10531. description: 介绍图片[多张用逗号分隔]
  10532. type: string
  10533. quoteminunit:
  10534. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10535. type: integer
  10536. stepvalue:
  10537. description: 价格最小变动单位
  10538. type: number
  10539. trademode:
  10540. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10541. 21:竞拍-大宗式 22:受托竞价
  10542. type: integer
  10543. required:
  10544. - accountid
  10545. - goodscode
  10546. - goodsid
  10547. - goodsname
  10548. - marketid
  10549. - trademode
  10550. type: object
  10551. models.HsbyMyPackage:
  10552. properties:
  10553. accountid:
  10554. description: 账户ID
  10555. type: integer
  10556. address:
  10557. description: 提货人详细地址
  10558. type: string
  10559. agreeunit:
  10560. description: 合约单位
  10561. type: number
  10562. amount:
  10563. description: 提货金额
  10564. type: number
  10565. auditer:
  10566. description: 审核人
  10567. type: integer
  10568. audittime:
  10569. description: 审核时间
  10570. type: string
  10571. averageprice:
  10572. description: 均价
  10573. type: number
  10574. cardnum:
  10575. description: 提货人证件号码
  10576. type: string
  10577. cardtypeid:
  10578. description: 提货人证件类型
  10579. type: integer
  10580. checkremark:
  10581. description: 审核备注
  10582. type: string
  10583. currencysign:
  10584. description: 货币符号
  10585. type: string
  10586. decimalplace:
  10587. description: 报价小数位
  10588. type: integer
  10589. goodscode:
  10590. description: 商品代码(内部)
  10591. type: string
  10592. goodsid:
  10593. description: 商品ID
  10594. type: integer
  10595. goodsname:
  10596. description: 商品名称
  10597. type: string
  10598. handlestatus:
  10599. description: 处理状态
  10600. type: integer
  10601. marketid:
  10602. description: 市场ID
  10603. type: integer
  10604. phonenum:
  10605. description: 提货人联系方式
  10606. type: string
  10607. picurls:
  10608. description: 介绍图片[多张用逗号分隔]
  10609. type: string
  10610. qty:
  10611. description: 提货数量
  10612. type: number
  10613. recivername:
  10614. description: 提货人姓名
  10615. type: string
  10616. reqtime:
  10617. description: 更新时间
  10618. type: string
  10619. takemode:
  10620. description: 提货方式 - 2:自提 3:配送
  10621. type: integer
  10622. takeorderid:
  10623. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10624. type: string
  10625. takeorderstatus:
  10626. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10627. type: integer
  10628. takeremark:
  10629. description: 提货备注
  10630. type: string
  10631. tradedate:
  10632. description: 交易日(yyyyMMdd)
  10633. type: string
  10634. trademode:
  10635. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10636. 21:竞拍-大宗式 22:受托竞价
  10637. type: integer
  10638. userid:
  10639. description: 用户ID
  10640. type: integer
  10641. vendorname:
  10642. description: 供应商名称
  10643. type: string
  10644. required:
  10645. - goodscode
  10646. - goodsname
  10647. - takeorderid
  10648. - trademode
  10649. type: object
  10650. models.HsbyPreGoods:
  10651. properties:
  10652. agreeunit:
  10653. description: 合约单位
  10654. type: number
  10655. currency:
  10656. description: 货币
  10657. type: string
  10658. currencysign:
  10659. description: 货币符号
  10660. type: string
  10661. decimalplace:
  10662. description: 报价小数位
  10663. type: integer
  10664. desccityid:
  10665. description: 目的地(市)
  10666. type: integer
  10667. descprovinceid:
  10668. description: 目的地(省)
  10669. type: integer
  10670. enableqty:
  10671. description: 剩余数量
  10672. type: integer
  10673. goodscode:
  10674. description: 商品代码(内部)
  10675. type: string
  10676. goodsid:
  10677. description: 商品ID(自增ID SEQ_GOODS)
  10678. type: integer
  10679. goodsname:
  10680. description: 商品名称
  10681. type: string
  10682. goodsstatus:
  10683. description: 商品状态- 2:未上市 3:上市
  10684. type: integer
  10685. lasttradedate:
  10686. description: 最后交易日期(状态:待退市)
  10687. type: string
  10688. listingdate:
  10689. description: 交易开始日期
  10690. type: string
  10691. marketid:
  10692. description: 所属市场ID
  10693. type: integer
  10694. picurls:
  10695. description: 介绍图片[多张用逗号分隔]
  10696. type: string
  10697. presaledqty:
  10698. description: 已预售量(预售结束时更新)
  10699. type: integer
  10700. presaleqty:
  10701. description: 预售数量
  10702. type: integer
  10703. quoteminunit:
  10704. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10705. type: integer
  10706. refprice:
  10707. description: 参考价格[一口价]
  10708. type: number
  10709. relatedgoodsid:
  10710. description: 关联交易合约ID
  10711. type: integer
  10712. trademode:
  10713. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10714. 21:竞拍-大宗式 22:受托竞价
  10715. type: integer
  10716. videourls:
  10717. description: 介绍视频[多张用逗号分隔]
  10718. type: string
  10719. required:
  10720. - goodscode
  10721. - goodsid
  10722. - goodsname
  10723. - marketid
  10724. - trademode
  10725. type: object
  10726. models.HsbyPreGoodsDetail:
  10727. properties:
  10728. agreeunit:
  10729. description: 合约单位
  10730. type: number
  10731. buymaxqty:
  10732. description: 购买上限 [71] - 0为不限
  10733. type: integer
  10734. currency:
  10735. description: 货币
  10736. type: string
  10737. currencysign:
  10738. description: 货币符号
  10739. type: string
  10740. customername:
  10741. description: 发行单位
  10742. type: string
  10743. decimalplace:
  10744. description: 报价小数位
  10745. type: integer
  10746. desccityid:
  10747. description: 目的地(市)ID
  10748. type: integer
  10749. descprovinceid:
  10750. description: 目的地(省)ID
  10751. type: integer
  10752. enableqty:
  10753. description: 剩余数量
  10754. type: integer
  10755. goodscode:
  10756. description: 商品代码(内部)
  10757. type: string
  10758. goodsdesc:
  10759. description: 商品详情
  10760. type: string
  10761. goodsid:
  10762. description: 商品ID(自增ID SEQ_GOODS)
  10763. type: integer
  10764. goodsname:
  10765. description: 商品名称
  10766. type: string
  10767. goodsstatus:
  10768. description: 商品状态- 2:未上市 3:上市
  10769. type: integer
  10770. goodunit:
  10771. description: 报价单位
  10772. type: string
  10773. lasttradedate:
  10774. description: 最后交易日期(状态:待退市)
  10775. type: string
  10776. listingdate:
  10777. description: 交易开始日期
  10778. type: string
  10779. lotsize:
  10780. description: 手数最小变动单位
  10781. type: integer
  10782. marketid:
  10783. description: 所属市场ID
  10784. type: integer
  10785. picurls:
  10786. description: 介绍图片[多张用逗号分隔]
  10787. type: string
  10788. presaledqty:
  10789. description: 已预售量(预售结束时更新)
  10790. type: integer
  10791. presaleqty:
  10792. description: 预售数量
  10793. type: integer
  10794. quoteminunit:
  10795. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10796. type: integer
  10797. refprice:
  10798. description: 参考价格[一口价]
  10799. type: number
  10800. relatedgoodsid:
  10801. description: 关联交易合约ID
  10802. type: integer
  10803. stepvalue:
  10804. description: 价格最小变动单位
  10805. type: number
  10806. trademode:
  10807. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10808. 21:竞拍-大宗式 22:受托竞价
  10809. type: integer
  10810. vendorattr:
  10811. description: 供应商附件(多张,逗号分隔)
  10812. type: string
  10813. vendorname:
  10814. description: 供应商名称
  10815. type: string
  10816. vendorphone:
  10817. description: 供应商客服电话
  10818. type: string
  10819. videourls:
  10820. description: 介绍视频[多张用逗号分隔]
  10821. type: string
  10822. required:
  10823. - goodscode
  10824. - goodsid
  10825. - goodsname
  10826. - marketid
  10827. - trademode
  10828. type: object
  10829. models.HsbySellCollectionOrder:
  10830. properties:
  10831. agreeunit:
  10832. description: 合约单位
  10833. type: number
  10834. buyaccountid:
  10835. description: 买方账号ID[报价币种]
  10836. type: integer
  10837. buyorderid:
  10838. description: 买方委托单号
  10839. type: string
  10840. createtime:
  10841. description: 创建时间
  10842. type: string
  10843. currencysign:
  10844. description: 货币符号
  10845. type: string
  10846. decimalplace:
  10847. description: 报价小数位
  10848. type: integer
  10849. goodscode:
  10850. description: 商品代码(内部)
  10851. type: string
  10852. goodsid:
  10853. description: 商品ID
  10854. type: integer
  10855. goodsname:
  10856. description: 商品名称
  10857. type: string
  10858. marketid:
  10859. description: 市场ID
  10860. type: integer
  10861. offamount:
  10862. description: 优惠金额
  10863. type: number
  10864. payamount:
  10865. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10866. type: number
  10867. payflag:
  10868. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10869. type: integer
  10870. paylimitedtime:
  10871. description: 支付期限
  10872. type: string
  10873. paytime:
  10874. description: 付款时间
  10875. type: string
  10876. picurls:
  10877. description: 商品介绍图片[多张用逗号分隔]
  10878. type: string
  10879. sellaccountid:
  10880. description: 卖方账号ID[报价币种]
  10881. type: integer
  10882. sellorderid:
  10883. description: 卖方委托单号
  10884. type: string
  10885. tradeamount:
  10886. description: 成交金额
  10887. type: number
  10888. tradecharge:
  10889. description: 成交手续费(买方)
  10890. type: number
  10891. tradedate:
  10892. description: 交易日(yyyyMMdd)
  10893. type: string
  10894. tradeid:
  10895. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10896. type: string
  10897. trademode:
  10898. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10899. 21:竞拍-大宗式 22:受托竞价
  10900. type: integer
  10901. tradeprice:
  10902. description: 成交价格
  10903. type: number
  10904. tradeqty:
  10905. description: 成交数量
  10906. type: integer
  10907. required:
  10908. - goodscode
  10909. - goodsname
  10910. - tradeid
  10911. - trademode
  10912. type: object
  10913. models.HsbySellMyDetail:
  10914. properties:
  10915. accountid:
  10916. description: 账户ID[报价币种]
  10917. type: integer
  10918. agreeunit:
  10919. description: 合约单位
  10920. type: number
  10921. buyorsell:
  10922. description: 买卖 - 0:买 1:卖
  10923. type: integer
  10924. currencysign:
  10925. description: 货币符号
  10926. type: string
  10927. decimalplace:
  10928. description: 报价小数位
  10929. type: integer
  10930. goodscode:
  10931. description: 商品代码(内部)
  10932. type: string
  10933. goodsid:
  10934. description: 商品ID
  10935. type: integer
  10936. goodsname:
  10937. description: 商品名称
  10938. type: string
  10939. marketid:
  10940. description: 市场ID
  10941. type: integer
  10942. orderid:
  10943. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10944. type: string
  10945. ordertype:
  10946. description: 单据类型:0 - 发布中, 1 - 已完成
  10947. type: integer
  10948. picurls:
  10949. description: 介绍图片[多张用逗号分隔]
  10950. type: string
  10951. price:
  10952. description: 价格
  10953. type: number
  10954. qty:
  10955. description: 数量
  10956. type: integer
  10957. time:
  10958. description: 时间
  10959. type: string
  10960. trademode:
  10961. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10962. 21:竞拍-大宗式 22:受托竞价
  10963. type: integer
  10964. vendorname:
  10965. description: 供应商名称
  10966. type: string
  10967. required:
  10968. - accountid
  10969. - buyorsell
  10970. - goodscode
  10971. - goodsid
  10972. - goodsname
  10973. - marketid
  10974. - orderid
  10975. - time
  10976. - trademode
  10977. type: object
  10978. models.HsbyTopGoods:
  10979. properties:
  10980. agreeunit:
  10981. description: 合约单位
  10982. type: number
  10983. currency:
  10984. description: 货币
  10985. type: string
  10986. currencysign:
  10987. description: 货币符号
  10988. type: string
  10989. decimalplace:
  10990. description: 报价小数位
  10991. type: integer
  10992. desccityid:
  10993. description: 目的地(市)
  10994. type: integer
  10995. descprovinceid:
  10996. description: 目的地(省)
  10997. type: integer
  10998. goodscode:
  10999. description: 商品代码(内部)
  11000. type: string
  11001. goodsid:
  11002. description: 商品ID(自增ID SEQ_GOODS)
  11003. type: integer
  11004. goodsname:
  11005. description: 商品名称
  11006. type: string
  11007. hotindex:
  11008. description: 景点热度
  11009. type: integer
  11010. last:
  11011. description: 现价
  11012. type: number
  11013. marketid:
  11014. description: 所属市场ID
  11015. type: integer
  11016. picurls:
  11017. description: 介绍图片[多张用逗号分隔]
  11018. type: string
  11019. quoteminunit:
  11020. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11021. type: integer
  11022. trademode:
  11023. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11024. 21:竞拍-大宗式 22:受托竞价
  11025. type: integer
  11026. videourls:
  11027. description: 介绍视频[多张用逗号分隔]
  11028. type: string
  11029. required:
  11030. - goodscode
  11031. - goodsid
  11032. - goodsname
  11033. - marketid
  11034. - trademode
  11035. type: object
  11036. models.HybsMyBuyOrderDetail:
  11037. properties:
  11038. accountid:
  11039. description: 账户ID[报价币种]
  11040. type: integer
  11041. agreeunit:
  11042. description: 合约单位
  11043. type: number
  11044. buyorsell:
  11045. description: 买卖 - 0:买 1:卖
  11046. type: integer
  11047. cancelqty:
  11048. description: 撤单数量
  11049. type: integer
  11050. currencysign:
  11051. description: 货币符号
  11052. type: string
  11053. decimalplace:
  11054. description: 报价小数位
  11055. type: integer
  11056. goodscode:
  11057. description: 商品代码(内部)
  11058. type: string
  11059. goodsid:
  11060. description: 商品ID
  11061. type: integer
  11062. goodsname:
  11063. description: 商品名称
  11064. type: string
  11065. listingselecttype:
  11066. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11067. type: integer
  11068. marketid:
  11069. description: 市场ID
  11070. type: integer
  11071. mybuystatus:
  11072. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  11073. type: integer
  11074. orderamount:
  11075. description: 委托金额
  11076. type: number
  11077. orderid:
  11078. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11079. type: string
  11080. orderprice:
  11081. description: 委托价格
  11082. type: number
  11083. orderqty:
  11084. description: 委托数量
  11085. type: integer
  11086. orderstatus:
  11087. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11088. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11089. 16:成交失败违约(荷兰式竞拍专用)
  11090. type: integer
  11091. ordertime:
  11092. description: 委托时间
  11093. type: string
  11094. picurls1:
  11095. description: 预售商品介绍图片[多张用逗号分隔]
  11096. type: string
  11097. picurls2:
  11098. description: 挂牌商品介绍图片[多张用逗号分隔]
  11099. type: string
  11100. trademode:
  11101. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11102. 21:竞拍-大宗式 22:受托竞价
  11103. type: integer
  11104. tradeqty:
  11105. description: 成交数量
  11106. type: integer
  11107. vendorname1:
  11108. description: 预售商品供应商名称
  11109. type: string
  11110. vendorname2:
  11111. description: 挂牌商品供应商名称
  11112. type: string
  11113. required:
  11114. - accountid
  11115. - buyorsell
  11116. - goodscode
  11117. - goodsid
  11118. - goodsname
  11119. - marketid
  11120. - orderid
  11121. - orderqty
  11122. - ordertime
  11123. - trademode
  11124. type: object
  11125. models.InternalEnableTradeDetail:
  11126. properties:
  11127. agreeunit:
  11128. description: 合约乘数
  11129. type: number
  11130. areauserid:
  11131. description: 企业ID
  11132. type: integer
  11133. convertratio:
  11134. description: 品种系数
  11135. type: number
  11136. deliverygoodscode:
  11137. description: 现货品种代码
  11138. type: string
  11139. deliverygoodsid:
  11140. description: 现货品种ID(SEQ_DELIVERYGOODS)
  11141. type: integer
  11142. deliverygoodsname:
  11143. description: 现货品种名称
  11144. type: string
  11145. futurehedgeqty:
  11146. description: '[已关联数量]期货持仓套期量'
  11147. type: number
  11148. goodsid:
  11149. description: 期货合约ID
  11150. type: integer
  11151. hedgeditemid:
  11152. description: 被套期项目ID
  11153. type: string
  11154. hedgeditemnum:
  11155. description: 项目编号
  11156. type: string
  11157. tradeuserid:
  11158. description: 交易用户ID
  11159. type: integer
  11160. unexehedgeqty:
  11161. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  11162. type: number
  11163. unexespotqty:
  11164. description: 未执行现货量
  11165. type: number
  11166. wrstandardcode:
  11167. description: 现货品类代码
  11168. type: string
  11169. wrstandardid:
  11170. description: 现货品类ID(SEQ_WRSTANDARD)
  11171. type: integer
  11172. wrstandardname:
  11173. description: 现货品类名称
  11174. type: string
  11175. required:
  11176. - areauserid
  11177. - goodsid
  11178. - tradeuserid
  11179. type: object
  11180. models.InternalUncorrelatedTradeDetail:
  11181. properties:
  11182. accountid:
  11183. description: 账号ID
  11184. type: integer
  11185. accountname:
  11186. description: 套期主体
  11187. type: string
  11188. agreeunit:
  11189. description: 合约乘数
  11190. type: number
  11191. areauserid:
  11192. description: 所属机构
  11193. type: integer
  11194. bizsubjectid:
  11195. description: 归属业务部门ID - SubjectID
  11196. type: integer
  11197. buyorsell:
  11198. description: 方向 - 0:买 1:卖
  11199. type: integer
  11200. channelbuildtype:
  11201. description: 委托单据类型 0:无 1:建仓 2:平仓
  11202. type: integer
  11203. convertratio:
  11204. description: 品种系数
  11205. type: number
  11206. createtime:
  11207. description: 创建时间
  11208. type: string
  11209. creatorid:
  11210. description: 创建人ID
  11211. type: integer
  11212. creatorsrc:
  11213. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11214. type: integer
  11215. enableqty:
  11216. description: 项目可关联数量 = 套保品种数量 - 关联数量
  11217. type: number
  11218. enumdicname:
  11219. description: 单位
  11220. type: string
  11221. goodscode:
  11222. description: 合约代码
  11223. type: string
  11224. goodsgroupid:
  11225. description: 对冲品种ID[期货合约商品组ID]
  11226. type: integer
  11227. goodsid:
  11228. description: 商品ID
  11229. type: integer
  11230. goodsname:
  11231. description: 合约名称
  11232. type: string
  11233. hedgeditemid:
  11234. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11235. type: integer
  11236. hedgeflag:
  11237. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11238. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11239. type: integer
  11240. linkdetailid:
  11241. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11242. type: string
  11243. linkstatus:
  11244. description: 关联状态 - 1:成功 2:失败 3:解绑
  11245. type: integer
  11246. middlegoodsid:
  11247. description: 套保品种ID
  11248. type: integer
  11249. middlegoodsqty:
  11250. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  11251. type: number
  11252. relatedlot:
  11253. description: '[数量]关联手数'
  11254. type: number
  11255. relatedmode:
  11256. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11257. type: integer
  11258. relatedqty:
  11259. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11260. type: number
  11261. retcode:
  11262. description: 返回码
  11263. type: integer
  11264. saleuserid:
  11265. description: 业务员ID
  11266. type: integer
  11267. tradedate:
  11268. description: 关联交易日(yyyyMMdd)
  11269. type: string
  11270. tradeid:
  11271. description: 成交单号
  11272. type: string
  11273. tradelot:
  11274. description: 成交手数
  11275. type: integer
  11276. tradeprice:
  11277. description: 成交价
  11278. type: number
  11279. tradetime:
  11280. description: 成交时间
  11281. type: string
  11282. tradetradedate:
  11283. description: 成交交易日(yyyyMMdd)
  11284. type: string
  11285. tradeuserid:
  11286. description: 交易用户ID
  11287. type: integer
  11288. type: object
  11289. models.Loginaccount:
  11290. properties:
  11291. accountname:
  11292. description: 账户名称
  11293. type: string
  11294. canoutin:
  11295. description: 是否可出入金 - 0:不可 1:可
  11296. type: integer
  11297. clientroleid:
  11298. description: 终端角色ID
  11299. type: integer
  11300. haslogined:
  11301. description: 是否已登录 - 0:未登录 1:已登录
  11302. type: integer
  11303. hasupdatedpwd:
  11304. description: 是否已更改密码 - 0:未修改 1:已修改
  11305. type: integer
  11306. lastloginip:
  11307. description: 最新登录地址
  11308. type: string
  11309. lastloginmode:
  11310. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11311. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11312. type: integer
  11313. lastloginremark:
  11314. description: 最新登录描述
  11315. type: string
  11316. lastlogintime:
  11317. description: 最新登录时间
  11318. type: string
  11319. logincode:
  11320. description: 登录代码
  11321. type: string
  11322. loginfailnum:
  11323. description: 连续登录失败次数(登录成功时清零)
  11324. type: integer
  11325. loginid:
  11326. description: 登陆账号
  11327. type: integer
  11328. loginport:
  11329. description: 最新登录端口
  11330. type: integer
  11331. loginstatus:
  11332. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11333. type: integer
  11334. loginusertype:
  11335. description: 登录账号类型 - 1:投资者 2:机构交易员
  11336. type: integer
  11337. mobile:
  11338. description: 手机号码(加密存储)
  11339. type: string
  11340. modifierid:
  11341. description: 修改人
  11342. type: integer
  11343. modifysrc:
  11344. description: 审核来源 - 1:管理端 2:终端
  11345. type: integer
  11346. modifytime:
  11347. description: 修改时间
  11348. type: string
  11349. password:
  11350. description: 登陆密码
  11351. type: string
  11352. pwdwrongcount:
  11353. description: 密码错误次数
  11354. type: integer
  11355. relateduserid:
  11356. description: 关联用户ID(机构)
  11357. type: integer
  11358. taaccountrighttype:
  11359. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11360. type: integer
  11361. unfreezetime:
  11362. description: 账户解冻时间
  11363. type: string
  11364. userid:
  11365. description: 用户ID
  11366. type: integer
  11367. required:
  11368. - loginid
  11369. type: object
  11370. models.MainAccountInfo:
  11371. properties:
  11372. accountid:
  11373. description: 账号id
  11374. type: integer
  11375. accountname:
  11376. description: 账号名称(taaccount表中的名称)
  11377. type: string
  11378. appid:
  11379. description: AppID
  11380. type: string
  11381. authcode:
  11382. description: 授权码
  11383. type: string
  11384. brokerid:
  11385. description: 经纪商id
  11386. type: string
  11387. fcid:
  11388. description: 期货公司id
  11389. type: integer
  11390. fcname:
  11391. description: 期货公司代码
  11392. type: string
  11393. hedgeaccountcode:
  11394. description: 外部账号代码(主账号登录代码)
  11395. type: string
  11396. hedgeaccountpwd:
  11397. description: 密码
  11398. type: string
  11399. ismain:
  11400. description: 是否主账号
  11401. type: integer
  11402. relateduserid:
  11403. description: 关联用户id
  11404. type: integer
  11405. userid:
  11406. description: 关联用户id
  11407. type: integer
  11408. type: object
  11409. models.Market:
  11410. properties:
  11411. auctionwrtype:
  11412. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11413. type: integer
  11414. canacceptquote:
  11415. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11416. type: integer
  11417. cangoodsexercise:
  11418. description: '[期权]是否可现货行权- 0:否 1:是'
  11419. type: integer
  11420. cangoodsexercisetype:
  11421. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11422. type: integer
  11423. canmanualquotestrike:
  11424. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11425. type: integer
  11426. canmutistage:
  11427. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11428. type: integer
  11429. canpreexercise:
  11430. description: '[期权]是否可预申报- 0:否 1:是'
  11431. type: integer
  11432. clearinterval:
  11433. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11434. type: integer
  11435. contracttmp:
  11436. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11437. type: string
  11438. exchareaid:
  11439. description: 所属交易所,可以没有
  11440. type: integer
  11441. goodstype:
  11442. description: 商品类型 - 1:交易商品 2:仓单商品
  11443. type: integer
  11444. hasrebate:
  11445. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11446. type: integer
  11447. hastradecredit:
  11448. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11449. type: integer
  11450. haswr:
  11451. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11452. type: integer
  11453. isdeductmargin:
  11454. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11455. type: integer
  11456. isrecordsource:
  11457. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11458. type: integer
  11459. isreleasemargin:
  11460. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11461. type: integer
  11462. marginformula:
  11463. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11464. type: integer
  11465. marginformula2:
  11466. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11467. type: integer
  11468. marketid:
  11469. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11470. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11471. type: integer
  11472. marketname:
  11473. description: 市场名称
  11474. type: string
  11475. marketserviceid:
  11476. description: 市场服务ID
  11477. type: integer
  11478. marketstatus:
  11479. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11480. type: integer
  11481. markettype:
  11482. description: 市场类型- 1:非交易服务 2:交易服务
  11483. type: integer
  11484. matchermode:
  11485. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11486. type: integer
  11487. openmethod:
  11488. description: 开盘模式 - 0 自动 1手动
  11489. type: integer
  11490. otcuserid:
  11491. description: 场外期权做市商[场外期权]
  11492. type: integer
  11493. outersynctime:
  11494. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11495. type: string
  11496. pendingflag:
  11497. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11498. type: integer
  11499. pendingtime:
  11500. description: 待开市时间[通道交易-对冲](HH:mm)
  11501. type: string
  11502. performancetempid:
  11503. description: 履约计划模板ID - 作废
  11504. type: integer
  11505. premiumquotemode:
  11506. description: 权利金报价方式 - 1:自动 2:手动
  11507. type: integer
  11508. rebateratio:
  11509. description: 返利比率[竞价式]
  11510. type: number
  11511. reckonorder:
  11512. description: 结算顺序
  11513. type: integer
  11514. reckonpricealgorithm:
  11515. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11516. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11517. type: integer
  11518. reckonpriceparam:
  11519. description: 结算价参数
  11520. type: integer
  11521. reckontime:
  11522. description: 结算时间[通道交易-对冲](HH:mm)
  11523. type: string
  11524. roleprioritytype:
  11525. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11526. type: integer
  11527. selllistingauditflag:
  11528. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11529. type: integer
  11530. trademarkettype:
  11531. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11532. type: integer
  11533. trademode:
  11534. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11535. 21:竞拍-大宗式 22:受托竞价
  11536. type: integer
  11537. tradeproperty:
  11538. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11539. 8:场外期权
  11540. type: integer
  11541. tradetype:
  11542. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11543. type: integer
  11544. required:
  11545. - marketid
  11546. - marketstatus
  11547. - openmethod
  11548. - reckonpricealgorithm
  11549. - trademode
  11550. - tradeproperty
  11551. type: object
  11552. models.Marketcalendar:
  11553. properties:
  11554. holidaydate:
  11555. description: 节假日期(yyyy-MM-dd)
  11556. type: string
  11557. marketid:
  11558. description: 市场ID
  11559. type: integer
  11560. type: object
  11561. models.Marketrun:
  11562. properties:
  11563. afternexttradedate:
  11564. description: 下下交易日
  11565. type: string
  11566. clearquoteflag:
  11567. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11568. type: integer
  11569. lastreckondate:
  11570. description: 最新交易日(结算成功)
  11571. type: string
  11572. machinedate:
  11573. description: 机器时间
  11574. type: string
  11575. manualflag:
  11576. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11577. type: integer
  11578. marketid:
  11579. description: 市场ID
  11580. type: integer
  11581. nexttradedate:
  11582. description: 下一交易日
  11583. type: string
  11584. pretradedate:
  11585. description: 上一交易日
  11586. type: string
  11587. reckonflag:
  11588. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11589. type: integer
  11590. runstatus:
  11591. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11592. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11593. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11594. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11595. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11596. 62.今日免清算
  11597. type: integer
  11598. sectionid:
  11599. description: 时间段号[多时段时用]
  11600. type: integer
  11601. tradedate:
  11602. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11603. type: string
  11604. tradedate2:
  11605. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11606. type: string
  11607. updatetime:
  11608. description: 更新时间
  11609. type: string
  11610. required:
  11611. - marketid
  11612. - nexttradedate
  11613. - reckonflag
  11614. - runstatus
  11615. - tradedate
  11616. - tradedate2
  11617. type: object
  11618. models.Messageboard:
  11619. properties:
  11620. contactnum:
  11621. description: 联系电话
  11622. type: string
  11623. createtime:
  11624. description: 创建时间
  11625. type: string
  11626. message:
  11627. description: 留言信息
  11628. type: string
  11629. messageboardid:
  11630. description: 留言簿ID(SEQ_MessageBoard)
  11631. type: integer
  11632. userid:
  11633. description: 用户ID
  11634. type: integer
  11635. required:
  11636. - messageboardid
  11637. type: object
  11638. models.MyCoupon:
  11639. properties:
  11640. accountid:
  11641. description: 资金账户ID
  11642. type: integer
  11643. areauserid:
  11644. description: 所属机构
  11645. type: integer
  11646. conditionvalue:
  11647. description: 条件阈值(可为0)
  11648. type: number
  11649. couponcategroy:
  11650. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11651. type: integer
  11652. couponname:
  11653. description: 优惠券名称
  11654. type: string
  11655. coupontypeid:
  11656. description: 优惠券类型ID
  11657. type: string
  11658. couponvalue:
  11659. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11660. type: number
  11661. curfreezeqty:
  11662. description: 期末冻结数量
  11663. type: integer
  11664. curqty:
  11665. description: 期末数量
  11666. type: integer
  11667. isgeneral:
  11668. description: 是否通用券 - 0:否 1:是
  11669. type: integer
  11670. isunusable:
  11671. description: 是否不可用
  11672. type: boolean
  11673. limitedflag:
  11674. description: 是否指定商品 - 0:不限 1:限制
  11675. type: integer
  11676. limitedgoodsids:
  11677. description: 指定商品IDs[逗号分隔,前后加逗号]
  11678. type: string
  11679. orifreezeqty:
  11680. description: 期初冻结数量
  11681. type: integer
  11682. oriqty:
  11683. description: 期初数量
  11684. type: integer
  11685. reasontype:
  11686. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11687. type: integer
  11688. todaydecrease:
  11689. description: 今日减少
  11690. type: integer
  11691. todayincrease:
  11692. description: 今日增加
  11693. type: integer
  11694. userid:
  11695. description: 用户ID
  11696. type: integer
  11697. userscope:
  11698. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11699. type: string
  11700. required:
  11701. - accountid
  11702. - coupontypeid
  11703. type: object
  11704. models.MyCouponHold:
  11705. properties:
  11706. accountid:
  11707. description: 资金账户ID
  11708. type: integer
  11709. conditionvalue:
  11710. description: 条件阈值(可为0)
  11711. type: number
  11712. couponcategroy:
  11713. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11714. type: integer
  11715. couponholdid:
  11716. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11717. type: string
  11718. couponname:
  11719. description: 优惠券名称
  11720. type: string
  11721. coupontypeid:
  11722. description: 优惠券类型ID - SEQ_COUPONTYPE
  11723. type: string
  11724. couponvalue:
  11725. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11726. type: number
  11727. createtime:
  11728. description: 创建时间
  11729. type: string
  11730. enddate:
  11731. description: 结束日期
  11732. type: string
  11733. giveapplyid:
  11734. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11735. type: integer
  11736. holdstatus:
  11737. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11738. type: integer
  11739. isgeneral:
  11740. description: 是否通用券 - 0:否 1:是
  11741. type: integer
  11742. limitedflag:
  11743. description: 是否指定商品 - 0:不限 1:限制
  11744. type: integer
  11745. limitedgoodsids:
  11746. description: 指定商品IDs[逗号分隔]
  11747. type: string
  11748. qty:
  11749. description: 数量(按1平铺)
  11750. type: integer
  11751. startdate:
  11752. description: 开始日期
  11753. type: string
  11754. userid:
  11755. description: 用户ID
  11756. type: integer
  11757. userscope:
  11758. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11759. type: string
  11760. required:
  11761. - couponholdid
  11762. type: object
  11763. models.MyUsedCoupon:
  11764. properties:
  11765. accountid:
  11766. description: 资金账户ID(买方)
  11767. type: integer
  11768. conditionvalue:
  11769. description: 条件阈值(可为0)
  11770. type: number
  11771. couponcategroy:
  11772. description: 种类 - 1:现金券 2:折扣券
  11773. type: integer
  11774. couponname:
  11775. description: 优惠券名称
  11776. type: string
  11777. coupontypeid:
  11778. description: 优惠券类型ID(买方)
  11779. type: string
  11780. couponvalue:
  11781. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11782. type: number
  11783. createtime:
  11784. description: 创建时间
  11785. type: string
  11786. goodsid:
  11787. description: 商品ID
  11788. type: integer
  11789. handlestatus:
  11790. description: 处理状态
  11791. type: integer
  11792. marketid:
  11793. description: 市场ID
  11794. type: integer
  11795. offamount:
  11796. description: 优惠金额
  11797. type: number
  11798. orderid:
  11799. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11800. type: string
  11801. sellaccountid:
  11802. description: 资金账户ID(卖方)
  11803. type: integer
  11804. tradeamount:
  11805. description: 成交金额
  11806. type: number
  11807. tradeid:
  11808. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11809. type: string
  11810. usedqty:
  11811. description: 使用数量
  11812. type: integer
  11813. required:
  11814. - coupontypeid
  11815. - orderid
  11816. type: object
  11817. models.NewFuncmenulist:
  11818. properties:
  11819. authtype:
  11820. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11821. type: integer
  11822. buttonname:
  11823. description: 按钮名称
  11824. type: string
  11825. buttontype:
  11826. description: 按钮类型 - 存按钮样式
  11827. type: string
  11828. component:
  11829. description: 组件名或组件地址
  11830. type: string
  11831. hidden:
  11832. description: 是否隐藏 - 0:显示 1:隐藏
  11833. type: integer
  11834. iconame:
  11835. description: 菜单图标
  11836. type: string
  11837. menutype:
  11838. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11839. type: integer
  11840. parentcode:
  11841. description: 上级资源代码
  11842. type: string
  11843. remark:
  11844. description: Remark
  11845. type: string
  11846. resourcecode:
  11847. description: 资源代码
  11848. type: string
  11849. resourcelevel:
  11850. description: 级别1-一级 2-二级 3-三级4-四级
  11851. type: integer
  11852. resourcename:
  11853. description: 资源名(Title)
  11854. type: string
  11855. sort:
  11856. description: 排序
  11857. type: integer
  11858. url:
  11859. description: Url
  11860. type: string
  11861. urltype:
  11862. description: 地址类型 - 1:路由 2:外链 3:内联框架
  11863. type: integer
  11864. required:
  11865. - resourcecode
  11866. type: object
  11867. models.OperationPrimaryMenu:
  11868. properties:
  11869. Children:
  11870. description: 二级功能菜单
  11871. items:
  11872. $ref: '#/definitions/models.OperationSecondaryMenu'
  11873. type: array
  11874. Key:
  11875. description: 菜单KEY
  11876. type: string
  11877. Label:
  11878. description: 菜单标题
  11879. type: string
  11880. type: object
  11881. models.OperationSecondaryMenu:
  11882. properties:
  11883. Key:
  11884. description: 菜单KEY
  11885. type: string
  11886. Label:
  11887. description: 菜单标题
  11888. type: string
  11889. TabList:
  11890. description: 三级功能菜单
  11891. items:
  11892. $ref: '#/definitions/models.OperationTabMenu'
  11893. type: array
  11894. type: object
  11895. models.OperationTabMenu:
  11896. properties:
  11897. Key:
  11898. description: 菜单KEY
  11899. type: string
  11900. Label:
  11901. description: 菜单标题
  11902. type: string
  11903. type: object
  11904. models.Patradelinkdetail:
  11905. properties:
  11906. accountname:
  11907. description: 套期主体
  11908. type: string
  11909. agreeunit:
  11910. description: 合约乘数
  11911. type: number
  11912. amount:
  11913. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11914. type: number
  11915. areauserid:
  11916. description: 所属机构
  11917. type: integer
  11918. bizsubjectid:
  11919. description: 归属业务部门ID - SubjectID
  11920. type: integer
  11921. buyorsell:
  11922. description: 方向 - 0:买 1:卖
  11923. type: integer
  11924. convertratio:
  11925. description: 品种系数
  11926. type: number
  11927. convertratiochange:
  11928. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11929. type: number
  11930. createtime:
  11931. description: '[日期时间]创建时间'
  11932. type: string
  11933. creatorid:
  11934. description: 创建人ID
  11935. type: integer
  11936. creatorsrc:
  11937. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11938. type: integer
  11939. goodscode:
  11940. description: 商品代码(内部)
  11941. type: string
  11942. goodsgroupid:
  11943. description: 对冲品种ID[期货合约商品组ID]
  11944. type: integer
  11945. goodsid:
  11946. description: 商品ID
  11947. type: integer
  11948. hedgeditemid:
  11949. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11950. type: integer
  11951. hedgeflag:
  11952. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11953. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11954. type: integer
  11955. linkdetailid:
  11956. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11957. type: string
  11958. linkstatus:
  11959. description: 关联状态 - 1:成功 2:失败 3:解绑
  11960. type: integer
  11961. middlegoodsid:
  11962. description: 套保品种ID
  11963. type: integer
  11964. name:
  11965. description: 账户名/子账户
  11966. type: string
  11967. optioncode:
  11968. description: '[期货合约]期权代码 [期权]'
  11969. type: string
  11970. ordertype:
  11971. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11972. type: integer
  11973. relatedlot:
  11974. description: '[数量]关联手数'
  11975. type: number
  11976. relatedmode:
  11977. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11978. type: integer
  11979. relatedqty:
  11980. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11981. type: number
  11982. retcode:
  11983. description: 返回码
  11984. type: integer
  11985. saleuserid:
  11986. description: 业务员ID
  11987. type: integer
  11988. tradedate:
  11989. description: 关联交易日(yyyyMMdd)
  11990. type: string
  11991. tradeid:
  11992. description: '[成交单号]内部成交单ID'
  11993. type: string
  11994. tradelot:
  11995. description: 成交手数
  11996. type: integer
  11997. tradeprice:
  11998. description: '[价格]成交价格'
  11999. type: number
  12000. tradetradedate:
  12001. description: 成交交易日(yyyyMMdd)
  12002. type: string
  12003. type: object
  12004. models.QhjAccountOutInApply:
  12005. properties:
  12006. accountcode:
  12007. description: 资金账号
  12008. type: string
  12009. accountname:
  12010. description: 用户名称(名称)
  12011. type: string
  12012. accountpwd:
  12013. description: 资金密码
  12014. type: string
  12015. accountticket:
  12016. description: 最新账户服务流水号
  12017. type: string
  12018. amount:
  12019. description: 金额
  12020. type: number
  12021. applyremark:
  12022. description: 申请备注
  12023. type: string
  12024. applystatus:
  12025. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12026. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12027. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12028. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12029. type: integer
  12030. auditid:
  12031. description: 审核人
  12032. type: integer
  12033. audittime:
  12034. description: 审核时间
  12035. type: string
  12036. bank_apply_ticket:
  12037. description: 银行申请流水
  12038. type: string
  12039. bankaccountname:
  12040. description: 银行账户名
  12041. type: string
  12042. bankaccountno:
  12043. description: 银行卡号
  12044. type: string
  12045. bankid:
  12046. description: 银行编号
  12047. type: string
  12048. bankticket:
  12049. description: 银行流水
  12050. type: string
  12051. branchbankid:
  12052. description: 银行支行号
  12053. type: string
  12054. branchbankname:
  12055. description: 银行支行名称
  12056. type: string
  12057. capamountout:
  12058. description: 出金(劣后本金) - 外部子账户
  12059. type: number
  12060. certificatephotourl:
  12061. description: 凭证地址
  12062. type: string
  12063. charge:
  12064. description: 手续费
  12065. type: number
  12066. checkerrorflag:
  12067. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12068. type: integer
  12069. currency:
  12070. description: 币种
  12071. type: string
  12072. cusbankid:
  12073. description: 托管银行编号
  12074. type: string
  12075. exchticket:
  12076. description: 银行服务流水号
  12077. type: string
  12078. executetype:
  12079. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12080. 7:外部子账户:入金 8:外部子账户:出金'
  12081. type: integer
  12082. extendinfo:
  12083. description: 扩展信息
  12084. type: string
  12085. extoperateid:
  12086. description: 交易服务流水号
  12087. type: integer
  12088. infamount:
  12089. description: 劣后金额(自有)
  12090. type: number
  12091. logincode:
  12092. description: 登录账号(账号)
  12093. type: string
  12094. netaddr:
  12095. description: 调转网址
  12096. type: string
  12097. priamount:
  12098. description: 优先金额(授信)
  12099. type: number
  12100. reauditid:
  12101. description: 复审人
  12102. type: integer
  12103. reauditremark:
  12104. description: 复审备注
  12105. type: string
  12106. reaudittime:
  12107. description: 复审时间
  12108. type: string
  12109. relatedorderid:
  12110. description: 三方关联ID
  12111. type: string
  12112. remark:
  12113. description: 备注
  12114. type: string
  12115. remark2:
  12116. description: 备注(失败原因)
  12117. type: string
  12118. soucreamount:
  12119. description: 原始出入金金额
  12120. type: number
  12121. soucrecurrencyid:
  12122. description: 原始出入金币种
  12123. type: integer
  12124. tradedate:
  12125. description: 交易日(yyyyMMdd)
  12126. type: string
  12127. updatetime:
  12128. description: 更新时间(申请时间)
  12129. type: string
  12130. userid:
  12131. description: 用户id
  12132. type: integer
  12133. userinfotype:
  12134. description: 账户类型 1-个人 2-企业
  12135. type: integer
  12136. type: object
  12137. models.QhjAgreementChangeLog:
  12138. properties:
  12139. agreementcontent:
  12140. description: 协议内容
  12141. type: string
  12142. agreementfrequency:
  12143. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12144. type: integer
  12145. agreementid:
  12146. description: 协议ID
  12147. type: integer
  12148. agreementname:
  12149. description: 协议名称
  12150. type: string
  12151. agreementno:
  12152. description: 协议编号
  12153. type: string
  12154. agreementtype:
  12155. description: 协议类型 - 1:注册 2:登录 3:交易
  12156. type: integer
  12157. agreementversion:
  12158. description: 协议版本号
  12159. type: integer
  12160. logid:
  12161. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12162. type: integer
  12163. reviserid:
  12164. description: 修改人
  12165. type: integer
  12166. revisersrc:
  12167. description: 修改来源 - 1:管理端 2:终端
  12168. type: integer
  12169. updatetime:
  12170. description: 更新时间
  12171. type: string
  12172. type: object
  12173. models.QhjAgreementConfig:
  12174. properties:
  12175. agreementcontent:
  12176. description: 协议内容
  12177. type: string
  12178. agreementfrequency:
  12179. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12180. type: integer
  12181. agreementid:
  12182. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12183. type: integer
  12184. agreementname:
  12185. description: 协议名称
  12186. type: string
  12187. agreementno:
  12188. description: 协议编号
  12189. type: string
  12190. agreementtype:
  12191. description: 协议类型 - 1:注册 2:登录 3:交易
  12192. type: integer
  12193. agreementversion:
  12194. description: 协议版本号(从1开始每次修改加1)
  12195. type: integer
  12196. createtime:
  12197. description: 创建时间
  12198. type: string
  12199. creatorid:
  12200. description: 创建人
  12201. type: integer
  12202. creatorsrc:
  12203. description: 创建来源 - 1:管理端 2:终端
  12204. type: integer
  12205. isvalid:
  12206. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12207. type: integer
  12208. reviserid:
  12209. description: 修改人
  12210. type: integer
  12211. revisersrc:
  12212. description: 修改来源 - 1:管理端 2:终端
  12213. type: integer
  12214. updatetime:
  12215. description: 更新时间
  12216. type: string
  12217. type: object
  12218. models.QhjAreaFinanceConfig:
  12219. properties:
  12220. additionalratio:
  12221. description: 追加款比例
  12222. type: number
  12223. advanceratio:
  12224. description: 预付款比例
  12225. type: number
  12226. alarmratio:
  12227. description: 告警比例
  12228. type: number
  12229. consumptiondirectreward:
  12230. description: 消费直推奖励值
  12231. type: number
  12232. consumptionenabled:
  12233. description: 是否启用消费奖励 - 0:不启用 1:启用
  12234. type: integer
  12235. consumptionindirectreward:
  12236. description: 消费间推奖励值
  12237. type: number
  12238. consumptionmodel:
  12239. description: 消费奖励方式 - 1:比率 2:固定
  12240. type: integer
  12241. customerservicenum:
  12242. description: 客服电话
  12243. type: string
  12244. dayinterestrate:
  12245. description: 日利率
  12246. type: number
  12247. disableconsumptiontips:
  12248. description: 关闭消费奖励提示
  12249. type: string
  12250. modifierid:
  12251. description: 修改人ID
  12252. type: integer
  12253. modifysrc:
  12254. description: 审核来源 - 1:管理端 2:终端
  12255. type: integer
  12256. modifytime:
  12257. description: 修改时间
  12258. type: string
  12259. promotionvalue:
  12260. description: 推广奖励值(固定)
  12261. type: number
  12262. scoreconfigvalue1:
  12263. description: 提货积分配置1
  12264. type: integer
  12265. scoreconfigvalue2:
  12266. description: 提货积分配置2
  12267. type: integer
  12268. userid:
  12269. description: 机构用户ID其他做市关系,都设置为 1
  12270. type: integer
  12271. username:
  12272. description: 用户名称
  12273. type: string
  12274. type: object
  12275. models.QhjBankAccountSign:
  12276. properties:
  12277. accountcode:
  12278. description: 资金账号
  12279. type: string
  12280. accountname:
  12281. description: 资金账号对应的账号名(UserName)
  12282. type: string
  12283. accountname2:
  12284. description: 资金账号对应的账号名(UserName) - 密文
  12285. type: string
  12286. accounttype:
  12287. description: 账户类型(UserType)
  12288. type: integer
  12289. applicationtime:
  12290. description: 最后一次更新的时间
  12291. type: string
  12292. applyexchticket:
  12293. description: 申请流水
  12294. type: string
  12295. auditid:
  12296. description: 审核人
  12297. type: integer
  12298. audittime:
  12299. description: 审核时间
  12300. type: string
  12301. bankaccountname:
  12302. description: 签约银行卡账号名
  12303. type: string
  12304. bankaccountname2:
  12305. description: 签约银行卡账号名 - 密文
  12306. type: string
  12307. bankaccountno:
  12308. description: 银行卡号
  12309. type: string
  12310. bankaccountno2:
  12311. description: 银行卡号 - 密文
  12312. type: string
  12313. bankaccounttype:
  12314. description: 银行账户类型 - 1-对私; 2-对公
  12315. type: integer
  12316. bankcardtype:
  12317. description: 银行卡类型
  12318. type: integer
  12319. bankchildaccount:
  12320. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12321. type: string
  12322. bankcity:
  12323. description: 开户行城市
  12324. type: string
  12325. bankid:
  12326. description: 签约银行ID
  12327. type: string
  12328. bankname:
  12329. description: 签约银行名称
  12330. type: string
  12331. bankprovince:
  12332. description: 开户行省份
  12333. type: string
  12334. branchbankid:
  12335. description: 签约银行支行号
  12336. type: string
  12337. branchbankname:
  12338. description: 签约银行支行名称
  12339. type: string
  12340. cardno:
  12341. description: 证件号码
  12342. type: string
  12343. cardno2:
  12344. description: 证件号码 - 密文
  12345. type: string
  12346. cardtype:
  12347. description: 证件类型
  12348. type: string
  12349. currency:
  12350. description: 币种
  12351. type: string
  12352. cusbankid:
  12353. description: 托管银行编号
  12354. type: string
  12355. direct:
  12356. description: 方向(可以判断那方先发起的签约)
  12357. type: integer
  12358. exchticket:
  12359. description: 最后一次签约成功的流水号
  12360. type: string
  12361. extendinfo:
  12362. description: 扩展信息(JSON字符串)
  12363. type: string
  12364. mobilephone:
  12365. description: 手机号
  12366. type: string
  12367. mobilephone2:
  12368. description: 手机号 - 密文
  12369. type: string
  12370. netaddr:
  12371. description: 调转网址
  12372. type: string
  12373. relateduserid:
  12374. description: 关联使用者userid
  12375. type: integer
  12376. signstatus:
  12377. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12378. 10:审核拒绝 11:换签待审核
  12379. type: integer
  12380. updatetime:
  12381. description: 更新时间(签解约更新时间)
  12382. type: string
  12383. type: object
  12384. models.QhjBankInfo:
  12385. properties:
  12386. bankid:
  12387. description: 银行ID
  12388. type: string
  12389. bankname:
  12390. description: 银行名称
  12391. type: string
  12392. clearbankno:
  12393. description: 清算系统银行编号
  12394. type: string
  12395. orderindex:
  12396. description: 排序顺序
  12397. type: integer
  12398. status:
  12399. description: 状态 - 0:正常 1:注销
  12400. type: integer
  12401. type: object
  12402. models.QhjBrokerApply:
  12403. properties:
  12404. applicantid:
  12405. description: 申请人
  12406. type: integer
  12407. applysrc:
  12408. description: 申请来源 - 1:管理端 2:终端
  12409. type: integer
  12410. applystatus:
  12411. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12412. type: integer
  12413. applytime:
  12414. description: 申请时间
  12415. type: string
  12416. auditorid:
  12417. description: 审核人
  12418. type: integer
  12419. auditremark:
  12420. description: 审核备注
  12421. type: string
  12422. auditsrc:
  12423. description: 审核来源 - 1:管理端 2:终端
  12424. type: integer
  12425. audittime:
  12426. description: 审核时间
  12427. type: string
  12428. audittradedate:
  12429. description: 审核交易日(yyyyMMdd)
  12430. type: string
  12431. brokerapplyid:
  12432. description: 申请ID(SEQ_BROKERAPPLY)
  12433. type: integer
  12434. cardbackphotourl:
  12435. description: 证件背面图片地址
  12436. type: string
  12437. cardfrontphotourl:
  12438. description: 证件正面图片地址
  12439. type: string
  12440. cardnum:
  12441. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12442. type: string
  12443. customername:
  12444. description: 姓名
  12445. type: string
  12446. logincode:
  12447. description: 登录代码
  12448. type: string
  12449. mobile:
  12450. description: 手机号码
  12451. type: string
  12452. parentuserid:
  12453. description: 所属机构id
  12454. type: integer
  12455. parentusername:
  12456. description: 所属机构名称
  12457. type: string
  12458. refereeuserid:
  12459. description: 推荐人id(经纪人)
  12460. type: integer
  12461. refernum:
  12462. description: 推荐码
  12463. type: string
  12464. remark:
  12465. description: 备注
  12466. type: string
  12467. subarealevelpath:
  12468. description: 层级路径
  12469. type: string
  12470. tradedate:
  12471. description: 交易日(yyyyMMdd)
  12472. type: string
  12473. userid:
  12474. description: 申请人用户ID
  12475. type: integer
  12476. userinfotype:
  12477. description: 用户类型 1-个人 2-企业
  12478. type: integer
  12479. username:
  12480. description: 用户名称
  12481. type: string
  12482. type: object
  12483. models.QhjBrokerApplyEx:
  12484. properties:
  12485. applylist:
  12486. description: 经纪人申请记录(只返回最新一条)
  12487. items:
  12488. $ref: '#/definitions/models.QhjBrokerApply'
  12489. type: array
  12490. canrecommend:
  12491. description: 是否经纪人 0-不是 1-是
  12492. type: integer
  12493. refernum:
  12494. description: 推荐码
  12495. type: string
  12496. userid:
  12497. description: 用户id
  12498. type: integer
  12499. userinfotype:
  12500. description: 用户类型 1-个人 2-企业
  12501. type: integer
  12502. type: object
  12503. models.QhjBrokerRewardLog:
  12504. properties:
  12505. accountid:
  12506. description: 资金账号ID
  12507. type: integer
  12508. createtime:
  12509. description: 创建时间(时间)
  12510. type: string
  12511. handlestatus:
  12512. description: 处理状态
  12513. type: integer
  12514. logid:
  12515. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12516. type: string
  12517. marketid:
  12518. description: 市场ID
  12519. type: integer
  12520. mmaccountid:
  12521. description: 做市商资金账号ID
  12522. type: string
  12523. mmuserid:
  12524. description: 做市商用户ID
  12525. type: string
  12526. rewardamount:
  12527. description: 奖励金额
  12528. type: number
  12529. rewardmodel:
  12530. description: 消费奖励方式 - 1:比率 2:固定
  12531. type: integer
  12532. rewardtype:
  12533. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12534. type: integer
  12535. rewardvalue:
  12536. description: 配置奖励值
  12537. type: number
  12538. srcamount:
  12539. description: 成交金额 [消费奖励] (金额)
  12540. type: number
  12541. srcgoodsid:
  12542. description: 来源商品ID [消费奖励]
  12543. type: string
  12544. srctime:
  12545. description: 来源时间 (成交时间) [消费奖励]
  12546. type: string
  12547. srctradeid:
  12548. description: 来源成交单ID [消费奖励] - 排除提货成交
  12549. type: string
  12550. srcuserid:
  12551. description: 来源用户ID(推广账户)
  12552. type: string
  12553. srcusername:
  12554. description: 推广账户名称
  12555. type: string
  12556. tradedate:
  12557. description: 交易日(yyyyMMdd)
  12558. type: string
  12559. userid:
  12560. description: 经纪人用户ID
  12561. type: integer
  12562. type: object
  12563. models.QhjContract:
  12564. properties:
  12565. contractconfirmtime:
  12566. description: 合同确认时间(时间)
  12567. type: string
  12568. currisklevel:
  12569. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12570. type: integer
  12571. decimalplace:
  12572. description: 商品报价小数位
  12573. type: integer
  12574. enumdicname:
  12575. description: 单位名称
  12576. type: string
  12577. goodscode:
  12578. description: 商品代码
  12579. type: string
  12580. goodsid:
  12581. description: 商品ID [5:融资单]
  12582. type: integer
  12583. goodsname:
  12584. description: 商品名称
  12585. type: string
  12586. goodunitid:
  12587. description: 商品单位id
  12588. type: integer
  12589. initmargin:
  12590. description: 初始保证金(首付款)
  12591. type: number
  12592. lenderamount:
  12593. description: 贷款金额(总额|订单总额)
  12594. type: number
  12595. marginratio:
  12596. description: 保证金比率(首付比例)
  12597. type: number
  12598. payamount:
  12599. description: 已付(已付货款)
  12600. type: number
  12601. reckonrecovermargin:
  12602. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12603. type: number
  12604. recoveredmargin:
  12605. description: 已追缴保证金
  12606. type: number
  12607. remainamount:
  12608. description: 合同剩余金额(融资额)
  12609. type: number
  12610. scfcontractid:
  12611. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12612. type: string
  12613. scfcontractstatus:
  12614. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12615. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12616. type: integer
  12617. scfcontracttype:
  12618. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12619. type: integer
  12620. totalinterest:
  12621. description: 已计总利息(利息)
  12622. type: number
  12623. tradeprice:
  12624. description: 成交价格(成本价格)
  12625. type: number
  12626. userid:
  12627. description: 用户ID
  12628. type: integer
  12629. username:
  12630. description: 用户名称
  12631. type: string
  12632. wrqty:
  12633. description: 仓单数量(数量)
  12634. type: number
  12635. type: object
  12636. models.QhjContractLog:
  12637. properties:
  12638. amount:
  12639. description: 支付金额
  12640. type: number
  12641. amounttype:
  12642. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12643. type: integer
  12644. logid:
  12645. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12646. type: string
  12647. remainamount:
  12648. description: 剩余货款
  12649. type: number
  12650. scfcontractid:
  12651. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12652. type: integer
  12653. updatetime:
  12654. description: 更新时间
  12655. type: string
  12656. type: object
  12657. models.QhjCusBankSignBankEx:
  12658. properties:
  12659. banklst:
  12660. description: 银行列表
  12661. items:
  12662. $ref: '#/definitions/models.QhjBankInfo'
  12663. type: array
  12664. canallot:
  12665. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12666. type: integer
  12667. canallotquery:
  12668. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12669. type: integer
  12670. canbindcard:
  12671. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12672. type: integer
  12673. caninamount:
  12674. description: 是否可入金 - 0:不可 1:可以
  12675. type: integer
  12676. caninamount2:
  12677. description: 是否可入金(网银端) - 0:不可 1:可以
  12678. type: integer
  12679. canmodifybankcard:
  12680. description: 是否可修改银行卡号 - 0:不可 1:可以
  12681. type: integer
  12682. canmodifyphone:
  12683. description: 是否可修改手机号 - 0:不可 1:可以
  12684. type: integer
  12685. canmodifysigninfo:
  12686. description: 是否可修改签约信息 - 0:不可 1:可以
  12687. type: integer
  12688. canoutamount:
  12689. description: 是否可出金 - 0:不可 1:可以
  12690. type: integer
  12691. canoutamount2:
  12692. description: 是否可出金(网银端) - 0:不可 1:可以
  12693. type: integer
  12694. canrelease:
  12695. description: 是否可解约 - 0:不可 1:可以
  12696. type: integer
  12697. canrelease2:
  12698. description: 是否可解约(网银端) - 0:不可 1:可以
  12699. type: integer
  12700. cansign:
  12701. description: 是否可签约 - 0:不可 1:可以
  12702. type: integer
  12703. cansign2:
  12704. description: 是否可签约(网银端) - 0:不可 1:可以
  12705. type: integer
  12706. currency:
  12707. description: 币种
  12708. type: string
  12709. cusbankid:
  12710. description: 托管银行编号(对应清算中心TRAN_NO)
  12711. type: string
  12712. cusbankname:
  12713. description: 银行业务名称
  12714. type: string
  12715. cusbankshortname:
  12716. description: 银行业务简称
  12717. type: string
  12718. exchbankid:
  12719. description: 交易所开户银行ID
  12720. type: string
  12721. exchpaybankaccname:
  12722. description: 交易所支出结算账户户名
  12723. type: string
  12724. exchpaybankaccno:
  12725. description: 交易所支出结算账户
  12726. type: string
  12727. isneedcheck:
  12728. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12729. type: integer
  12730. isneedclear:
  12731. description: 是否需要清算 - 0:不需要 1:需要
  12732. type: integer
  12733. lastcheckstatus:
  12734. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12735. type: integer
  12736. lastchecktime:
  12737. description: 最后对账时间
  12738. type: string
  12739. lastclearstatus:
  12740. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12741. type: integer
  12742. lastcleartime:
  12743. description: 最后清算时间
  12744. type: string
  12745. lastsignintime:
  12746. description: 最后签到时间
  12747. type: string
  12748. lastsignouttime:
  12749. description: 最后签退时间
  12750. type: string
  12751. riskinfo:
  12752. description: 签约风险提示书
  12753. type: string
  12754. signstatus:
  12755. description: 当前签到/签退状态 - 1:签到 2:签退
  12756. type: integer
  12757. tradedate:
  12758. description: 交易日(yyyyMMdd)
  12759. type: string
  12760. updatetime:
  12761. description: 当前签到/签退更新时间
  12762. type: string
  12763. type: object
  12764. models.QhjCustomer:
  12765. properties:
  12766. address:
  12767. description: 通讯地址
  12768. type: string
  12769. attachment1:
  12770. description: 附件1
  12771. type: string
  12772. attachment2:
  12773. description: 附件2
  12774. type: string
  12775. audittime:
  12776. description: 审核时间
  12777. type: string
  12778. cardbackphotourl:
  12779. description: 证件反面图片地址
  12780. type: string
  12781. cardfrontphotourl:
  12782. description: 证件正面图片地址
  12783. type: string
  12784. cardnum:
  12785. description: 证件号码
  12786. type: string
  12787. cardtype:
  12788. description: 证件类型
  12789. type: integer
  12790. cardtypename:
  12791. description: 证件类型名称
  12792. type: string
  12793. cityid:
  12794. description: 市
  12795. type: integer
  12796. cityname:
  12797. description: 城市名称
  12798. type: string
  12799. contactname:
  12800. description: 联系人
  12801. type: string
  12802. countryid:
  12803. description: 国家
  12804. type: integer
  12805. countryname:
  12806. description: 国家名称
  12807. type: string
  12808. createtime:
  12809. description: 创建时间
  12810. type: string
  12811. customername:
  12812. description: 客户名称
  12813. type: string
  12814. districtid:
  12815. description: 区域
  12816. type: integer
  12817. districtname:
  12818. description: 地区名称
  12819. type: string
  12820. email:
  12821. description: 邮件
  12822. type: string
  12823. legalpersonname:
  12824. description: 法人姓名(企业)
  12825. type: string
  12826. logincode:
  12827. description: 登录账号(代码)
  12828. type: string
  12829. memberuserid:
  12830. description: 所属机构ID(所属会员)
  12831. type: integer
  12832. memberusername:
  12833. description: 所属会员名称
  12834. type: string
  12835. mobile:
  12836. description: 手机号码
  12837. type: string
  12838. modifytime:
  12839. description: 修改时间
  12840. type: string
  12841. nickname:
  12842. description: 昵称
  12843. type: string
  12844. parentuserid:
  12845. description: 上级机构(所属机构)
  12846. type: integer
  12847. parentusername:
  12848. description: 所属机构名称
  12849. type: string
  12850. provinceid:
  12851. description: 省
  12852. type: integer
  12853. provincename:
  12854. description: 省名称
  12855. type: string
  12856. proxystatementurl:
  12857. description: 授权委托书
  12858. type: string
  12859. remark:
  12860. description: 备注
  12861. type: string
  12862. status:
  12863. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12864. type: integer
  12865. statusdesc:
  12866. description: 账户状态中文描述
  12867. type: string
  12868. taxpayernum:
  12869. description: 纳税人识别号
  12870. type: string
  12871. telphone:
  12872. description: 联系电话
  12873. type: string
  12874. userid:
  12875. description: 用户ID
  12876. type: integer
  12877. userinfotype:
  12878. description: 客户类型 1-个人 2-企业
  12879. type: integer
  12880. username:
  12881. description: 用户名称
  12882. type: string
  12883. type: object
  12884. models.QhjCustomerSignLog:
  12885. properties:
  12886. agreementcontent:
  12887. description: 协议内容
  12888. type: string
  12889. agreementid:
  12890. description: 协议ID
  12891. type: integer
  12892. agreementname:
  12893. description: 协议名称
  12894. type: string
  12895. agreementno:
  12896. description: 协议编号
  12897. type: string
  12898. agreementtype:
  12899. description: 协议类型 - 1:注册 2:登录 3:交易
  12900. type: integer
  12901. agreementversion:
  12902. description: 协议版本号
  12903. type: integer
  12904. createtime:
  12905. description: 创建时间
  12906. type: string
  12907. goodscode:
  12908. description: 商品代码
  12909. type: string
  12910. goodsid:
  12911. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12912. type: integer
  12913. goodsname:
  12914. description: 商品名称
  12915. type: string
  12916. logid:
  12917. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  12918. type: integer
  12919. nodetype:
  12920. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12921. type: integer
  12922. signadressurl:
  12923. description: 签约文件地址
  12924. type: string
  12925. signtimestamp:
  12926. description: 签约状态时间戳
  12927. type: string
  12928. userid:
  12929. description: 客户ID
  12930. type: integer
  12931. username:
  12932. description: 客户名称
  12933. type: string
  12934. type: object
  12935. models.QhjCustomerSignStatus:
  12936. properties:
  12937. createtime:
  12938. description: 创建时间
  12939. type: string
  12940. goodscode:
  12941. description: 商品代码
  12942. type: string
  12943. goodsid:
  12944. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12945. type: integer
  12946. goodsname:
  12947. description: 商品名称
  12948. type: string
  12949. nodetype:
  12950. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  12951. type: integer
  12952. signtimestamp:
  12953. description: 签约状态时间戳
  12954. type: string
  12955. tradedate:
  12956. description: 创建交易日(yyyyMMdd)
  12957. type: string
  12958. updatetime:
  12959. description: 更新时间
  12960. type: string
  12961. userid:
  12962. description: 客户ID
  12963. type: integer
  12964. username:
  12965. description: 客户名称
  12966. type: string
  12967. type: object
  12968. models.QhjMgrAccountOutInApply:
  12969. properties:
  12970. accountcode:
  12971. description: 资金账号
  12972. type: string
  12973. accountname:
  12974. description: 用户名称(名称)
  12975. type: string
  12976. accountpwd:
  12977. description: 资金密码
  12978. type: string
  12979. accountticket:
  12980. description: 最新账户服务流水号
  12981. type: string
  12982. amount:
  12983. description: 金额
  12984. type: number
  12985. applyremark:
  12986. description: 申请备注
  12987. type: string
  12988. applystatus:
  12989. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12990. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12991. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12992. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12993. type: integer
  12994. auditid:
  12995. description: 审核人
  12996. type: integer
  12997. audittime:
  12998. description: 审核时间
  12999. type: string
  13000. bank_apply_ticket:
  13001. description: 银行申请流水
  13002. type: string
  13003. bankaccountname:
  13004. description: 银行账户名
  13005. type: string
  13006. bankaccountno:
  13007. description: 银行卡号
  13008. type: string
  13009. bankid:
  13010. description: 银行编号
  13011. type: string
  13012. bankname:
  13013. description: 银行名称
  13014. type: string
  13015. bankticket:
  13016. description: 银行流水
  13017. type: string
  13018. branchbankid:
  13019. description: 银行支行号
  13020. type: string
  13021. branchbankname:
  13022. description: 银行支行名称
  13023. type: string
  13024. capamountout:
  13025. description: 出金(劣后本金) - 外部子账户
  13026. type: number
  13027. certificatephotourl:
  13028. description: 凭证地址
  13029. type: string
  13030. charge:
  13031. description: 手续费
  13032. type: number
  13033. checkerrorflag:
  13034. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13035. type: integer
  13036. currency:
  13037. description: 币种
  13038. type: string
  13039. cusbankid:
  13040. description: 托管银行编号
  13041. type: string
  13042. exchticket:
  13043. description: 银行服务流水号
  13044. type: string
  13045. executetype:
  13046. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13047. 7:外部子账户:入金 8:外部子账户:出金'
  13048. type: integer
  13049. extendinfo:
  13050. description: 扩展信息
  13051. type: string
  13052. extoperateid:
  13053. description: 交易服务流水号
  13054. type: integer
  13055. infamount:
  13056. description: 劣后金额(自有)
  13057. type: number
  13058. logincode:
  13059. description: 登录账号(账号)
  13060. type: string
  13061. netaddr:
  13062. description: 调转网址
  13063. type: string
  13064. priamount:
  13065. description: 优先金额(授信)
  13066. type: number
  13067. reauditid:
  13068. description: 复审人
  13069. type: integer
  13070. reauditremark:
  13071. description: 复审备注
  13072. type: string
  13073. reaudittime:
  13074. description: 复审时间
  13075. type: string
  13076. relatedorderid:
  13077. description: 三方关联ID
  13078. type: string
  13079. remark:
  13080. description: 备注
  13081. type: string
  13082. remark2:
  13083. description: 备注(失败原因)
  13084. type: string
  13085. soucreamount:
  13086. description: 原始出入金金额
  13087. type: number
  13088. soucrecurrencyid:
  13089. description: 原始出入金币种
  13090. type: integer
  13091. tradedate:
  13092. description: 交易日(yyyyMMdd)
  13093. type: string
  13094. updatetime:
  13095. description: 更新时间(申请时间)
  13096. type: string
  13097. userid:
  13098. description: 用户id
  13099. type: integer
  13100. userinfotype:
  13101. description: 账户类型 1-个人 2-企业
  13102. type: integer
  13103. type: object
  13104. models.QhjMgrBrokerApply:
  13105. properties:
  13106. applicantid:
  13107. description: 申请人
  13108. type: integer
  13109. applysrc:
  13110. description: 申请来源 - 1:管理端 2:终端
  13111. type: integer
  13112. applystatus:
  13113. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13114. type: integer
  13115. applytime:
  13116. description: 申请时间
  13117. type: string
  13118. auditorid:
  13119. description: 审核人
  13120. type: integer
  13121. auditremark:
  13122. description: 审核备注
  13123. type: string
  13124. auditsrc:
  13125. description: 审核来源 - 1:管理端 2:终端
  13126. type: integer
  13127. audittime:
  13128. description: 审核时间
  13129. type: string
  13130. audittradedate:
  13131. description: 审核交易日(yyyyMMdd)
  13132. type: string
  13133. brokerapplyid:
  13134. description: 申请ID(SEQ_BROKERAPPLY)
  13135. type: integer
  13136. cardbackphotourl:
  13137. description: 证件背面图片地址
  13138. type: string
  13139. cardfrontphotourl:
  13140. description: 证件正面图片地址
  13141. type: string
  13142. cardnum:
  13143. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13144. type: string
  13145. customername:
  13146. description: 姓名
  13147. type: string
  13148. filterstatus:
  13149. description: 筛选条件
  13150. type: string
  13151. logincode:
  13152. description: 登录代码
  13153. type: string
  13154. mobile:
  13155. description: 手机号码
  13156. type: string
  13157. parentuserid:
  13158. description: 所属机构id
  13159. type: integer
  13160. parentusername:
  13161. description: 所属机构名称
  13162. type: string
  13163. refereeuserid:
  13164. description: 推荐人id(经纪人)
  13165. type: integer
  13166. refernum:
  13167. description: 推荐码
  13168. type: string
  13169. remark:
  13170. description: 备注
  13171. type: string
  13172. subarealevelpath:
  13173. description: 层级路径
  13174. type: string
  13175. tradedate:
  13176. description: 交易日(yyyyMMdd)
  13177. type: string
  13178. userid:
  13179. description: 申请人用户ID
  13180. type: integer
  13181. userinfotype:
  13182. description: 用户类型 1-个人 2-企业
  13183. type: integer
  13184. username:
  13185. description: 用户名称
  13186. type: string
  13187. type: object
  13188. models.QhjMgrBrokerRewardReport:
  13189. properties:
  13190. createtime:
  13191. description: 创建时间(注册时间)
  13192. type: string
  13193. cycletime:
  13194. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13195. type: string
  13196. cycletype:
  13197. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13198. type: integer
  13199. directtotalnum:
  13200. description: 直推总人数【期末】
  13201. type: integer
  13202. indirecttotalnum:
  13203. description: 间推总人数【期末】
  13204. type: integer
  13205. mobile:
  13206. description: 电话号码
  13207. type: string
  13208. refereeuserid:
  13209. description: 推荐人id(经纪人id)
  13210. type: integer
  13211. refereeusername:
  13212. description: 推荐人名称(经纪人) 上级经纪人名称
  13213. type: string
  13214. refernum:
  13215. description: 推荐码
  13216. type: string
  13217. subarealevelpath:
  13218. description: 用户层级路径
  13219. type: string
  13220. todayrewardamount:
  13221. description: 奖励总金额【汇总】
  13222. type: number
  13223. updatetime:
  13224. description: 更新时间
  13225. type: string
  13226. userid:
  13227. description: 经纪人用户ID
  13228. type: integer
  13229. userinfotype:
  13230. description: 用户类型 1-个人 2-企业
  13231. type: integer
  13232. username:
  13233. description: 用户名称
  13234. type: string
  13235. type: object
  13236. models.QhjMgrContract:
  13237. properties:
  13238. contractconfirmtime:
  13239. description: 合同确认时间(时间)
  13240. type: string
  13241. currisklevel:
  13242. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13243. type: integer
  13244. decimalplace:
  13245. description: 商品报价小数位
  13246. type: integer
  13247. enumdicname:
  13248. description: 单位名称
  13249. type: string
  13250. goodscode:
  13251. description: 商品代码
  13252. type: string
  13253. goodsid:
  13254. description: 商品ID [5:融资单]
  13255. type: integer
  13256. goodsname:
  13257. description: 商品名称
  13258. type: string
  13259. goodunitid:
  13260. description: 商品单位id
  13261. type: integer
  13262. initmargin:
  13263. description: 初始保证金(首付款)
  13264. type: number
  13265. lenderamount:
  13266. description: 贷款金额(总额|订单总额)
  13267. type: number
  13268. logincode:
  13269. description: 账号(登录代码)
  13270. type: string
  13271. marginratio:
  13272. description: 保证金比率(首付比例)
  13273. type: number
  13274. mobile:
  13275. description: 电话号码(用户资料里的电话)
  13276. type: string
  13277. payamount:
  13278. description: 已付(已付货款)
  13279. type: number
  13280. reckonrecovermargin:
  13281. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13282. type: number
  13283. recoveredmargin:
  13284. description: 已追缴保证金
  13285. type: number
  13286. remainamount:
  13287. description: 合同剩余金额(融资额)
  13288. type: number
  13289. scfcontractid:
  13290. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13291. type: string
  13292. scfcontractstatus:
  13293. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13294. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13295. type: integer
  13296. scfcontracttype:
  13297. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13298. type: integer
  13299. totalinterest:
  13300. description: 已计总利息(利息)
  13301. type: number
  13302. tradedate:
  13303. description: 交易日
  13304. type: string
  13305. tradeprice:
  13306. description: 成交价格(成本价格)
  13307. type: number
  13308. userid:
  13309. description: 用户ID
  13310. type: integer
  13311. userinfotype:
  13312. description: 用户类型 1-个人 2-企业
  13313. type: integer
  13314. username:
  13315. description: 用户名称
  13316. type: string
  13317. wrqty:
  13318. description: 仓单数量(数量)
  13319. type: number
  13320. type: object
  13321. models.QhjMgrCustomer:
  13322. properties:
  13323. address:
  13324. description: 通讯地址
  13325. type: string
  13326. attachment1:
  13327. description: 附件1
  13328. type: string
  13329. audittime:
  13330. description: 审核时间
  13331. type: string
  13332. birthday:
  13333. description: 生日
  13334. type: string
  13335. brokerid:
  13336. description: 所属客户经理id
  13337. type: integer
  13338. brokername:
  13339. description: 所属客户经理名称
  13340. type: string
  13341. cardbackphotourl:
  13342. description: 证件反面图片地址
  13343. type: string
  13344. cardfrontphotourl:
  13345. description: 证件正面图片地址
  13346. type: string
  13347. cardnum:
  13348. description: 证件号码
  13349. type: string
  13350. cardtype:
  13351. description: 证件类型
  13352. type: integer
  13353. cardtypename:
  13354. description: 证件类型名称
  13355. type: string
  13356. cityid:
  13357. description: 市
  13358. type: integer
  13359. cityname:
  13360. description: 城市名称
  13361. type: string
  13362. contactname:
  13363. description: 联系人
  13364. type: string
  13365. countryid:
  13366. description: 国家
  13367. type: integer
  13368. countryname:
  13369. description: 国家名称
  13370. type: string
  13371. createtime:
  13372. description: 创建时间
  13373. type: string
  13374. customername:
  13375. description: 客户名称
  13376. type: string
  13377. districtid:
  13378. description: 区域
  13379. type: integer
  13380. districtname:
  13381. description: 地区名称
  13382. type: string
  13383. email:
  13384. description: 邮件
  13385. type: string
  13386. legalpersonname:
  13387. description: 法人姓名(企业)
  13388. type: string
  13389. logincode:
  13390. description: 登录账号(代码)
  13391. type: string
  13392. memberuserid:
  13393. description: 所属机构ID(所属会员)
  13394. type: integer
  13395. memberusername:
  13396. description: 所属会员名称
  13397. type: string
  13398. mobile:
  13399. description: 手机号码
  13400. type: string
  13401. modifytime:
  13402. description: 修改时间
  13403. type: string
  13404. nickname:
  13405. description: 昵称
  13406. type: string
  13407. parentuserid:
  13408. description: 上级机构(所属机构)
  13409. type: integer
  13410. parentusername:
  13411. description: 所属机构名称
  13412. type: string
  13413. provinceid:
  13414. description: 省
  13415. type: integer
  13416. provincename:
  13417. description: 省名称
  13418. type: string
  13419. proxystatementurl:
  13420. description: 授权委托书
  13421. type: string
  13422. querytype:
  13423. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13424. type: integer
  13425. remark:
  13426. description: 备注
  13427. type: string
  13428. sex:
  13429. description: 性别 0-女 1-男
  13430. type: integer
  13431. status:
  13432. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13433. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13434. type: integer
  13435. statusdesc:
  13436. description: 账户状态中文描述
  13437. type: string
  13438. taxpayernum:
  13439. description: 纳税人识别号
  13440. type: string
  13441. telphone:
  13442. description: 联系电话
  13443. type: string
  13444. userid:
  13445. description: 用户ID
  13446. type: integer
  13447. userinfotype:
  13448. description: 客户类型 1-个人 2-企业
  13449. type: integer
  13450. username:
  13451. description: 用户名称
  13452. type: string
  13453. type: object
  13454. models.QhjMgrPickGoods:
  13455. properties:
  13456. enumdicname:
  13457. description: 单位名称(提货商品)
  13458. type: string
  13459. goodsid:
  13460. description: 商品id
  13461. type: integer
  13462. imageaddress:
  13463. description: 图片
  13464. type: string
  13465. modifierid:
  13466. description: 修改人
  13467. type: integer
  13468. modifiername:
  13469. description: 修改人名称
  13470. type: string
  13471. modifysrc:
  13472. description: 修改来源 - 1:管理端 2:终端
  13473. type: integer
  13474. pickupgoodsagreeunit:
  13475. description: 合约乘数
  13476. type: number
  13477. pickupgoodsdesc:
  13478. description: 描述
  13479. type: string
  13480. pickupgoodsid:
  13481. description: 提货商品ID
  13482. type: string
  13483. pickupgoodsname:
  13484. description: 提货商品名称
  13485. type: string
  13486. pickupgoodsstatus:
  13487. description: 状态 - 1:正常 2:停用 3:注销
  13488. type: integer
  13489. pickupgoodsunitid:
  13490. description: 单位ID
  13491. type: integer
  13492. pickupratio:
  13493. description: 提货系数
  13494. type: number
  13495. preparedays:
  13496. description: 备货期(天)
  13497. type: integer
  13498. remark:
  13499. description: 备注
  13500. type: string
  13501. updatetime:
  13502. description: 更新时间
  13503. type: string
  13504. type: object
  13505. models.QhjMgrPositionRsp:
  13506. properties:
  13507. accountid:
  13508. description: 账号Id
  13509. type: integer
  13510. accountname:
  13511. description: 用户名称
  13512. type: string
  13513. agreeunit:
  13514. description: 合约乘数
  13515. type: number
  13516. averageprice:
  13517. description: 均价
  13518. type: number
  13519. avialqty:
  13520. description: 可用数量
  13521. type: number
  13522. decimalplace:
  13523. description: 报价小数位
  13524. type: integer
  13525. enumdicname:
  13526. description: 单位名称(商品)
  13527. type: string
  13528. frozenqty:
  13529. description: 冻结数量
  13530. type: number
  13531. goodscode:
  13532. description: 商品代码(内部)
  13533. type: string
  13534. goodsid:
  13535. description: 商品Id
  13536. type: integer
  13537. goodsname:
  13538. description: 商品名称
  13539. type: string
  13540. goodunitid:
  13541. description: 报价单位ID
  13542. type: integer
  13543. holderamount:
  13544. description: 金额
  13545. type: number
  13546. holderqty:
  13547. description: 持有数量
  13548. type: number
  13549. holdertype:
  13550. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13551. type: integer
  13552. logincode:
  13553. description: 登录代码(账户)
  13554. type: string
  13555. marketid:
  13556. description: 市场id
  13557. type: integer
  13558. qtydecimalplace:
  13559. description: 成交量小数位
  13560. type: integer
  13561. trademode:
  13562. description: 交易模式
  13563. type: integer
  13564. userid:
  13565. description: 用户id
  13566. type: integer
  13567. userinfotype:
  13568. description: 账户类型 1-个人 2-企业
  13569. type: integer
  13570. type: object
  13571. models.QhjMgrSubArea:
  13572. properties:
  13573. accountname:
  13574. description: 账户名称(机构名称)
  13575. type: string
  13576. memberuserid:
  13577. description: 所属会员ID
  13578. type: integer
  13579. parenttopuser:
  13580. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13581. type: string
  13582. parentuserid:
  13583. description: 所属机构ID
  13584. type: integer
  13585. rootuserid:
  13586. description: 根用户ID
  13587. type: string
  13588. subaccountlevel:
  13589. description: 子账户层数
  13590. type: integer
  13591. subarealevelpath:
  13592. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13593. type: string
  13594. userid:
  13595. description: 用户ID
  13596. type: integer
  13597. usertype:
  13598. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13599. type: integer
  13600. type: object
  13601. models.QhjMgrTradeDetailRsp:
  13602. properties:
  13603. accountid:
  13604. description: 资金账号
  13605. type: integer
  13606. accountname:
  13607. description: 用户名称
  13608. type: string
  13609. agreeunit:
  13610. description: 合约乘数
  13611. type: number
  13612. buyorsell:
  13613. description: 成交类型(方向) 0:买 1:卖
  13614. type: integer
  13615. decimalplace:
  13616. description: 报价小数位
  13617. type: integer
  13618. enumdicname:
  13619. description: 单位名称(商品)
  13620. type: string
  13621. goodscode:
  13622. description: 商品代码(内部)
  13623. type: string
  13624. goodsid:
  13625. description: 商品id
  13626. type: integer
  13627. goodsname:
  13628. description: 商品名称
  13629. type: string
  13630. goodunitid:
  13631. description: 报价单位ID
  13632. type: integer
  13633. logincode:
  13634. description: 登录代码(账户)
  13635. type: string
  13636. marketid:
  13637. description: 市场id
  13638. type: integer
  13639. orderid:
  13640. description: 关联委托单号
  13641. type: string
  13642. qtydecimalplace:
  13643. description: 成交量小数位
  13644. type: integer
  13645. tradeamount:
  13646. description: 金额
  13647. type: number
  13648. tradedate:
  13649. description: 交易日
  13650. type: string
  13651. tradeid:
  13652. description: 成交单号
  13653. type: string
  13654. trademode:
  13655. description: 交易模式
  13656. type: integer
  13657. tradeprice:
  13658. description: 价格
  13659. type: number
  13660. tradeqty:
  13661. description: 数量
  13662. type: number
  13663. tradetime:
  13664. description: 成交时间
  13665. type: string
  13666. userid:
  13667. description: 用户id
  13668. type: integer
  13669. userinfotype:
  13670. description: 账户类型 1-个人 2-企业
  13671. type: integer
  13672. type: object
  13673. models.QhjMgrTradeOrderDetailRsp:
  13674. properties:
  13675. accountid:
  13676. description: 资金账号
  13677. type: integer
  13678. accountname:
  13679. description: 用户名称
  13680. type: string
  13681. agreeunit:
  13682. description: 合约乘数
  13683. type: number
  13684. amount:
  13685. description: 金额
  13686. type: number
  13687. decimalplace:
  13688. description: 报价小数位
  13689. type: integer
  13690. enumdicname:
  13691. description: 单位名称(商品)
  13692. type: string
  13693. goodscode:
  13694. description: 商品代码(内部)
  13695. type: string
  13696. goodsid:
  13697. description: 商品id
  13698. type: integer
  13699. goodsname:
  13700. description: 商品名称
  13701. type: string
  13702. goodunitid:
  13703. description: 报价单位ID
  13704. type: integer
  13705. logincode:
  13706. description: 登录代码(账户)
  13707. type: string
  13708. marketid:
  13709. description: 市场id
  13710. type: integer
  13711. orderid:
  13712. description: 关联委托单号
  13713. type: string
  13714. orderprice:
  13715. description: 价格
  13716. type: number
  13717. orderqty:
  13718. description: 数量
  13719. type: number
  13720. orderstatus:
  13721. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13722. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13723. 16:成交失败违约(荷兰式竞拍专用)
  13724. type: integer
  13725. ordertime:
  13726. description: 委托时间
  13727. type: string
  13728. qtydecimalplace:
  13729. description: 成交量小数位
  13730. type: integer
  13731. tradedate:
  13732. description: 交易日
  13733. type: string
  13734. trademode:
  13735. description: 交易模式
  13736. type: integer
  13737. userid:
  13738. description: 用户id
  13739. type: integer
  13740. userinfotype:
  13741. description: 账户类型 1-个人 2-企业
  13742. type: integer
  13743. type: object
  13744. models.QhjMgrTradePayOrder:
  13745. properties:
  13746. accountname:
  13747. description: 用户名称
  13748. type: string
  13749. advanceratio:
  13750. description: 首付比率
  13751. type: number
  13752. agreeunit:
  13753. description: 合约乘数
  13754. type: number
  13755. buyaccountid:
  13756. description: 买方账号ID[报价币种]
  13757. type: integer
  13758. buyorderid:
  13759. description: 买方委托单号(关联单号)
  13760. type: string
  13761. createtime:
  13762. description: 创建时间
  13763. type: string
  13764. decimalplace:
  13765. description: 报价小数位
  13766. type: integer
  13767. enumdicname:
  13768. description: 单位名称(商品)
  13769. type: string
  13770. goodscode:
  13771. description: 商品代码(内部)
  13772. type: string
  13773. goodsid:
  13774. description: 商品ID
  13775. type: integer
  13776. goodsname:
  13777. description: 商品名称
  13778. type: string
  13779. goodunitid:
  13780. description: 报价单位ID
  13781. type: integer
  13782. logincode:
  13783. description: 登录代码(账户)
  13784. type: string
  13785. marketid:
  13786. description: 市场id
  13787. type: integer
  13788. offamount:
  13789. description: 优惠金额
  13790. type: number
  13791. operatetype:
  13792. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13793. type: integer
  13794. payamount:
  13795. description: 支付金额(金额)
  13796. type: number
  13797. payflag:
  13798. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13799. type: integer
  13800. paylimitedtime:
  13801. description: 支付期限
  13802. type: string
  13803. paytime:
  13804. description: 付款时间
  13805. type: string
  13806. qtydecimalplace:
  13807. description: 成交量小数位
  13808. type: integer
  13809. sellaccountid:
  13810. description: 卖方账号ID[报价币种]
  13811. type: integer
  13812. sellorderid:
  13813. description: 卖方委托单号
  13814. type: string
  13815. tradeamount:
  13816. description: 成交金额(优惠后金额)
  13817. type: number
  13818. tradecharge:
  13819. description: 成交手续费(买方)
  13820. type: number
  13821. tradedate:
  13822. description: 交易日(yyyyMMdd)
  13823. type: string
  13824. tradeid:
  13825. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13826. type: string
  13827. trademode:
  13828. description: 交易模式
  13829. type: integer
  13830. tradeprice:
  13831. description: 成交价格(价格)
  13832. type: number
  13833. tradeqty:
  13834. description: 成交数量(数量)
  13835. type: number
  13836. tradetime:
  13837. description: 成交时间
  13838. type: string
  13839. userid:
  13840. description: 用户id
  13841. type: integer
  13842. userinfotype:
  13843. description: 账户类型 1-个人 2-企业
  13844. type: integer
  13845. type: object
  13846. models.QhjMyTeamEx:
  13847. properties:
  13848. accountname:
  13849. description: 用户名称
  13850. type: string
  13851. accountstatus:
  13852. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13853. type: integer
  13854. createtime:
  13855. description: 创建时间
  13856. type: string
  13857. mobile:
  13858. description: 手机号码
  13859. type: string
  13860. refereeuserid:
  13861. description: 推荐人id
  13862. type: integer
  13863. refernum:
  13864. description: 推荐码
  13865. type: string
  13866. subList:
  13867. items:
  13868. $ref: '#/definitions/models.QhjMyTeamEx'
  13869. type: array
  13870. userid:
  13871. description: 用户id
  13872. type: integer
  13873. userinfotype:
  13874. description: 用户类型 1-个人 2-企业
  13875. type: integer
  13876. type: object
  13877. models.QhjNodeAgreementConfig:
  13878. properties:
  13879. agreementcontent:
  13880. description: 协议内容
  13881. type: string
  13882. agreementid:
  13883. description: 协议ID
  13884. type: integer
  13885. agreementname:
  13886. description: 协议名称
  13887. type: string
  13888. agreementno:
  13889. description: 协议编号
  13890. type: string
  13891. agreementtype:
  13892. description: 协议类型 - 1:注册 2:登录 3:交易
  13893. type: integer
  13894. agreementversion:
  13895. description: 协议版本号
  13896. type: integer
  13897. configid:
  13898. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13899. type: integer
  13900. createtime:
  13901. description: 创建时间
  13902. type: string
  13903. goodsid:
  13904. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13905. type: integer
  13906. nodetype:
  13907. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13908. type: integer
  13909. type: object
  13910. models.QhjParentAreaList:
  13911. properties:
  13912. accountname:
  13913. description: 账户名称(机构名称)
  13914. type: string
  13915. userid:
  13916. description: 用户ID
  13917. type: integer
  13918. usertype:
  13919. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13920. type: integer
  13921. type: object
  13922. models.QhjPayOrder:
  13923. properties:
  13924. advanceratio:
  13925. description: 首付比率
  13926. type: number
  13927. buyaccountid:
  13928. description: 买方账号ID[报价币种]
  13929. type: integer
  13930. buyorderid:
  13931. description: 买方委托单号
  13932. type: string
  13933. createtime:
  13934. description: 创建时间
  13935. type: string
  13936. decimalplace:
  13937. description: 商品报价小数位
  13938. type: integer
  13939. enumdicname:
  13940. description: 单位名称
  13941. type: string
  13942. goodscode:
  13943. description: 商品代码
  13944. type: string
  13945. goodsid:
  13946. description: 商品ID
  13947. type: integer
  13948. goodsname:
  13949. description: 商品名称
  13950. type: string
  13951. goodunitid:
  13952. description: 商品单位id
  13953. type: integer
  13954. marketid:
  13955. description: 市场ID
  13956. type: integer
  13957. offamount:
  13958. description: 优惠金额
  13959. type: number
  13960. operatetype:
  13961. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13962. type: integer
  13963. payamount:
  13964. description: 支付金额
  13965. type: number
  13966. payflag:
  13967. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13968. type: integer
  13969. paylimitedtime:
  13970. description: 支付期限
  13971. type: string
  13972. paytime:
  13973. description: 付款时间
  13974. type: string
  13975. qtydecimalplace:
  13976. description: 成交量小数位
  13977. type: integer
  13978. sellaccountid:
  13979. description: 卖方账号ID[报价币种]
  13980. type: integer
  13981. sellorderid:
  13982. description: 卖方委托单号
  13983. type: string
  13984. tradeamount:
  13985. description: 成交金额(优惠后金额)
  13986. type: number
  13987. tradecharge:
  13988. description: 成交手续费(买方)
  13989. type: number
  13990. tradedate:
  13991. description: 交易日(yyyyMMdd)
  13992. type: string
  13993. tradeid:
  13994. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13995. type: string
  13996. tradeprice:
  13997. description: 成交价格
  13998. type: number
  13999. tradeqty:
  14000. description: 成交数量
  14001. type: number
  14002. type: object
  14003. models.QhjPickArea:
  14004. properties:
  14005. address:
  14006. description: 详细地址
  14007. type: string
  14008. cityid:
  14009. description: 市
  14010. type: integer
  14011. cityname:
  14012. description: 城市名称
  14013. type: string
  14014. countryid:
  14015. description: 国家
  14016. type: integer
  14017. countryname:
  14018. description: 国家名称
  14019. type: string
  14020. districtid:
  14021. description: 地区
  14022. type: integer
  14023. districtname:
  14024. description: 地区名称
  14025. type: string
  14026. fromuserid:
  14027. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14028. type: integer
  14029. fromusername:
  14030. description: 所属机构名称
  14031. type: string
  14032. provinceid:
  14033. description: 省
  14034. type: integer
  14035. provincename:
  14036. description: 省名称
  14037. type: string
  14038. suborgtype:
  14039. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14040. type: integer
  14041. userid:
  14042. description: 机构用户ID 其他做市关系,都设置为 1
  14043. type: integer
  14044. username:
  14045. description: 机构用户名称(门店门称)
  14046. type: string
  14047. type: object
  14048. models.QhjPickGoods:
  14049. properties:
  14050. enumdicname:
  14051. description: 单位名称(提货商品)
  14052. type: string
  14053. goodsid:
  14054. description: 商品id
  14055. type: integer
  14056. imageaddress:
  14057. description: 图片
  14058. type: string
  14059. modifierid:
  14060. description: 修改人
  14061. type: integer
  14062. modifiername:
  14063. description: 修改人名称
  14064. type: string
  14065. modifysrc:
  14066. description: 修改来源 - 1:管理端 2:终端
  14067. type: integer
  14068. pickupgoodsagreeunit:
  14069. description: 合约乘数
  14070. type: number
  14071. pickupgoodsdesc:
  14072. description: 描述
  14073. type: string
  14074. pickupgoodsid:
  14075. description: 提货商品ID
  14076. type: string
  14077. pickupgoodsname:
  14078. description: 提货商品名称
  14079. type: string
  14080. pickupgoodsstatus:
  14081. description: 状态 - 1:正常 2:停用 3:注销
  14082. type: integer
  14083. pickupgoodsunitid:
  14084. description: 单位ID
  14085. type: integer
  14086. pickupratio:
  14087. description: 提货系数
  14088. type: number
  14089. preparedays:
  14090. description: 备货期(天)
  14091. type: integer
  14092. remark:
  14093. description: 备注
  14094. type: string
  14095. updatetime:
  14096. description: 更新时间
  14097. type: string
  14098. type: object
  14099. models.QhjRSTriggerLog:
  14100. properties:
  14101. accountid:
  14102. description: 用户资金账户
  14103. type: integer
  14104. accountname:
  14105. description: 账号名称(ACCOUNTID对应的名称)
  14106. type: string
  14107. currencyid:
  14108. description: 币种id
  14109. type: integer
  14110. currencyname:
  14111. description: 币种名称
  14112. type: string
  14113. decimalplace:
  14114. description: 商品报价小数位
  14115. type: integer
  14116. enumdicname:
  14117. description: 单位名称
  14118. type: string
  14119. goodscode:
  14120. description: 定投商品代码
  14121. type: string
  14122. goodsid:
  14123. description: 定投商品ID
  14124. type: integer
  14125. goodsname:
  14126. description: 定投商品名称
  14127. type: string
  14128. goodunitid:
  14129. description: 定投商品单位id
  14130. type: integer
  14131. logid:
  14132. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14133. type: string
  14134. logincode:
  14135. description: 账号(登录代码)
  14136. type: string
  14137. qtydecimalplace:
  14138. description: 成交量小数位
  14139. type: integer
  14140. regularlycycle:
  14141. description: 定投频率 - 1:每周 2:每月
  14142. type: integer
  14143. regularlycyclevalue:
  14144. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14145. type: string
  14146. regularlymode:
  14147. description: 定投方式 - 1:按数量 2:按金额
  14148. type: integer
  14149. regularlymodevalue:
  14150. description: 定投方式值 - 数量或金额
  14151. type: number
  14152. regularlystrategyid:
  14153. description: 定投策略ID
  14154. type: integer
  14155. retcode:
  14156. description: 错误码
  14157. type: string
  14158. tradeid:
  14159. description: 成交单ID
  14160. type: string
  14161. triggeramount:
  14162. description: 触发金额
  14163. type: number
  14164. triggerqty:
  14165. description: 触发数量
  14166. type: number
  14167. triggerstatus:
  14168. description: 触发状态 - 1:成功 2:失败
  14169. type: integer
  14170. triggertime:
  14171. description: 触发时间
  14172. type: string
  14173. triggertradedate:
  14174. description: 触发交易日
  14175. type: string
  14176. userid:
  14177. description: 所属用户ID
  14178. type: integer
  14179. userinfotype:
  14180. description: 用户类型 1-个人 2-企业
  14181. type: integer
  14182. username:
  14183. description: 用户名称(userid对应的名称)
  14184. type: string
  14185. type: object
  14186. models.QhjRStrategy:
  14187. properties:
  14188. accountid:
  14189. description: 用户资金账户
  14190. type: integer
  14191. accountname:
  14192. description: 账号名称(ACCOUNTID对应的名称)
  14193. type: string
  14194. currencyid:
  14195. description: 币种id
  14196. type: integer
  14197. currencyname:
  14198. description: 币种名称
  14199. type: string
  14200. decimalplace:
  14201. description: 商品报价小数位
  14202. type: integer
  14203. enumdicname:
  14204. description: 单位名称
  14205. type: string
  14206. goodscode:
  14207. description: 定投商品代码
  14208. type: string
  14209. goodsid:
  14210. description: 定投商品ID
  14211. type: integer
  14212. goodsname:
  14213. description: 定投商品名称
  14214. type: string
  14215. goodunitid:
  14216. description: 定投商品单位id
  14217. type: integer
  14218. lasteffecttradedate:
  14219. description: 最新生效交易日
  14220. type: string
  14221. laststoptradedate:
  14222. description: 最新暂停交易日
  14223. type: string
  14224. lasttriggertradedate:
  14225. description: 最新触发交易日
  14226. type: string
  14227. logincode:
  14228. description: 账号(登录代码)
  14229. type: string
  14230. nexttriggeramount:
  14231. description: 下次触发金额
  14232. type: number
  14233. nexttriggerdate:
  14234. description: 下次触发日期
  14235. type: string
  14236. nexttriggerqty:
  14237. description: 下次触发数量 [按小数位放大值]
  14238. type: number
  14239. qtydecimalplace:
  14240. description: 成交量小数位
  14241. type: integer
  14242. regularlycycle:
  14243. description: 定投频率 - 1:每周 2:每月
  14244. type: integer
  14245. regularlycyclevalue:
  14246. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14247. type: string
  14248. regularlymode:
  14249. description: 定投方式 - 1:按数量 2:按金额
  14250. type: integer
  14251. regularlymodevalue:
  14252. description: 定投方式值 - 数量或金额
  14253. type: number
  14254. regularlystrategyid:
  14255. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14256. type: integer
  14257. regularlystrategystatus:
  14258. description: 策略状态 - 1:正常 2:暂停 3:终止
  14259. type: integer
  14260. remark:
  14261. description: 备注
  14262. type: string
  14263. triggersuccesstimes:
  14264. description: 累计定投成功次数
  14265. type: string
  14266. triggertotalamount:
  14267. description: 累计定投金额(成功)
  14268. type: number
  14269. triggertotalqty:
  14270. description: 累计定投数量(成功) [按小数位放大值]
  14271. type: number
  14272. triggertotaltimes:
  14273. description: 累计定投总次数
  14274. type: string
  14275. updatesrc:
  14276. description: 更新来源 - 1:管理端 2:终端
  14277. type: integer
  14278. updatetime:
  14279. description: 更新时间
  14280. type: string
  14281. updatorid:
  14282. description: 更新人
  14283. type: string
  14284. userid:
  14285. description: 所属用户ID
  14286. type: integer
  14287. userinfotype:
  14288. description: 用户类型 1-个人 2-企业
  14289. type: integer
  14290. username:
  14291. description: 用户名称(userid对应的名称)
  14292. type: string
  14293. type: object
  14294. models.QhjReckonPriceLog:
  14295. properties:
  14296. decimalplace:
  14297. description: 商品报价小数位
  14298. type: integer
  14299. goodscode:
  14300. description: 商品代码
  14301. type: string
  14302. goodsid:
  14303. description: 商品ID
  14304. type: integer
  14305. goodsname:
  14306. description: 商品名称
  14307. type: string
  14308. lastreckonprice:
  14309. description: 上日结算价
  14310. type: number
  14311. nextdnlimitprice:
  14312. description: 下个交易日跌停价
  14313. type: number
  14314. nexttrade:
  14315. description: 下个交易日
  14316. type: string
  14317. nextuplimitprice:
  14318. description: 下个交易日涨停价
  14319. type: number
  14320. reckonprice:
  14321. description: 今日结算价(定投价)
  14322. type: number
  14323. reckontime:
  14324. description: 结算时间
  14325. type: string
  14326. totalholderqty:
  14327. description: 总持仓数
  14328. type: integer
  14329. totalstock:
  14330. description: 总库存
  14331. type: integer
  14332. tradedate:
  14333. description: 交易日
  14334. type: string
  14335. updowncount:
  14336. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14337. type: integer
  14338. updownflag:
  14339. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14340. type: integer
  14341. updownrate:
  14342. description: 今日涨跌幅
  14343. type: number
  14344. updownrate_2d:
  14345. description: 连续两日涨跌幅
  14346. type: number
  14347. updownrate_3d:
  14348. description: 连续三日涨跌幅
  14349. type: number
  14350. type: object
  14351. models.QhjScoreLog:
  14352. properties:
  14353. accountid:
  14354. description: 账户ID
  14355. type: integer
  14356. createtime:
  14357. description: 创建时间(时间)
  14358. type: string
  14359. goodsid:
  14360. description: 商品ID
  14361. type: integer
  14362. hasuploaded:
  14363. description: 是否已同步(千海金) 0:未同步 1;已同步
  14364. type: integer
  14365. logid:
  14366. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14367. type: string
  14368. marketid:
  14369. description: 市场ID
  14370. type: integer
  14371. relatedamount:
  14372. description: 关联金额
  14373. type: number
  14374. relatedorderid:
  14375. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14376. type: string
  14377. scoreconfigvalue1:
  14378. description: 积分配置1
  14379. type: integer
  14380. scoreconfigvalue2:
  14381. description: 积分配置1
  14382. type: integer
  14383. scoretype:
  14384. description: 积分类型 - 1:提货积分
  14385. type: integer
  14386. scorevalue:
  14387. description: 积分
  14388. type: number
  14389. tradedate:
  14390. description: 交易日(yyyyMMdd)
  14391. type: string
  14392. uploadedtime:
  14393. description: 同步时间
  14394. type: string
  14395. userid:
  14396. description: 用户ID
  14397. type: integer
  14398. type: object
  14399. models.QhjSiteColumnDetail:
  14400. properties:
  14401. author:
  14402. description: 作者
  14403. type: string
  14404. brief:
  14405. description: 简介
  14406. type: string
  14407. columnid:
  14408. description: 所属栏目
  14409. type: integer
  14410. context:
  14411. description: 内容
  14412. type: string
  14413. coverimage:
  14414. description: 封面图片
  14415. type: string
  14416. creaedate:
  14417. description: 创建时间
  14418. type: string
  14419. creatorid:
  14420. description: 创建人
  14421. type: integer
  14422. hits:
  14423. description: 点击数
  14424. type: integer
  14425. id:
  14426. description: ID(SEQ_SITE_COLUMNDETAIL)
  14427. type: integer
  14428. isshow:
  14429. description: 是否展示 - 0:不展示 1:展示
  14430. type: integer
  14431. istop:
  14432. description: 是否置顶 - 0:不置 1:置顶
  14433. type: integer
  14434. modifierid:
  14435. description: 操作人
  14436. type: integer
  14437. publishdate:
  14438. description: 发布日期
  14439. type: string
  14440. status:
  14441. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14442. type: integer
  14443. title:
  14444. description: 标题
  14445. type: string
  14446. updatedate:
  14447. description: 修改时间
  14448. type: string
  14449. userid:
  14450. description: 用户ID(默认为0, 核心为为机构用户ID)
  14451. type: integer
  14452. username:
  14453. description: 用户名称
  14454. type: string
  14455. type: object
  14456. models.QhjTeamOrder:
  14457. properties:
  14458. accountid:
  14459. description: 账户ID[报价币种]
  14460. type: integer
  14461. accountname:
  14462. description: 账户名称
  14463. type: string
  14464. agreeunit:
  14465. description: 合约乘数
  14466. type: number
  14467. buyorsell:
  14468. description: 方向 - 0:买 1:卖
  14469. type: integer
  14470. decimalplace:
  14471. description: 报价小数位
  14472. type: integer
  14473. enumdicname:
  14474. description: 单位名称
  14475. type: string
  14476. goodscode:
  14477. description: 商品代码(内部)
  14478. type: string
  14479. goodsid:
  14480. description: 商品ID
  14481. type: integer
  14482. goodsname:
  14483. description: 商品名称
  14484. type: string
  14485. goodunitid:
  14486. description: 报价单位ID
  14487. type: integer
  14488. marketid:
  14489. description: 市场ID
  14490. type: integer
  14491. marketname:
  14492. description: 市场名称
  14493. type: string
  14494. qtydecimalplace:
  14495. description: 成交量小数位
  14496. type: integer
  14497. refereeuserid:
  14498. description: 推荐人ID
  14499. type: integer
  14500. tradeamount:
  14501. description: 成交金额[账户币种,用于所有权]
  14502. type: number
  14503. tradedate:
  14504. description: 交易日(yyyyMMdd)
  14505. type: string
  14506. trademode:
  14507. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14508. 21:竞拍-大宗式 22:受托竞价
  14509. type: integer
  14510. tradeprice:
  14511. description: 成交价格
  14512. type: number
  14513. tradeqty:
  14514. description: 成交数量
  14515. type: number
  14516. tradetime:
  14517. description: 成交时间
  14518. type: string
  14519. userid:
  14520. description: 用户ID
  14521. type: integer
  14522. type: object
  14523. models.QhjTradeGoodsPickup:
  14524. properties:
  14525. accountid:
  14526. description: 账户ID
  14527. type: integer
  14528. address:
  14529. description: 提货人详细地址
  14530. type: string
  14531. amount:
  14532. description: 提货金额
  14533. type: number
  14534. artradedate:
  14535. description: 自动收货交易日(yyyyMMdd)
  14536. type: string
  14537. auditer:
  14538. description: 审核人
  14539. type: integer
  14540. auditsrc:
  14541. description: 更新来源 - 1:管理端 2:终端
  14542. type: integer
  14543. audittime:
  14544. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14545. type: string
  14546. audittradedate:
  14547. description: 审核交易日(yyyyMMdd)
  14548. type: string
  14549. cardnum:
  14550. description: 提货人证件号码
  14551. type: string
  14552. cardtypeid:
  14553. description: 提货人证件类型
  14554. type: integer
  14555. checkremark:
  14556. description: 审核备注
  14557. type: string
  14558. cityid:
  14559. description: 市
  14560. type: integer
  14561. cityname:
  14562. description: 城市名称
  14563. type: string
  14564. confirmtime:
  14565. description: 取货时间 或 收货时间
  14566. type: string
  14567. countryid:
  14568. description: 国家
  14569. type: integer
  14570. countryname:
  14571. description: 国家名称
  14572. type: string
  14573. decimalplace:
  14574. description: 商品报价小数位
  14575. type: integer
  14576. districtid:
  14577. description: 地区
  14578. type: integer
  14579. districtname:
  14580. description: 地区名称
  14581. type: string
  14582. enumdicname:
  14583. description: 单位名称(提货商品)
  14584. type: string
  14585. expresscompany:
  14586. description: 物流公司
  14587. type: string
  14588. expressnum:
  14589. description: 物流单号
  14590. type: string
  14591. goodsagreeunit:
  14592. description: 交易商品乘数
  14593. type: number
  14594. goodscode:
  14595. description: 商品代码
  14596. type: string
  14597. goodsid:
  14598. description: 商品ID
  14599. type: integer
  14600. goodsname:
  14601. description: 商品名称
  14602. type: string
  14603. goodsqty:
  14604. description: 交易商品手数(69模式按成交量小数位放大取整)
  14605. type: number
  14606. handlestatus:
  14607. description: 处理状态
  14608. type: integer
  14609. logincode:
  14610. description: 账号(登录代码, 有可能为空)
  14611. type: string
  14612. marketid:
  14613. description: 市场ID
  14614. type: integer
  14615. phonenum:
  14616. description: 提货人联系方式
  14617. type: string
  14618. pickupgoodsagreeunit:
  14619. description: 提货商品合约乘数
  14620. type: number
  14621. pickupgoodsid:
  14622. description: 提货商品ID
  14623. type: string
  14624. pickupgoodsname:
  14625. description: 提货商品名称
  14626. type: string
  14627. pickupgoodsqty:
  14628. description: 提货商品手数(数量)
  14629. type: number
  14630. pickupgoodsunitid:
  14631. description: 单位ID(提货商品)
  14632. type: integer
  14633. pickupratio:
  14634. description: 提货系数
  14635. type: number
  14636. preparedays:
  14637. description: 备货期(天)-提货单明细表
  14638. type: integer
  14639. provinceid:
  14640. description: 省
  14641. type: integer
  14642. provincename:
  14643. description: 省名称
  14644. type: string
  14645. qty:
  14646. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14647. type: number
  14648. qtydecimalplace:
  14649. description: 商品数量小数位
  14650. type: integer
  14651. recivername:
  14652. description: 提货人姓名
  14653. type: string
  14654. reqtime:
  14655. description: 提货申请时间
  14656. type: string
  14657. storeuserid:
  14658. description: 门店用户ID (千海金)
  14659. type: integer
  14660. storeusername:
  14661. description: 门店用户名称
  14662. type: string
  14663. takemode:
  14664. description: 提货方式 - 2:自提 3:配送(邮寄)
  14665. type: integer
  14666. takeorderid:
  14667. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14668. type: string
  14669. takeorderstatus:
  14670. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14671. 7:已拒绝 8:已撤销
  14672. type: integer
  14673. takeremark:
  14674. description: 提货备注
  14675. type: string
  14676. tradedate:
  14677. description: 交易日(yyyyMMdd)
  14678. type: string
  14679. updatetime:
  14680. description: 更新时间
  14681. type: string
  14682. userid:
  14683. description: 用户ID
  14684. type: integer
  14685. userinfotype:
  14686. description: 客户类型 1-个人 2-企业
  14687. type: integer
  14688. username:
  14689. description: 用户名称
  14690. type: string
  14691. type: object
  14692. models.QhjUserNodeCfgAndStatus:
  14693. properties:
  14694. agreementcontent:
  14695. description: 协议内容
  14696. type: string
  14697. agreementid:
  14698. description: 协议ID
  14699. type: integer
  14700. agreementname:
  14701. description: 协议名称
  14702. type: string
  14703. agreementno:
  14704. description: 协议编号
  14705. type: string
  14706. agreementtype:
  14707. description: 协议类型 - 1:注册 2:登录 3:交易
  14708. type: integer
  14709. agreementversion:
  14710. description: 协议版本号
  14711. type: integer
  14712. configid:
  14713. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14714. type: integer
  14715. createtime:
  14716. description: 创建时间
  14717. type: string
  14718. goodsid:
  14719. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14720. type: integer
  14721. nodetype:
  14722. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14723. type: integer
  14724. signtimestamp:
  14725. description: 签约状态时间戳(最近一次)
  14726. type: string
  14727. tradedate:
  14728. description: 签约交易日(yyyyMMdd)
  14729. type: string
  14730. userid:
  14731. description: 客户ID
  14732. type: integer
  14733. type: object
  14734. models.Qhjgoodsex:
  14735. properties:
  14736. canfinance:
  14737. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14738. type: integer
  14739. canregularlybuy:
  14740. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14741. type: integer
  14742. defaulttradeuserid:
  14743. description: 默认交易用户ID
  14744. type: integer
  14745. deliverygoodsid:
  14746. description: 现货品种ID
  14747. type: integer
  14748. goodsid:
  14749. description: 商品ID(自增ID SEQ_GOODS)
  14750. type: integer
  14751. minamount:
  14752. description: 最小购买金额
  14753. type: number
  14754. regularlybuyminamount:
  14755. description: 定投最小金额
  14756. type: number
  14757. regularlybuyminqty:
  14758. description: 定投最小数量
  14759. type: number
  14760. spotgoodsbrandid:
  14761. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14762. type: integer
  14763. visibilityforenterprise:
  14764. description: 企业客户是否可见 - 0:不可见 1:可见
  14765. type: integer
  14766. visibilityforpersonal:
  14767. description: 个人客户是否可见 - 0:不可见 1:可见
  14768. type: integer
  14769. wrstandardid:
  14770. description: 现货商品ID
  14771. type: integer
  14772. type: object
  14773. models.QueryErrorInfosRsp:
  14774. properties:
  14775. description:
  14776. description: 异常描述
  14777. type: string
  14778. errorcode:
  14779. description: 异常代码
  14780. type: string
  14781. errorid:
  14782. description: 异常ID
  14783. type: integer
  14784. modulecode:
  14785. description: 所属模块
  14786. type: string
  14787. operatecode:
  14788. description: 所属操作
  14789. type: string
  14790. rownumber:
  14791. description: 行号
  14792. type: string
  14793. required:
  14794. - errorid
  14795. type: object
  14796. models.QueryHedgeOrderDetailRsp:
  14797. properties:
  14798. accountid:
  14799. description: 账户ID
  14800. type: integer
  14801. buyorsell:
  14802. description: 买卖 - 0:买 1:卖
  14803. type: integer
  14804. cancellogincode:
  14805. description: 撤单人
  14806. type: string
  14807. channelbuildtype:
  14808. description: 开平标志 - 0:无 1:建仓 2:平仓
  14809. type: integer
  14810. channelinnerorderstatus:
  14811. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14812. 9:全部成交
  14813. type: integer
  14814. channeloperatetype:
  14815. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14816. type: integer
  14817. closetype:
  14818. description: 平仓方式 - 0:无 1:平今 2:平昨
  14819. type: integer
  14820. curexchangerate:
  14821. description: 当前汇率
  14822. type: number
  14823. decimalplace:
  14824. description: 商品报价小数位
  14825. type: integer
  14826. exchangefullname:
  14827. description: 外部交易所全称
  14828. type: string
  14829. goodscode:
  14830. description: 商品代码(内部)
  14831. type: string
  14832. goodsid:
  14833. description: 商品ID
  14834. type: integer
  14835. goodsname:
  14836. description: 商品名称
  14837. type: string
  14838. marketid:
  14839. description: 市场ID
  14840. type: integer
  14841. openfreezemargin:
  14842. description: 冻结保证金(冻结交易金额)
  14843. type: number
  14844. orderid:
  14845. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14846. type: string
  14847. orderlogincode:
  14848. description: 委托人
  14849. type: string
  14850. orderprice:
  14851. description: 委托价格(账户)
  14852. type: number
  14853. orderqty:
  14854. description: 委托数量
  14855. type: integer
  14856. ordertime:
  14857. description: 委托时间
  14858. type: string
  14859. pricemode:
  14860. description: '取价方式 - 1:市价 2: 限价'
  14861. type: integer
  14862. tradedate:
  14863. description: 交易日(yyyyMMdd)
  14864. type: string
  14865. tradeqty:
  14866. description: 成交数量
  14867. type: integer
  14868. type: object
  14869. models.QueryHedgeTradeDetailRsp:
  14870. properties:
  14871. accountid:
  14872. description: 账号ID
  14873. type: integer
  14874. buyorsell:
  14875. description: 方向 - 0:买 1:卖
  14876. type: integer
  14877. channelbuildtype:
  14878. description: 委托单据类型 0:无 1:建仓 2:平仓
  14879. type: integer
  14880. closecharge:
  14881. description: 平仓手续费(账户)
  14882. type: number
  14883. closecharge2:
  14884. description: 平仓手续费(商品)
  14885. type: number
  14886. closepl:
  14887. description: 平仓盈亏(账户)
  14888. type: number
  14889. closepl2:
  14890. description: 平仓盈亏(商品)
  14891. type: number
  14892. closepl3:
  14893. description: 平仓盈亏(账户)(逐笔)
  14894. type: number
  14895. closepl4:
  14896. description: 平仓盈亏(商品)(逐笔)
  14897. type: number
  14898. closetype:
  14899. description: 平仓方式 - 0:无 1:平今 2:平昨
  14900. type: integer
  14901. curexchangerate:
  14902. description: 当前汇率
  14903. type: number
  14904. decimalplace:
  14905. description: 商品报价小数位
  14906. type: integer
  14907. exchangefullname:
  14908. description: 外部交易所全称
  14909. type: string
  14910. goodscode:
  14911. description: 商品代码(内部)
  14912. type: string
  14913. goodsid:
  14914. description: 商品ID
  14915. type: integer
  14916. goodsname:
  14917. description: 商品名称
  14918. type: string
  14919. marketid:
  14920. description: 市场ID
  14921. type: integer
  14922. opencharge:
  14923. description: 建仓手续费(账户)
  14924. type: number
  14925. opencharge2:
  14926. description: 建仓手续费(商品)
  14927. type: number
  14928. orderid:
  14929. description: 委托单号
  14930. type: string
  14931. orderlogincode:
  14932. description: 委托人
  14933. type: string
  14934. tradeamount:
  14935. description: 成交金额(账户)
  14936. type: number
  14937. tradedate:
  14938. description: 交易日(yyyyMMdd)
  14939. type: string
  14940. tradeid:
  14941. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14942. type: string
  14943. tradeprice:
  14944. description: 成交价格
  14945. type: number
  14946. tradeqty:
  14947. description: 成交数量
  14948. type: integer
  14949. tradetime:
  14950. description: 成交时间
  14951. type: string
  14952. tradetype:
  14953. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  14954. type: integer
  14955. type: object
  14956. models.QuotePrimaryMenu:
  14957. properties:
  14958. Index:
  14959. description: 序号
  14960. type: integer
  14961. Key:
  14962. description: 键名
  14963. type: string
  14964. Name:
  14965. description: 菜单名称
  14966. type: string
  14967. SubMenus:
  14968. description: 子菜单
  14969. items:
  14970. $ref: '#/definitions/models.QuoteSecondaryMenu'
  14971. type: array
  14972. SubTitleType:
  14973. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  14974. type: integer
  14975. TradeModes:
  14976. description: 包含市场交易类型
  14977. type: string
  14978. type: object
  14979. models.QuoteSecondaryMenu:
  14980. properties:
  14981. ExExchangeCode:
  14982. description: 外部交易所代码
  14983. type: string
  14984. ExExchangeID:
  14985. description: 外部交易所ID
  14986. type: integer
  14987. GoodsGroupIDs:
  14988. description: 商品组ID列表
  14989. items:
  14990. type: integer
  14991. type: array
  14992. Index:
  14993. description: 序号
  14994. type: integer
  14995. MarketID:
  14996. description: 市场ID
  14997. type: integer
  14998. MenuTitle:
  14999. description: 菜单标题(市场名称或外部交易所名称)
  15000. type: string
  15001. TradeMode:
  15002. description: 交易模式
  15003. type: integer
  15004. type: object
  15005. models.RelatedTaAccount:
  15006. properties:
  15007. accountid:
  15008. description: 资金账户ID
  15009. type: integer
  15010. type: object
  15011. models.RoleMenu:
  15012. properties:
  15013. hasright:
  15014. description: 是否有权限 0-没有权限 1-有权限
  15015. type: integer
  15016. iconame:
  15017. description: 菜单图标
  15018. type: string
  15019. menutype:
  15020. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  15021. type: integer
  15022. parentcode:
  15023. description: 上级资源代码
  15024. type: string
  15025. remark:
  15026. description: 菜单备注
  15027. type: string
  15028. resourcecode:
  15029. description: 菜单代码
  15030. type: string
  15031. resourcelevel:
  15032. description: 级别
  15033. type: integer
  15034. resourcename:
  15035. description: 菜单名称
  15036. type: string
  15037. roleid:
  15038. description: 角色id
  15039. type: integer
  15040. sort:
  15041. description: 排序
  15042. type: integer
  15043. subMenu:
  15044. description: 子级菜单(结构同上层一样, swag解析不出来)
  15045. items:
  15046. $ref: '#/definitions/models.RoleMenu'
  15047. type: array
  15048. url:
  15049. description: URL
  15050. type: string
  15051. userid:
  15052. description: 用户id
  15053. type: integer
  15054. type: object
  15055. models.SearchGoods:
  15056. properties:
  15057. goodscode:
  15058. description: 商品代码(内部)
  15059. type: string
  15060. goodsid:
  15061. description: 商品ID(自增ID SEQ_GOODS)
  15062. type: integer
  15063. goodsname:
  15064. description: 商品名称
  15065. type: string
  15066. marketid:
  15067. description: 所属市场ID
  15068. type: integer
  15069. marketname:
  15070. description: 市场名称
  15071. type: string
  15072. trademode:
  15073. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15074. 21:竞拍-大宗式 22:受托竞价
  15075. type: integer
  15076. required:
  15077. - goodscode
  15078. - goodsid
  15079. - goodsname
  15080. - marketid
  15081. - trademode
  15082. type: object
  15083. models.Systemparam:
  15084. properties:
  15085. loginid:
  15086. description: 更新用户账号,登录账号
  15087. type: string
  15088. modifyflag:
  15089. description: 修改标志0 不允许修改 1 允许修改
  15090. type: integer
  15091. paramcode:
  15092. description: 参数代码
  15093. type: string
  15094. paramname:
  15095. description: 参数名
  15096. type: string
  15097. paramtype:
  15098. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  15099. type: integer
  15100. paramvalue:
  15101. description: 参数值
  15102. type: string
  15103. paramvalue2:
  15104. description: 参数值(CLOB)
  15105. type: string
  15106. regexpress:
  15107. description: 正则表达式
  15108. type: string
  15109. remark:
  15110. description: 备注
  15111. type: string
  15112. serverip:
  15113. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  15114. type: string
  15115. showflag:
  15116. description: 是否显示0 不显示 1 显示
  15117. type: integer
  15118. updatetime:
  15119. description: 更新时间
  15120. type: string
  15121. userid:
  15122. description: 更新用户ID
  15123. type: integer
  15124. required:
  15125. - paramcode
  15126. type: object
  15127. models.Szdz3convertconfig:
  15128. properties:
  15129. canin:
  15130. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  15131. type: integer
  15132. canout:
  15133. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  15134. type: integer
  15135. converttype:
  15136. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15137. 6:交易转花生米(不设置)
  15138. type: integer
  15139. createtime:
  15140. description: 创建时间
  15141. type: string
  15142. creatorid:
  15143. description: 创建人
  15144. type: integer
  15145. daymaxvalue:
  15146. description: 当日最大转入限制
  15147. type: number
  15148. freezedays:
  15149. description: 冻结天数 [5:花生米转交易]
  15150. type: integer
  15151. innergoodsid:
  15152. description: 内部商品ID[交易]
  15153. type: integer
  15154. inratio:
  15155. description: 目标值
  15156. type: integer
  15157. modifierid:
  15158. description: 修改人
  15159. type: integer
  15160. modifytime:
  15161. description: 修改时间
  15162. type: string
  15163. outergoodscode:
  15164. description: 外部商品代码[JD\PD]
  15165. type: string
  15166. outratio:
  15167. description: 源值
  15168. type: integer
  15169. pddecimalplace:
  15170. description: PD小数位
  15171. type: integer
  15172. timemaxvalue:
  15173. description: 单次最大转入限制
  15174. type: number
  15175. timeminvalue:
  15176. description: 单次最小转入限制
  15177. type: number
  15178. required:
  15179. - converttype
  15180. - innergoodsid
  15181. - outergoodscode
  15182. type: object
  15183. models.Szdz3searchwhitelist:
  15184. properties:
  15185. createtime:
  15186. description: 创建时间
  15187. type: string
  15188. creatorid:
  15189. description: 创建人
  15190. type: integer
  15191. modifierid:
  15192. description: 修改人
  15193. type: integer
  15194. modifytime:
  15195. description: 修改时间
  15196. type: string
  15197. userid:
  15198. description: 用户ID
  15199. type: integer
  15200. required:
  15201. - userid
  15202. type: object
  15203. models.TBGoods:
  15204. properties:
  15205. agreeunit:
  15206. description: 合约乘数
  15207. type: number
  15208. enumdicname:
  15209. description: 单位名称
  15210. type: string
  15211. goodscode:
  15212. description: 商品代码(内部)
  15213. type: string
  15214. goodsid:
  15215. description: 商品ID(自增ID SEQ_GOODS)
  15216. type: integer
  15217. goodsname:
  15218. description: 商品名称
  15219. type: string
  15220. type: object
  15221. models.TBGoodsGroup:
  15222. properties:
  15223. GDLST:
  15224. description: 商品列表
  15225. items:
  15226. $ref: '#/definitions/models.TBGoods'
  15227. type: array
  15228. convertratio:
  15229. description: 折算系数
  15230. type: number
  15231. enumdicname:
  15232. description: 单位名称
  15233. type: string
  15234. exexchangecode:
  15235. description: 交易所代码
  15236. type: string
  15237. exexchangename:
  15238. description: 交易所名称
  15239. type: string
  15240. goodsgroupid:
  15241. description: 商品组ID(自增ID)
  15242. type: integer
  15243. goodsgroupname:
  15244. description: 商品组名称
  15245. type: string
  15246. goodunitid:
  15247. description: 报价单位ID
  15248. type: integer
  15249. type: object
  15250. models.TBMiddleGoods:
  15251. properties:
  15252. GPLST:
  15253. description: 期货品种列表
  15254. items:
  15255. $ref: '#/definitions/models.TBGoodsGroup'
  15256. type: array
  15257. WDLST:
  15258. description: 商品信息列表(现货品类)
  15259. items:
  15260. $ref: '#/definitions/models.TBWrstandard'
  15261. type: array
  15262. areauserid:
  15263. description: 机构用户ID
  15264. type: integer
  15265. enumdicname:
  15266. description: 单位名称
  15267. type: string
  15268. goodsunitid:
  15269. description: 套保品种单位id
  15270. type: integer
  15271. middlegoodscode:
  15272. description: 套保品种代码
  15273. type: string
  15274. middlegoodsid:
  15275. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15276. type: integer
  15277. middlegoodsname:
  15278. description: 套保品种名称
  15279. type: string
  15280. needarbitrageratio:
  15281. description: 套利比率
  15282. type: number
  15283. needhedgeratio:
  15284. description: 套保比率
  15285. type: number
  15286. type: object
  15287. models.TBWrstandard:
  15288. properties:
  15289. convertratio:
  15290. description: 折算系数
  15291. type: number
  15292. deliverygoodsname:
  15293. description: 品种名称
  15294. type: string
  15295. enumdicname:
  15296. description: 单位名称
  15297. type: string
  15298. vatrate:
  15299. description: 增值税率
  15300. type: number
  15301. wrstandardcode:
  15302. description: 现货商品代码
  15303. type: string
  15304. wrstandardid:
  15305. description: 现货商品ID(SEQ_WRSTANDARD)
  15306. type: integer
  15307. wrstandardname:
  15308. description: 现货商品名称
  15309. type: string
  15310. type: object
  15311. models.Taaccount:
  15312. properties:
  15313. accountflag:
  15314. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15315. type: integer
  15316. accountid:
  15317. description: 资金账户ID
  15318. type: integer
  15319. accountname:
  15320. description: 账户名称
  15321. type: string
  15322. balance:
  15323. description: 期初余额
  15324. type: number
  15325. capitalbalance:
  15326. description: 本金余额[外部子账户实际出入金余额]
  15327. type: number
  15328. changeflag:
  15329. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15330. type: integer
  15331. changetime:
  15332. description: 账户状态变更时间
  15333. type: string
  15334. closepl:
  15335. description: 今日平仓盈亏
  15336. type: number
  15337. creditdecrease:
  15338. description: 今日授信减少
  15339. type: number
  15340. creditincrease:
  15341. description: 今日授信增加
  15342. type: number
  15343. curamount:
  15344. description: 总市值(从持仓中统计)
  15345. type: number
  15346. currencyid:
  15347. description: 货币ID
  15348. type: integer
  15349. currentbalance:
  15350. description: 期末余额
  15351. type: number
  15352. freezecharge:
  15353. description: 手续费冻结
  15354. type: number
  15355. freezemargin:
  15356. description: 冻结保证金
  15357. type: number
  15358. fromaccountid:
  15359. description: 所属上级账户
  15360. type: integer
  15361. inamount:
  15362. description: 今日入金金额(包括三方入金)
  15363. type: number
  15364. ismain:
  15365. description: 是否母账号 0:不是母账户 1:是母账户
  15366. type: integer
  15367. ismarketaccount:
  15368. description: 是否机构接单账号 0:不是 1:是
  15369. type: integer
  15370. isreckonaccount:
  15371. description: 是否机构分润账号 0:不是 1:是
  15372. type: integer
  15373. mortgagecredit:
  15374. description: 授信金额
  15375. type: number
  15376. orifreezecharge:
  15377. description: 期初手续费冻结
  15378. type: number
  15379. orifreezemargin:
  15380. description: 期初冻结保证金
  15381. type: number
  15382. orimortgagecredit:
  15383. description: 期初授信金额
  15384. type: number
  15385. oriothercredit:
  15386. description: 期初其它授信金额
  15387. type: number
  15388. oriotherfreezemargin:
  15389. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15390. type: number
  15391. orioutamountfreeze:
  15392. description: 期初出金冻结
  15393. type: number
  15394. oriusedmargin:
  15395. description: 期初占用保证金
  15396. type: number
  15397. othercredit:
  15398. description: 其它授信金额
  15399. type: number
  15400. othercreditdecrease:
  15401. description: 今日其它授信减少
  15402. type: number
  15403. othercreditincrease:
  15404. description: 今日其它授信增加
  15405. type: number
  15406. otherfreezemargin:
  15407. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15408. type: number
  15409. otherincome:
  15410. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15411. type: number
  15412. otherpay:
  15413. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15414. type: number
  15415. outamount:
  15416. description: 今日出金金额(包括三方出金)
  15417. type: number
  15418. outamountfreeze:
  15419. description: 出金冻结
  15420. type: number
  15421. outthreshold:
  15422. description: 出金阈值
  15423. type: number
  15424. parentaccountid:
  15425. description: 所属根账号
  15426. type: integer
  15427. paycharge:
  15428. description: 今日手续费支出
  15429. type: number
  15430. relatedaccountstatus:
  15431. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15432. type: integer
  15433. relateduserid:
  15434. description: 关联用户
  15435. type: integer
  15436. remainamount:
  15437. description: 融资额(从融资合同中统计)
  15438. type: number
  15439. serivcegroup:
  15440. description: 服务分组
  15441. type: integer
  15442. signstatus:
  15443. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15444. type: integer
  15445. sublevelpath:
  15446. description: 账号层级路径(逗号分隔,首尾加逗号)
  15447. type: string
  15448. taaccounttype:
  15449. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15450. type: integer
  15451. thirdinamount:
  15452. description: 今日三方入金
  15453. type: number
  15454. thirdoutamount:
  15455. description: 今日三方出金
  15456. type: number
  15457. tradestatus:
  15458. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15459. type: integer
  15460. tradestatuschangetime:
  15461. description: 激活时间
  15462. type: string
  15463. transferamount:
  15464. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15465. type: number
  15466. usedmargin:
  15467. description: 占用保证金
  15468. type: number
  15469. userid:
  15470. description: 用户ID
  15471. type: integer
  15472. required:
  15473. - accountid
  15474. - userid
  15475. type: object
  15476. models.Tablecolumnconfig:
  15477. properties:
  15478. aligntype:
  15479. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15480. type: integer
  15481. autoid:
  15482. description: AutoID
  15483. type: integer
  15484. columnfield:
  15485. description: 列字段
  15486. type: string
  15487. columntitle:
  15488. description: 列Title
  15489. type: string
  15490. columnwidth:
  15491. description: 列宽
  15492. type: string
  15493. formatterstring:
  15494. description: 格式化字符
  15495. type: string
  15496. formattertype:
  15497. description: 格式化类型
  15498. type: string
  15499. groupname:
  15500. description: 表头分组名称
  15501. type: string
  15502. isshow:
  15503. description: 是否显示 - 0:不显示 1:显示
  15504. type: integer
  15505. needsummary:
  15506. description: 是否需要汇总 - 0:不需要 1:需要
  15507. type: integer
  15508. orderindex:
  15509. description: 顺序
  15510. type: integer
  15511. remark:
  15512. description: 备注
  15513. type: string
  15514. summarytype:
  15515. description: 汇总类型 - 1:加总 2:最后一个
  15516. type: integer
  15517. tablekey:
  15518. description: 列表Key
  15519. type: string
  15520. required:
  15521. - autoid
  15522. type: object
  15523. models.TjmdHolderDetailTradeInfo:
  15524. properties:
  15525. agreeunit:
  15526. description: 合约乘数
  15527. type: number
  15528. buyaccountid:
  15529. description: 买方账户
  15530. type: string
  15531. buyusername:
  15532. description: 买方
  15533. type: string
  15534. delistingdate:
  15535. description: 最后结算日
  15536. type: string
  15537. expiredate:
  15538. description: 到期结算价定价日
  15539. type: string
  15540. exprieprice:
  15541. description: 到期清算价格
  15542. type: string
  15543. goodscode:
  15544. description: 商品代码
  15545. type: string
  15546. goodsid:
  15547. description: 商品ID
  15548. type: integer
  15549. goodsname:
  15550. description: 商品名称(交易标的)
  15551. type: string
  15552. lasttradedate:
  15553. description: 最后交易日
  15554. type: string
  15555. listingdate:
  15556. description: 开始交易日
  15557. type: string
  15558. openprice:
  15559. description: 成交价
  15560. type: number
  15561. openqty:
  15562. description: 交易数量
  15563. type: integer
  15564. sellaccountid:
  15565. description: 卖方账户
  15566. type: string
  15567. sellusername:
  15568. description: 卖方
  15569. type: string
  15570. tradeamount:
  15571. description: 初始名义价值
  15572. type: number
  15573. tradedate:
  15574. description: 成交日期
  15575. type: string
  15576. tradeid:
  15577. description: 成交编号
  15578. type: string
  15579. type: object
  15580. models.TjmdMarketSection:
  15581. properties:
  15582. marketsectionid:
  15583. description: 市场版块ID(SEQ_MARKETSECTION)
  15584. type: integer
  15585. marketsectionname:
  15586. description: 市场版块名称
  15587. type: string
  15588. mlist:
  15589. description: 市场列表(板块下面有多少个市场)
  15590. items:
  15591. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  15592. type: array
  15593. orderindex:
  15594. description: 排序
  15595. type: integer
  15596. pictureurl:
  15597. description: 图片url, 规格(90*90)
  15598. type: string
  15599. remark:
  15600. description: 备注
  15601. type: string
  15602. type: object
  15603. models.TjmdMarketSectionConfig:
  15604. properties:
  15605. auctionwrtype:
  15606. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  15607. type: integer
  15608. canacceptquote:
  15609. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  15610. type: integer
  15611. cangoodsexercise:
  15612. description: '[期权]是否可现货行权- 0:否 1:是'
  15613. type: integer
  15614. cangoodsexercisetype:
  15615. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  15616. type: integer
  15617. canmanualquotestrike:
  15618. description: 是否可手动报行权价- 0:否 1:是 [期权]
  15619. type: integer
  15620. canmutistage:
  15621. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  15622. type: integer
  15623. canpreexercise:
  15624. description: '[期权]是否可预申报- 0:否 1:是'
  15625. type: integer
  15626. clearinterval:
  15627. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  15628. type: integer
  15629. contracttmp:
  15630. description: 合同模板[荷兰式][竞价式][仓单贸易]
  15631. type: string
  15632. exchareaid:
  15633. description: 所属交易所,可以没有
  15634. type: integer
  15635. financemarketid:
  15636. description: 融资回购市场ID [仓单贸易]
  15637. type: integer
  15638. goodstype:
  15639. description: 商品类型 - 1:交易商品 2:仓单商品
  15640. type: integer
  15641. hasrebate:
  15642. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  15643. type: integer
  15644. hastradecredit:
  15645. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  15646. type: integer
  15647. haswr:
  15648. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  15649. type: integer
  15650. isdeductmargin:
  15651. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  15652. type: integer
  15653. isrecordsource:
  15654. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  15655. type: integer
  15656. isreleasemargin:
  15657. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  15658. type: integer
  15659. isupdatereckonprice:
  15660. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  15661. type: integer
  15662. listingmode:
  15663. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15664. type: integer
  15665. marginformula:
  15666. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15667. type: integer
  15668. marginformula2:
  15669. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15670. type: integer
  15671. marketid:
  15672. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  15673. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  15674. type: integer
  15675. marketname:
  15676. description: 市场名称
  15677. type: string
  15678. marketsectionid:
  15679. description: 市场版块ID(SEQ_MARKETSECTION)
  15680. type: integer
  15681. marketserviceid:
  15682. description: 市场服务ID
  15683. type: integer
  15684. marketstatus:
  15685. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  15686. type: integer
  15687. markettype:
  15688. description: 市场类型- 1:非交易服务 2:交易服务
  15689. type: integer
  15690. matchermode:
  15691. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  15692. type: integer
  15693. nowrquotaflag:
  15694. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  15695. type: integer
  15696. openmethod:
  15697. description: 开盘模式 - 0 自动 1手动
  15698. type: integer
  15699. orderindex:
  15700. description: 排序
  15701. type: integer
  15702. otcuserid:
  15703. description: 场外期权做市商[场外期权]
  15704. type: integer
  15705. outersynctime:
  15706. description: 外部同步时间点(h24:mi:ss)[场外期权]
  15707. type: string
  15708. paylaterflag:
  15709. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  15710. type: integer
  15711. pendingflag:
  15712. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  15713. type: integer
  15714. pendingtime:
  15715. description: 待开市时间[通道交易-对冲](HH:mm)
  15716. type: string
  15717. performancetempid:
  15718. description: 履约计划模板ID - 作废
  15719. type: integer
  15720. premiumquotemode:
  15721. description: 权利金报价方式 - 1:自动 2:手动
  15722. type: integer
  15723. rebateratio:
  15724. description: 返利比率[竞价式]
  15725. type: number
  15726. reckonorder:
  15727. description: 结算顺序
  15728. type: integer
  15729. reckonpricealgorithm:
  15730. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  15731. 6.卖一价 7.买一卖一均价 8.外部结算价'
  15732. type: integer
  15733. reckonpriceparam:
  15734. description: 结算价参数
  15735. type: integer
  15736. reckontime:
  15737. description: 结算时间[通道交易-对冲](HH:mm)
  15738. type: string
  15739. roleprioritytype:
  15740. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  15741. type: integer
  15742. selllistingauditflag:
  15743. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  15744. type: integer
  15745. trademarkettype:
  15746. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  15747. type: integer
  15748. trademode:
  15749. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15750. 21:竞拍-大宗式 22:受托竞价
  15751. type: integer
  15752. tradeproperty:
  15753. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  15754. 8:场外期权
  15755. type: integer
  15756. tradetype:
  15757. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  15758. type: integer
  15759. updatereckonpriceinterval:
  15760. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  15761. type: integer
  15762. type: object
  15763. models.TjmdQuoteGoods:
  15764. properties:
  15765. buyqty:
  15766. description: 买量(暂不做, 无值, 保留字段)
  15767. type: number
  15768. decimalplace:
  15769. description: 报价小数位
  15770. type: integer
  15771. goodscode:
  15772. description: 合约代码
  15773. type: string
  15774. goodsgroupid:
  15775. description: 商品组ID(自增ID)
  15776. type: integer
  15777. goodsgroupname:
  15778. description: 商品组名称
  15779. type: string
  15780. goodsid:
  15781. description: 合约id
  15782. type: integer
  15783. goodsname:
  15784. description: 合约名称
  15785. type: string
  15786. refgoodscode:
  15787. description: 标的合约代码
  15788. type: string
  15789. refgoodsid:
  15790. description: 标的合约id
  15791. type: integer
  15792. refgoodsname:
  15793. description: 标的合约名称
  15794. type: string
  15795. sellqty:
  15796. description: 卖量(暂不做, 无值, 保留字段)
  15797. type: number
  15798. type: object
  15799. models.TjmdTodayAccountMargin:
  15800. properties:
  15801. accountid:
  15802. description: 账号ID
  15803. type: integer
  15804. goodsid:
  15805. description: 商品ID
  15806. type: integer
  15807. infoc:
  15808. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  15809. description: 配置参数
  15810. marketid:
  15811. description: 市场ID
  15812. type: integer
  15813. type: object
  15814. models.TjmdTradeOrderDetail:
  15815. properties:
  15816. buyorsell:
  15817. description: 买卖方向 0-买 1-卖
  15818. type: integer
  15819. goodsid:
  15820. description: 商品id
  15821. type: integer
  15822. marketmaxsub:
  15823. description: 市价最大偏移范围 [浮动价 - 点差]
  15824. type: number
  15825. orderid:
  15826. description: 委托单号
  15827. type: string
  15828. orderprice:
  15829. description: 委托价格
  15830. type: number
  15831. orderqty:
  15832. description: 委托数量
  15833. type: integer
  15834. pricemode:
  15835. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  15836. type: integer
  15837. userid:
  15838. description: 用户id
  15839. type: integer
  15840. username:
  15841. description: 用户名称(已脱敏)
  15842. type: string
  15843. type: object
  15844. models.TjmdTransferApply:
  15845. properties:
  15846. applyid:
  15847. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  15848. type: integer
  15849. applystatus:
  15850. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  15851. type: integer
  15852. applytime:
  15853. description: 申请时间(时间)
  15854. type: string
  15855. auditremark:
  15856. description: 审核备注(拒绝原因?)
  15857. type: string
  15858. begindate:
  15859. description: 开始交易日(yyyymmdd)
  15860. type: string
  15861. buyorsell:
  15862. description: 买卖 - 0:买 1:卖
  15863. type: integer
  15864. enddate:
  15865. description: 结束交易日(yyyymmdd)
  15866. type: string
  15867. goodscode:
  15868. description: 商品代码
  15869. type: string
  15870. goodsid:
  15871. description: 商品ID
  15872. type: integer
  15873. goodsname:
  15874. description: 商品名称
  15875. type: string
  15876. marketid:
  15877. description: 市场ID
  15878. type: integer
  15879. qty:
  15880. description: 转让数量(数量)
  15881. type: number
  15882. tradeid:
  15883. description: 成交单号(关联持仓)
  15884. type: string
  15885. transferamount:
  15886. description: 转让总金额(金额)
  15887. type: number
  15888. transferprice:
  15889. description: 转让价格(协议价格)
  15890. type: number
  15891. type: object
  15892. models.TradeHolderDetail:
  15893. properties:
  15894. accountid:
  15895. description: 账号ID
  15896. type: integer
  15897. agreeunit:
  15898. description: 合约乘数
  15899. type: number
  15900. buyorsell:
  15901. description: 方向 - 0:买 1:卖
  15902. type: integer
  15903. currencyid:
  15904. description: 商品币种id
  15905. type: integer
  15906. currencyname:
  15907. description: 币种名称
  15908. type: string
  15909. decimalplace:
  15910. description: 商品价格小数位
  15911. type: integer
  15912. enumdicname:
  15913. description: 商品单位名称
  15914. type: string
  15915. expirecycle:
  15916. description: 行权周期(天) - 1:滚动行权时填写
  15917. type: integer
  15918. expiredate:
  15919. description: 行权日(yyyyMMdd) - 到期日
  15920. type: string
  15921. expiretype:
  15922. description: 行权日类型 - 1:滚动行权 2:固定日行权
  15923. type: integer
  15924. freezeqty:
  15925. description: 冻结数量
  15926. type: number
  15927. goodscode:
  15928. description: 商品代码
  15929. type: string
  15930. goodsid:
  15931. description: 商品ID
  15932. type: integer
  15933. goodsname:
  15934. description: 商品名称
  15935. type: string
  15936. goodunitid:
  15937. description: 商品单位id
  15938. type: integer
  15939. holderamount:
  15940. description: 持仓金额
  15941. type: number
  15942. holdercredit:
  15943. description: 持仓授信金额
  15944. type: number
  15945. holderdays:
  15946. description: 剩余冻结天数
  15947. type: integer
  15948. holderprice:
  15949. description: 持仓价格
  15950. type: number
  15951. holderqty:
  15952. description: 持仓数量
  15953. type: number
  15954. isconfirmexercise:
  15955. description: 是否确认行权- 0:否 1:是
  15956. type: integer
  15957. ispreexercise:
  15958. description: 是否预申报- 0:否 1:是 2:不可行权
  15959. type: integer
  15960. marketid:
  15961. description: 市场id
  15962. type: integer
  15963. marketname:
  15964. description: 市场名称
  15965. type: string
  15966. openprice:
  15967. description: 建仓价格
  15968. type: number
  15969. openqty:
  15970. description: 建仓数量
  15971. type: number
  15972. optiontype:
  15973. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15974. type: integer
  15975. preexerciseprice:
  15976. description: 预申报价格
  15977. type: number
  15978. premium:
  15979. description: 权利金
  15980. type: number
  15981. qtydecimalplace:
  15982. description: 商品成交量小数位
  15983. type: integer
  15984. refgoodscode:
  15985. description: 标的合约代码
  15986. type: string
  15987. refgoodsid:
  15988. description: 标的合约id
  15989. type: integer
  15990. releaseamount:
  15991. description: 释放持仓金额
  15992. type: number
  15993. releaseholdercredit:
  15994. description: 释放持仓授信金额
  15995. type: number
  15996. taname:
  15997. description: 资金账号名称
  15998. type: string
  15999. tradeamount:
  16000. description: 成交金额
  16001. type: number
  16002. tradedate:
  16003. description: 交易日(yyyyMMdd)
  16004. type: string
  16005. tradeid:
  16006. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16007. type: string
  16008. trademode:
  16009. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16010. 21:竞拍-大宗式 22:受托竞价 46:掉期
  16011. type: integer
  16012. tradeproperty:
  16013. description: 交易属性
  16014. type: integer
  16015. tradetime:
  16016. description: 交易时间
  16017. type: string
  16018. userid:
  16019. description: 用户id
  16020. type: integer
  16021. username:
  16022. description: 用户名称
  16023. type: string
  16024. type: object
  16025. models.Unlinkermcphedgeplan:
  16026. properties:
  16027. accountid:
  16028. description: 期货账户ID - 作废
  16029. type: integer
  16030. accountname:
  16031. description: 交易用户
  16032. type: string
  16033. applyid:
  16034. description: 申请人
  16035. type: integer
  16036. applysrc:
  16037. description: 申请来源 - 1:管理端 2:终端
  16038. type: integer
  16039. applytime:
  16040. description: 申请时间
  16041. type: string
  16042. areauserid:
  16043. description: '[企业ID]机构ID'
  16044. type: integer
  16045. auditid:
  16046. description: 审核人
  16047. type: integer
  16048. auditremark:
  16049. description: 审核备注
  16050. type: string
  16051. auditsrc:
  16052. description: 审核来源 - 1:管理端 2:终端
  16053. type: integer
  16054. audittime:
  16055. description: 审核时间
  16056. type: string
  16057. audittradedate:
  16058. description: 审核交易日(yyyyMMdd)
  16059. type: string
  16060. biztype:
  16061. description: 业务类型 - 1:套保
  16062. type: integer
  16063. contracttype:
  16064. description: 计划类型 - 1:采购 -1:销售
  16065. type: integer
  16066. convertfactor:
  16067. description: 标仓系数 - 作废
  16068. type: number
  16069. createtime:
  16070. description: 创建时间
  16071. type: string
  16072. currencyid:
  16073. description: 结算币种ID - 作废
  16074. type: integer
  16075. deliverygoodsid:
  16076. description: 现货品种ID
  16077. type: integer
  16078. enumdicname:
  16079. description: 结算币种
  16080. type: string
  16081. hedgeplanid:
  16082. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  16083. type: string
  16084. hedgeplanno:
  16085. description: '[计划编号]套保计划编号,模糊查询'
  16086. type: string
  16087. hedgeplanstatus:
  16088. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  16089. type: integer
  16090. isrelated:
  16091. description: 是否已关联计划项目 - 0:否 1:是
  16092. type: integer
  16093. planqty:
  16094. description: '[计划量]计划数量'
  16095. type: number
  16096. plantime:
  16097. description: 计划时间
  16098. type: string
  16099. producttype:
  16100. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  16101. type: integer
  16102. remark:
  16103. description: 备注
  16104. type: string
  16105. spotgoodsdesc:
  16106. description: 商品型号
  16107. type: string
  16108. tradedate:
  16109. description: 交易日(yyyyMMdd)
  16110. type: string
  16111. tradeuserid:
  16112. description: 交易用户ID
  16113. type: integer
  16114. updatetime:
  16115. description: 更新时间
  16116. type: string
  16117. wrstandardid:
  16118. description: 现货商品ID
  16119. type: integer
  16120. wrstandardname:
  16121. description: 现货商品,模糊查询
  16122. type: string
  16123. required:
  16124. - areauserid
  16125. type: object
  16126. models.UserCollectConfig:
  16127. properties:
  16128. accountstatus:
  16129. description: 账户状态 - 1:正常 2:停用 3:注销
  16130. type: integer
  16131. collectaccountname:
  16132. description: 收款人账户名称
  16133. type: string
  16134. collectaccountno:
  16135. description: 收款人账户
  16136. type: string
  16137. collectbankname:
  16138. description: 收款人开户行
  16139. type: string
  16140. collectbranchbankname:
  16141. description: 收款人开户支行
  16142. type: string
  16143. collectconfigid:
  16144. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  16145. type: string
  16146. remark:
  16147. description: 备注
  16148. type: string
  16149. userid:
  16150. description: 收款人用户ID
  16151. type: integer
  16152. type: object
  16153. models.UserReceiveInfo:
  16154. properties:
  16155. address:
  16156. description: 提货人详细地址
  16157. type: string
  16158. autoid:
  16159. description: AutoID
  16160. type: integer
  16161. cardnum:
  16162. description: 证件号码(加密存储)
  16163. type: string
  16164. cardtypeid:
  16165. description: 证件类型
  16166. type: integer
  16167. cityid:
  16168. description: 市
  16169. type: integer
  16170. cityname:
  16171. description: 城市名称
  16172. type: string
  16173. countryid:
  16174. description: 国家
  16175. type: integer
  16176. countryname:
  16177. description: 国家名称
  16178. type: string
  16179. districtid:
  16180. description: 地区
  16181. type: integer
  16182. districtname:
  16183. description: 地区名称
  16184. type: string
  16185. hasencrypt:
  16186. description: 数据是否已加密 - 0:未加密 1:已加密
  16187. type: integer
  16188. isdefault:
  16189. description: 是否默认地址 - 0:否 1:是
  16190. type: integer
  16191. phonenum:
  16192. description: 提货人联系方式(加密存储)
  16193. type: string
  16194. provinceid:
  16195. description: 省
  16196. type: integer
  16197. provincename:
  16198. description: 省名称
  16199. type: string
  16200. receivername:
  16201. description: 提货人姓名
  16202. type: string
  16203. takeremark:
  16204. description: 提货备注
  16205. type: string
  16206. userid:
  16207. description: 用户ID
  16208. type: integer
  16209. type: object
  16210. models.Useraccount:
  16211. properties:
  16212. accountname:
  16213. description: 账户名称(机构名称)
  16214. type: string
  16215. accountstatus:
  16216. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16217. type: integer
  16218. applysrc:
  16219. description: 申请来源 - 1:管理端 2:终端
  16220. type: integer
  16221. auditremark:
  16222. description: 审核备注
  16223. type: string
  16224. auditsrc:
  16225. description: 审核来源 - 1:管理端 2:终端
  16226. type: integer
  16227. audittime:
  16228. description: 审核时间
  16229. type: string
  16230. audituserid:
  16231. description: 审核人
  16232. type: integer
  16233. broker:
  16234. description: 所属经纪人ID
  16235. type: integer
  16236. canceltime:
  16237. description: 销户时间
  16238. type: string
  16239. canceluserid:
  16240. description: 销户人
  16241. type: integer
  16242. canrecommend:
  16243. description: 是否可推荐 - 0:不可 1;可
  16244. type: integer
  16245. createtime:
  16246. description: 创建时间
  16247. type: string
  16248. creatorid:
  16249. description: 创建人
  16250. type: integer
  16251. hasauth:
  16252. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16253. type: integer
  16254. isanonymous:
  16255. description: 是否匿名下单 - 0:否 1:是
  16256. type: integer
  16257. maxinvestornum:
  16258. description: 最大用户数(经纪会员下投资者个数)
  16259. type: integer
  16260. memberuserid:
  16261. description: 所属会员ID
  16262. type: integer
  16263. modifierid:
  16264. description: 修改人
  16265. type: integer
  16266. modifyremark:
  16267. description: 变更备注
  16268. type: string
  16269. modifystatus:
  16270. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16271. type: integer
  16272. modifytime:
  16273. description: 修改时间
  16274. type: string
  16275. parenttopuser:
  16276. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16277. type: string
  16278. parentuserid:
  16279. description: 所属机构ID
  16280. type: integer
  16281. reckonaccountid:
  16282. description: 默认结算资金账号ID(机构分润使用) 作废
  16283. type: integer
  16284. refercount:
  16285. description: 推荐总人数
  16286. type: integer
  16287. refereeuserid:
  16288. description: 推荐人ID
  16289. type: integer
  16290. refernum:
  16291. description: 推荐码
  16292. type: string
  16293. rootuserid:
  16294. description: 根用户ID
  16295. type: integer
  16296. subaccountlevel:
  16297. description: 子账户层数
  16298. type: integer
  16299. subarealevelpath:
  16300. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16301. type: string
  16302. userid:
  16303. description: 用户ID
  16304. type: integer
  16305. usertype:
  16306. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16307. type: integer
  16308. required:
  16309. - userid
  16310. type: object
  16311. models.Userfavoritegoods:
  16312. properties:
  16313. goodsid:
  16314. description: 商品ID
  16315. type: integer
  16316. required:
  16317. - goodsid
  16318. type: object
  16319. models.Userinfo:
  16320. properties:
  16321. address:
  16322. description: 地址
  16323. type: string
  16324. attachment1:
  16325. description: 附件1
  16326. type: string
  16327. attachment2:
  16328. description: 附件2
  16329. type: string
  16330. bankaccount:
  16331. description: 银行帐号 (加密存储)
  16332. type: string
  16333. bankaccountname:
  16334. description: 收款人名称
  16335. type: string
  16336. bankcardfrontphotourl:
  16337. description: 银行卡正面照地址
  16338. type: string
  16339. bankid:
  16340. description: 银行编码
  16341. type: string
  16342. bankname:
  16343. description: 银行名称
  16344. type: string
  16345. biznature:
  16346. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16347. type: integer
  16348. bizscope:
  16349. description: 企业经营范围(企业)
  16350. type: string
  16351. cardbackphotourl:
  16352. description: 证件背面图片地址
  16353. type: string
  16354. cardfrontphotourl:
  16355. description: 证件正面图片地址
  16356. type: string
  16357. cardnum:
  16358. description: 证件号码(加密存储)
  16359. type: string
  16360. cardtypeid:
  16361. description: 证件类型ID
  16362. type: integer
  16363. cityid:
  16364. description: 市
  16365. type: integer
  16366. company:
  16367. description: 公司(个人)
  16368. type: string
  16369. contactname:
  16370. description: 联系人
  16371. type: string
  16372. countryid:
  16373. description: 国家
  16374. type: integer
  16375. createtime:
  16376. description: 创建时间
  16377. type: string
  16378. creatorid:
  16379. description: 创建人
  16380. type: integer
  16381. customername:
  16382. description: 客户名称(企业名称)
  16383. type: string
  16384. districtid:
  16385. description: 地区
  16386. type: integer
  16387. email:
  16388. description: 邮件(加密存储)
  16389. type: string
  16390. fax:
  16391. description: 传真(加密存储)
  16392. type: string
  16393. halfbodyphotourl:
  16394. description: 半身照地址
  16395. type: string
  16396. hasencrypt:
  16397. description: 数据是否已加密 - 0:未加密 1:已加密
  16398. type: integer
  16399. headurl:
  16400. description: 头像地址
  16401. type: string
  16402. legalcardbackphotourl:
  16403. description: 法人身份证背面照地址
  16404. type: string
  16405. legalcardfrontphotourl:
  16406. description: 法人身份证正面照地址
  16407. type: string
  16408. legalpersonname:
  16409. description: 法人姓名(企业)
  16410. type: string
  16411. mobile:
  16412. description: 手机号码(加密存储)
  16413. type: string
  16414. mobile2:
  16415. description: 手机号码[明文-尚志]
  16416. type: string
  16417. modifierid:
  16418. description: 修改人
  16419. type: integer
  16420. modifiertime:
  16421. description: 修改时间
  16422. type: string
  16423. needinvoice:
  16424. description: 是否需要发票 - 0:不需要 1:需要
  16425. type: integer
  16426. nickname:
  16427. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16428. type: string
  16429. openmode:
  16430. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16431. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16432. type: integer
  16433. otherurl:
  16434. description: 其它图片地址[使用分号分隔]
  16435. type: string
  16436. postalcode:
  16437. description: 邮政编码
  16438. type: string
  16439. provinceid:
  16440. description: 省
  16441. type: integer
  16442. qq:
  16443. description: QQ(加密存储
  16444. type: string
  16445. remark:
  16446. description: 备注
  16447. type: string
  16448. sex:
  16449. description: '用户性别 0: 女 1: 男'
  16450. type: integer
  16451. signpdfurl:
  16452. description: 签约pdf文件
  16453. type: string
  16454. telphone:
  16455. description: 联系电话(加密存储)
  16456. type: string
  16457. userid:
  16458. description: 用户ID
  16459. type: integer
  16460. userinfotype:
  16461. description: 用户信息类型 - 1:个人 2:企业
  16462. type: integer
  16463. userstatus:
  16464. description: 用户状态 - 1:正常 2:注销
  16465. type: integer
  16466. usertype:
  16467. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16468. type: integer
  16469. wechat:
  16470. description: 微信(加密存储)
  16471. type: string
  16472. wskhinfo:
  16473. description: 开户申请信息(JSON)
  16474. type: string
  16475. required:
  16476. - userid
  16477. type: object
  16478. models.WRSConverTDetail:
  16479. properties:
  16480. convertratio:
  16481. description: 套保系数
  16482. type: number
  16483. deliverygoodscode:
  16484. description: 现货商品代码
  16485. type: string
  16486. deliverygoodsid:
  16487. description: 现货品种ID
  16488. type: integer
  16489. deliverygoodsname:
  16490. description: 现货商品名称
  16491. type: string
  16492. enumdicname:
  16493. description: 单位名称
  16494. type: string
  16495. goodsunitid:
  16496. description: 套保品种单位id
  16497. type: integer
  16498. middlegoodscode:
  16499. description: 套保品种代码
  16500. type: string
  16501. middlegoodsid:
  16502. description: 套保品种ID
  16503. type: integer
  16504. middlegoodsname:
  16505. description: 套保品种名称
  16506. type: string
  16507. modifytime:
  16508. description: 修改时间
  16509. type: string
  16510. wrstandardid:
  16511. description: 品类ID
  16512. type: integer
  16513. type: object
  16514. models.WRStandardInfo:
  16515. properties:
  16516. areauserid:
  16517. description: 所属机构
  16518. type: integer
  16519. convertfactor:
  16520. description: 标仓系数
  16521. type: number
  16522. createtime:
  16523. description: 创建时间
  16524. type: string
  16525. creatorid:
  16526. description: 创建人
  16527. type: integer
  16528. deliverygoodsid:
  16529. description: 品种ID
  16530. type: integer
  16531. deliverygoodsname:
  16532. description: 交割商品名称
  16533. type: string
  16534. factoryitemjson:
  16535. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  16536. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  16537. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  16538. 逗号分隔'
  16539. type: string
  16540. isvalid:
  16541. description: 是否有效 - 0:无效 1:有效
  16542. type: integer
  16543. minivalue:
  16544. description: 最小变动值
  16545. type: integer
  16546. minivaluedp:
  16547. description: 最小变动值小数位
  16548. type: integer
  16549. realminivalue:
  16550. description: 实际最小变动值
  16551. type: integer
  16552. realminivaluedp:
  16553. description: 实际最小变动值小数位
  16554. type: integer
  16555. remark:
  16556. description: 备注
  16557. type: string
  16558. unitid:
  16559. description: 单位ID
  16560. type: integer
  16561. unitname:
  16562. description: 单位
  16563. type: string
  16564. updatetime:
  16565. description: 更新时间
  16566. type: string
  16567. updatorid:
  16568. description: 更新人
  16569. type: integer
  16570. wrsstatus:
  16571. description: 状态 - 作废 - 0:未激活 1:正常
  16572. type: integer
  16573. wrstandardcode:
  16574. description: 现货品类代码
  16575. type: string
  16576. wrstandardid:
  16577. description: 现货品类ID(SEQ_WRSTANDARD)
  16578. type: integer
  16579. wrstandardname:
  16580. description: 现货品类名称
  16581. type: string
  16582. required:
  16583. - wrstandardid
  16584. type: object
  16585. models.WRTradeBargainApply:
  16586. properties:
  16587. accountid:
  16588. description: 摘牌资金账号
  16589. type: integer
  16590. applyprice:
  16591. description: 申请价格(议价价格)
  16592. type: string
  16593. applyqty:
  16594. description: 摘牌数量(议价数量)
  16595. type: number
  16596. applyremark:
  16597. description: 申请备注
  16598. type: string
  16599. applystatus:
  16600. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  16601. type: integer
  16602. applytime:
  16603. description: 申请时间(议价时间)
  16604. type: string
  16605. begindate:
  16606. description: 开始交易日(yyyymmdd)
  16607. type: string
  16608. buyorsell:
  16609. description: 买卖(挂牌类型) - 0:买 1:卖
  16610. type: integer
  16611. confirmremark:
  16612. description: 确认备注
  16613. type: string
  16614. confirmtime:
  16615. description: 确认时间
  16616. type: string
  16617. confirmuserid:
  16618. description: 确认人
  16619. type: integer
  16620. deliverygoodscode:
  16621. description: 品种代码
  16622. type: string
  16623. deliverygoodsid:
  16624. description: 品种ID
  16625. type: integer
  16626. deliverygoodsname:
  16627. description: 品种名称
  16628. type: string
  16629. deliverymonth:
  16630. description: 交收月
  16631. type: string
  16632. enddate:
  16633. description: 结束交易日(yyyymmdd)
  16634. type: string
  16635. enumdicname:
  16636. description: 单位名称
  16637. type: string
  16638. fixedprice:
  16639. description: 挂牌价格
  16640. type: number
  16641. handlestatus:
  16642. description: 处理状态
  16643. type: integer
  16644. marginvalue:
  16645. description: 履约保证金比例
  16646. type: number
  16647. marketid:
  16648. description: 市场ID
  16649. type: integer
  16650. matchaccountid:
  16651. description: 挂牌方资金账号
  16652. type: integer
  16653. matchuserid:
  16654. description: 挂牌方用户id
  16655. type: integer
  16656. matchusername:
  16657. description: 挂牌方用户名称(已脱敏)
  16658. type: string
  16659. minivalue:
  16660. description: 现货商品最小变动值
  16661. type: integer
  16662. optioncompare:
  16663. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16664. type: string
  16665. orderqty:
  16666. description: 挂牌数量
  16667. type: integer
  16668. refprice:
  16669. description: 参考价格
  16670. type: string
  16671. retcode:
  16672. description: 委托返回代码
  16673. type: integer
  16674. templatename:
  16675. description: 履约方式(履约模板名称)
  16676. type: string
  16677. tradedate:
  16678. description: 交易日(yyyyMMdd)
  16679. type: string
  16680. userid:
  16681. description: 摘牌人用户ID(议价人ID)
  16682. type: integer
  16683. username:
  16684. description: 议价人名字(已脱敏)
  16685. type: string
  16686. validtime:
  16687. description: 有效期限
  16688. type: string
  16689. warehouseid:
  16690. description: 仓库ID
  16691. type: integer
  16692. warehousename:
  16693. description: 仓库名称
  16694. type: string
  16695. wrbargainid:
  16696. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  16697. type: string
  16698. wrfactortypeid:
  16699. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16700. type: string
  16701. wrfactortypename:
  16702. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16703. type: string
  16704. wrstandardcode:
  16705. description: 现货商品代码
  16706. type: string
  16707. wrstandardid:
  16708. description: 现货商品ID
  16709. type: integer
  16710. wrstandardname:
  16711. description: 商品名称
  16712. type: string
  16713. wrtradeorderid:
  16714. description: 关联委托单ID
  16715. type: string
  16716. wrtypename:
  16717. description: 商品
  16718. type: string
  16719. type: object
  16720. models.Warehouseinfo:
  16721. properties:
  16722. address:
  16723. description: 详细地址
  16724. type: string
  16725. areauserid:
  16726. description: 所属机构
  16727. type: integer
  16728. autoid:
  16729. description: 自增ID
  16730. type: integer
  16731. cityid:
  16732. description: 市
  16733. type: integer
  16734. contactname:
  16735. description: 联系人
  16736. type: string
  16737. contactnum:
  16738. description: 联系电话
  16739. type: string
  16740. countryid:
  16741. description: 国家
  16742. type: integer
  16743. createtime:
  16744. description: 创建时间
  16745. type: string
  16746. districtid:
  16747. description: 区
  16748. type: integer
  16749. hasvideo:
  16750. description: 是否有视频 - 0:无 1:有
  16751. type: integer
  16752. provinceid:
  16753. description: 省
  16754. type: integer
  16755. remark:
  16756. description: 审核备注
  16757. type: string
  16758. videourl:
  16759. description: 视频地址
  16760. type: string
  16761. warehousecode:
  16762. description: 仓库代码
  16763. type: string
  16764. warehousename:
  16765. description: 仓库名称
  16766. type: string
  16767. warehousestatus:
  16768. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  16769. type: integer
  16770. warehousetype:
  16771. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  16772. type: integer
  16773. required:
  16774. - autoid
  16775. - warehousecode
  16776. type: object
  16777. models.WrAverageTradePrice:
  16778. properties:
  16779. averageprice:
  16780. description: 成交均价
  16781. type: number
  16782. tradedate:
  16783. description: 交易日yyyymm
  16784. type: string
  16785. type: object
  16786. models.WrBrandAndYears:
  16787. properties:
  16788. brandlst:
  16789. description: 品牌列表
  16790. items:
  16791. $ref: '#/definitions/models.DgFactoryItem'
  16792. type: array
  16793. yearslst:
  16794. description: 年份列表
  16795. items:
  16796. $ref: '#/definitions/models.DgFactoryItem'
  16797. type: array
  16798. type: object
  16799. models.WrBsGoodsInfo:
  16800. properties:
  16801. buyorsell:
  16802. description: 买卖方向 0-买 1-卖
  16803. type: integer
  16804. goodsid:
  16805. description: 交易合约ID
  16806. type: integer
  16807. lstitem:
  16808. description: 商品信息项
  16809. items:
  16810. $ref: '#/definitions/models.WrTypeItem'
  16811. type: array
  16812. lststep:
  16813. description: 履约规则
  16814. items:
  16815. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16816. type: array
  16817. type: object
  16818. models.WrBuybackDetail:
  16819. properties:
  16820. buybackamount:
  16821. description: 回购金额
  16822. type: number
  16823. buybackqty:
  16824. description: 回购数量
  16825. type: number
  16826. buybackreleasemargin:
  16827. description: 回购释放保证金
  16828. type: number
  16829. buybacktime:
  16830. description: 回购时间
  16831. type: string
  16832. errordesc:
  16833. description: 错误描述
  16834. type: string
  16835. handlestatus:
  16836. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  16837. type: integer
  16838. relatedwrid:
  16839. description: 关联仓单ID
  16840. type: integer
  16841. scfcontractid:
  16842. description: SCF合同ID
  16843. type: string
  16844. scfwrbuybackid:
  16845. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  16846. type: integer
  16847. tradedate:
  16848. description: 交易日(yyyyMMdd)
  16849. type: string
  16850. type: object
  16851. models.WrClientAdSpaceConfig:
  16852. properties:
  16853. adspaceid:
  16854. description: 广告位ID
  16855. type: integer
  16856. adspacename:
  16857. description: 广告位名称
  16858. type: string
  16859. adspacetype:
  16860. description: 广告位类型 - 1:固定广告位
  16861. type: integer
  16862. areauserid:
  16863. description: 所属机构ID
  16864. type: integer
  16865. createdate:
  16866. description: 创建时间
  16867. type: string
  16868. imagepath:
  16869. description: 图片
  16870. type: string
  16871. modifierid:
  16872. description: 操作人
  16873. type: integer
  16874. recsize:
  16875. description: 推荐尺寸
  16876. type: string
  16877. title:
  16878. description: 标题
  16879. type: string
  16880. updatedate:
  16881. description: 更新时间
  16882. type: string
  16883. urlcontent:
  16884. description: 链接(地址\商品ID\功能菜单Key\appid)
  16885. type: string
  16886. urltype:
  16887. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  16888. type: integer
  16889. type: object
  16890. models.WrDeliveryAvalidHoldLB:
  16891. properties:
  16892. accountid:
  16893. description: 资金账号
  16894. type: integer
  16895. avalidqty:
  16896. description: 数量(可点选数量)
  16897. type: number
  16898. deliverygoodsid:
  16899. description: 品种id
  16900. type: integer
  16901. enumdicname:
  16902. description: 单位名称
  16903. type: string
  16904. goodsid:
  16905. description: x合约商品id
  16906. type: integer
  16907. ladingbillid:
  16908. description: 提单id
  16909. type: string
  16910. pgoodscode:
  16911. description: p商品代码(点价合约)
  16912. type: string
  16913. pgoodsid:
  16914. description: p商品id(点价合约)
  16915. type: integer
  16916. pgoodsname:
  16917. description: p商品名称(点价合约)
  16918. type: string
  16919. pricemove:
  16920. description: 升贴水
  16921. type: number
  16922. subnum:
  16923. description: 提单子id
  16924. type: integer
  16925. userid:
  16926. description: 用户id
  16927. type: integer
  16928. username:
  16929. description: 仓单持有人
  16930. type: string
  16931. warehousecode:
  16932. description: 仓库代码
  16933. type: string
  16934. warehouseid:
  16935. description: 仓库id
  16936. type: integer
  16937. warehousename:
  16938. description: 仓库名称
  16939. type: string
  16940. wrfactortypeid:
  16941. description: 仓单要素id
  16942. type: string
  16943. wrstandardcode:
  16944. description: 品代码
  16945. type: string
  16946. wrstandardid:
  16947. description: 品类d
  16948. type: integer
  16949. wrstandardname:
  16950. description: 品类名称
  16951. type: string
  16952. wrtypename:
  16953. description: 商品
  16954. type: string
  16955. xgoodscode:
  16956. description: x合约代码
  16957. type: string
  16958. xgoodsname:
  16959. description: x合约名称
  16960. type: string
  16961. type: object
  16962. models.WrDeliveryDetail:
  16963. properties:
  16964. accountid:
  16965. description: 账号ID
  16966. type: integer
  16967. averageprice:
  16968. description: 交割均价 = 交割金额 / 交割数量
  16969. type: number
  16970. begindate:
  16971. description: 开始交易日(yyyymmdd)
  16972. type: string
  16973. buyorsell:
  16974. description: 方向 - 0:买 1:卖
  16975. type: integer
  16976. deliveryamount:
  16977. description: 货款金额(X总货款+P总货款)
  16978. type: number
  16979. deliveryid:
  16980. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  16981. type: string
  16982. deliveryorderid:
  16983. description: 申报单号
  16984. type: string
  16985. deliverypricemove:
  16986. description: 升贴水(升贴水总额)
  16987. type: number
  16988. deliveryqty:
  16989. description: 交收数量(点选数量)
  16990. type: number
  16991. deliverystatus:
  16992. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  16993. type: integer
  16994. deliverytime:
  16995. description: 交割时间
  16996. type: string
  16997. deliverytotalamount:
  16998. description: 交收金额
  16999. type: number
  17000. enddate:
  17001. description: 结束交易日(yyyymmdd)
  17002. type: string
  17003. enumdicname:
  17004. description: 单位名称
  17005. type: string
  17006. matchaccountid:
  17007. description: 对手账号ID
  17008. type: integer
  17009. matchusername:
  17010. description: 对手方名称(仓单持有人)
  17011. type: string
  17012. p1goodsremainamount:
  17013. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  17014. type: number
  17015. pdeliverycloseqty:
  17016. description: p合约平仓数量
  17017. type: number
  17018. pdeliveryprice:
  17019. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  17020. type: number
  17021. pgoodscode:
  17022. description: 商品代码
  17023. type: string
  17024. pgoodsid:
  17025. description: p点选合约id
  17026. type: integer
  17027. pgoodsname:
  17028. description: 商品名称
  17029. type: string
  17030. ppricemode:
  17031. description: 点价价格方式 - 1:商品价 2:固定值
  17032. type: integer
  17033. tradedate:
  17034. description: 交易日(yyyymmdd)
  17035. type: string
  17036. userid:
  17037. description: 用户id
  17038. type: integer
  17039. username:
  17040. description: 用户名称
  17041. type: string
  17042. warehousename:
  17043. description: 仓库名称
  17044. type: string
  17045. wrfactortypeid:
  17046. description: 仓单要素类型ID
  17047. type: string
  17048. wrtypename:
  17049. description: 商品
  17050. type: string
  17051. xdeliverycloseqty:
  17052. description: 合约数量
  17053. type: number
  17054. xgoodsamount:
  17055. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  17056. type: number
  17057. xgoodscode:
  17058. description: 商品代码
  17059. type: string
  17060. xgoodsid:
  17061. description: x交易合约ID
  17062. type: integer
  17063. xgoodsname:
  17064. description: 商品名称
  17065. type: string
  17066. type: object
  17067. models.WrDeliveryGoodsSection:
  17068. properties:
  17069. dglst:
  17070. description: 板块商品列表
  17071. items:
  17072. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  17073. type: array
  17074. imagepath:
  17075. description: 图片地址
  17076. type: string
  17077. orderindex:
  17078. description: 排序
  17079. type: integer
  17080. sectionid:
  17081. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  17082. = 1的版块1 - 云融指数
  17083. type: integer
  17084. sectionname:
  17085. description: 版块名称
  17086. type: string
  17087. sectiontype:
  17088. description: 版块类型 - 1:指数版块 2:普通版块
  17089. type: integer
  17090. type: object
  17091. models.WrDeliveryGoodsSectionConfig:
  17092. properties:
  17093. deliverygoodscode:
  17094. description: 现货商品代码
  17095. type: string
  17096. deliverygoodsid:
  17097. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17098. type: integer
  17099. deliverygoodsname:
  17100. description: 现货商品名称
  17101. type: string
  17102. orderindex:
  17103. description: 排序
  17104. type: integer
  17105. type: object
  17106. models.WrDraftUserInfo:
  17107. properties:
  17108. address:
  17109. description: 地址
  17110. type: string
  17111. attachment1:
  17112. description: 附件1
  17113. type: string
  17114. attachment2:
  17115. description: 附件2
  17116. type: string
  17117. attachment3:
  17118. description: 附件3
  17119. type: string
  17120. attachment4:
  17121. description: 附件4
  17122. type: string
  17123. attachment5:
  17124. description: 附件5
  17125. type: string
  17126. bankaccount:
  17127. description: 银行帐号 (加密存储)
  17128. type: string
  17129. bankaccountname:
  17130. description: 收款人名称
  17131. type: string
  17132. bankcardfrontphotourl:
  17133. description: 银行卡正面照地址
  17134. type: string
  17135. bankid:
  17136. description: 银行编码
  17137. type: string
  17138. bankname:
  17139. description: 银行名称
  17140. type: string
  17141. birthday:
  17142. description: 生日(个人:年月日)
  17143. type: string
  17144. biznature:
  17145. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17146. type: integer
  17147. bizscope:
  17148. description: 企业经营范围(企业)
  17149. type: string
  17150. biztype:
  17151. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17152. type: integer
  17153. cardbackphotourl:
  17154. description: 证件背面图片地址
  17155. type: string
  17156. cardfrontphotourl:
  17157. description: 证件正面图片地址
  17158. type: string
  17159. cardnum:
  17160. description: 证件号码(加密存储)
  17161. type: string
  17162. cardtypeid:
  17163. description: 证件类型ID
  17164. type: integer
  17165. cityid:
  17166. description: 市
  17167. type: integer
  17168. company:
  17169. description: 公司(个人)
  17170. type: string
  17171. contactcardbackphotourl:
  17172. description: 联系人证件背面图片地址
  17173. type: string
  17174. contactcardfrontphotourl:
  17175. description: 联系人证件正面图片地址
  17176. type: string
  17177. contactname:
  17178. description: 联系人
  17179. type: string
  17180. countryid:
  17181. description: 国家
  17182. type: integer
  17183. createtime:
  17184. description: 创建时间
  17185. type: string
  17186. creatorid:
  17187. description: 创建人
  17188. type: integer
  17189. creditquota:
  17190. description: 授信额度(金瑞)
  17191. type: number
  17192. customername:
  17193. description: 客户名称(企业名称)
  17194. type: string
  17195. districtid:
  17196. description: 地区
  17197. type: integer
  17198. email:
  17199. description: 邮件(加密存储)
  17200. type: string
  17201. fax:
  17202. description: 传真(加密存储)
  17203. type: string
  17204. halfbodyphotourl:
  17205. description: 半身照地址
  17206. type: string
  17207. hasencrypt:
  17208. description: 数据是否已加密 - 0:未加密 1:已加密
  17209. type: integer
  17210. headurl:
  17211. description: 头像地址
  17212. type: string
  17213. legalcardbackphotourl:
  17214. description: 法人身份证背面照地址
  17215. type: string
  17216. legalcardfrontphotourl:
  17217. description: 法人身份证正面照地址
  17218. type: string
  17219. legalpersonname:
  17220. description: 法人姓名(企业)
  17221. type: string
  17222. mobile:
  17223. description: 手机号码(加密存储)
  17224. type: string
  17225. mobile2:
  17226. description: 手机号码[明文-尚志]
  17227. type: string
  17228. modifierid:
  17229. description: 修改人
  17230. type: integer
  17231. modifiertime:
  17232. description: 修改时间
  17233. type: string
  17234. needinvoice:
  17235. description: 是否需要发票 - 0:不需要 1:需要
  17236. type: integer
  17237. nickname:
  17238. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17239. type: string
  17240. openmode:
  17241. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17242. 6:苹果手机端注册 7:PC交易端注册"
  17243. type: integer
  17244. otherurl:
  17245. description: 其它图片地址[使用分号分隔]
  17246. type: string
  17247. postalcode:
  17248. description: 邮政编码
  17249. type: string
  17250. provinceid:
  17251. description: 省
  17252. type: integer
  17253. proxystatementurl:
  17254. description: 授权委托书
  17255. type: string
  17256. qq:
  17257. description: QQ(加密存储
  17258. type: string
  17259. remark:
  17260. description: 备注
  17261. type: string
  17262. sex:
  17263. description: '用户性别 0: 女 1: 男'
  17264. type: integer
  17265. signpdfurl:
  17266. description: 签约pdf文件
  17267. type: string
  17268. taxpayernum:
  17269. description: 纳税人识别号
  17270. type: string
  17271. telphone:
  17272. description: 联系电话(加密存储)
  17273. type: string
  17274. userid:
  17275. description: 用户ID
  17276. type: integer
  17277. userinfotype:
  17278. description: 用户信息类型 - 1:个人 2:企业
  17279. type: integer
  17280. userstatus:
  17281. description: 用户状态 - 1:正常 2:注销
  17282. type: integer
  17283. usertype:
  17284. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17285. type: integer
  17286. wechat:
  17287. description: 微信(加密存储)
  17288. type: string
  17289. wskhinfo:
  17290. description: 开户申请信息(JSON)
  17291. type: string
  17292. type: object
  17293. models.WrFAProductDetail:
  17294. properties:
  17295. accountid:
  17296. description: 资金账号
  17297. type: integer
  17298. areauserid:
  17299. description: 金融机构ID
  17300. type: integer
  17301. financingdays:
  17302. description: 天数(天)
  17303. type: integer
  17304. interestminlen:
  17305. description: 最小起息天数
  17306. type: integer
  17307. interestrate:
  17308. description: 利率
  17309. type: number
  17310. interestratemode:
  17311. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17312. type: integer
  17313. interestsettlemode:
  17314. description: 结息方式 - 1:按日结息 3:按月结息
  17315. type: integer
  17316. interestsettlevalue:
  17317. description: 结息方式值
  17318. type: integer
  17319. isautoloan:
  17320. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17321. type: integer
  17322. loantag:
  17323. description: '放款标识: "放款快" 或者为空'
  17324. type: string
  17325. marginratio:
  17326. description: 保证金比率质押率 - [仓单质押]
  17327. type: number
  17328. productdetailid:
  17329. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17330. type: integer
  17331. productid:
  17332. description: 金融产品ID
  17333. type: integer
  17334. productname:
  17335. description: 产品名称
  17336. type: string
  17337. updatetime:
  17338. description: 更新时间
  17339. type: string
  17340. username:
  17341. description: 融出方
  17342. type: string
  17343. type: object
  17344. models.WrFactorTypeInfo:
  17345. properties:
  17346. deliverygoodscode:
  17347. description: 品种代码
  17348. type: string
  17349. deliverygoodsname:
  17350. description: 品种名称
  17351. type: string
  17352. dgfactoryitemid:
  17353. description: 选择项id
  17354. type: integer
  17355. dgfactoryitemtypeid:
  17356. description: 要素选择项ID (1-仓库 2-品牌)
  17357. type: integer
  17358. dgfactoryitemvalue:
  17359. description: 要素项值
  17360. type: string
  17361. itemtypename:
  17362. description: 要素项名称
  17363. type: string
  17364. optioncompare:
  17365. description: 选择比较串
  17366. type: string
  17367. warehouseid:
  17368. description: 仓库id
  17369. type: integer
  17370. wrfactortypeid:
  17371. description: 仓单要素ID
  17372. type: string
  17373. wrfactortypename:
  17374. description: 要素名称
  17375. type: string
  17376. wrfactortypename2:
  17377. description: 要素名称(不含仓库)
  17378. type: string
  17379. wrstandardcode:
  17380. description: 品类代码
  17381. type: string
  17382. wrstandardid:
  17383. description: 品类id
  17384. type: integer
  17385. wrstandardname:
  17386. description: 品类名称
  17387. type: string
  17388. type: object
  17389. models.WrFilterItem:
  17390. properties:
  17391. itemcode:
  17392. description: 代码
  17393. type: string
  17394. itemid:
  17395. description: 项id
  17396. type: integer
  17397. itemname:
  17398. description: 名称
  17399. type: string
  17400. itemtype:
  17401. description: 类型 1-品种 2-品类(商品) 3-仓库
  17402. type: integer
  17403. type: object
  17404. models.WrFinanceBuyApply:
  17405. properties:
  17406. applydate:
  17407. description: 申请时间
  17408. type: string
  17409. applystatus:
  17410. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17411. type: integer
  17412. applyuserid:
  17413. description: 申请人
  17414. type: integer
  17415. auditdate:
  17416. description: 审核时间
  17417. type: string
  17418. auditremark:
  17419. description: 审核备注
  17420. type: string
  17421. audituserid:
  17422. description: 审核人
  17423. type: integer
  17424. buyaccountid:
  17425. description: 买方资金账号
  17426. type: integer
  17427. buyorsell:
  17428. description: 买卖 - 0:买 1:卖
  17429. type: integer
  17430. buyuserid:
  17431. description: 买方用户ID
  17432. type: integer
  17433. buyusername:
  17434. description: 买方名称
  17435. type: string
  17436. buywrtradeorderid:
  17437. description: 融资方买委托单ID
  17438. type: string
  17439. deliverygoodscode:
  17440. description: 品种代码
  17441. type: string
  17442. deliverygoodsid:
  17443. description: 品种ID
  17444. type: integer
  17445. deliverygoodsname:
  17446. description: 品种名称
  17447. type: string
  17448. deliverymonth:
  17449. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17450. type: string
  17451. enumdicname:
  17452. description: 单位名称
  17453. type: string
  17454. financeaccountid:
  17455. description: 融资方资金帐户ID
  17456. type: integer
  17457. financeapplyid:
  17458. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17459. type: string
  17460. financeareauserid:
  17461. description: 融资方用户ID
  17462. type: string
  17463. financename:
  17464. description: 融出方名称
  17465. type: string
  17466. financetype:
  17467. description: 融资类型 1-融资回购
  17468. type: integer
  17469. financingdays:
  17470. description: 天数(天)
  17471. type: integer
  17472. freezebuymargin:
  17473. description: 冻结融资保证金(买方)
  17474. type: number
  17475. handleremark:
  17476. description: 处理备注
  17477. type: string
  17478. handlestatus:
  17479. description: 处理状态
  17480. type: integer
  17481. interestminlen:
  17482. description: 最小起息天数
  17483. type: integer
  17484. interestrate:
  17485. description: 利率
  17486. type: number
  17487. interestratemode:
  17488. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17489. type: integer
  17490. interestsettlemode:
  17491. description: 结息方式 - 1:按日结息 3:按月结息
  17492. type: integer
  17493. interestsettlevalue:
  17494. description: 结息方式值
  17495. type: integer
  17496. isautoloan:
  17497. description: 是否自动放款 - 0:手动 1:自动
  17498. type: integer
  17499. marginratio:
  17500. description: 保证金比率质押率 - [仓单质押]
  17501. type: number
  17502. marketid:
  17503. description: 市场ID
  17504. type: integer
  17505. minivalue:
  17506. description: 现货商品最小变动值
  17507. type: integer
  17508. optioncompare:
  17509. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17510. type: string
  17511. orderqty:
  17512. description: 委托数量(商品数量)
  17513. type: number
  17514. productdetailid:
  17515. description: 产品组合ID
  17516. type: integer
  17517. productid:
  17518. description: 金融产品ID
  17519. type: integer
  17520. productname:
  17521. description: 产品名称
  17522. type: string
  17523. remark:
  17524. description: 备注
  17525. type: string
  17526. scfcontractid:
  17527. description: 仓单回购合同ID
  17528. type: string
  17529. sellaccountid:
  17530. description: 卖方资金账号
  17531. type: integer
  17532. selluserid:
  17533. description: 卖方用户ID
  17534. type: integer
  17535. sellwrtradeorderid:
  17536. description: 卖方委托单ID
  17537. type: string
  17538. tradeamount:
  17539. description: 成交金额(借款金额)
  17540. type: number
  17541. tradedate:
  17542. description: 交易日(yyyyMMdd)
  17543. type: string
  17544. tradeprice:
  17545. description: 成交价格
  17546. type: number
  17547. warehouseid:
  17548. description: 仓库ID
  17549. type: integer
  17550. warehousename:
  17551. description: 仓库名称
  17552. type: string
  17553. wrfactortypeid:
  17554. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17555. type: string
  17556. wrfactortypename:
  17557. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17558. type: string
  17559. wrpricetype:
  17560. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  17561. type: integer
  17562. wrstandardcode:
  17563. description: 现货商品代码
  17564. type: string
  17565. wrstandardid:
  17566. description: 现货商品ID
  17567. type: integer
  17568. wrstandardname:
  17569. description: 商品名称
  17570. type: string
  17571. wrtypename:
  17572. description: 商品
  17573. type: string
  17574. type: object
  17575. models.WrFriendApply:
  17576. properties:
  17577. applicantid:
  17578. description: 申请人
  17579. type: integer
  17580. applyname:
  17581. description: 申请人名称
  17582. type: string
  17583. applysrc:
  17584. description: 申请来源 - 1:管理端 2:终端
  17585. type: integer
  17586. applystatus:
  17587. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17588. type: integer
  17589. applytime:
  17590. description: 申请时间
  17591. type: string
  17592. auditname:
  17593. description: 审核人名称
  17594. type: string
  17595. auditorid:
  17596. description: 审核人
  17597. type: integer
  17598. auditremark:
  17599. description: 审核备注
  17600. type: string
  17601. auditsrc:
  17602. description: 审核来源 - 1:管理端 2:终端
  17603. type: integer
  17604. audittime:
  17605. description: 审核时间
  17606. type: string
  17607. friendapplyid:
  17608. description: 申请ID(SEQ_FRIENDAPPLY)
  17609. type: string
  17610. friendname:
  17611. description: 好友名字(已脱敏)
  17612. type: string
  17613. frienduserid:
  17614. description: 好友用户ID
  17615. type: string
  17616. remark:
  17617. description: 备注
  17618. type: string
  17619. userid:
  17620. description: 申请人用户ID
  17621. type: integer
  17622. type: object
  17623. models.WrFtDeliveryGoods:
  17624. properties:
  17625. deliverygoodscode:
  17626. description: 品种代码
  17627. type: string
  17628. deliverygoodsid:
  17629. description: 品种ID
  17630. type: integer
  17631. deliverygoodsname:
  17632. description: 品种名称
  17633. type: string
  17634. wdlst:
  17635. description: 商品列表
  17636. items:
  17637. $ref: '#/definitions/models.WrFtWrstandard'
  17638. type: array
  17639. type: object
  17640. models.WrFtWrstandard:
  17641. properties:
  17642. enumdicname:
  17643. description: 单位名称
  17644. type: string
  17645. minivalue:
  17646. description: 最小变动值
  17647. type: integer
  17648. wrstandardcode:
  17649. description: 现货商品代码
  17650. type: string
  17651. wrstandardid:
  17652. description: 现货商品ID
  17653. type: integer
  17654. wrstandardname:
  17655. description: 商品名称
  17656. type: string
  17657. type: object
  17658. models.WrGoodsInfo:
  17659. properties:
  17660. haswr:
  17661. description: 0:仓单预售 1:仓单贸易
  17662. type: integer
  17663. lstitem:
  17664. description: 商品信息项
  17665. items:
  17666. $ref: '#/definitions/models.WrTypeItem'
  17667. type: array
  17668. lststep:
  17669. description: 履约规则
  17670. items:
  17671. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17672. type: array
  17673. marketid:
  17674. description: 市场id
  17675. type: integer
  17676. type: object
  17677. models.WrGoodsPerformanceStep:
  17678. properties:
  17679. autoid:
  17680. description: AutoID
  17681. type: integer
  17682. isauto:
  17683. description: 是否自动 - 0:不自动 1:自动
  17684. type: integer
  17685. remark:
  17686. description: 备注
  17687. type: string
  17688. stepdate:
  17689. description: 天数信息(T+N)
  17690. type: string
  17691. stepdays:
  17692. description: 距离上一步天数
  17693. type: integer
  17694. stepindex:
  17695. description: 步骤序号
  17696. type: integer
  17697. stepinfo:
  17698. description: 步骤信息(步骤名称+步骤值)
  17699. type: string
  17700. steptypeid:
  17701. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17702. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17703. type: integer
  17704. steptypename:
  17705. description: 步骤名称
  17706. type: string
  17707. stepvalue:
  17708. description: 步骤值
  17709. type: number
  17710. templateid:
  17711. description: 履约计划模板ID
  17712. type: integer
  17713. type: object
  17714. models.WrHoldLB:
  17715. properties:
  17716. accountid:
  17717. description: 持有人帐户ID
  17718. type: integer
  17719. bannerpicurl:
  17720. description: Banner图
  17721. type: string
  17722. createtime:
  17723. description: 创建时间(过户时间)
  17724. type: string
  17725. deliverygoodscode:
  17726. description: 品种代码
  17727. type: string
  17728. deliverygoodsid:
  17729. description: 品种ID
  17730. type: integer
  17731. deliverygoodsname:
  17732. description: 品种名称
  17733. type: string
  17734. enableqty:
  17735. description: 可用数量
  17736. type: number
  17737. enumdicname:
  17738. description: 单位名称
  17739. type: string
  17740. freezerqty:
  17741. description: 冻结数量
  17742. type: number
  17743. ladingbillid:
  17744. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17745. type: string
  17746. minivalue:
  17747. description: 现货商品最小变动值
  17748. type: integer
  17749. optioncompare:
  17750. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17751. type: string
  17752. parentsubnum:
  17753. description: 拆分父子单号
  17754. type: integer
  17755. pledgeqty:
  17756. description: 质押数量
  17757. type: number
  17758. qty:
  17759. description: 数量
  17760. type: number
  17761. subnum:
  17762. description: 提单子单号
  17763. type: integer
  17764. thumurls:
  17765. description: 缩略图
  17766. type: string
  17767. tradedate:
  17768. description: 交易日(yyyyMMdd)
  17769. type: string
  17770. userid:
  17771. description: 持有人ID
  17772. type: integer
  17773. warehouseid:
  17774. description: 仓库ID
  17775. type: integer
  17776. warehousename:
  17777. description: 仓库名称
  17778. type: string
  17779. wrfactortypeid:
  17780. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17781. type: string
  17782. wrfactortypename:
  17783. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17784. type: string
  17785. wrholdeno:
  17786. description: 仓单编号
  17787. type: string
  17788. wrid:
  17789. description: 仓单变更ID
  17790. type: string
  17791. wrstandardcode:
  17792. description: 现货商品代码
  17793. type: string
  17794. wrstandardid:
  17795. description: 现货商品ID
  17796. type: integer
  17797. wrstandardname:
  17798. description: 商品名称
  17799. type: string
  17800. wrtypename:
  17801. description: 商品
  17802. type: string
  17803. type: object
  17804. models.WrMarketTradeConfig:
  17805. properties:
  17806. basisdownratio:
  17807. description: 浮动价基差下限比例(仓单贸易)
  17808. type: number
  17809. basisupratio:
  17810. description: 浮动价基差上限比例(仓单贸易)
  17811. type: number
  17812. buychargealgorithm:
  17813. description: 买方手续费收取方式 1:比率 2:固定
  17814. type: integer
  17815. buychargealgorithm2:
  17816. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  17817. type: integer
  17818. buychargealgorithmvalue:
  17819. description: 买方手续费设置值(交易所部分)
  17820. type: number
  17821. buychargealgorithmvalue2:
  17822. description: 买方手续费设置值(会员部分)
  17823. type: number
  17824. buychargealgorithmvalue3:
  17825. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  17826. type: number
  17827. buychargealgorithmvalue4:
  17828. description: 回购买方手续费设置值(会员部分) --77:现货商城
  17829. type: number
  17830. buyfirstmarginalgorithm:
  17831. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  17832. type: integer
  17833. buyfirstmarginvalue:
  17834. description: 买方出价保证金设置值 - [竞拍]
  17835. type: number
  17836. buymarginalgorithm:
  17837. description: 买方保证金方式 - 1:比率 2:固定
  17838. type: integer
  17839. buymarginvalue:
  17840. description: 买方保证金设置值
  17841. type: number
  17842. buyreleaseratio:
  17843. description: 买方释放比率[2:分步履约]
  17844. type: number
  17845. executemode:
  17846. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  17847. type: integer
  17848. executeside:
  17849. description: 执行方[2:分步履约] - 1:买方 2:卖方
  17850. type: integer
  17851. failedchargealgorithm:
  17852. description: 流拍手续费收取方式 1:比率 2:固定
  17853. type: integer
  17854. failedchargevalue:
  17855. description: 流拍手续费设置值
  17856. type: number
  17857. failedchargevalue2:
  17858. description: 流拍卖方手续费设置值
  17859. type: number
  17860. holddays:
  17861. description: 合同期限[2:分步履约]
  17862. type: integer
  17863. listingmode:
  17864. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17865. type: integer
  17866. marketid:
  17867. description: 市场ID-仓单贸易、竞拍、预售
  17868. type: integer
  17869. minqty:
  17870. description: 最小执行量[2:分步履约]
  17871. type: number
  17872. modifierid:
  17873. description: 修改人
  17874. type: integer
  17875. nowrquotaflag:
  17876. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  17877. type: integer
  17878. performancetempid:
  17879. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17880. 立即执行(-1)
  17881. type: integer
  17882. performancetempid2:
  17883. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17884. 立即执行
  17885. type: integer
  17886. performancetempid2s:
  17887. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17888. - 履约方式: 立即执行
  17889. type: string
  17890. performancetempids:
  17891. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17892. - 履约方式: 立即执行(-1)
  17893. type: string
  17894. performanceway:
  17895. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  17896. type: integer
  17897. sellchargealgorithm:
  17898. description: 卖方手续费收取方式 1:比率 2:固定
  17899. type: integer
  17900. sellchargealgorithm2:
  17901. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  17902. type: integer
  17903. sellchargealgorithmvalue:
  17904. description: 卖方手续费设置值(交易所部分)
  17905. type: number
  17906. sellchargealgorithmvalue2:
  17907. description: 卖方手续费设置值(会员部分)
  17908. type: number
  17909. sellchargealgorithmvalue3:
  17910. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  17911. type: number
  17912. sellchargealgorithmvalue4:
  17913. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  17914. type: number
  17915. sellmarginalgorithm:
  17916. description: 卖方保证金方式 - 1:比率 2:固定
  17917. type: integer
  17918. sellmarginvalue:
  17919. description: 卖方保证金设置值
  17920. type: number
  17921. sellmarginvalue2:
  17922. description: 卖方保证金设置值(无仓单)
  17923. type: number
  17924. sellreleaseratio:
  17925. description: 卖方释放比率[2:分步履约]
  17926. type: number
  17927. updatetime:
  17928. description: 更新时间
  17929. type: string
  17930. type: object
  17931. models.WrOrderDetail:
  17932. properties:
  17933. accountid:
  17934. description: 交易账号(资金账号)
  17935. type: integer
  17936. allfriendsflag:
  17937. description: 是否全好友可见 - 0:否 1:是
  17938. type: integer
  17939. amount:
  17940. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  17941. type: number
  17942. bannerpicurl:
  17943. description: Banner图
  17944. type: string
  17945. begindate:
  17946. description: 开始交易日(yyyymmdd)
  17947. type: string
  17948. buyorsell:
  17949. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17950. type: integer
  17951. canbargain:
  17952. description: 是否可议价 - 0:不可 1:可
  17953. type: integer
  17954. cancelqty:
  17955. description: 撤销数量
  17956. type: number
  17957. canpart:
  17958. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  17959. type: integer
  17960. delistminqty:
  17961. description: 起摘数量
  17962. type: integer
  17963. deliverygoodscode:
  17964. description: 品种代码
  17965. type: string
  17966. deliverygoodsid:
  17967. description: 品种ID
  17968. type: integer
  17969. deliverygoodsname:
  17970. description: 品种名称
  17971. type: string
  17972. deliverymonth:
  17973. description: 交收月
  17974. type: string
  17975. enddate:
  17976. description: 结束交易日(yyyymmdd)
  17977. type: string
  17978. enumdicname:
  17979. description: 单位名称
  17980. type: string
  17981. fixedprice:
  17982. description: 固定价格 - [挂牌]
  17983. type: number
  17984. freezecharge:
  17985. description: 冻结手续费
  17986. type: number
  17987. freezemargin:
  17988. description: 冻结保证金(保证金)
  17989. type: number
  17990. futupricemove:
  17991. description: 期货升贴水
  17992. type: number
  17993. futushow:
  17994. description: 期货合约/升贴水
  17995. type: string
  17996. goodscode:
  17997. description: 期货合约
  17998. type: string
  17999. goodsid:
  18000. description: 期货商品id
  18001. type: integer
  18002. goodsname:
  18003. description: 商品名称
  18004. type: string
  18005. haswr:
  18006. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18007. type: integer
  18008. isspecified:
  18009. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  18010. type: integer
  18011. ladingbillid:
  18012. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18013. type: string
  18014. marginvalue:
  18015. description: 保证金设置值(履约保证金)
  18016. type: number
  18017. marketid:
  18018. description: 市场ID
  18019. type: integer
  18020. matchusername:
  18021. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  18022. type: string
  18023. minivalue:
  18024. description: 现货商品最小变动值
  18025. type: integer
  18026. optioncompare:
  18027. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18028. type: string
  18029. orderqty:
  18030. description: 委托数量
  18031. type: number
  18032. ordertime:
  18033. description: 委托时间(挂牌时间)
  18034. type: string
  18035. performancetemplateid:
  18036. description: 履约模板id
  18037. type: integer
  18038. pricemove:
  18039. description: 升贴水(浮动价时填写) - [挂牌]
  18040. type: number
  18041. taname:
  18042. description: 交易用户名称(资金账号名称)
  18043. type: string
  18044. thumurls:
  18045. description: 缩略图
  18046. type: string
  18047. tradedate:
  18048. description: 交易日(yyyyMMdd)
  18049. type: string
  18050. tradeprice:
  18051. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  18052. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  18053. type: number
  18054. tradeqty:
  18055. description: 成交数量
  18056. type: number
  18057. userid:
  18058. description: 用户ID
  18059. type: integer
  18060. validtime:
  18061. description: 挂牌有效期
  18062. type: string
  18063. validtype:
  18064. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18065. type: integer
  18066. warehouseid:
  18067. description: 仓库ID
  18068. type: integer
  18069. warehousename:
  18070. description: 仓库名称
  18071. type: string
  18072. wrfactortypeid:
  18073. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18074. type: string
  18075. wrfactortypename:
  18076. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18077. type: string
  18078. wrpricetype:
  18079. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18080. type: integer
  18081. wrstandardcode:
  18082. description: 现货商品代码
  18083. type: string
  18084. wrstandardid:
  18085. description: 现货商品ID
  18086. type: integer
  18087. wrstandardname:
  18088. description: 商品名称
  18089. type: string
  18090. wrtradeorderid:
  18091. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18092. type: string
  18093. wrtradeorderstatus:
  18094. 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:撤单解冻贷款失败
  18095. type: integer
  18096. wrtradetype:
  18097. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18098. type: integer
  18099. wrtypename:
  18100. description: 商品
  18101. type: string
  18102. type: object
  18103. models.WrOrderQuote:
  18104. properties:
  18105. bannerpicurl:
  18106. description: Banner图
  18107. type: string
  18108. buyprice:
  18109. description: 买价
  18110. type: number
  18111. buypricemove:
  18112. description: 买升贴水(基差)
  18113. type: number
  18114. buyqty:
  18115. description: 买量
  18116. type: number
  18117. deliverygoodscode:
  18118. description: 品种代码
  18119. type: string
  18120. deliverygoodsid:
  18121. description: 品种id
  18122. type: integer
  18123. deliverygoodsname:
  18124. description: 品种名称
  18125. type: string
  18126. deliverymonth:
  18127. description: 交收月
  18128. type: string
  18129. enumdicname:
  18130. description: 单位名称
  18131. type: string
  18132. goodscode:
  18133. description: 商品合约(浮动价列表才有)
  18134. type: string
  18135. goodsid:
  18136. description: 商品id(浮动价列表才有)
  18137. type: integer
  18138. minivalue:
  18139. description: 现货商品最小变动值
  18140. type: integer
  18141. pictureurls:
  18142. description: 详情图片(逗号分隔)
  18143. type: string
  18144. sellprice:
  18145. description: 卖价
  18146. type: number
  18147. sellpricemove:
  18148. description: 卖升贴水(基差)
  18149. type: number
  18150. sellqty:
  18151. description: 卖量
  18152. type: number
  18153. thumurls:
  18154. description: 缩略图片(1:1)(逗号分隔)
  18155. type: string
  18156. warehousecode:
  18157. description: 仓库代码
  18158. type: string
  18159. warehouseid:
  18160. description: 仓库id
  18161. type: integer
  18162. warehousename:
  18163. description: 仓库名称
  18164. type: string
  18165. wrfactortypeid:
  18166. description: 仓单要素id
  18167. type: string
  18168. wrfactortypename:
  18169. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18170. type: string
  18171. wrgoodsname:
  18172. description: 商品(商品名称+仓库要素名称 拼接)
  18173. type: string
  18174. wrstandardcode:
  18175. description: 商品代码
  18176. type: string
  18177. wrstandardid:
  18178. description: 商品id
  18179. type: integer
  18180. wrstandardname:
  18181. description: 商品名称
  18182. type: string
  18183. type: object
  18184. models.WrOrderQuoteDetail:
  18185. properties:
  18186. buyorsell:
  18187. description: 买卖 - 0:买 1:卖
  18188. type: integer
  18189. delistminqty:
  18190. description: 起摘数量
  18191. type: number
  18192. deliverymonth:
  18193. description: 交收月
  18194. type: string
  18195. enumdicname:
  18196. description: 单位名称
  18197. type: string
  18198. fixedprice:
  18199. description: 买(卖)价
  18200. type: number
  18201. marketid:
  18202. description: 市场id
  18203. type: integer
  18204. minivalue:
  18205. description: 现货商品最小变动值
  18206. type: integer
  18207. orderqty:
  18208. description: 买(卖)量(=委托量-成交量)
  18209. type: number
  18210. ordertime:
  18211. description: 委托时间
  18212. type: string
  18213. pricemove:
  18214. description: 买(卖)升贴水- 基差
  18215. type: number
  18216. userid:
  18217. description: 购买方(销售方)用户ID
  18218. type: integer
  18219. username:
  18220. description: 购买方(销售方)
  18221. type: string
  18222. wrtradeorderid:
  18223. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18224. type: string
  18225. type: object
  18226. models.WrOutInApply:
  18227. properties:
  18228. applyid:
  18229. description: 申请单id
  18230. type: string
  18231. applystatus:
  18232. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18233. 8:已撤销
  18234. type: integer
  18235. applytime:
  18236. description: 申请时间
  18237. type: string
  18238. applytype:
  18239. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18240. type: integer
  18241. bannerpicurl:
  18242. description: Banner图
  18243. type: string
  18244. begindate:
  18245. description: 开始交易日(yyyymmdd)
  18246. type: string
  18247. deliverygoodscode:
  18248. description: 品种代码
  18249. type: string
  18250. deliverygoodsid:
  18251. description: 品种ID
  18252. type: integer
  18253. deliverygoodsname:
  18254. description: 品种名称
  18255. type: string
  18256. enddate:
  18257. description: 结束交易日(yyyymmdd)
  18258. type: string
  18259. enumdicname:
  18260. description: 单位名称
  18261. type: string
  18262. expresscompany:
  18263. description: 物流公司
  18264. type: string
  18265. expressnum:
  18266. description: 物流单号
  18267. type: string
  18268. minivalue:
  18269. description: 现货商品最小变动值
  18270. type: integer
  18271. optioncompare:
  18272. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18273. type: string
  18274. qty:
  18275. description: 数量
  18276. type: integer
  18277. userid:
  18278. description: 用户id
  18279. type: integer
  18280. warehouseid:
  18281. description: 仓库ID
  18282. type: integer
  18283. warehousename:
  18284. description: 仓库名称
  18285. type: string
  18286. wrfactortypeid:
  18287. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18288. type: string
  18289. wrfactortypename:
  18290. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18291. type: string
  18292. wrstandardcode:
  18293. description: 现货商品代码
  18294. type: string
  18295. wrstandardid:
  18296. description: 现货商品ID
  18297. type: integer
  18298. wrstandardname:
  18299. description: 商品名称
  18300. type: string
  18301. wrtypename:
  18302. description: 商品
  18303. type: string
  18304. type: object
  18305. models.WrPerformancePlan:
  18306. properties:
  18307. activatemonth:
  18308. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18309. type: string
  18310. amount:
  18311. description: 履约金额(总金额)
  18312. type: number
  18313. begindate:
  18314. description: 开始交易日(yyyymmdd)
  18315. type: string
  18316. buyaccountid:
  18317. description: 买方账号
  18318. type: integer
  18319. buyerfreezeamount:
  18320. description: 履约冻结(买履约)
  18321. type: number
  18322. buyerfreezeamountremain:
  18323. description: 履约冻结剩余(买履约)
  18324. type: number
  18325. buyorsell:
  18326. description: 买卖方向 0-买 1-卖
  18327. type: integer
  18328. buypaidamount:
  18329. description: 买方已冻/已扣金额 (已付金额)
  18330. type: number
  18331. buyusername:
  18332. description: 买方名字
  18333. type: string
  18334. contractid:
  18335. description: 合同ID
  18336. type: integer
  18337. createtime:
  18338. description: 创建时间
  18339. type: string
  18340. creatorid:
  18341. description: 创建人
  18342. type: integer
  18343. curstepdeadline:
  18344. description: 当前步骤到期时间
  18345. type: string
  18346. curstepid:
  18347. description: 当前步骤ID
  18348. type: string
  18349. curstepname:
  18350. description: 当前步骤名称
  18351. type: string
  18352. deliverygoodscode:
  18353. description: 品种代码
  18354. type: string
  18355. deliverygoodsid:
  18356. description: 品种ID
  18357. type: integer
  18358. deliverygoodsname:
  18359. description: 品种名称
  18360. type: string
  18361. enddate:
  18362. description: 结束交易日(yyyymmdd)
  18363. type: string
  18364. enumdicname:
  18365. description: 单位名称
  18366. type: string
  18367. expressfee:
  18368. description: 运费
  18369. type: number
  18370. expressfeeconfirmed:
  18371. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18372. type: integer
  18373. hasovershort:
  18374. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18375. type: integer
  18376. haswr:
  18377. description: 类型 0-仓单预售 1-仓单贸易
  18378. type: integer
  18379. marketid:
  18380. description: 市场ID
  18381. type: integer
  18382. middleaccountid:
  18383. description: 中间商资金账号ID
  18384. type: integer
  18385. middleuserid:
  18386. description: 中间商用户ID
  18387. type: integer
  18388. minivalue:
  18389. description: 现货商品最小变动值
  18390. type: integer
  18391. optioncompare:
  18392. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18393. type: string
  18394. overshortamount:
  18395. description: 溢短金额
  18396. type: number
  18397. overshortqty:
  18398. description: 溢短数量
  18399. type: number
  18400. paymenttype:
  18401. description: 付款方式 - 1:冻结 2:扣款
  18402. type: integer
  18403. performanceplanid:
  18404. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18405. type: string
  18406. performancestatus:
  18407. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18408. 9:超时待处理 10:超时关闭
  18409. type: integer
  18410. performancetype:
  18411. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18412. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18413. type: integer
  18414. qty:
  18415. description: 履约数量
  18416. type: number
  18417. relatedorderid:
  18418. description: 关联单号(履约类型的关联单号)
  18419. type: string
  18420. remark:
  18421. description: 备注
  18422. type: string
  18423. sellaccountid:
  18424. description: 卖方账号
  18425. type: integer
  18426. sellerfreezeamount:
  18427. description: 履约冻结(卖履约)
  18428. type: number
  18429. sellerfreezeamountremain:
  18430. description: 履约冻结剩余(卖履约)
  18431. type: number
  18432. sellreceivedamount:
  18433. description: 卖方已收金额
  18434. type: number
  18435. sellusername:
  18436. description: 卖方名字
  18437. type: string
  18438. shipremark:
  18439. description: 发货备注[物流单号]
  18440. type: string
  18441. starttime:
  18442. description: 开始时间
  18443. type: string
  18444. steptypeid:
  18445. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18446. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18447. type: integer
  18448. typename:
  18449. description: 履约类型 名称
  18450. type: string
  18451. unpaidamount:
  18452. description: 剩余款(待支付金额)
  18453. type: number
  18454. userid:
  18455. description: 用户id
  18456. type: integer
  18457. warehouseid:
  18458. description: 仓库ID
  18459. type: integer
  18460. warehousename:
  18461. description: 仓库名称
  18462. type: string
  18463. wrfactortypeid:
  18464. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18465. type: string
  18466. wrfactortypename:
  18467. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18468. type: string
  18469. wrstandardcode:
  18470. description: 现货商品代码
  18471. type: string
  18472. wrstandardid:
  18473. description: 现货商品ID
  18474. type: integer
  18475. wrstandardname:
  18476. description: 商品名称
  18477. type: string
  18478. wrtransferuserid:
  18479. description: 仓单受让用户
  18480. type: integer
  18481. wrtypename:
  18482. description: 商品
  18483. type: string
  18484. required:
  18485. - userid
  18486. type: object
  18487. models.WrPerformancePlanStep:
  18488. properties:
  18489. delaydays:
  18490. description: 延期申请天数
  18491. type: integer
  18492. deliverygoodscode:
  18493. description: 品种代码
  18494. type: string
  18495. deliverygoodsid:
  18496. description: 品种ID
  18497. type: integer
  18498. deliverygoodsname:
  18499. description: 品种名称
  18500. type: string
  18501. endtime:
  18502. description: 结束日期
  18503. type: string
  18504. enumdicname:
  18505. description: 单位名称
  18506. type: string
  18507. executeside:
  18508. description: 步骤执行方 - 1:买方 2:卖方
  18509. type: integer
  18510. handlestatus:
  18511. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18512. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18513. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18514. type: integer
  18515. isauto:
  18516. description: 是否自动 - 0:不自动 1:自动
  18517. type: integer
  18518. islastreceivestep:
  18519. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18520. type: integer
  18521. minivalue:
  18522. description: 现货商品最小变动值
  18523. type: integer
  18524. optioncompare:
  18525. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18526. type: string
  18527. overdays:
  18528. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18529. type: integer
  18530. performancestepid:
  18531. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18532. type: string
  18533. planid:
  18534. description: 所属履约计划ID
  18535. type: string
  18536. realamount:
  18537. description: 实际完成金额
  18538. type: number
  18539. relatedorderid:
  18540. description: 关联单号
  18541. type: string
  18542. remaindays:
  18543. description: 剩余天数
  18544. type: integer
  18545. remark:
  18546. description: 错误备注
  18547. type: string
  18548. starttime:
  18549. description: 开始日期
  18550. type: string
  18551. stepamount:
  18552. description: 步骤金额
  18553. type: number
  18554. stepdays:
  18555. description: 距离上一步天数(分钟)
  18556. type: integer
  18557. stepindex:
  18558. description: 步骤序号
  18559. type: integer
  18560. steplanchtype:
  18561. description: 步骤启动类型 - 1:系统自动 2:手动
  18562. type: integer
  18563. stepremark:
  18564. description: 步骤备注
  18565. type: string
  18566. stepstatus:
  18567. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  18568. type: integer
  18569. steptypeid:
  18570. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18571. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18572. type: integer
  18573. steptypename:
  18574. description: 步骤名称
  18575. type: string
  18576. stepvalue:
  18577. description: 步骤值
  18578. type: number
  18579. warehouseid:
  18580. description: 仓库ID
  18581. type: integer
  18582. warehousename:
  18583. description: 仓库名称
  18584. type: string
  18585. wrfactortypeid:
  18586. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18587. type: string
  18588. wrfactortypename:
  18589. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18590. type: string
  18591. wrstandardcode:
  18592. description: 现货商品代码
  18593. type: string
  18594. wrstandardid:
  18595. description: 现货商品ID
  18596. type: integer
  18597. wrstandardname:
  18598. description: 商品名称
  18599. type: string
  18600. wrtypename:
  18601. description: 商品
  18602. type: string
  18603. type: object
  18604. models.WrPerformanceStepType:
  18605. properties:
  18606. canauto:
  18607. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  18608. type: integer
  18609. steptypeid:
  18610. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  18611. type: integer
  18612. steptypename:
  18613. description: 步骤类型名称
  18614. type: string
  18615. type: object
  18616. models.WrPerformanceTemplateEx:
  18617. properties:
  18618. autoid:
  18619. description: AutoID 模板id
  18620. type: integer
  18621. createtime:
  18622. description: 创建时间
  18623. type: string
  18624. creatorid:
  18625. description: 创建人
  18626. type: integer
  18627. lstStep:
  18628. description: 步骤信息列表
  18629. items:
  18630. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18631. type: array
  18632. paymenttype:
  18633. description: 支付方式 - 1:冻结 2:扣款
  18634. type: integer
  18635. takemode:
  18636. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  18637. type: integer
  18638. templatename:
  18639. description: 模板名称
  18640. type: string
  18641. templatetype:
  18642. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  18643. (无仓单) 5:挂牌期权 6:竞拍-降价式
  18644. type: integer
  18645. userid:
  18646. description: 所属用户
  18647. type: integer
  18648. type: object
  18649. models.WrPosition:
  18650. properties:
  18651. accountid:
  18652. description: 帐户ID
  18653. type: integer
  18654. buyexcuteqty:
  18655. description: 采购履约中数量
  18656. type: number
  18657. creditcurqty:
  18658. description: 授信当前数量(预售仓单:预售当前量)
  18659. type: number
  18660. creditenableqty:
  18661. description: '授信可用数量(预售仓单: 可用数量)'
  18662. type: number
  18663. creditfreezeqty:
  18664. description: '授信冻结数量(预售仓单: 当前数量)'
  18665. type: number
  18666. credittotalqty:
  18667. description: 授信总数量(预售仓单:预售总量)
  18668. type: number
  18669. credittradeqty:
  18670. description: 授信成交数量(预售仓单:成交总量)
  18671. type: number
  18672. deliverygoodscode:
  18673. description: 品种代码
  18674. type: string
  18675. deliverygoodsid:
  18676. description: 品种ID
  18677. type: integer
  18678. deliverygoodsname:
  18679. description: 品种名称
  18680. type: string
  18681. enalbeqty:
  18682. description: 可用数量
  18683. type: number
  18684. enumdicname:
  18685. description: 单位名称
  18686. type: string
  18687. freezeqty:
  18688. description: 总冻结数量
  18689. type: number
  18690. haswr:
  18691. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18692. type: integer
  18693. minivalue:
  18694. description: 现货商品最小变动值
  18695. type: integer
  18696. modifytime:
  18697. description: 修改时间(过户时间)
  18698. type: string
  18699. optioncompare:
  18700. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18701. type: string
  18702. pledgeqty:
  18703. description: 质押数量
  18704. type: number
  18705. querytype:
  18706. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  18707. type: integer
  18708. sellexcuteqty:
  18709. description: 销售履约中数量
  18710. type: number
  18711. totalqty:
  18712. description: 总数量(库存数量)
  18713. type: number
  18714. warehouseid:
  18715. description: 仓库ID
  18716. type: integer
  18717. warehousename:
  18718. description: 仓库名称
  18719. type: string
  18720. wrfactortypeid:
  18721. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18722. type: string
  18723. wrfactortypename:
  18724. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18725. type: string
  18726. wrpositionid:
  18727. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18728. type: string
  18729. wrpositionno:
  18730. description: 仓单编号
  18731. type: string
  18732. wrstandardcode:
  18733. description: 现货商品代码
  18734. type: string
  18735. wrstandardid:
  18736. description: 现货商品ID
  18737. type: integer
  18738. wrstandardname:
  18739. description: 商品名称
  18740. type: string
  18741. wrtypename:
  18742. description: 商品
  18743. type: string
  18744. wruserid:
  18745. description: 持有人ID
  18746. type: integer
  18747. type: object
  18748. models.WrPreSaleInfo:
  18749. properties:
  18750. bannerpicurl:
  18751. description: Banner图
  18752. type: string
  18753. baseqty:
  18754. description: 中签基数
  18755. type: number
  18756. createtime:
  18757. description: 创建时间
  18758. type: string
  18759. deliverygoodsid:
  18760. description: 现货品种ID
  18761. type: integer
  18762. enddate:
  18763. description: 预售结束日期
  18764. type: string
  18765. enumdicname:
  18766. description: 单位名称
  18767. type: string
  18768. lotteryflag:
  18769. description: 摇号标识 - 0:未摇号 1:已摇号
  18770. type: integer
  18771. lotteryqty:
  18772. description: 摇号总量
  18773. type: number
  18774. luckyqty:
  18775. description: 已中签量
  18776. type: number
  18777. marketid:
  18778. description: 市场ID
  18779. type: integer
  18780. maxbuyqty:
  18781. description: 单人最大申购量
  18782. type: number
  18783. maxluckyqty:
  18784. description: 单人最大中签量
  18785. type: number
  18786. pictureurls:
  18787. description: 详情图片(逗号分隔)
  18788. type: string
  18789. placeqty:
  18790. description: 已配售量
  18791. type: number
  18792. presaleapplyid:
  18793. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18794. example: "0"
  18795. type: string
  18796. presaleqty:
  18797. description: 预售总量
  18798. type: number
  18799. presalestatus:
  18800. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  18801. type: integer
  18802. sellaccountid:
  18803. description: 发行方资金账户ID
  18804. type: integer
  18805. selluserid:
  18806. description: 发行方用户ID
  18807. type: integer
  18808. sellwrtradeorderid:
  18809. description: 发行方卖委托单ID
  18810. type: string
  18811. startdate:
  18812. description: 预售开始日期
  18813. type: string
  18814. takestartdate:
  18815. description: 提货开始日期
  18816. type: string
  18817. thumurls:
  18818. description: 缩略图片(1:1)(逗号分隔)
  18819. type: string
  18820. tradedate:
  18821. description: 交易日
  18822. type: string
  18823. unitid:
  18824. description: 单位ID
  18825. type: integer
  18826. unitprice:
  18827. description: 商品单价
  18828. type: number
  18829. username:
  18830. description: 发行方用户名称
  18831. type: string
  18832. warehousecode:
  18833. description: 仓库代码(仓库简称)
  18834. type: string
  18835. warehouseid:
  18836. description: 仓库ID
  18837. type: integer
  18838. warehousename:
  18839. description: 仓库名称
  18840. type: string
  18841. wrfactortypeid:
  18842. description: 仓单要素类型ID - 根据现货商品\仓库生成
  18843. example: "0"
  18844. type: string
  18845. wrstandardid:
  18846. description: 现货商品ID
  18847. type: integer
  18848. wrstandardname:
  18849. description: 现货商品名称
  18850. type: string
  18851. type: object
  18852. models.WrQuoteOrderMyq:
  18853. properties:
  18854. buyorsell:
  18855. description: 买卖 - 0:买 1:卖
  18856. type: integer
  18857. canbargain:
  18858. description: 是否可议价 - 0:不可 1:可
  18859. type: integer
  18860. canpart:
  18861. description: 是否允许部份摘牌 - 0:不允许 1:允许
  18862. type: integer
  18863. delistminqty:
  18864. description: 起摘数量
  18865. type: number
  18866. deliverygoodscode:
  18867. description: 品种代码
  18868. type: string
  18869. deliverygoodsid:
  18870. description: 品种ID
  18871. type: integer
  18872. deliverygoodsname:
  18873. description: 品种名称
  18874. type: string
  18875. deliverymonth:
  18876. description: 交收月
  18877. type: string
  18878. enumdicname:
  18879. description: 单位名称
  18880. type: string
  18881. fixedprice:
  18882. description: 买(卖)价
  18883. type: number
  18884. goodscode:
  18885. description: 商品合约代码
  18886. type: string
  18887. marginflag:
  18888. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  18889. type: integer
  18890. marginvalue:
  18891. description: 保证金设置值
  18892. type: number
  18893. minivalue:
  18894. description: 现货商品最小变动值
  18895. type: integer
  18896. orderqty:
  18897. description: 买(卖)量(=委托量-成交量)
  18898. type: number
  18899. ordertime:
  18900. description: 委托时间
  18901. type: string
  18902. performancetemplateid:
  18903. description: 履约模板id
  18904. type: integer
  18905. pricemove:
  18906. description: 买(卖)升贴水- 基差
  18907. type: number
  18908. templatename:
  18909. description: 履约模板名称
  18910. type: string
  18911. userid:
  18912. description: 购买方(销售方)用户ID
  18913. type: integer
  18914. username:
  18915. description: 购买方(销售方)
  18916. type: string
  18917. validtime:
  18918. description: 有效期限
  18919. type: string
  18920. validtype:
  18921. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18922. type: integer
  18923. warehousename:
  18924. description: 仓库名称
  18925. type: string
  18926. wrfactortypeid:
  18927. description: 仓单要素id
  18928. type: string
  18929. wrstandardcode:
  18930. description: 现货商品代码
  18931. type: string
  18932. wrstandardid:
  18933. description: 现货商品ID
  18934. type: integer
  18935. wrstandardname:
  18936. description: 商品名称
  18937. type: string
  18938. wrtradeorderid:
  18939. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18940. type: string
  18941. wrtypename:
  18942. description: 商品
  18943. type: string
  18944. type: object
  18945. models.WrReckonSpotGoodsTradeSum:
  18946. properties:
  18947. begindate:
  18948. description: 开始日期(结果含开始日期) yyyymmdd
  18949. type: string
  18950. enddate:
  18951. description: 结束日期(结果含结束日期) yyyymmdd
  18952. type: string
  18953. istoday:
  18954. description: 是否当日
  18955. type: boolean
  18956. marketid:
  18957. description: 市场ID
  18958. type: integer
  18959. price:
  18960. description: 价格 = 日成交金额 / 日成交数量
  18961. type: string
  18962. reckondate:
  18963. description: 日期 格式 yyyymmdd
  18964. type: string
  18965. tradeamount:
  18966. description: 日成交金额(当日单方向成交金额)
  18967. type: number
  18968. tradeqty:
  18969. description: 日成交数量(当日单方向成交数量)
  18970. type: number
  18971. wrstandardid:
  18972. description: 现货商品ID
  18973. type: integer
  18974. type: object
  18975. models.WrScfContract:
  18976. properties:
  18977. borroweruserid:
  18978. description: 借款用户ID
  18979. type: integer
  18980. buybackwrpositionqty:
  18981. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  18982. type: number
  18983. closeinterest:
  18984. description: 已结利息 -> 已结费用
  18985. type: number
  18986. currisklevel:
  18987. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  18988. type: integer
  18989. deadline:
  18990. description: 截止日期(yyyyMMdd) -> 借款到期时间
  18991. type: string
  18992. deliverygoodscode:
  18993. description: 品种代码
  18994. type: string
  18995. deliverygoodsid:
  18996. description: 品种ID
  18997. type: integer
  18998. deliverygoodsname:
  18999. description: 品种名称
  19000. type: string
  19001. enumdicname:
  19002. description: 单位名称
  19003. type: string
  19004. financingdays:
  19005. description: 天数(天)
  19006. type: integer
  19007. initmargin:
  19008. description: 保证金 - [仓单回购]
  19009. type: number
  19010. interestamount:
  19011. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  19012. type: number
  19013. interestdebt:
  19014. description: 利息欠款(记录负数) -> 费用欠款
  19015. type: number
  19016. interestminlen:
  19017. description: 最小起息天数
  19018. type: integer
  19019. interestrate:
  19020. description: 利率
  19021. type: number
  19022. interestratemode:
  19023. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19024. type: integer
  19025. interestsettlemode:
  19026. description: 结息方式 - 1:按日结息 3:按月结息
  19027. type: integer
  19028. interestsettlevalue:
  19029. description: 结息方式值
  19030. type: integer
  19031. isautoloan:
  19032. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  19033. type: integer
  19034. lastcloseinterestday:
  19035. description: 最近结息日(yyyyMMdd)
  19036. type: string
  19037. lenderamount:
  19038. description: 贷款金额 -> 借款金额
  19039. type: number
  19040. lenderuserid:
  19041. description: 贷款方用户ID -> 融出方用户ID
  19042. type: integer
  19043. lenderusername:
  19044. description: 融出方
  19045. type: string
  19046. marginratio:
  19047. description: 保证金比率质押率 - [仓单质押]
  19048. type: number
  19049. marketid:
  19050. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  19051. type: integer
  19052. minivalue:
  19053. description: 现货商品最小变动值
  19054. type: integer
  19055. optioncompare:
  19056. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19057. type: string
  19058. pricemove:
  19059. description: 估值升贴水值
  19060. type: number
  19061. productdetailid:
  19062. description: 产品组合ID
  19063. type: integer
  19064. productid:
  19065. description: 金融产品ID
  19066. type: integer
  19067. productname:
  19068. description: 产品名称
  19069. type: string
  19070. remainamount:
  19071. description: 合同剩余金额 -> 剩余金额
  19072. type: number
  19073. remainwrpositionqty:
  19074. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  19075. type: number
  19076. remark:
  19077. description: 备注
  19078. type: string
  19079. scfcontractid:
  19080. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  19081. type: string
  19082. scfcontractstatus:
  19083. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  19084. 9:违约结束 10:已注销 11:已关闭 99:未提交
  19085. type: integer
  19086. scfcontracttype:
  19087. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  19088. type: integer
  19089. startinterestday:
  19090. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  19091. type: string
  19092. totalinterest:
  19093. description: 已计利息 -> 已计费用
  19094. type: number
  19095. unpaidinterest:
  19096. description: 未结费用
  19097. type: number
  19098. updatetime:
  19099. description: 更新时间
  19100. type: string
  19101. warehouseid:
  19102. description: 仓库ID
  19103. type: integer
  19104. warehousename:
  19105. description: 仓库名称
  19106. type: string
  19107. wrfactortypeid:
  19108. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19109. type: string
  19110. wrfactortypename:
  19111. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19112. type: string
  19113. wrqty:
  19114. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  19115. type: number
  19116. wrstandardcode:
  19117. description: 现货商品代码
  19118. type: string
  19119. wrstandardid:
  19120. description: 现货商品ID
  19121. type: integer
  19122. wrstandardname:
  19123. description: 商品名称
  19124. type: string
  19125. wrtypename:
  19126. description: 商品
  19127. type: string
  19128. type: object
  19129. models.WrScfContractInterest:
  19130. properties:
  19131. closeinterest:
  19132. description: 已结利息
  19133. type: number
  19134. closeintereststatus:
  19135. description: 结息状态 - 1:未结 2:已结
  19136. type: integer
  19137. closetime:
  19138. description: 结息时间
  19139. type: string
  19140. closetradedate:
  19141. description: 结息交易日
  19142. type: string
  19143. creatorid:
  19144. description: 操作人ID
  19145. type: integer
  19146. dayrate:
  19147. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  19148. type: number
  19149. interest:
  19150. description: 利息
  19151. type: number
  19152. interestamount:
  19153. description: 计息金额
  19154. type: number
  19155. interestday:
  19156. description: 计息日(yyyyMMdd)
  19157. type: string
  19158. scfcontractid:
  19159. description: SCF合同ID
  19160. type: string
  19161. scfcontractinterestid:
  19162. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19163. type: integer
  19164. updatetime:
  19165. description: 更新时间
  19166. type: string
  19167. type: object
  19168. models.WrSearchUser:
  19169. properties:
  19170. userid:
  19171. description: 用户ID
  19172. type: integer
  19173. username:
  19174. description: 用户名称(已脱敏)
  19175. type: string
  19176. username2:
  19177. description: 用户名称(未脱敏)
  19178. type: string
  19179. usertype:
  19180. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19181. type: integer
  19182. required:
  19183. - username
  19184. type: object
  19185. models.WrSiteColumnDetail:
  19186. properties:
  19187. brief:
  19188. description: 简介
  19189. type: string
  19190. context:
  19191. description: 内容
  19192. type: string
  19193. coverimage:
  19194. description: 封面图片
  19195. type: string
  19196. creaedate:
  19197. description: 创建时间
  19198. type: string
  19199. id:
  19200. description: ID(SEQ_SITE_COLUMNDETAIL)
  19201. type: integer
  19202. istop:
  19203. description: 是否置顶 - 0:不置 1:置顶
  19204. type: integer
  19205. publishdate:
  19206. description: 发布日期
  19207. type: string
  19208. title:
  19209. description: 标题
  19210. type: string
  19211. updatedate:
  19212. description: 修改时间
  19213. type: string
  19214. type: object
  19215. models.WrSpecialMatchOrder:
  19216. properties:
  19217. amount:
  19218. description: 金额 = 数量 * 价格
  19219. type: number
  19220. buyorsell:
  19221. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19222. type: integer
  19223. cancelqty:
  19224. description: 撤销数量
  19225. type: number
  19226. deliverygoodscode:
  19227. description: 品种代码
  19228. type: string
  19229. deliverygoodsid:
  19230. description: 品种ID
  19231. type: integer
  19232. deliverygoodsname:
  19233. description: 品种名称
  19234. type: string
  19235. enumdicname:
  19236. description: 单位名称
  19237. type: string
  19238. fixedprice:
  19239. description: 固定价格(价格)
  19240. type: number
  19241. haswr:
  19242. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19243. type: integer
  19244. isspecified:
  19245. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19246. type: integer
  19247. marketid:
  19248. description: 市场ID
  19249. type: integer
  19250. matchuserid:
  19251. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19252. type: integer
  19253. matchusername:
  19254. description: 指定方
  19255. type: string
  19256. minivalue:
  19257. description: 现货商品最小变动值
  19258. type: integer
  19259. optioncompare:
  19260. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19261. type: string
  19262. orderqty:
  19263. description: 委托数量
  19264. type: number
  19265. ordertime:
  19266. description: 委托时间
  19267. type: string
  19268. pricemove:
  19269. description: 升贴水(浮动价时填写) - [挂牌]
  19270. type: number
  19271. tradedate:
  19272. description: 交易日(yyyyMMdd)
  19273. type: string
  19274. tradeprice:
  19275. description: 成交价格
  19276. type: number
  19277. tradeqty:
  19278. description: 成交数量
  19279. type: number
  19280. userid:
  19281. description: 用户ID
  19282. type: integer
  19283. username:
  19284. description: 发起方
  19285. type: string
  19286. warehouseid:
  19287. description: 仓库ID
  19288. type: integer
  19289. warehousename:
  19290. description: 仓库名称
  19291. type: string
  19292. wrfactortypeid:
  19293. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19294. type: string
  19295. wrfactortypename:
  19296. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19297. type: string
  19298. wrpricetype:
  19299. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19300. type: integer
  19301. wrstandardcode:
  19302. description: 现货商品代码
  19303. type: string
  19304. wrstandardid:
  19305. description: 现货商品ID
  19306. type: integer
  19307. wrstandardname:
  19308. description: 商品名称
  19309. type: string
  19310. wrtradeorderid:
  19311. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19312. type: string
  19313. wrtradeorderstatus:
  19314. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19315. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19316. type: integer
  19317. wrtradetype:
  19318. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19319. type: integer
  19320. wrtypename:
  19321. description: 商品
  19322. type: string
  19323. type: object
  19324. models.WrSpotGroupTradeSum:
  19325. properties:
  19326. deliverygoodscode:
  19327. description: 现货品种代码
  19328. type: string
  19329. deliverygoodsid:
  19330. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19331. type: integer
  19332. deliverygoodsname:
  19333. description: 现货品种名称
  19334. type: string
  19335. lastavgprice:
  19336. description: 上上个交易日价格(前2天价格)
  19337. type: string
  19338. lastreckondate:
  19339. description: 上上个交易日(前2天交易日)
  19340. type: string
  19341. reckondate:
  19342. description: 上个交易日(前1天交易日)
  19343. type: string
  19344. todayavgprice:
  19345. description: 上个交易日价格(前1天价格)
  19346. type: string
  19347. updown:
  19348. description: 涨跌
  19349. type: string
  19350. updownratio:
  19351. description: 涨幅(已格式化, 直接显示即可)
  19352. type: string
  19353. type: object
  19354. models.WrSpotGroupTradeSumDetail:
  19355. properties:
  19356. deliverygoodsid:
  19357. description: 现货商品id
  19358. type: integer
  19359. price:
  19360. description: 价格
  19361. type: number
  19362. reckondate:
  19363. description: 日期(yyymmdd, 如:20211031)
  19364. type: string
  19365. type: object
  19366. models.WrSpotGroupTradeSumEx:
  19367. properties:
  19368. lst:
  19369. description: 指数列表
  19370. items:
  19371. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19372. type: array
  19373. prereckondate:
  19374. description: 上上个交易日(yyymmdd)
  19375. type: string
  19376. reckondate:
  19377. description: 上个交易日(yyyymmdd)
  19378. type: string
  19379. type: object
  19380. models.WrStandardFactoryItem:
  19381. properties:
  19382. dgfactoryitemid:
  19383. description: 选择项id
  19384. type: integer
  19385. dgfactoryitemvalue:
  19386. description: 要素项值
  19387. type: string
  19388. warehouseid:
  19389. description: 仓库id
  19390. type: integer
  19391. type: object
  19392. models.WrStandardFactoryItemEx:
  19393. properties:
  19394. dgfactoryitemtypeid:
  19395. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19396. type: integer
  19397. itemlst:
  19398. description: 要素项列表
  19399. items:
  19400. $ref: '#/definitions/models.WrStandardFactoryItem'
  19401. type: array
  19402. itemtypename:
  19403. description: 要素项类型名称
  19404. type: string
  19405. wrstandardid:
  19406. description: 品类
  19407. type: integer
  19408. type: object
  19409. models.WrTradeDetail:
  19410. properties:
  19411. accountid:
  19412. description: 资金账号
  19413. type: integer
  19414. bannerpicurl:
  19415. description: Banner图
  19416. type: string
  19417. begindate:
  19418. description: 开始交易日(yyyymmdd)
  19419. type: string
  19420. buyorsell:
  19421. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19422. type: integer
  19423. chargevalue:
  19424. description: 手续费
  19425. type: number
  19426. deliverygoodscode:
  19427. description: 品种代码
  19428. type: string
  19429. deliverygoodsid:
  19430. description: 品种ID
  19431. type: integer
  19432. deliverygoodsname:
  19433. description: 品种名称
  19434. type: string
  19435. deliverymonth:
  19436. description: 交收月
  19437. type: string
  19438. enddate:
  19439. description: 结束交易日(yyyymmdd)
  19440. type: string
  19441. enumdicname:
  19442. description: 单位名称
  19443. type: string
  19444. haswr:
  19445. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19446. type: integer
  19447. marketid:
  19448. description: 市场ID
  19449. type: integer
  19450. matchaccountid:
  19451. description: 对手账号
  19452. type: integer
  19453. matchusername:
  19454. description: 对手方
  19455. type: string
  19456. minivalue:
  19457. description: 现货商品最小变动值
  19458. type: integer
  19459. optioncompare:
  19460. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19461. type: string
  19462. thumurls:
  19463. description: 缩略图
  19464. type: string
  19465. tradedate:
  19466. description: 交易日(yyyyMMdd)
  19467. type: string
  19468. tradeprice:
  19469. description: 成交价格
  19470. type: number
  19471. tradeqty:
  19472. description: 成交数量
  19473. type: number
  19474. tradetime:
  19475. description: 成交时间
  19476. type: string
  19477. userid:
  19478. description: 用户ID
  19479. type: integer
  19480. warehouseid:
  19481. description: 仓库ID
  19482. type: integer
  19483. warehousename:
  19484. description: 仓库名称
  19485. type: string
  19486. wrfactortypeid:
  19487. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19488. type: string
  19489. wrfactortypename:
  19490. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19491. type: string
  19492. wrstandardcode:
  19493. description: 现货商品代码
  19494. type: string
  19495. wrstandardid:
  19496. description: 现货商品ID
  19497. type: integer
  19498. wrstandardname:
  19499. description: 商品名称
  19500. type: string
  19501. wrtradedetailid:
  19502. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19503. type: string
  19504. wrtradetype:
  19505. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19506. type: integer
  19507. wrtypename:
  19508. description: 商品
  19509. type: string
  19510. type: object
  19511. models.WrTradeOrderDetail:
  19512. properties:
  19513. buyorsell:
  19514. description: 买卖方向 0-买 1-卖
  19515. type: integer
  19516. goodsid:
  19517. description: 商品id
  19518. type: integer
  19519. orderid:
  19520. description: 委托单号
  19521. type: string
  19522. orderprice:
  19523. description: 委托价格
  19524. type: number
  19525. orderqty:
  19526. description: 委托数量
  19527. type: integer
  19528. userid:
  19529. description: 用户id
  19530. type: integer
  19531. username:
  19532. description: 用户名称(已脱敏)
  19533. type: string
  19534. type: object
  19535. models.WrTypeItem:
  19536. properties:
  19537. name:
  19538. description: 名称
  19539. type: string
  19540. value:
  19541. description: 值
  19542. type: string
  19543. type: object
  19544. models.WrUserFriend:
  19545. properties:
  19546. friendname:
  19547. description: 朋友名称(已脱敏)
  19548. type: string
  19549. frienduserid:
  19550. description: 朋友id
  19551. type: integer
  19552. isfriend:
  19553. description: 是否好友 0-不是 1-是
  19554. type: integer
  19555. userid:
  19556. description: 用户id
  19557. type: integer
  19558. type: object
  19559. models.WrUserReceiptInfo:
  19560. properties:
  19561. address:
  19562. description: 地址[发票类型:企业]
  19563. type: string
  19564. autoid:
  19565. description: AutoID
  19566. type: integer
  19567. contactinfo:
  19568. description: 联系方式
  19569. type: string
  19570. idnum:
  19571. description: 身份证号码[发票类型:个人]
  19572. type: string
  19573. isdefault:
  19574. description: 是否默认地址 - 0:否 1:是
  19575. type: integer
  19576. receiptaccount:
  19577. description: 发票帐号[发票类型:企业]
  19578. type: string
  19579. receiptbank:
  19580. description: 发票开户行[发票类型:企业]
  19581. type: string
  19582. receipttype:
  19583. description: 发票类型 - 1:个人 2:企业
  19584. type: integer
  19585. taxpayerid:
  19586. description: 纳税人识别号
  19587. type: string
  19588. userid:
  19589. description: 用户ID
  19590. type: integer
  19591. username:
  19592. description: 户名(个人姓名或企业名称)
  19593. type: string
  19594. type: object
  19595. models.Wrtradetradequote:
  19596. properties:
  19597. begindate:
  19598. description: 开始日期(结果含开始日期) yyyymmdd
  19599. type: string
  19600. buyaccountid:
  19601. description: 买方账号ID
  19602. type: integer
  19603. buyuserid:
  19604. description: 买方用户ID
  19605. type: integer
  19606. deliverygoodsid:
  19607. description: 现货品种ID
  19608. type: integer
  19609. enddate:
  19610. description: 结束日期(结果含结束日期) yyyymmdd
  19611. type: string
  19612. marketid:
  19613. description: 市场ID
  19614. type: integer
  19615. sellaccountid:
  19616. description: 卖方账号ID
  19617. type: integer
  19618. selluserid:
  19619. description: 卖方用户ID
  19620. type: integer
  19621. tradeamount:
  19622. description: 成交金额
  19623. type: number
  19624. tradedate:
  19625. description: 交易日(yyyyMMdd)
  19626. type: string
  19627. tradeprice:
  19628. description: 成交价格
  19629. type: number
  19630. tradeqty:
  19631. description: 成交数量
  19632. type: integer
  19633. tradetime:
  19634. description: 成交时间
  19635. type: string
  19636. wrfactortypeid:
  19637. description: 仓单要素类型ID
  19638. type: integer
  19639. wrstandardid:
  19640. description: 现货商品ID
  19641. type: integer
  19642. wrtradedetailid:
  19643. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19644. type: string
  19645. type: object
  19646. models.XHBRAND:
  19647. properties:
  19648. brandid:
  19649. description: 品牌id
  19650. type: integer
  19651. brandname:
  19652. description: 品牌名称
  19653. type: string
  19654. isvalid:
  19655. description: 是否有效 0-无效 1-有效
  19656. type: integer
  19657. type: object
  19658. models.XHDeliveryGoods:
  19659. properties:
  19660. areauserid:
  19661. description: 所属机构
  19662. type: integer
  19663. bdlst:
  19664. description: 品牌列表
  19665. items:
  19666. $ref: '#/definitions/models.XHBRAND'
  19667. type: array
  19668. deliverygoodscode:
  19669. description: 现货品种代码
  19670. type: string
  19671. deliverygoodsid:
  19672. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19673. type: integer
  19674. deliverygoodsname:
  19675. description: 现货品种名称
  19676. type: string
  19677. dgstatus:
  19678. description: 品种状态 - 作废 - 0:未激活 1:正常
  19679. type: integer
  19680. filterSubEmpty:
  19681. description: 过滤下级为空的
  19682. type: integer
  19683. isvalid:
  19684. description: 是否有效 - 0:无效 1:有效
  19685. type: integer
  19686. remark:
  19687. description: 备注
  19688. type: string
  19689. unitid:
  19690. description: 单位id(目前看,数据库中是空值)
  19691. type: integer
  19692. wdlst:
  19693. description: 品类(现货商品)列表
  19694. items:
  19695. $ref: '#/definitions/models.XHWrstandard'
  19696. type: array
  19697. type: object
  19698. models.XHMiddleGoods:
  19699. properties:
  19700. GPLST:
  19701. description: 期货品种列表
  19702. items:
  19703. $ref: '#/definitions/models.TBGoodsGroup'
  19704. type: array
  19705. convertratio:
  19706. description: 拆算系数
  19707. type: number
  19708. costratio:
  19709. description: 成本权重
  19710. type: number
  19711. deliverygoodsid:
  19712. description: 现货商品id
  19713. type: integer
  19714. enumdicname:
  19715. description: 单位名称
  19716. type: string
  19717. middlegoodscode:
  19718. description: 套保品种代码
  19719. type: string
  19720. middlegoodsid:
  19721. description: 套保品种id
  19722. type: integer
  19723. middlegoodsname:
  19724. description: 套保品种名称
  19725. type: string
  19726. unitid:
  19727. description: 单位id
  19728. type: integer
  19729. type: object
  19730. models.XHWrstandard:
  19731. properties:
  19732. bannerpicurl:
  19733. description: banner图
  19734. type: string
  19735. deliverygoodsid:
  19736. description: 品种ID
  19737. type: integer
  19738. enumdicname:
  19739. description: 单位名称
  19740. type: string
  19741. mglst:
  19742. description: 套保品列表
  19743. items:
  19744. $ref: '#/definitions/models.XHMiddleGoods'
  19745. type: array
  19746. pictureurls:
  19747. description: 详情图片(逗号分隔)
  19748. type: string
  19749. thumurls:
  19750. description: 缩略图片(1:1)(逗号分隔)
  19751. type: string
  19752. unitid:
  19753. description: 单位id
  19754. type: integer
  19755. vatrate:
  19756. description: 增值税率
  19757. type: number
  19758. wrstandardcode:
  19759. description: 现货商品代码
  19760. type: string
  19761. wrstandardid:
  19762. description: 现货商品ID(SEQ_WRSTANDARD)
  19763. type: integer
  19764. wrstandardname:
  19765. description: 现货商品名称
  19766. type: string
  19767. type: object
  19768. models.XhcpSellBackApplyEx:
  19769. properties:
  19770. applyremark:
  19771. description: 申请备注
  19772. type: string
  19773. expirytype:
  19774. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19775. type: integer
  19776. goodsspec:
  19777. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19778. type: integer
  19779. holeflag:
  19780. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19781. type: integer
  19782. isunopened:
  19783. description: 是否原封 - 1:否 2:是
  19784. type: integer
  19785. mpflag:
  19786. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19787. type: integer
  19788. openflag:
  19789. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19790. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19791. type: integer
  19792. phonenum:
  19793. description: 联系电话
  19794. type: string
  19795. userid:
  19796. description: 所属用户ID
  19797. type: integer
  19798. zpflag:
  19799. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19800. type: integer
  19801. required:
  19802. - userid
  19803. type: object
  19804. models.Xhcpsellbackapply:
  19805. properties:
  19806. applyid:
  19807. description: 申请人
  19808. type: integer
  19809. applyremark:
  19810. description: 申请备注
  19811. type: string
  19812. applysrc:
  19813. description: 申请来源 - 1:管理端 2:终端
  19814. type: integer
  19815. applystatus:
  19816. description: 申请状态 - 1:待确认 2:已处理
  19817. type: integer
  19818. applytime:
  19819. description: 申请时间
  19820. type: string
  19821. auditremark:
  19822. description: 审核备注
  19823. type: string
  19824. auditsrc:
  19825. description: 审核来源 - 1:管理端 2:终端
  19826. type: integer
  19827. expirytype:
  19828. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19829. type: integer
  19830. goodsspec:
  19831. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19832. type: integer
  19833. holeflag:
  19834. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19835. type: integer
  19836. isunopened:
  19837. description: 是否原封 - 1:否 2:是
  19838. type: integer
  19839. mpflag:
  19840. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19841. type: integer
  19842. openflag:
  19843. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19844. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19845. type: integer
  19846. phonenum:
  19847. description: 联系电话
  19848. type: string
  19849. sellbackapplyid:
  19850. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  19851. type: string
  19852. userid:
  19853. description: 所属用户ID
  19854. type: integer
  19855. zpflag:
  19856. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19857. type: integer
  19858. required:
  19859. - userid
  19860. type: object
  19861. order.QueryHisTradeDetailRsp:
  19862. properties:
  19863. accountid:
  19864. description: 账户ID[报价币种]
  19865. type: integer
  19866. advanceratio:
  19867. description: 首付比率
  19868. type: number
  19869. buildtype:
  19870. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19871. type: integer
  19872. buyorsell:
  19873. description: 方向 - 0:买 1:卖
  19874. type: integer
  19875. charge:
  19876. description: 手续费
  19877. type: number
  19878. closecharge:
  19879. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19880. type: number
  19881. closeexchagechargevalue:
  19882. description: 平仓交易所手续费设置值
  19883. type: number
  19884. closefeealgorithm:
  19885. description: 平仓手续费收取方式 1:比率 2:固定
  19886. type: integer
  19887. closememberchargevalue:
  19888. description: 平仓会员手续费设置值
  19889. type: number
  19890. closepl:
  19891. description: 平仓盈亏
  19892. type: number
  19893. closepl2:
  19894. description: 平仓盈亏[逐笔]
  19895. type: number
  19896. closeqty:
  19897. description: 平仓数量(先建后平操作 需要记录)
  19898. type: number
  19899. creditamount:
  19900. description: 授信金额
  19901. type: number
  19902. decimalplace:
  19903. description: 商品报价小数位
  19904. type: integer
  19905. enumdicname:
  19906. description: 单位名称
  19907. type: string
  19908. gcaccountid:
  19909. description: 账户ID[合约币种]
  19910. type: integer
  19911. goodscode:
  19912. description: 商品代码
  19913. type: string
  19914. goodsid:
  19915. description: 商品ID
  19916. type: integer
  19917. goodsname:
  19918. description: 商品名称
  19919. type: string
  19920. goodunitid:
  19921. description: 商品单位id
  19922. type: integer
  19923. histradedate:
  19924. description: 历史交易日
  19925. type: string
  19926. intclosepl:
  19927. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19928. type: integer
  19929. isconfirmexercise:
  19930. description: 是否确认行权- 0:否 1:是
  19931. type: integer
  19932. ismain:
  19933. description: 是否主单 - 0:不是 1:是
  19934. type: integer
  19935. ispreexercise:
  19936. description: 是否预申报- 0:否 1:是
  19937. type: integer
  19938. isreckoned:
  19939. description: 是否结算 - 0:未结算 1:已结算
  19940. type: integer
  19941. isvaliddata:
  19942. description: 是否有效 - 0:无效 1:有效
  19943. type: integer
  19944. listingselecttype:
  19945. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19946. type: integer
  19947. marketid:
  19948. description: 市场ID
  19949. type: integer
  19950. marketname:
  19951. description: 市场名称
  19952. type: string
  19953. matchaccountid:
  19954. description: 对手账号id
  19955. type: integer
  19956. memberuserid:
  19957. description: 会员id 个人投资者 需要填写
  19958. type: integer
  19959. opencharge:
  19960. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19961. type: number
  19962. openexchagechargevalue:
  19963. description: 建仓交易所手续费设置值
  19964. type: number
  19965. openfeealgorithm:
  19966. description: 建仓手续费收取方式 1:比率 2:固定
  19967. type: integer
  19968. openmemberchargevalue:
  19969. description: 建仓会员手续费设置值
  19970. type: number
  19971. openqty:
  19972. description: 开仓数量(先建后平操作 需要记录)
  19973. type: number
  19974. optiontype:
  19975. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19976. type: integer
  19977. orderid:
  19978. description: 委托单号
  19979. type: string
  19980. payamount:
  19981. description: 支付金额(付款金额)
  19982. type: number
  19983. performanceplanid:
  19984. description: 履约计划ID[期权]
  19985. type: integer
  19986. performancestatus:
  19987. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19988. type: integer
  19989. preexerciseprice:
  19990. description: 预申报价格
  19991. type: number
  19992. premium:
  19993. description: 权利金 - [持仓单的权利金]
  19994. type: number
  19995. qtydecimalplace:
  19996. description: 商品报价小数位
  19997. type: integer
  19998. recvamount:
  19999. description: 到账金额 = 成交金额 - 手续费
  20000. type: number
  20001. relatedouttradeid:
  20002. description: 关联外部成交单ID
  20003. type: integer
  20004. status:
  20005. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20006. type: integer
  20007. totalamount:
  20008. description: 订单总额 = 成交金额 + 手续费
  20009. type: number
  20010. tradeamount:
  20011. description: 成交金额[账户币种,用于所有权]
  20012. type: number
  20013. tradedate:
  20014. description: 交易日(yyyyMMdd)
  20015. type: string
  20016. tradeid:
  20017. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20018. type: string
  20019. trademode:
  20020. description: 交易模式
  20021. type: integer
  20022. tradeprice:
  20023. description: 成交价格
  20024. type: number
  20025. tradeproperty:
  20026. description: 交易属性
  20027. type: integer
  20028. tradeqty:
  20029. description: 成交数量
  20030. type: number
  20031. tradetime:
  20032. description: 成交时间
  20033. type: string
  20034. tradetype:
  20035. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20036. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20037. type: integer
  20038. required:
  20039. - accountid
  20040. - buyorsell
  20041. - goodsid
  20042. - histradedate
  20043. - marketid
  20044. - memberuserid
  20045. - orderid
  20046. - tradeamount
  20047. - tradedate
  20048. - tradeid
  20049. - tradeprice
  20050. - tradeqty
  20051. - tradetime
  20052. type: object
  20053. order.QueryHisTradeOrderDetailRsp:
  20054. properties:
  20055. accountid:
  20056. description: 账户ID[报价币种]
  20057. type: integer
  20058. buildtype:
  20059. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20060. type: integer
  20061. buyorsell:
  20062. description: 买卖 - 0:买 1:卖
  20063. type: integer
  20064. cancelorderid:
  20065. description: 撤单单号(撤单时填写)
  20066. type: string
  20067. cancelqty:
  20068. description: 撤单数量
  20069. type: number
  20070. clientordertime:
  20071. description: 客户端委托时间
  20072. type: string
  20073. clientticket:
  20074. description: 客户端流水号
  20075. type: string
  20076. clienttype:
  20077. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20078. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20079. type: integer
  20080. closeexchagechargevalue:
  20081. description: 平仓交易所手续费设置值
  20082. type: number
  20083. closefeealgorithm:
  20084. description: 平仓手续费收取方式 1:比率 2:固定
  20085. type: integer
  20086. closefreezecharge:
  20087. description: 平仓冻结手续费(先建后平操作,需要记录)
  20088. type: number
  20089. closememberchargevalue:
  20090. description: 平仓会员手续费设置值
  20091. type: number
  20092. closeqty:
  20093. description: 平仓数量(先建后平操作 需要记录)
  20094. type: number
  20095. closetradeqty:
  20096. description: 平仓成交数量(先建后平操作,需要记录)
  20097. type: number
  20098. closeunfreezecharge:
  20099. description: 平仓解冻手续费(先建后平操作,需要记录)
  20100. type: number
  20101. decimalplace:
  20102. description: 商品报价小数位
  20103. type: integer
  20104. delistingtype:
  20105. description: 摘牌类型 - 1:价格最优 2:点选成交
  20106. type: integer
  20107. enumdicname:
  20108. description: 单位名称
  20109. type: string
  20110. freezecharge:
  20111. description: 冻结手续费
  20112. type: number
  20113. freezemargin:
  20114. description: 冻结保证金(冻结交易金额)
  20115. type: number
  20116. gcaccountid:
  20117. description: 账户ID[合约币种]
  20118. type: integer
  20119. goodscode:
  20120. description: 商品代码
  20121. type: string
  20122. goodsid:
  20123. description: 商品ID
  20124. type: integer
  20125. goodsname:
  20126. description: 商品名称
  20127. type: string
  20128. goodunitid:
  20129. description: 商品单位id
  20130. type: integer
  20131. histradedate:
  20132. description: 历史交易日
  20133. type: string
  20134. isconfirmexercise:
  20135. description: 是否确认行权- 0:否 1:是
  20136. type: integer
  20137. ispreexercise:
  20138. description: 是否预申报- 0:否 1:是
  20139. type: integer
  20140. isvaliddata:
  20141. description: 是否有效 - 0:无效 1:有效
  20142. type: integer
  20143. listingselecttype:
  20144. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20145. type: integer
  20146. marginalgorithm:
  20147. description: 保证金收取方式 1:比率 2:固定
  20148. type: integer
  20149. marginvalue:
  20150. description: 即市保证金设置值
  20151. type: number
  20152. marketid:
  20153. description: 市场ID
  20154. type: integer
  20155. marketmaxsub:
  20156. description: 市价最大偏移范围
  20157. type: number
  20158. marketname:
  20159. description: 市场名称
  20160. type: string
  20161. memberuserid:
  20162. description: 所属会员UserID
  20163. type: integer
  20164. openexchagechargevalue:
  20165. description: 建仓交易所手续费设置值
  20166. type: number
  20167. openfeealgorithm:
  20168. description: 建仓手续费收取方式 1:比率 2:固定
  20169. type: integer
  20170. openfreezecharge:
  20171. description: 开仓冻结手续费(先建后平操作,需要记录)
  20172. type: number
  20173. openmemberchargevalue:
  20174. description: 建仓会员手续费设置值
  20175. type: number
  20176. openqty:
  20177. description: 开仓数量(先建后平操作,需要记录)
  20178. type: number
  20179. opentradeqty:
  20180. description: 开仓成交数量(先建后平操作,需要记录)
  20181. type: number
  20182. openunfreezecharge:
  20183. description: 开仓解冻手续费(先建后平操作,需要记录)
  20184. type: number
  20185. operatetype:
  20186. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20187. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20188. 15:管理端协议转让
  20189. type: integer
  20190. operatorid:
  20191. description: 登录账号(LoginID)
  20192. type: integer
  20193. optiontype:
  20194. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20195. type: integer
  20196. orderid:
  20197. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20198. type: string
  20199. orderprice:
  20200. description: 委托价格
  20201. type: number
  20202. orderqty:
  20203. description: 委托数量
  20204. type: number
  20205. ordersrc:
  20206. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20207. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20208. type: integer
  20209. orderstatus:
  20210. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20211. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20212. 16:成交失败违约(荷兰式竞拍专用)
  20213. type: integer
  20214. ordertime:
  20215. description: 委托时间
  20216. type: string
  20217. preexerciseprice:
  20218. description: 预申报价格
  20219. type: number
  20220. premium:
  20221. description: 权利金
  20222. type: number
  20223. preorderid:
  20224. description: 关联预埋单号(止盈止损单时填写)
  20225. type: string
  20226. pricemode:
  20227. description: '取价方式 - 1:市价 2: 限价'
  20228. type: integer
  20229. qtydecimalplace:
  20230. description: 成交量小数位
  20231. type: integer
  20232. quoteid:
  20233. description: 报价单ID
  20234. type: integer
  20235. relatedid:
  20236. description: 关联单号(交割单)
  20237. type: string
  20238. retcode:
  20239. description: 错误代码
  20240. type: integer
  20241. sessionid:
  20242. description: 会话ID
  20243. type: integer
  20244. tradedate:
  20245. description: 交易日(yyyyMMdd)
  20246. type: string
  20247. trademode:
  20248. description: 交易模式
  20249. type: integer
  20250. tradeproperty:
  20251. description: 交易属性
  20252. type: integer
  20253. tradeqty:
  20254. description: 成交数量
  20255. type: number
  20256. unfreezecharge:
  20257. description: 解冻手续费
  20258. type: number
  20259. unfreezemargin:
  20260. description: 解冻保证金
  20261. type: number
  20262. updatetime:
  20263. description: 更新时间
  20264. type: string
  20265. uuid:
  20266. description: 发起端唯一id
  20267. type: string
  20268. validtime:
  20269. description: 有效期限
  20270. type: string
  20271. validtype:
  20272. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20273. type: integer
  20274. volumetype:
  20275. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20276. type: integer
  20277. required:
  20278. - accountid
  20279. - buildtype
  20280. - buyorsell
  20281. - goodsid
  20282. - histradedate
  20283. - marketid
  20284. - memberuserid
  20285. - operatetype
  20286. - orderid
  20287. - orderqty
  20288. - ordertime
  20289. - pricemode
  20290. - tradedate
  20291. - validtype
  20292. type: object
  20293. order.QueryTradeDetailRsp:
  20294. properties:
  20295. accountid:
  20296. description: 账户ID[报价币种]
  20297. type: integer
  20298. advanceratio:
  20299. description: 首付比率
  20300. type: number
  20301. buildtype:
  20302. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20303. type: integer
  20304. buyorsell:
  20305. description: 方向 - 0:买 1:卖
  20306. type: integer
  20307. charge:
  20308. description: 手续费
  20309. type: number
  20310. closecharge:
  20311. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20312. type: number
  20313. closeexchagechargevalue:
  20314. description: 平仓交易所手续费设置值
  20315. type: number
  20316. closefeealgorithm:
  20317. description: 平仓手续费收取方式 1:比率 2:固定
  20318. type: integer
  20319. closememberchargevalue:
  20320. description: 平仓会员手续费设置值
  20321. type: number
  20322. closepl:
  20323. description: 平仓盈亏
  20324. type: number
  20325. closepl2:
  20326. description: 平仓盈亏[逐笔]
  20327. type: number
  20328. closeqty:
  20329. description: 平仓数量(先建后平操作 需要记录)
  20330. type: number
  20331. creditamount:
  20332. description: 授信金额
  20333. type: number
  20334. decimalplace:
  20335. description: 商品报价小数位
  20336. type: integer
  20337. enumdicname:
  20338. description: 单位名称
  20339. type: string
  20340. gcaccountid:
  20341. description: 账户ID[合约币种]
  20342. type: integer
  20343. goodscode:
  20344. description: 商品代码
  20345. type: string
  20346. goodsid:
  20347. description: 商品ID
  20348. type: integer
  20349. goodsname:
  20350. description: 商品名称
  20351. type: string
  20352. goodunitid:
  20353. description: 商品单位id
  20354. type: integer
  20355. intclosepl:
  20356. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20357. type: integer
  20358. isconfirmexercise:
  20359. description: 是否确认行权- 0:否 1:是
  20360. type: integer
  20361. ismain:
  20362. description: 是否主单 - 0:不是 1:是
  20363. type: integer
  20364. ispreexercise:
  20365. description: 是否预申报- 0:否 1:是
  20366. type: integer
  20367. isreckoned:
  20368. description: 是否结算 - 0:未结算 1:已结算
  20369. type: integer
  20370. listingselecttype:
  20371. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20372. type: integer
  20373. marketid:
  20374. description: 市场ID
  20375. type: integer
  20376. marketname:
  20377. description: 市场名称
  20378. type: string
  20379. matchaccountid:
  20380. description: 对手账号id
  20381. type: integer
  20382. memberuserid:
  20383. description: 会员id 个人投资者 需要填写
  20384. type: integer
  20385. opencharge:
  20386. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20387. type: number
  20388. openexchagechargevalue:
  20389. description: 建仓交易所手续费设置值
  20390. type: number
  20391. openfeealgorithm:
  20392. description: 建仓手续费收取方式 1:比率 2:固定
  20393. type: integer
  20394. openmemberchargevalue:
  20395. description: 建仓会员手续费设置值
  20396. type: number
  20397. openqty:
  20398. description: 开仓数量(先建后平操作 需要记录)
  20399. type: number
  20400. optiontype:
  20401. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20402. type: integer
  20403. orderid:
  20404. description: 委托单号
  20405. type: string
  20406. payamount:
  20407. description: 支付金额(付款金额)
  20408. type: number
  20409. performanceplanid:
  20410. description: 履约计划ID[期权]
  20411. type: integer
  20412. performancestatus:
  20413. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20414. type: integer
  20415. preexerciseprice:
  20416. description: 预申报价格
  20417. type: number
  20418. premium:
  20419. description: 权利金 - [持仓单的权利金]
  20420. type: number
  20421. qtydecimalplace:
  20422. description: 商品报价小数位
  20423. type: integer
  20424. recvamount:
  20425. description: 到账金额 = 成交金额 - 手续费
  20426. type: number
  20427. relatedouttradeid:
  20428. description: 关联外部成交单ID
  20429. type: integer
  20430. status:
  20431. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20432. type: integer
  20433. totalamount:
  20434. description: 订单总额 = 成交金额 + 手续费
  20435. type: number
  20436. tradeamount:
  20437. description: 成交金额[账户币种,用于所有权]
  20438. type: number
  20439. tradedate:
  20440. description: 交易日(yyyyMMdd)
  20441. type: string
  20442. tradeid:
  20443. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20444. type: string
  20445. trademode:
  20446. description: 交易模式
  20447. type: integer
  20448. tradeprice:
  20449. description: 成交价格
  20450. type: number
  20451. tradeproperty:
  20452. description: 交易属性
  20453. type: integer
  20454. tradeqty:
  20455. description: 成交数量
  20456. type: number
  20457. tradetime:
  20458. description: 成交时间
  20459. type: string
  20460. tradetype:
  20461. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20462. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20463. type: integer
  20464. required:
  20465. - accountid
  20466. - buyorsell
  20467. - goodsid
  20468. - marketid
  20469. - memberuserid
  20470. - orderid
  20471. - tradeamount
  20472. - tradedate
  20473. - tradeid
  20474. - tradeprice
  20475. - tradeqty
  20476. - tradetime
  20477. type: object
  20478. order.QueryTradeOrderDetailRsp:
  20479. properties:
  20480. accountid:
  20481. description: 账户ID[报价币种]
  20482. type: integer
  20483. buildtype:
  20484. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20485. type: integer
  20486. buyorsell:
  20487. description: 买卖 - 0:买 1:卖
  20488. type: integer
  20489. cancelorderid:
  20490. description: 撤单单号(撤单时填写)
  20491. type: string
  20492. cancelqty:
  20493. description: 撤单数量
  20494. type: number
  20495. clienttype:
  20496. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20497. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20498. type: integer
  20499. closefreezecharge:
  20500. description: 平仓冻结手续费(先建后平操作,需要记录)
  20501. type: number
  20502. closeqty:
  20503. description: 平仓数量(先建后平操作 需要记录)
  20504. type: number
  20505. closetradeqty:
  20506. description: 平仓成交数量(先建后平操作,需要记录)
  20507. type: number
  20508. closeunfreezecharge:
  20509. description: 平仓解冻手续费(先建后平操作,需要记录)
  20510. type: number
  20511. decimalplace:
  20512. description: 商品报价小数位
  20513. type: integer
  20514. delistingtype:
  20515. description: 摘牌类型 - 1:价格最优 2:点选成交
  20516. type: integer
  20517. enableqty:
  20518. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20519. type: number
  20520. enumdicname:
  20521. description: 单位名称
  20522. type: string
  20523. freezecharge:
  20524. description: 冻结手续费
  20525. type: number
  20526. freezemargin:
  20527. description: 冻结保证金(冻结交易金额)
  20528. type: number
  20529. goodscode:
  20530. description: 商品代码
  20531. type: string
  20532. goodsid:
  20533. description: 商品ID
  20534. type: integer
  20535. goodsname:
  20536. description: 商品名称
  20537. type: string
  20538. goodunitid:
  20539. description: 商品单位id
  20540. type: integer
  20541. listingselecttype:
  20542. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20543. type: integer
  20544. marketid:
  20545. description: 市场ID
  20546. type: integer
  20547. marketname:
  20548. description: 市场名称
  20549. type: string
  20550. openfreezecharge:
  20551. description: 开仓冻结手续费(先建后平操作,需要记录)
  20552. type: number
  20553. openqty:
  20554. description: 开仓数量(先建后平操作,需要记录)
  20555. type: number
  20556. opentradeqty:
  20557. description: 开仓成交数量(先建后平操作,需要记录)
  20558. type: number
  20559. openunfreezecharge:
  20560. description: 开仓解冻手续费(先建后平操作,需要记录)
  20561. type: number
  20562. operatetype:
  20563. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20564. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20565. 15:管理端协议转让
  20566. type: integer
  20567. operatorid:
  20568. description: 登录账号(LoginID)
  20569. type: integer
  20570. orderid:
  20571. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20572. type: string
  20573. orderprice:
  20574. description: 委托价格
  20575. type: number
  20576. orderqty:
  20577. description: 委托数量
  20578. type: number
  20579. ordersrc:
  20580. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20581. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20582. type: integer
  20583. orderstatus:
  20584. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20585. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20586. 16:成交失败违约(荷兰式竞拍专用)
  20587. type: integer
  20588. ordertime:
  20589. description: 委托时间
  20590. type: string
  20591. preorderid:
  20592. description: 关联预埋单号(止盈止损单时填写)
  20593. type: string
  20594. pricemode:
  20595. description: '取价方式 - 1:市价 2: 限价'
  20596. type: integer
  20597. qtydecimalplace:
  20598. description: 商品报价小数位
  20599. type: integer
  20600. relatedid:
  20601. description: 关联单号(交割单)
  20602. type: string
  20603. tradedate:
  20604. description: 交易日(yyyyMMdd)
  20605. type: string
  20606. trademode:
  20607. description: 交易模式
  20608. type: integer
  20609. tradeqty:
  20610. description: 成交数量
  20611. type: number
  20612. unfreezecharge:
  20613. description: 解冻手续费
  20614. type: number
  20615. unfreezemargin:
  20616. description: 解冻保证金
  20617. type: number
  20618. validtime:
  20619. description: 有效期限
  20620. type: string
  20621. validtype:
  20622. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20623. type: integer
  20624. volumetype:
  20625. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20626. type: integer
  20627. required:
  20628. - accountid
  20629. - buildtype
  20630. - buyorsell
  20631. - goodsid
  20632. - marketid
  20633. - operatetype
  20634. - orderqty
  20635. - ordertime
  20636. - pricemode
  20637. - tradedate
  20638. - validtype
  20639. type: object
  20640. order.QueryTradePositionRsp:
  20641. properties:
  20642. accountid:
  20643. description: 资金账户
  20644. type: integer
  20645. agreeunit:
  20646. description: 合约单位
  20647. type: number
  20648. averageprice:
  20649. description: 持仓均价
  20650. type: number
  20651. buyorsell:
  20652. description: 方向 - 0:买 1:卖
  20653. type: integer
  20654. closetotalqty:
  20655. description: 平仓总数量
  20656. type: number
  20657. curholderamount:
  20658. description: 当前持仓总金额[商品币种]
  20659. type: number
  20660. curpositionqty:
  20661. description: 当前持仓总数量
  20662. type: number
  20663. currencyid:
  20664. description: 报价货币ID
  20665. type: integer
  20666. curtdposition:
  20667. description: 期末今日头寸
  20668. type: number
  20669. decimalplace:
  20670. description: 报价小数位
  20671. type: integer
  20672. enableqty:
  20673. description: 可用量
  20674. type: number
  20675. fretdposition:
  20676. description: 冻结今日头寸
  20677. type: number
  20678. frozenqty:
  20679. description: 持仓冻结数量
  20680. type: number
  20681. goodscode:
  20682. description: 商品代码
  20683. type: string
  20684. goodsid:
  20685. description: 商品Id
  20686. type: integer
  20687. goodsname:
  20688. description: 商品名称
  20689. type: string
  20690. goodunit:
  20691. description: 报价单位
  20692. type: string
  20693. goodunitid:
  20694. description: 报价单位ID
  20695. type: integer
  20696. holderamount:
  20697. description: 期初持仓总金额[商品币种]
  20698. type: number
  20699. lastprice:
  20700. description: 最新价
  20701. type: number
  20702. marketamount:
  20703. description: 市值
  20704. type: number
  20705. marketid:
  20706. description: 所属市场ID
  20707. type: integer
  20708. openreqqty:
  20709. description: 开仓申请数量(用于比较最大持仓数量)
  20710. type: number
  20711. opentotalqty:
  20712. description: 开仓总数量
  20713. type: number
  20714. otherfrozenqty:
  20715. description: 持仓其他冻结数量(交割冻结)
  20716. type: number
  20717. positionpl:
  20718. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  20719. * 合约单位
  20720. type: number
  20721. positionplrate:
  20722. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  20723. type: number
  20724. positionqty:
  20725. description: 期初持仓数量
  20726. type: number
  20727. qtydecimalplace:
  20728. description: 成交量小数位
  20729. type: integer
  20730. refgoodscode:
  20731. description: 参考商品代码
  20732. type: string
  20733. refgoodsid:
  20734. description: 参考商品ID
  20735. type: integer
  20736. tnqty:
  20737. description: T+N冻结总量
  20738. type: number
  20739. tnusedqty:
  20740. description: T+N使用量(可以使用T+N的冻结数量)
  20741. type: number
  20742. trademode:
  20743. description: 交易模式
  20744. type: integer
  20745. tradeproperty:
  20746. description: 交易属性
  20747. type: integer
  20748. usedmargin:
  20749. description: 占用保证金[商品币种]
  20750. type: number
  20751. required:
  20752. - goodsid
  20753. type: object
  20754. pb.GoodsMarginCfgStruct:
  20755. properties:
  20756. CustomerTypeID:
  20757. description: 投资者客户类型
  20758. type: integer
  20759. GoodsID:
  20760. description: 商品ID
  20761. type: integer
  20762. IsDefault:
  20763. description: 是否默认标志位
  20764. type: integer
  20765. LockMarginValue:
  20766. description: 锁仓保证金
  20767. type: number
  20768. MarginAlgorithm:
  20769. description: 保证金计算方式
  20770. type: integer
  20771. MarketMarginValue:
  20772. description: 即市保证金值
  20773. type: number
  20774. RealMarginAlgorithm:
  20775. description: 实付保证金计算方式
  20776. type: integer
  20777. RealMarginValue:
  20778. description: 实付比例
  20779. type: number
  20780. ReckonMarginValue:
  20781. description: 结算保证金值
  20782. type: number
  20783. type: object
  20784. quote.HistoryData:
  20785. properties:
  20786. c:
  20787. description: 收盘价
  20788. type: number
  20789. f:
  20790. description: 是否补充数据
  20791. type: boolean
  20792. h:
  20793. description: 最高价
  20794. type: number
  20795. hv:
  20796. description: 持仓量
  20797. type: integer
  20798. l:
  20799. description: 最低价
  20800. type: number
  20801. o:
  20802. description: 开盘价
  20803. type: number
  20804. s:
  20805. description: 结算价,日线周期(包括)以上才有
  20806. type: number
  20807. ts:
  20808. description: 时间
  20809. type: string
  20810. tt:
  20811. description: 总金额
  20812. type: number
  20813. tv:
  20814. description: 总量(成交量)
  20815. type: integer
  20816. type: object
  20817. quote.HistoryTikData:
  20818. properties:
  20819. AV:
  20820. description: 卖量
  20821. type: integer
  20822. Ask:
  20823. description: 卖价
  20824. type: number
  20825. BV:
  20826. description: 买量
  20827. type: integer
  20828. Bid:
  20829. description: 买价
  20830. type: number
  20831. HI:
  20832. description: 单笔持仓
  20833. type: integer
  20834. HV:
  20835. description: 持仓量
  20836. type: integer
  20837. PE:
  20838. description: 现价
  20839. type: number
  20840. TDR:
  20841. description: 交易方向,0:买 1:卖
  20842. type: integer
  20843. TK:
  20844. description: 交易类型
  20845. type: integer
  20846. TS:
  20847. description: 行情时间文本
  20848. type: string
  20849. TT:
  20850. description: 现金额
  20851. type: number
  20852. Vol:
  20853. description: 现量
  20854. type: integer
  20855. type: object
  20856. quote.QueryQuoteDayRsp:
  20857. properties:
  20858. ask:
  20859. description: 卖1
  20860. type: number
  20861. ask2:
  20862. description: 卖2
  20863. type: number
  20864. ask3:
  20865. description: 卖3
  20866. type: number
  20867. ask4:
  20868. description: 卖4
  20869. type: number
  20870. ask5:
  20871. description: 卖5
  20872. type: number
  20873. ask6:
  20874. description: 卖6
  20875. type: number
  20876. ask7:
  20877. description: 卖7
  20878. type: number
  20879. ask8:
  20880. description: 卖8
  20881. type: number
  20882. ask9:
  20883. description: 卖9
  20884. type: number
  20885. ask10:
  20886. description: 卖10
  20887. type: number
  20888. askorderid:
  20889. description: 卖单号1
  20890. type: integer
  20891. askorderid2:
  20892. description: 卖单号2
  20893. type: integer
  20894. askorderid3:
  20895. description: 卖单号3
  20896. type: integer
  20897. askorderid4:
  20898. description: 卖单号4
  20899. type: integer
  20900. askorderid5:
  20901. description: 卖单号5
  20902. type: integer
  20903. askordervolume:
  20904. description: 卖单量1
  20905. type: integer
  20906. askordervolume2:
  20907. description: 卖单量2
  20908. type: integer
  20909. askordervolume3:
  20910. description: 卖单量3
  20911. type: integer
  20912. askordervolume4:
  20913. description: 卖单量4
  20914. type: integer
  20915. askordervolume5:
  20916. description: 卖单量5
  20917. type: integer
  20918. askordervolume6:
  20919. description: 卖单量6
  20920. type: integer
  20921. askordervolume7:
  20922. description: 卖单量7
  20923. type: integer
  20924. askordervolume8:
  20925. description: 卖单量8
  20926. type: integer
  20927. askordervolume9:
  20928. description: 卖单量9
  20929. type: integer
  20930. askordervolume10:
  20931. description: 卖单量10
  20932. type: integer
  20933. askqueueinfo:
  20934. description: 大利市卖港股用
  20935. type: string
  20936. askvolume:
  20937. description: 卖量1
  20938. type: integer
  20939. askvolume2:
  20940. description: 卖量2
  20941. type: integer
  20942. askvolume3:
  20943. description: 卖量3
  20944. type: integer
  20945. askvolume4:
  20946. description: 卖量4
  20947. type: integer
  20948. askvolume5:
  20949. description: 卖量5
  20950. type: integer
  20951. askvolume6:
  20952. description: 卖量6
  20953. type: integer
  20954. askvolume7:
  20955. description: 卖量7
  20956. type: integer
  20957. askvolume8:
  20958. description: 卖量8
  20959. type: integer
  20960. askvolume9:
  20961. description: 卖量9
  20962. type: integer
  20963. askvolume10:
  20964. description: 卖量10
  20965. type: integer
  20966. averageprice:
  20967. description: 均价
  20968. type: number
  20969. bid:
  20970. description: 买1
  20971. type: number
  20972. bid2:
  20973. description: 买2
  20974. type: number
  20975. bid3:
  20976. description: 买3
  20977. type: number
  20978. bid4:
  20979. description: 买4
  20980. type: number
  20981. bid5:
  20982. description: 买5
  20983. type: number
  20984. bid6:
  20985. description: 买6
  20986. type: number
  20987. bid7:
  20988. description: 买7
  20989. type: number
  20990. bid8:
  20991. description: 买8
  20992. type: number
  20993. bid9:
  20994. description: 买9
  20995. type: number
  20996. bid10:
  20997. description: 买10
  20998. type: number
  20999. bidorderid:
  21000. description: 买单号1
  21001. type: integer
  21002. bidorderid2:
  21003. description: 买单号2
  21004. type: integer
  21005. bidorderid3:
  21006. description: 买单号3
  21007. type: integer
  21008. bidorderid4:
  21009. description: 买单号4
  21010. type: integer
  21011. bidorderid5:
  21012. description: 买单号5
  21013. type: integer
  21014. bidordervolume:
  21015. description: 买单量1
  21016. type: integer
  21017. bidordervolume2:
  21018. description: 买单量2
  21019. type: integer
  21020. bidordervolume3:
  21021. description: 买单量3
  21022. type: integer
  21023. bidordervolume4:
  21024. description: 买单量4
  21025. type: integer
  21026. bidordervolume5:
  21027. description: 买单量5
  21028. type: integer
  21029. bidordervolume6:
  21030. description: 买单量6
  21031. type: integer
  21032. bidordervolume7:
  21033. description: 买单量7
  21034. type: integer
  21035. bidordervolume8:
  21036. description: 买单量8
  21037. type: integer
  21038. bidordervolume9:
  21039. description: 买单量9
  21040. type: integer
  21041. bidordervolume10:
  21042. description: 买单量10
  21043. type: integer
  21044. bidqueueinfo:
  21045. description: 大利市买港股用
  21046. type: string
  21047. bidvolume:
  21048. description: 买量1
  21049. type: integer
  21050. bidvolume2:
  21051. description: 买量2
  21052. type: integer
  21053. bidvolume3:
  21054. description: 买量3
  21055. type: integer
  21056. bidvolume4:
  21057. description: 买量4
  21058. type: integer
  21059. bidvolume5:
  21060. description: 买量5
  21061. type: integer
  21062. bidvolume6:
  21063. description: 买量6
  21064. type: integer
  21065. bidvolume7:
  21066. description: 买量7
  21067. type: integer
  21068. bidvolume8:
  21069. description: 买量8
  21070. type: integer
  21071. bidvolume9:
  21072. description: 买量9
  21073. type: integer
  21074. bidvolume10:
  21075. description: 买量10
  21076. type: integer
  21077. calloptionpremiums:
  21078. description: 认购期权1
  21079. type: integer
  21080. calloptionpremiums2:
  21081. description: 认购期权2
  21082. type: integer
  21083. calloptionpremiums3:
  21084. description: 认购期权3
  21085. type: integer
  21086. calloptionpremiums4:
  21087. description: 认购期权4
  21088. type: integer
  21089. calloptionpremiums5:
  21090. description: 认购期权5
  21091. type: integer
  21092. cleartime:
  21093. description: 清盘时间
  21094. type: integer
  21095. exchangecode:
  21096. description: 交易所代码
  21097. type: integer
  21098. exchangedate:
  21099. description: 交易日
  21100. type: integer
  21101. goodscode:
  21102. description: 商品代码
  21103. type: string
  21104. grepmarketprice:
  21105. description: 暗盘价 港股专用
  21106. type: number
  21107. highest:
  21108. description: 最高价
  21109. type: number
  21110. holdincrement:
  21111. description: 单笔持仓
  21112. type: integer
  21113. holdvolume:
  21114. description: 持仓
  21115. type: integer
  21116. iep:
  21117. description: 平衡价 港股专用
  21118. type: number
  21119. iev:
  21120. description: 平衡量 港股专用
  21121. type: number
  21122. inventory:
  21123. description: 库存
  21124. type: integer
  21125. iscleared:
  21126. description: 是否清盘标志
  21127. type: integer
  21128. issettled:
  21129. description: 是否结算标志
  21130. type: integer
  21131. last:
  21132. description: 最新价
  21133. type: number
  21134. lastlot:
  21135. description: 最新成交手数
  21136. type: integer
  21137. lasttime:
  21138. description: 行情时间(只有现价变化行情时间才变化)
  21139. type: string
  21140. lastturnover:
  21141. description: 最新成交金额
  21142. type: number
  21143. lastvolume:
  21144. description: 最新成交量
  21145. type: integer
  21146. limitdown:
  21147. description: 跌停价
  21148. type: number
  21149. limitup:
  21150. description: 涨停价
  21151. type: number
  21152. lowest:
  21153. description: 最低价
  21154. type: number
  21155. nontotalholdervolume:
  21156. description: 非交易持仓量
  21157. type: integer
  21158. nontotallot:
  21159. description: 非交易总手数
  21160. type: integer
  21161. nontotalturnover:
  21162. description: 非交易总金额
  21163. type: integer
  21164. nontotalvolume:
  21165. description: 非交易总量
  21166. type: integer
  21167. opened:
  21168. description: 开盘价
  21169. type: number
  21170. opentime:
  21171. description: 开盘时间
  21172. type: string
  21173. orderid:
  21174. description: 序号
  21175. type: integer
  21176. preclose:
  21177. description: 昨收
  21178. type: number
  21179. preholdvolume:
  21180. description: 昨持仓
  21181. type: integer
  21182. presettle:
  21183. description: 昨结价
  21184. type: number
  21185. publictradetype:
  21186. description: 公共交易标志类型 港股专用
  21187. type: string
  21188. putoptionpremiums:
  21189. description: 认沽期权1
  21190. type: integer
  21191. putoptionpremiums2:
  21192. description: 认沽期权2
  21193. type: integer
  21194. putoptionpremiums3:
  21195. description: 认沽期权3
  21196. type: integer
  21197. putoptionpremiums4:
  21198. description: 认沽期权4
  21199. type: integer
  21200. putoptionpremiums5:
  21201. description: 认沽期权5
  21202. type: integer
  21203. settle:
  21204. description: 结算价
  21205. type: number
  21206. strikeprice:
  21207. description: 发行价
  21208. type: number
  21209. totalaskvolume:
  21210. description: 内盘
  21211. type: integer
  21212. totalbidvolume:
  21213. description: 外盘
  21214. type: integer
  21215. totallot:
  21216. description: 总手数
  21217. type: integer
  21218. totalturnover:
  21219. description: 总金额
  21220. type: number
  21221. totalvolume:
  21222. description: 总量
  21223. type: integer
  21224. utclasttime:
  21225. description: utc的行情时间
  21226. type: string
  21227. type: object
  21228. quote.QueryTSDataRsp:
  21229. properties:
  21230. Count:
  21231. description: 交易日应有数据个数
  21232. type: integer
  21233. decimalPlace:
  21234. description: 小数位
  21235. type: integer
  21236. endTime:
  21237. description: 结束时间
  21238. type: string
  21239. goodsCode:
  21240. description: 商品代码
  21241. type: string
  21242. historyDatas:
  21243. description: 历史数据
  21244. items:
  21245. $ref: '#/definitions/quote.HistoryData'
  21246. type: array
  21247. outGoodsCode:
  21248. description: 外部商品代码
  21249. type: string
  21250. preSettle:
  21251. description: 昨结价
  21252. type: number
  21253. runSteps:
  21254. description: 交易日开休市计划
  21255. items:
  21256. $ref: '#/definitions/quote.TSDataRunStep'
  21257. type: array
  21258. startTime:
  21259. description: 开始时间
  21260. type: string
  21261. tradeDate:
  21262. description: 交易日
  21263. type: string
  21264. type: object
  21265. quote.TSDataRunStep:
  21266. properties:
  21267. end:
  21268. description: 真实结束时间
  21269. type: string
  21270. endflag:
  21271. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21272. type: integer
  21273. endtime:
  21274. description: 结束时间(HH:mm)
  21275. type: string
  21276. endweekday:
  21277. description: 结束周几
  21278. type: integer
  21279. groupid:
  21280. description: 分组ID
  21281. type: integer
  21282. runstep:
  21283. description: 运行阶段 - 2:连续交易
  21284. type: integer
  21285. sectionid:
  21286. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21287. 结束时间=结算时间 结束周几=结算周几
  21288. type: integer
  21289. start:
  21290. description: 真实开始时间
  21291. type: string
  21292. startflag:
  21293. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21294. type: integer
  21295. starttime:
  21296. description: 起始时间(HH:mm)
  21297. type: string
  21298. startweekday:
  21299. description: 起始周几
  21300. type: integer
  21301. tradeweekday:
  21302. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21303. type: integer
  21304. type: object
  21305. szdz.QueryConvertLogRsp:
  21306. properties:
  21307. accountid:
  21308. description: 资金账户ID
  21309. type: integer
  21310. clientticket:
  21311. description: 客户端流水号
  21312. type: string
  21313. converttype:
  21314. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21315. type: integer
  21316. createtime:
  21317. description: 记账时间
  21318. type: string
  21319. daymaxvalue:
  21320. description: 配置当日最大转入限制
  21321. type: number
  21322. daymaxvalue2:
  21323. description: 配置当日最大转入限制(转入)
  21324. type: number
  21325. goodscode:
  21326. description: 商品代码
  21327. type: string
  21328. goodsname:
  21329. description: 商品名称
  21330. type: string
  21331. handlestatus:
  21332. description: 处理状态
  21333. type: integer
  21334. innergoodsid:
  21335. description: 内部商品ID
  21336. type: integer
  21337. inratio:
  21338. description: 配置转入比值
  21339. type: integer
  21340. invalue:
  21341. description: 目标值
  21342. type: number
  21343. logid:
  21344. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21345. type: integer
  21346. mobile:
  21347. description: 手机号码(加密存储)
  21348. type: string
  21349. outergoodscode:
  21350. description: 外部商品代码[JD\PD]
  21351. type: string
  21352. outratio:
  21353. description: 配置转出比值
  21354. type: integer
  21355. outvalue:
  21356. description: 源值
  21357. type: number
  21358. pddecimalplace:
  21359. description: PD小数位
  21360. type: integer
  21361. qty:
  21362. description: 数量
  21363. type: string
  21364. remark:
  21365. description: 备注
  21366. type: string
  21367. sessionid:
  21368. description: 会话ID
  21369. type: integer
  21370. timemaxvalue:
  21371. description: 配置单次最大转入限制
  21372. type: number
  21373. timemaxvalue2:
  21374. description: 配置单次最大转入限制(转入)
  21375. type: number
  21376. timeminvalue:
  21377. description: 配置单次最小数量限制
  21378. type: number
  21379. timeminvalue2:
  21380. description: 配置单次最小数量限制(转入)
  21381. type: number
  21382. tradedate:
  21383. description: 交易日(yyyyMMdd)
  21384. type: string
  21385. userid:
  21386. description: 用户ID
  21387. type: integer
  21388. required:
  21389. - logid
  21390. type: object
  21391. szdz.QueryGoodsPickupRsp:
  21392. properties:
  21393. accountid:
  21394. description: 账户ID
  21395. type: integer
  21396. address:
  21397. description: 提货人详细地址
  21398. type: string
  21399. auditer:
  21400. description: 审核人
  21401. type: integer
  21402. audittime:
  21403. description: 审核时间
  21404. type: string
  21405. cardnum:
  21406. description: 提货人证件号码
  21407. type: string
  21408. cardtypeid:
  21409. description: 提货人证件类型
  21410. type: integer
  21411. checkremark:
  21412. description: 审核备注
  21413. type: string
  21414. goodscode:
  21415. description: 商品代码
  21416. type: string
  21417. goodsid:
  21418. description: 商品ID
  21419. type: integer
  21420. goodsname:
  21421. description: 商品名称
  21422. type: string
  21423. handlestatus:
  21424. description: 处理状态
  21425. type: integer
  21426. marketid:
  21427. description: 市场ID
  21428. type: integer
  21429. phonenum:
  21430. description: 提货人联系方式
  21431. type: string
  21432. qty:
  21433. description: 提货数量
  21434. type: number
  21435. recivername:
  21436. description: 提货人姓名
  21437. type: string
  21438. reqtime:
  21439. description: 更新时间
  21440. type: string
  21441. takemode:
  21442. description: 提货方式 - 2:自提 3:配送
  21443. type: integer
  21444. takeorderid:
  21445. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21446. type: string
  21447. takeorderstatus:
  21448. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21449. type: integer
  21450. takeremark:
  21451. description: 提货备注
  21452. type: string
  21453. tradedate:
  21454. description: 交易日(yyyyMMdd)
  21455. type: string
  21456. userid:
  21457. description: 用户ID
  21458. type: integer
  21459. required:
  21460. - takeorderid
  21461. type: object
  21462. szdz.QueryRecieptOrderRsp:
  21463. properties:
  21464. accountName:
  21465. description: 所属账号名称(已脱敏)
  21466. type: string
  21467. accountid:
  21468. description: 资金账号
  21469. type: integer
  21470. buyorsell:
  21471. description: 方向 - 0:买 1:卖
  21472. type: integer
  21473. enableqty:
  21474. description: 可摘数量
  21475. type: integer
  21476. goodscode:
  21477. description: 商品代码
  21478. type: string
  21479. goodsid:
  21480. description: 商品ID
  21481. type: integer
  21482. goodsname:
  21483. description: 商品名称
  21484. type: string
  21485. orderid:
  21486. description: 委托单号
  21487. type: string
  21488. orderprice:
  21489. description: 委托价格
  21490. type: number
  21491. ordertime:
  21492. description: 委托时间
  21493. type: string
  21494. tradedate:
  21495. description: 交易日(yyyyMMdd)
  21496. type: string
  21497. required:
  21498. - ordertime
  21499. type: object
  21500. szdz.QuerySZDZTradePositionRsp:
  21501. properties:
  21502. accountid:
  21503. description: 账号Id
  21504. type: integer
  21505. agreeunit:
  21506. description: 合约单位
  21507. type: number
  21508. averageprice:
  21509. description: 持仓均价
  21510. type: number
  21511. buyorsell:
  21512. description: 方向 - 0:买 1:卖
  21513. type: integer
  21514. closetotalqty:
  21515. description: 平仓总数量
  21516. type: integer
  21517. curholderamount:
  21518. description: 当前持仓总金额
  21519. type: number
  21520. curpositionqty:
  21521. description: 当前持仓总数量
  21522. type: integer
  21523. currencyid:
  21524. description: 报价货币ID
  21525. type: integer
  21526. curtdposition:
  21527. description: 期末今日头寸
  21528. type: integer
  21529. decimalplace:
  21530. description: 报价小数位
  21531. type: integer
  21532. enableqty:
  21533. description: 可用量
  21534. type: integer
  21535. fretdposition:
  21536. description: 冻结今日头寸
  21537. type: integer
  21538. frozenqty:
  21539. description: 持仓冻结数量
  21540. type: integer
  21541. goodscode:
  21542. description: 商品代码(内部)
  21543. type: string
  21544. goodsid:
  21545. description: 商品Id
  21546. type: integer
  21547. goodsname:
  21548. description: 商品名称
  21549. type: string
  21550. goodunit:
  21551. description: 报价单位
  21552. type: string
  21553. goodunitid:
  21554. description: 报价单位ID
  21555. type: integer
  21556. holderamount:
  21557. description: 期初持仓总金额
  21558. type: number
  21559. marketid:
  21560. description: 市场ID
  21561. type: integer
  21562. openreqqty:
  21563. description: 开仓申请数量
  21564. type: integer
  21565. opentotalqty:
  21566. description: 开仓总数量
  21567. type: integer
  21568. otherfrozenqty:
  21569. description: 持仓其他冻结数量(交割冻结)
  21570. type: integer
  21571. positionqty:
  21572. description: 期初持仓数量
  21573. type: integer
  21574. szdz3freezqty:
  21575. description: 尚志大宗转换冻结总数量
  21576. type: integer
  21577. tnqty:
  21578. description: T+N冻结总量
  21579. type: integer
  21580. tnusedqty:
  21581. description: T+N使用量
  21582. type: integer
  21583. trademode:
  21584. description: 交易模式
  21585. type: integer
  21586. usedmargin:
  21587. description: 占用保证金
  21588. type: number
  21589. type: object
  21590. taaccount.QueryAmountLogRsp:
  21591. properties:
  21592. OPERATETYPENAME:
  21593. description: 资金操作类型名称
  21594. type: string
  21595. accountid:
  21596. description: 资金账户ID
  21597. type: integer
  21598. agoodscode:
  21599. description: 竞拍商品代码
  21600. type: string
  21601. agoodsname:
  21602. description: 竞拍商品名称
  21603. type: string
  21604. amount:
  21605. description: 资金金额
  21606. type: number
  21607. amountadjusttype:
  21608. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21609. type: integer
  21610. autoid:
  21611. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21612. type: integer
  21613. balance:
  21614. description: 期初余额
  21615. type: number
  21616. businesscode:
  21617. description: 业务编号
  21618. type: integer
  21619. createtime:
  21620. description: 发生时间
  21621. type: string
  21622. currencyid:
  21623. description: 币种ID
  21624. type: integer
  21625. currentbalance:
  21626. description: 期末余额(变动后金额)
  21627. type: number
  21628. dgoodscode:
  21629. description: 交割商品代码
  21630. type: string
  21631. dgoodsname:
  21632. description: 交割商品名称
  21633. type: string
  21634. goodscode:
  21635. description: 商品代码
  21636. type: string
  21637. goodsid:
  21638. description: 商品ID
  21639. type: integer
  21640. goodsname:
  21641. description: 商品名称
  21642. type: string
  21643. marketid:
  21644. description: 市场ID
  21645. type: integer
  21646. marketname:
  21647. description: 市场名称
  21648. type: string
  21649. moneyticket:
  21650. description: 资金流水号:银行端流水号
  21651. type: integer
  21652. operatetype:
  21653. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21654. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21655. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21656. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21657. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21658. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21659. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21660. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21661. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21662. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21663. type: integer
  21664. relationorderid:
  21665. description: 关联单号
  21666. type: string
  21667. remark:
  21668. description: 备注
  21669. type: string
  21670. trademode:
  21671. description: 交易模式
  21672. type: integer
  21673. required:
  21674. - accountid
  21675. - amount
  21676. - amountadjusttype
  21677. - autoid
  21678. - balance
  21679. - createtime
  21680. - currentbalance
  21681. - operatetype
  21682. type: object
  21683. taaccount.QueryHisAmountLogRsp:
  21684. properties:
  21685. OPERATETYPENAME:
  21686. description: 资金操作类型名称
  21687. type: string
  21688. accountid:
  21689. description: 资金账户ID
  21690. type: integer
  21691. agoodscode:
  21692. description: 竞拍商品代码
  21693. type: string
  21694. agoodsname:
  21695. description: 竞拍商品名称
  21696. type: string
  21697. amount:
  21698. description: 资金金额
  21699. type: number
  21700. amountadjusttype:
  21701. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21702. type: integer
  21703. autoid:
  21704. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21705. type: integer
  21706. balance:
  21707. description: 期初余额
  21708. type: number
  21709. businesscode:
  21710. description: 业务编号
  21711. type: integer
  21712. createtime:
  21713. description: 发生时间
  21714. type: string
  21715. currencyid:
  21716. description: 币种ID
  21717. type: integer
  21718. currentbalance:
  21719. description: 期末余额(变动后金额)
  21720. type: number
  21721. dgoodscode:
  21722. description: 交割商品代码
  21723. type: string
  21724. dgoodsname:
  21725. description: 交割商品名称
  21726. type: string
  21727. goodscode:
  21728. description: 商品代码
  21729. type: string
  21730. goodsid:
  21731. description: 商品ID
  21732. type: integer
  21733. goodsname:
  21734. description: 商品名称
  21735. type: string
  21736. histradedate:
  21737. description: 历史交易日
  21738. type: string
  21739. isvaliddata:
  21740. description: 是否有效 - 0:无效 1:有效
  21741. type: integer
  21742. marketid:
  21743. description: 市场ID
  21744. type: integer
  21745. marketname:
  21746. description: 市场名称
  21747. type: string
  21748. moneyticket:
  21749. description: 资金流水号:银行端流水号
  21750. type: integer
  21751. operatetype:
  21752. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21753. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21754. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21755. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21756. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21757. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21758. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21759. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21760. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21761. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21762. type: integer
  21763. relationorderid:
  21764. description: 关联单号
  21765. type: string
  21766. remark:
  21767. description: 备注
  21768. type: string
  21769. trademode:
  21770. description: 交易模式
  21771. type: integer
  21772. required:
  21773. - accountid
  21774. - amount
  21775. - amountadjusttype
  21776. - autoid
  21777. - balance
  21778. - createtime
  21779. - currentbalance
  21780. - histradedate
  21781. - operatetype
  21782. type: object
  21783. trade.QueryRecieptOrderRsp:
  21784. properties:
  21785. accountName:
  21786. description: 所属账号名称(已脱敏)
  21787. type: string
  21788. accountid:
  21789. description: 资金账号
  21790. type: integer
  21791. buyorsell:
  21792. description: 方向 - 0:买 1:卖
  21793. type: integer
  21794. enableqty:
  21795. description: 可摘数量
  21796. type: integer
  21797. goodscode:
  21798. description: 商品代码
  21799. type: string
  21800. goodsid:
  21801. description: 商品ID
  21802. type: integer
  21803. goodsname:
  21804. description: 商品名称
  21805. type: string
  21806. orderid:
  21807. description: 委托单号
  21808. type: string
  21809. orderprice:
  21810. description: 委托价格
  21811. type: number
  21812. ordertime:
  21813. description: 委托时间
  21814. type: string
  21815. tradedate:
  21816. description: 交易日(yyyyMMdd)
  21817. type: string
  21818. required:
  21819. - ordertime
  21820. type: object
  21821. user.LoginQueryRsp:
  21822. properties:
  21823. areaRoles:
  21824. description: 所属角色信息
  21825. items:
  21826. $ref: '#/definitions/models.Arearole'
  21827. type: array
  21828. externalExchanges:
  21829. description: 外部交易所
  21830. items:
  21831. $ref: '#/definitions/models.Externalexchange'
  21832. type: array
  21833. goodsgroups:
  21834. description: 商品组
  21835. items:
  21836. $ref: '#/definitions/models.Goodsgroup'
  21837. type: array
  21838. loginAccount:
  21839. $ref: '#/definitions/models.Loginaccount'
  21840. description: 登录账号
  21841. markets:
  21842. description: 市场
  21843. items:
  21844. $ref: '#/definitions/models.Market'
  21845. type: array
  21846. systemParams:
  21847. description: 系统参数
  21848. items:
  21849. $ref: '#/definitions/models.Systemparam'
  21850. type: array
  21851. userAccount:
  21852. $ref: '#/definitions/models.Useraccount'
  21853. description: 用户账号
  21854. userInfo:
  21855. $ref: '#/definitions/models.Userinfo'
  21856. description: 用户信息
  21857. username:
  21858. description: 用户姓名
  21859. type: string
  21860. type: object
  21861. info:
  21862. contact: {}
  21863. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  21864. termsOfService: http://www.muchinfo.cn
  21865. title: MTP2.0 查询服务 API
  21866. version: "1.0"
  21867. paths:
  21868. /CPTrade/QueryCPTradeMyBidInfos:
  21869. get:
  21870. parameters:
  21871. - description: 资金账户
  21872. in: query
  21873. name: accountid
  21874. required: true
  21875. type: integer
  21876. - description: 预售市场ID
  21877. in: query
  21878. name: marketid
  21879. type: integer
  21880. - description: 预售商品ID
  21881. in: query
  21882. name: goodsid
  21883. type: integer
  21884. produces:
  21885. - application/json
  21886. responses:
  21887. "200":
  21888. description: OK
  21889. schema:
  21890. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  21891. "500":
  21892. description: Internal Server Error
  21893. schema:
  21894. $ref: '#/definitions/app.Response'
  21895. security:
  21896. - ApiKeyAuth: []
  21897. summary: 查询产能预售我的出价信息
  21898. tags:
  21899. - 产能预售
  21900. /CPTrade/QueryCPTradeOrderDetail:
  21901. get:
  21902. parameters:
  21903. - description: 预售商品ID
  21904. in: query
  21905. name: goodsid
  21906. type: integer
  21907. - description: 预售市场ID
  21908. in: query
  21909. name: marketid
  21910. type: integer
  21911. - description: 预售商品ID列表 - 格式:1,2,3
  21912. in: query
  21913. name: goodsids
  21914. type: string
  21915. produces:
  21916. - application/json
  21917. responses:
  21918. "200":
  21919. description: OK
  21920. schema:
  21921. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  21922. "500":
  21923. description: Internal Server Error
  21924. schema:
  21925. $ref: '#/definitions/app.Response'
  21926. security:
  21927. - ApiKeyAuth: []
  21928. summary: 查询产能预售委托单信息
  21929. tags:
  21930. - 产能预售
  21931. /CPTrade/QueryMyCPTradeGoods:
  21932. get:
  21933. parameters:
  21934. - description: 资金账户
  21935. in: query
  21936. name: accountid
  21937. required: true
  21938. type: integer
  21939. produces:
  21940. - application/json
  21941. responses:
  21942. "200":
  21943. description: OK
  21944. schema:
  21945. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  21946. "500":
  21947. description: Internal Server Error
  21948. schema:
  21949. $ref: '#/definitions/app.Response'
  21950. security:
  21951. - ApiKeyAuth: []
  21952. summary: 查询我的预售信息
  21953. tags:
  21954. - 产能预售
  21955. /CPTrade/QueryPositionCancel:
  21956. get:
  21957. parameters:
  21958. - description: 账户ID
  21959. in: query
  21960. name: userid
  21961. required: true
  21962. type: integer
  21963. - description: 注销ID
  21964. in: query
  21965. name: cancelid
  21966. type: integer
  21967. - description: 资金账户ID
  21968. in: query
  21969. name: accountid
  21970. type: integer
  21971. produces:
  21972. - application/json
  21973. responses:
  21974. "200":
  21975. description: OK
  21976. schema:
  21977. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  21978. "500":
  21979. description: Internal Server Error
  21980. schema:
  21981. $ref: '#/definitions/app.Response'
  21982. security:
  21983. - ApiKeyAuth: []
  21984. summary: 查询远期订单注销申请信息
  21985. tags:
  21986. - 产能预售
  21987. /CPTrade/QueryPreasleApply:
  21988. get:
  21989. parameters:
  21990. - description: 账户ID
  21991. in: query
  21992. name: userid
  21993. required: true
  21994. type: integer
  21995. - description: 申请ID
  21996. in: query
  21997. name: applyid
  21998. type: integer
  21999. - description: 资金账户ID
  22000. in: query
  22001. name: accountid
  22002. type: integer
  22003. produces:
  22004. - application/json
  22005. responses:
  22006. "200":
  22007. description: OK
  22008. schema:
  22009. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  22010. "500":
  22011. description: Internal Server Error
  22012. schema:
  22013. $ref: '#/definitions/app.Response'
  22014. security:
  22015. - ApiKeyAuth: []
  22016. summary: 查询产能预售申请信息
  22017. tags:
  22018. - 产能预售
  22019. /CPTrade/QueryPresaleGoodsEx:
  22020. get:
  22021. parameters:
  22022. - description: 预售商品ID
  22023. in: query
  22024. name: goodsid
  22025. type: integer
  22026. - description: 预售市场ID
  22027. in: query
  22028. name: marketid
  22029. type: integer
  22030. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  22031. in: query
  22032. name: presalemode
  22033. type: integer
  22034. - description: 预售商品ID列表 - 格式:1,2,3
  22035. in: query
  22036. name: goodsids
  22037. type: string
  22038. - description: 预售商品代码
  22039. in: query
  22040. name: goodscode
  22041. type: string
  22042. produces:
  22043. - application/json
  22044. responses:
  22045. "200":
  22046. description: OK
  22047. schema:
  22048. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  22049. "500":
  22050. description: Internal Server Error
  22051. schema:
  22052. $ref: '#/definitions/app.Response'
  22053. security:
  22054. - ApiKeyAuth: []
  22055. summary: 查询产能预售商品扩展信息
  22056. tags:
  22057. - 产能预售
  22058. /CPTrade/QueryUserGoodsData:
  22059. get:
  22060. parameters:
  22061. - description: 资金账户ID
  22062. in: query
  22063. name: accountid
  22064. required: true
  22065. type: integer
  22066. produces:
  22067. - application/json
  22068. responses:
  22069. "200":
  22070. description: OK
  22071. schema:
  22072. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  22073. "500":
  22074. description: Internal Server Error
  22075. schema:
  22076. $ref: '#/definitions/app.Response'
  22077. security:
  22078. - ApiKeyAuth: []
  22079. summary: 查询远期订单信息
  22080. tags:
  22081. - 产能预售
  22082. /Common/DeleteNewFuncmenu:
  22083. delete:
  22084. consumes:
  22085. - application/json
  22086. parameters:
  22087. - description: 菜单表数据,只需要resourcecode字段即可
  22088. in: body
  22089. name: data
  22090. required: true
  22091. schema:
  22092. $ref: '#/definitions/models.NewFuncmenulist'
  22093. produces:
  22094. - application/json
  22095. responses:
  22096. "200":
  22097. description: OK
  22098. schema:
  22099. $ref: '#/definitions/app.Response'
  22100. "500":
  22101. description: Internal Server Error
  22102. schema:
  22103. $ref: '#/definitions/app.Response'
  22104. security:
  22105. - ApiKeyAuth: []
  22106. summary: 删除菜单表数据
  22107. tags:
  22108. - 通用服务
  22109. /Common/FindNewFuncmenu:
  22110. get:
  22111. parameters:
  22112. - description: 资源代码
  22113. in: query
  22114. name: resourcecode
  22115. type: string
  22116. - description: 上级资源代码
  22117. in: query
  22118. name: parentcode
  22119. type: string
  22120. - description: 资源名(Title), 模糊查询
  22121. in: query
  22122. name: resourcename
  22123. type: string
  22124. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22125. in: query
  22126. name: menutype
  22127. type: string
  22128. produces:
  22129. - application/json
  22130. responses:
  22131. "200":
  22132. description: OK
  22133. schema:
  22134. items:
  22135. $ref: '#/definitions/models.NewFuncmenulist'
  22136. type: array
  22137. "500":
  22138. description: Internal Server Error
  22139. schema:
  22140. $ref: '#/definitions/app.Response'
  22141. security:
  22142. - ApiKeyAuth: []
  22143. summary: 获取菜单表数据
  22144. tags:
  22145. - 通用服务
  22146. /Common/GetAllEnums:
  22147. get:
  22148. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  22149. parameters:
  22150. - description: 起始自增ID
  22151. in: query
  22152. name: autoid
  22153. type: integer
  22154. produces:
  22155. - application/json
  22156. responses:
  22157. "200":
  22158. description: OK
  22159. schema:
  22160. $ref: '#/definitions/models.Enumdicitem'
  22161. "500":
  22162. description: Internal Server Error
  22163. schema:
  22164. $ref: '#/definitions/app.Response'
  22165. summary: 获取所有枚举信息
  22166. tags:
  22167. - 通用服务
  22168. /Common/GetClientMenus:
  22169. get:
  22170. parameters:
  22171. - description: 登录账号
  22172. in: query
  22173. name: loginID
  22174. required: true
  22175. type: integer
  22176. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  22177. in: query
  22178. name: clientType
  22179. type: integer
  22180. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  22181. in: query
  22182. name: name
  22183. type: string
  22184. produces:
  22185. - application/json
  22186. responses:
  22187. "200":
  22188. description: OK
  22189. schema:
  22190. items:
  22191. $ref: '#/definitions/common.ClientMenu'
  22192. type: array
  22193. "500":
  22194. description: Internal Server Error
  22195. schema:
  22196. $ref: '#/definitions/app.Response'
  22197. security:
  22198. - ApiKeyAuth: []
  22199. summary: 获取交易端菜单
  22200. tags:
  22201. - 通用服务
  22202. /Common/GetClientNewFuncmenu:
  22203. get:
  22204. parameters:
  22205. - description: 登录账号
  22206. in: query
  22207. name: loginid
  22208. required: true
  22209. type: integer
  22210. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22211. in: query
  22212. name: menutype
  22213. required: true
  22214. type: integer
  22215. produces:
  22216. - application/json
  22217. responses:
  22218. "200":
  22219. description: OK
  22220. schema:
  22221. items:
  22222. $ref: '#/definitions/models.NewFuncmenulist'
  22223. type: array
  22224. "500":
  22225. description: Internal Server Error
  22226. schema:
  22227. $ref: '#/definitions/app.Response'
  22228. security:
  22229. - ApiKeyAuth: []
  22230. summary: 获取终端菜单
  22231. tags:
  22232. - 通用服务
  22233. /Common/GetDivisions:
  22234. get:
  22235. produces:
  22236. - application/json
  22237. responses:
  22238. "200":
  22239. description: OK
  22240. schema:
  22241. $ref: '#/definitions/models.Division'
  22242. "500":
  22243. description: Internal Server Error
  22244. schema:
  22245. $ref: '#/definitions/app.Response'
  22246. summary: 查询区域信息
  22247. tags:
  22248. - 通用服务
  22249. /Common/GetPCWebMenus:
  22250. get:
  22251. parameters:
  22252. - description: 登录账号
  22253. in: query
  22254. name: loginID
  22255. required: true
  22256. type: integer
  22257. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  22258. in: query
  22259. name: name
  22260. type: string
  22261. produces:
  22262. - application/json
  22263. responses:
  22264. "200":
  22265. description: OK
  22266. schema:
  22267. items:
  22268. $ref: '#/definitions/common.PCWebMenu'
  22269. type: array
  22270. "500":
  22271. description: Internal Server Error
  22272. schema:
  22273. $ref: '#/definitions/app.Response'
  22274. security:
  22275. - ApiKeyAuth: []
  22276. summary: 获取PCWeb交易端菜单
  22277. tags:
  22278. - 通用服务
  22279. /Common/GetServerTime:
  22280. get:
  22281. produces:
  22282. - application/json
  22283. responses:
  22284. "200":
  22285. description: OK
  22286. schema:
  22287. $ref: '#/definitions/app.Response'
  22288. "500":
  22289. description: Internal Server Error
  22290. schema:
  22291. $ref: '#/definitions/app.Response'
  22292. summary: 获取服务器时间
  22293. tags:
  22294. - 通用服务
  22295. /Common/InsertNewFuncmenu:
  22296. post:
  22297. consumes:
  22298. - application/json
  22299. parameters:
  22300. - description: 菜单表数据
  22301. in: body
  22302. name: data
  22303. required: true
  22304. schema:
  22305. $ref: '#/definitions/models.NewFuncmenulist'
  22306. produces:
  22307. - application/json
  22308. responses:
  22309. "200":
  22310. description: OK
  22311. schema:
  22312. $ref: '#/definitions/app.Response'
  22313. "500":
  22314. description: Internal Server Error
  22315. schema:
  22316. $ref: '#/definitions/app.Response'
  22317. security:
  22318. - ApiKeyAuth: []
  22319. summary: 插入菜单表数据
  22320. tags:
  22321. - 通用服务
  22322. /Common/NoticeReaded:
  22323. post:
  22324. parameters:
  22325. - description: 登录账号
  22326. in: query
  22327. name: loginID
  22328. required: true
  22329. type: integer
  22330. - description: 通知公告ID
  22331. in: query
  22332. name: noticeID
  22333. required: true
  22334. type: integer
  22335. produces:
  22336. - application/json
  22337. responses:
  22338. "200":
  22339. description: OK
  22340. schema:
  22341. $ref: '#/definitions/app.Response'
  22342. "500":
  22343. description: Internal Server Error
  22344. schema:
  22345. $ref: '#/definitions/app.Response'
  22346. security:
  22347. - ApiKeyAuth: []
  22348. summary: 通知公告设置已读请求
  22349. tags:
  22350. - 通用服务
  22351. /Common/QueryErrorInfos:
  22352. get:
  22353. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22354. parameters:
  22355. - description: 起始行号前索引
  22356. in: query
  22357. name: rowNumber
  22358. type: string
  22359. produces:
  22360. - application/json
  22361. responses:
  22362. "200":
  22363. description: OK
  22364. schema:
  22365. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22366. "500":
  22367. description: Internal Server Error
  22368. schema:
  22369. $ref: '#/definitions/app.Response'
  22370. summary: 获取数据库错误信息
  22371. tags:
  22372. - 通用服务
  22373. /Common/QueryImageConfigs:
  22374. get:
  22375. parameters:
  22376. - description: 用户id
  22377. in: query
  22378. name: userId
  22379. type: integer
  22380. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22381. in: query
  22382. name: imageType
  22383. type: integer
  22384. produces:
  22385. - application/json
  22386. responses:
  22387. "200":
  22388. description: OK
  22389. schema:
  22390. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22391. "500":
  22392. description: Internal Server Error
  22393. schema:
  22394. $ref: '#/definitions/app.Response'
  22395. summary: 查询轮播图配置信息
  22396. tags:
  22397. - 通用服务
  22398. /Common/QueryNotice:
  22399. get:
  22400. parameters:
  22401. - description: 页码
  22402. in: query
  22403. name: page
  22404. type: integer
  22405. - description: 每页条数
  22406. in: query
  22407. name: pagesize
  22408. type: integer
  22409. - description: 登录账号
  22410. in: query
  22411. name: loginID
  22412. required: true
  22413. type: integer
  22414. - description: 消息类型 - 1:公告通知 2:系统消息
  22415. in: query
  22416. name: msgType
  22417. type: integer
  22418. - description: 是否只获取未读信息
  22419. in: query
  22420. name: onlyUnRead
  22421. type: boolean
  22422. - description: 自增ID,传入后会返回这个ID后面的记录
  22423. in: query
  22424. name: lastID
  22425. type: integer
  22426. produces:
  22427. - application/json
  22428. responses:
  22429. "200":
  22430. description: OK
  22431. schema:
  22432. $ref: '#/definitions/common.QueryNoticeRsp'
  22433. "500":
  22434. description: Internal Server Error
  22435. schema:
  22436. $ref: '#/definitions/app.Response'
  22437. security:
  22438. - ApiKeyAuth: []
  22439. summary: 通知公告系统消息查询
  22440. tags:
  22441. - 通用服务
  22442. /Common/QueryProvincesAndCities:
  22443. get:
  22444. parameters:
  22445. - description: 省ID
  22446. in: query
  22447. name: provinceID
  22448. type: integer
  22449. produces:
  22450. - application/json
  22451. responses:
  22452. "200":
  22453. description: OK
  22454. schema:
  22455. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22456. "500":
  22457. description: Internal Server Error
  22458. schema:
  22459. $ref: '#/definitions/app.Response'
  22460. summary: 查询省市信息(不包括区)
  22461. tags:
  22462. - 通用服务
  22463. /Common/QueryTableDefine:
  22464. get:
  22465. parameters:
  22466. - description: 表key
  22467. in: query
  22468. name: tableKey
  22469. type: string
  22470. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22471. in: query
  22472. name: tableType
  22473. type: integer
  22474. produces:
  22475. - application/json
  22476. responses:
  22477. "200":
  22478. description: OK
  22479. schema:
  22480. $ref: '#/definitions/common.QueryTableDefineRsp'
  22481. "500":
  22482. description: Internal Server Error
  22483. schema:
  22484. $ref: '#/definitions/app.Response'
  22485. summary: 查询交易端列表头信息
  22486. tags:
  22487. - 通用服务
  22488. /Common/QueryTraderMenu:
  22489. get:
  22490. parameters:
  22491. - description: 登录账号
  22492. in: query
  22493. name: loginid
  22494. required: true
  22495. type: integer
  22496. produces:
  22497. - application/json
  22498. responses:
  22499. "200":
  22500. description: OK
  22501. schema:
  22502. $ref: '#/definitions/common.QueryTraderMenuRsp'
  22503. "500":
  22504. description: Internal Server Error
  22505. schema:
  22506. $ref: '#/definitions/app.Response'
  22507. summary: 查询交易端菜单
  22508. tags:
  22509. - 通用服务
  22510. /Common/UpdateNewFuncmenu:
  22511. put:
  22512. consumes:
  22513. - application/json
  22514. parameters:
  22515. - description: 菜单表数据
  22516. in: body
  22517. name: data
  22518. required: true
  22519. schema:
  22520. $ref: '#/definitions/models.NewFuncmenulist'
  22521. produces:
  22522. - application/json
  22523. responses:
  22524. "200":
  22525. description: OK
  22526. schema:
  22527. $ref: '#/definitions/app.Response'
  22528. "500":
  22529. description: Internal Server Error
  22530. schema:
  22531. $ref: '#/definitions/app.Response'
  22532. security:
  22533. - ApiKeyAuth: []
  22534. summary: 更新菜单表数据
  22535. tags:
  22536. - 通用服务
  22537. /Delivery/QueryDeliveryRelation:
  22538. get:
  22539. parameters:
  22540. - description: 商品ID
  22541. in: query
  22542. name: goodsid
  22543. type: integer
  22544. - description: 品种ID
  22545. in: query
  22546. name: deliverygoodsid
  22547. type: integer
  22548. - description: 市场ID
  22549. in: query
  22550. name: marketid
  22551. type: integer
  22552. produces:
  22553. - application/json
  22554. responses:
  22555. "200":
  22556. description: OK
  22557. schema:
  22558. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  22559. "500":
  22560. description: Internal Server Error
  22561. schema:
  22562. $ref: '#/definitions/app.Response'
  22563. security:
  22564. - ApiKeyAuth: []
  22565. summary: 查询商品交割关系表
  22566. tags:
  22567. - 交割服务
  22568. /Ermcp/GetErmcpGoods:
  22569. get:
  22570. parameters:
  22571. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  22572. in: query
  22573. name: userid
  22574. type: integer
  22575. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22576. in: query
  22577. name: lastUpdateTime
  22578. type: string
  22579. produces:
  22580. - application/json
  22581. responses:
  22582. "200":
  22583. description: OK
  22584. schema:
  22585. $ref: '#/definitions/models.ErmcpGoods'
  22586. "500":
  22587. description: Internal Server Error
  22588. schema:
  22589. $ref: '#/definitions/app.Response'
  22590. security:
  22591. - ApiKeyAuth: []
  22592. summary: 查询企业风管期货商品信息
  22593. tags:
  22594. - 企业风险管理(app)
  22595. /Ermcp/GetErmcpGoodsSortByPosition:
  22596. get:
  22597. parameters:
  22598. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  22599. in: query
  22600. name: sortIndex
  22601. type: string
  22602. produces:
  22603. - application/json
  22604. responses:
  22605. "200":
  22606. description: OK
  22607. schema:
  22608. $ref: '#/definitions/models.Goodssortbypreposition'
  22609. "500":
  22610. description: Internal Server Error
  22611. schema:
  22612. $ref: '#/definitions/app.Response'
  22613. security:
  22614. - ApiKeyAuth: []
  22615. summary: 查询企业风管期货主力、次主力商品信息
  22616. tags:
  22617. - 企业风险管理(app)
  22618. /Ermcp/GetErmcpOutAccountStatus:
  22619. get:
  22620. parameters:
  22621. - description: 登录账号
  22622. in: query
  22623. name: loginID
  22624. required: true
  22625. type: integer
  22626. produces:
  22627. - application/json
  22628. responses:
  22629. "200":
  22630. description: OK
  22631. schema:
  22632. $ref: '#/definitions/models.Hedgemarketopenlog'
  22633. "500":
  22634. description: Internal Server Error
  22635. schema:
  22636. $ref: '#/definitions/app.Response'
  22637. security:
  22638. - ApiKeyAuth: []
  22639. summary: 获取目标登录账号当前对冲账号在线状态
  22640. tags:
  22641. - 企业风险管理(app)
  22642. /Ermcp/GetErmcpRoleFuncMenuLists:
  22643. get:
  22644. parameters:
  22645. - description: 登录账号
  22646. in: query
  22647. name: loginID
  22648. required: true
  22649. type: integer
  22650. produces:
  22651. - application/json
  22652. responses:
  22653. "200":
  22654. description: OK
  22655. schema:
  22656. $ref: '#/definitions/models.Funcmenulist'
  22657. "500":
  22658. description: Internal Server Error
  22659. schema:
  22660. $ref: '#/definitions/app.Response'
  22661. security:
  22662. - ApiKeyAuth: []
  22663. summary: 获取企业风管终端权限
  22664. tags:
  22665. - 企业风险管理(app)
  22666. /Ermcp/QueryAccMgrBizGroupSet:
  22667. get:
  22668. parameters:
  22669. - description: 用户ID
  22670. in: query
  22671. name: userid
  22672. required: true
  22673. type: integer
  22674. - description: 现货商品id
  22675. in: query
  22676. name: deliverygoodsid
  22677. type: integer
  22678. produces:
  22679. - application/json
  22680. responses:
  22681. "200":
  22682. description: OK
  22683. schema:
  22684. items:
  22685. $ref: '#/definitions/models.ErmcpBizGroupEx'
  22686. type: array
  22687. "500":
  22688. description: Internal Server Error
  22689. schema:
  22690. $ref: '#/definitions/app.Response'
  22691. security:
  22692. - ApiKeyAuth: []
  22693. summary: 查询业务类型分组(账户管理/账户设置)
  22694. tags:
  22695. - 企业风险管理(app)
  22696. /Ermcp/QueryAccMgrLoginUser:
  22697. get:
  22698. parameters:
  22699. - description: 用户ID
  22700. in: query
  22701. name: userid
  22702. required: true
  22703. type: integer
  22704. - description: 用户类型 2-机构 7-企业成员
  22705. in: query
  22706. name: usertype
  22707. type: integer
  22708. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  22709. in: query
  22710. name: querytype
  22711. required: true
  22712. type: integer
  22713. produces:
  22714. - application/json
  22715. responses:
  22716. "200":
  22717. description: OK
  22718. schema:
  22719. items:
  22720. $ref: '#/definitions/models.ErmcpLoginUserEx'
  22721. type: array
  22722. "500":
  22723. description: Internal Server Error
  22724. schema:
  22725. $ref: '#/definitions/app.Response'
  22726. security:
  22727. - ApiKeyAuth: []
  22728. summary: 查询账户管理登录账号(账户管理/登录账号)
  22729. tags:
  22730. - 企业风险管理(app)
  22731. /Ermcp/QueryAccMgrMainAccountInfo:
  22732. get:
  22733. parameters:
  22734. - description: 用户ID
  22735. in: query
  22736. name: userid
  22737. type: integer
  22738. - description: 主账号id
  22739. in: query
  22740. name: accountid
  22741. type: integer
  22742. produces:
  22743. - application/json
  22744. responses:
  22745. "200":
  22746. description: OK
  22747. schema:
  22748. items:
  22749. $ref: '#/definitions/models.MainAccountInfo'
  22750. type: array
  22751. "500":
  22752. description: Internal Server Error
  22753. schema:
  22754. $ref: '#/definitions/app.Response'
  22755. security:
  22756. - ApiKeyAuth: []
  22757. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  22758. tags:
  22759. - 企业风险管理(app)
  22760. /Ermcp/QueryAccMgrRole:
  22761. get:
  22762. parameters:
  22763. - description: 用户ID
  22764. in: query
  22765. name: userid
  22766. required: true
  22767. type: integer
  22768. produces:
  22769. - application/json
  22770. responses:
  22771. "200":
  22772. description: OK
  22773. schema:
  22774. items:
  22775. $ref: '#/definitions/models.ErmcpRole'
  22776. type: array
  22777. "500":
  22778. description: Internal Server Error
  22779. schema:
  22780. $ref: '#/definitions/app.Response'
  22781. security:
  22782. - ApiKeyAuth: []
  22783. summary: 查询账户管理角色设置(账户管理/角色设置)
  22784. tags:
  22785. - 企业风险管理(app)
  22786. /Ermcp/QueryAccMgrRoleMenu:
  22787. get:
  22788. parameters:
  22789. - description: 用户ID
  22790. in: query
  22791. name: userid
  22792. required: true
  22793. type: integer
  22794. - description: 角色id(可多个,逗号隔开)
  22795. in: query
  22796. name: roleid
  22797. type: string
  22798. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  22799. in: query
  22800. name: menutype
  22801. type: integer
  22802. produces:
  22803. - application/json
  22804. responses:
  22805. "200":
  22806. description: OK
  22807. schema:
  22808. items:
  22809. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  22810. type: array
  22811. "500":
  22812. description: Internal Server Error
  22813. schema:
  22814. $ref: '#/definitions/app.Response'
  22815. security:
  22816. - ApiKeyAuth: []
  22817. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  22818. tags:
  22819. - 企业风险管理(app)
  22820. /Ermcp/QueryAccMgrTaAccountInfo:
  22821. get:
  22822. parameters:
  22823. - description: 用户ID
  22824. in: query
  22825. name: userid
  22826. required: true
  22827. type: integer
  22828. - description: 账号id
  22829. in: query
  22830. name: accountid
  22831. type: integer
  22832. produces:
  22833. - application/json
  22834. responses:
  22835. "200":
  22836. description: OK
  22837. schema:
  22838. items:
  22839. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  22840. type: array
  22841. "500":
  22842. description: Internal Server Error
  22843. schema:
  22844. $ref: '#/definitions/app.Response'
  22845. security:
  22846. - ApiKeyAuth: []
  22847. summary: 查询账户管理授信(账户管理/账户设置/授信)
  22848. tags:
  22849. - 企业风险管理(app)
  22850. /Ermcp/QueryAccMgrTaaccount:
  22851. get:
  22852. parameters:
  22853. - description: 用户ID
  22854. in: query
  22855. name: userid
  22856. required: true
  22857. type: integer
  22858. produces:
  22859. - application/json
  22860. responses:
  22861. "200":
  22862. description: OK
  22863. schema:
  22864. items:
  22865. $ref: '#/definitions/models.ErmcpTaAccountEx'
  22866. type: array
  22867. "500":
  22868. description: Internal Server Error
  22869. schema:
  22870. $ref: '#/definitions/app.Response'
  22871. security:
  22872. - ApiKeyAuth: []
  22873. summary: 查询账户管理期货账号(账户管理/期货账号)
  22874. tags:
  22875. - 企业风险管理(app)
  22876. /Ermcp/QueryAvaildGoodsGroup:
  22877. get:
  22878. parameters:
  22879. - description: 所属机构ID
  22880. in: query
  22881. name: userid
  22882. required: true
  22883. type: integer
  22884. produces:
  22885. - application/json
  22886. responses:
  22887. "200":
  22888. description: OK
  22889. schema:
  22890. items:
  22891. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  22892. type: array
  22893. "500":
  22894. description: Internal Server Error
  22895. schema:
  22896. $ref: '#/definitions/app.Response'
  22897. security:
  22898. - ApiKeyAuth: []
  22899. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  22900. tags:
  22901. - 企业风险管理(app)
  22902. /Ermcp/QueryBusinessDj:
  22903. get:
  22904. parameters:
  22905. - description: 用户ID
  22906. in: query
  22907. name: UserId
  22908. required: true
  22909. type: integer
  22910. - description: 用户类型 2-机构 7-企业成员
  22911. in: query
  22912. name: usertype
  22913. type: integer
  22914. - description: 现货合同ID, 不填则查所有
  22915. in: query
  22916. name: relatedid
  22917. type: string
  22918. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22919. in: query
  22920. name: applystatus
  22921. type: string
  22922. produces:
  22923. - application/json
  22924. responses:
  22925. "200":
  22926. description: OK
  22927. schema:
  22928. items:
  22929. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  22930. type: array
  22931. "500":
  22932. description: Internal Server Error
  22933. schema:
  22934. $ref: '#/definitions/app.Response'
  22935. security:
  22936. - ApiKeyAuth: []
  22937. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  22938. tags:
  22939. - 企业风险管理(app)
  22940. /Ermcp/QueryBusinessFp:
  22941. get:
  22942. parameters:
  22943. - description: 用户ID
  22944. in: query
  22945. name: UserId
  22946. required: true
  22947. type: integer
  22948. - description: 用户类型 2-机构 7-企业成员
  22949. in: query
  22950. name: usertype
  22951. type: integer
  22952. - description: 现货合同ID, 不填则查所有
  22953. in: query
  22954. name: relatedid
  22955. type: string
  22956. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22957. in: query
  22958. name: applystatus
  22959. type: string
  22960. produces:
  22961. - application/json
  22962. responses:
  22963. "200":
  22964. description: OK
  22965. schema:
  22966. items:
  22967. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  22968. type: array
  22969. "500":
  22970. description: Internal Server Error
  22971. schema:
  22972. $ref: '#/definitions/app.Response'
  22973. security:
  22974. - ApiKeyAuth: []
  22975. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  22976. tags:
  22977. - 企业风险管理(app)
  22978. /Ermcp/QueryBusinessJs:
  22979. get:
  22980. parameters:
  22981. - description: 用户ID
  22982. in: query
  22983. name: UserId
  22984. required: true
  22985. type: integer
  22986. - description: 用户类型 2-机构 7-企业成员
  22987. in: query
  22988. name: usertype
  22989. type: integer
  22990. - description: 现货合同ID, 不填则查所有
  22991. in: query
  22992. name: relatedid
  22993. type: string
  22994. - description: 操作申请id
  22995. in: query
  22996. name: operateapplyid
  22997. type: string
  22998. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22999. in: query
  23000. name: applystatus
  23001. type: string
  23002. produces:
  23003. - application/json
  23004. responses:
  23005. "200":
  23006. description: OK
  23007. schema:
  23008. items:
  23009. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  23010. type: array
  23011. "500":
  23012. description: Internal Server Error
  23013. schema:
  23014. $ref: '#/definitions/app.Response'
  23015. security:
  23016. - ApiKeyAuth: []
  23017. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  23018. tags:
  23019. - 企业风险管理(app)
  23020. /Ermcp/QueryBusinessJsEx:
  23021. get:
  23022. parameters:
  23023. - description: 用户ID
  23024. in: query
  23025. name: UserId
  23026. required: true
  23027. type: integer
  23028. - description: 用户类型 2-机构 7-企业成员
  23029. in: query
  23030. name: usertype
  23031. type: integer
  23032. - description: 现货合同ID, 不填则查所有
  23033. in: query
  23034. name: relatedid
  23035. type: string
  23036. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23037. in: query
  23038. name: applystatus
  23039. type: string
  23040. produces:
  23041. - application/json
  23042. responses:
  23043. "200":
  23044. description: OK
  23045. schema:
  23046. items:
  23047. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  23048. type: array
  23049. "500":
  23050. description: Internal Server Error
  23051. schema:
  23052. $ref: '#/definitions/app.Response'
  23053. security:
  23054. - ApiKeyAuth: []
  23055. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  23056. tags:
  23057. - 企业风险管理(app)
  23058. /Ermcp/QueryBusinessKx:
  23059. get:
  23060. parameters:
  23061. - description: 用户ID
  23062. in: query
  23063. name: UserId
  23064. required: true
  23065. type: integer
  23066. - description: 用户类型 2-机构 7-企业成员
  23067. in: query
  23068. name: usertype
  23069. type: integer
  23070. - description: 现货合同ID, 不填则查所有
  23071. in: query
  23072. name: relatedid
  23073. type: string
  23074. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23075. in: query
  23076. name: applystatus
  23077. type: string
  23078. produces:
  23079. - application/json
  23080. responses:
  23081. "200":
  23082. description: OK
  23083. schema:
  23084. items:
  23085. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  23086. type: array
  23087. "500":
  23088. description: Internal Server Error
  23089. schema:
  23090. $ref: '#/definitions/app.Response'
  23091. security:
  23092. - ApiKeyAuth: []
  23093. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  23094. tags:
  23095. - 企业风险管理(app)
  23096. /Ermcp/QueryChangeLog:
  23097. get:
  23098. parameters:
  23099. - description: 合同ID
  23100. in: query
  23101. name: RelatedId
  23102. required: true
  23103. type: string
  23104. produces:
  23105. - application/json
  23106. responses:
  23107. "200":
  23108. description: OK
  23109. schema:
  23110. items:
  23111. $ref: '#/definitions/ermcp.QryOPLogRsp'
  23112. type: array
  23113. "500":
  23114. description: Internal Server Error
  23115. schema:
  23116. $ref: '#/definitions/app.Response'
  23117. security:
  23118. - ApiKeyAuth: []
  23119. summary: 查询变更记录
  23120. tags:
  23121. - 企业风险管理(app)
  23122. /Ermcp/QueryErmcpHisOrderDetails:
  23123. get:
  23124. parameters:
  23125. - description: 资金账户ID
  23126. in: query
  23127. name: accountID
  23128. required: true
  23129. type: integer
  23130. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23131. in: query
  23132. name: startDate
  23133. type: string
  23134. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23135. in: query
  23136. name: endDate
  23137. type: string
  23138. produces:
  23139. - application/json
  23140. responses:
  23141. "200":
  23142. description: OK
  23143. schema:
  23144. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23145. "500":
  23146. description: Internal Server Error
  23147. schema:
  23148. $ref: '#/definitions/app.Response'
  23149. security:
  23150. - ApiKeyAuth: []
  23151. summary: 获取企业风管期货历史委托单信息
  23152. tags:
  23153. - 企业风险管理(app)
  23154. /Ermcp/QueryErmcpHisTradeDetails:
  23155. get:
  23156. parameters:
  23157. - description: 资金账户ID
  23158. in: query
  23159. name: accountID
  23160. required: true
  23161. type: integer
  23162. - description: 商品ID
  23163. in: query
  23164. name: goodsID
  23165. type: integer
  23166. - description: 买卖方向,0:买 1:卖
  23167. in: query
  23168. name: buyOrSell
  23169. type: integer
  23170. - description: 关联委托单号
  23171. in: query
  23172. name: orderID
  23173. type: integer
  23174. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23175. in: query
  23176. name: startDate
  23177. type: string
  23178. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23179. in: query
  23180. name: endDate
  23181. type: string
  23182. produces:
  23183. - application/json
  23184. responses:
  23185. "200":
  23186. description: OK
  23187. schema:
  23188. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23189. "500":
  23190. description: Internal Server Error
  23191. schema:
  23192. $ref: '#/definitions/app.Response'
  23193. security:
  23194. - ApiKeyAuth: []
  23195. summary: 获取企业风管期货历史成交单信息
  23196. tags:
  23197. - 企业风险管理(app)
  23198. /Ermcp/QueryErmcpInnerHolderDetails:
  23199. get:
  23200. parameters:
  23201. - description: 资金账户ID
  23202. in: query
  23203. name: accountID
  23204. required: true
  23205. type: integer
  23206. - description: 商品ID
  23207. in: query
  23208. name: goodsID
  23209. type: integer
  23210. - description: 买卖方向,0:买 1:卖
  23211. in: query
  23212. name: buyOrSell
  23213. type: integer
  23214. produces:
  23215. - application/json
  23216. responses:
  23217. "200":
  23218. description: OK
  23219. schema:
  23220. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  23221. "500":
  23222. description: Internal Server Error
  23223. schema:
  23224. $ref: '#/definitions/app.Response'
  23225. security:
  23226. - ApiKeyAuth: []
  23227. summary: 获取企业风管期货内部持仓单信息
  23228. tags:
  23229. - 企业风险管理(app)
  23230. /Ermcp/QueryErmcpOrderDetails:
  23231. get:
  23232. parameters:
  23233. - description: 资金账户ID
  23234. in: query
  23235. name: accountID
  23236. required: true
  23237. type: integer
  23238. produces:
  23239. - application/json
  23240. responses:
  23241. "200":
  23242. description: OK
  23243. schema:
  23244. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23245. "500":
  23246. description: Internal Server Error
  23247. schema:
  23248. $ref: '#/definitions/app.Response'
  23249. security:
  23250. - ApiKeyAuth: []
  23251. summary: 获取企业风管期货委托单信息
  23252. tags:
  23253. - 企业风险管理(app)
  23254. /Ermcp/QueryErmcpTradeDetails:
  23255. get:
  23256. parameters:
  23257. - description: 资金账户ID
  23258. in: query
  23259. name: accountID
  23260. required: true
  23261. type: integer
  23262. - description: 商品ID
  23263. in: query
  23264. name: goodsID
  23265. type: integer
  23266. - description: 买卖方向,0:买 1:卖
  23267. in: query
  23268. name: buyOrSell
  23269. type: integer
  23270. - description: 关联委托单号
  23271. in: query
  23272. name: orderID
  23273. type: integer
  23274. produces:
  23275. - application/json
  23276. responses:
  23277. "200":
  23278. description: OK
  23279. schema:
  23280. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23281. "500":
  23282. description: Internal Server Error
  23283. schema:
  23284. $ref: '#/definitions/app.Response'
  23285. security:
  23286. - ApiKeyAuth: []
  23287. summary: 获取企业风管期货成交单信息
  23288. tags:
  23289. - 企业风险管理(app)
  23290. /Ermcp/QueryErmcpTradePosition:
  23291. get:
  23292. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  23293. parameters:
  23294. - description: 资金账户ID
  23295. in: query
  23296. name: accountID
  23297. required: true
  23298. type: integer
  23299. - description: 所属市场ID
  23300. in: query
  23301. name: marketID
  23302. type: integer
  23303. produces:
  23304. - application/json
  23305. responses:
  23306. "200":
  23307. description: OK
  23308. schema:
  23309. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  23310. "500":
  23311. description: Internal Server Error
  23312. schema:
  23313. $ref: '#/definitions/app.Response'
  23314. security:
  23315. - ApiKeyAuth: []
  23316. summary: 获取企业风管期货持仓头寸信息
  23317. tags:
  23318. - 企业风险管理(app)
  23319. /Ermcp/QueryExposureDetail:
  23320. get:
  23321. parameters:
  23322. - description: 所属机构ID
  23323. in: query
  23324. name: areaUserId
  23325. required: true
  23326. type: integer
  23327. - description: 套保商品
  23328. in: query
  23329. name: middleGoodsId
  23330. required: true
  23331. type: integer
  23332. produces:
  23333. - application/json
  23334. responses:
  23335. "200":
  23336. description: OK
  23337. schema:
  23338. items:
  23339. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  23340. type: array
  23341. "500":
  23342. description: Internal Server Error
  23343. schema:
  23344. $ref: '#/definitions/app.Response'
  23345. security:
  23346. - ApiKeyAuth: []
  23347. summary: 查询敞口现货明细
  23348. tags:
  23349. - 企业风险管理(app)
  23350. /Ermcp/QueryExposureGoods:
  23351. get:
  23352. parameters:
  23353. - description: 套保商品id
  23354. in: query
  23355. name: middlegoodsid
  23356. required: true
  23357. type: integer
  23358. produces:
  23359. - application/json
  23360. responses:
  23361. "200":
  23362. description: OK
  23363. schema:
  23364. items:
  23365. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23366. type: array
  23367. "500":
  23368. description: Internal Server Error
  23369. schema:
  23370. $ref: '#/definitions/app.Response'
  23371. security:
  23372. - ApiKeyAuth: []
  23373. summary: 查询敞口主力合约
  23374. tags:
  23375. - 企业风险管理(app)
  23376. /Ermcp/QueryExposureHedgePosition:
  23377. get:
  23378. parameters:
  23379. - description: 用户id
  23380. in: query
  23381. name: userid
  23382. required: true
  23383. type: integer
  23384. produces:
  23385. - application/json
  23386. responses:
  23387. "200":
  23388. description: OK
  23389. schema:
  23390. items:
  23391. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23392. type: array
  23393. "500":
  23394. description: Internal Server Error
  23395. schema:
  23396. $ref: '#/definitions/app.Response'
  23397. security:
  23398. - ApiKeyAuth: []
  23399. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23400. tags:
  23401. - 企业风险管理(app)
  23402. /Ermcp/QueryExposureHedgePositionDetail:
  23403. get:
  23404. parameters:
  23405. - description: 所属机构ID
  23406. in: query
  23407. name: userid
  23408. required: true
  23409. type: integer
  23410. - description: 商品id
  23411. in: query
  23412. name: goodsId
  23413. required: true
  23414. type: integer
  23415. produces:
  23416. - application/json
  23417. responses:
  23418. "200":
  23419. description: OK
  23420. schema:
  23421. items:
  23422. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23423. type: array
  23424. "500":
  23425. description: Internal Server Error
  23426. schema:
  23427. $ref: '#/definitions/app.Response'
  23428. security:
  23429. - ApiKeyAuth: []
  23430. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23431. tags:
  23432. - 企业风险管理(app)
  23433. /Ermcp/QueryExposureSpot:
  23434. get:
  23435. parameters:
  23436. - description: 所属机构ID
  23437. in: query
  23438. name: areaUserId
  23439. required: true
  23440. type: integer
  23441. produces:
  23442. - application/json
  23443. responses:
  23444. "200":
  23445. description: OK
  23446. schema:
  23447. items:
  23448. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23449. type: array
  23450. "500":
  23451. description: Internal Server Error
  23452. schema:
  23453. $ref: '#/definitions/app.Response'
  23454. security:
  23455. - ApiKeyAuth: []
  23456. summary: 查询敞口现货头寸(敞口/现货头寸)
  23457. tags:
  23458. - 企业风险管理(app)
  23459. /Ermcp/QueryExposureSpotDetail:
  23460. get:
  23461. parameters:
  23462. - description: 所属机构ID
  23463. in: query
  23464. name: areaUserId
  23465. required: true
  23466. type: integer
  23467. - description: 现货品种ID
  23468. in: query
  23469. name: wrstandardId
  23470. required: true
  23471. type: integer
  23472. produces:
  23473. - application/json
  23474. responses:
  23475. "200":
  23476. description: OK
  23477. schema:
  23478. items:
  23479. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23480. type: array
  23481. "500":
  23482. description: Internal Server Error
  23483. schema:
  23484. $ref: '#/definitions/app.Response'
  23485. security:
  23486. - ApiKeyAuth: []
  23487. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23488. tags:
  23489. - 企业风险管理(app)
  23490. /Ermcp/QueryFuturesCompany:
  23491. get:
  23492. produces:
  23493. - application/json
  23494. responses:
  23495. "200":
  23496. description: OK
  23497. schema:
  23498. items:
  23499. $ref: '#/definitions/models.ErmcpFuturesCompany'
  23500. type: array
  23501. "500":
  23502. description: Internal Server Error
  23503. schema:
  23504. $ref: '#/definitions/app.Response'
  23505. security:
  23506. - ApiKeyAuth: []
  23507. summary: 查询期货公司
  23508. tags:
  23509. - 企业风险管理(app)
  23510. /Ermcp/QueryGGConvertConfig:
  23511. get:
  23512. parameters:
  23513. - description: 品种id(不填则查所有)
  23514. in: query
  23515. name: goodsgroupid
  23516. type: integer
  23517. produces:
  23518. - application/json
  23519. responses:
  23520. "200":
  23521. description: OK
  23522. schema:
  23523. items:
  23524. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  23525. type: array
  23526. "500":
  23527. description: Internal Server Error
  23528. schema:
  23529. $ref: '#/definitions/app.Response'
  23530. security:
  23531. - ApiKeyAuth: []
  23532. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  23533. tags:
  23534. - 企业风险管理(app)
  23535. /Ermcp/QueryGoodsBrand:
  23536. get:
  23537. parameters:
  23538. - description: 用户ID
  23539. in: query
  23540. name: userid
  23541. required: true
  23542. type: integer
  23543. - description: 现货商品ID
  23544. in: query
  23545. name: wrstandardid
  23546. type: integer
  23547. produces:
  23548. - application/json
  23549. responses:
  23550. "200":
  23551. description: OK
  23552. schema:
  23553. items:
  23554. $ref: '#/definitions/models.ErmcpGoodsBrand'
  23555. type: array
  23556. "500":
  23557. description: Internal Server Error
  23558. schema:
  23559. $ref: '#/definitions/app.Response'
  23560. security:
  23561. - ApiKeyAuth: []
  23562. summary: 查询商品品牌
  23563. tags:
  23564. - 企业风险管理(app)
  23565. /Ermcp/QueryGoodsModel:
  23566. get:
  23567. parameters:
  23568. - description: 用户ID
  23569. in: query
  23570. name: userid
  23571. required: true
  23572. type: integer
  23573. produces:
  23574. - application/json
  23575. responses:
  23576. "200":
  23577. description: OK
  23578. schema:
  23579. items:
  23580. $ref: '#/definitions/models.ErmcpGoodsModel'
  23581. type: array
  23582. "500":
  23583. description: Internal Server Error
  23584. schema:
  23585. $ref: '#/definitions/app.Response'
  23586. security:
  23587. - ApiKeyAuth: []
  23588. summary: 查询商品型号
  23589. tags:
  23590. - 企业风险管理(app)
  23591. /Ermcp/QueryHisExposure:
  23592. get:
  23593. parameters:
  23594. - description: 用户id
  23595. in: query
  23596. name: userid
  23597. required: true
  23598. type: integer
  23599. - description: 每个品种记录数
  23600. in: query
  23601. name: lastNum
  23602. required: true
  23603. type: integer
  23604. produces:
  23605. - application/json
  23606. responses:
  23607. "200":
  23608. description: OK
  23609. schema:
  23610. items:
  23611. $ref: '#/definitions/ermcp.HisExposureRsp'
  23612. type: array
  23613. "500":
  23614. description: Internal Server Error
  23615. schema:
  23616. $ref: '#/definitions/app.Response'
  23617. security:
  23618. - ApiKeyAuth: []
  23619. summary: 查询历史敞口(菜单:敞口/历史敞口)
  23620. tags:
  23621. - 企业风险管理(app)
  23622. /Ermcp/QueryMiddleGoods:
  23623. get:
  23624. parameters:
  23625. - description: 所属机构ID
  23626. in: query
  23627. name: userid
  23628. required: true
  23629. type: integer
  23630. - description: 状态 0-停用 1-正常
  23631. in: query
  23632. name: status
  23633. required: true
  23634. type: integer
  23635. produces:
  23636. - application/json
  23637. responses:
  23638. "200":
  23639. description: OK
  23640. schema:
  23641. items:
  23642. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  23643. type: array
  23644. "500":
  23645. description: Internal Server Error
  23646. schema:
  23647. $ref: '#/definitions/app.Response'
  23648. security:
  23649. - ApiKeyAuth: []
  23650. summary: 查询套保品种(菜单:套保品种)
  23651. tags:
  23652. - 企业风险管理(app)
  23653. /Ermcp/QueryMiddleGoodsChangeLog:
  23654. get:
  23655. parameters:
  23656. - description: 所属机构ID
  23657. in: query
  23658. name: userid
  23659. required: true
  23660. type: integer
  23661. - description: 套保品种id
  23662. in: query
  23663. name: middlegoodsid
  23664. required: true
  23665. type: integer
  23666. produces:
  23667. - application/json
  23668. responses:
  23669. "200":
  23670. description: OK
  23671. schema:
  23672. items:
  23673. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  23674. type: array
  23675. "500":
  23676. description: Internal Server Error
  23677. schema:
  23678. $ref: '#/definitions/app.Response'
  23679. security:
  23680. - ApiKeyAuth: []
  23681. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  23682. tags:
  23683. - 企业风险管理(app)
  23684. /Ermcp/QueryMiddleGoodsDetail:
  23685. get:
  23686. parameters:
  23687. - description: 所属机构ID
  23688. in: query
  23689. name: userid
  23690. required: true
  23691. type: integer
  23692. - description: 套保品种id
  23693. in: query
  23694. name: middlegoodsid
  23695. type: integer
  23696. produces:
  23697. - application/json
  23698. responses:
  23699. "200":
  23700. description: OK
  23701. schema:
  23702. items:
  23703. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  23704. type: array
  23705. "500":
  23706. description: Internal Server Error
  23707. schema:
  23708. $ref: '#/definitions/app.Response'
  23709. security:
  23710. - ApiKeyAuth: []
  23711. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  23712. tags:
  23713. - 企业风险管理(app)
  23714. /Ermcp/QueryPendingAuditInfo:
  23715. get:
  23716. parameters:
  23717. - description: 用户ID
  23718. in: query
  23719. name: UserId
  23720. required: true
  23721. type: integer
  23722. produces:
  23723. - application/json
  23724. responses:
  23725. "200":
  23726. description: OK
  23727. schema:
  23728. items:
  23729. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  23730. type: array
  23731. "500":
  23732. description: Internal Server Error
  23733. schema:
  23734. $ref: '#/definitions/app.Response'
  23735. security:
  23736. - ApiKeyAuth: []
  23737. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  23738. tags:
  23739. - 企业风险管理(app)
  23740. /Ermcp/QueryRealtimeExposure:
  23741. get:
  23742. parameters:
  23743. - description: 所属机构ID
  23744. in: query
  23745. name: userid
  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.RealtimeExposureRsp'
  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/QueryRealtimeExposurePosition:
  23767. get:
  23768. parameters:
  23769. - description: 用户id
  23770. in: query
  23771. name: userid
  23772. required: true
  23773. type: integer
  23774. - description: 套保商品ID
  23775. in: query
  23776. name: middleGoodsId
  23777. required: true
  23778. type: integer
  23779. produces:
  23780. - application/json
  23781. responses:
  23782. "200":
  23783. description: OK
  23784. schema:
  23785. items:
  23786. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  23787. type: array
  23788. "500":
  23789. description: Internal Server Error
  23790. schema:
  23791. $ref: '#/definitions/app.Response'
  23792. security:
  23793. - ApiKeyAuth: []
  23794. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  23795. tags:
  23796. - 企业风险管理(app)
  23797. /Ermcp/QueryRoleMenu:
  23798. get:
  23799. parameters:
  23800. - description: 登录ID
  23801. in: query
  23802. name: loginid
  23803. required: true
  23804. type: integer
  23805. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  23806. in: query
  23807. name: menutype
  23808. type: integer
  23809. produces:
  23810. - application/json
  23811. responses:
  23812. "200":
  23813. description: OK
  23814. schema:
  23815. items:
  23816. $ref: '#/definitions/models.RoleMenu'
  23817. type: array
  23818. "500":
  23819. description: Internal Server Error
  23820. schema:
  23821. $ref: '#/definitions/app.Response'
  23822. security:
  23823. - ApiKeyAuth: []
  23824. summary: 查询角色菜单和权限
  23825. tags:
  23826. - 企业风险管理(app)
  23827. /Ermcp/QueryTradeConfigTMP:
  23828. get:
  23829. parameters:
  23830. - description: 所属机构id
  23831. in: query
  23832. name: areauserid
  23833. type: integer
  23834. produces:
  23835. - application/json
  23836. responses:
  23837. "200":
  23838. description: OK
  23839. schema:
  23840. items:
  23841. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  23842. type: array
  23843. "500":
  23844. description: Internal Server Error
  23845. schema:
  23846. $ref: '#/definitions/app.Response'
  23847. security:
  23848. - ApiKeyAuth: []
  23849. summary: 查询交易模板配置
  23850. tags:
  23851. - 企业风险管理(app)
  23852. /Ermcp/QueryUserInfo:
  23853. get:
  23854. parameters:
  23855. - description: 所属机构用户ID
  23856. in: query
  23857. name: MemberUserID
  23858. required: true
  23859. type: integer
  23860. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  23861. in: query
  23862. name: queryType
  23863. required: true
  23864. type: integer
  23865. produces:
  23866. - application/json
  23867. responses:
  23868. "200":
  23869. description: OK
  23870. schema:
  23871. items:
  23872. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  23873. type: array
  23874. "500":
  23875. description: Internal Server Error
  23876. schema:
  23877. $ref: '#/definitions/app.Response'
  23878. security:
  23879. - ApiKeyAuth: []
  23880. summary: 查询客户资料
  23881. tags:
  23882. - 企业风险管理(app)
  23883. /Ermcp/QueryWarehouseInfo:
  23884. get:
  23885. parameters:
  23886. - description: 用户ID
  23887. in: query
  23888. name: userid
  23889. required: true
  23890. type: integer
  23891. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  23892. in: query
  23893. name: status
  23894. type: string
  23895. produces:
  23896. - application/json
  23897. responses:
  23898. "200":
  23899. description: OK
  23900. schema:
  23901. items:
  23902. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  23903. type: array
  23904. "500":
  23905. description: Internal Server Error
  23906. schema:
  23907. $ref: '#/definitions/app.Response'
  23908. security:
  23909. - ApiKeyAuth: []
  23910. summary: 查询仓库信息
  23911. tags:
  23912. - 企业风险管理(app)
  23913. /Ermcp3/QryAreaExpourseContractDetail:
  23914. get:
  23915. parameters:
  23916. - description: 用户ID
  23917. in: query
  23918. name: userid
  23919. required: true
  23920. type: integer
  23921. - description: 套保商品id
  23922. in: query
  23923. name: middlegoodsid
  23924. required: true
  23925. type: integer
  23926. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23927. in: query
  23928. name: cycletype
  23929. required: true
  23930. type: integer
  23931. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23932. 全(0)【原值】
  23933. in: query
  23934. name: cycletime
  23935. required: true
  23936. type: string
  23937. produces:
  23938. - application/json
  23939. responses:
  23940. "200":
  23941. description: OK
  23942. schema:
  23943. items:
  23944. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  23945. type: array
  23946. "500":
  23947. description: Internal Server Error
  23948. schema:
  23949. $ref: '#/definitions/app.Response'
  23950. security:
  23951. - ApiKeyAuth: []
  23952. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  23953. tags:
  23954. - 企业风险管理v3(app)
  23955. /Ermcp3/QryAreaExpourseFutuDetail:
  23956. get:
  23957. parameters:
  23958. - description: 用户ID
  23959. in: query
  23960. name: userid
  23961. required: true
  23962. type: integer
  23963. - description: 套保商品id
  23964. in: query
  23965. name: middlegoodsid
  23966. required: true
  23967. type: integer
  23968. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23969. in: query
  23970. name: cycletype
  23971. required: true
  23972. type: integer
  23973. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23974. 全(0)【原值】
  23975. in: query
  23976. name: cycletime
  23977. required: true
  23978. type: string
  23979. produces:
  23980. - application/json
  23981. responses:
  23982. "200":
  23983. description: OK
  23984. schema:
  23985. items:
  23986. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  23987. type: array
  23988. "500":
  23989. description: Internal Server Error
  23990. schema:
  23991. $ref: '#/definitions/app.Response'
  23992. security:
  23993. - ApiKeyAuth: []
  23994. summary: 查询敞口期货明细(敞口报表/期货明细)
  23995. tags:
  23996. - 企业风险管理v3(app)
  23997. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  23998. get:
  23999. parameters:
  24000. - description: 用户ID
  24001. in: query
  24002. name: userid
  24003. required: true
  24004. type: integer
  24005. - description: 套保商品id
  24006. in: query
  24007. name: middlegoodsid
  24008. required: true
  24009. type: integer
  24010. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24011. in: query
  24012. name: cycletype
  24013. required: true
  24014. type: integer
  24015. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24016. 全(0)【原值】
  24017. in: query
  24018. name: cycletime
  24019. required: true
  24020. type: string
  24021. produces:
  24022. - application/json
  24023. responses:
  24024. "200":
  24025. description: OK
  24026. schema:
  24027. items:
  24028. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  24029. type: array
  24030. "500":
  24031. description: Internal Server Error
  24032. schema:
  24033. $ref: '#/definitions/app.Response'
  24034. security:
  24035. - ApiKeyAuth: []
  24036. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  24037. tags:
  24038. - 企业风险管理v3(app)
  24039. /Ermcp3/QryAreaExpourseParamChLogDetail:
  24040. get:
  24041. parameters:
  24042. - description: 用户ID
  24043. in: query
  24044. name: userid
  24045. required: true
  24046. type: integer
  24047. - description: 套保商品id
  24048. in: query
  24049. name: middlegoodsid
  24050. required: true
  24051. type: integer
  24052. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24053. in: query
  24054. name: cycletype
  24055. required: true
  24056. type: integer
  24057. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24058. 全(0)【原值】
  24059. in: query
  24060. name: cycletime
  24061. required: true
  24062. type: string
  24063. produces:
  24064. - application/json
  24065. responses:
  24066. "200":
  24067. description: OK
  24068. schema:
  24069. items:
  24070. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  24071. type: array
  24072. "500":
  24073. description: Internal Server Error
  24074. schema:
  24075. $ref: '#/definitions/app.Response'
  24076. security:
  24077. - ApiKeyAuth: []
  24078. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  24079. tags:
  24080. - 企业风险管理v3(app)
  24081. /Ermcp3/QryAreaExpourseReport:
  24082. get:
  24083. parameters:
  24084. - description: 用户ID
  24085. in: query
  24086. name: userid
  24087. required: true
  24088. type: integer
  24089. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  24090. in: query
  24091. name: querytype
  24092. required: true
  24093. type: integer
  24094. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24095. in: query
  24096. name: cycletype
  24097. required: true
  24098. type: integer
  24099. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24100. 全(0)【原值】
  24101. in: query
  24102. name: cycletime
  24103. required: true
  24104. type: string
  24105. produces:
  24106. - application/json
  24107. responses:
  24108. "200":
  24109. description: OK
  24110. schema:
  24111. items:
  24112. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  24113. type: array
  24114. "500":
  24115. description: Internal Server Error
  24116. schema:
  24117. $ref: '#/definitions/app.Response'
  24118. security:
  24119. - ApiKeyAuth: []
  24120. summary: 查询敞口报表
  24121. tags:
  24122. - 企业风险管理v3(app)
  24123. /Ermcp3/QryAreaSpotplReport:
  24124. get:
  24125. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  24126. parameters:
  24127. - description: 用户ID
  24128. in: query
  24129. name: userid
  24130. required: true
  24131. type: integer
  24132. - description: 查询类型 1-报表 2-报表明细
  24133. in: query
  24134. name: querytype
  24135. required: true
  24136. type: integer
  24137. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24138. in: query
  24139. name: cycletype
  24140. required: true
  24141. type: integer
  24142. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24143. 全(0)【原值】
  24144. in: query
  24145. name: cycletime
  24146. required: true
  24147. type: string
  24148. - description: 现货品种id(明细必填)
  24149. in: query
  24150. name: deliverygoodsid
  24151. type: integer
  24152. - description: 币种id(明细必填)
  24153. in: query
  24154. name: currencyid
  24155. type: integer
  24156. - description: 日/周/月报表汇总维度 1:品种+品类
  24157. in: query
  24158. name: sumflag
  24159. type: integer
  24160. produces:
  24161. - application/json
  24162. responses:
  24163. "200":
  24164. description: OK
  24165. schema:
  24166. items:
  24167. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  24168. type: array
  24169. "500":
  24170. description: Internal Server Error
  24171. schema:
  24172. $ref: '#/definitions/app.Response'
  24173. security:
  24174. - ApiKeyAuth: []
  24175. summary: 查询现货报表
  24176. tags:
  24177. - 企业风险管理v3(app)
  24178. /Ermcp3/QryAreaStockReport:
  24179. get:
  24180. parameters:
  24181. - description: 用户ID
  24182. in: query
  24183. name: userid
  24184. required: true
  24185. type: integer
  24186. - description: 查询类型 1-报表 2-报表明细
  24187. in: query
  24188. name: querytype
  24189. required: true
  24190. type: integer
  24191. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24192. in: query
  24193. name: cycletype
  24194. required: true
  24195. type: integer
  24196. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24197. 全(0)【原值】
  24198. in: query
  24199. name: cycletime
  24200. required: true
  24201. type: string
  24202. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  24203. in: query
  24204. name: sumfields
  24205. type: string
  24206. - description: 品种ID
  24207. in: query
  24208. name: deliverygoodsid
  24209. type: integer
  24210. - description: 品类ID
  24211. in: query
  24212. name: wrstandardid
  24213. type: integer
  24214. - description: 品牌ID
  24215. in: query
  24216. name: spotgoodsbrandid
  24217. type: integer
  24218. - description: 仓库ID
  24219. in: query
  24220. name: warehouseinfoid
  24221. type: integer
  24222. produces:
  24223. - application/json
  24224. responses:
  24225. "200":
  24226. description: OK
  24227. schema:
  24228. items:
  24229. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  24230. type: array
  24231. "500":
  24232. description: Internal Server Error
  24233. schema:
  24234. $ref: '#/definitions/app.Response'
  24235. security:
  24236. - ApiKeyAuth: []
  24237. summary: 查询库存报表
  24238. tags:
  24239. - 企业风险管理v3(app)
  24240. /Ermcp3/QryAreaSumPL:
  24241. get:
  24242. parameters:
  24243. - description: 用户ID
  24244. in: query
  24245. name: userid
  24246. required: true
  24247. type: integer
  24248. - description: 查询类型 1-报表 2-报表明细
  24249. in: query
  24250. name: querytype
  24251. required: true
  24252. type: integer
  24253. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24254. in: query
  24255. name: cycletype
  24256. required: true
  24257. type: integer
  24258. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24259. 全(0)【原值】
  24260. in: query
  24261. name: cycletime
  24262. required: true
  24263. type: string
  24264. - description: 币种id(明细必填)
  24265. in: query
  24266. name: currencyid
  24267. type: integer
  24268. - description: 套保品种ID, 查询类型为2时起效
  24269. in: query
  24270. name: middlegoodsid
  24271. type: integer
  24272. produces:
  24273. - application/json
  24274. responses:
  24275. "200":
  24276. description: OK
  24277. schema:
  24278. items:
  24279. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  24280. type: array
  24281. "500":
  24282. description: Internal Server Error
  24283. schema:
  24284. $ref: '#/definitions/app.Response'
  24285. security:
  24286. - ApiKeyAuth: []
  24287. summary: 查询汇总损益表
  24288. tags:
  24289. - 企业风险管理v3(app)
  24290. /Ermcp3/QryFinanceReport:
  24291. get:
  24292. parameters:
  24293. - description: 用户ID
  24294. in: query
  24295. name: userid
  24296. required: true
  24297. type: integer
  24298. - description: 查询类型 1-报表 2-报表明细
  24299. in: query
  24300. name: querytype
  24301. required: true
  24302. type: integer
  24303. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24304. in: query
  24305. name: cycletype
  24306. required: true
  24307. type: integer
  24308. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24309. 全(0)【原值】
  24310. in: query
  24311. name: cycletime
  24312. required: true
  24313. type: string
  24314. - description: 币种id(报表明细必填)
  24315. in: query
  24316. name: currencyid
  24317. type: integer
  24318. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  24319. in: query
  24320. name: sumfields
  24321. type: string
  24322. produces:
  24323. - application/json
  24324. responses:
  24325. "200":
  24326. description: OK
  24327. schema:
  24328. items:
  24329. $ref: '#/definitions/models.Ermcp3FinanceReport'
  24330. type: array
  24331. "500":
  24332. description: Internal Server Error
  24333. schema:
  24334. $ref: '#/definitions/app.Response'
  24335. security:
  24336. - ApiKeyAuth: []
  24337. summary: 查询财务报表
  24338. tags:
  24339. - 企业风险管理v3(app)
  24340. /Ermcp3/QrySCMiddleGoodsReport:
  24341. get:
  24342. parameters:
  24343. - description: 用户ID
  24344. in: query
  24345. name: userid
  24346. required: true
  24347. type: integer
  24348. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24349. in: query
  24350. name: cycletype
  24351. required: true
  24352. type: integer
  24353. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24354. 全(0)【原值】
  24355. in: query
  24356. name: cycletime
  24357. required: true
  24358. type: string
  24359. - description: 合同id
  24360. in: query
  24361. name: spotcontractid
  24362. type: integer
  24363. - description: 套保品种id
  24364. in: query
  24365. name: middlegoodsid
  24366. type: integer
  24367. - description: 现货品种id
  24368. in: query
  24369. name: deliverygoodsid
  24370. type: integer
  24371. - description: 现货商品id
  24372. in: query
  24373. name: wrstandardid
  24374. type: integer
  24375. - description: 合同编号(模糊匹配)
  24376. in: query
  24377. name: contractno
  24378. type: string
  24379. produces:
  24380. - application/json
  24381. responses:
  24382. "200":
  24383. description: OK
  24384. schema:
  24385. items:
  24386. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24387. type: array
  24388. "500":
  24389. description: Internal Server Error
  24390. schema:
  24391. $ref: '#/definitions/app.Response'
  24392. security:
  24393. - ApiKeyAuth: []
  24394. summary: 查询定价报表
  24395. tags:
  24396. - 企业风险管理v3(app)
  24397. /Ermcp3/QryTaFutureDataReport:
  24398. get:
  24399. parameters:
  24400. - description: 用户ID
  24401. in: query
  24402. name: userid
  24403. required: true
  24404. type: integer
  24405. - description: 查询类型 1-报表 2-报表明细
  24406. in: query
  24407. name: querytype
  24408. required: true
  24409. type: integer
  24410. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24411. in: query
  24412. name: cycletype
  24413. required: true
  24414. type: integer
  24415. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24416. 全(0)【原值】
  24417. in: query
  24418. name: cycletime
  24419. required: true
  24420. type: string
  24421. - description: 币种id(查明细必填)
  24422. in: query
  24423. name: currencyid
  24424. type: integer
  24425. - description: 品种id(查明细必填)
  24426. in: query
  24427. name: goodsgroupid
  24428. type: integer
  24429. - description: 商品id(查明细必填)
  24430. in: query
  24431. name: goodsid
  24432. type: integer
  24433. - description: 买卖方向(查明细必填)
  24434. in: query
  24435. name: buyorsell
  24436. type: integer
  24437. produces:
  24438. - application/json
  24439. responses:
  24440. "200":
  24441. description: OK
  24442. schema:
  24443. items:
  24444. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  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/QueryAreaStock:
  24456. get:
  24457. parameters:
  24458. - description: 用户ID
  24459. in: query
  24460. name: userid
  24461. required: true
  24462. type: integer
  24463. produces:
  24464. - application/json
  24465. responses:
  24466. "200":
  24467. description: OK
  24468. schema:
  24469. items:
  24470. $ref: '#/definitions/models.Ermcp3AreaStock'
  24471. type: array
  24472. "500":
  24473. description: Internal Server Error
  24474. schema:
  24475. $ref: '#/definitions/app.Response'
  24476. security:
  24477. - ApiKeyAuth: []
  24478. summary: 查询机构库存(库存管理/当前库存)
  24479. tags:
  24480. - 企业风险管理v3(app)
  24481. /Ermcp3/QueryAreaStockApply:
  24482. get:
  24483. parameters:
  24484. - description: 用户ID
  24485. in: query
  24486. name: userid
  24487. required: true
  24488. type: integer
  24489. - description: 用户类型 2-机构 7-企业成员
  24490. in: query
  24491. name: usertype
  24492. type: integer
  24493. - description: 现货商品ID
  24494. in: query
  24495. name: deliverygoodsid
  24496. type: integer
  24497. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  24498. in: query
  24499. name: inouttype
  24500. type: string
  24501. - description: 合同ID
  24502. in: query
  24503. name: spotcontractid
  24504. type: integer
  24505. - description: 品类ID
  24506. in: query
  24507. name: wrstandardid
  24508. type: integer
  24509. - description: 品牌ID
  24510. in: query
  24511. name: spotgoodsbrandid
  24512. type: integer
  24513. - description: 仓库ID
  24514. in: query
  24515. name: warehouseinfoid
  24516. type: integer
  24517. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24518. in: query
  24519. name: applystatus
  24520. type: string
  24521. produces:
  24522. - application/json
  24523. responses:
  24524. "200":
  24525. description: OK
  24526. schema:
  24527. items:
  24528. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  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/QueryAreaStockApplySum:
  24540. get:
  24541. parameters:
  24542. - description: 合同ID
  24543. in: query
  24544. name: spotcontractid
  24545. required: true
  24546. type: integer
  24547. produces:
  24548. - application/json
  24549. responses:
  24550. "200":
  24551. description: OK
  24552. schema:
  24553. items:
  24554. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  24555. type: array
  24556. "500":
  24557. description: Internal Server Error
  24558. schema:
  24559. $ref: '#/definitions/app.Response'
  24560. security:
  24561. - ApiKeyAuth: []
  24562. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  24563. tags:
  24564. - 企业风险管理v3(app)
  24565. /Ermcp3/QueryDGFactoryItem:
  24566. get:
  24567. parameters:
  24568. - description: 用户id
  24569. in: query
  24570. name: userid
  24571. type: integer
  24572. - description: 用户类型 2-机构 7-企业成员
  24573. in: query
  24574. name: usertype
  24575. type: integer
  24576. - description: 选择项ID(SEQ_DGFACTORYITEM)
  24577. in: query
  24578. name: dgfactoryitemid
  24579. type: integer
  24580. - description: 现货品种ID
  24581. in: query
  24582. name: deliverygoodsid
  24583. type: integer
  24584. - description: 要素项类型
  24585. in: query
  24586. name: dgfactoryitemtypeid
  24587. type: integer
  24588. - description: 顺序
  24589. in: query
  24590. name: orderindex
  24591. type: integer
  24592. produces:
  24593. - application/json
  24594. responses:
  24595. "200":
  24596. description: OK
  24597. schema:
  24598. items:
  24599. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  24600. type: array
  24601. "500":
  24602. description: Internal Server Error
  24603. schema:
  24604. $ref: '#/definitions/app.Response'
  24605. security:
  24606. - ApiKeyAuth: []
  24607. summary: 查询品种要素定义项
  24608. tags:
  24609. - 企业风险管理v3(app)
  24610. /Ermcp3/QueryDeliveryGoods:
  24611. get:
  24612. parameters:
  24613. - description: 用户id
  24614. in: query
  24615. name: userid
  24616. required: true
  24617. type: integer
  24618. - description: 用户类型 2-机构 7-企业成员
  24619. in: query
  24620. name: usertype
  24621. type: integer
  24622. - description: 排除已配置的业务类型商品 1-套保 2-套利
  24623. in: query
  24624. name: excludecfg
  24625. type: integer
  24626. produces:
  24627. - application/json
  24628. responses:
  24629. "200":
  24630. description: OK
  24631. schema:
  24632. items:
  24633. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  24634. type: array
  24635. "500":
  24636. description: Internal Server Error
  24637. schema:
  24638. $ref: '#/definitions/app.Response'
  24639. security:
  24640. - ApiKeyAuth: []
  24641. summary: 查询现货商品
  24642. tags:
  24643. - 企业风险管理v3(app)
  24644. /Ermcp3/QueryDeliveryGoodsDetail:
  24645. get:
  24646. parameters:
  24647. - description: 用户id
  24648. in: query
  24649. name: userid
  24650. required: true
  24651. type: integer
  24652. - description: 用户类型 2-机构 7-企业成员
  24653. in: query
  24654. name: usertype
  24655. type: integer
  24656. - description: 现货商品id
  24657. in: query
  24658. name: deliverygoodsid
  24659. type: integer
  24660. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  24661. in: query
  24662. name: filtersubempty
  24663. type: integer
  24664. produces:
  24665. - application/json
  24666. responses:
  24667. "200":
  24668. description: OK
  24669. schema:
  24670. items:
  24671. $ref: '#/definitions/models.XHDeliveryGoods'
  24672. type: array
  24673. "500":
  24674. description: Internal Server Error
  24675. schema:
  24676. $ref: '#/definitions/app.Response'
  24677. security:
  24678. - ApiKeyAuth: []
  24679. summary: 查询现货商品详情
  24680. tags:
  24681. - 企业风险管理v3(app)
  24682. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  24683. get:
  24684. parameters:
  24685. - description: 合同id
  24686. in: query
  24687. name: spotcontractid
  24688. required: true
  24689. type: string
  24690. produces:
  24691. - application/json
  24692. responses:
  24693. "200":
  24694. description: OK
  24695. schema:
  24696. items:
  24697. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  24698. type: array
  24699. "500":
  24700. description: Internal Server Error
  24701. schema:
  24702. $ref: '#/definitions/app.Response'
  24703. security:
  24704. - ApiKeyAuth: []
  24705. summary: 查询现货合同期现配置信息
  24706. tags:
  24707. - 企业风险管理v3(app)
  24708. /Ermcp3/QueryExposureDetail:
  24709. get:
  24710. parameters:
  24711. - description: 用户id
  24712. in: query
  24713. name: userid
  24714. required: true
  24715. type: integer
  24716. - description: 用户类型 2-机构 7-企业成员
  24717. in: query
  24718. name: usertype
  24719. type: integer
  24720. - description: 套保商品
  24721. in: query
  24722. name: middlegoodsid
  24723. required: true
  24724. type: integer
  24725. produces:
  24726. - application/json
  24727. responses:
  24728. "200":
  24729. description: OK
  24730. schema:
  24731. items:
  24732. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  24733. type: array
  24734. "500":
  24735. description: Internal Server Error
  24736. schema:
  24737. $ref: '#/definitions/app.Response'
  24738. security:
  24739. - ApiKeyAuth: []
  24740. summary: 查询敞口现货明细
  24741. tags:
  24742. - 企业风险管理v3(app)
  24743. /Ermcp3/QueryExposureSpot:
  24744. get:
  24745. parameters:
  24746. - description: 用户id
  24747. in: query
  24748. name: userid
  24749. required: true
  24750. type: integer
  24751. - description: 用户类型 2-机构 7-企业成员
  24752. in: query
  24753. name: usertype
  24754. type: integer
  24755. produces:
  24756. - application/json
  24757. responses:
  24758. "200":
  24759. description: OK
  24760. schema:
  24761. items:
  24762. $ref: '#/definitions/models.Ermcp3AreaSpot'
  24763. type: array
  24764. "500":
  24765. description: Internal Server Error
  24766. schema:
  24767. $ref: '#/definitions/app.Response'
  24768. security:
  24769. - ApiKeyAuth: []
  24770. summary: 查询敞口现货头寸(敞口/现货头寸)
  24771. tags:
  24772. - 企业风险管理v3(app)
  24773. /Ermcp3/QueryExposureSpotDetail:
  24774. get:
  24775. parameters:
  24776. - description: 用户id
  24777. in: query
  24778. name: userid
  24779. required: true
  24780. type: integer
  24781. - description: 用户类型 2-机构 7-企业成员
  24782. in: query
  24783. name: usertype
  24784. type: integer
  24785. - description: 现货商品ID
  24786. in: query
  24787. name: wrstandardid
  24788. required: true
  24789. type: integer
  24790. produces:
  24791. - application/json
  24792. responses:
  24793. "200":
  24794. description: OK
  24795. schema:
  24796. items:
  24797. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  24798. type: array
  24799. "500":
  24800. description: Internal Server Error
  24801. schema:
  24802. $ref: '#/definitions/app.Response'
  24803. security:
  24804. - ApiKeyAuth: []
  24805. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24806. tags:
  24807. - 企业风险管理v3(app)
  24808. /Ermcp3/QueryGoodsGroup:
  24809. get:
  24810. parameters:
  24811. - description: 用户id
  24812. in: query
  24813. name: userid
  24814. required: true
  24815. type: integer
  24816. - description: 用户类型 2-机构 7-企业成员
  24817. in: query
  24818. name: usertype
  24819. type: integer
  24820. - description: 排除套保品中已关联的商品组 1-排除
  24821. in: query
  24822. name: excludecfg
  24823. type: integer
  24824. produces:
  24825. - application/json
  24826. responses:
  24827. "200":
  24828. description: OK
  24829. schema:
  24830. items:
  24831. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  24832. type: array
  24833. "500":
  24834. description: Internal Server Error
  24835. schema:
  24836. $ref: '#/definitions/app.Response'
  24837. security:
  24838. - ApiKeyAuth: []
  24839. summary: 查询期货商品组
  24840. tags:
  24841. - 企业风险管理v3(app)
  24842. /Ermcp3/QueryGoodsWrstandard:
  24843. get:
  24844. parameters:
  24845. - description: 用户id
  24846. in: query
  24847. name: userid
  24848. required: true
  24849. type: integer
  24850. - description: 用户类型 2-机构 7-企业成员
  24851. in: query
  24852. name: usertype
  24853. type: integer
  24854. - description: 现货商品id
  24855. in: query
  24856. name: deliverygoodsid
  24857. type: integer
  24858. produces:
  24859. - application/json
  24860. responses:
  24861. "200":
  24862. description: OK
  24863. schema:
  24864. items:
  24865. $ref: '#/definitions/models.Ermcp3Wrstandard'
  24866. type: array
  24867. "500":
  24868. description: Internal Server Error
  24869. schema:
  24870. $ref: '#/definitions/app.Response'
  24871. security:
  24872. - ApiKeyAuth: []
  24873. summary: 查询商品品类
  24874. tags:
  24875. - 企业风险管理v3(app)
  24876. /Ermcp3/QueryGoodsbrand:
  24877. get:
  24878. parameters:
  24879. - description: 用户id
  24880. in: query
  24881. name: userid
  24882. required: true
  24883. type: integer
  24884. - description: 用户类型 2-机构 7-企业成员
  24885. in: query
  24886. name: usertype
  24887. type: integer
  24888. produces:
  24889. - application/json
  24890. responses:
  24891. "200":
  24892. description: OK
  24893. schema:
  24894. items:
  24895. $ref: '#/definitions/models.Ermcp3Brand'
  24896. type: array
  24897. "500":
  24898. description: Internal Server Error
  24899. schema:
  24900. $ref: '#/definitions/app.Response'
  24901. security:
  24902. - ApiKeyAuth: []
  24903. summary: 查询商品品牌
  24904. tags:
  24905. - 企业风险管理v3(app)
  24906. /Ermcp3/QueryHPMiddleGoods:
  24907. get:
  24908. parameters:
  24909. - description: 用户ID(填登录用户的userid)
  24910. in: query
  24911. name: userid
  24912. required: true
  24913. type: integer
  24914. - description: 买卖方向 0-买 1-卖
  24915. in: query
  24916. name: buyorsell
  24917. required: true
  24918. type: integer
  24919. - description: 商品组id
  24920. in: query
  24921. name: goodsgroupid
  24922. required: true
  24923. type: integer
  24924. - description: 套保计划编号(模糊匹配)
  24925. in: query
  24926. name: hedgeplanno
  24927. type: string
  24928. - description: 现货商品名称(模糊匹配)
  24929. in: query
  24930. name: wrstandardname
  24931. type: string
  24932. produces:
  24933. - application/json
  24934. responses:
  24935. "200":
  24936. description: OK
  24937. schema:
  24938. items:
  24939. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  24940. type: array
  24941. "500":
  24942. description: Internal Server Error
  24943. schema:
  24944. $ref: '#/definitions/app.Response'
  24945. security:
  24946. - ApiKeyAuth: []
  24947. summary: 查询可关联套保计划
  24948. tags:
  24949. - 企业风险管理v3(app)
  24950. /Ermcp3/QueryHedgePlan:
  24951. get:
  24952. parameters:
  24953. - description: 用户ID
  24954. in: query
  24955. name: userid
  24956. required: true
  24957. type: integer
  24958. - description: 用户类型 2-机构 7-企业成员
  24959. in: query
  24960. name: usertype
  24961. type: integer
  24962. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24963. in: query
  24964. name: hedgeplanstatus
  24965. required: true
  24966. type: string
  24967. produces:
  24968. - application/json
  24969. responses:
  24970. "200":
  24971. description: OK
  24972. schema:
  24973. items:
  24974. $ref: '#/definitions/models.Ermcp3HedgePlan'
  24975. type: array
  24976. "500":
  24977. description: Internal Server Error
  24978. schema:
  24979. $ref: '#/definitions/app.Response'
  24980. security:
  24981. - ApiKeyAuth: []
  24982. summary: 查询套保计划
  24983. tags:
  24984. - 企业风险管理v3(app)
  24985. /Ermcp3/QueryInnerTradeLink:
  24986. get:
  24987. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  24988. parameters:
  24989. - description: 外部成交单号
  24990. in: query
  24991. name: outtradeid
  24992. required: true
  24993. type: integer
  24994. produces:
  24995. - application/json
  24996. responses:
  24997. "200":
  24998. description: OK
  24999. schema:
  25000. items:
  25001. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  25002. type: array
  25003. "500":
  25004. description: Internal Server Error
  25005. schema:
  25006. $ref: '#/definitions/app.Response'
  25007. security:
  25008. - ApiKeyAuth: []
  25009. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  25010. tags:
  25011. - 企业风险管理v3(app)
  25012. /Ermcp3/QueryMiddleGoodsDetail:
  25013. get:
  25014. parameters:
  25015. - description: 用户id
  25016. in: query
  25017. name: userid
  25018. required: true
  25019. type: integer
  25020. - description: 用户类型 2-机构 7-企业成员
  25021. in: query
  25022. name: usertype
  25023. type: integer
  25024. - description: 套保品种id
  25025. in: query
  25026. name: middlegoodsid
  25027. type: integer
  25028. produces:
  25029. - application/json
  25030. responses:
  25031. "200":
  25032. description: OK
  25033. schema:
  25034. items:
  25035. $ref: '#/definitions/models.TBMiddleGoods'
  25036. type: array
  25037. "500":
  25038. description: Internal Server Error
  25039. schema:
  25040. $ref: '#/definitions/app.Response'
  25041. security:
  25042. - ApiKeyAuth: []
  25043. summary: 查询套保品种详情(套保品种/商品详情)
  25044. tags:
  25045. - 企业风险管理v3(app)
  25046. /Ermcp3/QueryOutTradeLink:
  25047. get:
  25048. description: 页面 app 现货->期现关联->外部成交单关联
  25049. parameters:
  25050. - description: 用户ID(填登录用户的userid)
  25051. in: query
  25052. name: userid
  25053. required: true
  25054. type: integer
  25055. - description: 外部订单号(模糊匹配)
  25056. in: query
  25057. name: outtradeid
  25058. type: string
  25059. - description: 合约名称/代码(模糊匹配)
  25060. in: query
  25061. name: goodsname
  25062. type: string
  25063. - description: 关联状态 0-未关联 1-已关联
  25064. in: query
  25065. name: hasinnerorder
  25066. type: integer
  25067. produces:
  25068. - application/json
  25069. responses:
  25070. "200":
  25071. description: OK
  25072. schema:
  25073. items:
  25074. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  25075. type: array
  25076. "500":
  25077. description: Internal Server Error
  25078. schema:
  25079. $ref: '#/definitions/app.Response'
  25080. security:
  25081. - ApiKeyAuth: []
  25082. summary: 查询外部成交单关联
  25083. tags:
  25084. - 企业风险管理v3(app)
  25085. /Ermcp3/QueryPaAreaAuditCfg:
  25086. get:
  25087. parameters:
  25088. - description: 用户id
  25089. in: query
  25090. name: userid
  25091. required: true
  25092. type: integer
  25093. produces:
  25094. - application/json
  25095. responses:
  25096. "200":
  25097. description: OK
  25098. schema:
  25099. items:
  25100. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  25101. type: array
  25102. "500":
  25103. description: Internal Server Error
  25104. schema:
  25105. $ref: '#/definitions/app.Response'
  25106. security:
  25107. - ApiKeyAuth: []
  25108. summary: 查询审核设置
  25109. tags:
  25110. - 企业风险管理v3(app)
  25111. /Ermcp3/QueryPaAreaSubject:
  25112. get:
  25113. parameters:
  25114. - description: 用户id
  25115. in: query
  25116. name: userid
  25117. required: true
  25118. type: integer
  25119. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  25120. in: query
  25121. name: subjectid
  25122. type: integer
  25123. - description: 主体类型 - 1:交易主体 2:业务部门
  25124. in: query
  25125. name: subjecttype
  25126. type: integer
  25127. - description: '主体状态 - 1:正常 2: 停用'
  25128. in: query
  25129. name: subjectstatus
  25130. type: integer
  25131. produces:
  25132. - application/json
  25133. responses:
  25134. "200":
  25135. description: OK
  25136. schema:
  25137. items:
  25138. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  25139. type: array
  25140. "500":
  25141. description: Internal Server Error
  25142. schema:
  25143. $ref: '#/definitions/app.Response'
  25144. security:
  25145. - ApiKeyAuth: []
  25146. summary: 查询交易主体
  25147. tags:
  25148. - 企业风险管理v3(app)
  25149. /Ermcp3/QueryPaTradeLink:
  25150. get:
  25151. description: 页面 app 现货->期现关联->期现单据关联
  25152. parameters:
  25153. - description: 用户ID
  25154. in: query
  25155. name: userid
  25156. required: true
  25157. type: integer
  25158. produces:
  25159. - application/json
  25160. responses:
  25161. "200":
  25162. description: OK
  25163. schema:
  25164. items:
  25165. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  25166. type: array
  25167. "500":
  25168. description: Internal Server Error
  25169. schema:
  25170. $ref: '#/definitions/app.Response'
  25171. security:
  25172. - ApiKeyAuth: []
  25173. summary: 查询期现单据关联
  25174. tags:
  25175. - 企业风险管理v3(app)
  25176. /Ermcp3/QueryPaTradeLinkDetail:
  25177. get:
  25178. description: 页面 app 现货->期现关联->关联记录
  25179. parameters:
  25180. - description: 用户ID(填登录用户的userid)
  25181. in: query
  25182. name: userid
  25183. required: true
  25184. type: integer
  25185. - description: 关联状态 1:成功 2:失败 3:解绑
  25186. in: query
  25187. name: linkstatus
  25188. type: integer
  25189. - description: 期货订单号(模糊匹配)
  25190. in: query
  25191. name: tradeid
  25192. type: string
  25193. - description: 现货编号(模糊匹配)
  25194. in: query
  25195. name: contractno
  25196. type: string
  25197. - description: 期货账户(模糊匹配)
  25198. in: query
  25199. name: taname
  25200. type: string
  25201. produces:
  25202. - application/json
  25203. responses:
  25204. "200":
  25205. description: OK
  25206. schema:
  25207. items:
  25208. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  25209. type: array
  25210. "500":
  25211. description: Internal Server Error
  25212. schema:
  25213. $ref: '#/definitions/app.Response'
  25214. security:
  25215. - ApiKeyAuth: []
  25216. summary: 查询期现关联记录
  25217. tags:
  25218. - 企业风险管理v3(app)
  25219. /Ermcp3/QueryParamChangeApp:
  25220. get:
  25221. description: |-
  25222. 原型页面:
  25223. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  25224. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  25225. parameters:
  25226. - description: 用户ID
  25227. in: query
  25228. name: userid
  25229. required: true
  25230. type: integer
  25231. - description: 现货品种id
  25232. in: query
  25233. name: deliverygoodsid
  25234. type: integer
  25235. - description: 现货商品id
  25236. in: query
  25237. name: wrstandardid
  25238. type: integer
  25239. - description: 套保商品id
  25240. in: query
  25241. name: middlegoodsid
  25242. type: integer
  25243. - description: 操作类型 1:新增 2:修改
  25244. in: query
  25245. name: operatetype
  25246. type: integer
  25247. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  25248. in: query
  25249. name: paramchangetype
  25250. type: integer
  25251. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25252. in: query
  25253. name: ftstatus
  25254. type: string
  25255. produces:
  25256. - application/json
  25257. responses:
  25258. "200":
  25259. description: OK
  25260. schema:
  25261. items:
  25262. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  25263. type: array
  25264. "500":
  25265. description: Internal Server Error
  25266. schema:
  25267. $ref: '#/definitions/app.Response'
  25268. security:
  25269. - ApiKeyAuth: []
  25270. summary: 查询现货商品参数变更申请(流水)
  25271. tags:
  25272. - 企业风险管理v3(app)
  25273. /Ermcp3/QueryRootUserAccount:
  25274. get:
  25275. parameters:
  25276. - description: 用户ID
  25277. in: query
  25278. name: userid
  25279. required: true
  25280. type: integer
  25281. produces:
  25282. - application/json
  25283. responses:
  25284. "200":
  25285. description: OK
  25286. schema:
  25287. items:
  25288. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  25289. type: array
  25290. "500":
  25291. description: Internal Server Error
  25292. schema:
  25293. $ref: '#/definitions/app.Response'
  25294. security:
  25295. - ApiKeyAuth: []
  25296. summary: 查询顶级用户信息
  25297. tags:
  25298. - 企业风险管理v3(app)
  25299. /Ermcp3/QuerySCMiddleGoods:
  25300. get:
  25301. description: |-
  25302. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  25303. 现货编号 即 合同编号
  25304. parameters:
  25305. - description: 用户ID(填登录用户的userid)
  25306. in: query
  25307. name: userid
  25308. required: true
  25309. type: integer
  25310. - description: 买卖方向 0-买 1-卖
  25311. in: query
  25312. name: buyorsell
  25313. required: true
  25314. type: integer
  25315. - description: 商品组id
  25316. in: query
  25317. name: goodsgroupid
  25318. required: true
  25319. type: integer
  25320. - description: 业务类型 1:套保 2:套利
  25321. in: query
  25322. name: biztype
  25323. type: integer
  25324. - description: 现货编号(模糊匹配)
  25325. in: query
  25326. name: contractno
  25327. type: string
  25328. - description: 对手方(模糊匹配)
  25329. in: query
  25330. name: customername
  25331. type: string
  25332. - description: 现货商品名称(模糊匹配)
  25333. in: query
  25334. name: wrstandardname
  25335. type: string
  25336. produces:
  25337. - application/json
  25338. responses:
  25339. "200":
  25340. description: OK
  25341. schema:
  25342. items:
  25343. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  25344. type: array
  25345. "500":
  25346. description: Internal Server Error
  25347. schema:
  25348. $ref: '#/definitions/app.Response'
  25349. security:
  25350. - ApiKeyAuth: []
  25351. summary: 查询现货订单
  25352. tags:
  25353. - 企业风险管理v3(app)
  25354. /Ermcp3/QuerySpotContract:
  25355. get:
  25356. parameters:
  25357. - description: 用户id(当指定contractid, userid可不填)
  25358. in: query
  25359. name: userid
  25360. required: true
  25361. type: integer
  25362. - description: 用户类型 2-机构 7-企业成员
  25363. in: query
  25364. name: usertype
  25365. type: integer
  25366. - description: 合同类型 1-采购, -1-销售
  25367. in: query
  25368. name: contracttype
  25369. type: integer
  25370. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25371. in: query
  25372. name: querytype
  25373. type: string
  25374. - description: 合同ID(SpotContractId)
  25375. in: query
  25376. name: contractid
  25377. type: string
  25378. - description: 合同编号(模糊匹配)
  25379. in: query
  25380. name: contractno
  25381. type: string
  25382. - description: 商品名称(模糊匹配)
  25383. in: query
  25384. name: wrstandardname
  25385. type: string
  25386. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25387. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25388. in: query
  25389. name: status
  25390. type: string
  25391. - description: 是否只查今日的合同 1-查今日合同
  25392. in: query
  25393. name: istoday
  25394. type: integer
  25395. produces:
  25396. - application/json
  25397. responses:
  25398. "200":
  25399. description: OK
  25400. schema:
  25401. items:
  25402. $ref: '#/definitions/models.Ermcp3Contract'
  25403. type: array
  25404. "500":
  25405. description: Internal Server Error
  25406. schema:
  25407. $ref: '#/definitions/app.Response'
  25408. security:
  25409. - ApiKeyAuth: []
  25410. summary: 查询现货合同
  25411. tags:
  25412. - 企业风险管理v3(app)
  25413. /Ermcp3/QuerySpotContractBS:
  25414. get:
  25415. parameters:
  25416. - description: 用户id
  25417. in: query
  25418. name: userid
  25419. required: true
  25420. type: integer
  25421. - description: 用户类型 2-机构 7-企业成员
  25422. in: query
  25423. name: usertype
  25424. type: integer
  25425. - description: 合同类型 1-采购, -1-销售
  25426. in: query
  25427. name: contracttype
  25428. required: true
  25429. type: integer
  25430. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25431. in: query
  25432. name: querytype
  25433. type: integer
  25434. - description: 合同ID(SpotContractId)
  25435. in: query
  25436. name: contractid
  25437. type: string
  25438. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25439. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25440. in: query
  25441. name: status
  25442. type: string
  25443. - description: 是否只查今日的合同 1-查今日合同
  25444. in: query
  25445. name: istoday
  25446. type: integer
  25447. produces:
  25448. - application/json
  25449. responses:
  25450. "200":
  25451. description: OK
  25452. schema:
  25453. items:
  25454. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25455. type: array
  25456. "500":
  25457. description: Internal Server Error
  25458. schema:
  25459. $ref: '#/definitions/app.Response'
  25460. security:
  25461. - ApiKeyAuth: []
  25462. summary: 查询合同(采购/销售)
  25463. tags:
  25464. - 企业风险管理v3(app)
  25465. /Ermcp3/QuerySpotGoodsPrice:
  25466. get:
  25467. parameters:
  25468. - description: 用户ID
  25469. in: query
  25470. name: userid
  25471. required: true
  25472. type: integer
  25473. produces:
  25474. - application/json
  25475. responses:
  25476. "200":
  25477. description: OK
  25478. schema:
  25479. items:
  25480. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25481. type: array
  25482. "500":
  25483. description: Internal Server Error
  25484. schema:
  25485. $ref: '#/definitions/app.Response'
  25486. security:
  25487. - ApiKeyAuth: []
  25488. summary: 查询现货市价(现货市价)
  25489. tags:
  25490. - 企业风险管理v3(app)
  25491. /Ermcp3/QuerySpotGoodsPriceLog:
  25492. get:
  25493. parameters:
  25494. - description: 用户ID
  25495. in: query
  25496. name: userid
  25497. required: true
  25498. type: integer
  25499. - description: 现货商品ID
  25500. in: query
  25501. name: deliverygoodsid
  25502. required: true
  25503. type: integer
  25504. - description: 品牌ID
  25505. in: query
  25506. name: brandid
  25507. type: integer
  25508. - description: 品类ID
  25509. in: query
  25510. name: wrstandardid
  25511. type: integer
  25512. produces:
  25513. - application/json
  25514. responses:
  25515. "200":
  25516. description: OK
  25517. schema:
  25518. items:
  25519. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  25520. type: array
  25521. "500":
  25522. description: Internal Server Error
  25523. schema:
  25524. $ref: '#/definitions/app.Response'
  25525. security:
  25526. - ApiKeyAuth: []
  25527. summary: 查询现货市价详情(现货市价/详情)
  25528. tags:
  25529. - 企业风险管理v3(app)
  25530. /Ermcp3/QuerySubTaaccount:
  25531. get:
  25532. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  25533. parameters:
  25534. - description: 母账号id
  25535. in: query
  25536. name: parentaccountid
  25537. type: integer
  25538. - description: 母账号代码
  25539. in: query
  25540. name: parentaccountcode
  25541. type: string
  25542. produces:
  25543. - application/json
  25544. responses:
  25545. "200":
  25546. description: OK
  25547. schema:
  25548. items:
  25549. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  25550. type: array
  25551. "500":
  25552. description: Internal Server Error
  25553. schema:
  25554. $ref: '#/definitions/app.Response'
  25555. security:
  25556. - ApiKeyAuth: []
  25557. summary: 查询期货子账户
  25558. tags:
  25559. - 企业风险管理v3(app)
  25560. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  25561. get:
  25562. parameters:
  25563. - description: 套期项目ID
  25564. in: query
  25565. name: hedgeditemid
  25566. required: true
  25567. type: integer
  25568. produces:
  25569. - application/json
  25570. responses:
  25571. "200":
  25572. description: OK
  25573. schema:
  25574. items:
  25575. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  25576. type: array
  25577. "500":
  25578. description: Internal Server Error
  25579. schema:
  25580. $ref: '#/definitions/app.Response'
  25581. security:
  25582. - ApiKeyAuth: []
  25583. summary: 现货成交明细查询
  25584. tags:
  25585. - 企业风险管理v8
  25586. /Ermcp8/QueryERMCP2HedgedItemspot:
  25587. get:
  25588. parameters:
  25589. - description: 套期项目ID
  25590. in: query
  25591. name: hedgeditemid
  25592. required: true
  25593. type: integer
  25594. produces:
  25595. - application/json
  25596. responses:
  25597. "200":
  25598. description: OK
  25599. schema:
  25600. items:
  25601. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  25602. type: array
  25603. "500":
  25604. description: Internal Server Error
  25605. schema:
  25606. $ref: '#/definitions/app.Response'
  25607. security:
  25608. - ApiKeyAuth: []
  25609. summary: 套期计划明细查询
  25610. tags:
  25611. - 企业风险管理v8
  25612. /Ermcp8/QueryERMCPJRLinkPos:
  25613. get:
  25614. parameters:
  25615. - description: 套期项目ID
  25616. in: query
  25617. name: hedgeditemid
  25618. required: true
  25619. type: integer
  25620. produces:
  25621. - application/json
  25622. responses:
  25623. "200":
  25624. description: OK
  25625. schema:
  25626. items:
  25627. $ref: '#/definitions/models.Ermcpjrlinkpos'
  25628. type: array
  25629. "500":
  25630. description: Internal Server Error
  25631. schema:
  25632. $ref: '#/definitions/app.Response'
  25633. security:
  25634. - ApiKeyAuth: []
  25635. summary: 期货持仓明细查询
  25636. tags:
  25637. - 企业风险管理v8
  25638. /Ermcp8/QueryERMCPPatradeLinkDetail:
  25639. get:
  25640. parameters:
  25641. - description: 套期项目ID
  25642. in: query
  25643. name: hedgeditemid
  25644. required: true
  25645. type: integer
  25646. produces:
  25647. - application/json
  25648. responses:
  25649. "200":
  25650. description: OK
  25651. schema:
  25652. items:
  25653. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  25654. type: array
  25655. "500":
  25656. description: Internal Server Error
  25657. schema:
  25658. $ref: '#/definitions/app.Response'
  25659. security:
  25660. - ApiKeyAuth: []
  25661. summary: 期货成交单明细查询
  25662. tags:
  25663. - 企业风险管理v8
  25664. /Ermcp8/QueryErmcp2AreaExposure:
  25665. get:
  25666. parameters:
  25667. - description: 用户ID
  25668. in: query
  25669. name: userid
  25670. required: true
  25671. type: string
  25672. produces:
  25673. - application/json
  25674. responses:
  25675. "200":
  25676. description: OK
  25677. schema:
  25678. items:
  25679. $ref: '#/definitions/models.Ermcp2AreaExposure'
  25680. type: array
  25681. "500":
  25682. description: Internal Server Error
  25683. schema:
  25684. $ref: '#/definitions/app.Response'
  25685. security:
  25686. - ApiKeyAuth: []
  25687. summary: 企业敞口查询
  25688. tags:
  25689. - 企业风险管理v8
  25690. /Ermcp8/QueryErmcp2HedgedItem:
  25691. get:
  25692. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  25693. parameters:
  25694. - description: 用户ID
  25695. in: query
  25696. name: userid
  25697. required: true
  25698. type: string
  25699. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25700. in: query
  25701. name: hedgedtype
  25702. type: integer
  25703. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25704. in: query
  25705. name: hedgeditemstatus
  25706. type: integer
  25707. produces:
  25708. - application/json
  25709. responses:
  25710. "200":
  25711. description: OK
  25712. schema:
  25713. items:
  25714. $ref: '#/definitions/models.Ermcp2hedgeditem'
  25715. type: array
  25716. "500":
  25717. description: Internal Server Error
  25718. schema:
  25719. $ref: '#/definitions/app.Response'
  25720. security:
  25721. - ApiKeyAuth: []
  25722. summary: 查询被套期项目信息
  25723. tags:
  25724. - 企业风险管理v8
  25725. /Ermcp8/QueryErmcp2HedgedItemLink:
  25726. get:
  25727. parameters:
  25728. - description: 现货合同ID
  25729. in: query
  25730. name: spotcontractid
  25731. required: true
  25732. type: integer
  25733. produces:
  25734. - application/json
  25735. responses:
  25736. "200":
  25737. description: OK
  25738. schema:
  25739. items:
  25740. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  25741. type: array
  25742. "500":
  25743. description: Internal Server Error
  25744. schema:
  25745. $ref: '#/definitions/app.Response'
  25746. security:
  25747. - ApiKeyAuth: []
  25748. summary: 现货合同关联被套期项目查询
  25749. tags:
  25750. - 企业风险管理v8
  25751. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  25752. get:
  25753. parameters:
  25754. - description: 用户ID
  25755. in: query
  25756. name: userid
  25757. required: true
  25758. type: integer
  25759. - description: 套保品种ID
  25760. in: query
  25761. name: middlegoodsid
  25762. required: true
  25763. type: integer
  25764. produces:
  25765. - application/json
  25766. responses:
  25767. "200":
  25768. description: OK
  25769. schema:
  25770. items:
  25771. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  25772. type: array
  25773. "500":
  25774. description: Internal Server Error
  25775. schema:
  25776. $ref: '#/definitions/app.Response'
  25777. security:
  25778. - ApiKeyAuth: []
  25779. summary: 敞口明细 - 计划变动明细
  25780. tags:
  25781. - 企业风险管理v8
  25782. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  25783. get:
  25784. parameters:
  25785. - description: 用户ID
  25786. in: query
  25787. name: userid
  25788. required: true
  25789. type: integer
  25790. - description: 套保品种ID
  25791. in: query
  25792. name: middlegoodsid
  25793. required: true
  25794. type: integer
  25795. produces:
  25796. - application/json
  25797. responses:
  25798. "200":
  25799. description: OK
  25800. schema:
  25801. items:
  25802. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  25803. type: array
  25804. "500":
  25805. description: Internal Server Error
  25806. schema:
  25807. $ref: '#/definitions/app.Response'
  25808. security:
  25809. - ApiKeyAuth: []
  25810. summary: 敞口明细 - 现货变动明细查询
  25811. tags:
  25812. - 企业风险管理v8
  25813. /Ermcp8/QueryErmcp8EnableHedgeditem:
  25814. get:
  25815. parameters:
  25816. - description: 用户ID
  25817. in: query
  25818. name: userid
  25819. required: true
  25820. type: integer
  25821. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  25822. in: query
  25823. name: spottype
  25824. required: true
  25825. type: integer
  25826. - description: 现货商品ID
  25827. in: query
  25828. name: wrstandardid
  25829. type: integer
  25830. produces:
  25831. - application/json
  25832. responses:
  25833. "200":
  25834. description: OK
  25835. schema:
  25836. items:
  25837. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  25838. type: array
  25839. "500":
  25840. description: Internal Server Error
  25841. schema:
  25842. $ref: '#/definitions/app.Response'
  25843. security:
  25844. - ApiKeyAuth: []
  25845. summary: 可关联项目查询
  25846. tags:
  25847. - 企业风险管理v8
  25848. /Ermcp8/QueryErmcp8HedgeditemReport:
  25849. get:
  25850. parameters:
  25851. - description: 用户ID
  25852. in: query
  25853. name: userid
  25854. required: true
  25855. type: integer
  25856. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25857. in: query
  25858. name: cycletype
  25859. type: integer
  25860. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25861. 全(0)【原值】
  25862. in: query
  25863. name: cycletime
  25864. required: true
  25865. type: string
  25866. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25867. in: query
  25868. name: hedgedtype
  25869. type: integer
  25870. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25871. in: query
  25872. name: hedgeditemstatus
  25873. type: integer
  25874. - description: 项目编号,模糊查询
  25875. in: query
  25876. name: hedgeditemnum
  25877. type: string
  25878. - description: 现货商品ID
  25879. in: query
  25880. name: wrstandardid
  25881. type: integer
  25882. produces:
  25883. - application/json
  25884. responses:
  25885. "200":
  25886. description: OK
  25887. schema:
  25888. items:
  25889. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  25890. type: array
  25891. "500":
  25892. description: Internal Server Error
  25893. schema:
  25894. $ref: '#/definitions/app.Response'
  25895. security:
  25896. - ApiKeyAuth: []
  25897. summary: 套期项目报表查询
  25898. tags:
  25899. - 企业风险管理v8
  25900. /Ermcp8/QueryErmcp8RunningHedgeditem:
  25901. get:
  25902. parameters:
  25903. - description: 用户ID
  25904. in: query
  25905. name: userid
  25906. required: true
  25907. type: string
  25908. produces:
  25909. - application/json
  25910. responses:
  25911. "200":
  25912. description: OK
  25913. schema:
  25914. items:
  25915. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  25916. type: array
  25917. "500":
  25918. description: Internal Server Error
  25919. schema:
  25920. $ref: '#/definitions/app.Response'
  25921. security:
  25922. - ApiKeyAuth: []
  25923. summary: 查询执行中项目查询信息
  25924. tags:
  25925. - 企业风险管理v8
  25926. /Ermcp8/QueryInternalEnableTradeDetail:
  25927. get:
  25928. parameters:
  25929. - description: 企业ID
  25930. in: query
  25931. name: areauserid
  25932. required: true
  25933. type: integer
  25934. - description: 期货合约ID
  25935. in: query
  25936. name: goodsid
  25937. required: true
  25938. type: integer
  25939. - description: 交易用户ID
  25940. in: query
  25941. name: tradeuserid
  25942. required: true
  25943. type: integer
  25944. produces:
  25945. - application/json
  25946. responses:
  25947. "200":
  25948. description: OK
  25949. schema:
  25950. items:
  25951. $ref: '#/definitions/models.InternalEnableTradeDetail'
  25952. type: array
  25953. "500":
  25954. description: Internal Server Error
  25955. schema:
  25956. $ref: '#/definitions/app.Response'
  25957. security:
  25958. - ApiKeyAuth: []
  25959. summary: 内部成交单可关联项目查询
  25960. tags:
  25961. - 企业风险管理v8
  25962. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  25963. get:
  25964. parameters:
  25965. - description: 用户编号
  25966. in: query
  25967. name: userid
  25968. required: true
  25969. type: integer
  25970. - description: 起始日期(格式yyyymmdd)
  25971. in: query
  25972. name: begindate
  25973. type: string
  25974. - description: 终止日期(格式yyyymmdd)
  25975. in: query
  25976. name: enddate
  25977. type: string
  25978. - description: 合约代码
  25979. in: query
  25980. name: goodscode
  25981. type: string
  25982. - description: 合约名称
  25983. in: query
  25984. name: goodsname
  25985. type: string
  25986. - description: 成交单号
  25987. in: query
  25988. name: tradeid
  25989. type: integer
  25990. - description: 方向 - 0:买 1:卖
  25991. in: query
  25992. name: buyorsell
  25993. type: integer
  25994. - description: 套期主体
  25995. in: query
  25996. name: accountname
  25997. type: string
  25998. produces:
  25999. - application/json
  26000. responses:
  26001. "200":
  26002. description: OK
  26003. schema:
  26004. items:
  26005. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  26006. type: array
  26007. "500":
  26008. description: Internal Server Error
  26009. schema:
  26010. $ref: '#/definitions/app.Response'
  26011. security:
  26012. - ApiKeyAuth: []
  26013. summary: 内部未关联成交单查询
  26014. tags:
  26015. - 企业风险管理v8
  26016. /Ermcp8/QueryMarketCalendar:
  26017. get:
  26018. parameters:
  26019. - description: 市场ID
  26020. in: query
  26021. name: marketid
  26022. type: integer
  26023. produces:
  26024. - application/json
  26025. responses:
  26026. "200":
  26027. description: OK
  26028. schema:
  26029. items:
  26030. $ref: '#/definitions/models.Marketcalendar'
  26031. type: array
  26032. "500":
  26033. description: Internal Server Error
  26034. schema:
  26035. $ref: '#/definitions/app.Response'
  26036. security:
  26037. - ApiKeyAuth: []
  26038. summary: 市场节假日查询
  26039. tags:
  26040. - 企业风险管理v8
  26041. /Ermcp8/QueryPatradeLinkDetail:
  26042. get:
  26043. parameters:
  26044. - description: 用户ID
  26045. in: query
  26046. name: userid
  26047. required: true
  26048. type: integer
  26049. - description: 套保品种ID
  26050. in: query
  26051. name: middlegoodsid
  26052. required: true
  26053. type: integer
  26054. produces:
  26055. - application/json
  26056. responses:
  26057. "200":
  26058. description: OK
  26059. schema:
  26060. items:
  26061. $ref: '#/definitions/models.Patradelinkdetail'
  26062. type: array
  26063. "500":
  26064. description: Internal Server Error
  26065. schema:
  26066. $ref: '#/definitions/app.Response'
  26067. security:
  26068. - ApiKeyAuth: []
  26069. summary: 敞口明细 - 期货变动明细
  26070. tags:
  26071. - 企业风险管理v8
  26072. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  26073. get:
  26074. parameters:
  26075. - description: 企业ID
  26076. in: query
  26077. name: areauserid
  26078. required: true
  26079. type: integer
  26080. - description: 计划类型 - 1:采购 -1:销售
  26081. in: query
  26082. name: contracttype
  26083. type: integer
  26084. - description: 计划编号,模糊查询
  26085. in: query
  26086. name: hedgeplanno
  26087. type: string
  26088. - description: 现货商品,模糊查询
  26089. in: query
  26090. name: wrstandardname
  26091. type: string
  26092. produces:
  26093. - application/json
  26094. responses:
  26095. "200":
  26096. description: OK
  26097. schema:
  26098. items:
  26099. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  26100. type: array
  26101. "500":
  26102. description: Internal Server Error
  26103. schema:
  26104. $ref: '#/definitions/app.Response'
  26105. security:
  26106. - ApiKeyAuth: []
  26107. summary: 未关联购销计划
  26108. tags:
  26109. - 企业风险管理v8
  26110. /Ermcp8/QueryUnLinkSpotContract:
  26111. get:
  26112. parameters:
  26113. - description: 用户ID
  26114. in: query
  26115. name: userid
  26116. required: true
  26117. type: integer
  26118. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  26119. in: query
  26120. name: pricetype
  26121. type: integer
  26122. - description: 合同编号, 模拟查询
  26123. in: query
  26124. name: contractno
  26125. type: string
  26126. - description: 对手方, 模拟查询
  26127. in: query
  26128. name: customername
  26129. type: string
  26130. - description: 项合同类型 - 1:采购 -1:销售
  26131. in: query
  26132. name: contracttype
  26133. type: integer
  26134. produces:
  26135. - application/json
  26136. responses:
  26137. "200":
  26138. description: OK
  26139. schema:
  26140. items:
  26141. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  26142. type: array
  26143. "500":
  26144. description: Internal Server Error
  26145. schema:
  26146. $ref: '#/definitions/app.Response'
  26147. security:
  26148. - ApiKeyAuth: []
  26149. summary: 未关联合同查询
  26150. tags:
  26151. - 企业风险管理v8
  26152. /Erms2/QueryArbitrageStrategy:
  26153. get:
  26154. parameters:
  26155. - description: 账户ID
  26156. in: query
  26157. name: userid
  26158. required: true
  26159. type: integer
  26160. - description: 商品组ID(品种ID)
  26161. in: query
  26162. name: goodsgroupid
  26163. type: string
  26164. produces:
  26165. - application/json
  26166. responses:
  26167. "200":
  26168. description: OK
  26169. schema:
  26170. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  26171. "500":
  26172. description: Internal Server Error
  26173. schema:
  26174. $ref: '#/definitions/app.Response'
  26175. security:
  26176. - ApiKeyAuth: []
  26177. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  26178. tags:
  26179. - 风险管理
  26180. /Erms2/QueryInnerTradeDetail:
  26181. get:
  26182. parameters:
  26183. - description: 资金账户
  26184. in: query
  26185. name: accountid
  26186. required: true
  26187. type: integer
  26188. produces:
  26189. - application/json
  26190. responses:
  26191. "200":
  26192. description: OK
  26193. schema:
  26194. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  26195. "500":
  26196. description: Internal Server Error
  26197. schema:
  26198. $ref: '#/definitions/app.Response'
  26199. security:
  26200. - ApiKeyAuth: []
  26201. summary: 查询内部成交单信息
  26202. tags:
  26203. - 风险管理
  26204. /Erms2/QuerySpotContract:
  26205. get:
  26206. parameters:
  26207. - description: 策略申请ID
  26208. in: query
  26209. name: asapplyid
  26210. required: true
  26211. type: integer
  26212. - description: 现货合同ID
  26213. in: query
  26214. name: spotcontractid
  26215. type: integer
  26216. produces:
  26217. - application/json
  26218. responses:
  26219. "200":
  26220. description: OK
  26221. schema:
  26222. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  26223. "500":
  26224. description: Internal Server Error
  26225. schema:
  26226. $ref: '#/definitions/app.Response'
  26227. security:
  26228. - ApiKeyAuth: []
  26229. summary: 查询现货合同表信息(指定策略ID、未结束的)
  26230. tags:
  26231. - 风险管理
  26232. /Erms3/AddErms2ASApply:
  26233. post:
  26234. parameters:
  26235. - description: 申请参数
  26236. in: body
  26237. name: jsonBody
  26238. required: true
  26239. schema:
  26240. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  26241. produces:
  26242. - application/json
  26243. responses:
  26244. "200":
  26245. description: OK
  26246. schema:
  26247. $ref: '#/definitions/app.Response'
  26248. "500":
  26249. description: Internal Server Error
  26250. schema:
  26251. $ref: '#/definitions/app.Response'
  26252. security:
  26253. - ApiKeyAuth: []
  26254. summary: 新增期现套利业务申请
  26255. tags:
  26256. - 风险管理v3
  26257. /Erms3/AddErms2SpotTradeApply:
  26258. post:
  26259. parameters:
  26260. - description: 申请参数
  26261. in: body
  26262. name: jsonBody
  26263. required: true
  26264. schema:
  26265. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  26266. produces:
  26267. - application/json
  26268. responses:
  26269. "200":
  26270. description: OK
  26271. schema:
  26272. $ref: '#/definitions/app.Response'
  26273. "500":
  26274. description: Internal Server Error
  26275. schema:
  26276. $ref: '#/definitions/app.Response'
  26277. security:
  26278. - ApiKeyAuth: []
  26279. summary: 新增现货贸易业务申请
  26280. tags:
  26281. - 风险管理v3
  26282. /Erms3/AddSpotContractApply:
  26283. post:
  26284. parameters:
  26285. - description: 申请参数
  26286. in: body
  26287. name: jsonBody
  26288. required: true
  26289. schema:
  26290. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  26291. produces:
  26292. - application/json
  26293. responses:
  26294. "200":
  26295. description: OK
  26296. schema:
  26297. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  26298. "500":
  26299. description: Internal Server Error
  26300. schema:
  26301. $ref: '#/definitions/app.Response'
  26302. security:
  26303. - ApiKeyAuth: []
  26304. summary: 新增现货合同申请
  26305. tags:
  26306. - 风险管理v3
  26307. /Erms3/AddUserInfoApply:
  26308. post:
  26309. parameters:
  26310. - description: 用户信息
  26311. in: body
  26312. name: jsonBody
  26313. required: true
  26314. schema:
  26315. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  26316. produces:
  26317. - application/json
  26318. responses:
  26319. "200":
  26320. description: OK
  26321. schema:
  26322. $ref: '#/definitions/app.Response'
  26323. "500":
  26324. description: Internal Server Error
  26325. schema:
  26326. $ref: '#/definitions/app.Response'
  26327. security:
  26328. - ApiKeyAuth: []
  26329. summary: 新增客户申请
  26330. tags:
  26331. - 风险管理v3
  26332. /Erms3/DeleteUserInfoApply:
  26333. get:
  26334. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  26335. parameters:
  26336. - description: 用户ID
  26337. in: query
  26338. name: userID
  26339. required: true
  26340. type: integer
  26341. produces:
  26342. - application/json
  26343. responses:
  26344. "200":
  26345. description: OK
  26346. schema:
  26347. $ref: '#/definitions/app.Response'
  26348. "500":
  26349. description: Internal Server Error
  26350. schema:
  26351. $ref: '#/definitions/app.Response'
  26352. security:
  26353. - ApiKeyAuth: []
  26354. summary: 删除客户申请
  26355. tags:
  26356. - 风险管理v3
  26357. /Erms3/ModifyUserInfoApply:
  26358. post:
  26359. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  26360. int, "userstate": 2 }'
  26361. parameters:
  26362. - description: 用户信息
  26363. in: body
  26364. name: jsonBody
  26365. required: true
  26366. schema:
  26367. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  26368. produces:
  26369. - application/json
  26370. responses:
  26371. "200":
  26372. description: OK
  26373. schema:
  26374. $ref: '#/definitions/app.Response'
  26375. "500":
  26376. description: Internal Server Error
  26377. schema:
  26378. $ref: '#/definitions/app.Response'
  26379. security:
  26380. - ApiKeyAuth: []
  26381. summary: 修改客户申请
  26382. tags:
  26383. - 风险管理v3
  26384. /Erms3/QueryBusinessInfo:
  26385. get:
  26386. parameters:
  26387. - description: 资金账号ID列表,用逗号分隔
  26388. in: query
  26389. name: accountids
  26390. required: true
  26391. type: string
  26392. - description: 状态,0为未结束 1为已结束
  26393. in: query
  26394. name: status
  26395. required: true
  26396. type: integer
  26397. produces:
  26398. - application/json
  26399. responses:
  26400. "200":
  26401. description: OK
  26402. schema:
  26403. items:
  26404. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  26405. type: array
  26406. "500":
  26407. description: Internal Server Error
  26408. schema:
  26409. $ref: '#/definitions/app.Response'
  26410. security:
  26411. - ApiKeyAuth: []
  26412. summary: 查询业务表单数据
  26413. tags:
  26414. - 风险管理v3
  26415. /Erms3/QueryPendingAuditContract:
  26416. get:
  26417. parameters:
  26418. - description: 资金账号ID列表,逗号隔开
  26419. in: query
  26420. name: accountids
  26421. required: true
  26422. type: string
  26423. - description: 合同类型 1-采购 -1-销售
  26424. in: query
  26425. name: contracttype
  26426. required: true
  26427. type: integer
  26428. - description: 合同模式 1-普通 2-回购
  26429. in: query
  26430. name: contractmode
  26431. required: true
  26432. type: integer
  26433. produces:
  26434. - application/json
  26435. responses:
  26436. "200":
  26437. description: OK
  26438. schema:
  26439. items:
  26440. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26441. type: array
  26442. "500":
  26443. description: Internal Server Error
  26444. schema:
  26445. $ref: '#/definitions/app.Response'
  26446. security:
  26447. - ApiKeyAuth: []
  26448. summary: 查询待审核合同
  26449. tags:
  26450. - 风险管理v3
  26451. /Erms3/QueryPendingBusiness:
  26452. get:
  26453. parameters:
  26454. - description: 资金账号ID列表,逗号隔开
  26455. in: query
  26456. name: accountids
  26457. required: true
  26458. type: string
  26459. produces:
  26460. - application/json
  26461. responses:
  26462. "200":
  26463. description: OK
  26464. schema:
  26465. items:
  26466. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26467. type: array
  26468. "500":
  26469. description: Internal Server Error
  26470. schema:
  26471. $ref: '#/definitions/app.Response'
  26472. security:
  26473. - ApiKeyAuth: []
  26474. summary: 查询待审核基差贸易业务
  26475. tags:
  26476. - 风险管理v3
  26477. /Erms3/QuerySpotContractAppleForm:
  26478. get:
  26479. parameters:
  26480. - description: 登录账号
  26481. in: query
  26482. name: loginID
  26483. required: true
  26484. type: integer
  26485. produces:
  26486. - application/json
  26487. responses:
  26488. "200":
  26489. description: OK
  26490. schema:
  26491. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26492. "500":
  26493. description: Internal Server Error
  26494. schema:
  26495. $ref: '#/definitions/app.Response'
  26496. security:
  26497. - ApiKeyAuth: []
  26498. summary: 查询合同申请表单数据
  26499. tags:
  26500. - 风险管理v3
  26501. /Erms3/QuerySpotContractDetail:
  26502. get:
  26503. parameters:
  26504. - description: 资金账号ID列表,用逗号分隔
  26505. in: query
  26506. name: accountids
  26507. required: true
  26508. type: string
  26509. - description: 合同类型,1为采购合同 -1为销售合同
  26510. in: query
  26511. name: contracttype
  26512. required: true
  26513. type: integer
  26514. - description: 合同模式,1为普通合同 2为回购销售合同
  26515. in: query
  26516. name: contractmode
  26517. required: true
  26518. type: integer
  26519. - description: 状态,0为履约中 1为已完成
  26520. in: query
  26521. name: status
  26522. required: true
  26523. type: integer
  26524. produces:
  26525. - application/json
  26526. responses:
  26527. "200":
  26528. description: OK
  26529. schema:
  26530. items:
  26531. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  26532. type: array
  26533. "500":
  26534. description: Internal Server Error
  26535. schema:
  26536. $ref: '#/definitions/app.Response'
  26537. security:
  26538. - ApiKeyAuth: []
  26539. summary: 查询合同详细信息
  26540. tags:
  26541. - 风险管理v3
  26542. /Erms3/QueryUserInfoApplies:
  26543. get:
  26544. parameters:
  26545. - description: 页码
  26546. in: query
  26547. name: page
  26548. type: integer
  26549. - description: 每页条数
  26550. in: query
  26551. name: pagesize
  26552. type: integer
  26553. - description: 客户名称,支持模糊查询
  26554. in: query
  26555. name: userName
  26556. type: string
  26557. produces:
  26558. - application/json
  26559. responses:
  26560. "200":
  26561. description: OK
  26562. schema:
  26563. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  26564. "500":
  26565. description: Internal Server Error
  26566. schema:
  26567. $ref: '#/definitions/app.Response'
  26568. security:
  26569. - ApiKeyAuth: []
  26570. summary: 客户申请信息查询
  26571. tags:
  26572. - 风险管理v3
  26573. /Erms3/QueryUserInfos:
  26574. get:
  26575. parameters:
  26576. - description: 页码
  26577. in: query
  26578. name: page
  26579. type: integer
  26580. - description: 每页条数
  26581. in: query
  26582. name: pagesize
  26583. type: integer
  26584. - description: 客户名称,支持模糊查询
  26585. in: query
  26586. name: userName
  26587. type: string
  26588. produces:
  26589. - application/json
  26590. responses:
  26591. "200":
  26592. description: OK
  26593. schema:
  26594. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  26595. "500":
  26596. description: Internal Server Error
  26597. schema:
  26598. $ref: '#/definitions/app.Response'
  26599. security:
  26600. - ApiKeyAuth: []
  26601. summary: 客户信息查询
  26602. tags:
  26603. - 风险管理v3
  26604. /HSBY/GetHsbyMyCount:
  26605. get:
  26606. description: 说明: 不包括已完成的数量。
  26607. parameters:
  26608. - description: 资金账户列表,格式:1,2,3
  26609. in: query
  26610. name: accountIDs
  26611. required: true
  26612. type: string
  26613. produces:
  26614. - application/json
  26615. responses:
  26616. "200":
  26617. description: OK
  26618. schema:
  26619. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  26620. "500":
  26621. description: Internal Server Error
  26622. schema:
  26623. $ref: '#/definitions/app.Response'
  26624. security:
  26625. - ApiKeyAuth: []
  26626. summary: 获取我的订单与包裹数量
  26627. tags:
  26628. - 定制【海商报业】
  26629. /HSBY/QueryClientFixedADConfigs:
  26630. get:
  26631. produces:
  26632. - application/json
  26633. responses:
  26634. "200":
  26635. description: OK
  26636. schema:
  26637. $ref: '#/definitions/models.Clientfixedadconfig'
  26638. "500":
  26639. description: Internal Server Error
  26640. schema:
  26641. $ref: '#/definitions/app.Response'
  26642. security:
  26643. - ApiKeyAuth: []
  26644. summary: 获取终端固定广告配置
  26645. tags:
  26646. - 定制【海商报业】
  26647. /HSBY/QueryHsbyBuyMyTradeDetail:
  26648. get:
  26649. parameters:
  26650. - description: 页码
  26651. in: query
  26652. name: page
  26653. type: integer
  26654. - description: 每页条数
  26655. in: query
  26656. name: pagesize
  26657. type: integer
  26658. - description: 资金账户列表,格式:1,2,3
  26659. in: query
  26660. name: accountIDs
  26661. required: true
  26662. type: string
  26663. produces:
  26664. - application/json
  26665. responses:
  26666. "200":
  26667. description: OK
  26668. schema:
  26669. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  26670. "500":
  26671. description: Internal Server Error
  26672. schema:
  26673. $ref: '#/definitions/app.Response'
  26674. security:
  26675. - ApiKeyAuth: []
  26676. summary: 查询"我的订单 - 已完成"单据信息
  26677. tags:
  26678. - 定制【海商报业】
  26679. /HSBY/QueryHsbyGoodsOrderDetails:
  26680. get:
  26681. description: 说明:查询结果已按委托价格和委托时间排序
  26682. parameters:
  26683. - description: 商品ID
  26684. in: query
  26685. name: goodsID
  26686. required: true
  26687. type: integer
  26688. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  26689. in: query
  26690. name: accountIDs
  26691. type: string
  26692. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  26693. in: query
  26694. name: buyOrSell
  26695. type: integer
  26696. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  26697. in: query
  26698. name: price
  26699. type: number
  26700. - description: 档位,不传则默认为3档
  26701. in: query
  26702. name: speed
  26703. type: integer
  26704. produces:
  26705. - application/json
  26706. responses:
  26707. "200":
  26708. description: OK
  26709. schema:
  26710. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  26711. "500":
  26712. description: Internal Server Error
  26713. schema:
  26714. $ref: '#/definitions/app.Response'
  26715. security:
  26716. - ApiKeyAuth: []
  26717. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  26718. tags:
  26719. - 定制【海商报业】
  26720. /HSBY/QueryHsbyListingGoodsDetail:
  26721. get:
  26722. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  26723. parameters:
  26724. - description: 商品ID
  26725. in: query
  26726. name: goodsID
  26727. required: true
  26728. type: integer
  26729. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  26730. in: query
  26731. name: accountID
  26732. type: integer
  26733. produces:
  26734. - application/json
  26735. responses:
  26736. "200":
  26737. description: OK
  26738. schema:
  26739. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  26740. "500":
  26741. description: Internal Server Error
  26742. schema:
  26743. $ref: '#/definitions/app.Response'
  26744. security:
  26745. - ApiKeyAuth: []
  26746. summary: 查询二级市场(挂牌点选)商品信息详情
  26747. tags:
  26748. - 定制【海商报业】
  26749. /HSBY/QueryHsbyMarketGoodsDetail:
  26750. get:
  26751. parameters:
  26752. - description: 委托单号
  26753. in: query
  26754. name: orderID
  26755. required: true
  26756. type: integer
  26757. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  26758. in: query
  26759. name: accountID
  26760. type: integer
  26761. produces:
  26762. - application/json
  26763. responses:
  26764. "200":
  26765. description: OK
  26766. schema:
  26767. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26768. "500":
  26769. description: Internal Server Error
  26770. schema:
  26771. $ref: '#/definitions/app.Response'
  26772. security:
  26773. - ApiKeyAuth: []
  26774. summary: 查询三级市场(商城)商品信息详情
  26775. tags:
  26776. - 定制【海商报业】
  26777. /HSBY/QueryHsbyMarketGoodses:
  26778. get:
  26779. parameters:
  26780. - description: 页码
  26781. in: query
  26782. name: page
  26783. type: integer
  26784. - description: 每页条数
  26785. in: query
  26786. name: pagesize
  26787. type: integer
  26788. - description: 市场ID列表,格式:1,2,3
  26789. in: query
  26790. name: marketIDs
  26791. required: true
  26792. type: string
  26793. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  26794. in: query
  26795. name: accountID
  26796. required: true
  26797. type: integer
  26798. - description: 类别ID
  26799. in: query
  26800. name: categoryID
  26801. type: integer
  26802. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26803. in: query
  26804. name: goodsIDs
  26805. type: string
  26806. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  26807. in: query
  26808. name: couponTypeID
  26809. type: integer
  26810. produces:
  26811. - application/json
  26812. responses:
  26813. "200":
  26814. description: OK
  26815. schema:
  26816. $ref: '#/definitions/models.HsbyMarketGoods'
  26817. "500":
  26818. description: Internal Server Error
  26819. schema:
  26820. $ref: '#/definitions/app.Response'
  26821. security:
  26822. - ApiKeyAuth: []
  26823. summary: 查询特卖商品列表(三级商城)
  26824. tags:
  26825. - 定制【海商报业】
  26826. /HSBY/QueryHsbyMarkets:
  26827. get:
  26828. produces:
  26829. - application/json
  26830. responses:
  26831. "200":
  26832. description: OK
  26833. schema:
  26834. $ref: '#/definitions/models.HsbyMarketInfo'
  26835. "500":
  26836. description: Internal Server Error
  26837. schema:
  26838. $ref: '#/definitions/app.Response'
  26839. security:
  26840. - ApiKeyAuth: []
  26841. summary: 查询海商报业相关市场信息
  26842. tags:
  26843. - 定制【海商报业】
  26844. /HSBY/QueryHsbyMyBuyOrderDetails:
  26845. get:
  26846. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  26847. parameters:
  26848. - description: 资金账户列表,格式:1,2,3
  26849. in: query
  26850. name: accountIDs
  26851. required: true
  26852. type: string
  26853. produces:
  26854. - application/json
  26855. responses:
  26856. "200":
  26857. description: OK
  26858. schema:
  26859. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  26860. "500":
  26861. description: Internal Server Error
  26862. schema:
  26863. $ref: '#/definitions/app.Response'
  26864. security:
  26865. - ApiKeyAuth: []
  26866. summary: 查询“我的订单”信息
  26867. tags:
  26868. - 定制【海商报业】
  26869. /HSBY/QueryHsbyMyGoods:
  26870. get:
  26871. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  26872. parameters:
  26873. - description: 资金账户列表,格式:1,2,3
  26874. in: query
  26875. name: accountIDs
  26876. required: true
  26877. type: string
  26878. produces:
  26879. - application/json
  26880. responses:
  26881. "200":
  26882. description: OK
  26883. schema:
  26884. $ref: '#/definitions/models.HsbyMyGoods'
  26885. "500":
  26886. description: Internal Server Error
  26887. schema:
  26888. $ref: '#/definitions/app.Response'
  26889. security:
  26890. - ApiKeyAuth: []
  26891. summary: 查询“我的商品”信息
  26892. tags:
  26893. - 定制【海商报业】
  26894. /HSBY/QueryHsbyMyPackages:
  26895. get:
  26896. parameters:
  26897. - description: 资金账户列表,格式:1,2,3
  26898. in: query
  26899. name: accountIDs
  26900. required: true
  26901. type: string
  26902. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26903. in: query
  26904. name: takeOrderStatus
  26905. type: integer
  26906. produces:
  26907. - application/json
  26908. responses:
  26909. "200":
  26910. description: OK
  26911. schema:
  26912. $ref: '#/definitions/models.HsbyMyPackage'
  26913. "500":
  26914. description: Internal Server Error
  26915. schema:
  26916. $ref: '#/definitions/app.Response'
  26917. security:
  26918. - ApiKeyAuth: []
  26919. summary: 查询我的包裹信息
  26920. tags:
  26921. - 定制【海商报业】
  26922. /HSBY/QueryHsbyPreGoodsDetail:
  26923. get:
  26924. parameters:
  26925. - description: 商品ID
  26926. in: query
  26927. name: goodsID
  26928. required: true
  26929. type: integer
  26930. - description: 资金账户,主要用于获取预售商品购买上限
  26931. in: query
  26932. name: accountID
  26933. type: integer
  26934. produces:
  26935. - application/json
  26936. responses:
  26937. "200":
  26938. description: OK
  26939. schema:
  26940. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  26941. "500":
  26942. description: Internal Server Error
  26943. schema:
  26944. $ref: '#/definitions/app.Response'
  26945. security:
  26946. - ApiKeyAuth: []
  26947. summary: 查询一级市场(预售)商品信息详情
  26948. tags:
  26949. - 定制【海商报业】
  26950. /HSBY/QueryHsbyPreGoodses:
  26951. get:
  26952. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  26953. parameters:
  26954. - description: 页码
  26955. in: query
  26956. name: page
  26957. type: integer
  26958. - description: 每页条数
  26959. in: query
  26960. name: pagesize
  26961. type: integer
  26962. - description: 市场ID列表,格式:1,2,3
  26963. in: query
  26964. name: marketIDs
  26965. required: true
  26966. type: string
  26967. - description: 目的地(省)ID
  26968. in: query
  26969. name: descProvinceID
  26970. type: integer
  26971. - description: 目的地(市)ID
  26972. in: query
  26973. name: descCityID
  26974. type: integer
  26975. produces:
  26976. - application/json
  26977. responses:
  26978. "200":
  26979. description: OK
  26980. schema:
  26981. $ref: '#/definitions/models.HsbyPreGoods'
  26982. "500":
  26983. description: Internal Server Error
  26984. schema:
  26985. $ref: '#/definitions/app.Response'
  26986. security:
  26987. - ApiKeyAuth: []
  26988. summary: 查询新品上市商品列表(一级市场预售)
  26989. tags:
  26990. - 定制【海商报业】
  26991. /HSBY/QueryHsbySellMyDetails:
  26992. get:
  26993. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  26994. parameters:
  26995. - description: 页码
  26996. in: query
  26997. name: page
  26998. type: integer
  26999. - description: 每页条数
  27000. in: query
  27001. name: pagesize
  27002. type: integer
  27003. - description: 资金账户列表,格式:1,2,3
  27004. in: query
  27005. name: accountIDs
  27006. required: true
  27007. type: string
  27008. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  27009. in: query
  27010. name: orderType
  27011. type: integer
  27012. produces:
  27013. - application/json
  27014. responses:
  27015. "200":
  27016. description: OK
  27017. schema:
  27018. $ref: '#/definitions/models.HsbySellMyDetail'
  27019. "500":
  27020. description: Internal Server Error
  27021. schema:
  27022. $ref: '#/definitions/app.Response'
  27023. security:
  27024. - ApiKeyAuth: []
  27025. summary: 查询"我的闲置"单据信息
  27026. tags:
  27027. - 定制【海商报业】
  27028. /HSBY/QueryHsbyTopGoodses:
  27029. get:
  27030. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  27031. parameters:
  27032. - description: 页码
  27033. in: query
  27034. name: page
  27035. type: integer
  27036. - description: 每页条数
  27037. in: query
  27038. name: pagesize
  27039. type: integer
  27040. - description: 市场ID列表,格式:1,2,3
  27041. in: query
  27042. name: marketIDs
  27043. required: true
  27044. type: string
  27045. - description: 目的地(省)ID
  27046. in: query
  27047. name: descProvinceID
  27048. type: integer
  27049. - description: 目的地(市)ID
  27050. in: query
  27051. name: descCityID
  27052. type: integer
  27053. produces:
  27054. - application/json
  27055. responses:
  27056. "200":
  27057. description: OK
  27058. schema:
  27059. $ref: '#/definitions/models.HsbyTopGoods'
  27060. "500":
  27061. description: Internal Server Error
  27062. schema:
  27063. $ref: '#/definitions/app.Response'
  27064. security:
  27065. - ApiKeyAuth: []
  27066. summary: 查询热卖商品列表(二级市场挂牌点选)
  27067. tags:
  27068. - 定制【海商报业】
  27069. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  27070. get:
  27071. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  27072. parameters:
  27073. - description: 商品ID
  27074. in: query
  27075. name: goodsID
  27076. required: true
  27077. type: integer
  27078. produces:
  27079. - application/json
  27080. responses:
  27081. "200":
  27082. description: OK
  27083. schema:
  27084. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  27085. "500":
  27086. description: Internal Server Error
  27087. schema:
  27088. $ref: '#/definitions/app.Response'
  27089. security:
  27090. - ApiKeyAuth: []
  27091. summary: 查询游客三级市场(商城)商品信息详情
  27092. tags:
  27093. - 定制【海商报业】
  27094. /HSBY/QueryHsbyVisitorMarketGoodses:
  27095. get:
  27096. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  27097. parameters:
  27098. - description: 页码
  27099. in: query
  27100. name: page
  27101. type: integer
  27102. - description: 每页条数
  27103. in: query
  27104. name: pagesize
  27105. type: integer
  27106. - description: 市场ID列表,格式:1,2,3
  27107. in: query
  27108. name: marketIDs
  27109. required: true
  27110. type: string
  27111. - description: 类别ID
  27112. in: query
  27113. name: categoryID
  27114. type: integer
  27115. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  27116. in: query
  27117. name: goodsIDs
  27118. type: string
  27119. produces:
  27120. - application/json
  27121. responses:
  27122. "200":
  27123. description: OK
  27124. schema:
  27125. $ref: '#/definitions/models.HsbyMarketGoods'
  27126. "500":
  27127. description: Internal Server Error
  27128. schema:
  27129. $ref: '#/definitions/app.Response'
  27130. security:
  27131. - ApiKeyAuth: []
  27132. summary: 查询游客特卖商品列表(三级商城)
  27133. tags:
  27134. - 定制【海商报业】
  27135. /HSBY/QueryMyCollectionOrders:
  27136. get:
  27137. parameters:
  27138. - description: 页码
  27139. in: query
  27140. name: page
  27141. type: integer
  27142. - description: 每页条数
  27143. in: query
  27144. name: pagesize
  27145. type: integer
  27146. - description: 资金账户,格式:1,2,3
  27147. in: query
  27148. name: accountIDs
  27149. required: true
  27150. type: string
  27151. produces:
  27152. - application/json
  27153. responses:
  27154. "200":
  27155. description: OK
  27156. schema:
  27157. $ref: '#/definitions/models.HsbySellCollectionOrder'
  27158. "500":
  27159. description: Internal Server Error
  27160. schema:
  27161. $ref: '#/definitions/app.Response'
  27162. security:
  27163. - ApiKeyAuth: []
  27164. summary: 我的闲置中收款信息查询
  27165. tags:
  27166. - 定制【海商报业】
  27167. /HSBY/QueryMyCouponHolds:
  27168. get:
  27169. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  27170. parameters:
  27171. - description: 资金账户列表,格式:1,2,3
  27172. in: query
  27173. name: accountIDs
  27174. required: true
  27175. type: string
  27176. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  27177. in: query
  27178. name: holdStatus
  27179. type: string
  27180. produces:
  27181. - application/json
  27182. responses:
  27183. "200":
  27184. description: OK
  27185. schema:
  27186. $ref: '#/definitions/models.MyCouponHold'
  27187. "500":
  27188. description: Internal Server Error
  27189. schema:
  27190. $ref: '#/definitions/app.Response'
  27191. security:
  27192. - ApiKeyAuth: []
  27193. summary: 我的优惠卷持仓查询
  27194. tags:
  27195. - 定制【海商报业】
  27196. /HSBY/QueryMyCoupons:
  27197. get:
  27198. parameters:
  27199. - description: 资金账户列表,格式:1,2,3
  27200. in: query
  27201. name: accountIDs
  27202. required: true
  27203. type: string
  27204. - description: 商品ID, 一般与sellUserID配套传入
  27205. in: query
  27206. name: goodsID
  27207. type: integer
  27208. - description: 卖方UserID
  27209. in: query
  27210. name: sellUserID
  27211. type: integer
  27212. produces:
  27213. - application/json
  27214. responses:
  27215. "200":
  27216. description: OK
  27217. schema:
  27218. $ref: '#/definitions/models.MyCoupon'
  27219. "500":
  27220. description: Internal Server Error
  27221. schema:
  27222. $ref: '#/definitions/app.Response'
  27223. security:
  27224. - ApiKeyAuth: []
  27225. summary: 我的优惠卷查询
  27226. tags:
  27227. - 定制【海商报业】
  27228. /HSBY/QueryMyPayOrders:
  27229. get:
  27230. parameters:
  27231. - description: 页码
  27232. in: query
  27233. name: page
  27234. type: integer
  27235. - description: 每页条数
  27236. in: query
  27237. name: pagesize
  27238. type: integer
  27239. - description: 资金账户列表,格式:1,2,3
  27240. in: query
  27241. name: accountIDs
  27242. required: true
  27243. type: string
  27244. - description: 买方委托单号
  27245. in: query
  27246. name: buyOrderID
  27247. type: integer
  27248. - description: 卖方委托单号
  27249. in: query
  27250. name: sellOrderID
  27251. type: integer
  27252. produces:
  27253. - application/json
  27254. responses:
  27255. "200":
  27256. description: OK
  27257. schema:
  27258. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  27259. "500":
  27260. description: Internal Server Error
  27261. schema:
  27262. $ref: '#/definitions/app.Response'
  27263. security:
  27264. - ApiKeyAuth: []
  27265. summary: 获取我的订单中待付款信息
  27266. tags:
  27267. - 定制【海商报业】
  27268. /HSBY/QueryMyUsedCoupon:
  27269. get:
  27270. parameters:
  27271. - description: 资金账户列表,格式:1,2,3
  27272. in: query
  27273. name: accountIDs
  27274. required: true
  27275. type: string
  27276. produces:
  27277. - application/json
  27278. responses:
  27279. "200":
  27280. description: OK
  27281. schema:
  27282. $ref: '#/definitions/models.MyUsedCoupon'
  27283. "500":
  27284. description: Internal Server Error
  27285. schema:
  27286. $ref: '#/definitions/app.Response'
  27287. security:
  27288. - ApiKeyAuth: []
  27289. summary: 已使用优惠卷查询
  27290. tags:
  27291. - 定制【海商报业】
  27292. /HSBY/QueryProvincesAndCities:
  27293. get:
  27294. description: 查询结果只包括二级市场商品已关连的省市信息。
  27295. parameters:
  27296. - description: 省ID
  27297. in: query
  27298. name: provinceID
  27299. type: integer
  27300. produces:
  27301. - application/json
  27302. responses:
  27303. "200":
  27304. description: OK
  27305. schema:
  27306. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  27307. "500":
  27308. description: Internal Server Error
  27309. schema:
  27310. $ref: '#/definitions/app.Response'
  27311. security:
  27312. - ApiKeyAuth: []
  27313. summary: 查询省市信息(不包括区)
  27314. tags:
  27315. - 定制【海商报业】
  27316. /HSBY/SetHsbyMyPackagesStatus:
  27317. post:
  27318. parameters:
  27319. - description: 提货单号
  27320. in: query
  27321. name: takeOrderID
  27322. required: true
  27323. type: string
  27324. - description: 资金账号
  27325. in: query
  27326. name: accountID
  27327. required: true
  27328. type: integer
  27329. produces:
  27330. - application/json
  27331. responses:
  27332. "200":
  27333. description: OK
  27334. schema:
  27335. $ref: '#/definitions/app.Response'
  27336. "500":
  27337. description: Internal Server Error
  27338. schema:
  27339. $ref: '#/definitions/app.Response'
  27340. security:
  27341. - ApiKeyAuth: []
  27342. summary: 设置我的包裹已收货状态
  27343. tags:
  27344. - 定制【海商报业】
  27345. /Market/GetAllExExchanges:
  27346. get:
  27347. produces:
  27348. - application/json
  27349. responses:
  27350. "200":
  27351. description: OK
  27352. schema:
  27353. $ref: '#/definitions/models.Goods'
  27354. "500":
  27355. description: Internal Server Error
  27356. schema:
  27357. $ref: '#/definitions/app.Response'
  27358. security:
  27359. - ApiKeyAuth: []
  27360. summary: 获取所有外部交易所信息
  27361. tags:
  27362. - 通用市场
  27363. /Market/QueryGoodsesByLoginID:
  27364. get:
  27365. parameters:
  27366. - description: 登录账号
  27367. in: query
  27368. name: loginID
  27369. required: true
  27370. type: integer
  27371. - description: 市场ID列表,格式:1,2,3
  27372. in: query
  27373. name: marketIDs
  27374. type: string
  27375. produces:
  27376. - application/json
  27377. responses:
  27378. "200":
  27379. description: OK
  27380. schema:
  27381. $ref: '#/definitions/models.Goods'
  27382. "500":
  27383. description: Internal Server Error
  27384. schema:
  27385. $ref: '#/definitions/app.Response'
  27386. security:
  27387. - ApiKeyAuth: []
  27388. summary: 获取登录账号有权限的商品信息
  27389. tags:
  27390. - 通用市场
  27391. /Market/QueryMarketRun:
  27392. get:
  27393. parameters:
  27394. - description: 市场ID,不传返回所有
  27395. in: query
  27396. name: marketID
  27397. type: integer
  27398. produces:
  27399. - application/json
  27400. responses:
  27401. "200":
  27402. description: OK
  27403. schema:
  27404. $ref: '#/definitions/models.Marketrun'
  27405. "500":
  27406. description: Internal Server Error
  27407. schema:
  27408. $ref: '#/definitions/app.Response'
  27409. security:
  27410. - ApiKeyAuth: []
  27411. summary: 查询市场运行信息
  27412. tags:
  27413. - 通用市场
  27414. /Market/QueryMarketsByLoginID:
  27415. get:
  27416. parameters:
  27417. - description: 登录账号
  27418. in: query
  27419. name: loginID
  27420. required: true
  27421. type: integer
  27422. produces:
  27423. - application/json
  27424. responses:
  27425. "200":
  27426. description: OK
  27427. schema:
  27428. $ref: '#/definitions/models.Market'
  27429. "500":
  27430. description: Internal Server Error
  27431. schema:
  27432. $ref: '#/definitions/app.Response'
  27433. security:
  27434. - ApiKeyAuth: []
  27435. summary: 获取登录账号有权限的市场信息
  27436. tags:
  27437. - 通用市场
  27438. /Order/QueryHisTradeDetail:
  27439. get:
  27440. parameters:
  27441. - description: 资金账户 - 格式:1,2,3
  27442. in: query
  27443. name: accountID
  27444. required: true
  27445. type: string
  27446. - description: 成交单号
  27447. in: query
  27448. name: tradeID
  27449. type: integer
  27450. - description: 委托单号
  27451. in: query
  27452. name: orderID
  27453. type: integer
  27454. - description: 商品ID
  27455. in: query
  27456. name: goodsID
  27457. type: integer
  27458. - description: 交易模式 - 格式:1,2,3
  27459. in: query
  27460. name: tradeMode
  27461. type: string
  27462. - description: 委托单据类型
  27463. in: query
  27464. name: buildType
  27465. type: integer
  27466. - description: 成交类别 - 格式:1,2,3
  27467. in: query
  27468. name: tradeType
  27469. type: string
  27470. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27471. in: query
  27472. name: startDate
  27473. type: string
  27474. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27475. in: query
  27476. name: endDate
  27477. type: string
  27478. produces:
  27479. - application/json
  27480. responses:
  27481. "200":
  27482. description: OK
  27483. schema:
  27484. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27485. "500":
  27486. description: Internal Server Error
  27487. schema:
  27488. $ref: '#/definitions/app.Response'
  27489. security:
  27490. - ApiKeyAuth: []
  27491. summary: 历史成交单查询(合约市场)
  27492. tags:
  27493. - 通用单据
  27494. /Order/QueryHisTradeOrderDetail:
  27495. get:
  27496. parameters:
  27497. - description: 资金账户 - 格式:1,2,3
  27498. in: query
  27499. name: accountID
  27500. required: true
  27501. type: string
  27502. - description: 交易模式 - 格式:1,2,3
  27503. in: query
  27504. name: tradeMode
  27505. type: string
  27506. - description: 委托状态 - 格式:1,2,3
  27507. in: query
  27508. name: orderStatus
  27509. type: string
  27510. - description: 委托单号
  27511. in: query
  27512. name: orderID
  27513. type: integer
  27514. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27515. in: query
  27516. name: startDate
  27517. type: string
  27518. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27519. in: query
  27520. name: endDate
  27521. type: string
  27522. produces:
  27523. - application/json
  27524. responses:
  27525. "200":
  27526. description: OK
  27527. schema:
  27528. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27529. "500":
  27530. description: Internal Server Error
  27531. schema:
  27532. $ref: '#/definitions/app.Response'
  27533. security:
  27534. - ApiKeyAuth: []
  27535. summary: 历史委托单查询请求(合约市场)
  27536. tags:
  27537. - 通用单据
  27538. /Order/QueryTradeDetail:
  27539. get:
  27540. parameters:
  27541. - description: 资金账户 - 格式:1,2,3
  27542. in: query
  27543. name: accountID
  27544. required: true
  27545. type: string
  27546. - description: 成交单号
  27547. in: query
  27548. name: tradeID
  27549. type: integer
  27550. - description: 委托单号
  27551. in: query
  27552. name: orderID
  27553. type: integer
  27554. - description: 交易模式 - 格式:1,2,3
  27555. in: query
  27556. name: tradeMode
  27557. type: string
  27558. - description: 委托单据类型
  27559. in: query
  27560. name: buildType
  27561. type: integer
  27562. - description: 成交类别 - 格式:1,2,3
  27563. in: query
  27564. name: tradeType
  27565. type: string
  27566. - description: 商品ID
  27567. in: query
  27568. name: goodsID
  27569. type: integer
  27570. produces:
  27571. - application/json
  27572. responses:
  27573. "200":
  27574. description: OK
  27575. schema:
  27576. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27577. "500":
  27578. description: Internal Server Error
  27579. schema:
  27580. $ref: '#/definitions/app.Response'
  27581. security:
  27582. - ApiKeyAuth: []
  27583. summary: 成交单查询(合约市场)
  27584. tags:
  27585. - 通用单据
  27586. /Order/QueryTradeHolderDetail:
  27587. get:
  27588. parameters:
  27589. - description: 用户id
  27590. in: query
  27591. name: userid
  27592. type: integer
  27593. - description: 资金账号, 格式 1,2,3
  27594. in: query
  27595. name: accids
  27596. type: string
  27597. - description: 交易模式, 格式 1,2,3
  27598. in: query
  27599. name: trademodes
  27600. type: string
  27601. - description: 市场id, 格式 1,2,3
  27602. in: query
  27603. name: marketids
  27604. type: string
  27605. - description: 商品id
  27606. in: query
  27607. name: goodsid
  27608. type: integer
  27609. - description: 买卖方向 0-买 1-卖
  27610. in: query
  27611. name: buyorsell
  27612. type: integer
  27613. produces:
  27614. - application/json
  27615. responses:
  27616. "200":
  27617. description: OK
  27618. schema:
  27619. items:
  27620. $ref: '#/definitions/models.TradeHolderDetail'
  27621. type: array
  27622. "500":
  27623. description: Internal Server Error
  27624. schema:
  27625. $ref: '#/definitions/app.Response'
  27626. security:
  27627. - ApiKeyAuth: []
  27628. summary: 查询持仓明细
  27629. tags:
  27630. - 通用单据
  27631. /Order/QueryTradeOrderDetail:
  27632. get:
  27633. parameters:
  27634. - description: 资金账户 - 格式:1,2,3
  27635. in: query
  27636. name: accountID
  27637. required: true
  27638. type: string
  27639. - description: 交易模式 - 格式:1,2,3
  27640. in: query
  27641. name: tradeMode
  27642. type: string
  27643. - description: 委托状态 - 格式:1,2,3
  27644. in: query
  27645. name: orderStatus
  27646. type: string
  27647. - description: 委托单号
  27648. in: query
  27649. name: orderID
  27650. type: integer
  27651. produces:
  27652. - application/json
  27653. responses:
  27654. "200":
  27655. description: OK
  27656. schema:
  27657. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  27658. "500":
  27659. description: Internal Server Error
  27660. schema:
  27661. $ref: '#/definitions/app.Response'
  27662. security:
  27663. - ApiKeyAuth: []
  27664. summary: 委托单查询请求(合约市场)
  27665. tags:
  27666. - 通用单据
  27667. /Order/QueryTradePosition:
  27668. get:
  27669. parameters:
  27670. - description: 资金账户 - 格式:1,2,3
  27671. in: query
  27672. name: accountID
  27673. required: true
  27674. type: string
  27675. - description: 交易模式 - 格式:1,2,3
  27676. in: query
  27677. name: tradeMode
  27678. type: string
  27679. produces:
  27680. - application/json
  27681. responses:
  27682. "200":
  27683. description: OK
  27684. schema:
  27685. $ref: '#/definitions/order.QueryTradePositionRsp'
  27686. "500":
  27687. description: Internal Server Error
  27688. schema:
  27689. $ref: '#/definitions/app.Response'
  27690. security:
  27691. - ApiKeyAuth: []
  27692. summary: 持仓汇总查询(合约市场)
  27693. tags:
  27694. - 通用单据
  27695. /Qhj/QueryAccountInOutApply:
  27696. get:
  27697. parameters:
  27698. - description: 用户ID
  27699. in: query
  27700. name: userid
  27701. required: true
  27702. type: integer
  27703. - description: 申请起始日期(格式yyyymmdd)
  27704. in: query
  27705. name: begindate
  27706. type: string
  27707. - description: 申请截止日期(格式yyyymmdd)
  27708. in: query
  27709. name: enddate
  27710. type: string
  27711. - description: 模糊搜索名称
  27712. in: query
  27713. name: likename
  27714. type: string
  27715. produces:
  27716. - application/json
  27717. responses:
  27718. "200":
  27719. description: OK
  27720. schema:
  27721. items:
  27722. $ref: '#/definitions/models.QhjAccountOutInApply'
  27723. type: array
  27724. "500":
  27725. description: Internal Server Error
  27726. schema:
  27727. $ref: '#/definitions/app.Response'
  27728. security:
  27729. - ApiKeyAuth: []
  27730. summary: 查询充值提现
  27731. tags:
  27732. - 大连千海金
  27733. /Qhj/QueryAreaFinanceConfig:
  27734. get:
  27735. parameters:
  27736. - description: 机构用户ID 其他做市关系,都设置为 1
  27737. in: query
  27738. name: userid
  27739. type: integer
  27740. produces:
  27741. - application/json
  27742. responses:
  27743. "200":
  27744. description: OK
  27745. schema:
  27746. items:
  27747. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  27748. type: array
  27749. "500":
  27750. description: Internal Server Error
  27751. schema:
  27752. $ref: '#/definitions/app.Response'
  27753. security:
  27754. - ApiKeyAuth: []
  27755. summary: 查询企业配置表
  27756. tags:
  27757. - 大连千海金
  27758. /Qhj/QueryBankAccountSign:
  27759. get:
  27760. parameters:
  27761. - description: 用户ID
  27762. in: query
  27763. name: userid
  27764. required: true
  27765. type: integer
  27766. produces:
  27767. - application/json
  27768. responses:
  27769. "200":
  27770. description: OK
  27771. schema:
  27772. items:
  27773. $ref: '#/definitions/models.QhjBankAccountSign'
  27774. type: array
  27775. "500":
  27776. description: Internal Server Error
  27777. schema:
  27778. $ref: '#/definitions/app.Response'
  27779. security:
  27780. - ApiKeyAuth: []
  27781. summary: 查询签约银行信息(提现账户管理)
  27782. tags:
  27783. - 大连千海金
  27784. /Qhj/QueryBankInfo:
  27785. get:
  27786. produces:
  27787. - application/json
  27788. responses:
  27789. "200":
  27790. description: OK
  27791. schema:
  27792. items:
  27793. $ref: '#/definitions/models.QhjBankInfo'
  27794. type: array
  27795. "500":
  27796. description: Internal Server Error
  27797. schema:
  27798. $ref: '#/definitions/app.Response'
  27799. security:
  27800. - ApiKeyAuth: []
  27801. summary: 查询开户行
  27802. tags:
  27803. - 大连千海金
  27804. /Qhj/QueryBrokerApply:
  27805. get:
  27806. parameters:
  27807. - description: 所属机构ID
  27808. in: query
  27809. name: userid
  27810. type: integer
  27811. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27812. in: query
  27813. name: filterstatus
  27814. type: string
  27815. produces:
  27816. - application/json
  27817. responses:
  27818. "200":
  27819. description: OK
  27820. schema:
  27821. items:
  27822. $ref: '#/definitions/models.QhjBrokerApply'
  27823. type: array
  27824. "500":
  27825. description: Internal Server Error
  27826. schema:
  27827. $ref: '#/definitions/app.Response'
  27828. security:
  27829. - ApiKeyAuth: []
  27830. summary: 查询经纪人申请
  27831. tags:
  27832. - 大连千海金
  27833. /Qhj/QueryBrokerApplyEx:
  27834. get:
  27835. parameters:
  27836. - description: 所属机构ID
  27837. in: query
  27838. name: userid
  27839. type: integer
  27840. produces:
  27841. - application/json
  27842. responses:
  27843. "200":
  27844. description: OK
  27845. schema:
  27846. items:
  27847. $ref: '#/definitions/models.QhjBrokerApplyEx'
  27848. type: array
  27849. "500":
  27850. description: Internal Server Error
  27851. schema:
  27852. $ref: '#/definitions/app.Response'
  27853. security:
  27854. - ApiKeyAuth: []
  27855. summary: 查询经纪人信息和申请记录
  27856. tags:
  27857. - 大连千海金
  27858. /Qhj/QueryBrokerRewardLog:
  27859. get:
  27860. parameters:
  27861. - description: 用户ID
  27862. in: query
  27863. name: userid
  27864. required: true
  27865. type: integer
  27866. - description: 开始交易日(yyyymmdd)
  27867. in: query
  27868. name: begindate
  27869. type: string
  27870. - description: 结束交易日(yyyymmdd)
  27871. in: query
  27872. name: enddate
  27873. type: string
  27874. produces:
  27875. - application/json
  27876. responses:
  27877. "200":
  27878. description: OK
  27879. schema:
  27880. items:
  27881. $ref: '#/definitions/models.QhjBrokerRewardLog'
  27882. type: array
  27883. "500":
  27884. description: Internal Server Error
  27885. schema:
  27886. $ref: '#/definitions/app.Response'
  27887. security:
  27888. - ApiKeyAuth: []
  27889. summary: 查询奖励流水(我的奖励)
  27890. tags:
  27891. - 大连千海金
  27892. /Qhj/QueryContract:
  27893. get:
  27894. parameters:
  27895. - description: 用户ID
  27896. in: query
  27897. name: userid
  27898. type: integer
  27899. - description: scf合同id
  27900. in: query
  27901. name: scfcontractid
  27902. type: integer
  27903. produces:
  27904. - application/json
  27905. responses:
  27906. "200":
  27907. description: OK
  27908. schema:
  27909. items:
  27910. $ref: '#/definitions/models.QhjContract'
  27911. type: array
  27912. "500":
  27913. description: Internal Server Error
  27914. schema:
  27915. $ref: '#/definitions/app.Response'
  27916. security:
  27917. - ApiKeyAuth: []
  27918. summary: 查询融资明细(合同)
  27919. tags:
  27920. - 大连千海金
  27921. /Qhj/QueryContractLog:
  27922. get:
  27923. parameters:
  27924. - description: scf合同id
  27925. in: query
  27926. name: scfcontractid
  27927. required: true
  27928. type: integer
  27929. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  27930. in: query
  27931. name: amounttype
  27932. type: string
  27933. produces:
  27934. - application/json
  27935. responses:
  27936. "200":
  27937. description: OK
  27938. schema:
  27939. items:
  27940. $ref: '#/definitions/models.QhjContractLog'
  27941. type: array
  27942. "500":
  27943. description: Internal Server Error
  27944. schema:
  27945. $ref: '#/definitions/app.Response'
  27946. security:
  27947. - ApiKeyAuth: []
  27948. summary: 查询融资明细流水(融资明细详情页中的流水)
  27949. tags:
  27950. - 大连千海金
  27951. /Qhj/QueryCusBankSignBank:
  27952. get:
  27953. produces:
  27954. - application/json
  27955. responses:
  27956. "200":
  27957. description: OK
  27958. schema:
  27959. items:
  27960. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  27961. type: array
  27962. "500":
  27963. description: Internal Server Error
  27964. schema:
  27965. $ref: '#/definitions/app.Response'
  27966. security:
  27967. - ApiKeyAuth: []
  27968. summary: 查询托管银行
  27969. tags:
  27970. - 大连千海金
  27971. /Qhj/QueryCustomerInfo:
  27972. get:
  27973. parameters:
  27974. - description: 用户ID
  27975. in: query
  27976. name: userid
  27977. required: true
  27978. type: integer
  27979. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27980. in: query
  27981. name: querytype
  27982. required: true
  27983. type: integer
  27984. - description: 客户类型 1-个人 2-企业
  27985. in: query
  27986. name: userinfotype
  27987. type: integer
  27988. - description: 客户名称(模糊匹配)
  27989. in: query
  27990. name: customername
  27991. type: string
  27992. - description: 昵称(模糊匹配)
  27993. in: query
  27994. name: nickname
  27995. type: string
  27996. - description: 是否包含子级 1-包含
  27997. in: query
  27998. name: includesub
  27999. type: integer
  28000. produces:
  28001. - application/json
  28002. responses:
  28003. "200":
  28004. description: OK
  28005. schema:
  28006. items:
  28007. $ref: '#/definitions/models.QhjCustomer'
  28008. type: array
  28009. "500":
  28010. description: Internal Server Error
  28011. schema:
  28012. $ref: '#/definitions/app.Response'
  28013. security:
  28014. - ApiKeyAuth: []
  28015. summary: 查询客户资料
  28016. tags:
  28017. - 大连千海金
  28018. /Qhj/QueryGoodsEx:
  28019. get:
  28020. parameters:
  28021. - description: 商品id
  28022. in: query
  28023. name: goodsid
  28024. type: integer
  28025. produces:
  28026. - application/json
  28027. responses:
  28028. "200":
  28029. description: OK
  28030. schema:
  28031. items:
  28032. $ref: '#/definitions/models.Qhjgoodsex'
  28033. type: array
  28034. "500":
  28035. description: Internal Server Error
  28036. schema:
  28037. $ref: '#/definitions/app.Response'
  28038. security:
  28039. - ApiKeyAuth: []
  28040. summary: 交易商品扩展表
  28041. tags:
  28042. - 大连千海金
  28043. /Qhj/QueryMyTeam:
  28044. get:
  28045. parameters:
  28046. - description: 用户ID
  28047. in: query
  28048. name: userid
  28049. required: true
  28050. type: integer
  28051. produces:
  28052. - application/json
  28053. responses:
  28054. "200":
  28055. description: OK
  28056. schema:
  28057. items:
  28058. $ref: '#/definitions/models.QhjMyTeamEx'
  28059. type: array
  28060. "500":
  28061. description: Internal Server Error
  28062. schema:
  28063. $ref: '#/definitions/app.Response'
  28064. security:
  28065. - ApiKeyAuth: []
  28066. summary: 查询我的团队
  28067. tags:
  28068. - 大连千海金
  28069. /Qhj/QueryMyTeamOrder:
  28070. get:
  28071. parameters:
  28072. - description: 页码
  28073. in: query
  28074. name: page
  28075. type: integer
  28076. - description: 每页条数
  28077. in: query
  28078. name: pagesize
  28079. type: integer
  28080. - description: 用户ID
  28081. in: query
  28082. name: userid
  28083. required: true
  28084. type: integer
  28085. - description: 交易模式
  28086. in: query
  28087. name: trademode
  28088. type: integer
  28089. - description: 名称(模糊搜索账户)
  28090. in: query
  28091. name: filtername
  28092. type: string
  28093. produces:
  28094. - application/json
  28095. responses:
  28096. "200":
  28097. description: OK
  28098. schema:
  28099. items:
  28100. $ref: '#/definitions/models.QhjTeamOrder'
  28101. type: array
  28102. "500":
  28103. description: Internal Server Error
  28104. schema:
  28105. $ref: '#/definitions/app.Response'
  28106. security:
  28107. - ApiKeyAuth: []
  28108. summary: 查询团队订单(我的团队/团队订单)
  28109. tags:
  28110. - 大连千海金
  28111. /Qhj/QueryParentAreaList:
  28112. get:
  28113. parameters:
  28114. - description: 用户ID
  28115. in: query
  28116. name: userid
  28117. required: true
  28118. type: integer
  28119. produces:
  28120. - application/json
  28121. responses:
  28122. "200":
  28123. description: OK
  28124. schema:
  28125. items:
  28126. $ref: '#/definitions/models.QhjParentAreaList'
  28127. type: array
  28128. "500":
  28129. description: Internal Server Error
  28130. schema:
  28131. $ref: '#/definitions/app.Response'
  28132. security:
  28133. - ApiKeyAuth: []
  28134. summary: 查询所属机构列表
  28135. tags:
  28136. - 大连千海金
  28137. /Qhj/QueryPayOrder:
  28138. get:
  28139. parameters:
  28140. - description: 资金账号id
  28141. in: query
  28142. name: accountid
  28143. required: true
  28144. type: integer
  28145. - description: 成交单号
  28146. in: query
  28147. name: tradeid
  28148. type: integer
  28149. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28150. in: query
  28151. name: payflag
  28152. type: string
  28153. produces:
  28154. - application/json
  28155. responses:
  28156. "200":
  28157. description: OK
  28158. schema:
  28159. items:
  28160. $ref: '#/definitions/models.QhjPayOrder'
  28161. type: array
  28162. "500":
  28163. description: Internal Server Error
  28164. schema:
  28165. $ref: '#/definitions/app.Response'
  28166. security:
  28167. - ApiKeyAuth: []
  28168. summary: 查询待付款单据
  28169. tags:
  28170. - 大连千海金
  28171. /Qhj/QueryPickArea:
  28172. get:
  28173. parameters:
  28174. - description: 用户ID
  28175. in: query
  28176. name: userid
  28177. type: integer
  28178. produces:
  28179. - application/json
  28180. responses:
  28181. "200":
  28182. description: OK
  28183. schema:
  28184. items:
  28185. $ref: '#/definitions/models.QhjPickArea'
  28186. type: array
  28187. "500":
  28188. description: Internal Server Error
  28189. schema:
  28190. $ref: '#/definitions/app.Response'
  28191. security:
  28192. - ApiKeyAuth: []
  28193. summary: 查询提货门店
  28194. tags:
  28195. - 大连千海金
  28196. /Qhj/QueryPickGoods:
  28197. get:
  28198. parameters:
  28199. - description: 交易商品id
  28200. in: query
  28201. name: goodsid
  28202. required: true
  28203. type: integer
  28204. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28205. in: query
  28206. name: status
  28207. type: string
  28208. produces:
  28209. - application/json
  28210. responses:
  28211. "200":
  28212. description: OK
  28213. schema:
  28214. items:
  28215. $ref: '#/definitions/models.QhjPickGoods'
  28216. type: array
  28217. "500":
  28218. description: Internal Server Error
  28219. schema:
  28220. $ref: '#/definitions/app.Response'
  28221. security:
  28222. - ApiKeyAuth: []
  28223. summary: 查询提货商品
  28224. tags:
  28225. - 大连千海金
  28226. /Qhj/QueryRSTriggerLog:
  28227. get:
  28228. parameters:
  28229. - description: 用户ID
  28230. in: query
  28231. name: userid
  28232. type: integer
  28233. - description: 定投策略id
  28234. in: query
  28235. name: regularlystrategyid
  28236. type: integer
  28237. - description: 商品id
  28238. in: query
  28239. name: goodsid
  28240. type: integer
  28241. - description: 开始交易日(yyyymmdd)
  28242. in: query
  28243. name: begindate
  28244. type: string
  28245. - description: 结束交易日(yyyymmdd)
  28246. in: query
  28247. name: enddate
  28248. type: string
  28249. - description: 名称(模糊搜索账户)
  28250. in: query
  28251. name: filtername
  28252. type: string
  28253. produces:
  28254. - application/json
  28255. responses:
  28256. "200":
  28257. description: OK
  28258. schema:
  28259. items:
  28260. $ref: '#/definitions/models.QhjRSTriggerLog'
  28261. type: array
  28262. "500":
  28263. description: Internal Server Error
  28264. schema:
  28265. $ref: '#/definitions/app.Response'
  28266. security:
  28267. - ApiKeyAuth: []
  28268. summary: 查询定投记录(定投管理/详情/定投记录)
  28269. tags:
  28270. - 大连千海金
  28271. /Qhj/QueryRStrategy:
  28272. get:
  28273. parameters:
  28274. - description: 用户ID
  28275. in: query
  28276. name: userid
  28277. type: integer
  28278. - description: 商品id
  28279. in: query
  28280. name: goodsid
  28281. type: integer
  28282. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  28283. in: query
  28284. name: status
  28285. type: string
  28286. - description: 名称(模糊搜索账户)
  28287. in: query
  28288. name: filtername
  28289. type: string
  28290. produces:
  28291. - application/json
  28292. responses:
  28293. "200":
  28294. description: OK
  28295. schema:
  28296. items:
  28297. $ref: '#/definitions/models.QhjRStrategy'
  28298. type: array
  28299. "500":
  28300. description: Internal Server Error
  28301. schema:
  28302. $ref: '#/definitions/app.Response'
  28303. security:
  28304. - ApiKeyAuth: []
  28305. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  28306. tags:
  28307. - 大连千海金
  28308. /Qhj/QueryReckonPriceLog:
  28309. get:
  28310. parameters:
  28311. - description: 商品ID
  28312. in: query
  28313. name: goodsid
  28314. type: integer
  28315. - description: 交易日 格式(yyyymmdd)
  28316. in: query
  28317. name: tradedate
  28318. type: string
  28319. produces:
  28320. - application/json
  28321. responses:
  28322. "200":
  28323. description: OK
  28324. schema:
  28325. items:
  28326. $ref: '#/definitions/models.QhjReckonPriceLog'
  28327. type: array
  28328. "500":
  28329. description: Internal Server Error
  28330. schema:
  28331. $ref: '#/definitions/app.Response'
  28332. security:
  28333. - ApiKeyAuth: []
  28334. summary: 查询定投价(结算价)
  28335. tags:
  28336. - 大连千海金
  28337. /Qhj/QueryScoreLog:
  28338. get:
  28339. parameters:
  28340. - description: 用户ID
  28341. in: query
  28342. name: userid
  28343. required: true
  28344. type: integer
  28345. - description: 开始交易日(yyyymmdd)
  28346. in: query
  28347. name: begindate
  28348. type: string
  28349. - description: 结束交易日(yyyymmdd)
  28350. in: query
  28351. name: enddate
  28352. type: string
  28353. - description: 最近多少条
  28354. in: query
  28355. name: lastnum
  28356. type: integer
  28357. produces:
  28358. - application/json
  28359. responses:
  28360. "200":
  28361. description: OK
  28362. schema:
  28363. items:
  28364. $ref: '#/definitions/models.QhjScoreLog'
  28365. type: array
  28366. "500":
  28367. description: Internal Server Error
  28368. schema:
  28369. $ref: '#/definitions/app.Response'
  28370. security:
  28371. - ApiKeyAuth: []
  28372. summary: 查询积分流水(我的积分)
  28373. tags:
  28374. - 大连千海金
  28375. /Qhj/QuerySiteColumnDetail:
  28376. get:
  28377. parameters:
  28378. - description: 用户ID
  28379. in: query
  28380. name: userid
  28381. required: true
  28382. type: integer
  28383. produces:
  28384. - application/json
  28385. responses:
  28386. "200":
  28387. description: OK
  28388. schema:
  28389. items:
  28390. $ref: '#/definitions/models.QhjSiteColumnDetail'
  28391. type: array
  28392. "500":
  28393. description: Internal Server Error
  28394. schema:
  28395. $ref: '#/definitions/app.Response'
  28396. security:
  28397. - ApiKeyAuth: []
  28398. summary: 查询资讯
  28399. tags:
  28400. - 大连千海金
  28401. /Qhj/QueryTradeGoodsPickup:
  28402. get:
  28403. parameters:
  28404. - description: 用户ID
  28405. in: query
  28406. name: userid
  28407. required: true
  28408. type: integer
  28409. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  28410. 7:已拒绝 8:已撤销
  28411. in: query
  28412. name: takeorderstatus
  28413. type: integer
  28414. produces:
  28415. - application/json
  28416. responses:
  28417. "200":
  28418. description: OK
  28419. schema:
  28420. items:
  28421. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  28422. type: array
  28423. "500":
  28424. description: Internal Server Error
  28425. schema:
  28426. $ref: '#/definitions/app.Response'
  28427. security:
  28428. - ApiKeyAuth: []
  28429. summary: 查询提货
  28430. tags:
  28431. - 大连千海金
  28432. /Qhj/QueryUserCollectConfig:
  28433. get:
  28434. parameters:
  28435. - description: 用户ID
  28436. in: query
  28437. name: userid
  28438. required: true
  28439. type: integer
  28440. produces:
  28441. - application/json
  28442. responses:
  28443. "200":
  28444. description: OK
  28445. schema:
  28446. items:
  28447. $ref: '#/definitions/models.UserCollectConfig'
  28448. type: array
  28449. "500":
  28450. description: Internal Server Error
  28451. schema:
  28452. $ref: '#/definitions/app.Response'
  28453. security:
  28454. - ApiKeyAuth: []
  28455. summary: 查询提现账户设置
  28456. tags:
  28457. - 大连千海金
  28458. /Qhj/QueryUserReceiveInfo:
  28459. get:
  28460. parameters:
  28461. - description: 用户ID
  28462. in: query
  28463. name: userid
  28464. required: true
  28465. type: integer
  28466. produces:
  28467. - application/json
  28468. responses:
  28469. "200":
  28470. description: OK
  28471. schema:
  28472. items:
  28473. $ref: '#/definitions/models.UserReceiveInfo'
  28474. type: array
  28475. "500":
  28476. description: Internal Server Error
  28477. schema:
  28478. $ref: '#/definitions/app.Response'
  28479. security:
  28480. - ApiKeyAuth: []
  28481. summary: 查询收货地址信息
  28482. tags:
  28483. - 大连千海金
  28484. /QhjMgr/QueryAccountInOutApply:
  28485. get:
  28486. parameters:
  28487. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28488. in: query
  28489. name: querytype
  28490. required: true
  28491. type: integer
  28492. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28493. in: query
  28494. name: applystatus
  28495. type: integer
  28496. - description: 申请起始日期(格式yyyymmdd)
  28497. in: query
  28498. name: begindate
  28499. type: string
  28500. - description: 申请截止日期(格式yyyymmdd)
  28501. in: query
  28502. name: enddate
  28503. type: string
  28504. - description: 模糊搜索名称
  28505. in: query
  28506. name: likename
  28507. type: string
  28508. produces:
  28509. - application/json
  28510. responses:
  28511. "200":
  28512. description: OK
  28513. schema:
  28514. items:
  28515. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  28516. type: array
  28517. "500":
  28518. description: Internal Server Error
  28519. schema:
  28520. $ref: '#/definitions/app.Response'
  28521. security:
  28522. - ApiKeyAuth: []
  28523. summary: 查询充值提现
  28524. tags:
  28525. - 大连千海金(PCWeb)
  28526. /QhjMgr/QueryBrokerApply:
  28527. get:
  28528. parameters:
  28529. - description: 所属机构ID
  28530. in: query
  28531. name: userid
  28532. type: integer
  28533. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28534. in: query
  28535. name: filterstatus
  28536. type: string
  28537. - description: 名称(模糊匹配)
  28538. in: query
  28539. name: filtername
  28540. type: string
  28541. - description: 是否包含子级 1-包含
  28542. in: query
  28543. name: includesub
  28544. type: integer
  28545. produces:
  28546. - application/json
  28547. responses:
  28548. "200":
  28549. description: OK
  28550. schema:
  28551. items:
  28552. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28553. type: array
  28554. "500":
  28555. description: Internal Server Error
  28556. schema:
  28557. $ref: '#/definitions/app.Response'
  28558. security:
  28559. - ApiKeyAuth: []
  28560. summary: 查询经纪人申请
  28561. tags:
  28562. - 大连千海金(PCWeb)
  28563. /QhjMgr/QueryBrokerRewardReport:
  28564. get:
  28565. parameters:
  28566. - description: 所属机构ID
  28567. in: query
  28568. name: userid
  28569. required: true
  28570. type: integer
  28571. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28572. in: query
  28573. name: cycletype
  28574. required: true
  28575. type: integer
  28576. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28577. in: query
  28578. name: cycletime
  28579. required: true
  28580. type: string
  28581. - description: 名称(模糊匹配)
  28582. in: query
  28583. name: filtername
  28584. type: string
  28585. - description: 是否包含子级 1-包含
  28586. in: query
  28587. name: includesub
  28588. type: integer
  28589. produces:
  28590. - application/json
  28591. responses:
  28592. "200":
  28593. description: OK
  28594. schema:
  28595. items:
  28596. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  28597. type: array
  28598. "500":
  28599. description: Internal Server Error
  28600. schema:
  28601. $ref: '#/definitions/app.Response'
  28602. security:
  28603. - ApiKeyAuth: []
  28604. summary: 查询经纪人奖励报表(废弃)
  28605. tags:
  28606. - 大连千海金(PCWeb)
  28607. /QhjMgr/QueryContract:
  28608. get:
  28609. parameters:
  28610. - description: 用户ID
  28611. in: query
  28612. name: userid
  28613. type: integer
  28614. - description: 商品id
  28615. in: query
  28616. name: goodsid
  28617. type: integer
  28618. - description: 名称(模糊搜索账户)
  28619. in: query
  28620. name: filtername
  28621. type: string
  28622. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  28623. in: query
  28624. name: risklevel
  28625. type: string
  28626. - description: 开始交易日(yyyymmdd)
  28627. in: query
  28628. name: begindate
  28629. type: string
  28630. - description: 结束交易日(yyyymmdd)
  28631. in: query
  28632. name: enddate
  28633. type: string
  28634. produces:
  28635. - application/json
  28636. responses:
  28637. "200":
  28638. description: OK
  28639. schema:
  28640. items:
  28641. $ref: '#/definitions/models.QhjMgrContract'
  28642. type: array
  28643. "500":
  28644. description: Internal Server Error
  28645. schema:
  28646. $ref: '#/definitions/app.Response'
  28647. security:
  28648. - ApiKeyAuth: []
  28649. summary: 查询融资信息(合同)
  28650. tags:
  28651. - 大连千海金(PCWeb)
  28652. /QhjMgr/QueryCustomerInfo:
  28653. get:
  28654. parameters:
  28655. - description: 用户ID
  28656. in: query
  28657. name: userid
  28658. required: true
  28659. type: integer
  28660. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28661. in: query
  28662. name: querytype
  28663. required: true
  28664. type: integer
  28665. - description: 客户类型 1-个人 2-企业
  28666. in: query
  28667. name: userinfotype
  28668. type: integer
  28669. - description: 客户名称(模糊匹配)
  28670. in: query
  28671. name: customername
  28672. type: string
  28673. - description: 昵称(模糊匹配)
  28674. in: query
  28675. name: nickname
  28676. type: string
  28677. - description: 所属客户经理(模糊匹配)
  28678. in: query
  28679. name: brokername
  28680. type: string
  28681. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  28682. 如0503 -5月3日)
  28683. in: query
  28684. name: birthday
  28685. type: string
  28686. - description: 是否包含子级 1-包含
  28687. in: query
  28688. name: includesub
  28689. type: integer
  28690. produces:
  28691. - application/json
  28692. responses:
  28693. "200":
  28694. description: OK
  28695. schema:
  28696. items:
  28697. $ref: '#/definitions/models.QhjMgrCustomer'
  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. - 大连千海金(PCWeb)
  28708. /QhjMgr/QueryPickGoods:
  28709. get:
  28710. parameters:
  28711. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28712. in: query
  28713. name: status
  28714. type: string
  28715. produces:
  28716. - application/json
  28717. responses:
  28718. "200":
  28719. description: OK
  28720. schema:
  28721. items:
  28722. $ref: '#/definitions/models.QhjMgrPickGoods'
  28723. type: array
  28724. "500":
  28725. description: Internal Server Error
  28726. schema:
  28727. $ref: '#/definitions/app.Response'
  28728. security:
  28729. - ApiKeyAuth: []
  28730. summary: 查询提货商品
  28731. tags:
  28732. - 大连千海金(PCWeb)
  28733. /QhjMgr/QuerySubArea:
  28734. get:
  28735. parameters:
  28736. - description: 用户ID
  28737. in: query
  28738. name: userid
  28739. required: true
  28740. type: integer
  28741. produces:
  28742. - application/json
  28743. responses:
  28744. "200":
  28745. description: OK
  28746. schema:
  28747. items:
  28748. $ref: '#/definitions/models.QhjMgrSubArea'
  28749. type: array
  28750. "500":
  28751. description: Internal Server Error
  28752. schema:
  28753. $ref: '#/definitions/app.Response'
  28754. security:
  28755. - ApiKeyAuth: []
  28756. summary: 查询子机构列表
  28757. tags:
  28758. - 大连千海金(PCWeb)
  28759. /QhjMgr/QueryTradeDetail:
  28760. get:
  28761. parameters:
  28762. - description: 用户ID
  28763. in: query
  28764. name: userid
  28765. required: true
  28766. type: integer
  28767. - description: 用户类型 1-个人 2-企业
  28768. in: query
  28769. name: userinfotype
  28770. type: integer
  28771. - description: 交易模式
  28772. in: query
  28773. name: trademode
  28774. type: integer
  28775. - description: 商品id
  28776. in: query
  28777. name: goodsid
  28778. type: integer
  28779. - description: 名称(模糊搜索账户)
  28780. in: query
  28781. name: filtername
  28782. type: string
  28783. - description: 开始交易日(yyyymmdd)
  28784. in: query
  28785. name: begindate
  28786. type: string
  28787. - description: 结束交易日(yyyymmdd)
  28788. in: query
  28789. name: enddate
  28790. type: string
  28791. - description: 是否包含子级 1-包含
  28792. in: query
  28793. name: includesub
  28794. type: integer
  28795. produces:
  28796. - application/json
  28797. responses:
  28798. "200":
  28799. description: OK
  28800. schema:
  28801. items:
  28802. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  28803. type: array
  28804. "500":
  28805. description: Internal Server Error
  28806. schema:
  28807. $ref: '#/definitions/app.Response'
  28808. security:
  28809. - ApiKeyAuth: []
  28810. summary: 查询成交明细
  28811. tags:
  28812. - 大连千海金(PCWeb)
  28813. /QhjMgr/QueryTradeOrderDetail:
  28814. get:
  28815. parameters:
  28816. - description: 用户ID
  28817. in: query
  28818. name: userid
  28819. required: true
  28820. type: integer
  28821. - description: 用户类型 1-个人 2-企业
  28822. in: query
  28823. name: userinfotype
  28824. type: integer
  28825. - description: 交易模式
  28826. in: query
  28827. name: trademode
  28828. type: integer
  28829. - description: 商品id
  28830. in: query
  28831. name: goodsid
  28832. type: integer
  28833. - description: 名称(模糊搜索账户)
  28834. in: query
  28835. name: filtername
  28836. type: string
  28837. - description: 开始交易日(yyyymmdd)
  28838. in: query
  28839. name: begindate
  28840. type: string
  28841. - description: 结束交易日(yyyymmdd)
  28842. in: query
  28843. name: enddate
  28844. type: string
  28845. - description: 是否包含子级 1-包含
  28846. in: query
  28847. name: includesub
  28848. type: integer
  28849. produces:
  28850. - application/json
  28851. responses:
  28852. "200":
  28853. description: OK
  28854. schema:
  28855. items:
  28856. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  28857. type: array
  28858. "500":
  28859. description: Internal Server Error
  28860. schema:
  28861. $ref: '#/definitions/app.Response'
  28862. security:
  28863. - ApiKeyAuth: []
  28864. summary: 查询委托明细
  28865. tags:
  28866. - 大连千海金(PCWeb)
  28867. /QhjMgr/QueryTradePayOrder:
  28868. get:
  28869. parameters:
  28870. - description: 用户ID
  28871. in: query
  28872. name: userid
  28873. required: true
  28874. type: integer
  28875. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28876. in: query
  28877. name: payflag
  28878. type: string
  28879. - description: 用户类型 1-个人 2-企业
  28880. in: query
  28881. name: userinfotype
  28882. type: integer
  28883. - description: 交易模式
  28884. in: query
  28885. name: trademode
  28886. type: integer
  28887. - description: 商品id
  28888. in: query
  28889. name: goodsid
  28890. type: integer
  28891. - description: 名称(模糊搜索账户)
  28892. in: query
  28893. name: filtername
  28894. type: string
  28895. - description: 开始交易日(yyyymmdd)
  28896. in: query
  28897. name: begindate
  28898. type: string
  28899. - description: 结束交易日(yyyymmdd)
  28900. in: query
  28901. name: enddate
  28902. type: string
  28903. - description: 是否包含子级 1-包含
  28904. in: query
  28905. name: includesub
  28906. type: integer
  28907. produces:
  28908. - application/json
  28909. responses:
  28910. "200":
  28911. description: OK
  28912. schema:
  28913. items:
  28914. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  28915. type: array
  28916. "500":
  28917. description: Internal Server Error
  28918. schema:
  28919. $ref: '#/definitions/app.Response'
  28920. security:
  28921. - ApiKeyAuth: []
  28922. summary: 查询待付款单
  28923. tags:
  28924. - 大连千海金(PCWeb)
  28925. /QhjMgr/QueryTradePosition:
  28926. get:
  28927. parameters:
  28928. - description: 用户ID
  28929. in: query
  28930. name: userid
  28931. required: true
  28932. type: integer
  28933. - description: 用户类型 1-个人 2-企业
  28934. in: query
  28935. name: userinfotype
  28936. type: integer
  28937. - description: 交易模式
  28938. in: query
  28939. name: trademode
  28940. type: integer
  28941. - description: 商品id
  28942. in: query
  28943. name: goodsid
  28944. type: integer
  28945. - description: 名称(模糊搜索账户)
  28946. in: query
  28947. name: filtername
  28948. type: string
  28949. - description: 是否包含子级 1-包含
  28950. in: query
  28951. name: includesub
  28952. type: integer
  28953. produces:
  28954. - application/json
  28955. responses:
  28956. "200":
  28957. description: OK
  28958. schema:
  28959. items:
  28960. $ref: '#/definitions/models.QhjMgrPositionRsp'
  28961. type: array
  28962. "500":
  28963. description: Internal Server Error
  28964. schema:
  28965. $ref: '#/definitions/app.Response'
  28966. security:
  28967. - ApiKeyAuth: []
  28968. summary: 查询持仓汇总
  28969. tags:
  28970. - 大连千海金(PCWeb)
  28971. /QhjSys/QueryAgreementChangeLog:
  28972. get:
  28973. parameters:
  28974. - description: 协议ID
  28975. in: query
  28976. name: agreementid
  28977. type: integer
  28978. - description: 协议版本号
  28979. in: query
  28980. name: agreementversion
  28981. type: integer
  28982. - description: 协议类型 - 1:注册 2:登录 3:交易
  28983. in: query
  28984. name: agreementtype
  28985. type: integer
  28986. - description: 协议编号(模糊匹配)
  28987. in: query
  28988. name: agreementno
  28989. type: string
  28990. - description: 协议名称(模糊匹配)
  28991. in: query
  28992. name: agreementname
  28993. type: string
  28994. produces:
  28995. - application/json
  28996. responses:
  28997. "200":
  28998. description: OK
  28999. schema:
  29000. items:
  29001. $ref: '#/definitions/models.QhjAgreementChangeLog'
  29002. type: array
  29003. "500":
  29004. description: Internal Server Error
  29005. schema:
  29006. $ref: '#/definitions/app.Response'
  29007. security:
  29008. - ApiKeyAuth: []
  29009. summary: 查询协议配置变更流水
  29010. tags:
  29011. - 大连千海金(协议和签约信息)
  29012. /QhjSys/QueryAgreementConfig:
  29013. get:
  29014. parameters:
  29015. - description: 协议ID
  29016. in: query
  29017. name: agreementid
  29018. type: integer
  29019. - description: 协议版本号
  29020. in: query
  29021. name: agreementversion
  29022. type: integer
  29023. - description: 协议类型 - 1:注册 2:登录 3:交易
  29024. in: query
  29025. name: agreementtype
  29026. type: integer
  29027. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  29028. in: query
  29029. name: isvalid
  29030. type: integer
  29031. - description: 协议编号(模糊匹配)
  29032. in: query
  29033. name: agreementno
  29034. type: string
  29035. - description: 协议名称(模糊匹配)
  29036. in: query
  29037. name: agreementname
  29038. type: string
  29039. produces:
  29040. - application/json
  29041. responses:
  29042. "200":
  29043. description: OK
  29044. schema:
  29045. items:
  29046. $ref: '#/definitions/models.QhjAgreementConfig'
  29047. type: array
  29048. "500":
  29049. description: Internal Server Error
  29050. schema:
  29051. $ref: '#/definitions/app.Response'
  29052. security:
  29053. - ApiKeyAuth: []
  29054. summary: 查询协议配置
  29055. tags:
  29056. - 大连千海金(协议和签约信息)
  29057. /QhjSys/QueryCustomerSignStatus:
  29058. get:
  29059. parameters:
  29060. - description: 客户ID
  29061. in: query
  29062. name: userid
  29063. type: integer
  29064. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  29065. in: query
  29066. name: nodetype
  29067. type: integer
  29068. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29069. in: query
  29070. name: goodsid
  29071. type: integer
  29072. - description: 创建交易日(yyyyMMdd)
  29073. in: query
  29074. name: tradedate
  29075. type: string
  29076. - description: 用户名称(模糊匹配)
  29077. in: query
  29078. name: username
  29079. type: string
  29080. produces:
  29081. - application/json
  29082. responses:
  29083. "200":
  29084. description: OK
  29085. schema:
  29086. items:
  29087. $ref: '#/definitions/models.QhjCustomerSignStatus'
  29088. type: array
  29089. "500":
  29090. description: Internal Server Error
  29091. schema:
  29092. $ref: '#/definitions/app.Response'
  29093. security:
  29094. - ApiKeyAuth: []
  29095. summary: 查询客户协议签约状态
  29096. tags:
  29097. - 大连千海金(协议和签约信息)
  29098. /QhjSys/QueryNodeAgreementConfig:
  29099. get:
  29100. parameters:
  29101. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29102. in: query
  29103. name: configid
  29104. type: integer
  29105. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29106. in: query
  29107. name: nodetype
  29108. type: integer
  29109. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29110. in: query
  29111. name: goodsid
  29112. type: integer
  29113. - description: 协议ID
  29114. in: query
  29115. name: agreementid
  29116. type: integer
  29117. - description: 协议类型 - 1:注册 2:登录 3:交易
  29118. in: query
  29119. name: agreementtype
  29120. type: integer
  29121. - description: 协议版本号
  29122. in: query
  29123. name: agreementversion
  29124. type: integer
  29125. - description: 协议编号(模糊匹配)
  29126. in: query
  29127. name: agreementno
  29128. type: string
  29129. - description: 协议名称(模糊匹配)
  29130. in: query
  29131. name: agreementname
  29132. type: string
  29133. produces:
  29134. - application/json
  29135. responses:
  29136. "200":
  29137. description: OK
  29138. schema:
  29139. items:
  29140. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  29141. type: array
  29142. "500":
  29143. description: Internal Server Error
  29144. schema:
  29145. $ref: '#/definitions/app.Response'
  29146. security:
  29147. - ApiKeyAuth: []
  29148. summary: 查询协议节点配置
  29149. tags:
  29150. - 大连千海金(协议和签约信息)
  29151. /QhjSys/QueryQhjCustomerSignLog:
  29152. get:
  29153. parameters:
  29154. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  29155. in: query
  29156. name: logid
  29157. type: integer
  29158. - description: 客户ID
  29159. in: query
  29160. name: userid
  29161. type: integer
  29162. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29163. in: query
  29164. name: nodetype
  29165. type: integer
  29166. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29167. in: query
  29168. name: goodsid
  29169. type: integer
  29170. - description: 协议ID
  29171. in: query
  29172. name: agreementid
  29173. type: integer
  29174. - description: 用户名称(模糊匹配)
  29175. in: query
  29176. name: username
  29177. type: string
  29178. - description: 协议编号(模糊匹配)
  29179. in: query
  29180. name: agreementno
  29181. type: string
  29182. - description: 协议名称(模糊匹配)
  29183. in: query
  29184. name: agreementname
  29185. type: string
  29186. produces:
  29187. - application/json
  29188. responses:
  29189. "200":
  29190. description: OK
  29191. schema:
  29192. items:
  29193. $ref: '#/definitions/models.QhjCustomerSignLog'
  29194. type: array
  29195. "500":
  29196. description: Internal Server Error
  29197. schema:
  29198. $ref: '#/definitions/app.Response'
  29199. security:
  29200. - ApiKeyAuth: []
  29201. summary: 查询客户协议签约流水
  29202. tags:
  29203. - 大连千海金(协议和签约信息)
  29204. /QhjSys/QueryUserNodeCfgAndStatus:
  29205. get:
  29206. parameters:
  29207. - description: 客户ID
  29208. in: query
  29209. name: userid
  29210. type: integer
  29211. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29212. in: query
  29213. name: configid
  29214. type: integer
  29215. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29216. in: query
  29217. name: nodetype
  29218. type: string
  29219. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29220. in: query
  29221. name: goodsid
  29222. type: integer
  29223. - description: 协议ID
  29224. in: query
  29225. name: agreementid
  29226. type: integer
  29227. - description: 协议类型 - 1:注册 2:登录 3:交易
  29228. in: query
  29229. name: agreementtype
  29230. type: integer
  29231. - description: 协议版本号
  29232. in: query
  29233. name: agreementversion
  29234. type: integer
  29235. - description: 协议编号(模糊匹配)
  29236. in: query
  29237. name: agreementno
  29238. type: string
  29239. - description: 协议名称(模糊匹配)
  29240. in: query
  29241. name: agreementname
  29242. type: string
  29243. produces:
  29244. - application/json
  29245. responses:
  29246. "200":
  29247. description: OK
  29248. schema:
  29249. items:
  29250. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  29251. type: array
  29252. "500":
  29253. description: Internal Server Error
  29254. schema:
  29255. $ref: '#/definitions/app.Response'
  29256. security:
  29257. - ApiKeyAuth: []
  29258. summary: 查询用户协议节点配置和状态
  29259. tags:
  29260. - 大连千海金(协议和签约信息)
  29261. /Quote/QueryHistoryDatas:
  29262. get:
  29263. parameters:
  29264. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  29265. 日线 12:周线 13:月线 14:年线'
  29266. in: query
  29267. name: cycleType
  29268. required: true
  29269. type: integer
  29270. - description: 商品代码
  29271. in: query
  29272. name: goodsCode
  29273. required: true
  29274. type: string
  29275. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29276. in: query
  29277. name: startTime
  29278. type: string
  29279. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29280. in: query
  29281. name: endTime
  29282. type: string
  29283. - description: 条数
  29284. in: query
  29285. name: count
  29286. type: integer
  29287. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29288. in: query
  29289. name: isAsc
  29290. type: boolean
  29291. produces:
  29292. - application/json
  29293. responses:
  29294. "200":
  29295. description: OK
  29296. schema:
  29297. $ref: '#/definitions/quote.HistoryData'
  29298. "500":
  29299. description: Internal Server Error
  29300. schema:
  29301. $ref: '#/definitions/app.Response'
  29302. security:
  29303. - ApiKeyAuth: []
  29304. summary: 查询行情历史数据
  29305. tags:
  29306. - 行情服务
  29307. /Quote/QueryHistoryTikDatas:
  29308. get:
  29309. parameters:
  29310. - description: 商品代码
  29311. in: query
  29312. name: goodsCode
  29313. required: true
  29314. type: string
  29315. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29316. in: query
  29317. name: startTime
  29318. type: string
  29319. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29320. in: query
  29321. name: endTime
  29322. type: string
  29323. - description: 条数
  29324. in: query
  29325. name: count
  29326. type: integer
  29327. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29328. in: query
  29329. name: isAsc
  29330. type: boolean
  29331. produces:
  29332. - application/json
  29333. responses:
  29334. "200":
  29335. description: OK
  29336. schema:
  29337. $ref: '#/definitions/quote.HistoryTikData'
  29338. "500":
  29339. description: Internal Server Error
  29340. schema:
  29341. $ref: '#/definitions/app.Response'
  29342. security:
  29343. - ApiKeyAuth: []
  29344. summary: 查询行情Tik数据
  29345. tags:
  29346. - 行情服务
  29347. /Quote/QueryQuoteDay:
  29348. get:
  29349. parameters:
  29350. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  29351. in: query
  29352. name: goodsCodes
  29353. type: string
  29354. produces:
  29355. - application/json
  29356. responses:
  29357. "200":
  29358. description: OK
  29359. schema:
  29360. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  29361. "500":
  29362. description: Internal Server Error
  29363. schema:
  29364. $ref: '#/definitions/app.Response'
  29365. security:
  29366. - ApiKeyAuth: []
  29367. summary: 获取商品盘面信息
  29368. tags:
  29369. - 行情服务
  29370. /Quote/QueryTSData:
  29371. get:
  29372. parameters:
  29373. - description: 商品代码
  29374. in: query
  29375. name: goodsCode
  29376. required: true
  29377. type: string
  29378. produces:
  29379. - application/json
  29380. responses:
  29381. "200":
  29382. description: OK
  29383. schema:
  29384. $ref: '#/definitions/quote.QueryTSDataRsp'
  29385. "500":
  29386. description: Internal Server Error
  29387. schema:
  29388. $ref: '#/definitions/app.Response'
  29389. security:
  29390. - ApiKeyAuth: []
  29391. summary: 分时图数据查询
  29392. tags:
  29393. - 行情服务
  29394. /SZDZ/QueryConvertConfig:
  29395. get:
  29396. parameters:
  29397. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  29398. 6:交易转花生米(不设置)
  29399. in: query
  29400. name: convertType
  29401. type: integer
  29402. - description: 外部商品代码[JD\PD]
  29403. in: query
  29404. name: outerGoodsCode
  29405. type: string
  29406. - description: 内部商品ID列表[交易],格式:1,2,3
  29407. in: query
  29408. name: innerGoodsIDs
  29409. type: string
  29410. produces:
  29411. - application/json
  29412. responses:
  29413. "200":
  29414. description: OK
  29415. schema:
  29416. $ref: '#/definitions/models.Szdz3convertconfig'
  29417. "500":
  29418. description: Internal Server Error
  29419. schema:
  29420. $ref: '#/definitions/app.Response'
  29421. security:
  29422. - ApiKeyAuth: []
  29423. summary: 查询交易系统转换设置
  29424. tags:
  29425. - 定制【尚志大宗】
  29426. /SZDZ/QueryConvertLog:
  29427. get:
  29428. parameters:
  29429. - description: 资金账户 - 格式:1,2,3
  29430. in: query
  29431. name: accountID
  29432. required: true
  29433. type: string
  29434. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29435. in: query
  29436. name: startDate
  29437. type: string
  29438. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29439. in: query
  29440. name: endDate
  29441. type: string
  29442. produces:
  29443. - application/json
  29444. responses:
  29445. "200":
  29446. description: OK
  29447. schema:
  29448. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29449. "500":
  29450. description: Internal Server Error
  29451. schema:
  29452. $ref: '#/definitions/app.Response'
  29453. security:
  29454. - ApiKeyAuth: []
  29455. summary: 交易系统转换流水查询
  29456. tags:
  29457. - 定制【尚志大宗】
  29458. /SZDZ/QueryGoodsPickup:
  29459. get:
  29460. parameters:
  29461. - description: 资金账户 - 格式:1,2,3
  29462. in: query
  29463. name: accountID
  29464. required: true
  29465. type: string
  29466. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29467. in: query
  29468. name: takeOrderStatus
  29469. type: integer
  29470. produces:
  29471. - application/json
  29472. responses:
  29473. "200":
  29474. description: OK
  29475. schema:
  29476. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29477. "500":
  29478. description: Internal Server Error
  29479. schema:
  29480. $ref: '#/definitions/app.Response'
  29481. security:
  29482. - ApiKeyAuth: []
  29483. summary: 商品提货单查询
  29484. tags:
  29485. - 定制【尚志大宗】
  29486. /SZDZ/QueryRecieptOrder:
  29487. get:
  29488. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29489. parameters:
  29490. - description: 页码
  29491. in: query
  29492. name: page
  29493. type: integer
  29494. - description: 每页条数
  29495. in: query
  29496. name: pagesize
  29497. type: integer
  29498. - description: 商品ID
  29499. in: query
  29500. name: goodsID
  29501. required: true
  29502. type: integer
  29503. - description: 所属账户名称
  29504. in: query
  29505. name: accountName
  29506. type: string
  29507. - description: 市场ID
  29508. in: query
  29509. name: marketID
  29510. type: integer
  29511. - description: 方向 - 0:买 1:卖
  29512. in: query
  29513. name: buyorsell
  29514. required: true
  29515. type: integer
  29516. produces:
  29517. - application/json
  29518. responses:
  29519. "200":
  29520. description: OK
  29521. schema:
  29522. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29523. "500":
  29524. description: Internal Server Error
  29525. schema:
  29526. $ref: '#/definitions/app.Response'
  29527. security:
  29528. - ApiKeyAuth: []
  29529. summary: 点选挂牌委托单据查询(摘牌大厅)
  29530. tags:
  29531. - 定制【尚志大宗】
  29532. /SZDZ/QuerySZDZTradePosition:
  29533. get:
  29534. parameters:
  29535. - description: 资金账户
  29536. in: query
  29537. name: accountID
  29538. required: true
  29539. type: integer
  29540. produces:
  29541. - application/json
  29542. responses:
  29543. "200":
  29544. description: OK
  29545. schema:
  29546. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29547. "500":
  29548. description: Internal Server Error
  29549. schema:
  29550. $ref: '#/definitions/app.Response'
  29551. security:
  29552. - ApiKeyAuth: []
  29553. summary: 持仓汇总查询(尚志大宗)
  29554. tags:
  29555. - 定制【尚志大宗】
  29556. /SZDZ/SearchWhite:
  29557. get:
  29558. parameters:
  29559. - description: 用户ID
  29560. in: query
  29561. name: userID
  29562. required: true
  29563. type: integer
  29564. produces:
  29565. - application/json
  29566. responses:
  29567. "200":
  29568. description: OK
  29569. schema:
  29570. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29571. "500":
  29572. description: Internal Server Error
  29573. schema:
  29574. $ref: '#/definitions/app.Response'
  29575. security:
  29576. - ApiKeyAuth: []
  29577. summary: 搜索白名单
  29578. tags:
  29579. - 定制【尚志大宗】
  29580. /Search/SearchGoodses:
  29581. get:
  29582. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29583. parameters:
  29584. - description: 检索内容
  29585. in: query
  29586. name: content
  29587. required: true
  29588. type: string
  29589. - description: 交易模式,格式:1,2,3
  29590. in: query
  29591. name: tradeModes
  29592. type: string
  29593. produces:
  29594. - application/json
  29595. responses:
  29596. "200":
  29597. description: OK
  29598. schema:
  29599. $ref: '#/definitions/models.SearchGoods'
  29600. "500":
  29601. description: Internal Server Error
  29602. schema:
  29603. $ref: '#/definitions/app.Response'
  29604. summary: 检索商品信息
  29605. tags:
  29606. - 检索服务
  29607. /TaAccount/GetTaAccounts:
  29608. get:
  29609. parameters:
  29610. - description: 登录账户
  29611. in: query
  29612. name: loginID
  29613. required: true
  29614. type: integer
  29615. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  29616. in: query
  29617. name: taAccountType
  29618. type: integer
  29619. produces:
  29620. - application/json
  29621. responses:
  29622. "200":
  29623. description: OK
  29624. schema:
  29625. $ref: '#/definitions/models.Taaccount'
  29626. "500":
  29627. description: Internal Server Error
  29628. schema:
  29629. $ref: '#/definitions/app.Response'
  29630. security:
  29631. - ApiKeyAuth: []
  29632. summary: 获取资金账户信息
  29633. tags:
  29634. - 资金账户
  29635. /TaAccount/QueryAmountLog:
  29636. get:
  29637. parameters:
  29638. - description: 页码
  29639. in: query
  29640. name: page
  29641. type: integer
  29642. - description: 每页条数
  29643. in: query
  29644. name: pagesize
  29645. type: integer
  29646. - description: 资金账户 - 格式:1,2,3
  29647. in: query
  29648. name: accountID
  29649. required: true
  29650. type: string
  29651. - description: 资金操作类型 - 格式:1,2,3
  29652. in: query
  29653. name: OperateType
  29654. type: string
  29655. produces:
  29656. - application/json
  29657. responses:
  29658. "200":
  29659. description: OK
  29660. schema:
  29661. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  29662. "500":
  29663. description: Internal Server Error
  29664. schema:
  29665. $ref: '#/definitions/app.Response'
  29666. security:
  29667. - ApiKeyAuth: []
  29668. summary: 资金流水查询(当前)
  29669. tags:
  29670. - 资金账户
  29671. /TaAccount/QueryHisAmountLog:
  29672. get:
  29673. parameters:
  29674. - description: 页码
  29675. in: query
  29676. name: page
  29677. type: integer
  29678. - description: 每页条数
  29679. in: query
  29680. name: pagesize
  29681. type: integer
  29682. - description: 资金账户 - 格式:1,2,3
  29683. in: query
  29684. name: accountID
  29685. required: true
  29686. type: string
  29687. - description: 资金操作类型 - 格式:1,2,3
  29688. in: query
  29689. name: OperateType
  29690. type: string
  29691. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29692. in: query
  29693. name: startDate
  29694. type: string
  29695. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29696. in: query
  29697. name: endDate
  29698. type: string
  29699. produces:
  29700. - application/json
  29701. responses:
  29702. "200":
  29703. description: OK
  29704. schema:
  29705. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  29706. "500":
  29707. description: Internal Server Error
  29708. schema:
  29709. $ref: '#/definitions/app.Response'
  29710. security:
  29711. - ApiKeyAuth: []
  29712. summary: 资金流水查询(历史)
  29713. tags:
  29714. - 资金账户
  29715. /TaAccount/QueryRelatedTaAccount:
  29716. get:
  29717. parameters:
  29718. - description: 关联UserID
  29719. in: query
  29720. name: relateduserid
  29721. required: true
  29722. type: integer
  29723. produces:
  29724. - application/json
  29725. responses:
  29726. "200":
  29727. description: OK
  29728. schema:
  29729. items:
  29730. $ref: '#/definitions/models.RelatedTaAccount'
  29731. type: array
  29732. "500":
  29733. description: Internal Server Error
  29734. schema:
  29735. $ref: '#/definitions/app.Response'
  29736. security:
  29737. - ApiKeyAuth: []
  29738. summary: 查询关联资金账户信息
  29739. tags:
  29740. - 资金账户
  29741. /Tjmd/QueryQuoteGoodsList:
  29742. get:
  29743. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  29744. parameters:
  29745. - description: 用户类型
  29746. in: query
  29747. name: usertype
  29748. required: true
  29749. type: integer
  29750. - description: 市场id, 格式 1,2,3
  29751. in: query
  29752. name: marketids
  29753. type: string
  29754. - description: 商品组id
  29755. in: query
  29756. name: goodsgroupid
  29757. type: integer
  29758. - description: 商品id
  29759. in: query
  29760. name: goodsid
  29761. type: integer
  29762. produces:
  29763. - application/json
  29764. responses:
  29765. "200":
  29766. description: OK
  29767. schema:
  29768. items:
  29769. $ref: '#/definitions/models.TjmdQuoteGoods'
  29770. type: array
  29771. "500":
  29772. description: Internal Server Error
  29773. schema:
  29774. $ref: '#/definitions/app.Response'
  29775. security:
  29776. - ApiKeyAuth: []
  29777. summary: 查询掉期报价列表
  29778. tags:
  29779. - 天津麦顿
  29780. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  29781. get:
  29782. parameters:
  29783. - description: 成交单号
  29784. in: query
  29785. name: tradeid
  29786. required: true
  29787. type: string
  29788. produces:
  29789. - application/json
  29790. responses:
  29791. "200":
  29792. description: OK
  29793. schema:
  29794. items:
  29795. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  29796. type: array
  29797. "500":
  29798. description: Internal Server Error
  29799. schema:
  29800. $ref: '#/definitions/app.Response'
  29801. security:
  29802. - ApiKeyAuth: []
  29803. summary: 掉期商品订单详情(交易确认书)
  29804. tags:
  29805. - 天津麦顿
  29806. /Tjmd/QueryTjmdMarketSection:
  29807. get:
  29808. produces:
  29809. - application/json
  29810. responses:
  29811. "200":
  29812. description: OK
  29813. schema:
  29814. items:
  29815. $ref: '#/definitions/models.TjmdMarketSection'
  29816. type: array
  29817. "500":
  29818. description: Internal Server Error
  29819. schema:
  29820. $ref: '#/definitions/app.Response'
  29821. security:
  29822. - ApiKeyAuth: []
  29823. summary: 查询市场板块
  29824. tags:
  29825. - 天津麦顿
  29826. /Tjmd/QueryTjmdTodayAccountMargin:
  29827. get:
  29828. parameters:
  29829. - description: 市场id
  29830. in: query
  29831. name: marketid
  29832. type: string
  29833. - description: 商品id
  29834. in: query
  29835. name: goodsid
  29836. type: string
  29837. - description: 资金账号
  29838. in: query
  29839. name: accountid
  29840. type: string
  29841. produces:
  29842. - application/json
  29843. responses:
  29844. "200":
  29845. description: OK
  29846. schema:
  29847. items:
  29848. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  29849. type: array
  29850. "500":
  29851. description: Internal Server Error
  29852. schema:
  29853. $ref: '#/definitions/app.Response'
  29854. security:
  29855. - ApiKeyAuth: []
  29856. summary: 查询今日账户保证金配置
  29857. tags:
  29858. - 天津麦顿
  29859. /Tjmd/QueryTjmdTradeOrderDetail:
  29860. get:
  29861. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  29862. parameters:
  29863. - description: 页码
  29864. in: query
  29865. name: page
  29866. type: integer
  29867. - description: 每页条数
  29868. in: query
  29869. name: pagesize
  29870. type: integer
  29871. - description: 用户id
  29872. in: query
  29873. name: userid
  29874. required: true
  29875. type: integer
  29876. - description: 用户类型
  29877. in: query
  29878. name: usertype
  29879. required: true
  29880. type: integer
  29881. - description: 市场id, 格式 1,2,3
  29882. in: query
  29883. name: marketids
  29884. type: string
  29885. - description: 商品id
  29886. in: query
  29887. name: goodsid
  29888. required: true
  29889. type: integer
  29890. - description: 买卖方向 0-买 1-卖
  29891. in: query
  29892. name: buyorsell
  29893. required: true
  29894. type: integer
  29895. produces:
  29896. - application/json
  29897. responses:
  29898. "200":
  29899. description: OK
  29900. schema:
  29901. items:
  29902. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  29903. type: array
  29904. "500":
  29905. description: Internal Server Error
  29906. schema:
  29907. $ref: '#/definitions/app.Response'
  29908. security:
  29909. - ApiKeyAuth: []
  29910. summary: 查询掉期买卖大厅
  29911. tags:
  29912. - 天津麦顿
  29913. /Tjmd/QueryTjmdTransferApply:
  29914. get:
  29915. parameters:
  29916. - description: 类型 1-我的申请 2-对方申请
  29917. in: query
  29918. name: applytype
  29919. required: true
  29920. type: integer
  29921. - description: 市场id, 格式 1,2,3
  29922. in: query
  29923. name: marketids
  29924. type: string
  29925. - description: 资金账号, 格式 25000000001,25000000003
  29926. in: query
  29927. name: accountids
  29928. type: string
  29929. - description: 开始交易日(yyyymmdd)
  29930. in: query
  29931. name: begindate
  29932. type: string
  29933. - description: 结束交易日(yyyymmdd)
  29934. in: query
  29935. name: enddate
  29936. type: string
  29937. produces:
  29938. - application/json
  29939. responses:
  29940. "200":
  29941. description: OK
  29942. schema:
  29943. items:
  29944. $ref: '#/definitions/models.TjmdTransferApply'
  29945. type: array
  29946. "500":
  29947. description: Internal Server Error
  29948. schema:
  29949. $ref: '#/definitions/app.Response'
  29950. security:
  29951. - ApiKeyAuth: []
  29952. summary: 查询掉期协议单
  29953. tags:
  29954. - 天津麦顿
  29955. /Trade/QueryRecieptOrder:
  29956. get:
  29957. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29958. parameters:
  29959. - description: 页码
  29960. in: query
  29961. name: page
  29962. type: integer
  29963. - description: 每页条数
  29964. in: query
  29965. name: pagesize
  29966. type: integer
  29967. - description: 商品ID
  29968. in: query
  29969. name: goodsID
  29970. required: true
  29971. type: integer
  29972. - description: 所属账户名称
  29973. in: query
  29974. name: accountName
  29975. type: string
  29976. - description: 市场ID
  29977. in: query
  29978. name: marketID
  29979. type: integer
  29980. - description: 方向 - 0:买 1:卖
  29981. in: query
  29982. name: buyorsell
  29983. required: true
  29984. type: integer
  29985. produces:
  29986. - application/json
  29987. responses:
  29988. "200":
  29989. description: OK
  29990. schema:
  29991. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  29992. "500":
  29993. description: Internal Server Error
  29994. schema:
  29995. $ref: '#/definitions/app.Response'
  29996. security:
  29997. - ApiKeyAuth: []
  29998. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  29999. tags:
  30000. - 通用交易
  30001. /User/AddMessageBoard:
  30002. post:
  30003. parameters:
  30004. - description: 用户ID
  30005. in: query
  30006. name: userID
  30007. required: true
  30008. type: integer
  30009. - description: 留言信息
  30010. in: query
  30011. name: message
  30012. required: true
  30013. type: string
  30014. - description: 联系电话
  30015. in: query
  30016. name: contactNum
  30017. required: true
  30018. type: string
  30019. produces:
  30020. - application/json
  30021. responses:
  30022. "200":
  30023. description: OK
  30024. schema:
  30025. $ref: '#/definitions/app.Response'
  30026. "500":
  30027. description: Internal Server Error
  30028. schema:
  30029. $ref: '#/definitions/app.Response'
  30030. security:
  30031. - ApiKeyAuth: []
  30032. summary: 添加用户留言板信息
  30033. tags:
  30034. - 用户信息
  30035. /User/AddUserFavoriteGoods:
  30036. post:
  30037. parameters:
  30038. - description: 用户ID
  30039. in: query
  30040. name: userID
  30041. required: true
  30042. type: integer
  30043. - description: 商品ID
  30044. in: query
  30045. name: goodsID
  30046. required: true
  30047. type: integer
  30048. produces:
  30049. - application/json
  30050. responses:
  30051. "200":
  30052. description: OK
  30053. schema:
  30054. $ref: '#/definitions/app.Response'
  30055. "500":
  30056. description: Internal Server Error
  30057. schema:
  30058. $ref: '#/definitions/app.Response'
  30059. security:
  30060. - ApiKeyAuth: []
  30061. summary: 添加用户商品收藏信息
  30062. tags:
  30063. - 用户信息
  30064. /User/GetLoginID:
  30065. get:
  30066. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  30067. parameters:
  30068. - description: 登录代码
  30069. in: query
  30070. name: username
  30071. required: true
  30072. type: string
  30073. produces:
  30074. - application/json
  30075. responses:
  30076. "200":
  30077. description: OK
  30078. schema:
  30079. $ref: '#/definitions/app.Response'
  30080. "500":
  30081. description: Internal Server Error
  30082. schema:
  30083. $ref: '#/definitions/app.Response'
  30084. summary: 获取登录ID
  30085. tags:
  30086. - 用户信息
  30087. /User/GetUserAccount:
  30088. get:
  30089. parameters:
  30090. - description: 用户ID
  30091. in: query
  30092. name: userID
  30093. required: true
  30094. type: integer
  30095. produces:
  30096. - application/json
  30097. responses:
  30098. "200":
  30099. description: OK
  30100. schema:
  30101. $ref: '#/definitions/models.Useraccount'
  30102. "500":
  30103. description: Internal Server Error
  30104. schema:
  30105. $ref: '#/definitions/app.Response'
  30106. security:
  30107. - ApiKeyAuth: []
  30108. summary: 获取用户账号信息
  30109. tags:
  30110. - 用户信息
  30111. /User/GetUserAuthStatus:
  30112. get:
  30113. parameters:
  30114. - description: 用户ID
  30115. in: query
  30116. name: userID
  30117. required: true
  30118. type: integer
  30119. produces:
  30120. - application/json
  30121. responses:
  30122. "200":
  30123. description: OK
  30124. schema:
  30125. $ref: '#/definitions/app.Response'
  30126. "500":
  30127. description: Internal Server Error
  30128. schema:
  30129. $ref: '#/definitions/app.Response'
  30130. security:
  30131. - ApiKeyAuth: []
  30132. summary: 获取用户实名认证状态
  30133. tags:
  30134. - 用户信息
  30135. /User/LoginQuery:
  30136. get:
  30137. parameters:
  30138. - description: 登录账号
  30139. in: query
  30140. name: loginID
  30141. required: true
  30142. type: integer
  30143. produces:
  30144. - application/json
  30145. responses:
  30146. "200":
  30147. description: OK
  30148. schema:
  30149. $ref: '#/definitions/user.LoginQueryRsp'
  30150. "500":
  30151. description: Internal Server Error
  30152. schema:
  30153. $ref: '#/definitions/app.Response'
  30154. security:
  30155. - ApiKeyAuth: []
  30156. summary: 账户登录后信息查询
  30157. tags:
  30158. - 用户信息
  30159. /User/QueryMessageBoard:
  30160. get:
  30161. parameters:
  30162. - description: 用户ID
  30163. in: query
  30164. name: userID
  30165. required: true
  30166. type: integer
  30167. produces:
  30168. - application/json
  30169. responses:
  30170. "200":
  30171. description: OK
  30172. schema:
  30173. $ref: '#/definitions/models.Messageboard'
  30174. "500":
  30175. description: Internal Server Error
  30176. schema:
  30177. $ref: '#/definitions/app.Response'
  30178. security:
  30179. - ApiKeyAuth: []
  30180. summary: 获取用户留言板信息
  30181. tags:
  30182. - 用户信息
  30183. /User/QueryUserFavoriteGoodses:
  30184. get:
  30185. parameters:
  30186. - description: 用户ID
  30187. in: query
  30188. name: userID
  30189. required: true
  30190. type: integer
  30191. produces:
  30192. - application/json
  30193. responses:
  30194. "200":
  30195. description: OK
  30196. schema:
  30197. $ref: '#/definitions/models.Userfavoritegoods'
  30198. "500":
  30199. description: Internal Server Error
  30200. schema:
  30201. $ref: '#/definitions/app.Response'
  30202. security:
  30203. - ApiKeyAuth: []
  30204. summary: 获取用户商品收藏信息
  30205. tags:
  30206. - 用户信息
  30207. /User/QueryUserInfo:
  30208. get:
  30209. parameters:
  30210. - description: 用户ID
  30211. in: query
  30212. name: userID
  30213. required: true
  30214. type: integer
  30215. - description: 是否解密
  30216. in: query
  30217. name: isDecrypt
  30218. type: boolean
  30219. produces:
  30220. - application/json
  30221. responses:
  30222. "200":
  30223. description: OK
  30224. schema:
  30225. $ref: '#/definitions/models.Userinfo'
  30226. "500":
  30227. description: Internal Server Error
  30228. schema:
  30229. $ref: '#/definitions/app.Response'
  30230. security:
  30231. - ApiKeyAuth: []
  30232. summary: 获取用户信息
  30233. tags:
  30234. - 用户信息
  30235. /User/QueryUserReferNum:
  30236. get:
  30237. parameters:
  30238. - description: 用户ID
  30239. in: query
  30240. name: userID
  30241. required: true
  30242. type: integer
  30243. produces:
  30244. - application/json
  30245. responses:
  30246. "200":
  30247. description: OK
  30248. schema:
  30249. $ref: '#/definitions/app.Response'
  30250. "500":
  30251. description: Internal Server Error
  30252. schema:
  30253. $ref: '#/definitions/app.Response'
  30254. summary: 获取用户邀请码
  30255. tags:
  30256. - 用户信息
  30257. /User/RemoveUserFavoriteGoods:
  30258. post:
  30259. parameters:
  30260. - description: 用户ID
  30261. in: query
  30262. name: userID
  30263. required: true
  30264. type: integer
  30265. - description: 商品ID
  30266. in: query
  30267. name: goodsID
  30268. required: true
  30269. type: integer
  30270. produces:
  30271. - application/json
  30272. responses:
  30273. "200":
  30274. description: OK
  30275. schema:
  30276. $ref: '#/definitions/app.Response'
  30277. "500":
  30278. description: Internal Server Error
  30279. schema:
  30280. $ref: '#/definitions/app.Response'
  30281. security:
  30282. - ApiKeyAuth: []
  30283. summary: 移除用户商品收藏信息
  30284. tags:
  30285. - 用户信息
  30286. /User/UpdateUserAccountStatus:
  30287. post:
  30288. parameters:
  30289. - description: 用户ID
  30290. in: query
  30291. name: userID
  30292. required: true
  30293. type: integer
  30294. - description: 账户状态 - 4:正常 6:注销(停用)
  30295. in: query
  30296. name: accountStatus
  30297. required: true
  30298. type: integer
  30299. produces:
  30300. - application/json
  30301. responses:
  30302. "200":
  30303. description: OK
  30304. schema:
  30305. $ref: '#/definitions/app.Response'
  30306. "500":
  30307. description: Internal Server Error
  30308. schema:
  30309. $ref: '#/definitions/app.Response'
  30310. security:
  30311. - ApiKeyAuth: []
  30312. summary: 更新用户状态
  30313. tags:
  30314. - 用户信息
  30315. /WRTrade/GetAllDeliveryGoods:
  30316. get:
  30317. produces:
  30318. - application/json
  30319. responses:
  30320. "200":
  30321. description: OK
  30322. schema:
  30323. $ref: '#/definitions/app.Response'
  30324. "500":
  30325. description: Internal Server Error
  30326. schema:
  30327. $ref: '#/definitions/app.Response'
  30328. security:
  30329. - ApiKeyAuth: []
  30330. summary: 获取带仓单分类的种类信息
  30331. tags:
  30332. - 仓单贸易
  30333. - 仓单贸易
  30334. /WrTrade2/InsertXhcpSellBackApply:
  30335. post:
  30336. parameters:
  30337. - description: 回收申请
  30338. in: body
  30339. name: jsonBody
  30340. required: true
  30341. schema:
  30342. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  30343. produces:
  30344. - application/json
  30345. responses:
  30346. "200":
  30347. description: OK
  30348. schema:
  30349. $ref: '#/definitions/app.Response'
  30350. "500":
  30351. description: Internal Server Error
  30352. schema:
  30353. $ref: '#/definitions/app.Response'
  30354. security:
  30355. - ApiKeyAuth: []
  30356. summary: 新增回收申请(新会陈皮)
  30357. tags:
  30358. - 仓单贸易v2
  30359. /WrTrade2/QueryDeliveryGoodsSection:
  30360. get:
  30361. produces:
  30362. - application/json
  30363. responses:
  30364. "200":
  30365. description: OK
  30366. schema:
  30367. items:
  30368. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  30369. type: array
  30370. "500":
  30371. description: Internal Server Error
  30372. schema:
  30373. $ref: '#/definitions/app.Response'
  30374. security:
  30375. - ApiKeyAuth: []
  30376. summary: 查询板块(分类)
  30377. tags:
  30378. - 仓单贸易v2
  30379. /WrTrade2/QueryFaProductDetail:
  30380. get:
  30381. description: 页面 买卖大厅 -> 选择融资方案
  30382. parameters:
  30383. - description: 仓单要素id
  30384. in: query
  30385. name: wrfactortypeid
  30386. required: true
  30387. type: integer
  30388. produces:
  30389. - application/json
  30390. responses:
  30391. "200":
  30392. description: OK
  30393. schema:
  30394. items:
  30395. $ref: '#/definitions/models.WrFAProductDetail'
  30396. type: array
  30397. "500":
  30398. description: Internal Server Error
  30399. schema:
  30400. $ref: '#/definitions/app.Response'
  30401. security:
  30402. - ApiKeyAuth: []
  30403. summary: 查询融资产品列表
  30404. tags:
  30405. - 仓单贸易v2
  30406. /WrTrade2/QueryFilterItem:
  30407. get:
  30408. parameters:
  30409. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  30410. in: query
  30411. name: itype
  30412. required: true
  30413. type: string
  30414. produces:
  30415. - application/json
  30416. responses:
  30417. "200":
  30418. description: OK
  30419. schema:
  30420. items:
  30421. $ref: '#/definitions/models.WrFilterItem'
  30422. type: array
  30423. "500":
  30424. description: Internal Server Error
  30425. schema:
  30426. $ref: '#/definitions/app.Response'
  30427. security:
  30428. - ApiKeyAuth: []
  30429. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  30430. tags:
  30431. - 仓单贸易v2
  30432. /WrTrade2/QueryFtDeliveryGoods:
  30433. get:
  30434. produces:
  30435. - application/json
  30436. responses:
  30437. "200":
  30438. description: OK
  30439. schema:
  30440. items:
  30441. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30442. type: array
  30443. "500":
  30444. description: Internal Server Error
  30445. schema:
  30446. $ref: '#/definitions/app.Response'
  30447. security:
  30448. - ApiKeyAuth: []
  30449. summary: 查询品种品类筛选框列表
  30450. tags:
  30451. - 仓单贸易v2
  30452. /WrTrade2/QueryHoldLB:
  30453. get:
  30454. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30455. parameters:
  30456. - description: 资金账号
  30457. in: query
  30458. name: accountid
  30459. required: true
  30460. type: integer
  30461. - description: 仓库id
  30462. in: query
  30463. name: warehouseid
  30464. type: integer
  30465. - description: 品种id
  30466. in: query
  30467. name: deliverygoodsid
  30468. type: integer
  30469. - description: 品类id
  30470. in: query
  30471. name: wrstandardid
  30472. type: integer
  30473. - description: 仓单要素id
  30474. in: query
  30475. name: wrfactortypeid
  30476. type: integer
  30477. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30478. in: query
  30479. name: dgitemname
  30480. type: string
  30481. produces:
  30482. - application/json
  30483. responses:
  30484. "200":
  30485. description: OK
  30486. schema:
  30487. items:
  30488. $ref: '#/definitions/models.WrHoldLB'
  30489. type: array
  30490. "500":
  30491. description: Internal Server Error
  30492. schema:
  30493. $ref: '#/definitions/app.Response'
  30494. security:
  30495. - ApiKeyAuth: []
  30496. summary: 查询仓单持有记录
  30497. tags:
  30498. - 仓单贸易v2
  30499. /WrTrade2/QueryOrderQuote:
  30500. get:
  30501. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30502. 唯一确定1条记录
  30503. parameters:
  30504. - description: 页码
  30505. in: query
  30506. name: page
  30507. type: integer
  30508. - description: 每页条数
  30509. in: query
  30510. name: pagesize
  30511. type: integer
  30512. - description: 仓单贸易市场id
  30513. in: query
  30514. name: marketid
  30515. type: integer
  30516. - description: 价格方式 - 1:固定价 2-浮动价
  30517. in: query
  30518. name: wrpricetype
  30519. required: true
  30520. type: integer
  30521. - description: 0:仓单预售 1:仓单贸易
  30522. in: query
  30523. name: haswr
  30524. type: integer
  30525. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30526. in: query
  30527. name: dgitemname
  30528. type: string
  30529. - description: 仓库id(筛选条件)
  30530. in: query
  30531. name: warehouseid
  30532. type: integer
  30533. - description: 品种id
  30534. in: query
  30535. name: deliverygoodsid
  30536. type: integer
  30537. - description: 品类id
  30538. in: query
  30539. name: wrstandardid
  30540. type: integer
  30541. - description: 品牌id(dgfactoryitemid)
  30542. in: query
  30543. name: brandid
  30544. type: integer
  30545. - description: 年份id(dgfactoryitemid)
  30546. in: query
  30547. name: yearsid
  30548. type: integer
  30549. - description: 仓单要素id
  30550. in: query
  30551. name: wrfactortypeid
  30552. type: integer
  30553. - description: 交收月(yyyy-mm) 仓单预售填写
  30554. in: query
  30555. name: deliverymonth
  30556. type: string
  30557. produces:
  30558. - application/json
  30559. responses:
  30560. "200":
  30561. description: OK
  30562. schema:
  30563. items:
  30564. $ref: '#/definitions/models.WrOrderQuote'
  30565. type: array
  30566. "500":
  30567. description: Internal Server Error
  30568. schema:
  30569. $ref: '#/definitions/app.Response'
  30570. security:
  30571. - ApiKeyAuth: []
  30572. summary: 查询大厅行情列表
  30573. tags:
  30574. - 仓单贸易v2
  30575. /WrTrade2/QueryOrderQuoteDetail:
  30576. get:
  30577. parameters:
  30578. - description: 页码
  30579. in: query
  30580. name: page
  30581. type: integer
  30582. - description: 每页条数
  30583. in: query
  30584. name: pagesize
  30585. type: integer
  30586. - description: 仓单贸易市场id
  30587. in: query
  30588. name: marketid
  30589. type: integer
  30590. - description: 价格方式 - 1:固定价 2-浮动价
  30591. in: query
  30592. name: wrpricetype
  30593. required: true
  30594. type: integer
  30595. - description: 0:仓单预售 1:仓单贸易
  30596. in: query
  30597. name: haswr
  30598. type: integer
  30599. - description: 仓单要素id
  30600. in: query
  30601. name: wrfactortypeid
  30602. required: true
  30603. type: integer
  30604. - description: 期货商品id(浮动价方式时填)
  30605. in: query
  30606. name: goodsid
  30607. type: integer
  30608. - description: 买卖方向 0-买 1-卖
  30609. in: query
  30610. name: buyorsell
  30611. required: true
  30612. type: integer
  30613. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  30614. in: query
  30615. name: deliverymonth
  30616. type: string
  30617. produces:
  30618. - application/json
  30619. responses:
  30620. "200":
  30621. description: OK
  30622. schema:
  30623. items:
  30624. $ref: '#/definitions/models.WrOrderQuoteDetail'
  30625. type: array
  30626. "500":
  30627. description: Internal Server Error
  30628. schema:
  30629. $ref: '#/definitions/app.Response'
  30630. security:
  30631. - ApiKeyAuth: []
  30632. summary: 查询买卖大厅
  30633. tags:
  30634. - 仓单贸易v2
  30635. /WrTrade2/QueryOrderQuoteMyq:
  30636. get:
  30637. parameters:
  30638. - description: 页码
  30639. in: query
  30640. name: page
  30641. type: integer
  30642. - description: 每页条数
  30643. in: query
  30644. name: pagesize
  30645. type: integer
  30646. - description: 用户id
  30647. in: query
  30648. name: userid
  30649. required: true
  30650. type: integer
  30651. - description: 仓单贸易市场id
  30652. in: query
  30653. name: marketid
  30654. type: integer
  30655. - description: 0:仓单预售 1:仓单贸易
  30656. in: query
  30657. name: haswr
  30658. type: integer
  30659. - description: 买卖方向 0-买 1-卖
  30660. in: query
  30661. name: buyorsell
  30662. required: true
  30663. type: integer
  30664. - description: 品种id
  30665. in: query
  30666. name: deliverygoodsid
  30667. type: integer
  30668. - description: 品类id
  30669. in: query
  30670. name: wrstandardid
  30671. type: integer
  30672. - description: 交收月(yyyy-mm) 仓单预售填写
  30673. in: query
  30674. name: deliverymonth
  30675. type: string
  30676. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30677. in: query
  30678. name: dgitemname
  30679. type: string
  30680. produces:
  30681. - application/json
  30682. responses:
  30683. "200":
  30684. description: OK
  30685. schema:
  30686. items:
  30687. $ref: '#/definitions/models.WrQuoteOrderMyq'
  30688. type: array
  30689. "500":
  30690. description: Internal Server Error
  30691. schema:
  30692. $ref: '#/definitions/app.Response'
  30693. security:
  30694. - ApiKeyAuth: []
  30695. summary: 查询贸易圈挂牌大厅
  30696. tags:
  30697. - 仓单贸易v2
  30698. /WrTrade2/QueryPerformancePlan:
  30699. get:
  30700. parameters:
  30701. - description: 用户id
  30702. in: query
  30703. name: userid
  30704. required: true
  30705. type: integer
  30706. - description: 买卖方向 0-买 1-卖
  30707. in: query
  30708. name: buyorsell
  30709. required: true
  30710. type: integer
  30711. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  30712. 8:释放冻结失败 9:超时待处理 10:超时关闭
  30713. in: query
  30714. name: status
  30715. type: string
  30716. - description: 开始交易日(yyyymmdd)
  30717. in: query
  30718. name: begindate
  30719. type: string
  30720. - description: 结束交易日(yyyymmdd)
  30721. in: query
  30722. name: enddate
  30723. type: string
  30724. produces:
  30725. - application/json
  30726. responses:
  30727. "200":
  30728. description: OK
  30729. schema:
  30730. items:
  30731. $ref: '#/definitions/models.WrPerformancePlan'
  30732. type: array
  30733. "500":
  30734. description: Internal Server Error
  30735. schema:
  30736. $ref: '#/definitions/app.Response'
  30737. security:
  30738. - ApiKeyAuth: []
  30739. summary: 查询履约信息
  30740. tags:
  30741. - 仓单贸易v2
  30742. /WrTrade2/QueryPermancePlanTmp:
  30743. get:
  30744. description: |-
  30745. 返回指定用户的模板和公共模板(用户id为空)
  30746. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  30747. parameters:
  30748. - description: 用户id
  30749. in: query
  30750. name: userid
  30751. type: integer
  30752. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  30753. (无仓单) 5:挂牌期权 6:竞拍-降价式
  30754. in: query
  30755. name: tmptype
  30756. type: string
  30757. - description: 是否包含公共模板(用户id为空的) 1-包含
  30758. in: query
  30759. name: includepub
  30760. type: integer
  30761. - description: 市场id(天津麦顿指定此参数,其它不用)
  30762. in: query
  30763. name: marketid
  30764. type: integer
  30765. produces:
  30766. - application/json
  30767. responses:
  30768. "200":
  30769. description: OK
  30770. schema:
  30771. items:
  30772. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  30773. type: array
  30774. "500":
  30775. description: Internal Server Error
  30776. schema:
  30777. $ref: '#/definitions/app.Response'
  30778. security:
  30779. - ApiKeyAuth: []
  30780. summary: 查询履约模板
  30781. tags:
  30782. - 仓单贸易v2
  30783. /WrTrade2/QuerySiteColumnDetail:
  30784. get:
  30785. parameters:
  30786. - description: 页码
  30787. in: query
  30788. name: page
  30789. type: integer
  30790. - description: 每页条数
  30791. in: query
  30792. name: pagesize
  30793. type: integer
  30794. - description: 所属栏目id
  30795. in: query
  30796. name: columnid
  30797. type: integer
  30798. produces:
  30799. - application/json
  30800. responses:
  30801. "200":
  30802. description: OK
  30803. schema:
  30804. items:
  30805. $ref: '#/definitions/models.WrSiteColumnDetail'
  30806. type: array
  30807. "500":
  30808. description: Internal Server Error
  30809. schema:
  30810. $ref: '#/definitions/app.Response'
  30811. security:
  30812. - ApiKeyAuth: []
  30813. summary: 查询资讯
  30814. tags:
  30815. - 仓单贸易v2
  30816. /WrTrade2/QuerySpotGroupTradeSum:
  30817. get:
  30818. produces:
  30819. - application/json
  30820. responses:
  30821. "200":
  30822. description: OK
  30823. schema:
  30824. items:
  30825. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  30826. type: array
  30827. "500":
  30828. description: Internal Server Error
  30829. schema:
  30830. $ref: '#/definitions/app.Response'
  30831. security:
  30832. - ApiKeyAuth: []
  30833. summary: 查询指数
  30834. tags:
  30835. - 仓单贸易v2
  30836. /WrTrade2/QuerySpotGroupTradeSumDetail:
  30837. get:
  30838. description: 查询的结果将会按日期 从小到大 排序
  30839. parameters:
  30840. - description: 现货商品id
  30841. in: query
  30842. name: deliverygoodsid
  30843. required: true
  30844. type: integer
  30845. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  30846. in: query
  30847. name: lastnum
  30848. type: integer
  30849. produces:
  30850. - application/json
  30851. responses:
  30852. "200":
  30853. description: OK
  30854. schema:
  30855. items:
  30856. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  30857. type: array
  30858. "500":
  30859. description: Internal Server Error
  30860. schema:
  30861. $ref: '#/definitions/app.Response'
  30862. security:
  30863. - ApiKeyAuth: []
  30864. summary: 查询指数详细(价格走势图)
  30865. tags:
  30866. - 仓单贸易v2
  30867. /WrTrade2/QueryWrAverageTradePrice:
  30868. get:
  30869. parameters:
  30870. - description: 页码
  30871. in: query
  30872. name: page
  30873. type: integer
  30874. - description: 每页条数
  30875. in: query
  30876. name: pagesize
  30877. type: integer
  30878. - description: 0:仓单预售 1:仓单贸易
  30879. in: query
  30880. name: haswr
  30881. required: true
  30882. type: integer
  30883. - description: 仓单要素id
  30884. in: query
  30885. name: wrfactortypeid
  30886. required: true
  30887. type: integer
  30888. produces:
  30889. - application/json
  30890. responses:
  30891. "200":
  30892. description: OK
  30893. schema:
  30894. items:
  30895. $ref: '#/definitions/models.WrAverageTradePrice'
  30896. type: array
  30897. "500":
  30898. description: Internal Server Error
  30899. schema:
  30900. $ref: '#/definitions/app.Response'
  30901. security:
  30902. - ApiKeyAuth: []
  30903. summary: 查询成交价(历史走势)
  30904. tags:
  30905. - 仓单贸易v2
  30906. /WrTrade2/QueryWrBrandAndYears:
  30907. get:
  30908. produces:
  30909. - application/json
  30910. responses:
  30911. "200":
  30912. description: OK
  30913. schema:
  30914. items:
  30915. $ref: '#/definitions/models.WrBrandAndYears'
  30916. type: array
  30917. "500":
  30918. description: Internal Server Error
  30919. schema:
  30920. $ref: '#/definitions/app.Response'
  30921. security:
  30922. - ApiKeyAuth: []
  30923. summary: 查询品牌和年份
  30924. tags:
  30925. - 仓单贸易v2
  30926. /WrTrade2/QueryWrBsGoodsInfo:
  30927. get:
  30928. description: 合约交易/买卖大厅/详情
  30929. parameters:
  30930. - description: 商品id
  30931. in: query
  30932. name: goodsid
  30933. required: true
  30934. type: integer
  30935. produces:
  30936. - application/json
  30937. responses:
  30938. "200":
  30939. description: OK
  30940. schema:
  30941. items:
  30942. $ref: '#/definitions/models.WrBsGoodsInfo'
  30943. type: array
  30944. "500":
  30945. description: Internal Server Error
  30946. schema:
  30947. $ref: '#/definitions/app.Response'
  30948. security:
  30949. - ApiKeyAuth: []
  30950. summary: 查询合约交易买卖大厅详情
  30951. tags:
  30952. - 仓单贸易v2
  30953. /WrTrade2/QueryWrBuybackDetail:
  30954. get:
  30955. parameters:
  30956. - description: 融资合同id
  30957. in: query
  30958. name: scfcontractid
  30959. type: integer
  30960. produces:
  30961. - application/json
  30962. responses:
  30963. "200":
  30964. description: OK
  30965. schema:
  30966. items:
  30967. $ref: '#/definitions/models.WrBuybackDetail'
  30968. type: array
  30969. "500":
  30970. description: Internal Server Error
  30971. schema:
  30972. $ref: '#/definitions/app.Response'
  30973. security:
  30974. - ApiKeyAuth: []
  30975. summary: 查询仓单回购明细
  30976. tags:
  30977. - 仓单贸易v2
  30978. /WrTrade2/QueryWrClientAdSpaceConfig:
  30979. get:
  30980. produces:
  30981. - application/json
  30982. responses:
  30983. "200":
  30984. description: OK
  30985. schema:
  30986. items:
  30987. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  30988. type: array
  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/QueryWrDeliveryAvalidHoldLB:
  30999. get:
  31000. parameters:
  31001. - description: 资金账号
  31002. in: query
  31003. name: accountid
  31004. required: true
  31005. type: integer
  31006. - description: 商品id
  31007. in: query
  31008. name: goodsid
  31009. required: true
  31010. type: integer
  31011. produces:
  31012. - application/json
  31013. responses:
  31014. "200":
  31015. description: OK
  31016. schema:
  31017. items:
  31018. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  31019. type: array
  31020. "500":
  31021. description: Internal Server Error
  31022. schema:
  31023. $ref: '#/definitions/app.Response'
  31024. security:
  31025. - ApiKeyAuth: []
  31026. summary: 查询合约交收可点选仓单
  31027. tags:
  31028. - 仓单贸易v2
  31029. /WrTrade2/QueryWrDeliveryDetail:
  31030. get:
  31031. parameters:
  31032. - description: 用户id
  31033. in: query
  31034. name: userid
  31035. required: true
  31036. type: integer
  31037. - description: 资金账号id
  31038. in: query
  31039. name: accountid
  31040. type: integer
  31041. - description: 开始交易日(yyyymmdd)
  31042. in: query
  31043. name: begindate
  31044. type: string
  31045. - description: 结束交易日(yyyymmdd)
  31046. in: query
  31047. name: enddate
  31048. type: string
  31049. produces:
  31050. - application/json
  31051. responses:
  31052. "200":
  31053. description: OK
  31054. schema:
  31055. items:
  31056. $ref: '#/definitions/models.WrDeliveryDetail'
  31057. type: array
  31058. "500":
  31059. description: Internal Server Error
  31060. schema:
  31061. $ref: '#/definitions/app.Response'
  31062. security:
  31063. - ApiKeyAuth: []
  31064. summary: 查询交收
  31065. tags:
  31066. - 仓单贸易v2
  31067. /WrTrade2/QueryWrDraftUserInfo:
  31068. get:
  31069. parameters:
  31070. - description: 用户ID
  31071. in: query
  31072. name: userid
  31073. required: true
  31074. type: integer
  31075. - description: 用户状态 1:正常 2:注销
  31076. in: query
  31077. name: userstatus
  31078. type: integer
  31079. produces:
  31080. - application/json
  31081. responses:
  31082. "200":
  31083. description: OK
  31084. schema:
  31085. items:
  31086. $ref: '#/definitions/models.WrDraftUserInfo'
  31087. type: array
  31088. "500":
  31089. description: Internal Server Error
  31090. schema:
  31091. $ref: '#/definitions/app.Response'
  31092. security:
  31093. - ApiKeyAuth: []
  31094. summary: 查询实名认证信息
  31095. tags:
  31096. - 仓单贸易v2
  31097. /WrTrade2/QueryWrFactorTypeInfo:
  31098. get:
  31099. parameters:
  31100. - description: 仓单要素id
  31101. in: query
  31102. name: wrfactortypeid
  31103. required: true
  31104. type: integer
  31105. produces:
  31106. - application/json
  31107. responses:
  31108. "200":
  31109. description: OK
  31110. schema:
  31111. items:
  31112. $ref: '#/definitions/models.WrFactorTypeInfo'
  31113. type: array
  31114. "500":
  31115. description: Internal Server Error
  31116. schema:
  31117. $ref: '#/definitions/app.Response'
  31118. security:
  31119. - ApiKeyAuth: []
  31120. summary: 查询仓单要素详细信息
  31121. tags:
  31122. - 仓单贸易v2
  31123. /WrTrade2/QueryWrFactorTypeInfoEx:
  31124. get:
  31125. parameters:
  31126. - description: 仓单要素id
  31127. in: query
  31128. name: wrfactortypeid
  31129. required: true
  31130. type: integer
  31131. produces:
  31132. - application/json
  31133. responses:
  31134. "200":
  31135. description: OK
  31136. schema:
  31137. items:
  31138. $ref: '#/definitions/models.WrTypeItem'
  31139. type: array
  31140. "500":
  31141. description: Internal Server Error
  31142. schema:
  31143. $ref: '#/definitions/app.Response'
  31144. security:
  31145. - ApiKeyAuth: []
  31146. summary: 查询仓单要素详细信息列表项
  31147. tags:
  31148. - 仓单贸易v2
  31149. /WrTrade2/QueryWrFinanceBuyApply:
  31150. get:
  31151. description: 页面 融资信息+ / 申请单
  31152. parameters:
  31153. - description: 用户id
  31154. in: query
  31155. name: userid
  31156. required: true
  31157. type: integer
  31158. produces:
  31159. - application/json
  31160. responses:
  31161. "200":
  31162. description: OK
  31163. schema:
  31164. items:
  31165. $ref: '#/definitions/models.WrFinanceBuyApply'
  31166. type: array
  31167. "500":
  31168. description: Internal Server Error
  31169. schema:
  31170. $ref: '#/definitions/app.Response'
  31171. security:
  31172. - ApiKeyAuth: []
  31173. summary: 查询融资购买申请
  31174. tags:
  31175. - 仓单贸易v2
  31176. /WrTrade2/QueryWrFriendApply:
  31177. get:
  31178. parameters:
  31179. - description: 用户id
  31180. in: query
  31181. name: userid
  31182. required: true
  31183. type: integer
  31184. produces:
  31185. - application/json
  31186. responses:
  31187. "200":
  31188. description: OK
  31189. schema:
  31190. items:
  31191. $ref: '#/definitions/models.WrFriendApply'
  31192. type: array
  31193. "500":
  31194. description: Internal Server Error
  31195. schema:
  31196. $ref: '#/definitions/app.Response'
  31197. security:
  31198. - ApiKeyAuth: []
  31199. summary: 查询好友申请记录
  31200. tags:
  31201. - 仓单贸易v2
  31202. /WrTrade2/QueryWrGoodsInfo:
  31203. get:
  31204. parameters:
  31205. - description: 仓单贸易市场id
  31206. in: query
  31207. name: marketid
  31208. type: integer
  31209. - description: 0:仓单预售 1:仓单贸易
  31210. in: query
  31211. name: haswr
  31212. required: true
  31213. type: integer
  31214. - description: 仓单要素id
  31215. in: query
  31216. name: wrfactortypeid
  31217. required: true
  31218. type: integer
  31219. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  31220. in: query
  31221. name: tmplateid
  31222. type: integer
  31223. produces:
  31224. - application/json
  31225. responses:
  31226. "200":
  31227. description: OK
  31228. schema:
  31229. items:
  31230. $ref: '#/definitions/models.WrGoodsInfo'
  31231. type: array
  31232. "500":
  31233. description: Internal Server Error
  31234. schema:
  31235. $ref: '#/definitions/app.Response'
  31236. security:
  31237. - ApiKeyAuth: []
  31238. summary: 查询仓单商品信息
  31239. tags:
  31240. - 仓单贸易v2
  31241. /WrTrade2/QueryWrMarketTradeConfig:
  31242. get:
  31243. parameters:
  31244. - description: 市场id
  31245. in: query
  31246. name: marketid
  31247. type: integer
  31248. produces:
  31249. - application/json
  31250. responses:
  31251. "200":
  31252. description: OK
  31253. schema:
  31254. items:
  31255. $ref: '#/definitions/models.WrMarketTradeConfig'
  31256. type: array
  31257. "500":
  31258. description: Internal Server Error
  31259. schema:
  31260. $ref: '#/definitions/app.Response'
  31261. security:
  31262. - ApiKeyAuth: []
  31263. summary: 查询市场交易参数配置
  31264. tags:
  31265. - 仓单贸易v2
  31266. /WrTrade2/QueryWrOrderDetail:
  31267. get:
  31268. description: 页面 现货仓单 | 预售仓单 -> 委托单
  31269. parameters:
  31270. - description: 页码
  31271. in: query
  31272. name: page
  31273. type: integer
  31274. - description: 每页条数
  31275. in: query
  31276. name: pagesize
  31277. type: integer
  31278. - description: 用户id
  31279. in: query
  31280. name: userid
  31281. required: true
  31282. type: integer
  31283. - description: 仓单贸易市场id
  31284. in: query
  31285. name: marketid
  31286. type: integer
  31287. - description: 0:仓单预售 1:仓单贸易
  31288. in: query
  31289. name: haswr
  31290. required: true
  31291. type: integer
  31292. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  31293. in: query
  31294. name: bcancel
  31295. type: integer
  31296. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  31297. in: query
  31298. name: wrtradetype
  31299. type: integer
  31300. - description: 开始交易日(yyyymmdd)
  31301. in: query
  31302. name: begindate
  31303. type: string
  31304. - description: 结束交易日(yyyymmdd)
  31305. in: query
  31306. name: enddate
  31307. type: string
  31308. produces:
  31309. - application/json
  31310. responses:
  31311. "200":
  31312. description: OK
  31313. schema:
  31314. items:
  31315. $ref: '#/definitions/models.WrOrderDetail'
  31316. type: array
  31317. "500":
  31318. description: Internal Server Error
  31319. schema:
  31320. $ref: '#/definitions/app.Response'
  31321. security:
  31322. - ApiKeyAuth: []
  31323. summary: 查询仓单委托单
  31324. tags:
  31325. - 仓单贸易v2
  31326. /WrTrade2/QueryWrOutInApply:
  31327. get:
  31328. parameters:
  31329. - description: 用户id
  31330. in: query
  31331. name: userid
  31332. required: true
  31333. type: integer
  31334. - description: 开始交易日(yyyymmdd)
  31335. in: query
  31336. name: begindate
  31337. type: string
  31338. - description: 结束交易日(yyyymmdd)
  31339. in: query
  31340. name: enddate
  31341. type: string
  31342. produces:
  31343. - application/json
  31344. responses:
  31345. "200":
  31346. description: OK
  31347. schema:
  31348. items:
  31349. $ref: '#/definitions/models.WrOutInApply'
  31350. type: array
  31351. "500":
  31352. description: Internal Server Error
  31353. schema:
  31354. $ref: '#/definitions/app.Response'
  31355. security:
  31356. - ApiKeyAuth: []
  31357. summary: 查询提货申请
  31358. tags:
  31359. - 仓单贸易v2
  31360. /WrTrade2/QueryWrPerformancePlanStep:
  31361. get:
  31362. parameters:
  31363. - description: 履约计划id(performanceplanid)
  31364. in: query
  31365. name: planid
  31366. required: true
  31367. type: integer
  31368. - description: 当前步骤id
  31369. in: query
  31370. name: curstepid
  31371. type: integer
  31372. produces:
  31373. - application/json
  31374. responses:
  31375. "200":
  31376. description: OK
  31377. schema:
  31378. items:
  31379. $ref: '#/definitions/models.WrPerformancePlanStep'
  31380. type: array
  31381. "500":
  31382. description: Internal Server Error
  31383. schema:
  31384. $ref: '#/definitions/app.Response'
  31385. security:
  31386. - ApiKeyAuth: []
  31387. summary: 查询履约信息详情
  31388. tags:
  31389. - 仓单贸易v2
  31390. /WrTrade2/QueryWrPerformanceStepType:
  31391. get:
  31392. produces:
  31393. - application/json
  31394. responses:
  31395. "200":
  31396. description: OK
  31397. schema:
  31398. items:
  31399. $ref: '#/definitions/models.WrPerformanceStepType'
  31400. type: array
  31401. "500":
  31402. description: Internal Server Error
  31403. schema:
  31404. $ref: '#/definitions/app.Response'
  31405. security:
  31406. - ApiKeyAuth: []
  31407. summary: 查询履约步骤枚举
  31408. tags:
  31409. - 仓单贸易v2
  31410. /WrTrade2/QueryWrPosition:
  31411. get:
  31412. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  31413. parameters:
  31414. - description: 用户id
  31415. in: query
  31416. name: userid
  31417. required: true
  31418. type: integer
  31419. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  31420. in: query
  31421. name: querytype
  31422. required: true
  31423. type: integer
  31424. - description: 0:仓单预售 1:仓单贸易
  31425. in: query
  31426. name: haswr
  31427. required: true
  31428. type: integer
  31429. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31430. in: query
  31431. name: dgitemname
  31432. type: string
  31433. - description: 仓库id(筛选条件)
  31434. in: query
  31435. name: warehouseid
  31436. type: integer
  31437. - description: 品种id
  31438. in: query
  31439. name: deliverygoodsid
  31440. type: integer
  31441. - description: 品类id
  31442. in: query
  31443. name: wrstandardid
  31444. type: integer
  31445. produces:
  31446. - application/json
  31447. responses:
  31448. "200":
  31449. description: OK
  31450. schema:
  31451. items:
  31452. $ref: '#/definitions/models.WrPosition'
  31453. type: array
  31454. "500":
  31455. description: Internal Server Error
  31456. schema:
  31457. $ref: '#/definitions/app.Response'
  31458. security:
  31459. - ApiKeyAuth: []
  31460. summary: 查询现货(预售)仓单持仓
  31461. tags:
  31462. - 仓单贸易v2
  31463. /WrTrade2/QueryWrPreSaleInfo:
  31464. get:
  31465. parameters:
  31466. - description: 市场id
  31467. in: query
  31468. name: marketid
  31469. type: integer
  31470. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31471. in: query
  31472. name: presalestatus
  31473. type: string
  31474. - description: 摇号标识 - 0:未摇号 1:已摇号
  31475. in: query
  31476. name: lotteryflag
  31477. type: integer
  31478. - description: 最近多少条记录(按创建时间倒序)
  31479. in: query
  31480. name: lastnum
  31481. type: integer
  31482. produces:
  31483. - application/json
  31484. responses:
  31485. "200":
  31486. description: OK
  31487. schema:
  31488. items:
  31489. $ref: '#/definitions/models.WrPreSaleInfo'
  31490. type: array
  31491. "500":
  31492. description: Internal Server Error
  31493. schema:
  31494. $ref: '#/definitions/app.Response'
  31495. security:
  31496. - ApiKeyAuth: []
  31497. summary: 查询新品发布
  31498. tags:
  31499. - 仓单贸易v2
  31500. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31501. get:
  31502. parameters:
  31503. - description: 市场id
  31504. in: query
  31505. name: marketid
  31506. required: true
  31507. type: integer
  31508. - description: 现货商品id
  31509. in: query
  31510. name: wrstandardid
  31511. required: true
  31512. type: integer
  31513. - description: 开始交易日(yyyymmdd)
  31514. in: query
  31515. name: begindate
  31516. type: string
  31517. - description: 结束交易日(yyyymmdd)
  31518. in: query
  31519. name: enddate
  31520. type: string
  31521. - description: 最近多少条记录(按交易日倒序)
  31522. in: query
  31523. name: lastnum
  31524. type: integer
  31525. - description: 是否今日
  31526. in: query
  31527. name: istoday
  31528. type: boolean
  31529. produces:
  31530. - application/json
  31531. responses:
  31532. "200":
  31533. description: OK
  31534. schema:
  31535. items:
  31536. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31537. type: array
  31538. "500":
  31539. description: Internal Server Error
  31540. schema:
  31541. $ref: '#/definitions/app.Response'
  31542. security:
  31543. - ApiKeyAuth: []
  31544. summary: 查询价格走势
  31545. tags:
  31546. - 仓单贸易v2
  31547. /WrTrade2/QueryWrScfContract:
  31548. get:
  31549. parameters:
  31550. - description: 用户id
  31551. in: query
  31552. name: userid
  31553. required: true
  31554. type: integer
  31555. - description: 融资合同id
  31556. in: query
  31557. name: scfcontractid
  31558. type: integer
  31559. produces:
  31560. - application/json
  31561. responses:
  31562. "200":
  31563. description: OK
  31564. schema:
  31565. items:
  31566. $ref: '#/definitions/models.WrScfContract'
  31567. type: array
  31568. "500":
  31569. description: Internal Server Error
  31570. schema:
  31571. $ref: '#/definitions/app.Response'
  31572. security:
  31573. - ApiKeyAuth: []
  31574. summary: 查询仓单贸易融资合同
  31575. tags:
  31576. - 仓单贸易v2
  31577. /WrTrade2/QueryWrScfContractInterest:
  31578. get:
  31579. parameters:
  31580. - description: 融资合同id
  31581. in: query
  31582. name: scfcontractid
  31583. type: integer
  31584. produces:
  31585. - application/json
  31586. responses:
  31587. "200":
  31588. description: OK
  31589. schema:
  31590. items:
  31591. $ref: '#/definitions/models.WrScfContractInterest'
  31592. type: array
  31593. "500":
  31594. description: Internal Server Error
  31595. schema:
  31596. $ref: '#/definitions/app.Response'
  31597. security:
  31598. - ApiKeyAuth: []
  31599. summary: 查询融资合同费用明细
  31600. tags:
  31601. - 仓单贸易v2
  31602. /WrTrade2/QueryWrSearchUser:
  31603. get:
  31604. parameters:
  31605. - description: 用户名称(模糊匹配)
  31606. in: query
  31607. name: username
  31608. required: true
  31609. type: string
  31610. produces:
  31611. - application/json
  31612. responses:
  31613. "200":
  31614. description: OK
  31615. schema:
  31616. items:
  31617. $ref: '#/definitions/models.WrSearchUser'
  31618. type: array
  31619. "500":
  31620. description: Internal Server Error
  31621. schema:
  31622. $ref: '#/definitions/app.Response'
  31623. security:
  31624. - ApiKeyAuth: []
  31625. summary: 查询用户
  31626. tags:
  31627. - 仓单贸易v2
  31628. /WrTrade2/QueryWrSpecialMatchOrder:
  31629. get:
  31630. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  31631. parameters:
  31632. - description: 页码
  31633. in: query
  31634. name: page
  31635. type: integer
  31636. - description: 每页条数
  31637. in: query
  31638. name: pagesize
  31639. type: integer
  31640. - description: 用户id
  31641. in: query
  31642. name: userid
  31643. required: true
  31644. type: integer
  31645. - description: 仓单贸易市场id
  31646. in: query
  31647. name: marketid
  31648. type: integer
  31649. - description: 0:仓单预售 1:仓单贸易
  31650. in: query
  31651. name: haswr
  31652. required: true
  31653. type: integer
  31654. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  31655. in: query
  31656. name: isspecified
  31657. type: integer
  31658. produces:
  31659. - application/json
  31660. responses:
  31661. "200":
  31662. description: OK
  31663. schema:
  31664. items:
  31665. $ref: '#/definitions/models.WrSpecialMatchOrder'
  31666. type: array
  31667. "500":
  31668. description: Internal Server Error
  31669. schema:
  31670. $ref: '#/definitions/app.Response'
  31671. security:
  31672. - ApiKeyAuth: []
  31673. summary: 查询指定成交
  31674. tags:
  31675. - 仓单贸易v2
  31676. /WrTrade2/QueryWrStandardFactoryItem:
  31677. get:
  31678. parameters:
  31679. - description: 品类id
  31680. in: query
  31681. name: wrstandardid
  31682. required: true
  31683. type: integer
  31684. produces:
  31685. - application/json
  31686. responses:
  31687. "200":
  31688. description: OK
  31689. schema:
  31690. items:
  31691. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  31692. type: array
  31693. "500":
  31694. description: Internal Server Error
  31695. schema:
  31696. $ref: '#/definitions/app.Response'
  31697. security:
  31698. - ApiKeyAuth: []
  31699. summary: 查询品类要素定义项
  31700. tags:
  31701. - 仓单贸易v2
  31702. /WrTrade2/QueryWrTradeBargainApply:
  31703. get:
  31704. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  31705. 议价->对方议价 填写matchuserid=登录用户id
  31706. parameters:
  31707. - description: 议价人id(摘牌方)
  31708. in: query
  31709. name: userid
  31710. type: integer
  31711. - description: 挂牌方id(查对方议价时,填写此项)
  31712. in: query
  31713. name: matchuserid
  31714. type: integer
  31715. - description: 关联委托单id
  31716. in: query
  31717. name: wrtradeorderid
  31718. type: integer
  31719. - description: 0:仓单预售 1:仓单贸易
  31720. in: query
  31721. name: haswr
  31722. required: true
  31723. type: integer
  31724. - description: 开始交易日(yyyymmdd)
  31725. in: query
  31726. name: begindate
  31727. type: string
  31728. - description: 结束交易日(yyyymmdd)
  31729. in: query
  31730. name: enddate
  31731. type: string
  31732. produces:
  31733. - application/json
  31734. responses:
  31735. "200":
  31736. description: OK
  31737. schema:
  31738. items:
  31739. $ref: '#/definitions/models.WRTradeBargainApply'
  31740. type: array
  31741. "500":
  31742. description: Internal Server Error
  31743. schema:
  31744. $ref: '#/definitions/app.Response'
  31745. security:
  31746. - ApiKeyAuth: []
  31747. summary: 查询议价单
  31748. tags:
  31749. - 仓单贸易v2
  31750. /WrTrade2/QueryWrTradeDetail:
  31751. get:
  31752. parameters:
  31753. - description: 页码
  31754. in: query
  31755. name: page
  31756. type: integer
  31757. - description: 每页条数
  31758. in: query
  31759. name: pagesize
  31760. type: integer
  31761. - description: 用户id
  31762. in: query
  31763. name: userid
  31764. required: true
  31765. type: integer
  31766. - description: 仓单贸易市场id
  31767. in: query
  31768. name: marketid
  31769. type: integer
  31770. - description: 0:仓单预售 1:仓单贸易
  31771. in: query
  31772. name: haswr
  31773. required: true
  31774. type: integer
  31775. - description: 开始交易日(yyyymmdd)
  31776. in: query
  31777. name: begindate
  31778. type: string
  31779. - description: 结束交易日(yyyymmdd)
  31780. in: query
  31781. name: enddate
  31782. type: string
  31783. produces:
  31784. - application/json
  31785. responses:
  31786. "200":
  31787. description: OK
  31788. schema:
  31789. items:
  31790. $ref: '#/definitions/models.WrTradeDetail'
  31791. type: array
  31792. "500":
  31793. description: Internal Server Error
  31794. schema:
  31795. $ref: '#/definitions/app.Response'
  31796. security:
  31797. - ApiKeyAuth: []
  31798. summary: 查询仓单成交明细
  31799. tags:
  31800. - 仓单贸易v2
  31801. /WrTrade2/QueryWrTradeOrderDetail:
  31802. get:
  31803. parameters:
  31804. - description: 页码
  31805. in: query
  31806. name: page
  31807. type: integer
  31808. - description: 每页条数
  31809. in: query
  31810. name: pagesize
  31811. type: integer
  31812. - description: 商品id
  31813. in: query
  31814. name: goodsid
  31815. required: true
  31816. type: integer
  31817. - description: 买卖方向 0-买 1-卖
  31818. in: query
  31819. name: buyorsell
  31820. required: true
  31821. type: integer
  31822. produces:
  31823. - application/json
  31824. responses:
  31825. "200":
  31826. description: OK
  31827. schema:
  31828. items:
  31829. $ref: '#/definitions/models.WrTradeOrderDetail'
  31830. type: array
  31831. "500":
  31832. description: Internal Server Error
  31833. schema:
  31834. $ref: '#/definitions/app.Response'
  31835. security:
  31836. - ApiKeyAuth: []
  31837. summary: 查询合约交易买卖大厅
  31838. tags:
  31839. - 仓单贸易v2
  31840. /WrTrade2/QueryWrTradeQuote:
  31841. get:
  31842. parameters:
  31843. - description: 现货商品id
  31844. in: query
  31845. name: wrstandardid
  31846. required: true
  31847. type: integer
  31848. - description: 开始日期(yyyymmdd)
  31849. in: query
  31850. name: begindate
  31851. required: true
  31852. type: string
  31853. - description: 结束日期(yyyymmdd)
  31854. in: query
  31855. name: enddate
  31856. required: true
  31857. type: string
  31858. - description: 市场id
  31859. in: query
  31860. name: marketid
  31861. type: integer
  31862. produces:
  31863. - application/json
  31864. responses:
  31865. "200":
  31866. description: OK
  31867. schema:
  31868. items:
  31869. $ref: '#/definitions/models.Wrtradetradequote'
  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/QueryWrUserFriend:
  31881. get:
  31882. parameters:
  31883. - description: 用户id
  31884. in: query
  31885. name: userid
  31886. required: true
  31887. type: integer
  31888. - description: 新朋友userid, 如果填写了此项则查找新朋友
  31889. in: query
  31890. name: newuserid
  31891. type: integer
  31892. produces:
  31893. - application/json
  31894. responses:
  31895. "200":
  31896. description: OK
  31897. schema:
  31898. items:
  31899. $ref: '#/definitions/models.WrUserFriend'
  31900. type: array
  31901. "500":
  31902. description: Internal Server Error
  31903. schema:
  31904. $ref: '#/definitions/app.Response'
  31905. security:
  31906. - ApiKeyAuth: []
  31907. summary: 查询我的朋友
  31908. tags:
  31909. - 仓单贸易v2
  31910. /WrTrade2/QueryWrUserReceiptInfo:
  31911. get:
  31912. parameters:
  31913. - description: 用户id
  31914. in: query
  31915. name: userid
  31916. type: integer
  31917. - description: 发票类型 - 1:个人 2:企业
  31918. in: query
  31919. name: receipttype
  31920. type: integer
  31921. produces:
  31922. - application/json
  31923. responses:
  31924. "200":
  31925. description: OK
  31926. schema:
  31927. items:
  31928. $ref: '#/definitions/models.WrUserReceiptInfo'
  31929. type: array
  31930. "500":
  31931. description: Internal Server Error
  31932. schema:
  31933. $ref: '#/definitions/app.Response'
  31934. security:
  31935. - ApiKeyAuth: []
  31936. summary: 查询发票信息
  31937. tags:
  31938. - 仓单贸易v2
  31939. /WrTrade2/QueryXhcpSellBackApply:
  31940. get:
  31941. parameters:
  31942. - description: 用户ID
  31943. in: query
  31944. name: userid
  31945. required: true
  31946. type: integer
  31947. produces:
  31948. - application/json
  31949. responses:
  31950. "200":
  31951. description: OK
  31952. schema:
  31953. items:
  31954. $ref: '#/definitions/models.Xhcpsellbackapply'
  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. /ZJ/GetBankTip:
  31966. get:
  31967. produces:
  31968. - application/json
  31969. responses:
  31970. "200":
  31971. description: OK
  31972. schema:
  31973. type: string
  31974. "500":
  31975. description: Internal Server Error
  31976. schema:
  31977. $ref: '#/definitions/app.Response'
  31978. summary: 获取中江网银端出入金提示信息
  31979. tags:
  31980. - 中江
  31981. /ZJ/GetCusBankChannels:
  31982. get:
  31983. produces:
  31984. - application/json
  31985. responses:
  31986. "200":
  31987. description: OK
  31988. schema:
  31989. items:
  31990. type: string
  31991. type: array
  31992. "500":
  31993. description: Internal Server Error
  31994. schema:
  31995. $ref: '#/definitions/app.Response'
  31996. summary: 获取中江出入金渠道显示列表
  31997. tags:
  31998. - 中江
  31999. securityDefinitions:
  32000. ApiKeyAuth:
  32001. in: header
  32002. name: Authorization
  32003. type: apiKey
  32004. swagger: "2.0"