swagger.yaml 891 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999
  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. produces:
  22211. - application/json
  22212. responses:
  22213. "200":
  22214. description: OK
  22215. schema:
  22216. items:
  22217. $ref: '#/definitions/models.NewFuncmenulist'
  22218. type: array
  22219. "500":
  22220. description: Internal Server Error
  22221. schema:
  22222. $ref: '#/definitions/app.Response'
  22223. security:
  22224. - ApiKeyAuth: []
  22225. summary: 获取终端菜单
  22226. tags:
  22227. - 通用服务
  22228. /Common/GetDivisions:
  22229. get:
  22230. produces:
  22231. - application/json
  22232. responses:
  22233. "200":
  22234. description: OK
  22235. schema:
  22236. $ref: '#/definitions/models.Division'
  22237. "500":
  22238. description: Internal Server Error
  22239. schema:
  22240. $ref: '#/definitions/app.Response'
  22241. summary: 查询区域信息
  22242. tags:
  22243. - 通用服务
  22244. /Common/GetPCWebMenus:
  22245. get:
  22246. parameters:
  22247. - description: 登录账号
  22248. in: query
  22249. name: loginID
  22250. required: true
  22251. type: integer
  22252. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  22253. in: query
  22254. name: name
  22255. type: string
  22256. produces:
  22257. - application/json
  22258. responses:
  22259. "200":
  22260. description: OK
  22261. schema:
  22262. items:
  22263. $ref: '#/definitions/common.PCWebMenu'
  22264. type: array
  22265. "500":
  22266. description: Internal Server Error
  22267. schema:
  22268. $ref: '#/definitions/app.Response'
  22269. security:
  22270. - ApiKeyAuth: []
  22271. summary: 获取PCWeb交易端菜单
  22272. tags:
  22273. - 通用服务
  22274. /Common/GetServerTime:
  22275. get:
  22276. produces:
  22277. - application/json
  22278. responses:
  22279. "200":
  22280. description: OK
  22281. schema:
  22282. $ref: '#/definitions/app.Response'
  22283. "500":
  22284. description: Internal Server Error
  22285. schema:
  22286. $ref: '#/definitions/app.Response'
  22287. summary: 获取服务器时间
  22288. tags:
  22289. - 通用服务
  22290. /Common/InsertNewFuncmenu:
  22291. post:
  22292. consumes:
  22293. - application/json
  22294. parameters:
  22295. - description: 菜单表数据
  22296. in: body
  22297. name: data
  22298. required: true
  22299. schema:
  22300. $ref: '#/definitions/models.NewFuncmenulist'
  22301. produces:
  22302. - application/json
  22303. responses:
  22304. "200":
  22305. description: OK
  22306. schema:
  22307. $ref: '#/definitions/app.Response'
  22308. "500":
  22309. description: Internal Server Error
  22310. schema:
  22311. $ref: '#/definitions/app.Response'
  22312. security:
  22313. - ApiKeyAuth: []
  22314. summary: 插入菜单表数据
  22315. tags:
  22316. - 通用服务
  22317. /Common/NoticeReaded:
  22318. post:
  22319. parameters:
  22320. - description: 登录账号
  22321. in: query
  22322. name: loginID
  22323. required: true
  22324. type: integer
  22325. - description: 通知公告ID
  22326. in: query
  22327. name: noticeID
  22328. required: true
  22329. type: integer
  22330. produces:
  22331. - application/json
  22332. responses:
  22333. "200":
  22334. description: OK
  22335. schema:
  22336. $ref: '#/definitions/app.Response'
  22337. "500":
  22338. description: Internal Server Error
  22339. schema:
  22340. $ref: '#/definitions/app.Response'
  22341. security:
  22342. - ApiKeyAuth: []
  22343. summary: 通知公告设置已读请求
  22344. tags:
  22345. - 通用服务
  22346. /Common/QueryErrorInfos:
  22347. get:
  22348. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22349. parameters:
  22350. - description: 起始行号前索引
  22351. in: query
  22352. name: rowNumber
  22353. type: string
  22354. produces:
  22355. - application/json
  22356. responses:
  22357. "200":
  22358. description: OK
  22359. schema:
  22360. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22361. "500":
  22362. description: Internal Server Error
  22363. schema:
  22364. $ref: '#/definitions/app.Response'
  22365. summary: 获取数据库错误信息
  22366. tags:
  22367. - 通用服务
  22368. /Common/QueryImageConfigs:
  22369. get:
  22370. parameters:
  22371. - description: 用户id
  22372. in: query
  22373. name: userId
  22374. type: integer
  22375. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22376. in: query
  22377. name: imageType
  22378. type: integer
  22379. produces:
  22380. - application/json
  22381. responses:
  22382. "200":
  22383. description: OK
  22384. schema:
  22385. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22386. "500":
  22387. description: Internal Server Error
  22388. schema:
  22389. $ref: '#/definitions/app.Response'
  22390. summary: 查询轮播图配置信息
  22391. tags:
  22392. - 通用服务
  22393. /Common/QueryNotice:
  22394. get:
  22395. parameters:
  22396. - description: 页码
  22397. in: query
  22398. name: page
  22399. type: integer
  22400. - description: 每页条数
  22401. in: query
  22402. name: pagesize
  22403. type: integer
  22404. - description: 登录账号
  22405. in: query
  22406. name: loginID
  22407. required: true
  22408. type: integer
  22409. - description: 消息类型 - 1:公告通知 2:系统消息
  22410. in: query
  22411. name: msgType
  22412. type: integer
  22413. - description: 是否只获取未读信息
  22414. in: query
  22415. name: onlyUnRead
  22416. type: boolean
  22417. - description: 自增ID,传入后会返回这个ID后面的记录
  22418. in: query
  22419. name: lastID
  22420. type: integer
  22421. produces:
  22422. - application/json
  22423. responses:
  22424. "200":
  22425. description: OK
  22426. schema:
  22427. $ref: '#/definitions/common.QueryNoticeRsp'
  22428. "500":
  22429. description: Internal Server Error
  22430. schema:
  22431. $ref: '#/definitions/app.Response'
  22432. security:
  22433. - ApiKeyAuth: []
  22434. summary: 通知公告系统消息查询
  22435. tags:
  22436. - 通用服务
  22437. /Common/QueryProvincesAndCities:
  22438. get:
  22439. parameters:
  22440. - description: 省ID
  22441. in: query
  22442. name: provinceID
  22443. type: integer
  22444. produces:
  22445. - application/json
  22446. responses:
  22447. "200":
  22448. description: OK
  22449. schema:
  22450. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22451. "500":
  22452. description: Internal Server Error
  22453. schema:
  22454. $ref: '#/definitions/app.Response'
  22455. summary: 查询省市信息(不包括区)
  22456. tags:
  22457. - 通用服务
  22458. /Common/QueryTableDefine:
  22459. get:
  22460. parameters:
  22461. - description: 表key
  22462. in: query
  22463. name: tableKey
  22464. type: string
  22465. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22466. in: query
  22467. name: tableType
  22468. type: integer
  22469. produces:
  22470. - application/json
  22471. responses:
  22472. "200":
  22473. description: OK
  22474. schema:
  22475. $ref: '#/definitions/common.QueryTableDefineRsp'
  22476. "500":
  22477. description: Internal Server Error
  22478. schema:
  22479. $ref: '#/definitions/app.Response'
  22480. summary: 查询交易端列表头信息
  22481. tags:
  22482. - 通用服务
  22483. /Common/QueryTraderMenu:
  22484. get:
  22485. parameters:
  22486. - description: 登录账号
  22487. in: query
  22488. name: loginid
  22489. required: true
  22490. type: integer
  22491. produces:
  22492. - application/json
  22493. responses:
  22494. "200":
  22495. description: OK
  22496. schema:
  22497. $ref: '#/definitions/common.QueryTraderMenuRsp'
  22498. "500":
  22499. description: Internal Server Error
  22500. schema:
  22501. $ref: '#/definitions/app.Response'
  22502. summary: 查询交易端菜单
  22503. tags:
  22504. - 通用服务
  22505. /Common/UpdateNewFuncmenu:
  22506. put:
  22507. consumes:
  22508. - application/json
  22509. parameters:
  22510. - description: 菜单表数据
  22511. in: body
  22512. name: data
  22513. required: true
  22514. schema:
  22515. $ref: '#/definitions/models.NewFuncmenulist'
  22516. produces:
  22517. - application/json
  22518. responses:
  22519. "200":
  22520. description: OK
  22521. schema:
  22522. $ref: '#/definitions/app.Response'
  22523. "500":
  22524. description: Internal Server Error
  22525. schema:
  22526. $ref: '#/definitions/app.Response'
  22527. security:
  22528. - ApiKeyAuth: []
  22529. summary: 更新菜单表数据
  22530. tags:
  22531. - 通用服务
  22532. /Delivery/QueryDeliveryRelation:
  22533. get:
  22534. parameters:
  22535. - description: 商品ID
  22536. in: query
  22537. name: goodsid
  22538. type: integer
  22539. - description: 品种ID
  22540. in: query
  22541. name: deliverygoodsid
  22542. type: integer
  22543. - description: 市场ID
  22544. in: query
  22545. name: marketid
  22546. type: integer
  22547. produces:
  22548. - application/json
  22549. responses:
  22550. "200":
  22551. description: OK
  22552. schema:
  22553. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  22554. "500":
  22555. description: Internal Server Error
  22556. schema:
  22557. $ref: '#/definitions/app.Response'
  22558. security:
  22559. - ApiKeyAuth: []
  22560. summary: 查询商品交割关系表
  22561. tags:
  22562. - 交割服务
  22563. /Ermcp/GetErmcpGoods:
  22564. get:
  22565. parameters:
  22566. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  22567. in: query
  22568. name: userid
  22569. type: integer
  22570. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22571. in: query
  22572. name: lastUpdateTime
  22573. type: string
  22574. produces:
  22575. - application/json
  22576. responses:
  22577. "200":
  22578. description: OK
  22579. schema:
  22580. $ref: '#/definitions/models.ErmcpGoods'
  22581. "500":
  22582. description: Internal Server Error
  22583. schema:
  22584. $ref: '#/definitions/app.Response'
  22585. security:
  22586. - ApiKeyAuth: []
  22587. summary: 查询企业风管期货商品信息
  22588. tags:
  22589. - 企业风险管理(app)
  22590. /Ermcp/GetErmcpGoodsSortByPosition:
  22591. get:
  22592. parameters:
  22593. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  22594. in: query
  22595. name: sortIndex
  22596. type: string
  22597. produces:
  22598. - application/json
  22599. responses:
  22600. "200":
  22601. description: OK
  22602. schema:
  22603. $ref: '#/definitions/models.Goodssortbypreposition'
  22604. "500":
  22605. description: Internal Server Error
  22606. schema:
  22607. $ref: '#/definitions/app.Response'
  22608. security:
  22609. - ApiKeyAuth: []
  22610. summary: 查询企业风管期货主力、次主力商品信息
  22611. tags:
  22612. - 企业风险管理(app)
  22613. /Ermcp/GetErmcpOutAccountStatus:
  22614. get:
  22615. parameters:
  22616. - description: 登录账号
  22617. in: query
  22618. name: loginID
  22619. required: true
  22620. type: integer
  22621. produces:
  22622. - application/json
  22623. responses:
  22624. "200":
  22625. description: OK
  22626. schema:
  22627. $ref: '#/definitions/models.Hedgemarketopenlog'
  22628. "500":
  22629. description: Internal Server Error
  22630. schema:
  22631. $ref: '#/definitions/app.Response'
  22632. security:
  22633. - ApiKeyAuth: []
  22634. summary: 获取目标登录账号当前对冲账号在线状态
  22635. tags:
  22636. - 企业风险管理(app)
  22637. /Ermcp/GetErmcpRoleFuncMenuLists:
  22638. get:
  22639. parameters:
  22640. - description: 登录账号
  22641. in: query
  22642. name: loginID
  22643. required: true
  22644. type: integer
  22645. produces:
  22646. - application/json
  22647. responses:
  22648. "200":
  22649. description: OK
  22650. schema:
  22651. $ref: '#/definitions/models.Funcmenulist'
  22652. "500":
  22653. description: Internal Server Error
  22654. schema:
  22655. $ref: '#/definitions/app.Response'
  22656. security:
  22657. - ApiKeyAuth: []
  22658. summary: 获取企业风管终端权限
  22659. tags:
  22660. - 企业风险管理(app)
  22661. /Ermcp/QueryAccMgrBizGroupSet:
  22662. get:
  22663. parameters:
  22664. - description: 用户ID
  22665. in: query
  22666. name: userid
  22667. required: true
  22668. type: integer
  22669. - description: 现货商品id
  22670. in: query
  22671. name: deliverygoodsid
  22672. type: integer
  22673. produces:
  22674. - application/json
  22675. responses:
  22676. "200":
  22677. description: OK
  22678. schema:
  22679. items:
  22680. $ref: '#/definitions/models.ErmcpBizGroupEx'
  22681. type: array
  22682. "500":
  22683. description: Internal Server Error
  22684. schema:
  22685. $ref: '#/definitions/app.Response'
  22686. security:
  22687. - ApiKeyAuth: []
  22688. summary: 查询业务类型分组(账户管理/账户设置)
  22689. tags:
  22690. - 企业风险管理(app)
  22691. /Ermcp/QueryAccMgrLoginUser:
  22692. get:
  22693. parameters:
  22694. - description: 用户ID
  22695. in: query
  22696. name: userid
  22697. required: true
  22698. type: integer
  22699. - description: 用户类型 2-机构 7-企业成员
  22700. in: query
  22701. name: usertype
  22702. type: integer
  22703. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  22704. in: query
  22705. name: querytype
  22706. required: true
  22707. type: integer
  22708. produces:
  22709. - application/json
  22710. responses:
  22711. "200":
  22712. description: OK
  22713. schema:
  22714. items:
  22715. $ref: '#/definitions/models.ErmcpLoginUserEx'
  22716. type: array
  22717. "500":
  22718. description: Internal Server Error
  22719. schema:
  22720. $ref: '#/definitions/app.Response'
  22721. security:
  22722. - ApiKeyAuth: []
  22723. summary: 查询账户管理登录账号(账户管理/登录账号)
  22724. tags:
  22725. - 企业风险管理(app)
  22726. /Ermcp/QueryAccMgrMainAccountInfo:
  22727. get:
  22728. parameters:
  22729. - description: 用户ID
  22730. in: query
  22731. name: userid
  22732. type: integer
  22733. - description: 主账号id
  22734. in: query
  22735. name: accountid
  22736. type: integer
  22737. produces:
  22738. - application/json
  22739. responses:
  22740. "200":
  22741. description: OK
  22742. schema:
  22743. items:
  22744. $ref: '#/definitions/models.MainAccountInfo'
  22745. type: array
  22746. "500":
  22747. description: Internal Server Error
  22748. schema:
  22749. $ref: '#/definitions/app.Response'
  22750. security:
  22751. - ApiKeyAuth: []
  22752. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  22753. tags:
  22754. - 企业风险管理(app)
  22755. /Ermcp/QueryAccMgrRole:
  22756. get:
  22757. parameters:
  22758. - description: 用户ID
  22759. in: query
  22760. name: userid
  22761. required: true
  22762. type: integer
  22763. produces:
  22764. - application/json
  22765. responses:
  22766. "200":
  22767. description: OK
  22768. schema:
  22769. items:
  22770. $ref: '#/definitions/models.ErmcpRole'
  22771. type: array
  22772. "500":
  22773. description: Internal Server Error
  22774. schema:
  22775. $ref: '#/definitions/app.Response'
  22776. security:
  22777. - ApiKeyAuth: []
  22778. summary: 查询账户管理角色设置(账户管理/角色设置)
  22779. tags:
  22780. - 企业风险管理(app)
  22781. /Ermcp/QueryAccMgrRoleMenu:
  22782. get:
  22783. parameters:
  22784. - description: 用户ID
  22785. in: query
  22786. name: userid
  22787. required: true
  22788. type: integer
  22789. - description: 角色id(可多个,逗号隔开)
  22790. in: query
  22791. name: roleid
  22792. type: string
  22793. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  22794. in: query
  22795. name: menutype
  22796. type: integer
  22797. produces:
  22798. - application/json
  22799. responses:
  22800. "200":
  22801. description: OK
  22802. schema:
  22803. items:
  22804. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  22805. type: array
  22806. "500":
  22807. description: Internal Server Error
  22808. schema:
  22809. $ref: '#/definitions/app.Response'
  22810. security:
  22811. - ApiKeyAuth: []
  22812. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  22813. tags:
  22814. - 企业风险管理(app)
  22815. /Ermcp/QueryAccMgrTaAccountInfo:
  22816. get:
  22817. parameters:
  22818. - description: 用户ID
  22819. in: query
  22820. name: userid
  22821. required: true
  22822. type: integer
  22823. - description: 账号id
  22824. in: query
  22825. name: accountid
  22826. type: integer
  22827. produces:
  22828. - application/json
  22829. responses:
  22830. "200":
  22831. description: OK
  22832. schema:
  22833. items:
  22834. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  22835. type: array
  22836. "500":
  22837. description: Internal Server Error
  22838. schema:
  22839. $ref: '#/definitions/app.Response'
  22840. security:
  22841. - ApiKeyAuth: []
  22842. summary: 查询账户管理授信(账户管理/账户设置/授信)
  22843. tags:
  22844. - 企业风险管理(app)
  22845. /Ermcp/QueryAccMgrTaaccount:
  22846. get:
  22847. parameters:
  22848. - description: 用户ID
  22849. in: query
  22850. name: userid
  22851. required: true
  22852. type: integer
  22853. produces:
  22854. - application/json
  22855. responses:
  22856. "200":
  22857. description: OK
  22858. schema:
  22859. items:
  22860. $ref: '#/definitions/models.ErmcpTaAccountEx'
  22861. type: array
  22862. "500":
  22863. description: Internal Server Error
  22864. schema:
  22865. $ref: '#/definitions/app.Response'
  22866. security:
  22867. - ApiKeyAuth: []
  22868. summary: 查询账户管理期货账号(账户管理/期货账号)
  22869. tags:
  22870. - 企业风险管理(app)
  22871. /Ermcp/QueryAvaildGoodsGroup:
  22872. get:
  22873. parameters:
  22874. - description: 所属机构ID
  22875. in: query
  22876. name: userid
  22877. required: true
  22878. type: integer
  22879. produces:
  22880. - application/json
  22881. responses:
  22882. "200":
  22883. description: OK
  22884. schema:
  22885. items:
  22886. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  22887. type: array
  22888. "500":
  22889. description: Internal Server Error
  22890. schema:
  22891. $ref: '#/definitions/app.Response'
  22892. security:
  22893. - ApiKeyAuth: []
  22894. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  22895. tags:
  22896. - 企业风险管理(app)
  22897. /Ermcp/QueryBusinessDj:
  22898. get:
  22899. parameters:
  22900. - description: 用户ID
  22901. in: query
  22902. name: UserId
  22903. required: true
  22904. type: integer
  22905. - description: 用户类型 2-机构 7-企业成员
  22906. in: query
  22907. name: usertype
  22908. type: integer
  22909. - description: 现货合同ID, 不填则查所有
  22910. in: query
  22911. name: relatedid
  22912. type: string
  22913. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22914. in: query
  22915. name: applystatus
  22916. type: string
  22917. produces:
  22918. - application/json
  22919. responses:
  22920. "200":
  22921. description: OK
  22922. schema:
  22923. items:
  22924. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  22925. type: array
  22926. "500":
  22927. description: Internal Server Error
  22928. schema:
  22929. $ref: '#/definitions/app.Response'
  22930. security:
  22931. - ApiKeyAuth: []
  22932. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  22933. tags:
  22934. - 企业风险管理(app)
  22935. /Ermcp/QueryBusinessFp:
  22936. get:
  22937. parameters:
  22938. - description: 用户ID
  22939. in: query
  22940. name: UserId
  22941. required: true
  22942. type: integer
  22943. - description: 用户类型 2-机构 7-企业成员
  22944. in: query
  22945. name: usertype
  22946. type: integer
  22947. - description: 现货合同ID, 不填则查所有
  22948. in: query
  22949. name: relatedid
  22950. type: string
  22951. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22952. in: query
  22953. name: applystatus
  22954. type: string
  22955. produces:
  22956. - application/json
  22957. responses:
  22958. "200":
  22959. description: OK
  22960. schema:
  22961. items:
  22962. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  22963. type: array
  22964. "500":
  22965. description: Internal Server Error
  22966. schema:
  22967. $ref: '#/definitions/app.Response'
  22968. security:
  22969. - ApiKeyAuth: []
  22970. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  22971. tags:
  22972. - 企业风险管理(app)
  22973. /Ermcp/QueryBusinessJs:
  22974. get:
  22975. parameters:
  22976. - description: 用户ID
  22977. in: query
  22978. name: UserId
  22979. required: true
  22980. type: integer
  22981. - description: 用户类型 2-机构 7-企业成员
  22982. in: query
  22983. name: usertype
  22984. type: integer
  22985. - description: 现货合同ID, 不填则查所有
  22986. in: query
  22987. name: relatedid
  22988. type: string
  22989. - description: 操作申请id
  22990. in: query
  22991. name: operateapplyid
  22992. type: string
  22993. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22994. in: query
  22995. name: applystatus
  22996. type: string
  22997. produces:
  22998. - application/json
  22999. responses:
  23000. "200":
  23001. description: OK
  23002. schema:
  23003. items:
  23004. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  23005. type: array
  23006. "500":
  23007. description: Internal Server Error
  23008. schema:
  23009. $ref: '#/definitions/app.Response'
  23010. security:
  23011. - ApiKeyAuth: []
  23012. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  23013. tags:
  23014. - 企业风险管理(app)
  23015. /Ermcp/QueryBusinessJsEx:
  23016. get:
  23017. parameters:
  23018. - description: 用户ID
  23019. in: query
  23020. name: UserId
  23021. required: true
  23022. type: integer
  23023. - description: 用户类型 2-机构 7-企业成员
  23024. in: query
  23025. name: usertype
  23026. type: integer
  23027. - description: 现货合同ID, 不填则查所有
  23028. in: query
  23029. name: relatedid
  23030. type: string
  23031. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23032. in: query
  23033. name: applystatus
  23034. type: string
  23035. produces:
  23036. - application/json
  23037. responses:
  23038. "200":
  23039. description: OK
  23040. schema:
  23041. items:
  23042. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  23043. type: array
  23044. "500":
  23045. description: Internal Server Error
  23046. schema:
  23047. $ref: '#/definitions/app.Response'
  23048. security:
  23049. - ApiKeyAuth: []
  23050. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  23051. tags:
  23052. - 企业风险管理(app)
  23053. /Ermcp/QueryBusinessKx:
  23054. get:
  23055. parameters:
  23056. - description: 用户ID
  23057. in: query
  23058. name: UserId
  23059. required: true
  23060. type: integer
  23061. - description: 用户类型 2-机构 7-企业成员
  23062. in: query
  23063. name: usertype
  23064. type: integer
  23065. - description: 现货合同ID, 不填则查所有
  23066. in: query
  23067. name: relatedid
  23068. type: string
  23069. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23070. in: query
  23071. name: applystatus
  23072. type: string
  23073. produces:
  23074. - application/json
  23075. responses:
  23076. "200":
  23077. description: OK
  23078. schema:
  23079. items:
  23080. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  23081. type: array
  23082. "500":
  23083. description: Internal Server Error
  23084. schema:
  23085. $ref: '#/definitions/app.Response'
  23086. security:
  23087. - ApiKeyAuth: []
  23088. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  23089. tags:
  23090. - 企业风险管理(app)
  23091. /Ermcp/QueryChangeLog:
  23092. get:
  23093. parameters:
  23094. - description: 合同ID
  23095. in: query
  23096. name: RelatedId
  23097. required: true
  23098. type: string
  23099. produces:
  23100. - application/json
  23101. responses:
  23102. "200":
  23103. description: OK
  23104. schema:
  23105. items:
  23106. $ref: '#/definitions/ermcp.QryOPLogRsp'
  23107. type: array
  23108. "500":
  23109. description: Internal Server Error
  23110. schema:
  23111. $ref: '#/definitions/app.Response'
  23112. security:
  23113. - ApiKeyAuth: []
  23114. summary: 查询变更记录
  23115. tags:
  23116. - 企业风险管理(app)
  23117. /Ermcp/QueryErmcpHisOrderDetails:
  23118. get:
  23119. parameters:
  23120. - description: 资金账户ID
  23121. in: query
  23122. name: accountID
  23123. required: true
  23124. type: integer
  23125. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23126. in: query
  23127. name: startDate
  23128. type: string
  23129. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23130. in: query
  23131. name: endDate
  23132. type: string
  23133. produces:
  23134. - application/json
  23135. responses:
  23136. "200":
  23137. description: OK
  23138. schema:
  23139. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23140. "500":
  23141. description: Internal Server Error
  23142. schema:
  23143. $ref: '#/definitions/app.Response'
  23144. security:
  23145. - ApiKeyAuth: []
  23146. summary: 获取企业风管期货历史委托单信息
  23147. tags:
  23148. - 企业风险管理(app)
  23149. /Ermcp/QueryErmcpHisTradeDetails:
  23150. get:
  23151. parameters:
  23152. - description: 资金账户ID
  23153. in: query
  23154. name: accountID
  23155. required: true
  23156. type: integer
  23157. - description: 商品ID
  23158. in: query
  23159. name: goodsID
  23160. type: integer
  23161. - description: 买卖方向,0:买 1:卖
  23162. in: query
  23163. name: buyOrSell
  23164. type: integer
  23165. - description: 关联委托单号
  23166. in: query
  23167. name: orderID
  23168. type: integer
  23169. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23170. in: query
  23171. name: startDate
  23172. type: string
  23173. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23174. in: query
  23175. name: endDate
  23176. type: string
  23177. produces:
  23178. - application/json
  23179. responses:
  23180. "200":
  23181. description: OK
  23182. schema:
  23183. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23184. "500":
  23185. description: Internal Server Error
  23186. schema:
  23187. $ref: '#/definitions/app.Response'
  23188. security:
  23189. - ApiKeyAuth: []
  23190. summary: 获取企业风管期货历史成交单信息
  23191. tags:
  23192. - 企业风险管理(app)
  23193. /Ermcp/QueryErmcpInnerHolderDetails:
  23194. get:
  23195. parameters:
  23196. - description: 资金账户ID
  23197. in: query
  23198. name: accountID
  23199. required: true
  23200. type: integer
  23201. - description: 商品ID
  23202. in: query
  23203. name: goodsID
  23204. type: integer
  23205. - description: 买卖方向,0:买 1:卖
  23206. in: query
  23207. name: buyOrSell
  23208. type: integer
  23209. produces:
  23210. - application/json
  23211. responses:
  23212. "200":
  23213. description: OK
  23214. schema:
  23215. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  23216. "500":
  23217. description: Internal Server Error
  23218. schema:
  23219. $ref: '#/definitions/app.Response'
  23220. security:
  23221. - ApiKeyAuth: []
  23222. summary: 获取企业风管期货内部持仓单信息
  23223. tags:
  23224. - 企业风险管理(app)
  23225. /Ermcp/QueryErmcpOrderDetails:
  23226. get:
  23227. parameters:
  23228. - description: 资金账户ID
  23229. in: query
  23230. name: accountID
  23231. required: true
  23232. type: integer
  23233. produces:
  23234. - application/json
  23235. responses:
  23236. "200":
  23237. description: OK
  23238. schema:
  23239. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23240. "500":
  23241. description: Internal Server Error
  23242. schema:
  23243. $ref: '#/definitions/app.Response'
  23244. security:
  23245. - ApiKeyAuth: []
  23246. summary: 获取企业风管期货委托单信息
  23247. tags:
  23248. - 企业风险管理(app)
  23249. /Ermcp/QueryErmcpTradeDetails:
  23250. get:
  23251. parameters:
  23252. - description: 资金账户ID
  23253. in: query
  23254. name: accountID
  23255. required: true
  23256. type: integer
  23257. - description: 商品ID
  23258. in: query
  23259. name: goodsID
  23260. type: integer
  23261. - description: 买卖方向,0:买 1:卖
  23262. in: query
  23263. name: buyOrSell
  23264. type: integer
  23265. - description: 关联委托单号
  23266. in: query
  23267. name: orderID
  23268. type: integer
  23269. produces:
  23270. - application/json
  23271. responses:
  23272. "200":
  23273. description: OK
  23274. schema:
  23275. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23276. "500":
  23277. description: Internal Server Error
  23278. schema:
  23279. $ref: '#/definitions/app.Response'
  23280. security:
  23281. - ApiKeyAuth: []
  23282. summary: 获取企业风管期货成交单信息
  23283. tags:
  23284. - 企业风险管理(app)
  23285. /Ermcp/QueryErmcpTradePosition:
  23286. get:
  23287. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  23288. parameters:
  23289. - description: 资金账户ID
  23290. in: query
  23291. name: accountID
  23292. required: true
  23293. type: integer
  23294. - description: 所属市场ID
  23295. in: query
  23296. name: marketID
  23297. type: integer
  23298. produces:
  23299. - application/json
  23300. responses:
  23301. "200":
  23302. description: OK
  23303. schema:
  23304. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  23305. "500":
  23306. description: Internal Server Error
  23307. schema:
  23308. $ref: '#/definitions/app.Response'
  23309. security:
  23310. - ApiKeyAuth: []
  23311. summary: 获取企业风管期货持仓头寸信息
  23312. tags:
  23313. - 企业风险管理(app)
  23314. /Ermcp/QueryExposureDetail:
  23315. get:
  23316. parameters:
  23317. - description: 所属机构ID
  23318. in: query
  23319. name: areaUserId
  23320. required: true
  23321. type: integer
  23322. - description: 套保商品
  23323. in: query
  23324. name: middleGoodsId
  23325. required: true
  23326. type: integer
  23327. produces:
  23328. - application/json
  23329. responses:
  23330. "200":
  23331. description: OK
  23332. schema:
  23333. items:
  23334. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  23335. type: array
  23336. "500":
  23337. description: Internal Server Error
  23338. schema:
  23339. $ref: '#/definitions/app.Response'
  23340. security:
  23341. - ApiKeyAuth: []
  23342. summary: 查询敞口现货明细
  23343. tags:
  23344. - 企业风险管理(app)
  23345. /Ermcp/QueryExposureGoods:
  23346. get:
  23347. parameters:
  23348. - description: 套保商品id
  23349. in: query
  23350. name: middlegoodsid
  23351. required: true
  23352. type: integer
  23353. produces:
  23354. - application/json
  23355. responses:
  23356. "200":
  23357. description: OK
  23358. schema:
  23359. items:
  23360. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23361. type: array
  23362. "500":
  23363. description: Internal Server Error
  23364. schema:
  23365. $ref: '#/definitions/app.Response'
  23366. security:
  23367. - ApiKeyAuth: []
  23368. summary: 查询敞口主力合约
  23369. tags:
  23370. - 企业风险管理(app)
  23371. /Ermcp/QueryExposureHedgePosition:
  23372. get:
  23373. parameters:
  23374. - description: 用户id
  23375. in: query
  23376. name: userid
  23377. required: true
  23378. type: integer
  23379. produces:
  23380. - application/json
  23381. responses:
  23382. "200":
  23383. description: OK
  23384. schema:
  23385. items:
  23386. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23387. type: array
  23388. "500":
  23389. description: Internal Server Error
  23390. schema:
  23391. $ref: '#/definitions/app.Response'
  23392. security:
  23393. - ApiKeyAuth: []
  23394. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23395. tags:
  23396. - 企业风险管理(app)
  23397. /Ermcp/QueryExposureHedgePositionDetail:
  23398. get:
  23399. parameters:
  23400. - description: 所属机构ID
  23401. in: query
  23402. name: userid
  23403. required: true
  23404. type: integer
  23405. - description: 商品id
  23406. in: query
  23407. name: goodsId
  23408. required: true
  23409. type: integer
  23410. produces:
  23411. - application/json
  23412. responses:
  23413. "200":
  23414. description: OK
  23415. schema:
  23416. items:
  23417. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23418. type: array
  23419. "500":
  23420. description: Internal Server Error
  23421. schema:
  23422. $ref: '#/definitions/app.Response'
  23423. security:
  23424. - ApiKeyAuth: []
  23425. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23426. tags:
  23427. - 企业风险管理(app)
  23428. /Ermcp/QueryExposureSpot:
  23429. get:
  23430. parameters:
  23431. - description: 所属机构ID
  23432. in: query
  23433. name: areaUserId
  23434. required: true
  23435. type: integer
  23436. produces:
  23437. - application/json
  23438. responses:
  23439. "200":
  23440. description: OK
  23441. schema:
  23442. items:
  23443. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23444. type: array
  23445. "500":
  23446. description: Internal Server Error
  23447. schema:
  23448. $ref: '#/definitions/app.Response'
  23449. security:
  23450. - ApiKeyAuth: []
  23451. summary: 查询敞口现货头寸(敞口/现货头寸)
  23452. tags:
  23453. - 企业风险管理(app)
  23454. /Ermcp/QueryExposureSpotDetail:
  23455. get:
  23456. parameters:
  23457. - description: 所属机构ID
  23458. in: query
  23459. name: areaUserId
  23460. required: true
  23461. type: integer
  23462. - description: 现货品种ID
  23463. in: query
  23464. name: wrstandardId
  23465. required: true
  23466. type: integer
  23467. produces:
  23468. - application/json
  23469. responses:
  23470. "200":
  23471. description: OK
  23472. schema:
  23473. items:
  23474. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23475. type: array
  23476. "500":
  23477. description: Internal Server Error
  23478. schema:
  23479. $ref: '#/definitions/app.Response'
  23480. security:
  23481. - ApiKeyAuth: []
  23482. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23483. tags:
  23484. - 企业风险管理(app)
  23485. /Ermcp/QueryFuturesCompany:
  23486. get:
  23487. produces:
  23488. - application/json
  23489. responses:
  23490. "200":
  23491. description: OK
  23492. schema:
  23493. items:
  23494. $ref: '#/definitions/models.ErmcpFuturesCompany'
  23495. type: array
  23496. "500":
  23497. description: Internal Server Error
  23498. schema:
  23499. $ref: '#/definitions/app.Response'
  23500. security:
  23501. - ApiKeyAuth: []
  23502. summary: 查询期货公司
  23503. tags:
  23504. - 企业风险管理(app)
  23505. /Ermcp/QueryGGConvertConfig:
  23506. get:
  23507. parameters:
  23508. - description: 品种id(不填则查所有)
  23509. in: query
  23510. name: goodsgroupid
  23511. type: integer
  23512. produces:
  23513. - application/json
  23514. responses:
  23515. "200":
  23516. description: OK
  23517. schema:
  23518. items:
  23519. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  23520. type: array
  23521. "500":
  23522. description: Internal Server Error
  23523. schema:
  23524. $ref: '#/definitions/app.Response'
  23525. security:
  23526. - ApiKeyAuth: []
  23527. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  23528. tags:
  23529. - 企业风险管理(app)
  23530. /Ermcp/QueryGoodsBrand:
  23531. get:
  23532. parameters:
  23533. - description: 用户ID
  23534. in: query
  23535. name: userid
  23536. required: true
  23537. type: integer
  23538. - description: 现货商品ID
  23539. in: query
  23540. name: wrstandardid
  23541. type: integer
  23542. produces:
  23543. - application/json
  23544. responses:
  23545. "200":
  23546. description: OK
  23547. schema:
  23548. items:
  23549. $ref: '#/definitions/models.ErmcpGoodsBrand'
  23550. type: array
  23551. "500":
  23552. description: Internal Server Error
  23553. schema:
  23554. $ref: '#/definitions/app.Response'
  23555. security:
  23556. - ApiKeyAuth: []
  23557. summary: 查询商品品牌
  23558. tags:
  23559. - 企业风险管理(app)
  23560. /Ermcp/QueryGoodsModel:
  23561. get:
  23562. parameters:
  23563. - description: 用户ID
  23564. in: query
  23565. name: userid
  23566. required: true
  23567. type: integer
  23568. produces:
  23569. - application/json
  23570. responses:
  23571. "200":
  23572. description: OK
  23573. schema:
  23574. items:
  23575. $ref: '#/definitions/models.ErmcpGoodsModel'
  23576. type: array
  23577. "500":
  23578. description: Internal Server Error
  23579. schema:
  23580. $ref: '#/definitions/app.Response'
  23581. security:
  23582. - ApiKeyAuth: []
  23583. summary: 查询商品型号
  23584. tags:
  23585. - 企业风险管理(app)
  23586. /Ermcp/QueryHisExposure:
  23587. get:
  23588. parameters:
  23589. - description: 用户id
  23590. in: query
  23591. name: userid
  23592. required: true
  23593. type: integer
  23594. - description: 每个品种记录数
  23595. in: query
  23596. name: lastNum
  23597. required: true
  23598. type: integer
  23599. produces:
  23600. - application/json
  23601. responses:
  23602. "200":
  23603. description: OK
  23604. schema:
  23605. items:
  23606. $ref: '#/definitions/ermcp.HisExposureRsp'
  23607. type: array
  23608. "500":
  23609. description: Internal Server Error
  23610. schema:
  23611. $ref: '#/definitions/app.Response'
  23612. security:
  23613. - ApiKeyAuth: []
  23614. summary: 查询历史敞口(菜单:敞口/历史敞口)
  23615. tags:
  23616. - 企业风险管理(app)
  23617. /Ermcp/QueryMiddleGoods:
  23618. get:
  23619. parameters:
  23620. - description: 所属机构ID
  23621. in: query
  23622. name: userid
  23623. required: true
  23624. type: integer
  23625. - description: 状态 0-停用 1-正常
  23626. in: query
  23627. name: status
  23628. required: true
  23629. type: integer
  23630. produces:
  23631. - application/json
  23632. responses:
  23633. "200":
  23634. description: OK
  23635. schema:
  23636. items:
  23637. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  23638. type: array
  23639. "500":
  23640. description: Internal Server Error
  23641. schema:
  23642. $ref: '#/definitions/app.Response'
  23643. security:
  23644. - ApiKeyAuth: []
  23645. summary: 查询套保品种(菜单:套保品种)
  23646. tags:
  23647. - 企业风险管理(app)
  23648. /Ermcp/QueryMiddleGoodsChangeLog:
  23649. get:
  23650. parameters:
  23651. - description: 所属机构ID
  23652. in: query
  23653. name: userid
  23654. required: true
  23655. type: integer
  23656. - description: 套保品种id
  23657. in: query
  23658. name: middlegoodsid
  23659. required: true
  23660. type: integer
  23661. produces:
  23662. - application/json
  23663. responses:
  23664. "200":
  23665. description: OK
  23666. schema:
  23667. items:
  23668. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  23669. type: array
  23670. "500":
  23671. description: Internal Server Error
  23672. schema:
  23673. $ref: '#/definitions/app.Response'
  23674. security:
  23675. - ApiKeyAuth: []
  23676. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  23677. tags:
  23678. - 企业风险管理(app)
  23679. /Ermcp/QueryMiddleGoodsDetail:
  23680. get:
  23681. parameters:
  23682. - description: 所属机构ID
  23683. in: query
  23684. name: userid
  23685. required: true
  23686. type: integer
  23687. - description: 套保品种id
  23688. in: query
  23689. name: middlegoodsid
  23690. type: integer
  23691. produces:
  23692. - application/json
  23693. responses:
  23694. "200":
  23695. description: OK
  23696. schema:
  23697. items:
  23698. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  23699. type: array
  23700. "500":
  23701. description: Internal Server Error
  23702. schema:
  23703. $ref: '#/definitions/app.Response'
  23704. security:
  23705. - ApiKeyAuth: []
  23706. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  23707. tags:
  23708. - 企业风险管理(app)
  23709. /Ermcp/QueryPendingAuditInfo:
  23710. get:
  23711. parameters:
  23712. - description: 用户ID
  23713. in: query
  23714. name: UserId
  23715. required: true
  23716. type: integer
  23717. produces:
  23718. - application/json
  23719. responses:
  23720. "200":
  23721. description: OK
  23722. schema:
  23723. items:
  23724. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  23725. type: array
  23726. "500":
  23727. description: Internal Server Error
  23728. schema:
  23729. $ref: '#/definitions/app.Response'
  23730. security:
  23731. - ApiKeyAuth: []
  23732. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  23733. tags:
  23734. - 企业风险管理(app)
  23735. /Ermcp/QueryRealtimeExposure:
  23736. get:
  23737. parameters:
  23738. - description: 所属机构ID
  23739. in: query
  23740. name: userid
  23741. required: true
  23742. type: integer
  23743. produces:
  23744. - application/json
  23745. responses:
  23746. "200":
  23747. description: OK
  23748. schema:
  23749. items:
  23750. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  23751. type: array
  23752. "500":
  23753. description: Internal Server Error
  23754. schema:
  23755. $ref: '#/definitions/app.Response'
  23756. security:
  23757. - ApiKeyAuth: []
  23758. summary: 查询实时敞口
  23759. tags:
  23760. - 企业风险管理(app)
  23761. /Ermcp/QueryRealtimeExposurePosition:
  23762. get:
  23763. parameters:
  23764. - description: 用户id
  23765. in: query
  23766. name: userid
  23767. required: true
  23768. type: integer
  23769. - description: 套保商品ID
  23770. in: query
  23771. name: middleGoodsId
  23772. required: true
  23773. type: integer
  23774. produces:
  23775. - application/json
  23776. responses:
  23777. "200":
  23778. description: OK
  23779. schema:
  23780. items:
  23781. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  23782. type: array
  23783. "500":
  23784. description: Internal Server Error
  23785. schema:
  23786. $ref: '#/definitions/app.Response'
  23787. security:
  23788. - ApiKeyAuth: []
  23789. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  23790. tags:
  23791. - 企业风险管理(app)
  23792. /Ermcp/QueryRoleMenu:
  23793. get:
  23794. parameters:
  23795. - description: 登录ID
  23796. in: query
  23797. name: loginid
  23798. required: true
  23799. type: integer
  23800. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  23801. in: query
  23802. name: menutype
  23803. type: integer
  23804. produces:
  23805. - application/json
  23806. responses:
  23807. "200":
  23808. description: OK
  23809. schema:
  23810. items:
  23811. $ref: '#/definitions/models.RoleMenu'
  23812. type: array
  23813. "500":
  23814. description: Internal Server Error
  23815. schema:
  23816. $ref: '#/definitions/app.Response'
  23817. security:
  23818. - ApiKeyAuth: []
  23819. summary: 查询角色菜单和权限
  23820. tags:
  23821. - 企业风险管理(app)
  23822. /Ermcp/QueryTradeConfigTMP:
  23823. get:
  23824. parameters:
  23825. - description: 所属机构id
  23826. in: query
  23827. name: areauserid
  23828. type: integer
  23829. produces:
  23830. - application/json
  23831. responses:
  23832. "200":
  23833. description: OK
  23834. schema:
  23835. items:
  23836. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  23837. type: array
  23838. "500":
  23839. description: Internal Server Error
  23840. schema:
  23841. $ref: '#/definitions/app.Response'
  23842. security:
  23843. - ApiKeyAuth: []
  23844. summary: 查询交易模板配置
  23845. tags:
  23846. - 企业风险管理(app)
  23847. /Ermcp/QueryUserInfo:
  23848. get:
  23849. parameters:
  23850. - description: 所属机构用户ID
  23851. in: query
  23852. name: MemberUserID
  23853. required: true
  23854. type: integer
  23855. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  23856. in: query
  23857. name: queryType
  23858. required: true
  23859. type: integer
  23860. produces:
  23861. - application/json
  23862. responses:
  23863. "200":
  23864. description: OK
  23865. schema:
  23866. items:
  23867. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  23868. type: array
  23869. "500":
  23870. description: Internal Server Error
  23871. schema:
  23872. $ref: '#/definitions/app.Response'
  23873. security:
  23874. - ApiKeyAuth: []
  23875. summary: 查询客户资料
  23876. tags:
  23877. - 企业风险管理(app)
  23878. /Ermcp/QueryWarehouseInfo:
  23879. get:
  23880. parameters:
  23881. - description: 用户ID
  23882. in: query
  23883. name: userid
  23884. required: true
  23885. type: integer
  23886. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  23887. in: query
  23888. name: status
  23889. type: string
  23890. produces:
  23891. - application/json
  23892. responses:
  23893. "200":
  23894. description: OK
  23895. schema:
  23896. items:
  23897. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  23898. type: array
  23899. "500":
  23900. description: Internal Server Error
  23901. schema:
  23902. $ref: '#/definitions/app.Response'
  23903. security:
  23904. - ApiKeyAuth: []
  23905. summary: 查询仓库信息
  23906. tags:
  23907. - 企业风险管理(app)
  23908. /Ermcp3/QryAreaExpourseContractDetail:
  23909. get:
  23910. parameters:
  23911. - description: 用户ID
  23912. in: query
  23913. name: userid
  23914. required: true
  23915. type: integer
  23916. - description: 套保商品id
  23917. in: query
  23918. name: middlegoodsid
  23919. required: true
  23920. type: integer
  23921. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23922. in: query
  23923. name: cycletype
  23924. required: true
  23925. type: integer
  23926. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23927. 全(0)【原值】
  23928. in: query
  23929. name: cycletime
  23930. required: true
  23931. type: string
  23932. produces:
  23933. - application/json
  23934. responses:
  23935. "200":
  23936. description: OK
  23937. schema:
  23938. items:
  23939. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  23940. type: array
  23941. "500":
  23942. description: Internal Server Error
  23943. schema:
  23944. $ref: '#/definitions/app.Response'
  23945. security:
  23946. - ApiKeyAuth: []
  23947. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  23948. tags:
  23949. - 企业风险管理v3(app)
  23950. /Ermcp3/QryAreaExpourseFutuDetail:
  23951. get:
  23952. parameters:
  23953. - description: 用户ID
  23954. in: query
  23955. name: userid
  23956. required: true
  23957. type: integer
  23958. - description: 套保商品id
  23959. in: query
  23960. name: middlegoodsid
  23961. required: true
  23962. type: integer
  23963. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23964. in: query
  23965. name: cycletype
  23966. required: true
  23967. type: integer
  23968. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23969. 全(0)【原值】
  23970. in: query
  23971. name: cycletime
  23972. required: true
  23973. type: string
  23974. produces:
  23975. - application/json
  23976. responses:
  23977. "200":
  23978. description: OK
  23979. schema:
  23980. items:
  23981. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  23982. type: array
  23983. "500":
  23984. description: Internal Server Error
  23985. schema:
  23986. $ref: '#/definitions/app.Response'
  23987. security:
  23988. - ApiKeyAuth: []
  23989. summary: 查询敞口期货明细(敞口报表/期货明细)
  23990. tags:
  23991. - 企业风险管理v3(app)
  23992. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  23993. get:
  23994. parameters:
  23995. - description: 用户ID
  23996. in: query
  23997. name: userid
  23998. required: true
  23999. type: integer
  24000. - description: 套保商品id
  24001. in: query
  24002. name: middlegoodsid
  24003. required: true
  24004. type: integer
  24005. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24006. in: query
  24007. name: cycletype
  24008. required: true
  24009. type: integer
  24010. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24011. 全(0)【原值】
  24012. in: query
  24013. name: cycletime
  24014. required: true
  24015. type: string
  24016. produces:
  24017. - application/json
  24018. responses:
  24019. "200":
  24020. description: OK
  24021. schema:
  24022. items:
  24023. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  24024. type: array
  24025. "500":
  24026. description: Internal Server Error
  24027. schema:
  24028. $ref: '#/definitions/app.Response'
  24029. security:
  24030. - ApiKeyAuth: []
  24031. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  24032. tags:
  24033. - 企业风险管理v3(app)
  24034. /Ermcp3/QryAreaExpourseParamChLogDetail:
  24035. get:
  24036. parameters:
  24037. - description: 用户ID
  24038. in: query
  24039. name: userid
  24040. required: true
  24041. type: integer
  24042. - description: 套保商品id
  24043. in: query
  24044. name: middlegoodsid
  24045. required: true
  24046. type: integer
  24047. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24048. in: query
  24049. name: cycletype
  24050. required: true
  24051. type: integer
  24052. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24053. 全(0)【原值】
  24054. in: query
  24055. name: cycletime
  24056. required: true
  24057. type: string
  24058. produces:
  24059. - application/json
  24060. responses:
  24061. "200":
  24062. description: OK
  24063. schema:
  24064. items:
  24065. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  24066. type: array
  24067. "500":
  24068. description: Internal Server Error
  24069. schema:
  24070. $ref: '#/definitions/app.Response'
  24071. security:
  24072. - ApiKeyAuth: []
  24073. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  24074. tags:
  24075. - 企业风险管理v3(app)
  24076. /Ermcp3/QryAreaExpourseReport:
  24077. get:
  24078. parameters:
  24079. - description: 用户ID
  24080. in: query
  24081. name: userid
  24082. required: true
  24083. type: integer
  24084. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  24085. in: query
  24086. name: querytype
  24087. required: true
  24088. type: integer
  24089. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24090. in: query
  24091. name: cycletype
  24092. required: true
  24093. type: integer
  24094. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24095. 全(0)【原值】
  24096. in: query
  24097. name: cycletime
  24098. required: true
  24099. type: string
  24100. produces:
  24101. - application/json
  24102. responses:
  24103. "200":
  24104. description: OK
  24105. schema:
  24106. items:
  24107. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  24108. type: array
  24109. "500":
  24110. description: Internal Server Error
  24111. schema:
  24112. $ref: '#/definitions/app.Response'
  24113. security:
  24114. - ApiKeyAuth: []
  24115. summary: 查询敞口报表
  24116. tags:
  24117. - 企业风险管理v3(app)
  24118. /Ermcp3/QryAreaSpotplReport:
  24119. get:
  24120. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  24121. parameters:
  24122. - description: 用户ID
  24123. in: query
  24124. name: userid
  24125. required: true
  24126. type: integer
  24127. - description: 查询类型 1-报表 2-报表明细
  24128. in: query
  24129. name: querytype
  24130. required: true
  24131. type: integer
  24132. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24133. in: query
  24134. name: cycletype
  24135. required: true
  24136. type: integer
  24137. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24138. 全(0)【原值】
  24139. in: query
  24140. name: cycletime
  24141. required: true
  24142. type: string
  24143. - description: 现货品种id(明细必填)
  24144. in: query
  24145. name: deliverygoodsid
  24146. type: integer
  24147. - description: 币种id(明细必填)
  24148. in: query
  24149. name: currencyid
  24150. type: integer
  24151. - description: 日/周/月报表汇总维度 1:品种+品类
  24152. in: query
  24153. name: sumflag
  24154. type: integer
  24155. produces:
  24156. - application/json
  24157. responses:
  24158. "200":
  24159. description: OK
  24160. schema:
  24161. items:
  24162. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  24163. type: array
  24164. "500":
  24165. description: Internal Server Error
  24166. schema:
  24167. $ref: '#/definitions/app.Response'
  24168. security:
  24169. - ApiKeyAuth: []
  24170. summary: 查询现货报表
  24171. tags:
  24172. - 企业风险管理v3(app)
  24173. /Ermcp3/QryAreaStockReport:
  24174. get:
  24175. parameters:
  24176. - description: 用户ID
  24177. in: query
  24178. name: userid
  24179. required: true
  24180. type: integer
  24181. - description: 查询类型 1-报表 2-报表明细
  24182. in: query
  24183. name: querytype
  24184. required: true
  24185. type: integer
  24186. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24187. in: query
  24188. name: cycletype
  24189. required: true
  24190. type: integer
  24191. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24192. 全(0)【原值】
  24193. in: query
  24194. name: cycletime
  24195. required: true
  24196. type: string
  24197. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  24198. in: query
  24199. name: sumfields
  24200. type: string
  24201. - description: 品种ID
  24202. in: query
  24203. name: deliverygoodsid
  24204. type: integer
  24205. - description: 品类ID
  24206. in: query
  24207. name: wrstandardid
  24208. type: integer
  24209. - description: 品牌ID
  24210. in: query
  24211. name: spotgoodsbrandid
  24212. type: integer
  24213. - description: 仓库ID
  24214. in: query
  24215. name: warehouseinfoid
  24216. type: integer
  24217. produces:
  24218. - application/json
  24219. responses:
  24220. "200":
  24221. description: OK
  24222. schema:
  24223. items:
  24224. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  24225. type: array
  24226. "500":
  24227. description: Internal Server Error
  24228. schema:
  24229. $ref: '#/definitions/app.Response'
  24230. security:
  24231. - ApiKeyAuth: []
  24232. summary: 查询库存报表
  24233. tags:
  24234. - 企业风险管理v3(app)
  24235. /Ermcp3/QryAreaSumPL:
  24236. get:
  24237. parameters:
  24238. - description: 用户ID
  24239. in: query
  24240. name: userid
  24241. required: true
  24242. type: integer
  24243. - description: 查询类型 1-报表 2-报表明细
  24244. in: query
  24245. name: querytype
  24246. required: true
  24247. type: integer
  24248. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24249. in: query
  24250. name: cycletype
  24251. required: true
  24252. type: integer
  24253. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24254. 全(0)【原值】
  24255. in: query
  24256. name: cycletime
  24257. required: true
  24258. type: string
  24259. - description: 币种id(明细必填)
  24260. in: query
  24261. name: currencyid
  24262. type: integer
  24263. - description: 套保品种ID, 查询类型为2时起效
  24264. in: query
  24265. name: middlegoodsid
  24266. type: integer
  24267. produces:
  24268. - application/json
  24269. responses:
  24270. "200":
  24271. description: OK
  24272. schema:
  24273. items:
  24274. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  24275. type: array
  24276. "500":
  24277. description: Internal Server Error
  24278. schema:
  24279. $ref: '#/definitions/app.Response'
  24280. security:
  24281. - ApiKeyAuth: []
  24282. summary: 查询汇总损益表
  24283. tags:
  24284. - 企业风险管理v3(app)
  24285. /Ermcp3/QryFinanceReport:
  24286. get:
  24287. parameters:
  24288. - description: 用户ID
  24289. in: query
  24290. name: userid
  24291. required: true
  24292. type: integer
  24293. - description: 查询类型 1-报表 2-报表明细
  24294. in: query
  24295. name: querytype
  24296. required: true
  24297. type: integer
  24298. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24299. in: query
  24300. name: cycletype
  24301. required: true
  24302. type: integer
  24303. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24304. 全(0)【原值】
  24305. in: query
  24306. name: cycletime
  24307. required: true
  24308. type: string
  24309. - description: 币种id(报表明细必填)
  24310. in: query
  24311. name: currencyid
  24312. type: integer
  24313. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  24314. in: query
  24315. name: sumfields
  24316. type: string
  24317. produces:
  24318. - application/json
  24319. responses:
  24320. "200":
  24321. description: OK
  24322. schema:
  24323. items:
  24324. $ref: '#/definitions/models.Ermcp3FinanceReport'
  24325. type: array
  24326. "500":
  24327. description: Internal Server Error
  24328. schema:
  24329. $ref: '#/definitions/app.Response'
  24330. security:
  24331. - ApiKeyAuth: []
  24332. summary: 查询财务报表
  24333. tags:
  24334. - 企业风险管理v3(app)
  24335. /Ermcp3/QrySCMiddleGoodsReport:
  24336. get:
  24337. parameters:
  24338. - description: 用户ID
  24339. in: query
  24340. name: userid
  24341. required: true
  24342. type: integer
  24343. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24344. in: query
  24345. name: cycletype
  24346. required: true
  24347. type: integer
  24348. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24349. 全(0)【原值】
  24350. in: query
  24351. name: cycletime
  24352. required: true
  24353. type: string
  24354. - description: 合同id
  24355. in: query
  24356. name: spotcontractid
  24357. type: integer
  24358. - description: 套保品种id
  24359. in: query
  24360. name: middlegoodsid
  24361. type: integer
  24362. - description: 现货品种id
  24363. in: query
  24364. name: deliverygoodsid
  24365. type: integer
  24366. - description: 现货商品id
  24367. in: query
  24368. name: wrstandardid
  24369. type: integer
  24370. - description: 合同编号(模糊匹配)
  24371. in: query
  24372. name: contractno
  24373. type: string
  24374. produces:
  24375. - application/json
  24376. responses:
  24377. "200":
  24378. description: OK
  24379. schema:
  24380. items:
  24381. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24382. type: array
  24383. "500":
  24384. description: Internal Server Error
  24385. schema:
  24386. $ref: '#/definitions/app.Response'
  24387. security:
  24388. - ApiKeyAuth: []
  24389. summary: 查询定价报表
  24390. tags:
  24391. - 企业风险管理v3(app)
  24392. /Ermcp3/QryTaFutureDataReport:
  24393. get:
  24394. parameters:
  24395. - description: 用户ID
  24396. in: query
  24397. name: userid
  24398. required: true
  24399. type: integer
  24400. - description: 查询类型 1-报表 2-报表明细
  24401. in: query
  24402. name: querytype
  24403. required: true
  24404. type: integer
  24405. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24406. in: query
  24407. name: cycletype
  24408. required: true
  24409. type: integer
  24410. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24411. 全(0)【原值】
  24412. in: query
  24413. name: cycletime
  24414. required: true
  24415. type: string
  24416. - description: 币种id(查明细必填)
  24417. in: query
  24418. name: currencyid
  24419. type: integer
  24420. - description: 品种id(查明细必填)
  24421. in: query
  24422. name: goodsgroupid
  24423. type: integer
  24424. - description: 商品id(查明细必填)
  24425. in: query
  24426. name: goodsid
  24427. type: integer
  24428. - description: 买卖方向(查明细必填)
  24429. in: query
  24430. name: buyorsell
  24431. type: integer
  24432. produces:
  24433. - application/json
  24434. responses:
  24435. "200":
  24436. description: OK
  24437. schema:
  24438. items:
  24439. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24440. type: array
  24441. "500":
  24442. description: Internal Server Error
  24443. schema:
  24444. $ref: '#/definitions/app.Response'
  24445. security:
  24446. - ApiKeyAuth: []
  24447. summary: 查询期货报表
  24448. tags:
  24449. - 企业风险管理v3(app)
  24450. /Ermcp3/QueryAreaStock:
  24451. get:
  24452. parameters:
  24453. - description: 用户ID
  24454. in: query
  24455. name: userid
  24456. required: true
  24457. type: integer
  24458. produces:
  24459. - application/json
  24460. responses:
  24461. "200":
  24462. description: OK
  24463. schema:
  24464. items:
  24465. $ref: '#/definitions/models.Ermcp3AreaStock'
  24466. type: array
  24467. "500":
  24468. description: Internal Server Error
  24469. schema:
  24470. $ref: '#/definitions/app.Response'
  24471. security:
  24472. - ApiKeyAuth: []
  24473. summary: 查询机构库存(库存管理/当前库存)
  24474. tags:
  24475. - 企业风险管理v3(app)
  24476. /Ermcp3/QueryAreaStockApply:
  24477. get:
  24478. parameters:
  24479. - description: 用户ID
  24480. in: query
  24481. name: userid
  24482. required: true
  24483. type: integer
  24484. - description: 用户类型 2-机构 7-企业成员
  24485. in: query
  24486. name: usertype
  24487. type: integer
  24488. - description: 现货商品ID
  24489. in: query
  24490. name: deliverygoodsid
  24491. type: integer
  24492. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  24493. in: query
  24494. name: inouttype
  24495. type: string
  24496. - description: 合同ID
  24497. in: query
  24498. name: spotcontractid
  24499. type: integer
  24500. - description: 品类ID
  24501. in: query
  24502. name: wrstandardid
  24503. type: integer
  24504. - description: 品牌ID
  24505. in: query
  24506. name: spotgoodsbrandid
  24507. type: integer
  24508. - description: 仓库ID
  24509. in: query
  24510. name: warehouseinfoid
  24511. type: integer
  24512. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24513. in: query
  24514. name: applystatus
  24515. type: string
  24516. produces:
  24517. - application/json
  24518. responses:
  24519. "200":
  24520. description: OK
  24521. schema:
  24522. items:
  24523. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  24524. type: array
  24525. "500":
  24526. description: Internal Server Error
  24527. schema:
  24528. $ref: '#/definitions/app.Response'
  24529. security:
  24530. - ApiKeyAuth: []
  24531. summary: 查询库存申请(出入库记录|库存审核)
  24532. tags:
  24533. - 企业风险管理v3(app)
  24534. /Ermcp3/QueryAreaStockApplySum:
  24535. get:
  24536. parameters:
  24537. - description: 合同ID
  24538. in: query
  24539. name: spotcontractid
  24540. required: true
  24541. type: integer
  24542. produces:
  24543. - application/json
  24544. responses:
  24545. "200":
  24546. description: OK
  24547. schema:
  24548. items:
  24549. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  24550. type: array
  24551. "500":
  24552. description: Internal Server Error
  24553. schema:
  24554. $ref: '#/definitions/app.Response'
  24555. security:
  24556. - ApiKeyAuth: []
  24557. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  24558. tags:
  24559. - 企业风险管理v3(app)
  24560. /Ermcp3/QueryDGFactoryItem:
  24561. get:
  24562. parameters:
  24563. - description: 用户id
  24564. in: query
  24565. name: userid
  24566. type: integer
  24567. - description: 用户类型 2-机构 7-企业成员
  24568. in: query
  24569. name: usertype
  24570. type: integer
  24571. - description: 选择项ID(SEQ_DGFACTORYITEM)
  24572. in: query
  24573. name: dgfactoryitemid
  24574. type: integer
  24575. - description: 现货品种ID
  24576. in: query
  24577. name: deliverygoodsid
  24578. type: integer
  24579. - description: 要素项类型
  24580. in: query
  24581. name: dgfactoryitemtypeid
  24582. type: integer
  24583. - description: 顺序
  24584. in: query
  24585. name: orderindex
  24586. type: integer
  24587. produces:
  24588. - application/json
  24589. responses:
  24590. "200":
  24591. description: OK
  24592. schema:
  24593. items:
  24594. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  24595. type: array
  24596. "500":
  24597. description: Internal Server Error
  24598. schema:
  24599. $ref: '#/definitions/app.Response'
  24600. security:
  24601. - ApiKeyAuth: []
  24602. summary: 查询品种要素定义项
  24603. tags:
  24604. - 企业风险管理v3(app)
  24605. /Ermcp3/QueryDeliveryGoods:
  24606. get:
  24607. parameters:
  24608. - description: 用户id
  24609. in: query
  24610. name: userid
  24611. required: true
  24612. type: integer
  24613. - description: 用户类型 2-机构 7-企业成员
  24614. in: query
  24615. name: usertype
  24616. type: integer
  24617. - description: 排除已配置的业务类型商品 1-套保 2-套利
  24618. in: query
  24619. name: excludecfg
  24620. type: integer
  24621. produces:
  24622. - application/json
  24623. responses:
  24624. "200":
  24625. description: OK
  24626. schema:
  24627. items:
  24628. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  24629. type: array
  24630. "500":
  24631. description: Internal Server Error
  24632. schema:
  24633. $ref: '#/definitions/app.Response'
  24634. security:
  24635. - ApiKeyAuth: []
  24636. summary: 查询现货商品
  24637. tags:
  24638. - 企业风险管理v3(app)
  24639. /Ermcp3/QueryDeliveryGoodsDetail:
  24640. get:
  24641. parameters:
  24642. - description: 用户id
  24643. in: query
  24644. name: userid
  24645. required: true
  24646. type: integer
  24647. - description: 用户类型 2-机构 7-企业成员
  24648. in: query
  24649. name: usertype
  24650. type: integer
  24651. - description: 现货商品id
  24652. in: query
  24653. name: deliverygoodsid
  24654. type: integer
  24655. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  24656. in: query
  24657. name: filtersubempty
  24658. type: integer
  24659. produces:
  24660. - application/json
  24661. responses:
  24662. "200":
  24663. description: OK
  24664. schema:
  24665. items:
  24666. $ref: '#/definitions/models.XHDeliveryGoods'
  24667. type: array
  24668. "500":
  24669. description: Internal Server Error
  24670. schema:
  24671. $ref: '#/definitions/app.Response'
  24672. security:
  24673. - ApiKeyAuth: []
  24674. summary: 查询现货商品详情
  24675. tags:
  24676. - 企业风险管理v3(app)
  24677. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  24678. get:
  24679. parameters:
  24680. - description: 合同id
  24681. in: query
  24682. name: spotcontractid
  24683. required: true
  24684. type: string
  24685. produces:
  24686. - application/json
  24687. responses:
  24688. "200":
  24689. description: OK
  24690. schema:
  24691. items:
  24692. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  24693. type: array
  24694. "500":
  24695. description: Internal Server Error
  24696. schema:
  24697. $ref: '#/definitions/app.Response'
  24698. security:
  24699. - ApiKeyAuth: []
  24700. summary: 查询现货合同期现配置信息
  24701. tags:
  24702. - 企业风险管理v3(app)
  24703. /Ermcp3/QueryExposureDetail:
  24704. get:
  24705. parameters:
  24706. - description: 用户id
  24707. in: query
  24708. name: userid
  24709. required: true
  24710. type: integer
  24711. - description: 用户类型 2-机构 7-企业成员
  24712. in: query
  24713. name: usertype
  24714. type: integer
  24715. - description: 套保商品
  24716. in: query
  24717. name: middlegoodsid
  24718. required: true
  24719. type: integer
  24720. produces:
  24721. - application/json
  24722. responses:
  24723. "200":
  24724. description: OK
  24725. schema:
  24726. items:
  24727. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  24728. type: array
  24729. "500":
  24730. description: Internal Server Error
  24731. schema:
  24732. $ref: '#/definitions/app.Response'
  24733. security:
  24734. - ApiKeyAuth: []
  24735. summary: 查询敞口现货明细
  24736. tags:
  24737. - 企业风险管理v3(app)
  24738. /Ermcp3/QueryExposureSpot:
  24739. get:
  24740. parameters:
  24741. - description: 用户id
  24742. in: query
  24743. name: userid
  24744. required: true
  24745. type: integer
  24746. - description: 用户类型 2-机构 7-企业成员
  24747. in: query
  24748. name: usertype
  24749. type: integer
  24750. produces:
  24751. - application/json
  24752. responses:
  24753. "200":
  24754. description: OK
  24755. schema:
  24756. items:
  24757. $ref: '#/definitions/models.Ermcp3AreaSpot'
  24758. type: array
  24759. "500":
  24760. description: Internal Server Error
  24761. schema:
  24762. $ref: '#/definitions/app.Response'
  24763. security:
  24764. - ApiKeyAuth: []
  24765. summary: 查询敞口现货头寸(敞口/现货头寸)
  24766. tags:
  24767. - 企业风险管理v3(app)
  24768. /Ermcp3/QueryExposureSpotDetail:
  24769. get:
  24770. parameters:
  24771. - description: 用户id
  24772. in: query
  24773. name: userid
  24774. required: true
  24775. type: integer
  24776. - description: 用户类型 2-机构 7-企业成员
  24777. in: query
  24778. name: usertype
  24779. type: integer
  24780. - description: 现货商品ID
  24781. in: query
  24782. name: wrstandardid
  24783. required: true
  24784. type: integer
  24785. produces:
  24786. - application/json
  24787. responses:
  24788. "200":
  24789. description: OK
  24790. schema:
  24791. items:
  24792. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  24793. type: array
  24794. "500":
  24795. description: Internal Server Error
  24796. schema:
  24797. $ref: '#/definitions/app.Response'
  24798. security:
  24799. - ApiKeyAuth: []
  24800. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24801. tags:
  24802. - 企业风险管理v3(app)
  24803. /Ermcp3/QueryGoodsGroup:
  24804. get:
  24805. parameters:
  24806. - description: 用户id
  24807. in: query
  24808. name: userid
  24809. required: true
  24810. type: integer
  24811. - description: 用户类型 2-机构 7-企业成员
  24812. in: query
  24813. name: usertype
  24814. type: integer
  24815. - description: 排除套保品中已关联的商品组 1-排除
  24816. in: query
  24817. name: excludecfg
  24818. type: integer
  24819. produces:
  24820. - application/json
  24821. responses:
  24822. "200":
  24823. description: OK
  24824. schema:
  24825. items:
  24826. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  24827. type: array
  24828. "500":
  24829. description: Internal Server Error
  24830. schema:
  24831. $ref: '#/definitions/app.Response'
  24832. security:
  24833. - ApiKeyAuth: []
  24834. summary: 查询期货商品组
  24835. tags:
  24836. - 企业风险管理v3(app)
  24837. /Ermcp3/QueryGoodsWrstandard:
  24838. get:
  24839. parameters:
  24840. - description: 用户id
  24841. in: query
  24842. name: userid
  24843. required: true
  24844. type: integer
  24845. - description: 用户类型 2-机构 7-企业成员
  24846. in: query
  24847. name: usertype
  24848. type: integer
  24849. - description: 现货商品id
  24850. in: query
  24851. name: deliverygoodsid
  24852. type: integer
  24853. produces:
  24854. - application/json
  24855. responses:
  24856. "200":
  24857. description: OK
  24858. schema:
  24859. items:
  24860. $ref: '#/definitions/models.Ermcp3Wrstandard'
  24861. type: array
  24862. "500":
  24863. description: Internal Server Error
  24864. schema:
  24865. $ref: '#/definitions/app.Response'
  24866. security:
  24867. - ApiKeyAuth: []
  24868. summary: 查询商品品类
  24869. tags:
  24870. - 企业风险管理v3(app)
  24871. /Ermcp3/QueryGoodsbrand:
  24872. get:
  24873. parameters:
  24874. - description: 用户id
  24875. in: query
  24876. name: userid
  24877. required: true
  24878. type: integer
  24879. - description: 用户类型 2-机构 7-企业成员
  24880. in: query
  24881. name: usertype
  24882. type: integer
  24883. produces:
  24884. - application/json
  24885. responses:
  24886. "200":
  24887. description: OK
  24888. schema:
  24889. items:
  24890. $ref: '#/definitions/models.Ermcp3Brand'
  24891. type: array
  24892. "500":
  24893. description: Internal Server Error
  24894. schema:
  24895. $ref: '#/definitions/app.Response'
  24896. security:
  24897. - ApiKeyAuth: []
  24898. summary: 查询商品品牌
  24899. tags:
  24900. - 企业风险管理v3(app)
  24901. /Ermcp3/QueryHPMiddleGoods:
  24902. get:
  24903. parameters:
  24904. - description: 用户ID(填登录用户的userid)
  24905. in: query
  24906. name: userid
  24907. required: true
  24908. type: integer
  24909. - description: 买卖方向 0-买 1-卖
  24910. in: query
  24911. name: buyorsell
  24912. required: true
  24913. type: integer
  24914. - description: 商品组id
  24915. in: query
  24916. name: goodsgroupid
  24917. required: true
  24918. type: integer
  24919. - description: 套保计划编号(模糊匹配)
  24920. in: query
  24921. name: hedgeplanno
  24922. type: string
  24923. - description: 现货商品名称(模糊匹配)
  24924. in: query
  24925. name: wrstandardname
  24926. type: string
  24927. produces:
  24928. - application/json
  24929. responses:
  24930. "200":
  24931. description: OK
  24932. schema:
  24933. items:
  24934. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  24935. type: array
  24936. "500":
  24937. description: Internal Server Error
  24938. schema:
  24939. $ref: '#/definitions/app.Response'
  24940. security:
  24941. - ApiKeyAuth: []
  24942. summary: 查询可关联套保计划
  24943. tags:
  24944. - 企业风险管理v3(app)
  24945. /Ermcp3/QueryHedgePlan:
  24946. get:
  24947. parameters:
  24948. - description: 用户ID
  24949. in: query
  24950. name: userid
  24951. required: true
  24952. type: integer
  24953. - description: 用户类型 2-机构 7-企业成员
  24954. in: query
  24955. name: usertype
  24956. type: integer
  24957. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24958. in: query
  24959. name: hedgeplanstatus
  24960. required: true
  24961. type: string
  24962. produces:
  24963. - application/json
  24964. responses:
  24965. "200":
  24966. description: OK
  24967. schema:
  24968. items:
  24969. $ref: '#/definitions/models.Ermcp3HedgePlan'
  24970. type: array
  24971. "500":
  24972. description: Internal Server Error
  24973. schema:
  24974. $ref: '#/definitions/app.Response'
  24975. security:
  24976. - ApiKeyAuth: []
  24977. summary: 查询套保计划
  24978. tags:
  24979. - 企业风险管理v3(app)
  24980. /Ermcp3/QueryInnerTradeLink:
  24981. get:
  24982. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  24983. parameters:
  24984. - description: 外部成交单号
  24985. in: query
  24986. name: outtradeid
  24987. required: true
  24988. type: integer
  24989. produces:
  24990. - application/json
  24991. responses:
  24992. "200":
  24993. description: OK
  24994. schema:
  24995. items:
  24996. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  24997. type: array
  24998. "500":
  24999. description: Internal Server Error
  25000. schema:
  25001. $ref: '#/definitions/app.Response'
  25002. security:
  25003. - ApiKeyAuth: []
  25004. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  25005. tags:
  25006. - 企业风险管理v3(app)
  25007. /Ermcp3/QueryMiddleGoodsDetail:
  25008. get:
  25009. parameters:
  25010. - description: 用户id
  25011. in: query
  25012. name: userid
  25013. required: true
  25014. type: integer
  25015. - description: 用户类型 2-机构 7-企业成员
  25016. in: query
  25017. name: usertype
  25018. type: integer
  25019. - description: 套保品种id
  25020. in: query
  25021. name: middlegoodsid
  25022. type: integer
  25023. produces:
  25024. - application/json
  25025. responses:
  25026. "200":
  25027. description: OK
  25028. schema:
  25029. items:
  25030. $ref: '#/definitions/models.TBMiddleGoods'
  25031. type: array
  25032. "500":
  25033. description: Internal Server Error
  25034. schema:
  25035. $ref: '#/definitions/app.Response'
  25036. security:
  25037. - ApiKeyAuth: []
  25038. summary: 查询套保品种详情(套保品种/商品详情)
  25039. tags:
  25040. - 企业风险管理v3(app)
  25041. /Ermcp3/QueryOutTradeLink:
  25042. get:
  25043. description: 页面 app 现货->期现关联->外部成交单关联
  25044. parameters:
  25045. - description: 用户ID(填登录用户的userid)
  25046. in: query
  25047. name: userid
  25048. required: true
  25049. type: integer
  25050. - description: 外部订单号(模糊匹配)
  25051. in: query
  25052. name: outtradeid
  25053. type: string
  25054. - description: 合约名称/代码(模糊匹配)
  25055. in: query
  25056. name: goodsname
  25057. type: string
  25058. - description: 关联状态 0-未关联 1-已关联
  25059. in: query
  25060. name: hasinnerorder
  25061. type: integer
  25062. produces:
  25063. - application/json
  25064. responses:
  25065. "200":
  25066. description: OK
  25067. schema:
  25068. items:
  25069. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  25070. type: array
  25071. "500":
  25072. description: Internal Server Error
  25073. schema:
  25074. $ref: '#/definitions/app.Response'
  25075. security:
  25076. - ApiKeyAuth: []
  25077. summary: 查询外部成交单关联
  25078. tags:
  25079. - 企业风险管理v3(app)
  25080. /Ermcp3/QueryPaAreaAuditCfg:
  25081. get:
  25082. parameters:
  25083. - description: 用户id
  25084. in: query
  25085. name: userid
  25086. required: true
  25087. type: integer
  25088. produces:
  25089. - application/json
  25090. responses:
  25091. "200":
  25092. description: OK
  25093. schema:
  25094. items:
  25095. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  25096. type: array
  25097. "500":
  25098. description: Internal Server Error
  25099. schema:
  25100. $ref: '#/definitions/app.Response'
  25101. security:
  25102. - ApiKeyAuth: []
  25103. summary: 查询审核设置
  25104. tags:
  25105. - 企业风险管理v3(app)
  25106. /Ermcp3/QueryPaAreaSubject:
  25107. get:
  25108. parameters:
  25109. - description: 用户id
  25110. in: query
  25111. name: userid
  25112. required: true
  25113. type: integer
  25114. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  25115. in: query
  25116. name: subjectid
  25117. type: integer
  25118. - description: 主体类型 - 1:交易主体 2:业务部门
  25119. in: query
  25120. name: subjecttype
  25121. type: integer
  25122. - description: '主体状态 - 1:正常 2: 停用'
  25123. in: query
  25124. name: subjectstatus
  25125. type: integer
  25126. produces:
  25127. - application/json
  25128. responses:
  25129. "200":
  25130. description: OK
  25131. schema:
  25132. items:
  25133. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  25134. type: array
  25135. "500":
  25136. description: Internal Server Error
  25137. schema:
  25138. $ref: '#/definitions/app.Response'
  25139. security:
  25140. - ApiKeyAuth: []
  25141. summary: 查询交易主体
  25142. tags:
  25143. - 企业风险管理v3(app)
  25144. /Ermcp3/QueryPaTradeLink:
  25145. get:
  25146. description: 页面 app 现货->期现关联->期现单据关联
  25147. parameters:
  25148. - description: 用户ID
  25149. in: query
  25150. name: userid
  25151. required: true
  25152. type: integer
  25153. produces:
  25154. - application/json
  25155. responses:
  25156. "200":
  25157. description: OK
  25158. schema:
  25159. items:
  25160. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  25161. type: array
  25162. "500":
  25163. description: Internal Server Error
  25164. schema:
  25165. $ref: '#/definitions/app.Response'
  25166. security:
  25167. - ApiKeyAuth: []
  25168. summary: 查询期现单据关联
  25169. tags:
  25170. - 企业风险管理v3(app)
  25171. /Ermcp3/QueryPaTradeLinkDetail:
  25172. get:
  25173. description: 页面 app 现货->期现关联->关联记录
  25174. parameters:
  25175. - description: 用户ID(填登录用户的userid)
  25176. in: query
  25177. name: userid
  25178. required: true
  25179. type: integer
  25180. - description: 关联状态 1:成功 2:失败 3:解绑
  25181. in: query
  25182. name: linkstatus
  25183. type: integer
  25184. - description: 期货订单号(模糊匹配)
  25185. in: query
  25186. name: tradeid
  25187. type: string
  25188. - description: 现货编号(模糊匹配)
  25189. in: query
  25190. name: contractno
  25191. type: string
  25192. - description: 期货账户(模糊匹配)
  25193. in: query
  25194. name: taname
  25195. type: string
  25196. produces:
  25197. - application/json
  25198. responses:
  25199. "200":
  25200. description: OK
  25201. schema:
  25202. items:
  25203. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  25204. type: array
  25205. "500":
  25206. description: Internal Server Error
  25207. schema:
  25208. $ref: '#/definitions/app.Response'
  25209. security:
  25210. - ApiKeyAuth: []
  25211. summary: 查询期现关联记录
  25212. tags:
  25213. - 企业风险管理v3(app)
  25214. /Ermcp3/QueryParamChangeApp:
  25215. get:
  25216. description: |-
  25217. 原型页面:
  25218. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  25219. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  25220. parameters:
  25221. - description: 用户ID
  25222. in: query
  25223. name: userid
  25224. required: true
  25225. type: integer
  25226. - description: 现货品种id
  25227. in: query
  25228. name: deliverygoodsid
  25229. type: integer
  25230. - description: 现货商品id
  25231. in: query
  25232. name: wrstandardid
  25233. type: integer
  25234. - description: 套保商品id
  25235. in: query
  25236. name: middlegoodsid
  25237. type: integer
  25238. - description: 操作类型 1:新增 2:修改
  25239. in: query
  25240. name: operatetype
  25241. type: integer
  25242. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  25243. in: query
  25244. name: paramchangetype
  25245. type: integer
  25246. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25247. in: query
  25248. name: ftstatus
  25249. type: string
  25250. produces:
  25251. - application/json
  25252. responses:
  25253. "200":
  25254. description: OK
  25255. schema:
  25256. items:
  25257. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  25258. type: array
  25259. "500":
  25260. description: Internal Server Error
  25261. schema:
  25262. $ref: '#/definitions/app.Response'
  25263. security:
  25264. - ApiKeyAuth: []
  25265. summary: 查询现货商品参数变更申请(流水)
  25266. tags:
  25267. - 企业风险管理v3(app)
  25268. /Ermcp3/QueryRootUserAccount:
  25269. get:
  25270. parameters:
  25271. - description: 用户ID
  25272. in: query
  25273. name: userid
  25274. required: true
  25275. type: integer
  25276. produces:
  25277. - application/json
  25278. responses:
  25279. "200":
  25280. description: OK
  25281. schema:
  25282. items:
  25283. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  25284. type: array
  25285. "500":
  25286. description: Internal Server Error
  25287. schema:
  25288. $ref: '#/definitions/app.Response'
  25289. security:
  25290. - ApiKeyAuth: []
  25291. summary: 查询顶级用户信息
  25292. tags:
  25293. - 企业风险管理v3(app)
  25294. /Ermcp3/QuerySCMiddleGoods:
  25295. get:
  25296. description: |-
  25297. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  25298. 现货编号 即 合同编号
  25299. parameters:
  25300. - description: 用户ID(填登录用户的userid)
  25301. in: query
  25302. name: userid
  25303. required: true
  25304. type: integer
  25305. - description: 买卖方向 0-买 1-卖
  25306. in: query
  25307. name: buyorsell
  25308. required: true
  25309. type: integer
  25310. - description: 商品组id
  25311. in: query
  25312. name: goodsgroupid
  25313. required: true
  25314. type: integer
  25315. - description: 业务类型 1:套保 2:套利
  25316. in: query
  25317. name: biztype
  25318. type: integer
  25319. - description: 现货编号(模糊匹配)
  25320. in: query
  25321. name: contractno
  25322. type: string
  25323. - description: 对手方(模糊匹配)
  25324. in: query
  25325. name: customername
  25326. type: string
  25327. - description: 现货商品名称(模糊匹配)
  25328. in: query
  25329. name: wrstandardname
  25330. type: string
  25331. produces:
  25332. - application/json
  25333. responses:
  25334. "200":
  25335. description: OK
  25336. schema:
  25337. items:
  25338. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  25339. type: array
  25340. "500":
  25341. description: Internal Server Error
  25342. schema:
  25343. $ref: '#/definitions/app.Response'
  25344. security:
  25345. - ApiKeyAuth: []
  25346. summary: 查询现货订单
  25347. tags:
  25348. - 企业风险管理v3(app)
  25349. /Ermcp3/QuerySpotContract:
  25350. get:
  25351. parameters:
  25352. - description: 用户id(当指定contractid, userid可不填)
  25353. in: query
  25354. name: userid
  25355. required: true
  25356. type: integer
  25357. - description: 用户类型 2-机构 7-企业成员
  25358. in: query
  25359. name: usertype
  25360. type: integer
  25361. - description: 合同类型 1-采购, -1-销售
  25362. in: query
  25363. name: contracttype
  25364. type: integer
  25365. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25366. in: query
  25367. name: querytype
  25368. type: string
  25369. - description: 合同ID(SpotContractId)
  25370. in: query
  25371. name: contractid
  25372. type: string
  25373. - description: 合同编号(模糊匹配)
  25374. in: query
  25375. name: contractno
  25376. type: string
  25377. - description: 商品名称(模糊匹配)
  25378. in: query
  25379. name: wrstandardname
  25380. type: string
  25381. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25382. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25383. in: query
  25384. name: status
  25385. type: string
  25386. - description: 是否只查今日的合同 1-查今日合同
  25387. in: query
  25388. name: istoday
  25389. type: integer
  25390. produces:
  25391. - application/json
  25392. responses:
  25393. "200":
  25394. description: OK
  25395. schema:
  25396. items:
  25397. $ref: '#/definitions/models.Ermcp3Contract'
  25398. type: array
  25399. "500":
  25400. description: Internal Server Error
  25401. schema:
  25402. $ref: '#/definitions/app.Response'
  25403. security:
  25404. - ApiKeyAuth: []
  25405. summary: 查询现货合同
  25406. tags:
  25407. - 企业风险管理v3(app)
  25408. /Ermcp3/QuerySpotContractBS:
  25409. get:
  25410. parameters:
  25411. - description: 用户id
  25412. in: query
  25413. name: userid
  25414. required: true
  25415. type: integer
  25416. - description: 用户类型 2-机构 7-企业成员
  25417. in: query
  25418. name: usertype
  25419. type: integer
  25420. - description: 合同类型 1-采购, -1-销售
  25421. in: query
  25422. name: contracttype
  25423. required: true
  25424. type: integer
  25425. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25426. in: query
  25427. name: querytype
  25428. type: integer
  25429. - description: 合同ID(SpotContractId)
  25430. in: query
  25431. name: contractid
  25432. type: string
  25433. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25434. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25435. in: query
  25436. name: status
  25437. type: string
  25438. - description: 是否只查今日的合同 1-查今日合同
  25439. in: query
  25440. name: istoday
  25441. type: integer
  25442. produces:
  25443. - application/json
  25444. responses:
  25445. "200":
  25446. description: OK
  25447. schema:
  25448. items:
  25449. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25450. type: array
  25451. "500":
  25452. description: Internal Server Error
  25453. schema:
  25454. $ref: '#/definitions/app.Response'
  25455. security:
  25456. - ApiKeyAuth: []
  25457. summary: 查询合同(采购/销售)
  25458. tags:
  25459. - 企业风险管理v3(app)
  25460. /Ermcp3/QuerySpotGoodsPrice:
  25461. get:
  25462. parameters:
  25463. - description: 用户ID
  25464. in: query
  25465. name: userid
  25466. required: true
  25467. type: integer
  25468. produces:
  25469. - application/json
  25470. responses:
  25471. "200":
  25472. description: OK
  25473. schema:
  25474. items:
  25475. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25476. type: array
  25477. "500":
  25478. description: Internal Server Error
  25479. schema:
  25480. $ref: '#/definitions/app.Response'
  25481. security:
  25482. - ApiKeyAuth: []
  25483. summary: 查询现货市价(现货市价)
  25484. tags:
  25485. - 企业风险管理v3(app)
  25486. /Ermcp3/QuerySpotGoodsPriceLog:
  25487. get:
  25488. parameters:
  25489. - description: 用户ID
  25490. in: query
  25491. name: userid
  25492. required: true
  25493. type: integer
  25494. - description: 现货商品ID
  25495. in: query
  25496. name: deliverygoodsid
  25497. required: true
  25498. type: integer
  25499. - description: 品牌ID
  25500. in: query
  25501. name: brandid
  25502. type: integer
  25503. - description: 品类ID
  25504. in: query
  25505. name: wrstandardid
  25506. type: integer
  25507. produces:
  25508. - application/json
  25509. responses:
  25510. "200":
  25511. description: OK
  25512. schema:
  25513. items:
  25514. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  25515. type: array
  25516. "500":
  25517. description: Internal Server Error
  25518. schema:
  25519. $ref: '#/definitions/app.Response'
  25520. security:
  25521. - ApiKeyAuth: []
  25522. summary: 查询现货市价详情(现货市价/详情)
  25523. tags:
  25524. - 企业风险管理v3(app)
  25525. /Ermcp3/QuerySubTaaccount:
  25526. get:
  25527. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  25528. parameters:
  25529. - description: 母账号id
  25530. in: query
  25531. name: parentaccountid
  25532. type: integer
  25533. - description: 母账号代码
  25534. in: query
  25535. name: parentaccountcode
  25536. type: string
  25537. produces:
  25538. - application/json
  25539. responses:
  25540. "200":
  25541. description: OK
  25542. schema:
  25543. items:
  25544. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  25545. type: array
  25546. "500":
  25547. description: Internal Server Error
  25548. schema:
  25549. $ref: '#/definitions/app.Response'
  25550. security:
  25551. - ApiKeyAuth: []
  25552. summary: 查询期货子账户
  25553. tags:
  25554. - 企业风险管理v3(app)
  25555. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  25556. get:
  25557. parameters:
  25558. - description: 套期项目ID
  25559. in: query
  25560. name: hedgeditemid
  25561. required: true
  25562. type: integer
  25563. produces:
  25564. - application/json
  25565. responses:
  25566. "200":
  25567. description: OK
  25568. schema:
  25569. items:
  25570. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  25571. type: array
  25572. "500":
  25573. description: Internal Server Error
  25574. schema:
  25575. $ref: '#/definitions/app.Response'
  25576. security:
  25577. - ApiKeyAuth: []
  25578. summary: 现货成交明细查询
  25579. tags:
  25580. - 企业风险管理v8
  25581. /Ermcp8/QueryERMCP2HedgedItemspot:
  25582. get:
  25583. parameters:
  25584. - description: 套期项目ID
  25585. in: query
  25586. name: hedgeditemid
  25587. required: true
  25588. type: integer
  25589. produces:
  25590. - application/json
  25591. responses:
  25592. "200":
  25593. description: OK
  25594. schema:
  25595. items:
  25596. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  25597. type: array
  25598. "500":
  25599. description: Internal Server Error
  25600. schema:
  25601. $ref: '#/definitions/app.Response'
  25602. security:
  25603. - ApiKeyAuth: []
  25604. summary: 套期计划明细查询
  25605. tags:
  25606. - 企业风险管理v8
  25607. /Ermcp8/QueryERMCPJRLinkPos:
  25608. get:
  25609. parameters:
  25610. - description: 套期项目ID
  25611. in: query
  25612. name: hedgeditemid
  25613. required: true
  25614. type: integer
  25615. produces:
  25616. - application/json
  25617. responses:
  25618. "200":
  25619. description: OK
  25620. schema:
  25621. items:
  25622. $ref: '#/definitions/models.Ermcpjrlinkpos'
  25623. type: array
  25624. "500":
  25625. description: Internal Server Error
  25626. schema:
  25627. $ref: '#/definitions/app.Response'
  25628. security:
  25629. - ApiKeyAuth: []
  25630. summary: 期货持仓明细查询
  25631. tags:
  25632. - 企业风险管理v8
  25633. /Ermcp8/QueryERMCPPatradeLinkDetail:
  25634. get:
  25635. parameters:
  25636. - description: 套期项目ID
  25637. in: query
  25638. name: hedgeditemid
  25639. required: true
  25640. type: integer
  25641. produces:
  25642. - application/json
  25643. responses:
  25644. "200":
  25645. description: OK
  25646. schema:
  25647. items:
  25648. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  25649. type: array
  25650. "500":
  25651. description: Internal Server Error
  25652. schema:
  25653. $ref: '#/definitions/app.Response'
  25654. security:
  25655. - ApiKeyAuth: []
  25656. summary: 期货成交单明细查询
  25657. tags:
  25658. - 企业风险管理v8
  25659. /Ermcp8/QueryErmcp2AreaExposure:
  25660. get:
  25661. parameters:
  25662. - description: 用户ID
  25663. in: query
  25664. name: userid
  25665. required: true
  25666. type: string
  25667. produces:
  25668. - application/json
  25669. responses:
  25670. "200":
  25671. description: OK
  25672. schema:
  25673. items:
  25674. $ref: '#/definitions/models.Ermcp2AreaExposure'
  25675. type: array
  25676. "500":
  25677. description: Internal Server Error
  25678. schema:
  25679. $ref: '#/definitions/app.Response'
  25680. security:
  25681. - ApiKeyAuth: []
  25682. summary: 企业敞口查询
  25683. tags:
  25684. - 企业风险管理v8
  25685. /Ermcp8/QueryErmcp2HedgedItem:
  25686. get:
  25687. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  25688. parameters:
  25689. - description: 用户ID
  25690. in: query
  25691. name: userid
  25692. required: true
  25693. type: string
  25694. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25695. in: query
  25696. name: hedgedtype
  25697. type: integer
  25698. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25699. in: query
  25700. name: hedgeditemstatus
  25701. type: integer
  25702. produces:
  25703. - application/json
  25704. responses:
  25705. "200":
  25706. description: OK
  25707. schema:
  25708. items:
  25709. $ref: '#/definitions/models.Ermcp2hedgeditem'
  25710. type: array
  25711. "500":
  25712. description: Internal Server Error
  25713. schema:
  25714. $ref: '#/definitions/app.Response'
  25715. security:
  25716. - ApiKeyAuth: []
  25717. summary: 查询被套期项目信息
  25718. tags:
  25719. - 企业风险管理v8
  25720. /Ermcp8/QueryErmcp2HedgedItemLink:
  25721. get:
  25722. parameters:
  25723. - description: 现货合同ID
  25724. in: query
  25725. name: spotcontractid
  25726. required: true
  25727. type: integer
  25728. produces:
  25729. - application/json
  25730. responses:
  25731. "200":
  25732. description: OK
  25733. schema:
  25734. items:
  25735. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  25736. type: array
  25737. "500":
  25738. description: Internal Server Error
  25739. schema:
  25740. $ref: '#/definitions/app.Response'
  25741. security:
  25742. - ApiKeyAuth: []
  25743. summary: 现货合同关联被套期项目查询
  25744. tags:
  25745. - 企业风险管理v8
  25746. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  25747. get:
  25748. parameters:
  25749. - description: 用户ID
  25750. in: query
  25751. name: userid
  25752. required: true
  25753. type: integer
  25754. - description: 套保品种ID
  25755. in: query
  25756. name: middlegoodsid
  25757. required: true
  25758. type: integer
  25759. produces:
  25760. - application/json
  25761. responses:
  25762. "200":
  25763. description: OK
  25764. schema:
  25765. items:
  25766. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  25767. type: array
  25768. "500":
  25769. description: Internal Server Error
  25770. schema:
  25771. $ref: '#/definitions/app.Response'
  25772. security:
  25773. - ApiKeyAuth: []
  25774. summary: 敞口明细 - 计划变动明细
  25775. tags:
  25776. - 企业风险管理v8
  25777. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  25778. get:
  25779. parameters:
  25780. - description: 用户ID
  25781. in: query
  25782. name: userid
  25783. required: true
  25784. type: integer
  25785. - description: 套保品种ID
  25786. in: query
  25787. name: middlegoodsid
  25788. required: true
  25789. type: integer
  25790. produces:
  25791. - application/json
  25792. responses:
  25793. "200":
  25794. description: OK
  25795. schema:
  25796. items:
  25797. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  25798. type: array
  25799. "500":
  25800. description: Internal Server Error
  25801. schema:
  25802. $ref: '#/definitions/app.Response'
  25803. security:
  25804. - ApiKeyAuth: []
  25805. summary: 敞口明细 - 现货变动明细查询
  25806. tags:
  25807. - 企业风险管理v8
  25808. /Ermcp8/QueryErmcp8EnableHedgeditem:
  25809. get:
  25810. parameters:
  25811. - description: 用户ID
  25812. in: query
  25813. name: userid
  25814. required: true
  25815. type: integer
  25816. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  25817. in: query
  25818. name: spottype
  25819. required: true
  25820. type: integer
  25821. - description: 现货商品ID
  25822. in: query
  25823. name: wrstandardid
  25824. type: integer
  25825. produces:
  25826. - application/json
  25827. responses:
  25828. "200":
  25829. description: OK
  25830. schema:
  25831. items:
  25832. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  25833. type: array
  25834. "500":
  25835. description: Internal Server Error
  25836. schema:
  25837. $ref: '#/definitions/app.Response'
  25838. security:
  25839. - ApiKeyAuth: []
  25840. summary: 可关联项目查询
  25841. tags:
  25842. - 企业风险管理v8
  25843. /Ermcp8/QueryErmcp8HedgeditemReport:
  25844. get:
  25845. parameters:
  25846. - description: 用户ID
  25847. in: query
  25848. name: userid
  25849. required: true
  25850. type: integer
  25851. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25852. in: query
  25853. name: cycletype
  25854. type: integer
  25855. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25856. 全(0)【原值】
  25857. in: query
  25858. name: cycletime
  25859. required: true
  25860. type: string
  25861. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25862. in: query
  25863. name: hedgedtype
  25864. type: integer
  25865. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25866. in: query
  25867. name: hedgeditemstatus
  25868. type: integer
  25869. - description: 项目编号,模糊查询
  25870. in: query
  25871. name: hedgeditemnum
  25872. type: string
  25873. - description: 现货商品ID
  25874. in: query
  25875. name: wrstandardid
  25876. type: integer
  25877. produces:
  25878. - application/json
  25879. responses:
  25880. "200":
  25881. description: OK
  25882. schema:
  25883. items:
  25884. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  25885. type: array
  25886. "500":
  25887. description: Internal Server Error
  25888. schema:
  25889. $ref: '#/definitions/app.Response'
  25890. security:
  25891. - ApiKeyAuth: []
  25892. summary: 套期项目报表查询
  25893. tags:
  25894. - 企业风险管理v8
  25895. /Ermcp8/QueryErmcp8RunningHedgeditem:
  25896. get:
  25897. parameters:
  25898. - description: 用户ID
  25899. in: query
  25900. name: userid
  25901. required: true
  25902. type: string
  25903. produces:
  25904. - application/json
  25905. responses:
  25906. "200":
  25907. description: OK
  25908. schema:
  25909. items:
  25910. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  25911. type: array
  25912. "500":
  25913. description: Internal Server Error
  25914. schema:
  25915. $ref: '#/definitions/app.Response'
  25916. security:
  25917. - ApiKeyAuth: []
  25918. summary: 查询执行中项目查询信息
  25919. tags:
  25920. - 企业风险管理v8
  25921. /Ermcp8/QueryInternalEnableTradeDetail:
  25922. get:
  25923. parameters:
  25924. - description: 企业ID
  25925. in: query
  25926. name: areauserid
  25927. required: true
  25928. type: integer
  25929. - description: 期货合约ID
  25930. in: query
  25931. name: goodsid
  25932. required: true
  25933. type: integer
  25934. - description: 交易用户ID
  25935. in: query
  25936. name: tradeuserid
  25937. required: true
  25938. type: integer
  25939. produces:
  25940. - application/json
  25941. responses:
  25942. "200":
  25943. description: OK
  25944. schema:
  25945. items:
  25946. $ref: '#/definitions/models.InternalEnableTradeDetail'
  25947. type: array
  25948. "500":
  25949. description: Internal Server Error
  25950. schema:
  25951. $ref: '#/definitions/app.Response'
  25952. security:
  25953. - ApiKeyAuth: []
  25954. summary: 内部成交单可关联项目查询
  25955. tags:
  25956. - 企业风险管理v8
  25957. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  25958. get:
  25959. parameters:
  25960. - description: 用户编号
  25961. in: query
  25962. name: userid
  25963. required: true
  25964. type: integer
  25965. - description: 起始日期(格式yyyymmdd)
  25966. in: query
  25967. name: begindate
  25968. type: string
  25969. - description: 终止日期(格式yyyymmdd)
  25970. in: query
  25971. name: enddate
  25972. type: string
  25973. - description: 合约代码
  25974. in: query
  25975. name: goodscode
  25976. type: string
  25977. - description: 合约名称
  25978. in: query
  25979. name: goodsname
  25980. type: string
  25981. - description: 成交单号
  25982. in: query
  25983. name: tradeid
  25984. type: integer
  25985. - description: 方向 - 0:买 1:卖
  25986. in: query
  25987. name: buyorsell
  25988. type: integer
  25989. - description: 套期主体
  25990. in: query
  25991. name: accountname
  25992. type: string
  25993. produces:
  25994. - application/json
  25995. responses:
  25996. "200":
  25997. description: OK
  25998. schema:
  25999. items:
  26000. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  26001. type: array
  26002. "500":
  26003. description: Internal Server Error
  26004. schema:
  26005. $ref: '#/definitions/app.Response'
  26006. security:
  26007. - ApiKeyAuth: []
  26008. summary: 内部未关联成交单查询
  26009. tags:
  26010. - 企业风险管理v8
  26011. /Ermcp8/QueryMarketCalendar:
  26012. get:
  26013. parameters:
  26014. - description: 市场ID
  26015. in: query
  26016. name: marketid
  26017. type: integer
  26018. produces:
  26019. - application/json
  26020. responses:
  26021. "200":
  26022. description: OK
  26023. schema:
  26024. items:
  26025. $ref: '#/definitions/models.Marketcalendar'
  26026. type: array
  26027. "500":
  26028. description: Internal Server Error
  26029. schema:
  26030. $ref: '#/definitions/app.Response'
  26031. security:
  26032. - ApiKeyAuth: []
  26033. summary: 市场节假日查询
  26034. tags:
  26035. - 企业风险管理v8
  26036. /Ermcp8/QueryPatradeLinkDetail:
  26037. get:
  26038. parameters:
  26039. - description: 用户ID
  26040. in: query
  26041. name: userid
  26042. required: true
  26043. type: integer
  26044. - description: 套保品种ID
  26045. in: query
  26046. name: middlegoodsid
  26047. required: true
  26048. type: integer
  26049. produces:
  26050. - application/json
  26051. responses:
  26052. "200":
  26053. description: OK
  26054. schema:
  26055. items:
  26056. $ref: '#/definitions/models.Patradelinkdetail'
  26057. type: array
  26058. "500":
  26059. description: Internal Server Error
  26060. schema:
  26061. $ref: '#/definitions/app.Response'
  26062. security:
  26063. - ApiKeyAuth: []
  26064. summary: 敞口明细 - 期货变动明细
  26065. tags:
  26066. - 企业风险管理v8
  26067. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  26068. get:
  26069. parameters:
  26070. - description: 企业ID
  26071. in: query
  26072. name: areauserid
  26073. required: true
  26074. type: integer
  26075. - description: 计划类型 - 1:采购 -1:销售
  26076. in: query
  26077. name: contracttype
  26078. type: integer
  26079. - description: 计划编号,模糊查询
  26080. in: query
  26081. name: hedgeplanno
  26082. type: string
  26083. - description: 现货商品,模糊查询
  26084. in: query
  26085. name: wrstandardname
  26086. type: string
  26087. produces:
  26088. - application/json
  26089. responses:
  26090. "200":
  26091. description: OK
  26092. schema:
  26093. items:
  26094. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  26095. type: array
  26096. "500":
  26097. description: Internal Server Error
  26098. schema:
  26099. $ref: '#/definitions/app.Response'
  26100. security:
  26101. - ApiKeyAuth: []
  26102. summary: 未关联购销计划
  26103. tags:
  26104. - 企业风险管理v8
  26105. /Ermcp8/QueryUnLinkSpotContract:
  26106. get:
  26107. parameters:
  26108. - description: 用户ID
  26109. in: query
  26110. name: userid
  26111. required: true
  26112. type: integer
  26113. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  26114. in: query
  26115. name: pricetype
  26116. type: integer
  26117. - description: 合同编号, 模拟查询
  26118. in: query
  26119. name: contractno
  26120. type: string
  26121. - description: 对手方, 模拟查询
  26122. in: query
  26123. name: customername
  26124. type: string
  26125. - description: 项合同类型 - 1:采购 -1:销售
  26126. in: query
  26127. name: contracttype
  26128. type: integer
  26129. produces:
  26130. - application/json
  26131. responses:
  26132. "200":
  26133. description: OK
  26134. schema:
  26135. items:
  26136. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  26137. type: array
  26138. "500":
  26139. description: Internal Server Error
  26140. schema:
  26141. $ref: '#/definitions/app.Response'
  26142. security:
  26143. - ApiKeyAuth: []
  26144. summary: 未关联合同查询
  26145. tags:
  26146. - 企业风险管理v8
  26147. /Erms2/QueryArbitrageStrategy:
  26148. get:
  26149. parameters:
  26150. - description: 账户ID
  26151. in: query
  26152. name: userid
  26153. required: true
  26154. type: integer
  26155. - description: 商品组ID(品种ID)
  26156. in: query
  26157. name: goodsgroupid
  26158. type: string
  26159. produces:
  26160. - application/json
  26161. responses:
  26162. "200":
  26163. description: OK
  26164. schema:
  26165. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  26166. "500":
  26167. description: Internal Server Error
  26168. schema:
  26169. $ref: '#/definitions/app.Response'
  26170. security:
  26171. - ApiKeyAuth: []
  26172. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  26173. tags:
  26174. - 风险管理
  26175. /Erms2/QueryInnerTradeDetail:
  26176. get:
  26177. parameters:
  26178. - description: 资金账户
  26179. in: query
  26180. name: accountid
  26181. required: true
  26182. type: integer
  26183. produces:
  26184. - application/json
  26185. responses:
  26186. "200":
  26187. description: OK
  26188. schema:
  26189. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  26190. "500":
  26191. description: Internal Server Error
  26192. schema:
  26193. $ref: '#/definitions/app.Response'
  26194. security:
  26195. - ApiKeyAuth: []
  26196. summary: 查询内部成交单信息
  26197. tags:
  26198. - 风险管理
  26199. /Erms2/QuerySpotContract:
  26200. get:
  26201. parameters:
  26202. - description: 策略申请ID
  26203. in: query
  26204. name: asapplyid
  26205. required: true
  26206. type: integer
  26207. - description: 现货合同ID
  26208. in: query
  26209. name: spotcontractid
  26210. type: integer
  26211. produces:
  26212. - application/json
  26213. responses:
  26214. "200":
  26215. description: OK
  26216. schema:
  26217. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  26218. "500":
  26219. description: Internal Server Error
  26220. schema:
  26221. $ref: '#/definitions/app.Response'
  26222. security:
  26223. - ApiKeyAuth: []
  26224. summary: 查询现货合同表信息(指定策略ID、未结束的)
  26225. tags:
  26226. - 风险管理
  26227. /Erms3/AddErms2ASApply:
  26228. post:
  26229. parameters:
  26230. - description: 申请参数
  26231. in: body
  26232. name: jsonBody
  26233. required: true
  26234. schema:
  26235. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  26236. produces:
  26237. - application/json
  26238. responses:
  26239. "200":
  26240. description: OK
  26241. schema:
  26242. $ref: '#/definitions/app.Response'
  26243. "500":
  26244. description: Internal Server Error
  26245. schema:
  26246. $ref: '#/definitions/app.Response'
  26247. security:
  26248. - ApiKeyAuth: []
  26249. summary: 新增期现套利业务申请
  26250. tags:
  26251. - 风险管理v3
  26252. /Erms3/AddErms2SpotTradeApply:
  26253. post:
  26254. parameters:
  26255. - description: 申请参数
  26256. in: body
  26257. name: jsonBody
  26258. required: true
  26259. schema:
  26260. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  26261. produces:
  26262. - application/json
  26263. responses:
  26264. "200":
  26265. description: OK
  26266. schema:
  26267. $ref: '#/definitions/app.Response'
  26268. "500":
  26269. description: Internal Server Error
  26270. schema:
  26271. $ref: '#/definitions/app.Response'
  26272. security:
  26273. - ApiKeyAuth: []
  26274. summary: 新增现货贸易业务申请
  26275. tags:
  26276. - 风险管理v3
  26277. /Erms3/AddSpotContractApply:
  26278. post:
  26279. parameters:
  26280. - description: 申请参数
  26281. in: body
  26282. name: jsonBody
  26283. required: true
  26284. schema:
  26285. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  26286. produces:
  26287. - application/json
  26288. responses:
  26289. "200":
  26290. description: OK
  26291. schema:
  26292. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  26293. "500":
  26294. description: Internal Server Error
  26295. schema:
  26296. $ref: '#/definitions/app.Response'
  26297. security:
  26298. - ApiKeyAuth: []
  26299. summary: 新增现货合同申请
  26300. tags:
  26301. - 风险管理v3
  26302. /Erms3/AddUserInfoApply:
  26303. post:
  26304. parameters:
  26305. - description: 用户信息
  26306. in: body
  26307. name: jsonBody
  26308. required: true
  26309. schema:
  26310. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  26311. produces:
  26312. - application/json
  26313. responses:
  26314. "200":
  26315. description: OK
  26316. schema:
  26317. $ref: '#/definitions/app.Response'
  26318. "500":
  26319. description: Internal Server Error
  26320. schema:
  26321. $ref: '#/definitions/app.Response'
  26322. security:
  26323. - ApiKeyAuth: []
  26324. summary: 新增客户申请
  26325. tags:
  26326. - 风险管理v3
  26327. /Erms3/DeleteUserInfoApply:
  26328. get:
  26329. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  26330. parameters:
  26331. - description: 用户ID
  26332. in: query
  26333. name: userID
  26334. required: true
  26335. type: integer
  26336. produces:
  26337. - application/json
  26338. responses:
  26339. "200":
  26340. description: OK
  26341. schema:
  26342. $ref: '#/definitions/app.Response'
  26343. "500":
  26344. description: Internal Server Error
  26345. schema:
  26346. $ref: '#/definitions/app.Response'
  26347. security:
  26348. - ApiKeyAuth: []
  26349. summary: 删除客户申请
  26350. tags:
  26351. - 风险管理v3
  26352. /Erms3/ModifyUserInfoApply:
  26353. post:
  26354. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  26355. int, "userstate": 2 }'
  26356. parameters:
  26357. - description: 用户信息
  26358. in: body
  26359. name: jsonBody
  26360. required: true
  26361. schema:
  26362. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  26363. produces:
  26364. - application/json
  26365. responses:
  26366. "200":
  26367. description: OK
  26368. schema:
  26369. $ref: '#/definitions/app.Response'
  26370. "500":
  26371. description: Internal Server Error
  26372. schema:
  26373. $ref: '#/definitions/app.Response'
  26374. security:
  26375. - ApiKeyAuth: []
  26376. summary: 修改客户申请
  26377. tags:
  26378. - 风险管理v3
  26379. /Erms3/QueryBusinessInfo:
  26380. get:
  26381. parameters:
  26382. - description: 资金账号ID列表,用逗号分隔
  26383. in: query
  26384. name: accountids
  26385. required: true
  26386. type: string
  26387. - description: 状态,0为未结束 1为已结束
  26388. in: query
  26389. name: status
  26390. required: true
  26391. type: integer
  26392. produces:
  26393. - application/json
  26394. responses:
  26395. "200":
  26396. description: OK
  26397. schema:
  26398. items:
  26399. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  26400. type: array
  26401. "500":
  26402. description: Internal Server Error
  26403. schema:
  26404. $ref: '#/definitions/app.Response'
  26405. security:
  26406. - ApiKeyAuth: []
  26407. summary: 查询业务表单数据
  26408. tags:
  26409. - 风险管理v3
  26410. /Erms3/QueryPendingAuditContract:
  26411. get:
  26412. parameters:
  26413. - description: 资金账号ID列表,逗号隔开
  26414. in: query
  26415. name: accountids
  26416. required: true
  26417. type: string
  26418. - description: 合同类型 1-采购 -1-销售
  26419. in: query
  26420. name: contracttype
  26421. required: true
  26422. type: integer
  26423. - description: 合同模式 1-普通 2-回购
  26424. in: query
  26425. name: contractmode
  26426. required: true
  26427. type: integer
  26428. produces:
  26429. - application/json
  26430. responses:
  26431. "200":
  26432. description: OK
  26433. schema:
  26434. items:
  26435. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26436. type: array
  26437. "500":
  26438. description: Internal Server Error
  26439. schema:
  26440. $ref: '#/definitions/app.Response'
  26441. security:
  26442. - ApiKeyAuth: []
  26443. summary: 查询待审核合同
  26444. tags:
  26445. - 风险管理v3
  26446. /Erms3/QueryPendingBusiness:
  26447. get:
  26448. parameters:
  26449. - description: 资金账号ID列表,逗号隔开
  26450. in: query
  26451. name: accountids
  26452. required: true
  26453. type: string
  26454. produces:
  26455. - application/json
  26456. responses:
  26457. "200":
  26458. description: OK
  26459. schema:
  26460. items:
  26461. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26462. type: array
  26463. "500":
  26464. description: Internal Server Error
  26465. schema:
  26466. $ref: '#/definitions/app.Response'
  26467. security:
  26468. - ApiKeyAuth: []
  26469. summary: 查询待审核基差贸易业务
  26470. tags:
  26471. - 风险管理v3
  26472. /Erms3/QuerySpotContractAppleForm:
  26473. get:
  26474. parameters:
  26475. - description: 登录账号
  26476. in: query
  26477. name: loginID
  26478. required: true
  26479. type: integer
  26480. produces:
  26481. - application/json
  26482. responses:
  26483. "200":
  26484. description: OK
  26485. schema:
  26486. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26487. "500":
  26488. description: Internal Server Error
  26489. schema:
  26490. $ref: '#/definitions/app.Response'
  26491. security:
  26492. - ApiKeyAuth: []
  26493. summary: 查询合同申请表单数据
  26494. tags:
  26495. - 风险管理v3
  26496. /Erms3/QuerySpotContractDetail:
  26497. get:
  26498. parameters:
  26499. - description: 资金账号ID列表,用逗号分隔
  26500. in: query
  26501. name: accountids
  26502. required: true
  26503. type: string
  26504. - description: 合同类型,1为采购合同 -1为销售合同
  26505. in: query
  26506. name: contracttype
  26507. required: true
  26508. type: integer
  26509. - description: 合同模式,1为普通合同 2为回购销售合同
  26510. in: query
  26511. name: contractmode
  26512. required: true
  26513. type: integer
  26514. - description: 状态,0为履约中 1为已完成
  26515. in: query
  26516. name: status
  26517. required: true
  26518. type: integer
  26519. produces:
  26520. - application/json
  26521. responses:
  26522. "200":
  26523. description: OK
  26524. schema:
  26525. items:
  26526. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  26527. type: array
  26528. "500":
  26529. description: Internal Server Error
  26530. schema:
  26531. $ref: '#/definitions/app.Response'
  26532. security:
  26533. - ApiKeyAuth: []
  26534. summary: 查询合同详细信息
  26535. tags:
  26536. - 风险管理v3
  26537. /Erms3/QueryUserInfoApplies:
  26538. get:
  26539. parameters:
  26540. - description: 页码
  26541. in: query
  26542. name: page
  26543. type: integer
  26544. - description: 每页条数
  26545. in: query
  26546. name: pagesize
  26547. type: integer
  26548. - description: 客户名称,支持模糊查询
  26549. in: query
  26550. name: userName
  26551. type: string
  26552. produces:
  26553. - application/json
  26554. responses:
  26555. "200":
  26556. description: OK
  26557. schema:
  26558. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  26559. "500":
  26560. description: Internal Server Error
  26561. schema:
  26562. $ref: '#/definitions/app.Response'
  26563. security:
  26564. - ApiKeyAuth: []
  26565. summary: 客户申请信息查询
  26566. tags:
  26567. - 风险管理v3
  26568. /Erms3/QueryUserInfos:
  26569. get:
  26570. parameters:
  26571. - description: 页码
  26572. in: query
  26573. name: page
  26574. type: integer
  26575. - description: 每页条数
  26576. in: query
  26577. name: pagesize
  26578. type: integer
  26579. - description: 客户名称,支持模糊查询
  26580. in: query
  26581. name: userName
  26582. type: string
  26583. produces:
  26584. - application/json
  26585. responses:
  26586. "200":
  26587. description: OK
  26588. schema:
  26589. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  26590. "500":
  26591. description: Internal Server Error
  26592. schema:
  26593. $ref: '#/definitions/app.Response'
  26594. security:
  26595. - ApiKeyAuth: []
  26596. summary: 客户信息查询
  26597. tags:
  26598. - 风险管理v3
  26599. /HSBY/GetHsbyMyCount:
  26600. get:
  26601. description: 说明: 不包括已完成的数量。
  26602. parameters:
  26603. - description: 资金账户列表,格式:1,2,3
  26604. in: query
  26605. name: accountIDs
  26606. required: true
  26607. type: string
  26608. produces:
  26609. - application/json
  26610. responses:
  26611. "200":
  26612. description: OK
  26613. schema:
  26614. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  26615. "500":
  26616. description: Internal Server Error
  26617. schema:
  26618. $ref: '#/definitions/app.Response'
  26619. security:
  26620. - ApiKeyAuth: []
  26621. summary: 获取我的订单与包裹数量
  26622. tags:
  26623. - 定制【海商报业】
  26624. /HSBY/QueryClientFixedADConfigs:
  26625. get:
  26626. produces:
  26627. - application/json
  26628. responses:
  26629. "200":
  26630. description: OK
  26631. schema:
  26632. $ref: '#/definitions/models.Clientfixedadconfig'
  26633. "500":
  26634. description: Internal Server Error
  26635. schema:
  26636. $ref: '#/definitions/app.Response'
  26637. security:
  26638. - ApiKeyAuth: []
  26639. summary: 获取终端固定广告配置
  26640. tags:
  26641. - 定制【海商报业】
  26642. /HSBY/QueryHsbyBuyMyTradeDetail:
  26643. get:
  26644. parameters:
  26645. - description: 页码
  26646. in: query
  26647. name: page
  26648. type: integer
  26649. - description: 每页条数
  26650. in: query
  26651. name: pagesize
  26652. type: integer
  26653. - description: 资金账户列表,格式:1,2,3
  26654. in: query
  26655. name: accountIDs
  26656. required: true
  26657. type: string
  26658. produces:
  26659. - application/json
  26660. responses:
  26661. "200":
  26662. description: OK
  26663. schema:
  26664. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  26665. "500":
  26666. description: Internal Server Error
  26667. schema:
  26668. $ref: '#/definitions/app.Response'
  26669. security:
  26670. - ApiKeyAuth: []
  26671. summary: 查询"我的订单 - 已完成"单据信息
  26672. tags:
  26673. - 定制【海商报业】
  26674. /HSBY/QueryHsbyGoodsOrderDetails:
  26675. get:
  26676. description: 说明:查询结果已按委托价格和委托时间排序
  26677. parameters:
  26678. - description: 商品ID
  26679. in: query
  26680. name: goodsID
  26681. required: true
  26682. type: integer
  26683. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  26684. in: query
  26685. name: accountIDs
  26686. type: string
  26687. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  26688. in: query
  26689. name: buyOrSell
  26690. type: integer
  26691. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  26692. in: query
  26693. name: price
  26694. type: number
  26695. - description: 档位,不传则默认为3档
  26696. in: query
  26697. name: speed
  26698. type: integer
  26699. produces:
  26700. - application/json
  26701. responses:
  26702. "200":
  26703. description: OK
  26704. schema:
  26705. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  26706. "500":
  26707. description: Internal Server Error
  26708. schema:
  26709. $ref: '#/definitions/app.Response'
  26710. security:
  26711. - ApiKeyAuth: []
  26712. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  26713. tags:
  26714. - 定制【海商报业】
  26715. /HSBY/QueryHsbyListingGoodsDetail:
  26716. get:
  26717. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  26718. parameters:
  26719. - description: 商品ID
  26720. in: query
  26721. name: goodsID
  26722. required: true
  26723. type: integer
  26724. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  26725. in: query
  26726. name: accountID
  26727. type: integer
  26728. produces:
  26729. - application/json
  26730. responses:
  26731. "200":
  26732. description: OK
  26733. schema:
  26734. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  26735. "500":
  26736. description: Internal Server Error
  26737. schema:
  26738. $ref: '#/definitions/app.Response'
  26739. security:
  26740. - ApiKeyAuth: []
  26741. summary: 查询二级市场(挂牌点选)商品信息详情
  26742. tags:
  26743. - 定制【海商报业】
  26744. /HSBY/QueryHsbyMarketGoodsDetail:
  26745. get:
  26746. parameters:
  26747. - description: 委托单号
  26748. in: query
  26749. name: orderID
  26750. required: true
  26751. type: integer
  26752. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  26753. in: query
  26754. name: accountID
  26755. type: integer
  26756. produces:
  26757. - application/json
  26758. responses:
  26759. "200":
  26760. description: OK
  26761. schema:
  26762. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26763. "500":
  26764. description: Internal Server Error
  26765. schema:
  26766. $ref: '#/definitions/app.Response'
  26767. security:
  26768. - ApiKeyAuth: []
  26769. summary: 查询三级市场(商城)商品信息详情
  26770. tags:
  26771. - 定制【海商报业】
  26772. /HSBY/QueryHsbyMarketGoodses:
  26773. get:
  26774. parameters:
  26775. - description: 页码
  26776. in: query
  26777. name: page
  26778. type: integer
  26779. - description: 每页条数
  26780. in: query
  26781. name: pagesize
  26782. type: integer
  26783. - description: 市场ID列表,格式:1,2,3
  26784. in: query
  26785. name: marketIDs
  26786. required: true
  26787. type: string
  26788. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  26789. in: query
  26790. name: accountID
  26791. required: true
  26792. type: integer
  26793. - description: 类别ID
  26794. in: query
  26795. name: categoryID
  26796. type: integer
  26797. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26798. in: query
  26799. name: goodsIDs
  26800. type: string
  26801. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  26802. in: query
  26803. name: couponTypeID
  26804. type: integer
  26805. produces:
  26806. - application/json
  26807. responses:
  26808. "200":
  26809. description: OK
  26810. schema:
  26811. $ref: '#/definitions/models.HsbyMarketGoods'
  26812. "500":
  26813. description: Internal Server Error
  26814. schema:
  26815. $ref: '#/definitions/app.Response'
  26816. security:
  26817. - ApiKeyAuth: []
  26818. summary: 查询特卖商品列表(三级商城)
  26819. tags:
  26820. - 定制【海商报业】
  26821. /HSBY/QueryHsbyMarkets:
  26822. get:
  26823. produces:
  26824. - application/json
  26825. responses:
  26826. "200":
  26827. description: OK
  26828. schema:
  26829. $ref: '#/definitions/models.HsbyMarketInfo'
  26830. "500":
  26831. description: Internal Server Error
  26832. schema:
  26833. $ref: '#/definitions/app.Response'
  26834. security:
  26835. - ApiKeyAuth: []
  26836. summary: 查询海商报业相关市场信息
  26837. tags:
  26838. - 定制【海商报业】
  26839. /HSBY/QueryHsbyMyBuyOrderDetails:
  26840. get:
  26841. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  26842. parameters:
  26843. - description: 资金账户列表,格式:1,2,3
  26844. in: query
  26845. name: accountIDs
  26846. required: true
  26847. type: string
  26848. produces:
  26849. - application/json
  26850. responses:
  26851. "200":
  26852. description: OK
  26853. schema:
  26854. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  26855. "500":
  26856. description: Internal Server Error
  26857. schema:
  26858. $ref: '#/definitions/app.Response'
  26859. security:
  26860. - ApiKeyAuth: []
  26861. summary: 查询“我的订单”信息
  26862. tags:
  26863. - 定制【海商报业】
  26864. /HSBY/QueryHsbyMyGoods:
  26865. get:
  26866. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  26867. parameters:
  26868. - description: 资金账户列表,格式:1,2,3
  26869. in: query
  26870. name: accountIDs
  26871. required: true
  26872. type: string
  26873. produces:
  26874. - application/json
  26875. responses:
  26876. "200":
  26877. description: OK
  26878. schema:
  26879. $ref: '#/definitions/models.HsbyMyGoods'
  26880. "500":
  26881. description: Internal Server Error
  26882. schema:
  26883. $ref: '#/definitions/app.Response'
  26884. security:
  26885. - ApiKeyAuth: []
  26886. summary: 查询“我的商品”信息
  26887. tags:
  26888. - 定制【海商报业】
  26889. /HSBY/QueryHsbyMyPackages:
  26890. get:
  26891. parameters:
  26892. - description: 资金账户列表,格式:1,2,3
  26893. in: query
  26894. name: accountIDs
  26895. required: true
  26896. type: string
  26897. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26898. in: query
  26899. name: takeOrderStatus
  26900. type: integer
  26901. produces:
  26902. - application/json
  26903. responses:
  26904. "200":
  26905. description: OK
  26906. schema:
  26907. $ref: '#/definitions/models.HsbyMyPackage'
  26908. "500":
  26909. description: Internal Server Error
  26910. schema:
  26911. $ref: '#/definitions/app.Response'
  26912. security:
  26913. - ApiKeyAuth: []
  26914. summary: 查询我的包裹信息
  26915. tags:
  26916. - 定制【海商报业】
  26917. /HSBY/QueryHsbyPreGoodsDetail:
  26918. get:
  26919. parameters:
  26920. - description: 商品ID
  26921. in: query
  26922. name: goodsID
  26923. required: true
  26924. type: integer
  26925. - description: 资金账户,主要用于获取预售商品购买上限
  26926. in: query
  26927. name: accountID
  26928. type: integer
  26929. produces:
  26930. - application/json
  26931. responses:
  26932. "200":
  26933. description: OK
  26934. schema:
  26935. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  26936. "500":
  26937. description: Internal Server Error
  26938. schema:
  26939. $ref: '#/definitions/app.Response'
  26940. security:
  26941. - ApiKeyAuth: []
  26942. summary: 查询一级市场(预售)商品信息详情
  26943. tags:
  26944. - 定制【海商报业】
  26945. /HSBY/QueryHsbyPreGoodses:
  26946. get:
  26947. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  26948. parameters:
  26949. - description: 页码
  26950. in: query
  26951. name: page
  26952. type: integer
  26953. - description: 每页条数
  26954. in: query
  26955. name: pagesize
  26956. type: integer
  26957. - description: 市场ID列表,格式:1,2,3
  26958. in: query
  26959. name: marketIDs
  26960. required: true
  26961. type: string
  26962. - description: 目的地(省)ID
  26963. in: query
  26964. name: descProvinceID
  26965. type: integer
  26966. - description: 目的地(市)ID
  26967. in: query
  26968. name: descCityID
  26969. type: integer
  26970. produces:
  26971. - application/json
  26972. responses:
  26973. "200":
  26974. description: OK
  26975. schema:
  26976. $ref: '#/definitions/models.HsbyPreGoods'
  26977. "500":
  26978. description: Internal Server Error
  26979. schema:
  26980. $ref: '#/definitions/app.Response'
  26981. security:
  26982. - ApiKeyAuth: []
  26983. summary: 查询新品上市商品列表(一级市场预售)
  26984. tags:
  26985. - 定制【海商报业】
  26986. /HSBY/QueryHsbySellMyDetails:
  26987. get:
  26988. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  26989. parameters:
  26990. - description: 页码
  26991. in: query
  26992. name: page
  26993. type: integer
  26994. - description: 每页条数
  26995. in: query
  26996. name: pagesize
  26997. type: integer
  26998. - description: 资金账户列表,格式:1,2,3
  26999. in: query
  27000. name: accountIDs
  27001. required: true
  27002. type: string
  27003. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  27004. in: query
  27005. name: orderType
  27006. type: integer
  27007. produces:
  27008. - application/json
  27009. responses:
  27010. "200":
  27011. description: OK
  27012. schema:
  27013. $ref: '#/definitions/models.HsbySellMyDetail'
  27014. "500":
  27015. description: Internal Server Error
  27016. schema:
  27017. $ref: '#/definitions/app.Response'
  27018. security:
  27019. - ApiKeyAuth: []
  27020. summary: 查询"我的闲置"单据信息
  27021. tags:
  27022. - 定制【海商报业】
  27023. /HSBY/QueryHsbyTopGoodses:
  27024. get:
  27025. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  27026. parameters:
  27027. - description: 页码
  27028. in: query
  27029. name: page
  27030. type: integer
  27031. - description: 每页条数
  27032. in: query
  27033. name: pagesize
  27034. type: integer
  27035. - description: 市场ID列表,格式:1,2,3
  27036. in: query
  27037. name: marketIDs
  27038. required: true
  27039. type: string
  27040. - description: 目的地(省)ID
  27041. in: query
  27042. name: descProvinceID
  27043. type: integer
  27044. - description: 目的地(市)ID
  27045. in: query
  27046. name: descCityID
  27047. type: integer
  27048. produces:
  27049. - application/json
  27050. responses:
  27051. "200":
  27052. description: OK
  27053. schema:
  27054. $ref: '#/definitions/models.HsbyTopGoods'
  27055. "500":
  27056. description: Internal Server Error
  27057. schema:
  27058. $ref: '#/definitions/app.Response'
  27059. security:
  27060. - ApiKeyAuth: []
  27061. summary: 查询热卖商品列表(二级市场挂牌点选)
  27062. tags:
  27063. - 定制【海商报业】
  27064. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  27065. get:
  27066. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  27067. parameters:
  27068. - description: 商品ID
  27069. in: query
  27070. name: goodsID
  27071. required: true
  27072. type: integer
  27073. produces:
  27074. - application/json
  27075. responses:
  27076. "200":
  27077. description: OK
  27078. schema:
  27079. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  27080. "500":
  27081. description: Internal Server Error
  27082. schema:
  27083. $ref: '#/definitions/app.Response'
  27084. security:
  27085. - ApiKeyAuth: []
  27086. summary: 查询游客三级市场(商城)商品信息详情
  27087. tags:
  27088. - 定制【海商报业】
  27089. /HSBY/QueryHsbyVisitorMarketGoodses:
  27090. get:
  27091. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  27092. parameters:
  27093. - description: 页码
  27094. in: query
  27095. name: page
  27096. type: integer
  27097. - description: 每页条数
  27098. in: query
  27099. name: pagesize
  27100. type: integer
  27101. - description: 市场ID列表,格式:1,2,3
  27102. in: query
  27103. name: marketIDs
  27104. required: true
  27105. type: string
  27106. - description: 类别ID
  27107. in: query
  27108. name: categoryID
  27109. type: integer
  27110. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  27111. in: query
  27112. name: goodsIDs
  27113. type: string
  27114. produces:
  27115. - application/json
  27116. responses:
  27117. "200":
  27118. description: OK
  27119. schema:
  27120. $ref: '#/definitions/models.HsbyMarketGoods'
  27121. "500":
  27122. description: Internal Server Error
  27123. schema:
  27124. $ref: '#/definitions/app.Response'
  27125. security:
  27126. - ApiKeyAuth: []
  27127. summary: 查询游客特卖商品列表(三级商城)
  27128. tags:
  27129. - 定制【海商报业】
  27130. /HSBY/QueryMyCollectionOrders:
  27131. get:
  27132. parameters:
  27133. - description: 页码
  27134. in: query
  27135. name: page
  27136. type: integer
  27137. - description: 每页条数
  27138. in: query
  27139. name: pagesize
  27140. type: integer
  27141. - description: 资金账户,格式:1,2,3
  27142. in: query
  27143. name: accountIDs
  27144. required: true
  27145. type: string
  27146. produces:
  27147. - application/json
  27148. responses:
  27149. "200":
  27150. description: OK
  27151. schema:
  27152. $ref: '#/definitions/models.HsbySellCollectionOrder'
  27153. "500":
  27154. description: Internal Server Error
  27155. schema:
  27156. $ref: '#/definitions/app.Response'
  27157. security:
  27158. - ApiKeyAuth: []
  27159. summary: 我的闲置中收款信息查询
  27160. tags:
  27161. - 定制【海商报业】
  27162. /HSBY/QueryMyCouponHolds:
  27163. get:
  27164. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  27165. parameters:
  27166. - description: 资金账户列表,格式:1,2,3
  27167. in: query
  27168. name: accountIDs
  27169. required: true
  27170. type: string
  27171. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  27172. in: query
  27173. name: holdStatus
  27174. type: string
  27175. produces:
  27176. - application/json
  27177. responses:
  27178. "200":
  27179. description: OK
  27180. schema:
  27181. $ref: '#/definitions/models.MyCouponHold'
  27182. "500":
  27183. description: Internal Server Error
  27184. schema:
  27185. $ref: '#/definitions/app.Response'
  27186. security:
  27187. - ApiKeyAuth: []
  27188. summary: 我的优惠卷持仓查询
  27189. tags:
  27190. - 定制【海商报业】
  27191. /HSBY/QueryMyCoupons:
  27192. get:
  27193. parameters:
  27194. - description: 资金账户列表,格式:1,2,3
  27195. in: query
  27196. name: accountIDs
  27197. required: true
  27198. type: string
  27199. - description: 商品ID, 一般与sellUserID配套传入
  27200. in: query
  27201. name: goodsID
  27202. type: integer
  27203. - description: 卖方UserID
  27204. in: query
  27205. name: sellUserID
  27206. type: integer
  27207. produces:
  27208. - application/json
  27209. responses:
  27210. "200":
  27211. description: OK
  27212. schema:
  27213. $ref: '#/definitions/models.MyCoupon'
  27214. "500":
  27215. description: Internal Server Error
  27216. schema:
  27217. $ref: '#/definitions/app.Response'
  27218. security:
  27219. - ApiKeyAuth: []
  27220. summary: 我的优惠卷查询
  27221. tags:
  27222. - 定制【海商报业】
  27223. /HSBY/QueryMyPayOrders:
  27224. get:
  27225. parameters:
  27226. - description: 页码
  27227. in: query
  27228. name: page
  27229. type: integer
  27230. - description: 每页条数
  27231. in: query
  27232. name: pagesize
  27233. type: integer
  27234. - description: 资金账户列表,格式:1,2,3
  27235. in: query
  27236. name: accountIDs
  27237. required: true
  27238. type: string
  27239. - description: 买方委托单号
  27240. in: query
  27241. name: buyOrderID
  27242. type: integer
  27243. - description: 卖方委托单号
  27244. in: query
  27245. name: sellOrderID
  27246. type: integer
  27247. produces:
  27248. - application/json
  27249. responses:
  27250. "200":
  27251. description: OK
  27252. schema:
  27253. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  27254. "500":
  27255. description: Internal Server Error
  27256. schema:
  27257. $ref: '#/definitions/app.Response'
  27258. security:
  27259. - ApiKeyAuth: []
  27260. summary: 获取我的订单中待付款信息
  27261. tags:
  27262. - 定制【海商报业】
  27263. /HSBY/QueryMyUsedCoupon:
  27264. get:
  27265. parameters:
  27266. - description: 资金账户列表,格式:1,2,3
  27267. in: query
  27268. name: accountIDs
  27269. required: true
  27270. type: string
  27271. produces:
  27272. - application/json
  27273. responses:
  27274. "200":
  27275. description: OK
  27276. schema:
  27277. $ref: '#/definitions/models.MyUsedCoupon'
  27278. "500":
  27279. description: Internal Server Error
  27280. schema:
  27281. $ref: '#/definitions/app.Response'
  27282. security:
  27283. - ApiKeyAuth: []
  27284. summary: 已使用优惠卷查询
  27285. tags:
  27286. - 定制【海商报业】
  27287. /HSBY/QueryProvincesAndCities:
  27288. get:
  27289. description: 查询结果只包括二级市场商品已关连的省市信息。
  27290. parameters:
  27291. - description: 省ID
  27292. in: query
  27293. name: provinceID
  27294. type: integer
  27295. produces:
  27296. - application/json
  27297. responses:
  27298. "200":
  27299. description: OK
  27300. schema:
  27301. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  27302. "500":
  27303. description: Internal Server Error
  27304. schema:
  27305. $ref: '#/definitions/app.Response'
  27306. security:
  27307. - ApiKeyAuth: []
  27308. summary: 查询省市信息(不包括区)
  27309. tags:
  27310. - 定制【海商报业】
  27311. /HSBY/SetHsbyMyPackagesStatus:
  27312. post:
  27313. parameters:
  27314. - description: 提货单号
  27315. in: query
  27316. name: takeOrderID
  27317. required: true
  27318. type: string
  27319. - description: 资金账号
  27320. in: query
  27321. name: accountID
  27322. required: true
  27323. type: integer
  27324. produces:
  27325. - application/json
  27326. responses:
  27327. "200":
  27328. description: OK
  27329. schema:
  27330. $ref: '#/definitions/app.Response'
  27331. "500":
  27332. description: Internal Server Error
  27333. schema:
  27334. $ref: '#/definitions/app.Response'
  27335. security:
  27336. - ApiKeyAuth: []
  27337. summary: 设置我的包裹已收货状态
  27338. tags:
  27339. - 定制【海商报业】
  27340. /Market/GetAllExExchanges:
  27341. get:
  27342. produces:
  27343. - application/json
  27344. responses:
  27345. "200":
  27346. description: OK
  27347. schema:
  27348. $ref: '#/definitions/models.Goods'
  27349. "500":
  27350. description: Internal Server Error
  27351. schema:
  27352. $ref: '#/definitions/app.Response'
  27353. security:
  27354. - ApiKeyAuth: []
  27355. summary: 获取所有外部交易所信息
  27356. tags:
  27357. - 通用市场
  27358. /Market/QueryGoodsesByLoginID:
  27359. get:
  27360. parameters:
  27361. - description: 登录账号
  27362. in: query
  27363. name: loginID
  27364. required: true
  27365. type: integer
  27366. - description: 市场ID列表,格式:1,2,3
  27367. in: query
  27368. name: marketIDs
  27369. type: string
  27370. produces:
  27371. - application/json
  27372. responses:
  27373. "200":
  27374. description: OK
  27375. schema:
  27376. $ref: '#/definitions/models.Goods'
  27377. "500":
  27378. description: Internal Server Error
  27379. schema:
  27380. $ref: '#/definitions/app.Response'
  27381. security:
  27382. - ApiKeyAuth: []
  27383. summary: 获取登录账号有权限的商品信息
  27384. tags:
  27385. - 通用市场
  27386. /Market/QueryMarketRun:
  27387. get:
  27388. parameters:
  27389. - description: 市场ID,不传返回所有
  27390. in: query
  27391. name: marketID
  27392. type: integer
  27393. produces:
  27394. - application/json
  27395. responses:
  27396. "200":
  27397. description: OK
  27398. schema:
  27399. $ref: '#/definitions/models.Marketrun'
  27400. "500":
  27401. description: Internal Server Error
  27402. schema:
  27403. $ref: '#/definitions/app.Response'
  27404. security:
  27405. - ApiKeyAuth: []
  27406. summary: 查询市场运行信息
  27407. tags:
  27408. - 通用市场
  27409. /Market/QueryMarketsByLoginID:
  27410. get:
  27411. parameters:
  27412. - description: 登录账号
  27413. in: query
  27414. name: loginID
  27415. required: true
  27416. type: integer
  27417. produces:
  27418. - application/json
  27419. responses:
  27420. "200":
  27421. description: OK
  27422. schema:
  27423. $ref: '#/definitions/models.Market'
  27424. "500":
  27425. description: Internal Server Error
  27426. schema:
  27427. $ref: '#/definitions/app.Response'
  27428. security:
  27429. - ApiKeyAuth: []
  27430. summary: 获取登录账号有权限的市场信息
  27431. tags:
  27432. - 通用市场
  27433. /Order/QueryHisTradeDetail:
  27434. get:
  27435. parameters:
  27436. - description: 资金账户 - 格式:1,2,3
  27437. in: query
  27438. name: accountID
  27439. required: true
  27440. type: string
  27441. - description: 成交单号
  27442. in: query
  27443. name: tradeID
  27444. type: integer
  27445. - description: 委托单号
  27446. in: query
  27447. name: orderID
  27448. type: integer
  27449. - description: 商品ID
  27450. in: query
  27451. name: goodsID
  27452. type: integer
  27453. - description: 交易模式 - 格式:1,2,3
  27454. in: query
  27455. name: tradeMode
  27456. type: string
  27457. - description: 委托单据类型
  27458. in: query
  27459. name: buildType
  27460. type: integer
  27461. - description: 成交类别 - 格式:1,2,3
  27462. in: query
  27463. name: tradeType
  27464. type: string
  27465. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27466. in: query
  27467. name: startDate
  27468. type: string
  27469. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27470. in: query
  27471. name: endDate
  27472. type: string
  27473. produces:
  27474. - application/json
  27475. responses:
  27476. "200":
  27477. description: OK
  27478. schema:
  27479. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27480. "500":
  27481. description: Internal Server Error
  27482. schema:
  27483. $ref: '#/definitions/app.Response'
  27484. security:
  27485. - ApiKeyAuth: []
  27486. summary: 历史成交单查询(合约市场)
  27487. tags:
  27488. - 通用单据
  27489. /Order/QueryHisTradeOrderDetail:
  27490. get:
  27491. parameters:
  27492. - description: 资金账户 - 格式:1,2,3
  27493. in: query
  27494. name: accountID
  27495. required: true
  27496. type: string
  27497. - description: 交易模式 - 格式:1,2,3
  27498. in: query
  27499. name: tradeMode
  27500. type: string
  27501. - description: 委托状态 - 格式:1,2,3
  27502. in: query
  27503. name: orderStatus
  27504. type: string
  27505. - description: 委托单号
  27506. in: query
  27507. name: orderID
  27508. type: integer
  27509. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27510. in: query
  27511. name: startDate
  27512. type: string
  27513. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27514. in: query
  27515. name: endDate
  27516. type: string
  27517. produces:
  27518. - application/json
  27519. responses:
  27520. "200":
  27521. description: OK
  27522. schema:
  27523. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27524. "500":
  27525. description: Internal Server Error
  27526. schema:
  27527. $ref: '#/definitions/app.Response'
  27528. security:
  27529. - ApiKeyAuth: []
  27530. summary: 历史委托单查询请求(合约市场)
  27531. tags:
  27532. - 通用单据
  27533. /Order/QueryTradeDetail:
  27534. get:
  27535. parameters:
  27536. - description: 资金账户 - 格式:1,2,3
  27537. in: query
  27538. name: accountID
  27539. required: true
  27540. type: string
  27541. - description: 成交单号
  27542. in: query
  27543. name: tradeID
  27544. type: integer
  27545. - description: 委托单号
  27546. in: query
  27547. name: orderID
  27548. type: integer
  27549. - description: 交易模式 - 格式:1,2,3
  27550. in: query
  27551. name: tradeMode
  27552. type: string
  27553. - description: 委托单据类型
  27554. in: query
  27555. name: buildType
  27556. type: integer
  27557. - description: 成交类别 - 格式:1,2,3
  27558. in: query
  27559. name: tradeType
  27560. type: string
  27561. - description: 商品ID
  27562. in: query
  27563. name: goodsID
  27564. type: integer
  27565. produces:
  27566. - application/json
  27567. responses:
  27568. "200":
  27569. description: OK
  27570. schema:
  27571. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27572. "500":
  27573. description: Internal Server Error
  27574. schema:
  27575. $ref: '#/definitions/app.Response'
  27576. security:
  27577. - ApiKeyAuth: []
  27578. summary: 成交单查询(合约市场)
  27579. tags:
  27580. - 通用单据
  27581. /Order/QueryTradeHolderDetail:
  27582. get:
  27583. parameters:
  27584. - description: 用户id
  27585. in: query
  27586. name: userid
  27587. type: integer
  27588. - description: 资金账号, 格式 1,2,3
  27589. in: query
  27590. name: accids
  27591. type: string
  27592. - description: 交易模式, 格式 1,2,3
  27593. in: query
  27594. name: trademodes
  27595. type: string
  27596. - description: 市场id, 格式 1,2,3
  27597. in: query
  27598. name: marketids
  27599. type: string
  27600. - description: 商品id
  27601. in: query
  27602. name: goodsid
  27603. type: integer
  27604. - description: 买卖方向 0-买 1-卖
  27605. in: query
  27606. name: buyorsell
  27607. type: integer
  27608. produces:
  27609. - application/json
  27610. responses:
  27611. "200":
  27612. description: OK
  27613. schema:
  27614. items:
  27615. $ref: '#/definitions/models.TradeHolderDetail'
  27616. type: array
  27617. "500":
  27618. description: Internal Server Error
  27619. schema:
  27620. $ref: '#/definitions/app.Response'
  27621. security:
  27622. - ApiKeyAuth: []
  27623. summary: 查询持仓明细
  27624. tags:
  27625. - 通用单据
  27626. /Order/QueryTradeOrderDetail:
  27627. get:
  27628. parameters:
  27629. - description: 资金账户 - 格式:1,2,3
  27630. in: query
  27631. name: accountID
  27632. required: true
  27633. type: string
  27634. - description: 交易模式 - 格式:1,2,3
  27635. in: query
  27636. name: tradeMode
  27637. type: string
  27638. - description: 委托状态 - 格式:1,2,3
  27639. in: query
  27640. name: orderStatus
  27641. type: string
  27642. - description: 委托单号
  27643. in: query
  27644. name: orderID
  27645. type: integer
  27646. produces:
  27647. - application/json
  27648. responses:
  27649. "200":
  27650. description: OK
  27651. schema:
  27652. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  27653. "500":
  27654. description: Internal Server Error
  27655. schema:
  27656. $ref: '#/definitions/app.Response'
  27657. security:
  27658. - ApiKeyAuth: []
  27659. summary: 委托单查询请求(合约市场)
  27660. tags:
  27661. - 通用单据
  27662. /Order/QueryTradePosition:
  27663. get:
  27664. parameters:
  27665. - description: 资金账户 - 格式:1,2,3
  27666. in: query
  27667. name: accountID
  27668. required: true
  27669. type: string
  27670. - description: 交易模式 - 格式:1,2,3
  27671. in: query
  27672. name: tradeMode
  27673. type: string
  27674. produces:
  27675. - application/json
  27676. responses:
  27677. "200":
  27678. description: OK
  27679. schema:
  27680. $ref: '#/definitions/order.QueryTradePositionRsp'
  27681. "500":
  27682. description: Internal Server Error
  27683. schema:
  27684. $ref: '#/definitions/app.Response'
  27685. security:
  27686. - ApiKeyAuth: []
  27687. summary: 持仓汇总查询(合约市场)
  27688. tags:
  27689. - 通用单据
  27690. /Qhj/QueryAccountInOutApply:
  27691. get:
  27692. parameters:
  27693. - description: 用户ID
  27694. in: query
  27695. name: userid
  27696. required: true
  27697. type: integer
  27698. - description: 申请起始日期(格式yyyymmdd)
  27699. in: query
  27700. name: begindate
  27701. type: string
  27702. - description: 申请截止日期(格式yyyymmdd)
  27703. in: query
  27704. name: enddate
  27705. type: string
  27706. - description: 模糊搜索名称
  27707. in: query
  27708. name: likename
  27709. type: string
  27710. produces:
  27711. - application/json
  27712. responses:
  27713. "200":
  27714. description: OK
  27715. schema:
  27716. items:
  27717. $ref: '#/definitions/models.QhjAccountOutInApply'
  27718. type: array
  27719. "500":
  27720. description: Internal Server Error
  27721. schema:
  27722. $ref: '#/definitions/app.Response'
  27723. security:
  27724. - ApiKeyAuth: []
  27725. summary: 查询充值提现
  27726. tags:
  27727. - 大连千海金
  27728. /Qhj/QueryAreaFinanceConfig:
  27729. get:
  27730. parameters:
  27731. - description: 机构用户ID 其他做市关系,都设置为 1
  27732. in: query
  27733. name: userid
  27734. type: integer
  27735. produces:
  27736. - application/json
  27737. responses:
  27738. "200":
  27739. description: OK
  27740. schema:
  27741. items:
  27742. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  27743. type: array
  27744. "500":
  27745. description: Internal Server Error
  27746. schema:
  27747. $ref: '#/definitions/app.Response'
  27748. security:
  27749. - ApiKeyAuth: []
  27750. summary: 查询企业配置表
  27751. tags:
  27752. - 大连千海金
  27753. /Qhj/QueryBankAccountSign:
  27754. get:
  27755. parameters:
  27756. - description: 用户ID
  27757. in: query
  27758. name: userid
  27759. required: true
  27760. type: integer
  27761. produces:
  27762. - application/json
  27763. responses:
  27764. "200":
  27765. description: OK
  27766. schema:
  27767. items:
  27768. $ref: '#/definitions/models.QhjBankAccountSign'
  27769. type: array
  27770. "500":
  27771. description: Internal Server Error
  27772. schema:
  27773. $ref: '#/definitions/app.Response'
  27774. security:
  27775. - ApiKeyAuth: []
  27776. summary: 查询签约银行信息(提现账户管理)
  27777. tags:
  27778. - 大连千海金
  27779. /Qhj/QueryBankInfo:
  27780. get:
  27781. produces:
  27782. - application/json
  27783. responses:
  27784. "200":
  27785. description: OK
  27786. schema:
  27787. items:
  27788. $ref: '#/definitions/models.QhjBankInfo'
  27789. type: array
  27790. "500":
  27791. description: Internal Server Error
  27792. schema:
  27793. $ref: '#/definitions/app.Response'
  27794. security:
  27795. - ApiKeyAuth: []
  27796. summary: 查询开户行
  27797. tags:
  27798. - 大连千海金
  27799. /Qhj/QueryBrokerApply:
  27800. get:
  27801. parameters:
  27802. - description: 所属机构ID
  27803. in: query
  27804. name: userid
  27805. type: integer
  27806. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27807. in: query
  27808. name: filterstatus
  27809. type: string
  27810. produces:
  27811. - application/json
  27812. responses:
  27813. "200":
  27814. description: OK
  27815. schema:
  27816. items:
  27817. $ref: '#/definitions/models.QhjBrokerApply'
  27818. type: array
  27819. "500":
  27820. description: Internal Server Error
  27821. schema:
  27822. $ref: '#/definitions/app.Response'
  27823. security:
  27824. - ApiKeyAuth: []
  27825. summary: 查询经纪人申请
  27826. tags:
  27827. - 大连千海金
  27828. /Qhj/QueryBrokerApplyEx:
  27829. get:
  27830. parameters:
  27831. - description: 所属机构ID
  27832. in: query
  27833. name: userid
  27834. type: integer
  27835. produces:
  27836. - application/json
  27837. responses:
  27838. "200":
  27839. description: OK
  27840. schema:
  27841. items:
  27842. $ref: '#/definitions/models.QhjBrokerApplyEx'
  27843. type: array
  27844. "500":
  27845. description: Internal Server Error
  27846. schema:
  27847. $ref: '#/definitions/app.Response'
  27848. security:
  27849. - ApiKeyAuth: []
  27850. summary: 查询经纪人信息和申请记录
  27851. tags:
  27852. - 大连千海金
  27853. /Qhj/QueryBrokerRewardLog:
  27854. get:
  27855. parameters:
  27856. - description: 用户ID
  27857. in: query
  27858. name: userid
  27859. required: true
  27860. type: integer
  27861. - description: 开始交易日(yyyymmdd)
  27862. in: query
  27863. name: begindate
  27864. type: string
  27865. - description: 结束交易日(yyyymmdd)
  27866. in: query
  27867. name: enddate
  27868. type: string
  27869. produces:
  27870. - application/json
  27871. responses:
  27872. "200":
  27873. description: OK
  27874. schema:
  27875. items:
  27876. $ref: '#/definitions/models.QhjBrokerRewardLog'
  27877. type: array
  27878. "500":
  27879. description: Internal Server Error
  27880. schema:
  27881. $ref: '#/definitions/app.Response'
  27882. security:
  27883. - ApiKeyAuth: []
  27884. summary: 查询奖励流水(我的奖励)
  27885. tags:
  27886. - 大连千海金
  27887. /Qhj/QueryContract:
  27888. get:
  27889. parameters:
  27890. - description: 用户ID
  27891. in: query
  27892. name: userid
  27893. type: integer
  27894. - description: scf合同id
  27895. in: query
  27896. name: scfcontractid
  27897. type: integer
  27898. produces:
  27899. - application/json
  27900. responses:
  27901. "200":
  27902. description: OK
  27903. schema:
  27904. items:
  27905. $ref: '#/definitions/models.QhjContract'
  27906. type: array
  27907. "500":
  27908. description: Internal Server Error
  27909. schema:
  27910. $ref: '#/definitions/app.Response'
  27911. security:
  27912. - ApiKeyAuth: []
  27913. summary: 查询融资明细(合同)
  27914. tags:
  27915. - 大连千海金
  27916. /Qhj/QueryContractLog:
  27917. get:
  27918. parameters:
  27919. - description: scf合同id
  27920. in: query
  27921. name: scfcontractid
  27922. required: true
  27923. type: integer
  27924. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  27925. in: query
  27926. name: amounttype
  27927. type: string
  27928. produces:
  27929. - application/json
  27930. responses:
  27931. "200":
  27932. description: OK
  27933. schema:
  27934. items:
  27935. $ref: '#/definitions/models.QhjContractLog'
  27936. type: array
  27937. "500":
  27938. description: Internal Server Error
  27939. schema:
  27940. $ref: '#/definitions/app.Response'
  27941. security:
  27942. - ApiKeyAuth: []
  27943. summary: 查询融资明细流水(融资明细详情页中的流水)
  27944. tags:
  27945. - 大连千海金
  27946. /Qhj/QueryCusBankSignBank:
  27947. get:
  27948. produces:
  27949. - application/json
  27950. responses:
  27951. "200":
  27952. description: OK
  27953. schema:
  27954. items:
  27955. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  27956. type: array
  27957. "500":
  27958. description: Internal Server Error
  27959. schema:
  27960. $ref: '#/definitions/app.Response'
  27961. security:
  27962. - ApiKeyAuth: []
  27963. summary: 查询托管银行
  27964. tags:
  27965. - 大连千海金
  27966. /Qhj/QueryCustomerInfo:
  27967. get:
  27968. parameters:
  27969. - description: 用户ID
  27970. in: query
  27971. name: userid
  27972. required: true
  27973. type: integer
  27974. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27975. in: query
  27976. name: querytype
  27977. required: true
  27978. type: integer
  27979. - description: 客户类型 1-个人 2-企业
  27980. in: query
  27981. name: userinfotype
  27982. type: integer
  27983. - description: 客户名称(模糊匹配)
  27984. in: query
  27985. name: customername
  27986. type: string
  27987. - description: 昵称(模糊匹配)
  27988. in: query
  27989. name: nickname
  27990. type: string
  27991. - description: 是否包含子级 1-包含
  27992. in: query
  27993. name: includesub
  27994. type: integer
  27995. produces:
  27996. - application/json
  27997. responses:
  27998. "200":
  27999. description: OK
  28000. schema:
  28001. items:
  28002. $ref: '#/definitions/models.QhjCustomer'
  28003. type: array
  28004. "500":
  28005. description: Internal Server Error
  28006. schema:
  28007. $ref: '#/definitions/app.Response'
  28008. security:
  28009. - ApiKeyAuth: []
  28010. summary: 查询客户资料
  28011. tags:
  28012. - 大连千海金
  28013. /Qhj/QueryGoodsEx:
  28014. get:
  28015. parameters:
  28016. - description: 商品id
  28017. in: query
  28018. name: goodsid
  28019. type: integer
  28020. produces:
  28021. - application/json
  28022. responses:
  28023. "200":
  28024. description: OK
  28025. schema:
  28026. items:
  28027. $ref: '#/definitions/models.Qhjgoodsex'
  28028. type: array
  28029. "500":
  28030. description: Internal Server Error
  28031. schema:
  28032. $ref: '#/definitions/app.Response'
  28033. security:
  28034. - ApiKeyAuth: []
  28035. summary: 交易商品扩展表
  28036. tags:
  28037. - 大连千海金
  28038. /Qhj/QueryMyTeam:
  28039. get:
  28040. parameters:
  28041. - description: 用户ID
  28042. in: query
  28043. name: userid
  28044. required: true
  28045. type: integer
  28046. produces:
  28047. - application/json
  28048. responses:
  28049. "200":
  28050. description: OK
  28051. schema:
  28052. items:
  28053. $ref: '#/definitions/models.QhjMyTeamEx'
  28054. type: array
  28055. "500":
  28056. description: Internal Server Error
  28057. schema:
  28058. $ref: '#/definitions/app.Response'
  28059. security:
  28060. - ApiKeyAuth: []
  28061. summary: 查询我的团队
  28062. tags:
  28063. - 大连千海金
  28064. /Qhj/QueryMyTeamOrder:
  28065. get:
  28066. parameters:
  28067. - description: 页码
  28068. in: query
  28069. name: page
  28070. type: integer
  28071. - description: 每页条数
  28072. in: query
  28073. name: pagesize
  28074. type: integer
  28075. - description: 用户ID
  28076. in: query
  28077. name: userid
  28078. required: true
  28079. type: integer
  28080. - description: 交易模式
  28081. in: query
  28082. name: trademode
  28083. type: integer
  28084. - description: 名称(模糊搜索账户)
  28085. in: query
  28086. name: filtername
  28087. type: string
  28088. produces:
  28089. - application/json
  28090. responses:
  28091. "200":
  28092. description: OK
  28093. schema:
  28094. items:
  28095. $ref: '#/definitions/models.QhjTeamOrder'
  28096. type: array
  28097. "500":
  28098. description: Internal Server Error
  28099. schema:
  28100. $ref: '#/definitions/app.Response'
  28101. security:
  28102. - ApiKeyAuth: []
  28103. summary: 查询团队订单(我的团队/团队订单)
  28104. tags:
  28105. - 大连千海金
  28106. /Qhj/QueryParentAreaList:
  28107. get:
  28108. parameters:
  28109. - description: 用户ID
  28110. in: query
  28111. name: userid
  28112. required: true
  28113. type: integer
  28114. produces:
  28115. - application/json
  28116. responses:
  28117. "200":
  28118. description: OK
  28119. schema:
  28120. items:
  28121. $ref: '#/definitions/models.QhjParentAreaList'
  28122. type: array
  28123. "500":
  28124. description: Internal Server Error
  28125. schema:
  28126. $ref: '#/definitions/app.Response'
  28127. security:
  28128. - ApiKeyAuth: []
  28129. summary: 查询所属机构列表
  28130. tags:
  28131. - 大连千海金
  28132. /Qhj/QueryPayOrder:
  28133. get:
  28134. parameters:
  28135. - description: 资金账号id
  28136. in: query
  28137. name: accountid
  28138. required: true
  28139. type: integer
  28140. - description: 成交单号
  28141. in: query
  28142. name: tradeid
  28143. type: integer
  28144. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28145. in: query
  28146. name: payflag
  28147. type: string
  28148. produces:
  28149. - application/json
  28150. responses:
  28151. "200":
  28152. description: OK
  28153. schema:
  28154. items:
  28155. $ref: '#/definitions/models.QhjPayOrder'
  28156. type: array
  28157. "500":
  28158. description: Internal Server Error
  28159. schema:
  28160. $ref: '#/definitions/app.Response'
  28161. security:
  28162. - ApiKeyAuth: []
  28163. summary: 查询待付款单据
  28164. tags:
  28165. - 大连千海金
  28166. /Qhj/QueryPickArea:
  28167. get:
  28168. parameters:
  28169. - description: 用户ID
  28170. in: query
  28171. name: userid
  28172. type: integer
  28173. produces:
  28174. - application/json
  28175. responses:
  28176. "200":
  28177. description: OK
  28178. schema:
  28179. items:
  28180. $ref: '#/definitions/models.QhjPickArea'
  28181. type: array
  28182. "500":
  28183. description: Internal Server Error
  28184. schema:
  28185. $ref: '#/definitions/app.Response'
  28186. security:
  28187. - ApiKeyAuth: []
  28188. summary: 查询提货门店
  28189. tags:
  28190. - 大连千海金
  28191. /Qhj/QueryPickGoods:
  28192. get:
  28193. parameters:
  28194. - description: 交易商品id
  28195. in: query
  28196. name: goodsid
  28197. required: true
  28198. type: integer
  28199. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28200. in: query
  28201. name: status
  28202. type: string
  28203. produces:
  28204. - application/json
  28205. responses:
  28206. "200":
  28207. description: OK
  28208. schema:
  28209. items:
  28210. $ref: '#/definitions/models.QhjPickGoods'
  28211. type: array
  28212. "500":
  28213. description: Internal Server Error
  28214. schema:
  28215. $ref: '#/definitions/app.Response'
  28216. security:
  28217. - ApiKeyAuth: []
  28218. summary: 查询提货商品
  28219. tags:
  28220. - 大连千海金
  28221. /Qhj/QueryRSTriggerLog:
  28222. get:
  28223. parameters:
  28224. - description: 用户ID
  28225. in: query
  28226. name: userid
  28227. type: integer
  28228. - description: 定投策略id
  28229. in: query
  28230. name: regularlystrategyid
  28231. type: integer
  28232. - description: 商品id
  28233. in: query
  28234. name: goodsid
  28235. type: integer
  28236. - description: 开始交易日(yyyymmdd)
  28237. in: query
  28238. name: begindate
  28239. type: string
  28240. - description: 结束交易日(yyyymmdd)
  28241. in: query
  28242. name: enddate
  28243. type: string
  28244. - description: 名称(模糊搜索账户)
  28245. in: query
  28246. name: filtername
  28247. type: string
  28248. produces:
  28249. - application/json
  28250. responses:
  28251. "200":
  28252. description: OK
  28253. schema:
  28254. items:
  28255. $ref: '#/definitions/models.QhjRSTriggerLog'
  28256. type: array
  28257. "500":
  28258. description: Internal Server Error
  28259. schema:
  28260. $ref: '#/definitions/app.Response'
  28261. security:
  28262. - ApiKeyAuth: []
  28263. summary: 查询定投记录(定投管理/详情/定投记录)
  28264. tags:
  28265. - 大连千海金
  28266. /Qhj/QueryRStrategy:
  28267. get:
  28268. parameters:
  28269. - description: 用户ID
  28270. in: query
  28271. name: userid
  28272. type: integer
  28273. - description: 商品id
  28274. in: query
  28275. name: goodsid
  28276. type: integer
  28277. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  28278. in: query
  28279. name: status
  28280. type: string
  28281. - description: 名称(模糊搜索账户)
  28282. in: query
  28283. name: filtername
  28284. type: string
  28285. produces:
  28286. - application/json
  28287. responses:
  28288. "200":
  28289. description: OK
  28290. schema:
  28291. items:
  28292. $ref: '#/definitions/models.QhjRStrategy'
  28293. type: array
  28294. "500":
  28295. description: Internal Server Error
  28296. schema:
  28297. $ref: '#/definitions/app.Response'
  28298. security:
  28299. - ApiKeyAuth: []
  28300. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  28301. tags:
  28302. - 大连千海金
  28303. /Qhj/QueryReckonPriceLog:
  28304. get:
  28305. parameters:
  28306. - description: 商品ID
  28307. in: query
  28308. name: goodsid
  28309. type: integer
  28310. - description: 交易日 格式(yyyymmdd)
  28311. in: query
  28312. name: tradedate
  28313. type: string
  28314. produces:
  28315. - application/json
  28316. responses:
  28317. "200":
  28318. description: OK
  28319. schema:
  28320. items:
  28321. $ref: '#/definitions/models.QhjReckonPriceLog'
  28322. type: array
  28323. "500":
  28324. description: Internal Server Error
  28325. schema:
  28326. $ref: '#/definitions/app.Response'
  28327. security:
  28328. - ApiKeyAuth: []
  28329. summary: 查询定投价(结算价)
  28330. tags:
  28331. - 大连千海金
  28332. /Qhj/QueryScoreLog:
  28333. get:
  28334. parameters:
  28335. - description: 用户ID
  28336. in: query
  28337. name: userid
  28338. required: true
  28339. type: integer
  28340. - description: 开始交易日(yyyymmdd)
  28341. in: query
  28342. name: begindate
  28343. type: string
  28344. - description: 结束交易日(yyyymmdd)
  28345. in: query
  28346. name: enddate
  28347. type: string
  28348. - description: 最近多少条
  28349. in: query
  28350. name: lastnum
  28351. type: integer
  28352. produces:
  28353. - application/json
  28354. responses:
  28355. "200":
  28356. description: OK
  28357. schema:
  28358. items:
  28359. $ref: '#/definitions/models.QhjScoreLog'
  28360. type: array
  28361. "500":
  28362. description: Internal Server Error
  28363. schema:
  28364. $ref: '#/definitions/app.Response'
  28365. security:
  28366. - ApiKeyAuth: []
  28367. summary: 查询积分流水(我的积分)
  28368. tags:
  28369. - 大连千海金
  28370. /Qhj/QuerySiteColumnDetail:
  28371. get:
  28372. parameters:
  28373. - description: 用户ID
  28374. in: query
  28375. name: userid
  28376. required: true
  28377. type: integer
  28378. produces:
  28379. - application/json
  28380. responses:
  28381. "200":
  28382. description: OK
  28383. schema:
  28384. items:
  28385. $ref: '#/definitions/models.QhjSiteColumnDetail'
  28386. type: array
  28387. "500":
  28388. description: Internal Server Error
  28389. schema:
  28390. $ref: '#/definitions/app.Response'
  28391. security:
  28392. - ApiKeyAuth: []
  28393. summary: 查询资讯
  28394. tags:
  28395. - 大连千海金
  28396. /Qhj/QueryTradeGoodsPickup:
  28397. get:
  28398. parameters:
  28399. - description: 用户ID
  28400. in: query
  28401. name: userid
  28402. required: true
  28403. type: integer
  28404. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  28405. 7:已拒绝 8:已撤销
  28406. in: query
  28407. name: takeorderstatus
  28408. type: integer
  28409. produces:
  28410. - application/json
  28411. responses:
  28412. "200":
  28413. description: OK
  28414. schema:
  28415. items:
  28416. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  28417. type: array
  28418. "500":
  28419. description: Internal Server Error
  28420. schema:
  28421. $ref: '#/definitions/app.Response'
  28422. security:
  28423. - ApiKeyAuth: []
  28424. summary: 查询提货
  28425. tags:
  28426. - 大连千海金
  28427. /Qhj/QueryUserCollectConfig:
  28428. get:
  28429. parameters:
  28430. - description: 用户ID
  28431. in: query
  28432. name: userid
  28433. required: true
  28434. type: integer
  28435. produces:
  28436. - application/json
  28437. responses:
  28438. "200":
  28439. description: OK
  28440. schema:
  28441. items:
  28442. $ref: '#/definitions/models.UserCollectConfig'
  28443. type: array
  28444. "500":
  28445. description: Internal Server Error
  28446. schema:
  28447. $ref: '#/definitions/app.Response'
  28448. security:
  28449. - ApiKeyAuth: []
  28450. summary: 查询提现账户设置
  28451. tags:
  28452. - 大连千海金
  28453. /Qhj/QueryUserReceiveInfo:
  28454. get:
  28455. parameters:
  28456. - description: 用户ID
  28457. in: query
  28458. name: userid
  28459. required: true
  28460. type: integer
  28461. produces:
  28462. - application/json
  28463. responses:
  28464. "200":
  28465. description: OK
  28466. schema:
  28467. items:
  28468. $ref: '#/definitions/models.UserReceiveInfo'
  28469. type: array
  28470. "500":
  28471. description: Internal Server Error
  28472. schema:
  28473. $ref: '#/definitions/app.Response'
  28474. security:
  28475. - ApiKeyAuth: []
  28476. summary: 查询收货地址信息
  28477. tags:
  28478. - 大连千海金
  28479. /QhjMgr/QueryAccountInOutApply:
  28480. get:
  28481. parameters:
  28482. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28483. in: query
  28484. name: querytype
  28485. required: true
  28486. type: integer
  28487. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28488. in: query
  28489. name: applystatus
  28490. type: integer
  28491. - description: 申请起始日期(格式yyyymmdd)
  28492. in: query
  28493. name: begindate
  28494. type: string
  28495. - description: 申请截止日期(格式yyyymmdd)
  28496. in: query
  28497. name: enddate
  28498. type: string
  28499. - description: 模糊搜索名称
  28500. in: query
  28501. name: likename
  28502. type: string
  28503. produces:
  28504. - application/json
  28505. responses:
  28506. "200":
  28507. description: OK
  28508. schema:
  28509. items:
  28510. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  28511. type: array
  28512. "500":
  28513. description: Internal Server Error
  28514. schema:
  28515. $ref: '#/definitions/app.Response'
  28516. security:
  28517. - ApiKeyAuth: []
  28518. summary: 查询充值提现
  28519. tags:
  28520. - 大连千海金(PCWeb)
  28521. /QhjMgr/QueryBrokerApply:
  28522. get:
  28523. parameters:
  28524. - description: 所属机构ID
  28525. in: query
  28526. name: userid
  28527. type: integer
  28528. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28529. in: query
  28530. name: filterstatus
  28531. type: string
  28532. - description: 名称(模糊匹配)
  28533. in: query
  28534. name: filtername
  28535. type: string
  28536. - description: 是否包含子级 1-包含
  28537. in: query
  28538. name: includesub
  28539. type: integer
  28540. produces:
  28541. - application/json
  28542. responses:
  28543. "200":
  28544. description: OK
  28545. schema:
  28546. items:
  28547. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28548. type: array
  28549. "500":
  28550. description: Internal Server Error
  28551. schema:
  28552. $ref: '#/definitions/app.Response'
  28553. security:
  28554. - ApiKeyAuth: []
  28555. summary: 查询经纪人申请
  28556. tags:
  28557. - 大连千海金(PCWeb)
  28558. /QhjMgr/QueryBrokerRewardReport:
  28559. get:
  28560. parameters:
  28561. - description: 所属机构ID
  28562. in: query
  28563. name: userid
  28564. required: true
  28565. type: integer
  28566. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28567. in: query
  28568. name: cycletype
  28569. required: true
  28570. type: integer
  28571. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28572. in: query
  28573. name: cycletime
  28574. required: true
  28575. type: string
  28576. - description: 名称(模糊匹配)
  28577. in: query
  28578. name: filtername
  28579. type: string
  28580. - description: 是否包含子级 1-包含
  28581. in: query
  28582. name: includesub
  28583. type: integer
  28584. produces:
  28585. - application/json
  28586. responses:
  28587. "200":
  28588. description: OK
  28589. schema:
  28590. items:
  28591. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  28592. type: array
  28593. "500":
  28594. description: Internal Server Error
  28595. schema:
  28596. $ref: '#/definitions/app.Response'
  28597. security:
  28598. - ApiKeyAuth: []
  28599. summary: 查询经纪人奖励报表(废弃)
  28600. tags:
  28601. - 大连千海金(PCWeb)
  28602. /QhjMgr/QueryContract:
  28603. get:
  28604. parameters:
  28605. - description: 用户ID
  28606. in: query
  28607. name: userid
  28608. type: integer
  28609. - description: 商品id
  28610. in: query
  28611. name: goodsid
  28612. type: integer
  28613. - description: 名称(模糊搜索账户)
  28614. in: query
  28615. name: filtername
  28616. type: string
  28617. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  28618. in: query
  28619. name: risklevel
  28620. type: string
  28621. - description: 开始交易日(yyyymmdd)
  28622. in: query
  28623. name: begindate
  28624. type: string
  28625. - description: 结束交易日(yyyymmdd)
  28626. in: query
  28627. name: enddate
  28628. type: string
  28629. produces:
  28630. - application/json
  28631. responses:
  28632. "200":
  28633. description: OK
  28634. schema:
  28635. items:
  28636. $ref: '#/definitions/models.QhjMgrContract'
  28637. type: array
  28638. "500":
  28639. description: Internal Server Error
  28640. schema:
  28641. $ref: '#/definitions/app.Response'
  28642. security:
  28643. - ApiKeyAuth: []
  28644. summary: 查询融资信息(合同)
  28645. tags:
  28646. - 大连千海金(PCWeb)
  28647. /QhjMgr/QueryCustomerInfo:
  28648. get:
  28649. parameters:
  28650. - description: 用户ID
  28651. in: query
  28652. name: userid
  28653. required: true
  28654. type: integer
  28655. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28656. in: query
  28657. name: querytype
  28658. required: true
  28659. type: integer
  28660. - description: 客户类型 1-个人 2-企业
  28661. in: query
  28662. name: userinfotype
  28663. type: integer
  28664. - description: 客户名称(模糊匹配)
  28665. in: query
  28666. name: customername
  28667. type: string
  28668. - description: 昵称(模糊匹配)
  28669. in: query
  28670. name: nickname
  28671. type: string
  28672. - description: 所属客户经理(模糊匹配)
  28673. in: query
  28674. name: brokername
  28675. type: string
  28676. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  28677. 如0503 -5月3日)
  28678. in: query
  28679. name: birthday
  28680. type: string
  28681. - description: 是否包含子级 1-包含
  28682. in: query
  28683. name: includesub
  28684. type: integer
  28685. produces:
  28686. - application/json
  28687. responses:
  28688. "200":
  28689. description: OK
  28690. schema:
  28691. items:
  28692. $ref: '#/definitions/models.QhjMgrCustomer'
  28693. type: array
  28694. "500":
  28695. description: Internal Server Error
  28696. schema:
  28697. $ref: '#/definitions/app.Response'
  28698. security:
  28699. - ApiKeyAuth: []
  28700. summary: 查询客户资料
  28701. tags:
  28702. - 大连千海金(PCWeb)
  28703. /QhjMgr/QueryPickGoods:
  28704. get:
  28705. parameters:
  28706. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28707. in: query
  28708. name: status
  28709. type: string
  28710. produces:
  28711. - application/json
  28712. responses:
  28713. "200":
  28714. description: OK
  28715. schema:
  28716. items:
  28717. $ref: '#/definitions/models.QhjMgrPickGoods'
  28718. type: array
  28719. "500":
  28720. description: Internal Server Error
  28721. schema:
  28722. $ref: '#/definitions/app.Response'
  28723. security:
  28724. - ApiKeyAuth: []
  28725. summary: 查询提货商品
  28726. tags:
  28727. - 大连千海金(PCWeb)
  28728. /QhjMgr/QuerySubArea:
  28729. get:
  28730. parameters:
  28731. - description: 用户ID
  28732. in: query
  28733. name: userid
  28734. required: true
  28735. type: integer
  28736. produces:
  28737. - application/json
  28738. responses:
  28739. "200":
  28740. description: OK
  28741. schema:
  28742. items:
  28743. $ref: '#/definitions/models.QhjMgrSubArea'
  28744. type: array
  28745. "500":
  28746. description: Internal Server Error
  28747. schema:
  28748. $ref: '#/definitions/app.Response'
  28749. security:
  28750. - ApiKeyAuth: []
  28751. summary: 查询子机构列表
  28752. tags:
  28753. - 大连千海金(PCWeb)
  28754. /QhjMgr/QueryTradeDetail:
  28755. get:
  28756. parameters:
  28757. - description: 用户ID
  28758. in: query
  28759. name: userid
  28760. required: true
  28761. type: integer
  28762. - description: 用户类型 1-个人 2-企业
  28763. in: query
  28764. name: userinfotype
  28765. type: integer
  28766. - description: 交易模式
  28767. in: query
  28768. name: trademode
  28769. type: integer
  28770. - description: 商品id
  28771. in: query
  28772. name: goodsid
  28773. type: integer
  28774. - description: 名称(模糊搜索账户)
  28775. in: query
  28776. name: filtername
  28777. type: string
  28778. - description: 开始交易日(yyyymmdd)
  28779. in: query
  28780. name: begindate
  28781. type: string
  28782. - description: 结束交易日(yyyymmdd)
  28783. in: query
  28784. name: enddate
  28785. type: string
  28786. - description: 是否包含子级 1-包含
  28787. in: query
  28788. name: includesub
  28789. type: integer
  28790. produces:
  28791. - application/json
  28792. responses:
  28793. "200":
  28794. description: OK
  28795. schema:
  28796. items:
  28797. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  28798. type: array
  28799. "500":
  28800. description: Internal Server Error
  28801. schema:
  28802. $ref: '#/definitions/app.Response'
  28803. security:
  28804. - ApiKeyAuth: []
  28805. summary: 查询成交明细
  28806. tags:
  28807. - 大连千海金(PCWeb)
  28808. /QhjMgr/QueryTradeOrderDetail:
  28809. get:
  28810. parameters:
  28811. - description: 用户ID
  28812. in: query
  28813. name: userid
  28814. required: true
  28815. type: integer
  28816. - description: 用户类型 1-个人 2-企业
  28817. in: query
  28818. name: userinfotype
  28819. type: integer
  28820. - description: 交易模式
  28821. in: query
  28822. name: trademode
  28823. type: integer
  28824. - description: 商品id
  28825. in: query
  28826. name: goodsid
  28827. type: integer
  28828. - description: 名称(模糊搜索账户)
  28829. in: query
  28830. name: filtername
  28831. type: string
  28832. - description: 开始交易日(yyyymmdd)
  28833. in: query
  28834. name: begindate
  28835. type: string
  28836. - description: 结束交易日(yyyymmdd)
  28837. in: query
  28838. name: enddate
  28839. type: string
  28840. - description: 是否包含子级 1-包含
  28841. in: query
  28842. name: includesub
  28843. type: integer
  28844. produces:
  28845. - application/json
  28846. responses:
  28847. "200":
  28848. description: OK
  28849. schema:
  28850. items:
  28851. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  28852. type: array
  28853. "500":
  28854. description: Internal Server Error
  28855. schema:
  28856. $ref: '#/definitions/app.Response'
  28857. security:
  28858. - ApiKeyAuth: []
  28859. summary: 查询委托明细
  28860. tags:
  28861. - 大连千海金(PCWeb)
  28862. /QhjMgr/QueryTradePayOrder:
  28863. get:
  28864. parameters:
  28865. - description: 用户ID
  28866. in: query
  28867. name: userid
  28868. required: true
  28869. type: integer
  28870. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28871. in: query
  28872. name: payflag
  28873. type: string
  28874. - description: 用户类型 1-个人 2-企业
  28875. in: query
  28876. name: userinfotype
  28877. type: integer
  28878. - description: 交易模式
  28879. in: query
  28880. name: trademode
  28881. type: integer
  28882. - description: 商品id
  28883. in: query
  28884. name: goodsid
  28885. type: integer
  28886. - description: 名称(模糊搜索账户)
  28887. in: query
  28888. name: filtername
  28889. type: string
  28890. - description: 开始交易日(yyyymmdd)
  28891. in: query
  28892. name: begindate
  28893. type: string
  28894. - description: 结束交易日(yyyymmdd)
  28895. in: query
  28896. name: enddate
  28897. type: string
  28898. - description: 是否包含子级 1-包含
  28899. in: query
  28900. name: includesub
  28901. type: integer
  28902. produces:
  28903. - application/json
  28904. responses:
  28905. "200":
  28906. description: OK
  28907. schema:
  28908. items:
  28909. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  28910. type: array
  28911. "500":
  28912. description: Internal Server Error
  28913. schema:
  28914. $ref: '#/definitions/app.Response'
  28915. security:
  28916. - ApiKeyAuth: []
  28917. summary: 查询待付款单
  28918. tags:
  28919. - 大连千海金(PCWeb)
  28920. /QhjMgr/QueryTradePosition:
  28921. get:
  28922. parameters:
  28923. - description: 用户ID
  28924. in: query
  28925. name: userid
  28926. required: true
  28927. type: integer
  28928. - description: 用户类型 1-个人 2-企业
  28929. in: query
  28930. name: userinfotype
  28931. type: integer
  28932. - description: 交易模式
  28933. in: query
  28934. name: trademode
  28935. type: integer
  28936. - description: 商品id
  28937. in: query
  28938. name: goodsid
  28939. type: integer
  28940. - description: 名称(模糊搜索账户)
  28941. in: query
  28942. name: filtername
  28943. type: string
  28944. - description: 是否包含子级 1-包含
  28945. in: query
  28946. name: includesub
  28947. type: integer
  28948. produces:
  28949. - application/json
  28950. responses:
  28951. "200":
  28952. description: OK
  28953. schema:
  28954. items:
  28955. $ref: '#/definitions/models.QhjMgrPositionRsp'
  28956. type: array
  28957. "500":
  28958. description: Internal Server Error
  28959. schema:
  28960. $ref: '#/definitions/app.Response'
  28961. security:
  28962. - ApiKeyAuth: []
  28963. summary: 查询持仓汇总
  28964. tags:
  28965. - 大连千海金(PCWeb)
  28966. /QhjSys/QueryAgreementChangeLog:
  28967. get:
  28968. parameters:
  28969. - description: 协议ID
  28970. in: query
  28971. name: agreementid
  28972. type: integer
  28973. - description: 协议版本号
  28974. in: query
  28975. name: agreementversion
  28976. type: integer
  28977. - description: 协议类型 - 1:注册 2:登录 3:交易
  28978. in: query
  28979. name: agreementtype
  28980. type: integer
  28981. - description: 协议编号(模糊匹配)
  28982. in: query
  28983. name: agreementno
  28984. type: string
  28985. - description: 协议名称(模糊匹配)
  28986. in: query
  28987. name: agreementname
  28988. type: string
  28989. produces:
  28990. - application/json
  28991. responses:
  28992. "200":
  28993. description: OK
  28994. schema:
  28995. items:
  28996. $ref: '#/definitions/models.QhjAgreementChangeLog'
  28997. type: array
  28998. "500":
  28999. description: Internal Server Error
  29000. schema:
  29001. $ref: '#/definitions/app.Response'
  29002. security:
  29003. - ApiKeyAuth: []
  29004. summary: 查询协议配置变更流水
  29005. tags:
  29006. - 大连千海金(协议和签约信息)
  29007. /QhjSys/QueryAgreementConfig:
  29008. get:
  29009. parameters:
  29010. - description: 协议ID
  29011. in: query
  29012. name: agreementid
  29013. type: integer
  29014. - description: 协议版本号
  29015. in: query
  29016. name: agreementversion
  29017. type: integer
  29018. - description: 协议类型 - 1:注册 2:登录 3:交易
  29019. in: query
  29020. name: agreementtype
  29021. type: integer
  29022. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  29023. in: query
  29024. name: isvalid
  29025. type: integer
  29026. - description: 协议编号(模糊匹配)
  29027. in: query
  29028. name: agreementno
  29029. type: string
  29030. - description: 协议名称(模糊匹配)
  29031. in: query
  29032. name: agreementname
  29033. type: string
  29034. produces:
  29035. - application/json
  29036. responses:
  29037. "200":
  29038. description: OK
  29039. schema:
  29040. items:
  29041. $ref: '#/definitions/models.QhjAgreementConfig'
  29042. type: array
  29043. "500":
  29044. description: Internal Server Error
  29045. schema:
  29046. $ref: '#/definitions/app.Response'
  29047. security:
  29048. - ApiKeyAuth: []
  29049. summary: 查询协议配置
  29050. tags:
  29051. - 大连千海金(协议和签约信息)
  29052. /QhjSys/QueryCustomerSignStatus:
  29053. get:
  29054. parameters:
  29055. - description: 客户ID
  29056. in: query
  29057. name: userid
  29058. type: integer
  29059. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  29060. in: query
  29061. name: nodetype
  29062. type: integer
  29063. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29064. in: query
  29065. name: goodsid
  29066. type: integer
  29067. - description: 创建交易日(yyyyMMdd)
  29068. in: query
  29069. name: tradedate
  29070. type: string
  29071. - description: 用户名称(模糊匹配)
  29072. in: query
  29073. name: username
  29074. type: string
  29075. produces:
  29076. - application/json
  29077. responses:
  29078. "200":
  29079. description: OK
  29080. schema:
  29081. items:
  29082. $ref: '#/definitions/models.QhjCustomerSignStatus'
  29083. type: array
  29084. "500":
  29085. description: Internal Server Error
  29086. schema:
  29087. $ref: '#/definitions/app.Response'
  29088. security:
  29089. - ApiKeyAuth: []
  29090. summary: 查询客户协议签约状态
  29091. tags:
  29092. - 大连千海金(协议和签约信息)
  29093. /QhjSys/QueryNodeAgreementConfig:
  29094. get:
  29095. parameters:
  29096. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29097. in: query
  29098. name: configid
  29099. type: integer
  29100. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29101. in: query
  29102. name: nodetype
  29103. type: integer
  29104. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29105. in: query
  29106. name: goodsid
  29107. type: integer
  29108. - description: 协议ID
  29109. in: query
  29110. name: agreementid
  29111. type: integer
  29112. - description: 协议类型 - 1:注册 2:登录 3:交易
  29113. in: query
  29114. name: agreementtype
  29115. type: integer
  29116. - description: 协议版本号
  29117. in: query
  29118. name: agreementversion
  29119. type: integer
  29120. - description: 协议编号(模糊匹配)
  29121. in: query
  29122. name: agreementno
  29123. type: string
  29124. - description: 协议名称(模糊匹配)
  29125. in: query
  29126. name: agreementname
  29127. type: string
  29128. produces:
  29129. - application/json
  29130. responses:
  29131. "200":
  29132. description: OK
  29133. schema:
  29134. items:
  29135. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  29136. type: array
  29137. "500":
  29138. description: Internal Server Error
  29139. schema:
  29140. $ref: '#/definitions/app.Response'
  29141. security:
  29142. - ApiKeyAuth: []
  29143. summary: 查询协议节点配置
  29144. tags:
  29145. - 大连千海金(协议和签约信息)
  29146. /QhjSys/QueryQhjCustomerSignLog:
  29147. get:
  29148. parameters:
  29149. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  29150. in: query
  29151. name: logid
  29152. type: integer
  29153. - description: 客户ID
  29154. in: query
  29155. name: userid
  29156. type: integer
  29157. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29158. in: query
  29159. name: nodetype
  29160. type: integer
  29161. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29162. in: query
  29163. name: goodsid
  29164. type: integer
  29165. - description: 协议ID
  29166. in: query
  29167. name: agreementid
  29168. type: integer
  29169. - description: 用户名称(模糊匹配)
  29170. in: query
  29171. name: username
  29172. type: string
  29173. - description: 协议编号(模糊匹配)
  29174. in: query
  29175. name: agreementno
  29176. type: string
  29177. - description: 协议名称(模糊匹配)
  29178. in: query
  29179. name: agreementname
  29180. type: string
  29181. produces:
  29182. - application/json
  29183. responses:
  29184. "200":
  29185. description: OK
  29186. schema:
  29187. items:
  29188. $ref: '#/definitions/models.QhjCustomerSignLog'
  29189. type: array
  29190. "500":
  29191. description: Internal Server Error
  29192. schema:
  29193. $ref: '#/definitions/app.Response'
  29194. security:
  29195. - ApiKeyAuth: []
  29196. summary: 查询客户协议签约流水
  29197. tags:
  29198. - 大连千海金(协议和签约信息)
  29199. /QhjSys/QueryUserNodeCfgAndStatus:
  29200. get:
  29201. parameters:
  29202. - description: 客户ID
  29203. in: query
  29204. name: userid
  29205. type: integer
  29206. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29207. in: query
  29208. name: configid
  29209. type: integer
  29210. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29211. in: query
  29212. name: nodetype
  29213. type: string
  29214. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29215. in: query
  29216. name: goodsid
  29217. type: integer
  29218. - description: 协议ID
  29219. in: query
  29220. name: agreementid
  29221. type: integer
  29222. - description: 协议类型 - 1:注册 2:登录 3:交易
  29223. in: query
  29224. name: agreementtype
  29225. type: integer
  29226. - description: 协议版本号
  29227. in: query
  29228. name: agreementversion
  29229. type: integer
  29230. - description: 协议编号(模糊匹配)
  29231. in: query
  29232. name: agreementno
  29233. type: string
  29234. - description: 协议名称(模糊匹配)
  29235. in: query
  29236. name: agreementname
  29237. type: string
  29238. produces:
  29239. - application/json
  29240. responses:
  29241. "200":
  29242. description: OK
  29243. schema:
  29244. items:
  29245. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  29246. type: array
  29247. "500":
  29248. description: Internal Server Error
  29249. schema:
  29250. $ref: '#/definitions/app.Response'
  29251. security:
  29252. - ApiKeyAuth: []
  29253. summary: 查询用户协议节点配置和状态
  29254. tags:
  29255. - 大连千海金(协议和签约信息)
  29256. /Quote/QueryHistoryDatas:
  29257. get:
  29258. parameters:
  29259. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  29260. 日线 12:周线 13:月线 14:年线'
  29261. in: query
  29262. name: cycleType
  29263. required: true
  29264. type: integer
  29265. - description: 商品代码
  29266. in: query
  29267. name: goodsCode
  29268. required: true
  29269. type: string
  29270. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29271. in: query
  29272. name: startTime
  29273. type: string
  29274. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29275. in: query
  29276. name: endTime
  29277. type: string
  29278. - description: 条数
  29279. in: query
  29280. name: count
  29281. type: integer
  29282. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29283. in: query
  29284. name: isAsc
  29285. type: boolean
  29286. produces:
  29287. - application/json
  29288. responses:
  29289. "200":
  29290. description: OK
  29291. schema:
  29292. $ref: '#/definitions/quote.HistoryData'
  29293. "500":
  29294. description: Internal Server Error
  29295. schema:
  29296. $ref: '#/definitions/app.Response'
  29297. security:
  29298. - ApiKeyAuth: []
  29299. summary: 查询行情历史数据
  29300. tags:
  29301. - 行情服务
  29302. /Quote/QueryHistoryTikDatas:
  29303. get:
  29304. parameters:
  29305. - description: 商品代码
  29306. in: query
  29307. name: goodsCode
  29308. required: true
  29309. type: string
  29310. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29311. in: query
  29312. name: startTime
  29313. type: string
  29314. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29315. in: query
  29316. name: endTime
  29317. type: string
  29318. - description: 条数
  29319. in: query
  29320. name: count
  29321. type: integer
  29322. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29323. in: query
  29324. name: isAsc
  29325. type: boolean
  29326. produces:
  29327. - application/json
  29328. responses:
  29329. "200":
  29330. description: OK
  29331. schema:
  29332. $ref: '#/definitions/quote.HistoryTikData'
  29333. "500":
  29334. description: Internal Server Error
  29335. schema:
  29336. $ref: '#/definitions/app.Response'
  29337. security:
  29338. - ApiKeyAuth: []
  29339. summary: 查询行情Tik数据
  29340. tags:
  29341. - 行情服务
  29342. /Quote/QueryQuoteDay:
  29343. get:
  29344. parameters:
  29345. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  29346. in: query
  29347. name: goodsCodes
  29348. type: string
  29349. produces:
  29350. - application/json
  29351. responses:
  29352. "200":
  29353. description: OK
  29354. schema:
  29355. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  29356. "500":
  29357. description: Internal Server Error
  29358. schema:
  29359. $ref: '#/definitions/app.Response'
  29360. security:
  29361. - ApiKeyAuth: []
  29362. summary: 获取商品盘面信息
  29363. tags:
  29364. - 行情服务
  29365. /Quote/QueryTSData:
  29366. get:
  29367. parameters:
  29368. - description: 商品代码
  29369. in: query
  29370. name: goodsCode
  29371. required: true
  29372. type: string
  29373. produces:
  29374. - application/json
  29375. responses:
  29376. "200":
  29377. description: OK
  29378. schema:
  29379. $ref: '#/definitions/quote.QueryTSDataRsp'
  29380. "500":
  29381. description: Internal Server Error
  29382. schema:
  29383. $ref: '#/definitions/app.Response'
  29384. security:
  29385. - ApiKeyAuth: []
  29386. summary: 分时图数据查询
  29387. tags:
  29388. - 行情服务
  29389. /SZDZ/QueryConvertConfig:
  29390. get:
  29391. parameters:
  29392. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  29393. 6:交易转花生米(不设置)
  29394. in: query
  29395. name: convertType
  29396. type: integer
  29397. - description: 外部商品代码[JD\PD]
  29398. in: query
  29399. name: outerGoodsCode
  29400. type: string
  29401. - description: 内部商品ID列表[交易],格式:1,2,3
  29402. in: query
  29403. name: innerGoodsIDs
  29404. type: string
  29405. produces:
  29406. - application/json
  29407. responses:
  29408. "200":
  29409. description: OK
  29410. schema:
  29411. $ref: '#/definitions/models.Szdz3convertconfig'
  29412. "500":
  29413. description: Internal Server Error
  29414. schema:
  29415. $ref: '#/definitions/app.Response'
  29416. security:
  29417. - ApiKeyAuth: []
  29418. summary: 查询交易系统转换设置
  29419. tags:
  29420. - 定制【尚志大宗】
  29421. /SZDZ/QueryConvertLog:
  29422. get:
  29423. parameters:
  29424. - description: 资金账户 - 格式:1,2,3
  29425. in: query
  29426. name: accountID
  29427. required: true
  29428. type: string
  29429. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29430. in: query
  29431. name: startDate
  29432. type: string
  29433. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29434. in: query
  29435. name: endDate
  29436. type: string
  29437. produces:
  29438. - application/json
  29439. responses:
  29440. "200":
  29441. description: OK
  29442. schema:
  29443. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29444. "500":
  29445. description: Internal Server Error
  29446. schema:
  29447. $ref: '#/definitions/app.Response'
  29448. security:
  29449. - ApiKeyAuth: []
  29450. summary: 交易系统转换流水查询
  29451. tags:
  29452. - 定制【尚志大宗】
  29453. /SZDZ/QueryGoodsPickup:
  29454. get:
  29455. parameters:
  29456. - description: 资金账户 - 格式:1,2,3
  29457. in: query
  29458. name: accountID
  29459. required: true
  29460. type: string
  29461. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29462. in: query
  29463. name: takeOrderStatus
  29464. type: integer
  29465. produces:
  29466. - application/json
  29467. responses:
  29468. "200":
  29469. description: OK
  29470. schema:
  29471. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29472. "500":
  29473. description: Internal Server Error
  29474. schema:
  29475. $ref: '#/definitions/app.Response'
  29476. security:
  29477. - ApiKeyAuth: []
  29478. summary: 商品提货单查询
  29479. tags:
  29480. - 定制【尚志大宗】
  29481. /SZDZ/QueryRecieptOrder:
  29482. get:
  29483. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29484. parameters:
  29485. - description: 页码
  29486. in: query
  29487. name: page
  29488. type: integer
  29489. - description: 每页条数
  29490. in: query
  29491. name: pagesize
  29492. type: integer
  29493. - description: 商品ID
  29494. in: query
  29495. name: goodsID
  29496. required: true
  29497. type: integer
  29498. - description: 所属账户名称
  29499. in: query
  29500. name: accountName
  29501. type: string
  29502. - description: 市场ID
  29503. in: query
  29504. name: marketID
  29505. type: integer
  29506. - description: 方向 - 0:买 1:卖
  29507. in: query
  29508. name: buyorsell
  29509. required: true
  29510. type: integer
  29511. produces:
  29512. - application/json
  29513. responses:
  29514. "200":
  29515. description: OK
  29516. schema:
  29517. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29518. "500":
  29519. description: Internal Server Error
  29520. schema:
  29521. $ref: '#/definitions/app.Response'
  29522. security:
  29523. - ApiKeyAuth: []
  29524. summary: 点选挂牌委托单据查询(摘牌大厅)
  29525. tags:
  29526. - 定制【尚志大宗】
  29527. /SZDZ/QuerySZDZTradePosition:
  29528. get:
  29529. parameters:
  29530. - description: 资金账户
  29531. in: query
  29532. name: accountID
  29533. required: true
  29534. type: integer
  29535. produces:
  29536. - application/json
  29537. responses:
  29538. "200":
  29539. description: OK
  29540. schema:
  29541. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29542. "500":
  29543. description: Internal Server Error
  29544. schema:
  29545. $ref: '#/definitions/app.Response'
  29546. security:
  29547. - ApiKeyAuth: []
  29548. summary: 持仓汇总查询(尚志大宗)
  29549. tags:
  29550. - 定制【尚志大宗】
  29551. /SZDZ/SearchWhite:
  29552. get:
  29553. parameters:
  29554. - description: 用户ID
  29555. in: query
  29556. name: userID
  29557. required: true
  29558. type: integer
  29559. produces:
  29560. - application/json
  29561. responses:
  29562. "200":
  29563. description: OK
  29564. schema:
  29565. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29566. "500":
  29567. description: Internal Server Error
  29568. schema:
  29569. $ref: '#/definitions/app.Response'
  29570. security:
  29571. - ApiKeyAuth: []
  29572. summary: 搜索白名单
  29573. tags:
  29574. - 定制【尚志大宗】
  29575. /Search/SearchGoodses:
  29576. get:
  29577. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29578. parameters:
  29579. - description: 检索内容
  29580. in: query
  29581. name: content
  29582. required: true
  29583. type: string
  29584. - description: 交易模式,格式:1,2,3
  29585. in: query
  29586. name: tradeModes
  29587. type: string
  29588. produces:
  29589. - application/json
  29590. responses:
  29591. "200":
  29592. description: OK
  29593. schema:
  29594. $ref: '#/definitions/models.SearchGoods'
  29595. "500":
  29596. description: Internal Server Error
  29597. schema:
  29598. $ref: '#/definitions/app.Response'
  29599. summary: 检索商品信息
  29600. tags:
  29601. - 检索服务
  29602. /TaAccount/GetTaAccounts:
  29603. get:
  29604. parameters:
  29605. - description: 登录账户
  29606. in: query
  29607. name: loginID
  29608. required: true
  29609. type: integer
  29610. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  29611. in: query
  29612. name: taAccountType
  29613. type: integer
  29614. produces:
  29615. - application/json
  29616. responses:
  29617. "200":
  29618. description: OK
  29619. schema:
  29620. $ref: '#/definitions/models.Taaccount'
  29621. "500":
  29622. description: Internal Server Error
  29623. schema:
  29624. $ref: '#/definitions/app.Response'
  29625. security:
  29626. - ApiKeyAuth: []
  29627. summary: 获取资金账户信息
  29628. tags:
  29629. - 资金账户
  29630. /TaAccount/QueryAmountLog:
  29631. get:
  29632. parameters:
  29633. - description: 页码
  29634. in: query
  29635. name: page
  29636. type: integer
  29637. - description: 每页条数
  29638. in: query
  29639. name: pagesize
  29640. type: integer
  29641. - description: 资金账户 - 格式:1,2,3
  29642. in: query
  29643. name: accountID
  29644. required: true
  29645. type: string
  29646. - description: 资金操作类型 - 格式:1,2,3
  29647. in: query
  29648. name: OperateType
  29649. type: string
  29650. produces:
  29651. - application/json
  29652. responses:
  29653. "200":
  29654. description: OK
  29655. schema:
  29656. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  29657. "500":
  29658. description: Internal Server Error
  29659. schema:
  29660. $ref: '#/definitions/app.Response'
  29661. security:
  29662. - ApiKeyAuth: []
  29663. summary: 资金流水查询(当前)
  29664. tags:
  29665. - 资金账户
  29666. /TaAccount/QueryHisAmountLog:
  29667. get:
  29668. parameters:
  29669. - description: 页码
  29670. in: query
  29671. name: page
  29672. type: integer
  29673. - description: 每页条数
  29674. in: query
  29675. name: pagesize
  29676. type: integer
  29677. - description: 资金账户 - 格式:1,2,3
  29678. in: query
  29679. name: accountID
  29680. required: true
  29681. type: string
  29682. - description: 资金操作类型 - 格式:1,2,3
  29683. in: query
  29684. name: OperateType
  29685. type: string
  29686. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29687. in: query
  29688. name: startDate
  29689. type: string
  29690. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29691. in: query
  29692. name: endDate
  29693. type: string
  29694. produces:
  29695. - application/json
  29696. responses:
  29697. "200":
  29698. description: OK
  29699. schema:
  29700. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  29701. "500":
  29702. description: Internal Server Error
  29703. schema:
  29704. $ref: '#/definitions/app.Response'
  29705. security:
  29706. - ApiKeyAuth: []
  29707. summary: 资金流水查询(历史)
  29708. tags:
  29709. - 资金账户
  29710. /TaAccount/QueryRelatedTaAccount:
  29711. get:
  29712. parameters:
  29713. - description: 关联UserID
  29714. in: query
  29715. name: relateduserid
  29716. required: true
  29717. type: integer
  29718. produces:
  29719. - application/json
  29720. responses:
  29721. "200":
  29722. description: OK
  29723. schema:
  29724. items:
  29725. $ref: '#/definitions/models.RelatedTaAccount'
  29726. type: array
  29727. "500":
  29728. description: Internal Server Error
  29729. schema:
  29730. $ref: '#/definitions/app.Response'
  29731. security:
  29732. - ApiKeyAuth: []
  29733. summary: 查询关联资金账户信息
  29734. tags:
  29735. - 资金账户
  29736. /Tjmd/QueryQuoteGoodsList:
  29737. get:
  29738. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  29739. parameters:
  29740. - description: 用户类型
  29741. in: query
  29742. name: usertype
  29743. required: true
  29744. type: integer
  29745. - description: 市场id, 格式 1,2,3
  29746. in: query
  29747. name: marketids
  29748. type: string
  29749. - description: 商品组id
  29750. in: query
  29751. name: goodsgroupid
  29752. type: integer
  29753. - description: 商品id
  29754. in: query
  29755. name: goodsid
  29756. type: integer
  29757. produces:
  29758. - application/json
  29759. responses:
  29760. "200":
  29761. description: OK
  29762. schema:
  29763. items:
  29764. $ref: '#/definitions/models.TjmdQuoteGoods'
  29765. type: array
  29766. "500":
  29767. description: Internal Server Error
  29768. schema:
  29769. $ref: '#/definitions/app.Response'
  29770. security:
  29771. - ApiKeyAuth: []
  29772. summary: 查询掉期报价列表
  29773. tags:
  29774. - 天津麦顿
  29775. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  29776. get:
  29777. parameters:
  29778. - description: 成交单号
  29779. in: query
  29780. name: tradeid
  29781. required: true
  29782. type: string
  29783. produces:
  29784. - application/json
  29785. responses:
  29786. "200":
  29787. description: OK
  29788. schema:
  29789. items:
  29790. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  29791. type: array
  29792. "500":
  29793. description: Internal Server Error
  29794. schema:
  29795. $ref: '#/definitions/app.Response'
  29796. security:
  29797. - ApiKeyAuth: []
  29798. summary: 掉期商品订单详情(交易确认书)
  29799. tags:
  29800. - 天津麦顿
  29801. /Tjmd/QueryTjmdMarketSection:
  29802. get:
  29803. produces:
  29804. - application/json
  29805. responses:
  29806. "200":
  29807. description: OK
  29808. schema:
  29809. items:
  29810. $ref: '#/definitions/models.TjmdMarketSection'
  29811. type: array
  29812. "500":
  29813. description: Internal Server Error
  29814. schema:
  29815. $ref: '#/definitions/app.Response'
  29816. security:
  29817. - ApiKeyAuth: []
  29818. summary: 查询市场板块
  29819. tags:
  29820. - 天津麦顿
  29821. /Tjmd/QueryTjmdTodayAccountMargin:
  29822. get:
  29823. parameters:
  29824. - description: 市场id
  29825. in: query
  29826. name: marketid
  29827. type: string
  29828. - description: 商品id
  29829. in: query
  29830. name: goodsid
  29831. type: string
  29832. - description: 资金账号
  29833. in: query
  29834. name: accountid
  29835. type: string
  29836. produces:
  29837. - application/json
  29838. responses:
  29839. "200":
  29840. description: OK
  29841. schema:
  29842. items:
  29843. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  29844. type: array
  29845. "500":
  29846. description: Internal Server Error
  29847. schema:
  29848. $ref: '#/definitions/app.Response'
  29849. security:
  29850. - ApiKeyAuth: []
  29851. summary: 查询今日账户保证金配置
  29852. tags:
  29853. - 天津麦顿
  29854. /Tjmd/QueryTjmdTradeOrderDetail:
  29855. get:
  29856. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  29857. parameters:
  29858. - description: 页码
  29859. in: query
  29860. name: page
  29861. type: integer
  29862. - description: 每页条数
  29863. in: query
  29864. name: pagesize
  29865. type: integer
  29866. - description: 用户id
  29867. in: query
  29868. name: userid
  29869. required: true
  29870. type: integer
  29871. - description: 用户类型
  29872. in: query
  29873. name: usertype
  29874. required: true
  29875. type: integer
  29876. - description: 市场id, 格式 1,2,3
  29877. in: query
  29878. name: marketids
  29879. type: string
  29880. - description: 商品id
  29881. in: query
  29882. name: goodsid
  29883. required: true
  29884. type: integer
  29885. - description: 买卖方向 0-买 1-卖
  29886. in: query
  29887. name: buyorsell
  29888. required: true
  29889. type: integer
  29890. produces:
  29891. - application/json
  29892. responses:
  29893. "200":
  29894. description: OK
  29895. schema:
  29896. items:
  29897. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  29898. type: array
  29899. "500":
  29900. description: Internal Server Error
  29901. schema:
  29902. $ref: '#/definitions/app.Response'
  29903. security:
  29904. - ApiKeyAuth: []
  29905. summary: 查询掉期买卖大厅
  29906. tags:
  29907. - 天津麦顿
  29908. /Tjmd/QueryTjmdTransferApply:
  29909. get:
  29910. parameters:
  29911. - description: 类型 1-我的申请 2-对方申请
  29912. in: query
  29913. name: applytype
  29914. required: true
  29915. type: integer
  29916. - description: 市场id, 格式 1,2,3
  29917. in: query
  29918. name: marketids
  29919. type: string
  29920. - description: 资金账号, 格式 25000000001,25000000003
  29921. in: query
  29922. name: accountids
  29923. type: string
  29924. - description: 开始交易日(yyyymmdd)
  29925. in: query
  29926. name: begindate
  29927. type: string
  29928. - description: 结束交易日(yyyymmdd)
  29929. in: query
  29930. name: enddate
  29931. type: string
  29932. produces:
  29933. - application/json
  29934. responses:
  29935. "200":
  29936. description: OK
  29937. schema:
  29938. items:
  29939. $ref: '#/definitions/models.TjmdTransferApply'
  29940. type: array
  29941. "500":
  29942. description: Internal Server Error
  29943. schema:
  29944. $ref: '#/definitions/app.Response'
  29945. security:
  29946. - ApiKeyAuth: []
  29947. summary: 查询掉期协议单
  29948. tags:
  29949. - 天津麦顿
  29950. /Trade/QueryRecieptOrder:
  29951. get:
  29952. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29953. parameters:
  29954. - description: 页码
  29955. in: query
  29956. name: page
  29957. type: integer
  29958. - description: 每页条数
  29959. in: query
  29960. name: pagesize
  29961. type: integer
  29962. - description: 商品ID
  29963. in: query
  29964. name: goodsID
  29965. required: true
  29966. type: integer
  29967. - description: 所属账户名称
  29968. in: query
  29969. name: accountName
  29970. type: string
  29971. - description: 市场ID
  29972. in: query
  29973. name: marketID
  29974. type: integer
  29975. - description: 方向 - 0:买 1:卖
  29976. in: query
  29977. name: buyorsell
  29978. required: true
  29979. type: integer
  29980. produces:
  29981. - application/json
  29982. responses:
  29983. "200":
  29984. description: OK
  29985. schema:
  29986. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  29987. "500":
  29988. description: Internal Server Error
  29989. schema:
  29990. $ref: '#/definitions/app.Response'
  29991. security:
  29992. - ApiKeyAuth: []
  29993. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  29994. tags:
  29995. - 通用交易
  29996. /User/AddMessageBoard:
  29997. post:
  29998. parameters:
  29999. - description: 用户ID
  30000. in: query
  30001. name: userID
  30002. required: true
  30003. type: integer
  30004. - description: 留言信息
  30005. in: query
  30006. name: message
  30007. required: true
  30008. type: string
  30009. - description: 联系电话
  30010. in: query
  30011. name: contactNum
  30012. required: true
  30013. type: string
  30014. produces:
  30015. - application/json
  30016. responses:
  30017. "200":
  30018. description: OK
  30019. schema:
  30020. $ref: '#/definitions/app.Response'
  30021. "500":
  30022. description: Internal Server Error
  30023. schema:
  30024. $ref: '#/definitions/app.Response'
  30025. security:
  30026. - ApiKeyAuth: []
  30027. summary: 添加用户留言板信息
  30028. tags:
  30029. - 用户信息
  30030. /User/AddUserFavoriteGoods:
  30031. post:
  30032. parameters:
  30033. - description: 用户ID
  30034. in: query
  30035. name: userID
  30036. required: true
  30037. type: integer
  30038. - description: 商品ID
  30039. in: query
  30040. name: goodsID
  30041. required: true
  30042. type: integer
  30043. produces:
  30044. - application/json
  30045. responses:
  30046. "200":
  30047. description: OK
  30048. schema:
  30049. $ref: '#/definitions/app.Response'
  30050. "500":
  30051. description: Internal Server Error
  30052. schema:
  30053. $ref: '#/definitions/app.Response'
  30054. security:
  30055. - ApiKeyAuth: []
  30056. summary: 添加用户商品收藏信息
  30057. tags:
  30058. - 用户信息
  30059. /User/GetLoginID:
  30060. get:
  30061. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  30062. parameters:
  30063. - description: 登录代码
  30064. in: query
  30065. name: username
  30066. required: true
  30067. type: string
  30068. produces:
  30069. - application/json
  30070. responses:
  30071. "200":
  30072. description: OK
  30073. schema:
  30074. $ref: '#/definitions/app.Response'
  30075. "500":
  30076. description: Internal Server Error
  30077. schema:
  30078. $ref: '#/definitions/app.Response'
  30079. summary: 获取登录ID
  30080. tags:
  30081. - 用户信息
  30082. /User/GetUserAccount:
  30083. get:
  30084. parameters:
  30085. - description: 用户ID
  30086. in: query
  30087. name: userID
  30088. required: true
  30089. type: integer
  30090. produces:
  30091. - application/json
  30092. responses:
  30093. "200":
  30094. description: OK
  30095. schema:
  30096. $ref: '#/definitions/models.Useraccount'
  30097. "500":
  30098. description: Internal Server Error
  30099. schema:
  30100. $ref: '#/definitions/app.Response'
  30101. security:
  30102. - ApiKeyAuth: []
  30103. summary: 获取用户账号信息
  30104. tags:
  30105. - 用户信息
  30106. /User/GetUserAuthStatus:
  30107. get:
  30108. parameters:
  30109. - description: 用户ID
  30110. in: query
  30111. name: userID
  30112. required: true
  30113. type: integer
  30114. produces:
  30115. - application/json
  30116. responses:
  30117. "200":
  30118. description: OK
  30119. schema:
  30120. $ref: '#/definitions/app.Response'
  30121. "500":
  30122. description: Internal Server Error
  30123. schema:
  30124. $ref: '#/definitions/app.Response'
  30125. security:
  30126. - ApiKeyAuth: []
  30127. summary: 获取用户实名认证状态
  30128. tags:
  30129. - 用户信息
  30130. /User/LoginQuery:
  30131. get:
  30132. parameters:
  30133. - description: 登录账号
  30134. in: query
  30135. name: loginID
  30136. required: true
  30137. type: integer
  30138. produces:
  30139. - application/json
  30140. responses:
  30141. "200":
  30142. description: OK
  30143. schema:
  30144. $ref: '#/definitions/user.LoginQueryRsp'
  30145. "500":
  30146. description: Internal Server Error
  30147. schema:
  30148. $ref: '#/definitions/app.Response'
  30149. security:
  30150. - ApiKeyAuth: []
  30151. summary: 账户登录后信息查询
  30152. tags:
  30153. - 用户信息
  30154. /User/QueryMessageBoard:
  30155. get:
  30156. parameters:
  30157. - description: 用户ID
  30158. in: query
  30159. name: userID
  30160. required: true
  30161. type: integer
  30162. produces:
  30163. - application/json
  30164. responses:
  30165. "200":
  30166. description: OK
  30167. schema:
  30168. $ref: '#/definitions/models.Messageboard'
  30169. "500":
  30170. description: Internal Server Error
  30171. schema:
  30172. $ref: '#/definitions/app.Response'
  30173. security:
  30174. - ApiKeyAuth: []
  30175. summary: 获取用户留言板信息
  30176. tags:
  30177. - 用户信息
  30178. /User/QueryUserFavoriteGoodses:
  30179. get:
  30180. parameters:
  30181. - description: 用户ID
  30182. in: query
  30183. name: userID
  30184. required: true
  30185. type: integer
  30186. produces:
  30187. - application/json
  30188. responses:
  30189. "200":
  30190. description: OK
  30191. schema:
  30192. $ref: '#/definitions/models.Userfavoritegoods'
  30193. "500":
  30194. description: Internal Server Error
  30195. schema:
  30196. $ref: '#/definitions/app.Response'
  30197. security:
  30198. - ApiKeyAuth: []
  30199. summary: 获取用户商品收藏信息
  30200. tags:
  30201. - 用户信息
  30202. /User/QueryUserInfo:
  30203. get:
  30204. parameters:
  30205. - description: 用户ID
  30206. in: query
  30207. name: userID
  30208. required: true
  30209. type: integer
  30210. - description: 是否解密
  30211. in: query
  30212. name: isDecrypt
  30213. type: boolean
  30214. produces:
  30215. - application/json
  30216. responses:
  30217. "200":
  30218. description: OK
  30219. schema:
  30220. $ref: '#/definitions/models.Userinfo'
  30221. "500":
  30222. description: Internal Server Error
  30223. schema:
  30224. $ref: '#/definitions/app.Response'
  30225. security:
  30226. - ApiKeyAuth: []
  30227. summary: 获取用户信息
  30228. tags:
  30229. - 用户信息
  30230. /User/QueryUserReferNum:
  30231. get:
  30232. parameters:
  30233. - description: 用户ID
  30234. in: query
  30235. name: userID
  30236. required: true
  30237. type: integer
  30238. produces:
  30239. - application/json
  30240. responses:
  30241. "200":
  30242. description: OK
  30243. schema:
  30244. $ref: '#/definitions/app.Response'
  30245. "500":
  30246. description: Internal Server Error
  30247. schema:
  30248. $ref: '#/definitions/app.Response'
  30249. summary: 获取用户邀请码
  30250. tags:
  30251. - 用户信息
  30252. /User/RemoveUserFavoriteGoods:
  30253. post:
  30254. parameters:
  30255. - description: 用户ID
  30256. in: query
  30257. name: userID
  30258. required: true
  30259. type: integer
  30260. - description: 商品ID
  30261. in: query
  30262. name: goodsID
  30263. required: true
  30264. type: integer
  30265. produces:
  30266. - application/json
  30267. responses:
  30268. "200":
  30269. description: OK
  30270. schema:
  30271. $ref: '#/definitions/app.Response'
  30272. "500":
  30273. description: Internal Server Error
  30274. schema:
  30275. $ref: '#/definitions/app.Response'
  30276. security:
  30277. - ApiKeyAuth: []
  30278. summary: 移除用户商品收藏信息
  30279. tags:
  30280. - 用户信息
  30281. /User/UpdateUserAccountStatus:
  30282. post:
  30283. parameters:
  30284. - description: 用户ID
  30285. in: query
  30286. name: userID
  30287. required: true
  30288. type: integer
  30289. - description: 账户状态 - 4:正常 6:注销(停用)
  30290. in: query
  30291. name: accountStatus
  30292. required: true
  30293. type: integer
  30294. produces:
  30295. - application/json
  30296. responses:
  30297. "200":
  30298. description: OK
  30299. schema:
  30300. $ref: '#/definitions/app.Response'
  30301. "500":
  30302. description: Internal Server Error
  30303. schema:
  30304. $ref: '#/definitions/app.Response'
  30305. security:
  30306. - ApiKeyAuth: []
  30307. summary: 更新用户状态
  30308. tags:
  30309. - 用户信息
  30310. /WRTrade/GetAllDeliveryGoods:
  30311. get:
  30312. produces:
  30313. - application/json
  30314. responses:
  30315. "200":
  30316. description: OK
  30317. schema:
  30318. $ref: '#/definitions/app.Response'
  30319. "500":
  30320. description: Internal Server Error
  30321. schema:
  30322. $ref: '#/definitions/app.Response'
  30323. security:
  30324. - ApiKeyAuth: []
  30325. summary: 获取带仓单分类的种类信息
  30326. tags:
  30327. - 仓单贸易
  30328. - 仓单贸易
  30329. /WrTrade2/InsertXhcpSellBackApply:
  30330. post:
  30331. parameters:
  30332. - description: 回收申请
  30333. in: body
  30334. name: jsonBody
  30335. required: true
  30336. schema:
  30337. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  30338. produces:
  30339. - application/json
  30340. responses:
  30341. "200":
  30342. description: OK
  30343. schema:
  30344. $ref: '#/definitions/app.Response'
  30345. "500":
  30346. description: Internal Server Error
  30347. schema:
  30348. $ref: '#/definitions/app.Response'
  30349. security:
  30350. - ApiKeyAuth: []
  30351. summary: 新增回收申请(新会陈皮)
  30352. tags:
  30353. - 仓单贸易v2
  30354. /WrTrade2/QueryDeliveryGoodsSection:
  30355. get:
  30356. produces:
  30357. - application/json
  30358. responses:
  30359. "200":
  30360. description: OK
  30361. schema:
  30362. items:
  30363. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  30364. type: array
  30365. "500":
  30366. description: Internal Server Error
  30367. schema:
  30368. $ref: '#/definitions/app.Response'
  30369. security:
  30370. - ApiKeyAuth: []
  30371. summary: 查询板块(分类)
  30372. tags:
  30373. - 仓单贸易v2
  30374. /WrTrade2/QueryFaProductDetail:
  30375. get:
  30376. description: 页面 买卖大厅 -> 选择融资方案
  30377. parameters:
  30378. - description: 仓单要素id
  30379. in: query
  30380. name: wrfactortypeid
  30381. required: true
  30382. type: integer
  30383. produces:
  30384. - application/json
  30385. responses:
  30386. "200":
  30387. description: OK
  30388. schema:
  30389. items:
  30390. $ref: '#/definitions/models.WrFAProductDetail'
  30391. type: array
  30392. "500":
  30393. description: Internal Server Error
  30394. schema:
  30395. $ref: '#/definitions/app.Response'
  30396. security:
  30397. - ApiKeyAuth: []
  30398. summary: 查询融资产品列表
  30399. tags:
  30400. - 仓单贸易v2
  30401. /WrTrade2/QueryFilterItem:
  30402. get:
  30403. parameters:
  30404. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  30405. in: query
  30406. name: itype
  30407. required: true
  30408. type: string
  30409. produces:
  30410. - application/json
  30411. responses:
  30412. "200":
  30413. description: OK
  30414. schema:
  30415. items:
  30416. $ref: '#/definitions/models.WrFilterItem'
  30417. type: array
  30418. "500":
  30419. description: Internal Server Error
  30420. schema:
  30421. $ref: '#/definitions/app.Response'
  30422. security:
  30423. - ApiKeyAuth: []
  30424. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  30425. tags:
  30426. - 仓单贸易v2
  30427. /WrTrade2/QueryFtDeliveryGoods:
  30428. get:
  30429. produces:
  30430. - application/json
  30431. responses:
  30432. "200":
  30433. description: OK
  30434. schema:
  30435. items:
  30436. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30437. type: array
  30438. "500":
  30439. description: Internal Server Error
  30440. schema:
  30441. $ref: '#/definitions/app.Response'
  30442. security:
  30443. - ApiKeyAuth: []
  30444. summary: 查询品种品类筛选框列表
  30445. tags:
  30446. - 仓单贸易v2
  30447. /WrTrade2/QueryHoldLB:
  30448. get:
  30449. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30450. parameters:
  30451. - description: 资金账号
  30452. in: query
  30453. name: accountid
  30454. required: true
  30455. type: integer
  30456. - description: 仓库id
  30457. in: query
  30458. name: warehouseid
  30459. type: integer
  30460. - description: 品种id
  30461. in: query
  30462. name: deliverygoodsid
  30463. type: integer
  30464. - description: 品类id
  30465. in: query
  30466. name: wrstandardid
  30467. type: integer
  30468. - description: 仓单要素id
  30469. in: query
  30470. name: wrfactortypeid
  30471. type: integer
  30472. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30473. in: query
  30474. name: dgitemname
  30475. type: string
  30476. produces:
  30477. - application/json
  30478. responses:
  30479. "200":
  30480. description: OK
  30481. schema:
  30482. items:
  30483. $ref: '#/definitions/models.WrHoldLB'
  30484. type: array
  30485. "500":
  30486. description: Internal Server Error
  30487. schema:
  30488. $ref: '#/definitions/app.Response'
  30489. security:
  30490. - ApiKeyAuth: []
  30491. summary: 查询仓单持有记录
  30492. tags:
  30493. - 仓单贸易v2
  30494. /WrTrade2/QueryOrderQuote:
  30495. get:
  30496. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30497. 唯一确定1条记录
  30498. parameters:
  30499. - description: 页码
  30500. in: query
  30501. name: page
  30502. type: integer
  30503. - description: 每页条数
  30504. in: query
  30505. name: pagesize
  30506. type: integer
  30507. - description: 仓单贸易市场id
  30508. in: query
  30509. name: marketid
  30510. type: integer
  30511. - description: 价格方式 - 1:固定价 2-浮动价
  30512. in: query
  30513. name: wrpricetype
  30514. required: true
  30515. type: integer
  30516. - description: 0:仓单预售 1:仓单贸易
  30517. in: query
  30518. name: haswr
  30519. type: integer
  30520. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30521. in: query
  30522. name: dgitemname
  30523. type: string
  30524. - description: 仓库id(筛选条件)
  30525. in: query
  30526. name: warehouseid
  30527. type: integer
  30528. - description: 品种id
  30529. in: query
  30530. name: deliverygoodsid
  30531. type: integer
  30532. - description: 品类id
  30533. in: query
  30534. name: wrstandardid
  30535. type: integer
  30536. - description: 品牌id(dgfactoryitemid)
  30537. in: query
  30538. name: brandid
  30539. type: integer
  30540. - description: 年份id(dgfactoryitemid)
  30541. in: query
  30542. name: yearsid
  30543. type: integer
  30544. - description: 仓单要素id
  30545. in: query
  30546. name: wrfactortypeid
  30547. type: integer
  30548. - description: 交收月(yyyy-mm) 仓单预售填写
  30549. in: query
  30550. name: deliverymonth
  30551. type: string
  30552. produces:
  30553. - application/json
  30554. responses:
  30555. "200":
  30556. description: OK
  30557. schema:
  30558. items:
  30559. $ref: '#/definitions/models.WrOrderQuote'
  30560. type: array
  30561. "500":
  30562. description: Internal Server Error
  30563. schema:
  30564. $ref: '#/definitions/app.Response'
  30565. security:
  30566. - ApiKeyAuth: []
  30567. summary: 查询大厅行情列表
  30568. tags:
  30569. - 仓单贸易v2
  30570. /WrTrade2/QueryOrderQuoteDetail:
  30571. get:
  30572. parameters:
  30573. - description: 页码
  30574. in: query
  30575. name: page
  30576. type: integer
  30577. - description: 每页条数
  30578. in: query
  30579. name: pagesize
  30580. type: integer
  30581. - description: 仓单贸易市场id
  30582. in: query
  30583. name: marketid
  30584. type: integer
  30585. - description: 价格方式 - 1:固定价 2-浮动价
  30586. in: query
  30587. name: wrpricetype
  30588. required: true
  30589. type: integer
  30590. - description: 0:仓单预售 1:仓单贸易
  30591. in: query
  30592. name: haswr
  30593. type: integer
  30594. - description: 仓单要素id
  30595. in: query
  30596. name: wrfactortypeid
  30597. required: true
  30598. type: integer
  30599. - description: 期货商品id(浮动价方式时填)
  30600. in: query
  30601. name: goodsid
  30602. type: integer
  30603. - description: 买卖方向 0-买 1-卖
  30604. in: query
  30605. name: buyorsell
  30606. required: true
  30607. type: integer
  30608. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  30609. in: query
  30610. name: deliverymonth
  30611. type: string
  30612. produces:
  30613. - application/json
  30614. responses:
  30615. "200":
  30616. description: OK
  30617. schema:
  30618. items:
  30619. $ref: '#/definitions/models.WrOrderQuoteDetail'
  30620. type: array
  30621. "500":
  30622. description: Internal Server Error
  30623. schema:
  30624. $ref: '#/definitions/app.Response'
  30625. security:
  30626. - ApiKeyAuth: []
  30627. summary: 查询买卖大厅
  30628. tags:
  30629. - 仓单贸易v2
  30630. /WrTrade2/QueryOrderQuoteMyq:
  30631. get:
  30632. parameters:
  30633. - description: 页码
  30634. in: query
  30635. name: page
  30636. type: integer
  30637. - description: 每页条数
  30638. in: query
  30639. name: pagesize
  30640. type: integer
  30641. - description: 用户id
  30642. in: query
  30643. name: userid
  30644. required: true
  30645. type: integer
  30646. - description: 仓单贸易市场id
  30647. in: query
  30648. name: marketid
  30649. type: integer
  30650. - description: 0:仓单预售 1:仓单贸易
  30651. in: query
  30652. name: haswr
  30653. type: integer
  30654. - description: 买卖方向 0-买 1-卖
  30655. in: query
  30656. name: buyorsell
  30657. required: true
  30658. type: integer
  30659. - description: 品种id
  30660. in: query
  30661. name: deliverygoodsid
  30662. type: integer
  30663. - description: 品类id
  30664. in: query
  30665. name: wrstandardid
  30666. type: integer
  30667. - description: 交收月(yyyy-mm) 仓单预售填写
  30668. in: query
  30669. name: deliverymonth
  30670. type: string
  30671. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30672. in: query
  30673. name: dgitemname
  30674. type: string
  30675. produces:
  30676. - application/json
  30677. responses:
  30678. "200":
  30679. description: OK
  30680. schema:
  30681. items:
  30682. $ref: '#/definitions/models.WrQuoteOrderMyq'
  30683. type: array
  30684. "500":
  30685. description: Internal Server Error
  30686. schema:
  30687. $ref: '#/definitions/app.Response'
  30688. security:
  30689. - ApiKeyAuth: []
  30690. summary: 查询贸易圈挂牌大厅
  30691. tags:
  30692. - 仓单贸易v2
  30693. /WrTrade2/QueryPerformancePlan:
  30694. get:
  30695. parameters:
  30696. - description: 用户id
  30697. in: query
  30698. name: userid
  30699. required: true
  30700. type: integer
  30701. - description: 买卖方向 0-买 1-卖
  30702. in: query
  30703. name: buyorsell
  30704. required: true
  30705. type: integer
  30706. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  30707. 8:释放冻结失败 9:超时待处理 10:超时关闭
  30708. in: query
  30709. name: status
  30710. type: string
  30711. - description: 开始交易日(yyyymmdd)
  30712. in: query
  30713. name: begindate
  30714. type: string
  30715. - description: 结束交易日(yyyymmdd)
  30716. in: query
  30717. name: enddate
  30718. type: string
  30719. produces:
  30720. - application/json
  30721. responses:
  30722. "200":
  30723. description: OK
  30724. schema:
  30725. items:
  30726. $ref: '#/definitions/models.WrPerformancePlan'
  30727. type: array
  30728. "500":
  30729. description: Internal Server Error
  30730. schema:
  30731. $ref: '#/definitions/app.Response'
  30732. security:
  30733. - ApiKeyAuth: []
  30734. summary: 查询履约信息
  30735. tags:
  30736. - 仓单贸易v2
  30737. /WrTrade2/QueryPermancePlanTmp:
  30738. get:
  30739. description: |-
  30740. 返回指定用户的模板和公共模板(用户id为空)
  30741. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  30742. parameters:
  30743. - description: 用户id
  30744. in: query
  30745. name: userid
  30746. type: integer
  30747. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  30748. (无仓单) 5:挂牌期权 6:竞拍-降价式
  30749. in: query
  30750. name: tmptype
  30751. type: string
  30752. - description: 是否包含公共模板(用户id为空的) 1-包含
  30753. in: query
  30754. name: includepub
  30755. type: integer
  30756. - description: 市场id(天津麦顿指定此参数,其它不用)
  30757. in: query
  30758. name: marketid
  30759. type: integer
  30760. produces:
  30761. - application/json
  30762. responses:
  30763. "200":
  30764. description: OK
  30765. schema:
  30766. items:
  30767. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  30768. type: array
  30769. "500":
  30770. description: Internal Server Error
  30771. schema:
  30772. $ref: '#/definitions/app.Response'
  30773. security:
  30774. - ApiKeyAuth: []
  30775. summary: 查询履约模板
  30776. tags:
  30777. - 仓单贸易v2
  30778. /WrTrade2/QuerySiteColumnDetail:
  30779. get:
  30780. parameters:
  30781. - description: 页码
  30782. in: query
  30783. name: page
  30784. type: integer
  30785. - description: 每页条数
  30786. in: query
  30787. name: pagesize
  30788. type: integer
  30789. - description: 所属栏目id
  30790. in: query
  30791. name: columnid
  30792. type: integer
  30793. produces:
  30794. - application/json
  30795. responses:
  30796. "200":
  30797. description: OK
  30798. schema:
  30799. items:
  30800. $ref: '#/definitions/models.WrSiteColumnDetail'
  30801. type: array
  30802. "500":
  30803. description: Internal Server Error
  30804. schema:
  30805. $ref: '#/definitions/app.Response'
  30806. security:
  30807. - ApiKeyAuth: []
  30808. summary: 查询资讯
  30809. tags:
  30810. - 仓单贸易v2
  30811. /WrTrade2/QuerySpotGroupTradeSum:
  30812. get:
  30813. produces:
  30814. - application/json
  30815. responses:
  30816. "200":
  30817. description: OK
  30818. schema:
  30819. items:
  30820. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  30821. type: array
  30822. "500":
  30823. description: Internal Server Error
  30824. schema:
  30825. $ref: '#/definitions/app.Response'
  30826. security:
  30827. - ApiKeyAuth: []
  30828. summary: 查询指数
  30829. tags:
  30830. - 仓单贸易v2
  30831. /WrTrade2/QuerySpotGroupTradeSumDetail:
  30832. get:
  30833. description: 查询的结果将会按日期 从小到大 排序
  30834. parameters:
  30835. - description: 现货商品id
  30836. in: query
  30837. name: deliverygoodsid
  30838. required: true
  30839. type: integer
  30840. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  30841. in: query
  30842. name: lastnum
  30843. type: integer
  30844. produces:
  30845. - application/json
  30846. responses:
  30847. "200":
  30848. description: OK
  30849. schema:
  30850. items:
  30851. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  30852. type: array
  30853. "500":
  30854. description: Internal Server Error
  30855. schema:
  30856. $ref: '#/definitions/app.Response'
  30857. security:
  30858. - ApiKeyAuth: []
  30859. summary: 查询指数详细(价格走势图)
  30860. tags:
  30861. - 仓单贸易v2
  30862. /WrTrade2/QueryWrAverageTradePrice:
  30863. get:
  30864. parameters:
  30865. - description: 页码
  30866. in: query
  30867. name: page
  30868. type: integer
  30869. - description: 每页条数
  30870. in: query
  30871. name: pagesize
  30872. type: integer
  30873. - description: 0:仓单预售 1:仓单贸易
  30874. in: query
  30875. name: haswr
  30876. required: true
  30877. type: integer
  30878. - description: 仓单要素id
  30879. in: query
  30880. name: wrfactortypeid
  30881. required: true
  30882. type: integer
  30883. produces:
  30884. - application/json
  30885. responses:
  30886. "200":
  30887. description: OK
  30888. schema:
  30889. items:
  30890. $ref: '#/definitions/models.WrAverageTradePrice'
  30891. type: array
  30892. "500":
  30893. description: Internal Server Error
  30894. schema:
  30895. $ref: '#/definitions/app.Response'
  30896. security:
  30897. - ApiKeyAuth: []
  30898. summary: 查询成交价(历史走势)
  30899. tags:
  30900. - 仓单贸易v2
  30901. /WrTrade2/QueryWrBrandAndYears:
  30902. get:
  30903. produces:
  30904. - application/json
  30905. responses:
  30906. "200":
  30907. description: OK
  30908. schema:
  30909. items:
  30910. $ref: '#/definitions/models.WrBrandAndYears'
  30911. type: array
  30912. "500":
  30913. description: Internal Server Error
  30914. schema:
  30915. $ref: '#/definitions/app.Response'
  30916. security:
  30917. - ApiKeyAuth: []
  30918. summary: 查询品牌和年份
  30919. tags:
  30920. - 仓单贸易v2
  30921. /WrTrade2/QueryWrBsGoodsInfo:
  30922. get:
  30923. description: 合约交易/买卖大厅/详情
  30924. parameters:
  30925. - description: 商品id
  30926. in: query
  30927. name: goodsid
  30928. required: true
  30929. type: integer
  30930. produces:
  30931. - application/json
  30932. responses:
  30933. "200":
  30934. description: OK
  30935. schema:
  30936. items:
  30937. $ref: '#/definitions/models.WrBsGoodsInfo'
  30938. type: array
  30939. "500":
  30940. description: Internal Server Error
  30941. schema:
  30942. $ref: '#/definitions/app.Response'
  30943. security:
  30944. - ApiKeyAuth: []
  30945. summary: 查询合约交易买卖大厅详情
  30946. tags:
  30947. - 仓单贸易v2
  30948. /WrTrade2/QueryWrBuybackDetail:
  30949. get:
  30950. parameters:
  30951. - description: 融资合同id
  30952. in: query
  30953. name: scfcontractid
  30954. type: integer
  30955. produces:
  30956. - application/json
  30957. responses:
  30958. "200":
  30959. description: OK
  30960. schema:
  30961. items:
  30962. $ref: '#/definitions/models.WrBuybackDetail'
  30963. type: array
  30964. "500":
  30965. description: Internal Server Error
  30966. schema:
  30967. $ref: '#/definitions/app.Response'
  30968. security:
  30969. - ApiKeyAuth: []
  30970. summary: 查询仓单回购明细
  30971. tags:
  30972. - 仓单贸易v2
  30973. /WrTrade2/QueryWrClientAdSpaceConfig:
  30974. get:
  30975. produces:
  30976. - application/json
  30977. responses:
  30978. "200":
  30979. description: OK
  30980. schema:
  30981. items:
  30982. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  30983. type: array
  30984. "500":
  30985. description: Internal Server Error
  30986. schema:
  30987. $ref: '#/definitions/app.Response'
  30988. security:
  30989. - ApiKeyAuth: []
  30990. summary: 查询固定广告配置
  30991. tags:
  30992. - 仓单贸易v2
  30993. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  30994. get:
  30995. parameters:
  30996. - description: 资金账号
  30997. in: query
  30998. name: accountid
  30999. required: true
  31000. type: integer
  31001. - description: 商品id
  31002. in: query
  31003. name: goodsid
  31004. required: true
  31005. type: integer
  31006. produces:
  31007. - application/json
  31008. responses:
  31009. "200":
  31010. description: OK
  31011. schema:
  31012. items:
  31013. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  31014. type: array
  31015. "500":
  31016. description: Internal Server Error
  31017. schema:
  31018. $ref: '#/definitions/app.Response'
  31019. security:
  31020. - ApiKeyAuth: []
  31021. summary: 查询合约交收可点选仓单
  31022. tags:
  31023. - 仓单贸易v2
  31024. /WrTrade2/QueryWrDeliveryDetail:
  31025. get:
  31026. parameters:
  31027. - description: 用户id
  31028. in: query
  31029. name: userid
  31030. required: true
  31031. type: integer
  31032. - description: 资金账号id
  31033. in: query
  31034. name: accountid
  31035. type: integer
  31036. - description: 开始交易日(yyyymmdd)
  31037. in: query
  31038. name: begindate
  31039. type: string
  31040. - description: 结束交易日(yyyymmdd)
  31041. in: query
  31042. name: enddate
  31043. type: string
  31044. produces:
  31045. - application/json
  31046. responses:
  31047. "200":
  31048. description: OK
  31049. schema:
  31050. items:
  31051. $ref: '#/definitions/models.WrDeliveryDetail'
  31052. type: array
  31053. "500":
  31054. description: Internal Server Error
  31055. schema:
  31056. $ref: '#/definitions/app.Response'
  31057. security:
  31058. - ApiKeyAuth: []
  31059. summary: 查询交收
  31060. tags:
  31061. - 仓单贸易v2
  31062. /WrTrade2/QueryWrDraftUserInfo:
  31063. get:
  31064. parameters:
  31065. - description: 用户ID
  31066. in: query
  31067. name: userid
  31068. required: true
  31069. type: integer
  31070. - description: 用户状态 1:正常 2:注销
  31071. in: query
  31072. name: userstatus
  31073. type: integer
  31074. produces:
  31075. - application/json
  31076. responses:
  31077. "200":
  31078. description: OK
  31079. schema:
  31080. items:
  31081. $ref: '#/definitions/models.WrDraftUserInfo'
  31082. type: array
  31083. "500":
  31084. description: Internal Server Error
  31085. schema:
  31086. $ref: '#/definitions/app.Response'
  31087. security:
  31088. - ApiKeyAuth: []
  31089. summary: 查询实名认证信息
  31090. tags:
  31091. - 仓单贸易v2
  31092. /WrTrade2/QueryWrFactorTypeInfo:
  31093. get:
  31094. parameters:
  31095. - description: 仓单要素id
  31096. in: query
  31097. name: wrfactortypeid
  31098. required: true
  31099. type: integer
  31100. produces:
  31101. - application/json
  31102. responses:
  31103. "200":
  31104. description: OK
  31105. schema:
  31106. items:
  31107. $ref: '#/definitions/models.WrFactorTypeInfo'
  31108. type: array
  31109. "500":
  31110. description: Internal Server Error
  31111. schema:
  31112. $ref: '#/definitions/app.Response'
  31113. security:
  31114. - ApiKeyAuth: []
  31115. summary: 查询仓单要素详细信息
  31116. tags:
  31117. - 仓单贸易v2
  31118. /WrTrade2/QueryWrFactorTypeInfoEx:
  31119. get:
  31120. parameters:
  31121. - description: 仓单要素id
  31122. in: query
  31123. name: wrfactortypeid
  31124. required: true
  31125. type: integer
  31126. produces:
  31127. - application/json
  31128. responses:
  31129. "200":
  31130. description: OK
  31131. schema:
  31132. items:
  31133. $ref: '#/definitions/models.WrTypeItem'
  31134. type: array
  31135. "500":
  31136. description: Internal Server Error
  31137. schema:
  31138. $ref: '#/definitions/app.Response'
  31139. security:
  31140. - ApiKeyAuth: []
  31141. summary: 查询仓单要素详细信息列表项
  31142. tags:
  31143. - 仓单贸易v2
  31144. /WrTrade2/QueryWrFinanceBuyApply:
  31145. get:
  31146. description: 页面 融资信息+ / 申请单
  31147. parameters:
  31148. - description: 用户id
  31149. in: query
  31150. name: userid
  31151. required: true
  31152. type: integer
  31153. produces:
  31154. - application/json
  31155. responses:
  31156. "200":
  31157. description: OK
  31158. schema:
  31159. items:
  31160. $ref: '#/definitions/models.WrFinanceBuyApply'
  31161. type: array
  31162. "500":
  31163. description: Internal Server Error
  31164. schema:
  31165. $ref: '#/definitions/app.Response'
  31166. security:
  31167. - ApiKeyAuth: []
  31168. summary: 查询融资购买申请
  31169. tags:
  31170. - 仓单贸易v2
  31171. /WrTrade2/QueryWrFriendApply:
  31172. get:
  31173. parameters:
  31174. - description: 用户id
  31175. in: query
  31176. name: userid
  31177. required: true
  31178. type: integer
  31179. produces:
  31180. - application/json
  31181. responses:
  31182. "200":
  31183. description: OK
  31184. schema:
  31185. items:
  31186. $ref: '#/definitions/models.WrFriendApply'
  31187. type: array
  31188. "500":
  31189. description: Internal Server Error
  31190. schema:
  31191. $ref: '#/definitions/app.Response'
  31192. security:
  31193. - ApiKeyAuth: []
  31194. summary: 查询好友申请记录
  31195. tags:
  31196. - 仓单贸易v2
  31197. /WrTrade2/QueryWrGoodsInfo:
  31198. get:
  31199. parameters:
  31200. - description: 仓单贸易市场id
  31201. in: query
  31202. name: marketid
  31203. type: integer
  31204. - description: 0:仓单预售 1:仓单贸易
  31205. in: query
  31206. name: haswr
  31207. required: true
  31208. type: integer
  31209. - description: 仓单要素id
  31210. in: query
  31211. name: wrfactortypeid
  31212. required: true
  31213. type: integer
  31214. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  31215. in: query
  31216. name: tmplateid
  31217. type: integer
  31218. produces:
  31219. - application/json
  31220. responses:
  31221. "200":
  31222. description: OK
  31223. schema:
  31224. items:
  31225. $ref: '#/definitions/models.WrGoodsInfo'
  31226. type: array
  31227. "500":
  31228. description: Internal Server Error
  31229. schema:
  31230. $ref: '#/definitions/app.Response'
  31231. security:
  31232. - ApiKeyAuth: []
  31233. summary: 查询仓单商品信息
  31234. tags:
  31235. - 仓单贸易v2
  31236. /WrTrade2/QueryWrMarketTradeConfig:
  31237. get:
  31238. parameters:
  31239. - description: 市场id
  31240. in: query
  31241. name: marketid
  31242. type: integer
  31243. produces:
  31244. - application/json
  31245. responses:
  31246. "200":
  31247. description: OK
  31248. schema:
  31249. items:
  31250. $ref: '#/definitions/models.WrMarketTradeConfig'
  31251. type: array
  31252. "500":
  31253. description: Internal Server Error
  31254. schema:
  31255. $ref: '#/definitions/app.Response'
  31256. security:
  31257. - ApiKeyAuth: []
  31258. summary: 查询市场交易参数配置
  31259. tags:
  31260. - 仓单贸易v2
  31261. /WrTrade2/QueryWrOrderDetail:
  31262. get:
  31263. description: 页面 现货仓单 | 预售仓单 -> 委托单
  31264. parameters:
  31265. - description: 页码
  31266. in: query
  31267. name: page
  31268. type: integer
  31269. - description: 每页条数
  31270. in: query
  31271. name: pagesize
  31272. type: integer
  31273. - description: 用户id
  31274. in: query
  31275. name: userid
  31276. required: true
  31277. type: integer
  31278. - description: 仓单贸易市场id
  31279. in: query
  31280. name: marketid
  31281. type: integer
  31282. - description: 0:仓单预售 1:仓单贸易
  31283. in: query
  31284. name: haswr
  31285. required: true
  31286. type: integer
  31287. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  31288. in: query
  31289. name: bcancel
  31290. type: integer
  31291. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  31292. in: query
  31293. name: wrtradetype
  31294. type: integer
  31295. - description: 开始交易日(yyyymmdd)
  31296. in: query
  31297. name: begindate
  31298. type: string
  31299. - description: 结束交易日(yyyymmdd)
  31300. in: query
  31301. name: enddate
  31302. type: string
  31303. produces:
  31304. - application/json
  31305. responses:
  31306. "200":
  31307. description: OK
  31308. schema:
  31309. items:
  31310. $ref: '#/definitions/models.WrOrderDetail'
  31311. type: array
  31312. "500":
  31313. description: Internal Server Error
  31314. schema:
  31315. $ref: '#/definitions/app.Response'
  31316. security:
  31317. - ApiKeyAuth: []
  31318. summary: 查询仓单委托单
  31319. tags:
  31320. - 仓单贸易v2
  31321. /WrTrade2/QueryWrOutInApply:
  31322. get:
  31323. parameters:
  31324. - description: 用户id
  31325. in: query
  31326. name: userid
  31327. required: true
  31328. type: integer
  31329. - description: 开始交易日(yyyymmdd)
  31330. in: query
  31331. name: begindate
  31332. type: string
  31333. - description: 结束交易日(yyyymmdd)
  31334. in: query
  31335. name: enddate
  31336. type: string
  31337. produces:
  31338. - application/json
  31339. responses:
  31340. "200":
  31341. description: OK
  31342. schema:
  31343. items:
  31344. $ref: '#/definitions/models.WrOutInApply'
  31345. type: array
  31346. "500":
  31347. description: Internal Server Error
  31348. schema:
  31349. $ref: '#/definitions/app.Response'
  31350. security:
  31351. - ApiKeyAuth: []
  31352. summary: 查询提货申请
  31353. tags:
  31354. - 仓单贸易v2
  31355. /WrTrade2/QueryWrPerformancePlanStep:
  31356. get:
  31357. parameters:
  31358. - description: 履约计划id(performanceplanid)
  31359. in: query
  31360. name: planid
  31361. required: true
  31362. type: integer
  31363. - description: 当前步骤id
  31364. in: query
  31365. name: curstepid
  31366. type: integer
  31367. produces:
  31368. - application/json
  31369. responses:
  31370. "200":
  31371. description: OK
  31372. schema:
  31373. items:
  31374. $ref: '#/definitions/models.WrPerformancePlanStep'
  31375. type: array
  31376. "500":
  31377. description: Internal Server Error
  31378. schema:
  31379. $ref: '#/definitions/app.Response'
  31380. security:
  31381. - ApiKeyAuth: []
  31382. summary: 查询履约信息详情
  31383. tags:
  31384. - 仓单贸易v2
  31385. /WrTrade2/QueryWrPerformanceStepType:
  31386. get:
  31387. produces:
  31388. - application/json
  31389. responses:
  31390. "200":
  31391. description: OK
  31392. schema:
  31393. items:
  31394. $ref: '#/definitions/models.WrPerformanceStepType'
  31395. type: array
  31396. "500":
  31397. description: Internal Server Error
  31398. schema:
  31399. $ref: '#/definitions/app.Response'
  31400. security:
  31401. - ApiKeyAuth: []
  31402. summary: 查询履约步骤枚举
  31403. tags:
  31404. - 仓单贸易v2
  31405. /WrTrade2/QueryWrPosition:
  31406. get:
  31407. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  31408. parameters:
  31409. - description: 用户id
  31410. in: query
  31411. name: userid
  31412. required: true
  31413. type: integer
  31414. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  31415. in: query
  31416. name: querytype
  31417. required: true
  31418. type: integer
  31419. - description: 0:仓单预售 1:仓单贸易
  31420. in: query
  31421. name: haswr
  31422. required: true
  31423. type: integer
  31424. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31425. in: query
  31426. name: dgitemname
  31427. type: string
  31428. - description: 仓库id(筛选条件)
  31429. in: query
  31430. name: warehouseid
  31431. type: integer
  31432. - description: 品种id
  31433. in: query
  31434. name: deliverygoodsid
  31435. type: integer
  31436. - description: 品类id
  31437. in: query
  31438. name: wrstandardid
  31439. type: integer
  31440. produces:
  31441. - application/json
  31442. responses:
  31443. "200":
  31444. description: OK
  31445. schema:
  31446. items:
  31447. $ref: '#/definitions/models.WrPosition'
  31448. type: array
  31449. "500":
  31450. description: Internal Server Error
  31451. schema:
  31452. $ref: '#/definitions/app.Response'
  31453. security:
  31454. - ApiKeyAuth: []
  31455. summary: 查询现货(预售)仓单持仓
  31456. tags:
  31457. - 仓单贸易v2
  31458. /WrTrade2/QueryWrPreSaleInfo:
  31459. get:
  31460. parameters:
  31461. - description: 市场id
  31462. in: query
  31463. name: marketid
  31464. type: integer
  31465. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31466. in: query
  31467. name: presalestatus
  31468. type: string
  31469. - description: 摇号标识 - 0:未摇号 1:已摇号
  31470. in: query
  31471. name: lotteryflag
  31472. type: integer
  31473. - description: 最近多少条记录(按创建时间倒序)
  31474. in: query
  31475. name: lastnum
  31476. type: integer
  31477. produces:
  31478. - application/json
  31479. responses:
  31480. "200":
  31481. description: OK
  31482. schema:
  31483. items:
  31484. $ref: '#/definitions/models.WrPreSaleInfo'
  31485. type: array
  31486. "500":
  31487. description: Internal Server Error
  31488. schema:
  31489. $ref: '#/definitions/app.Response'
  31490. security:
  31491. - ApiKeyAuth: []
  31492. summary: 查询新品发布
  31493. tags:
  31494. - 仓单贸易v2
  31495. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31496. get:
  31497. parameters:
  31498. - description: 市场id
  31499. in: query
  31500. name: marketid
  31501. required: true
  31502. type: integer
  31503. - description: 现货商品id
  31504. in: query
  31505. name: wrstandardid
  31506. required: true
  31507. type: integer
  31508. - description: 开始交易日(yyyymmdd)
  31509. in: query
  31510. name: begindate
  31511. type: string
  31512. - description: 结束交易日(yyyymmdd)
  31513. in: query
  31514. name: enddate
  31515. type: string
  31516. - description: 最近多少条记录(按交易日倒序)
  31517. in: query
  31518. name: lastnum
  31519. type: integer
  31520. - description: 是否今日
  31521. in: query
  31522. name: istoday
  31523. type: boolean
  31524. produces:
  31525. - application/json
  31526. responses:
  31527. "200":
  31528. description: OK
  31529. schema:
  31530. items:
  31531. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31532. type: array
  31533. "500":
  31534. description: Internal Server Error
  31535. schema:
  31536. $ref: '#/definitions/app.Response'
  31537. security:
  31538. - ApiKeyAuth: []
  31539. summary: 查询价格走势
  31540. tags:
  31541. - 仓单贸易v2
  31542. /WrTrade2/QueryWrScfContract:
  31543. get:
  31544. parameters:
  31545. - description: 用户id
  31546. in: query
  31547. name: userid
  31548. required: true
  31549. type: integer
  31550. - description: 融资合同id
  31551. in: query
  31552. name: scfcontractid
  31553. type: integer
  31554. produces:
  31555. - application/json
  31556. responses:
  31557. "200":
  31558. description: OK
  31559. schema:
  31560. items:
  31561. $ref: '#/definitions/models.WrScfContract'
  31562. type: array
  31563. "500":
  31564. description: Internal Server Error
  31565. schema:
  31566. $ref: '#/definitions/app.Response'
  31567. security:
  31568. - ApiKeyAuth: []
  31569. summary: 查询仓单贸易融资合同
  31570. tags:
  31571. - 仓单贸易v2
  31572. /WrTrade2/QueryWrScfContractInterest:
  31573. get:
  31574. parameters:
  31575. - description: 融资合同id
  31576. in: query
  31577. name: scfcontractid
  31578. type: integer
  31579. produces:
  31580. - application/json
  31581. responses:
  31582. "200":
  31583. description: OK
  31584. schema:
  31585. items:
  31586. $ref: '#/definitions/models.WrScfContractInterest'
  31587. type: array
  31588. "500":
  31589. description: Internal Server Error
  31590. schema:
  31591. $ref: '#/definitions/app.Response'
  31592. security:
  31593. - ApiKeyAuth: []
  31594. summary: 查询融资合同费用明细
  31595. tags:
  31596. - 仓单贸易v2
  31597. /WrTrade2/QueryWrSearchUser:
  31598. get:
  31599. parameters:
  31600. - description: 用户名称(模糊匹配)
  31601. in: query
  31602. name: username
  31603. required: true
  31604. type: string
  31605. produces:
  31606. - application/json
  31607. responses:
  31608. "200":
  31609. description: OK
  31610. schema:
  31611. items:
  31612. $ref: '#/definitions/models.WrSearchUser'
  31613. type: array
  31614. "500":
  31615. description: Internal Server Error
  31616. schema:
  31617. $ref: '#/definitions/app.Response'
  31618. security:
  31619. - ApiKeyAuth: []
  31620. summary: 查询用户
  31621. tags:
  31622. - 仓单贸易v2
  31623. /WrTrade2/QueryWrSpecialMatchOrder:
  31624. get:
  31625. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  31626. parameters:
  31627. - description: 页码
  31628. in: query
  31629. name: page
  31630. type: integer
  31631. - description: 每页条数
  31632. in: query
  31633. name: pagesize
  31634. type: integer
  31635. - description: 用户id
  31636. in: query
  31637. name: userid
  31638. required: true
  31639. type: integer
  31640. - description: 仓单贸易市场id
  31641. in: query
  31642. name: marketid
  31643. type: integer
  31644. - description: 0:仓单预售 1:仓单贸易
  31645. in: query
  31646. name: haswr
  31647. required: true
  31648. type: integer
  31649. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  31650. in: query
  31651. name: isspecified
  31652. type: integer
  31653. produces:
  31654. - application/json
  31655. responses:
  31656. "200":
  31657. description: OK
  31658. schema:
  31659. items:
  31660. $ref: '#/definitions/models.WrSpecialMatchOrder'
  31661. type: array
  31662. "500":
  31663. description: Internal Server Error
  31664. schema:
  31665. $ref: '#/definitions/app.Response'
  31666. security:
  31667. - ApiKeyAuth: []
  31668. summary: 查询指定成交
  31669. tags:
  31670. - 仓单贸易v2
  31671. /WrTrade2/QueryWrStandardFactoryItem:
  31672. get:
  31673. parameters:
  31674. - description: 品类id
  31675. in: query
  31676. name: wrstandardid
  31677. required: true
  31678. type: integer
  31679. produces:
  31680. - application/json
  31681. responses:
  31682. "200":
  31683. description: OK
  31684. schema:
  31685. items:
  31686. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  31687. type: array
  31688. "500":
  31689. description: Internal Server Error
  31690. schema:
  31691. $ref: '#/definitions/app.Response'
  31692. security:
  31693. - ApiKeyAuth: []
  31694. summary: 查询品类要素定义项
  31695. tags:
  31696. - 仓单贸易v2
  31697. /WrTrade2/QueryWrTradeBargainApply:
  31698. get:
  31699. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  31700. 议价->对方议价 填写matchuserid=登录用户id
  31701. parameters:
  31702. - description: 议价人id(摘牌方)
  31703. in: query
  31704. name: userid
  31705. type: integer
  31706. - description: 挂牌方id(查对方议价时,填写此项)
  31707. in: query
  31708. name: matchuserid
  31709. type: integer
  31710. - description: 关联委托单id
  31711. in: query
  31712. name: wrtradeorderid
  31713. type: integer
  31714. - description: 0:仓单预售 1:仓单贸易
  31715. in: query
  31716. name: haswr
  31717. required: true
  31718. type: integer
  31719. - description: 开始交易日(yyyymmdd)
  31720. in: query
  31721. name: begindate
  31722. type: string
  31723. - description: 结束交易日(yyyymmdd)
  31724. in: query
  31725. name: enddate
  31726. type: string
  31727. produces:
  31728. - application/json
  31729. responses:
  31730. "200":
  31731. description: OK
  31732. schema:
  31733. items:
  31734. $ref: '#/definitions/models.WRTradeBargainApply'
  31735. type: array
  31736. "500":
  31737. description: Internal Server Error
  31738. schema:
  31739. $ref: '#/definitions/app.Response'
  31740. security:
  31741. - ApiKeyAuth: []
  31742. summary: 查询议价单
  31743. tags:
  31744. - 仓单贸易v2
  31745. /WrTrade2/QueryWrTradeDetail:
  31746. get:
  31747. parameters:
  31748. - description: 页码
  31749. in: query
  31750. name: page
  31751. type: integer
  31752. - description: 每页条数
  31753. in: query
  31754. name: pagesize
  31755. type: integer
  31756. - description: 用户id
  31757. in: query
  31758. name: userid
  31759. required: true
  31760. type: integer
  31761. - description: 仓单贸易市场id
  31762. in: query
  31763. name: marketid
  31764. type: integer
  31765. - description: 0:仓单预售 1:仓单贸易
  31766. in: query
  31767. name: haswr
  31768. required: true
  31769. type: integer
  31770. - description: 开始交易日(yyyymmdd)
  31771. in: query
  31772. name: begindate
  31773. type: string
  31774. - description: 结束交易日(yyyymmdd)
  31775. in: query
  31776. name: enddate
  31777. type: string
  31778. produces:
  31779. - application/json
  31780. responses:
  31781. "200":
  31782. description: OK
  31783. schema:
  31784. items:
  31785. $ref: '#/definitions/models.WrTradeDetail'
  31786. type: array
  31787. "500":
  31788. description: Internal Server Error
  31789. schema:
  31790. $ref: '#/definitions/app.Response'
  31791. security:
  31792. - ApiKeyAuth: []
  31793. summary: 查询仓单成交明细
  31794. tags:
  31795. - 仓单贸易v2
  31796. /WrTrade2/QueryWrTradeOrderDetail:
  31797. get:
  31798. parameters:
  31799. - description: 页码
  31800. in: query
  31801. name: page
  31802. type: integer
  31803. - description: 每页条数
  31804. in: query
  31805. name: pagesize
  31806. type: integer
  31807. - description: 商品id
  31808. in: query
  31809. name: goodsid
  31810. required: true
  31811. type: integer
  31812. - description: 买卖方向 0-买 1-卖
  31813. in: query
  31814. name: buyorsell
  31815. required: true
  31816. type: integer
  31817. produces:
  31818. - application/json
  31819. responses:
  31820. "200":
  31821. description: OK
  31822. schema:
  31823. items:
  31824. $ref: '#/definitions/models.WrTradeOrderDetail'
  31825. type: array
  31826. "500":
  31827. description: Internal Server Error
  31828. schema:
  31829. $ref: '#/definitions/app.Response'
  31830. security:
  31831. - ApiKeyAuth: []
  31832. summary: 查询合约交易买卖大厅
  31833. tags:
  31834. - 仓单贸易v2
  31835. /WrTrade2/QueryWrTradeQuote:
  31836. get:
  31837. parameters:
  31838. - description: 现货商品id
  31839. in: query
  31840. name: wrstandardid
  31841. required: true
  31842. type: integer
  31843. - description: 开始日期(yyyymmdd)
  31844. in: query
  31845. name: begindate
  31846. required: true
  31847. type: string
  31848. - description: 结束日期(yyyymmdd)
  31849. in: query
  31850. name: enddate
  31851. required: true
  31852. type: string
  31853. - description: 市场id
  31854. in: query
  31855. name: marketid
  31856. type: integer
  31857. produces:
  31858. - application/json
  31859. responses:
  31860. "200":
  31861. description: OK
  31862. schema:
  31863. items:
  31864. $ref: '#/definitions/models.Wrtradetradequote'
  31865. type: array
  31866. "500":
  31867. description: Internal Server Error
  31868. schema:
  31869. $ref: '#/definitions/app.Response'
  31870. security:
  31871. - ApiKeyAuth: []
  31872. summary: 查询仓单贸易成交行情
  31873. tags:
  31874. - 仓单贸易v2
  31875. /WrTrade2/QueryWrUserFriend:
  31876. get:
  31877. parameters:
  31878. - description: 用户id
  31879. in: query
  31880. name: userid
  31881. required: true
  31882. type: integer
  31883. - description: 新朋友userid, 如果填写了此项则查找新朋友
  31884. in: query
  31885. name: newuserid
  31886. type: integer
  31887. produces:
  31888. - application/json
  31889. responses:
  31890. "200":
  31891. description: OK
  31892. schema:
  31893. items:
  31894. $ref: '#/definitions/models.WrUserFriend'
  31895. type: array
  31896. "500":
  31897. description: Internal Server Error
  31898. schema:
  31899. $ref: '#/definitions/app.Response'
  31900. security:
  31901. - ApiKeyAuth: []
  31902. summary: 查询我的朋友
  31903. tags:
  31904. - 仓单贸易v2
  31905. /WrTrade2/QueryWrUserReceiptInfo:
  31906. get:
  31907. parameters:
  31908. - description: 用户id
  31909. in: query
  31910. name: userid
  31911. type: integer
  31912. - description: 发票类型 - 1:个人 2:企业
  31913. in: query
  31914. name: receipttype
  31915. type: integer
  31916. produces:
  31917. - application/json
  31918. responses:
  31919. "200":
  31920. description: OK
  31921. schema:
  31922. items:
  31923. $ref: '#/definitions/models.WrUserReceiptInfo'
  31924. type: array
  31925. "500":
  31926. description: Internal Server Error
  31927. schema:
  31928. $ref: '#/definitions/app.Response'
  31929. security:
  31930. - ApiKeyAuth: []
  31931. summary: 查询发票信息
  31932. tags:
  31933. - 仓单贸易v2
  31934. /WrTrade2/QueryXhcpSellBackApply:
  31935. get:
  31936. parameters:
  31937. - description: 用户ID
  31938. in: query
  31939. name: userid
  31940. required: true
  31941. type: integer
  31942. produces:
  31943. - application/json
  31944. responses:
  31945. "200":
  31946. description: OK
  31947. schema:
  31948. items:
  31949. $ref: '#/definitions/models.Xhcpsellbackapply'
  31950. type: array
  31951. "500":
  31952. description: Internal Server Error
  31953. schema:
  31954. $ref: '#/definitions/app.Response'
  31955. security:
  31956. - ApiKeyAuth: []
  31957. summary: 查询我的回收申请(新会陈皮)
  31958. tags:
  31959. - 仓单贸易v2
  31960. /ZJ/GetBankTip:
  31961. get:
  31962. produces:
  31963. - application/json
  31964. responses:
  31965. "200":
  31966. description: OK
  31967. schema:
  31968. type: string
  31969. "500":
  31970. description: Internal Server Error
  31971. schema:
  31972. $ref: '#/definitions/app.Response'
  31973. summary: 获取中江网银端出入金提示信息
  31974. tags:
  31975. - 中江
  31976. /ZJ/GetCusBankChannels:
  31977. get:
  31978. produces:
  31979. - application/json
  31980. responses:
  31981. "200":
  31982. description: OK
  31983. schema:
  31984. items:
  31985. type: string
  31986. type: array
  31987. "500":
  31988. description: Internal Server Error
  31989. schema:
  31990. $ref: '#/definitions/app.Response'
  31991. summary: 获取中江出入金渠道显示列表
  31992. tags:
  31993. - 中江
  31994. securityDefinitions:
  31995. ApiKeyAuth:
  31996. in: header
  31997. name: Authorization
  31998. type: apiKey
  31999. swagger: "2.0"