swagger.yaml 861 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943
  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. accountid:
  2185. description: 资金账号(只有外部账号才有值, 内部账号是根据userid汇总的)
  2186. type: integer
  2187. agreeunit:
  2188. description: 合约单位
  2189. type: string
  2190. areauserid:
  2191. description: 所属机构id
  2192. type: integer
  2193. convertratio:
  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. middlegoodsid:
  2218. description: 套保商品id
  2219. type: integer
  2220. ydqty:
  2221. description: 昨日持仓
  2222. type: integer
  2223. type: object
  2224. ermcp.RealtimeExposureRsp:
  2225. properties:
  2226. AreaUserID:
  2227. description: 所属机构
  2228. type: integer
  2229. BuyFutureQty:
  2230. description: 买入期货数量
  2231. type: number
  2232. BuyPlanQty:
  2233. description: 采购计划数量
  2234. type: number
  2235. BuyPricedQty:
  2236. description: 采购合同已定价数量
  2237. type: number
  2238. MiddleGoodsCode:
  2239. description: 套保品种代码
  2240. type: string
  2241. MiddleGoodsHedgeRatio:
  2242. description: 套保比例
  2243. type: number
  2244. MiddleGoodsID:
  2245. description: 套保品种
  2246. type: integer
  2247. MiddleGoodsName:
  2248. description: 套保品种名称
  2249. type: string
  2250. NeedHedgeExposoure:
  2251. description: 应套保敞口(套保敞口)
  2252. type: number
  2253. NeedHedgeRatio:
  2254. description: 应套保敞口比例
  2255. type: number
  2256. OriBuyFutureQty:
  2257. description: 期初买入期货数量
  2258. type: number
  2259. OriBuyPlanQty:
  2260. description: 期初采购计划数量
  2261. type: number
  2262. OriBuyPricedQty:
  2263. description: 期初采购合同已定价数量
  2264. type: number
  2265. OriSellFutureQty:
  2266. description: 期初卖出期货数量
  2267. type: number
  2268. OriSellPlanQty:
  2269. description: 期初销售计划数量
  2270. type: number
  2271. OriSellPricedQty:
  2272. description: 期初销售合同已定价数量
  2273. type: number
  2274. OriTotalSpotQty:
  2275. description: 期初现货总量
  2276. type: number
  2277. SellFutureQty:
  2278. description: 卖出期货数量
  2279. type: number
  2280. SellPlanQty:
  2281. description: 销售计划数量
  2282. type: number
  2283. SellPricedQty:
  2284. description: 销售合同已定价数量
  2285. type: number
  2286. TotalExposure:
  2287. description: 总敞口 平安:净敞口
  2288. type: number
  2289. TotalFutureQty:
  2290. description: 期货总量 平安:保值净持仓量
  2291. type: number
  2292. TotalHedgeRatio:
  2293. description: 敞口比例
  2294. type: number
  2295. TotalNeedHedgeQty:
  2296. description: 应套保总量(现货应套保总量)
  2297. type: number
  2298. TotalSpotQty:
  2299. description: 现货总量 平安:采销定价净值
  2300. type: number
  2301. arbitrageqty:
  2302. description: 套利量
  2303. type: number
  2304. diffArbitrageQty:
  2305. description: 套利变动量
  2306. type: number
  2307. diffExposoureQty:
  2308. description: 变动量(套保敞口)
  2309. type: number
  2310. diffFutuQty:
  2311. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2312. type: number
  2313. diffHedgeQty:
  2314. description: 套保变动量
  2315. type: number
  2316. diffQty:
  2317. description: 变动量(总敞口) 平安:净敞口今日变动
  2318. type: number
  2319. diffSpotHedgeQty:
  2320. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2321. type: number
  2322. diffSpotQty:
  2323. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2324. type: number
  2325. enumdicname:
  2326. description: 单位名称
  2327. type: string
  2328. hedgeqty:
  2329. description: 套保量
  2330. type: number
  2331. needarbitrageqty:
  2332. description: 应套利量
  2333. type: number
  2334. needarbitrageratio:
  2335. description: 套利比例
  2336. type: number
  2337. needhedgeqty:
  2338. description: 应套保量
  2339. type: number
  2340. oriarbitrageqty:
  2341. description: 期初套利量
  2342. type: number
  2343. orihedgeqty:
  2344. description: 期初套保量
  2345. type: number
  2346. orineedhedgeexposoure:
  2347. description: 期初套保敞口
  2348. type: number
  2349. oritotalexposure:
  2350. description: 期初总敞口
  2351. type: number
  2352. oritotalfutureqty:
  2353. description: 期初期货总量
  2354. type: number
  2355. oritotalneedhedgeqty:
  2356. description: 期初现货应套保量
  2357. type: number
  2358. type: object
  2359. erms2.QueryArbitrageStrategyRsp:
  2360. properties:
  2361. applybasis:
  2362. description: 申请基差
  2363. type: number
  2364. asapplyid:
  2365. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2366. type: string
  2367. asname:
  2368. description: 策略名称
  2369. type: string
  2370. asno:
  2371. description: 策略编号
  2372. type: string
  2373. basischangepl:
  2374. description: 基差变动损益[结算更新]
  2375. type: number
  2376. biztype:
  2377. description: 业务类型 - 1:正向套利 -1:反向套利
  2378. type: integer
  2379. closetradedate:
  2380. description: 完结交易日(yyyyMMdd)
  2381. type: string
  2382. curbasis:
  2383. description: 当前基差[结算更新]
  2384. type: number
  2385. deliverygoodsid:
  2386. description: 现货品种ID
  2387. type: integer
  2388. futureavgprice:
  2389. description: 期货建仓均价
  2390. type: number
  2391. futurecloseamount:
  2392. description: 期货平仓金额
  2393. type: number
  2394. futurecloseqty:
  2395. description: 期货平仓数量
  2396. type: number
  2397. futureopenamount:
  2398. description: 期货开仓金额
  2399. type: number
  2400. futureopenqty:
  2401. description: 期货开仓数量
  2402. type: number
  2403. futurepl:
  2404. description: 期货总盈亏[结算更新]
  2405. type: number
  2406. futureqty:
  2407. description: 期货持仓数量
  2408. type: number
  2409. futurequote:
  2410. description: 期货额度
  2411. type: number
  2412. goodsgroupid:
  2413. description: 期货品种ID
  2414. type: integer
  2415. marketid:
  2416. description: 市场ID
  2417. type: integer
  2418. netexposure:
  2419. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2420. type: number
  2421. netexposurepl:
  2422. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2423. type: number
  2424. netexposurerate:
  2425. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2426. type: number
  2427. openbasis:
  2428. description: 建仓基差
  2429. type: number
  2430. pricedspotqty:
  2431. description: 已定价现货数量
  2432. type: number
  2433. pricedspotqtynotax:
  2434. description: 已定价现货不含税数量
  2435. type: number
  2436. remark:
  2437. description: 备注
  2438. type: string
  2439. spotavgprice:
  2440. description: 现货均价
  2441. type: number
  2442. spotbuyamount:
  2443. description: 现货采购金额
  2444. type: number
  2445. spotbuyqty:
  2446. description: 现货采购数量
  2447. type: number
  2448. spotpl:
  2449. description: 现货总盈亏[结算更新]
  2450. type: number
  2451. spotquota:
  2452. description: 现货额度
  2453. type: number
  2454. spotsellamount:
  2455. description: 现货销售金额
  2456. type: number
  2457. spotsellqty:
  2458. description: 现货销售数量
  2459. type: number
  2460. spotusedquota:
  2461. description: 现货占用资金
  2462. type: number
  2463. strategystatus:
  2464. description: 策略状态 - 0:未结束 1:已结束
  2465. type: integer
  2466. totalpl:
  2467. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2468. type: number
  2469. tradedate:
  2470. description: 交易日(yyyyMMdd)
  2471. type: string
  2472. updatetime:
  2473. description: 更新时间
  2474. type: string
  2475. usedquota:
  2476. description: 已占用资金
  2477. type: number
  2478. userid:
  2479. description: 所属机构
  2480. type: integer
  2481. required:
  2482. - asapplyid
  2483. type: object
  2484. erms2.QueryInnerTradeDetailRsp:
  2485. properties:
  2486. accountid:
  2487. description: 账号ID
  2488. type: integer
  2489. agreeunit:
  2490. description: 合约单位
  2491. type: number
  2492. asapplyid:
  2493. description: 策略申请ID
  2494. type: integer
  2495. asname:
  2496. description: 策略名称
  2497. type: string
  2498. asno:
  2499. description: 策略编号
  2500. type: string
  2501. buyorsell:
  2502. description: 方向 - 0:买 1:卖
  2503. type: integer
  2504. channelbuildtype:
  2505. description: 委托单据类型 0:无 1:建仓 2:平仓
  2506. type: integer
  2507. closetype:
  2508. description: 平仓方式 - 0:无 1:平今 2:平昨
  2509. type: integer
  2510. decimalplace:
  2511. description: 报价小数位
  2512. type: integer
  2513. detailtype:
  2514. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2515. type: integer
  2516. exexchangecode:
  2517. description: 外部交易所代码
  2518. type: string
  2519. exexchangename:
  2520. description: 外部交易所名称
  2521. type: string
  2522. goodscode:
  2523. description: 商品代码(合约)
  2524. type: string
  2525. goodsgroupid:
  2526. description: 商品组ID(品种ID)
  2527. type: integer
  2528. goodsgroupname:
  2529. description: 商品组名称(品种)
  2530. type: string
  2531. goodsid:
  2532. description: 商品ID
  2533. type: integer
  2534. goodsname:
  2535. description: 商品名称(合约)
  2536. type: string
  2537. goodunit:
  2538. description: 报价单位
  2539. type: string
  2540. marketid:
  2541. description: 市场ID
  2542. type: integer
  2543. orderid:
  2544. description: 委托单号
  2545. type: string
  2546. outgoodscode:
  2547. description: 商品代码(外部)
  2548. type: string
  2549. relatedouttradeid:
  2550. description: 关联外部成交单ID
  2551. type: string
  2552. remark:
  2553. description: 备注
  2554. type: string
  2555. spotcontractid:
  2556. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2557. type: integer
  2558. spotcontractno:
  2559. description: 现货合同编号
  2560. type: string
  2561. tradeid:
  2562. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2563. type: string
  2564. tradeprice:
  2565. description: 成交价格
  2566. type: number
  2567. tradeqty:
  2568. description: 成交数量
  2569. type: integer
  2570. tradetime:
  2571. description: 成交时间
  2572. type: string
  2573. updatetime:
  2574. description: 更新时间
  2575. type: string
  2576. required:
  2577. - asapplyid
  2578. - buyorsell
  2579. - goodscode
  2580. - goodsgroupid
  2581. - goodsgroupname
  2582. - goodsname
  2583. - tradeid
  2584. type: object
  2585. erms2.QuerySpotContractRsp:
  2586. properties:
  2587. accountid:
  2588. description: 资金账户ID
  2589. type: integer
  2590. areauserid:
  2591. description: 所属机构
  2592. type: integer
  2593. closedate:
  2594. description: 终止日期
  2595. type: string
  2596. closeremark:
  2597. description: 结束备注
  2598. type: string
  2599. closetradedate:
  2600. description: 完结交易日(yyyyMMdd)
  2601. type: string
  2602. closetype:
  2603. description: 终止类型 - 1:违约 2:提前终止
  2604. type: integer
  2605. contractamount:
  2606. description: 合同金额
  2607. type: number
  2608. contractattachment:
  2609. description: 合同附件
  2610. type: string
  2611. contractno:
  2612. description: 现货合同编号
  2613. type: string
  2614. contractqty:
  2615. description: 合同数量(数值) (用于计算)
  2616. type: number
  2617. contractqtychar:
  2618. description: 合同数量\已订价数量 (用于显示)
  2619. type: string
  2620. contractstatus:
  2621. description: 合同状态 - 0:未结束 1:已结束
  2622. type: integer
  2623. contracttype:
  2624. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2625. type: integer
  2626. customeraccountid:
  2627. description: 客户资金账户ID
  2628. type: integer
  2629. customeruserid:
  2630. description: 客户ID
  2631. type: integer
  2632. deliverygoodsdesc:
  2633. description: 品种说明
  2634. type: string
  2635. deliverygoodsid:
  2636. description: 现货品种ID
  2637. type: integer
  2638. handlestatus:
  2639. description: 处理状态
  2640. type: integer
  2641. invoiceatt:
  2642. description: 发票附件
  2643. type: string
  2644. invoicedatetime:
  2645. description: 开收票更新时间
  2646. type: string
  2647. invoiceopentime:
  2648. description: 开票时间
  2649. type: string
  2650. invoiceremark:
  2651. description: 发票备注
  2652. type: string
  2653. invoicestatus:
  2654. description: 开收票状态 - 0:未开票 1:已开票
  2655. type: integer
  2656. lastdate:
  2657. description: 交货时间
  2658. type: string
  2659. marketid:
  2660. description: 市场ID
  2661. type: integer
  2662. paydatetime:
  2663. description: 收付款更新时间
  2664. type: string
  2665. payremark:
  2666. description: 收付款备注
  2667. type: string
  2668. paystatus:
  2669. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2670. type: integer
  2671. positionqty:
  2672. description: 头寸数量 - 合同数量去小数部分
  2673. type: integer
  2674. producttype:
  2675. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2676. type: integer
  2677. relatedqty:
  2678. description: 已关联数量
  2679. type: number
  2680. relatedstatus:
  2681. description: 关联完结状态 - 0:未结束 1:已结束
  2682. type: integer
  2683. remark:
  2684. description: 备注
  2685. type: string
  2686. signdate:
  2687. description: 签订日期
  2688. type: string
  2689. spotcontractid:
  2690. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2691. type: string
  2692. spotdatetime:
  2693. description: 收发货更新时间
  2694. type: string
  2695. spotprice:
  2696. description: 价格
  2697. type: number
  2698. spotremark:
  2699. description: 收发货备注
  2700. type: string
  2701. spotstatus:
  2702. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2703. type: integer
  2704. tradedate:
  2705. description: 交易日(yyyyMMdd)
  2706. type: string
  2707. userid:
  2708. description: 业务员用户ID
  2709. type: integer
  2710. warehouseid:
  2711. description: 仓库ID
  2712. type: integer
  2713. wrfactortypeid:
  2714. description: 仓单要素类型ID
  2715. type: integer
  2716. wrstandardid:
  2717. description: 仓单标准ID(SEQ_WRSTANDARD)
  2718. type: integer
  2719. required:
  2720. - spotcontractid
  2721. type: object
  2722. erms3.AddErms2ASApplyReq:
  2723. properties:
  2724. applybasis:
  2725. description: 申请基差
  2726. type: number
  2727. applystatus:
  2728. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2729. type: integer
  2730. asapplyid:
  2731. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2732. type: integer
  2733. asname:
  2734. description: 策略名称
  2735. type: string
  2736. asno:
  2737. description: 策略编号
  2738. type: string
  2739. auditid:
  2740. description: 审核人
  2741. type: integer
  2742. auditremark:
  2743. description: 审核备注
  2744. type: string
  2745. audittime:
  2746. description: 审核时间
  2747. type: string
  2748. biztype:
  2749. description: 业务类型 - 1:正向套利 2:反向套利
  2750. type: integer
  2751. createtime:
  2752. description: 创建时间
  2753. type: string
  2754. creatorid:
  2755. description: 创建人
  2756. type: integer
  2757. deliverygoodsid:
  2758. description: 现货品种ID
  2759. type: integer
  2760. futurequote:
  2761. description: 期货额度
  2762. type: number
  2763. goodsgroupid:
  2764. description: 期货品种ID
  2765. type: integer
  2766. marketid:
  2767. description: 市场ID
  2768. type: integer
  2769. remark:
  2770. description: 备注
  2771. type: string
  2772. spotquota:
  2773. description: 现货额度
  2774. type: number
  2775. tradedate:
  2776. description: 交易日(yyyyMMdd)
  2777. type: string
  2778. userid:
  2779. description: 所属机构
  2780. type: integer
  2781. required:
  2782. - asapplyid
  2783. type: object
  2784. erms3.AddErms2SpotTradeApplyReq:
  2785. properties:
  2786. applyjsondetail:
  2787. description: 申请明细(JSON)
  2788. type: string
  2789. applystatus:
  2790. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2791. type: integer
  2792. areauserid:
  2793. description: 所属机构
  2794. type: integer
  2795. auditid:
  2796. description: 审核人
  2797. type: integer
  2798. auditremark:
  2799. description: 审核备注
  2800. type: string
  2801. audittime:
  2802. description: 审核时间
  2803. type: string
  2804. createtime:
  2805. description: 创建时间
  2806. type: string
  2807. creatorid:
  2808. description: 创建人
  2809. type: integer
  2810. deliverygoodsid:
  2811. description: 现货品种ID
  2812. type: integer
  2813. futureaccountid:
  2814. description: 期货资金账户
  2815. type: integer
  2816. goodsgroupid:
  2817. description: 期货品种
  2818. type: integer
  2819. marketid:
  2820. description: 市场ID
  2821. type: integer
  2822. remark:
  2823. description: 备注
  2824. type: string
  2825. spotaccountid:
  2826. description: 现货资金账户
  2827. type: integer
  2828. spottradeid:
  2829. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2830. type: integer
  2831. spottradename:
  2832. description: 业务名称
  2833. type: string
  2834. spottradeno:
  2835. description: 业务编号
  2836. type: string
  2837. tradedate:
  2838. description: 交易日(yyyyMMdd)
  2839. type: string
  2840. wrstandardid:
  2841. description: 仓单标准ID
  2842. type: integer
  2843. required:
  2844. - spottradeid
  2845. type: object
  2846. erms3.AddSpotContractApplyReq:
  2847. properties:
  2848. accountid:
  2849. description: 资金账户ID
  2850. type: integer
  2851. areauserid:
  2852. description: 所属机构
  2853. type: integer
  2854. contractattachment:
  2855. description: 合同附件
  2856. type: string
  2857. contractno:
  2858. description: 现货合同编号
  2859. type: string
  2860. contracttype:
  2861. description: 现货合同类型 - 1:采购 -1:销售
  2862. type: integer
  2863. creatorid:
  2864. description: 申请人
  2865. type: integer
  2866. customeraccountid:
  2867. description: 客户资金账户ID
  2868. type: integer
  2869. customeruserid:
  2870. description: 客户ID
  2871. type: integer
  2872. details:
  2873. description: 明细
  2874. items:
  2875. $ref: '#/definitions/erms3.SoptContractDetail'
  2876. type: array
  2877. orimargin:
  2878. description: 初始保证金
  2879. type: number
  2880. remark:
  2881. description: 备注
  2882. type: string
  2883. signdate:
  2884. description: 签订日期
  2885. type: string
  2886. required:
  2887. - accountid
  2888. - areauserid
  2889. - contractno
  2890. - contracttype
  2891. - customeraccountid
  2892. - customeruserid
  2893. - details
  2894. - orimargin
  2895. - signdate
  2896. type: object
  2897. erms3.AddSpotContractApplyRsp:
  2898. properties:
  2899. contractno:
  2900. description: 现货合同编号
  2901. type: string
  2902. spotcontractid:
  2903. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2904. type: integer
  2905. required:
  2906. - contractno
  2907. type: object
  2908. erms3.AddUserInfoApplyReq:
  2909. properties:
  2910. accountid:
  2911. description: 交易系统帐号Id (加密存储)
  2912. type: integer
  2913. areacode:
  2914. description: 机构代码
  2915. type: string
  2916. areaid:
  2917. description: 机构Id
  2918. type: integer
  2919. attachment1:
  2920. description: 附件1
  2921. type: string
  2922. attachment2:
  2923. description: 附件2
  2924. type: string
  2925. attachment3:
  2926. description: 附件3
  2927. type: string
  2928. attachment4:
  2929. description: 附件4
  2930. type: string
  2931. attachment5:
  2932. description: 附件5
  2933. type: string
  2934. auditedby:
  2935. description: 审核人
  2936. type: string
  2937. auditime:
  2938. description: 审核时间
  2939. type: string
  2940. auditsrc:
  2941. description: 审核来源 - 1:管理端 2:终端
  2942. type: integer
  2943. bankaccount:
  2944. description: 银行帐号 (加密存储)
  2945. type: string
  2946. bankaccountname:
  2947. description: 收款人名称
  2948. type: string
  2949. bankcardbackphotourl:
  2950. description: 银行卡背面照地址
  2951. type: string
  2952. bankcardfrontphotourl:
  2953. description: 银行卡正面照地址
  2954. type: string
  2955. bankid:
  2956. description: 银行编码
  2957. type: string
  2958. bankname:
  2959. description: 银行名称
  2960. type: string
  2961. bankpictureurl:
  2962. description: 银行卡正面地址
  2963. type: string
  2964. biznature:
  2965. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2966. type: integer
  2967. bizscope:
  2968. description: 企业经营范围(企业)
  2969. type: string
  2970. biztype:
  2971. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2972. type: integer
  2973. brokerid:
  2974. description: 经纪人ID(加密存储)
  2975. type: string
  2976. cardaddress:
  2977. description: 证件地址 (加密存储)
  2978. type: string
  2979. cardbackphotourl:
  2980. description: 背面证件照地址
  2981. type: string
  2982. cardfrontphotourl:
  2983. description: 正面证件照地址
  2984. type: string
  2985. cardnum:
  2986. description: 证件号码 (加密存储)
  2987. type: string
  2988. cardtype:
  2989. description: 证件类型
  2990. type: integer
  2991. cityid:
  2992. description: 市
  2993. type: integer
  2994. company:
  2995. description: 公司(个人)
  2996. type: string
  2997. contactcardbackphotourl:
  2998. description: 联系人证件背面图片地址
  2999. type: string
  3000. contactcardfrontphotourl:
  3001. description: 联系人证件正面图片地址
  3002. type: string
  3003. contactname:
  3004. description: 联系人
  3005. type: string
  3006. countryid:
  3007. description: 国家
  3008. type: integer
  3009. createtime:
  3010. description: 开户申请时间
  3011. type: string
  3012. cusbankid:
  3013. description: 签约类型
  3014. type: string
  3015. cusbankname:
  3016. description: 签约类型名称
  3017. type: string
  3018. customername:
  3019. description: 客户名称(企业名称)
  3020. type: string
  3021. districtid:
  3022. description: 地区
  3023. type: integer
  3024. email:
  3025. description: Email地址(加密存储)
  3026. type: string
  3027. halfbodyphotourl:
  3028. description: 半身照地址
  3029. type: string
  3030. headurl:
  3031. description: 头像地址
  3032. type: string
  3033. ipaddress:
  3034. description: IP地址
  3035. type: string
  3036. isvalidate:
  3037. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3038. type: string
  3039. legalcardbackphotourl:
  3040. description: 法人身份证背面照地址
  3041. type: string
  3042. legalcardfrontphotourl:
  3043. description: 法人身份证正面照地址
  3044. type: string
  3045. legalpersonname:
  3046. description: 法人姓名(企业)
  3047. type: string
  3048. logincode:
  3049. description: 登录帐号 (加密存储)
  3050. type: string
  3051. memberareaid:
  3052. description: 所属会员ID
  3053. type: integer
  3054. mobile2:
  3055. description: 手机号码[明文-尚志]
  3056. type: string
  3057. mobilephone:
  3058. description: 手机号码 (加密存储)
  3059. type: string
  3060. modifiedby:
  3061. description: 修改人帐号
  3062. type: integer
  3063. modifiedtime:
  3064. description: 修改时间
  3065. type: string
  3066. nickname:
  3067. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3068. type: string
  3069. openmode:
  3070. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3071. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3072. type: integer
  3073. otherurl:
  3074. description: 其它图片地址[使用分号分隔]
  3075. type: string
  3076. postalcode:
  3077. description: 邮政编码
  3078. type: string
  3079. provinceid:
  3080. description: 省
  3081. type: integer
  3082. proxystatementurl:
  3083. description: 授权委托书
  3084. type: string
  3085. qq:
  3086. description: QQ(加密存储
  3087. type: string
  3088. referral:
  3089. description: 推荐人编码
  3090. type: string
  3091. remark:
  3092. description: 备注
  3093. type: string
  3094. removebeforestatus:
  3095. description: REMOVEBEFORESTATUS
  3096. type: integer
  3097. sex:
  3098. description: 性别 - 0:女 1:男
  3099. type: integer
  3100. signedstatus:
  3101. description: 账户一号签签约状态
  3102. type: integer
  3103. signpdfurl:
  3104. description: 签约pdf文件
  3105. type: string
  3106. subbranch:
  3107. description: 开户支行
  3108. type: string
  3109. taxpayernum:
  3110. description: 纳税人识别号
  3111. type: string
  3112. telphone:
  3113. description: 联系电话(加密存储)
  3114. type: string
  3115. userid:
  3116. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3117. type: integer
  3118. userinfotype:
  3119. description: 用户信息类型 - 1:个人 2:企业
  3120. type: integer
  3121. username:
  3122. description: 用户姓名
  3123. type: string
  3124. userstate:
  3125. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3126. type: integer
  3127. usertype:
  3128. description: 用户类型 - 1:投资者 2:机构
  3129. type: integer
  3130. videourl:
  3131. description: 视频地址
  3132. type: string
  3133. wechat:
  3134. description: 微信号 (加密存储)
  3135. type: string
  3136. required:
  3137. - userid
  3138. type: object
  3139. erms3.CustomerInfo:
  3140. properties:
  3141. accountids:
  3142. description: 资金账户ID列表
  3143. items:
  3144. type: integer
  3145. type: array
  3146. customername:
  3147. description: 名称(企业名称)
  3148. type: string
  3149. mobile:
  3150. description: 手机号码
  3151. type: string
  3152. userid:
  3153. description: 用户ID
  3154. type: integer
  3155. required:
  3156. - userid
  3157. type: object
  3158. erms3.ModifyUserInfoApplyReq:
  3159. properties:
  3160. accountid:
  3161. description: 交易系统帐号Id (加密存储)
  3162. type: integer
  3163. areacode:
  3164. description: 机构代码
  3165. type: string
  3166. areaid:
  3167. description: 机构Id
  3168. type: integer
  3169. attachment1:
  3170. description: 附件1
  3171. type: string
  3172. attachment2:
  3173. description: 附件2
  3174. type: string
  3175. attachment3:
  3176. description: 附件3
  3177. type: string
  3178. attachment4:
  3179. description: 附件4
  3180. type: string
  3181. attachment5:
  3182. description: 附件5
  3183. type: string
  3184. auditedby:
  3185. description: 审核人
  3186. type: string
  3187. auditime:
  3188. description: 审核时间
  3189. type: string
  3190. auditsrc:
  3191. description: 审核来源 - 1:管理端 2:终端
  3192. type: integer
  3193. bankaccount:
  3194. description: 银行帐号 (加密存储)
  3195. type: string
  3196. bankaccountname:
  3197. description: 收款人名称
  3198. type: string
  3199. bankcardbackphotourl:
  3200. description: 银行卡背面照地址
  3201. type: string
  3202. bankcardfrontphotourl:
  3203. description: 银行卡正面照地址
  3204. type: string
  3205. bankid:
  3206. description: 银行编码
  3207. type: string
  3208. bankname:
  3209. description: 银行名称
  3210. type: string
  3211. bankpictureurl:
  3212. description: 银行卡正面地址
  3213. type: string
  3214. biznature:
  3215. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3216. type: integer
  3217. bizscope:
  3218. description: 企业经营范围(企业)
  3219. type: string
  3220. biztype:
  3221. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3222. type: integer
  3223. brokerid:
  3224. description: 经纪人ID(加密存储)
  3225. type: string
  3226. cardaddress:
  3227. description: 证件地址 (加密存储)
  3228. type: string
  3229. cardbackphotourl:
  3230. description: 背面证件照地址
  3231. type: string
  3232. cardfrontphotourl:
  3233. description: 正面证件照地址
  3234. type: string
  3235. cardnum:
  3236. description: 证件号码 (加密存储)
  3237. type: string
  3238. cardtype:
  3239. description: 证件类型
  3240. type: integer
  3241. cityid:
  3242. description: 市
  3243. type: integer
  3244. company:
  3245. description: 公司(个人)
  3246. type: string
  3247. contactcardbackphotourl:
  3248. description: 联系人证件背面图片地址
  3249. type: string
  3250. contactcardfrontphotourl:
  3251. description: 联系人证件正面图片地址
  3252. type: string
  3253. contactname:
  3254. description: 联系人
  3255. type: string
  3256. countryid:
  3257. description: 国家
  3258. type: integer
  3259. createtime:
  3260. description: 开户申请时间
  3261. type: string
  3262. cusbankid:
  3263. description: 签约类型
  3264. type: string
  3265. cusbankname:
  3266. description: 签约类型名称
  3267. type: string
  3268. customername:
  3269. description: 客户名称(企业名称)
  3270. type: string
  3271. districtid:
  3272. description: 地区
  3273. type: integer
  3274. email:
  3275. description: Email地址(加密存储)
  3276. type: string
  3277. halfbodyphotourl:
  3278. description: 半身照地址
  3279. type: string
  3280. headurl:
  3281. description: 头像地址
  3282. type: string
  3283. ipaddress:
  3284. description: IP地址
  3285. type: string
  3286. isvalidate:
  3287. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3288. type: string
  3289. legalcardbackphotourl:
  3290. description: 法人身份证背面照地址
  3291. type: string
  3292. legalcardfrontphotourl:
  3293. description: 法人身份证正面照地址
  3294. type: string
  3295. legalpersonname:
  3296. description: 法人姓名(企业)
  3297. type: string
  3298. logincode:
  3299. description: 登录帐号 (加密存储)
  3300. type: string
  3301. memberareaid:
  3302. description: 所属会员ID
  3303. type: integer
  3304. mobile2:
  3305. description: 手机号码[明文-尚志]
  3306. type: string
  3307. mobilephone:
  3308. description: 手机号码 (加密存储)
  3309. type: string
  3310. modifiedby:
  3311. description: 修改人帐号
  3312. type: integer
  3313. modifiedtime:
  3314. description: 修改时间
  3315. type: string
  3316. nickname:
  3317. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3318. type: string
  3319. openmode:
  3320. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3321. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3322. type: integer
  3323. otherurl:
  3324. description: 其它图片地址[使用分号分隔]
  3325. type: string
  3326. postalcode:
  3327. description: 邮政编码
  3328. type: string
  3329. provinceid:
  3330. description: 省
  3331. type: integer
  3332. proxystatementurl:
  3333. description: 授权委托书
  3334. type: string
  3335. qq:
  3336. description: QQ(加密存储
  3337. type: string
  3338. referral:
  3339. description: 推荐人编码
  3340. type: string
  3341. remark:
  3342. description: 备注
  3343. type: string
  3344. removebeforestatus:
  3345. description: REMOVEBEFORESTATUS
  3346. type: integer
  3347. sex:
  3348. description: 性别 - 0:女 1:男
  3349. type: integer
  3350. signedstatus:
  3351. description: 账户一号签签约状态
  3352. type: integer
  3353. signpdfurl:
  3354. description: 签约pdf文件
  3355. type: string
  3356. subbranch:
  3357. description: 开户支行
  3358. type: string
  3359. taxpayernum:
  3360. description: 纳税人识别号
  3361. type: string
  3362. telphone:
  3363. description: 联系电话(加密存储)
  3364. type: string
  3365. userid:
  3366. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3367. type: integer
  3368. userinfotype:
  3369. description: 用户信息类型 - 1:个人 2:企业
  3370. type: integer
  3371. username:
  3372. description: 用户姓名
  3373. type: string
  3374. userstate:
  3375. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3376. type: integer
  3377. usertype:
  3378. description: 用户类型 - 1:投资者 2:机构
  3379. type: integer
  3380. videourl:
  3381. description: 视频地址
  3382. type: string
  3383. wechat:
  3384. description: 微信号 (加密存储)
  3385. type: string
  3386. required:
  3387. - userid
  3388. type: object
  3389. erms3.QryAuditContractRsp:
  3390. properties:
  3391. accountid:
  3392. description: 交易员ID
  3393. type: string
  3394. applystatus:
  3395. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3396. type: integer
  3397. curdeliveryqty:
  3398. description: 未交收量
  3399. type: integer
  3400. customername:
  3401. description: 采购方ID
  3402. type: string
  3403. deliverygoodsid:
  3404. description: 品种ID
  3405. type: string
  3406. deliveryqty:
  3407. description: 交收量
  3408. type: integer
  3409. enumdicname:
  3410. description: 单位名称
  3411. type: string
  3412. matchaccountid:
  3413. description: 业务员ID
  3414. type: string
  3415. matchcustomername:
  3416. description: 销售方ID
  3417. type: string
  3418. pricedqty:
  3419. description: 定价量
  3420. type: number
  3421. signdate:
  3422. description: 签订日期
  3423. type: string
  3424. spotcontractid:
  3425. description: 合同ID
  3426. type: string
  3427. totaldqty:
  3428. description: 合同量
  3429. type: number
  3430. unpricedqty:
  3431. description: 未定价量
  3432. type: number
  3433. wrstandardname:
  3434. description: 商品名称
  3435. type: string
  3436. required:
  3437. - matchcustomername
  3438. - spotcontractid
  3439. type: object
  3440. erms3.QryPendingBizRsp:
  3441. properties:
  3442. accountid:
  3443. description: 现货账户
  3444. type: string
  3445. areaname:
  3446. description: 所属部门
  3447. type: string
  3448. bizid:
  3449. description: 业务ID
  3450. type: string
  3451. bizname:
  3452. description: 业务名称
  3453. type: string
  3454. status:
  3455. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3456. type: integer
  3457. type:
  3458. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3459. type: integer
  3460. type: object
  3461. erms3.QueryBusinessInfoRsp:
  3462. properties:
  3463. businessid:
  3464. description: 业务ID.
  3465. type: integer
  3466. buyamount:
  3467. description: 采购额.
  3468. type: number
  3469. buyqty:
  3470. description: 采购量.
  3471. type: string
  3472. futurepl:
  3473. description: 期货盈亏.
  3474. type: number
  3475. futureqty:
  3476. description: 期货敞口.
  3477. type: string
  3478. goodsid:
  3479. description: 商品名称/商品代码.
  3480. type: string
  3481. hedgingqty:
  3482. description: 套保量.
  3483. type: string
  3484. sellamount:
  3485. description: 销售额.
  3486. type: number
  3487. sellqty:
  3488. description: 销售量.
  3489. type: string
  3490. spotmarketvalue:
  3491. description: 现货市值.
  3492. type: number
  3493. spotpl:
  3494. description: 浮动权益.
  3495. type: number
  3496. spotqty:
  3497. description: 现货量.
  3498. type: string
  3499. statu:
  3500. description: 状态,0-未结束 1-已结束.
  3501. type: integer
  3502. totalpl:
  3503. description: 总盈亏.
  3504. type: number
  3505. totalqty:
  3506. description: 总敞口.
  3507. type: string
  3508. type:
  3509. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3510. type: integer
  3511. type: object
  3512. erms3.QuerySpotContractAppleFormRsp:
  3513. properties:
  3514. goodses:
  3515. description: 合约列表
  3516. items:
  3517. $ref: '#/definitions/models.GoodsIDAndName'
  3518. type: array
  3519. oppositeusers:
  3520. description: 对方账号列表
  3521. items:
  3522. $ref: '#/definitions/erms3.CustomerInfo'
  3523. type: array
  3524. ouruser:
  3525. $ref: '#/definitions/erms3.CustomerInfo'
  3526. description: 我方账号
  3527. warehouseinfos:
  3528. description: 仓库信息列表
  3529. items:
  3530. $ref: '#/definitions/models.Warehouseinfo'
  3531. type: array
  3532. wrstandards:
  3533. description: 仓单标准列表
  3534. items:
  3535. $ref: '#/definitions/models.WRStandardInfo'
  3536. type: array
  3537. type: object
  3538. erms3.QuerySpotContractInfoRsp:
  3539. properties:
  3540. accountid:
  3541. description: 表示交易员ID.
  3542. type: integer
  3543. curdeliveryqty:
  3544. description: 表示未交收量.
  3545. type: number
  3546. customername:
  3547. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3548. type: string
  3549. deliverygoodsid:
  3550. description: 表示品种ID.
  3551. type: string
  3552. deliveryqty:
  3553. description: 表示交收量.
  3554. type: number
  3555. matchaccountid:
  3556. description: 表示业务员ID.
  3557. type: integer
  3558. matchcustomername:
  3559. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3560. type: string
  3561. priceqty:
  3562. description: 表示定价量.
  3563. type: number
  3564. relatedbizid:
  3565. description: 表示业务ID.
  3566. type: string
  3567. signdate:
  3568. description: 表示签订日期.
  3569. type: string
  3570. spotcontractid:
  3571. description: 合同ID
  3572. type: string
  3573. status:
  3574. description: 表示状态,0-履约中 1-已完成.
  3575. type: integer
  3576. totalqty:
  3577. description: 表示合同量.
  3578. type: number
  3579. unpricedqty:
  3580. description: 表示未定价量.
  3581. type: number
  3582. wrstandardname:
  3583. description: 表示商品ID.
  3584. type: string
  3585. type: object
  3586. erms3.QueryUserInfoAppliesRsp:
  3587. properties:
  3588. biznature:
  3589. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3590. type: integer
  3591. contactname:
  3592. description: 联系人
  3593. type: string
  3594. createtime:
  3595. description: 开户申请时间
  3596. type: string
  3597. userid:
  3598. description: 用户ID(自增ID)
  3599. type: integer
  3600. userinfotype:
  3601. description: 用户信息类型 - 1:个人 2:企业
  3602. type: integer
  3603. username:
  3604. description: 用户姓名
  3605. type: string
  3606. userstate:
  3607. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3608. type: integer
  3609. required:
  3610. - userid
  3611. type: object
  3612. erms3.QueryUserInfosRsp:
  3613. properties:
  3614. biznature:
  3615. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3616. type: integer
  3617. contactname:
  3618. description: 联系人
  3619. type: string
  3620. customername:
  3621. description: 客户名称(企业名称)
  3622. type: string
  3623. userid:
  3624. description: 用户ID
  3625. type: integer
  3626. userinfotype:
  3627. description: 用户信息类型 - 1:个人 2:企业
  3628. type: integer
  3629. userstatus:
  3630. description: 用户状态 - 1:正常 2:注销
  3631. type: integer
  3632. required:
  3633. - userid
  3634. type: object
  3635. erms3.SoptContractDetail:
  3636. properties:
  3637. deliverygoodsdesc:
  3638. description: 现货品种说明
  3639. type: string
  3640. deliverygoodsid:
  3641. description: 现货品种ID
  3642. type: integer
  3643. deliverygoodsname:
  3644. description: 现货品种名称
  3645. type: string
  3646. pointdesc:
  3647. description: 点价描述
  3648. type: string
  3649. producttype:
  3650. description: 产品类型 1:标准仓单 2:等标 3:非标
  3651. type: integer
  3652. producttypename:
  3653. description: 产品类型名称
  3654. type: string
  3655. spotPointOrderVoList:
  3656. description: 点价列表
  3657. items:
  3658. $ref: '#/definitions/erms3.SpotPointOrder'
  3659. type: array
  3660. spotPriceOrderList:
  3661. description: 定价列表
  3662. items:
  3663. $ref: '#/definitions/erms3.SpotPriceOrder'
  3664. type: array
  3665. unitname:
  3666. description: 单位名称
  3667. type: string
  3668. warehouseid:
  3669. description: 仓库ID
  3670. type: integer
  3671. warehousename:
  3672. description: 仓库名称
  3673. type: string
  3674. wrstandardid:
  3675. description: 交易标的ID
  3676. type: integer
  3677. wrstandardname:
  3678. description: 交易标的名称
  3679. type: string
  3680. required:
  3681. - deliverygoodsid
  3682. - producttype
  3683. - unitname
  3684. - warehouseid
  3685. - wrstandardid
  3686. - wrstandardname
  3687. type: object
  3688. erms3.SpotPointOrder:
  3689. properties:
  3690. basic:
  3691. description: 基差
  3692. type: number
  3693. deliveryenddate:
  3694. description: 交收结束日期
  3695. type: string
  3696. deliverystartdate:
  3697. description: 交收开始日期
  3698. type: string
  3699. enddate:
  3700. description: 点价结束日期
  3701. type: string
  3702. goodsid:
  3703. description: 商品ID
  3704. type: integer
  3705. goodsname:
  3706. description: 商品名称
  3707. type: string
  3708. qty:
  3709. description: 数量
  3710. type: number
  3711. startdate:
  3712. description: 点价开始日期
  3713. type: string
  3714. required:
  3715. - basic
  3716. - goodsid
  3717. - qty
  3718. type: object
  3719. erms3.SpotPriceOrder:
  3720. properties:
  3721. amount:
  3722. description: 金额
  3723. type: number
  3724. deliveryenddate:
  3725. description: 交收结束日期
  3726. type: string
  3727. deliverystartdate:
  3728. description: 交收开始日期
  3729. type: string
  3730. price:
  3731. description: 价格
  3732. type: number
  3733. qty:
  3734. description: 数量
  3735. type: number
  3736. required:
  3737. - amount
  3738. - price
  3739. - qty
  3740. type: object
  3741. hsby.GetHsbyMyCountRsp:
  3742. properties:
  3743. myCouponCount:
  3744. description: 我的优惠卷数量
  3745. type: integer
  3746. myOrderDetailListingCount:
  3747. description: 我的订单求购中数量
  3748. type: integer
  3749. myOrderDetailPreCount:
  3750. description: 我的订单抢购中数量
  3751. type: integer
  3752. myPackageUnReceiveCount:
  3753. description: 我的包裹待收货数量
  3754. type: integer
  3755. myPackageUnSendCount:
  3756. description: 我的包裹待发货数量
  3757. type: integer
  3758. myPayOrderCount:
  3759. description: 我的订单待付款数量
  3760. type: integer
  3761. type: object
  3762. hsby.QueryProvincesAndCitiesRsp:
  3763. properties:
  3764. cities:
  3765. description: 市
  3766. items:
  3767. $ref: '#/definitions/models.Division'
  3768. type: array
  3769. province:
  3770. $ref: '#/definitions/models.Division'
  3771. description: 省
  3772. type: object
  3773. models.Arearole:
  3774. properties:
  3775. createtime:
  3776. description: 创建时间
  3777. type: string
  3778. creatorid:
  3779. description: 创建人ID
  3780. type: integer
  3781. fromuserid:
  3782. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3783. type: integer
  3784. isreturnscore:
  3785. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3786. type: integer
  3787. modifierid:
  3788. description: 修改人ID
  3789. type: integer
  3790. modifytime:
  3791. description: 修改时间
  3792. type: string
  3793. orgtype:
  3794. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3795. type: integer
  3796. outuserid:
  3797. description: 外部账户[场外期权做市商]
  3798. type: string
  3799. parentuserid:
  3800. description: 上级组织机构(组织机构)
  3801. type: integer
  3802. roletype:
  3803. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3804. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3805. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3806. type: integer
  3807. rootuserid:
  3808. description: 顶级组织机构用户ID(组织机构)
  3809. type: integer
  3810. shoppassword:
  3811. description: 商城店铺登陆密码(商城店铺角色使用)
  3812. type: string
  3813. sublevelpath:
  3814. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3815. type: string
  3816. suborgtype:
  3817. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3818. type: integer
  3819. tradeaccountid:
  3820. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3821. type: integer
  3822. transurl:
  3823. description: 物流地址(物流机构)
  3824. type: string
  3825. userid:
  3826. description: 机构用户ID其他做市关系,都设置为 1
  3827. type: integer
  3828. required:
  3829. - roletype
  3830. - userid
  3831. type: object
  3832. models.Clientfixedadconfig:
  3833. properties:
  3834. adsort:
  3835. description: 排序
  3836. type: integer
  3837. adtype:
  3838. description: 广告位类型 - 1:新品抢购(HSBY)
  3839. type: integer
  3840. areauserid:
  3841. description: 所属机构ID
  3842. type: integer
  3843. createdate:
  3844. description: 创建时间
  3845. type: string
  3846. creatorid:
  3847. description: 创建人
  3848. type: integer
  3849. imagepath:
  3850. description: 图片
  3851. type: string
  3852. isshow:
  3853. description: 是否展示 - 0:不展示 1:展示
  3854. type: integer
  3855. modifierid:
  3856. description: 操作人
  3857. type: integer
  3858. recsize:
  3859. description: 推荐尺寸
  3860. type: string
  3861. title:
  3862. description: 标题
  3863. type: string
  3864. updatedate:
  3865. description: 更新时间
  3866. type: string
  3867. urlcontent:
  3868. description: 链接(地址或商品ID)
  3869. type: string
  3870. urltype:
  3871. description: 链接类型 - 1:直接地址 2:商品ID
  3872. type: integer
  3873. required:
  3874. - adsort
  3875. - adtype
  3876. type: object
  3877. models.DgFactoryItem:
  3878. properties:
  3879. dgfactoryitemid:
  3880. description: 选择项ID(SEQ_DGFACTORYITEM)
  3881. type: integer
  3882. dgfactoryitemtypeid:
  3883. description: 要素项类型
  3884. type: integer
  3885. dgfactoryitemvalue:
  3886. description: 要素项值(类型为仓库时填写仓库名称)
  3887. type: string
  3888. orderindex:
  3889. description: 顺序
  3890. type: integer
  3891. type: object
  3892. models.Division:
  3893. properties:
  3894. autoid:
  3895. description: 自增ID
  3896. type: integer
  3897. divisioncode:
  3898. description: 行政代码
  3899. type: string
  3900. divisionlevel:
  3901. description: 行政级别
  3902. type: string
  3903. divisionname:
  3904. description: 行政名称
  3905. type: string
  3906. modifierid:
  3907. description: 修改人
  3908. type: integer
  3909. modifytime:
  3910. description: 修改时间
  3911. type: string
  3912. parentcode:
  3913. description: 上级行政代码
  3914. type: string
  3915. pathname:
  3916. description: 路径名称
  3917. type: string
  3918. postcode:
  3919. description: 邮政编码
  3920. type: string
  3921. separablename:
  3922. description: 可拆分的全称
  3923. type: string
  3924. shortcode:
  3925. description: 地区简码
  3926. type: string
  3927. required:
  3928. - autoid
  3929. - divisioncode
  3930. type: object
  3931. models.Enumdicitem:
  3932. properties:
  3933. autoid:
  3934. description: 自增ID
  3935. type: integer
  3936. bankmappedvalue:
  3937. description: 银行服务对应值
  3938. type: string
  3939. enumdiccode:
  3940. description: 所属枚举代码
  3941. type: string
  3942. enumdicid:
  3943. description: 所属枚举ID
  3944. type: integer
  3945. enumdicname:
  3946. description: 枚举项名称
  3947. type: string
  3948. enumitemname:
  3949. description: 枚举项值
  3950. type: integer
  3951. enumitemstatus:
  3952. description: 枚举项状态 - 1.启用 2.不启用
  3953. type: integer
  3954. enumitemvalue:
  3955. description: 通用值 - [币种通用简写]
  3956. type: string
  3957. param1:
  3958. description: 参数1[币种:币种小数位]
  3959. type: string
  3960. param2:
  3961. description: 参数1[币种:币种显示单位]
  3962. type: string
  3963. remark:
  3964. description: 备注
  3965. type: string
  3966. required:
  3967. - autoid
  3968. - enumdiccode
  3969. - enumdicid
  3970. - enumitemname
  3971. type: object
  3972. models.Ermcp2hedgeditem:
  3973. properties:
  3974. accountname:
  3975. description: 套期主体
  3976. type: string
  3977. applyid:
  3978. description: 申请人
  3979. type: integer
  3980. applysrc:
  3981. description: 申请来源 - 1:管理端 2:终端
  3982. type: integer
  3983. areauserid:
  3984. description: 企业ID
  3985. type: integer
  3986. auditid:
  3987. description: 审核人
  3988. type: integer
  3989. auditremark:
  3990. description: 审核备注
  3991. type: string
  3992. auditsrc:
  3993. description: 审核来源 - 1:管理端 2:终端
  3994. type: integer
  3995. audittime:
  3996. description: 审核时间
  3997. type: string
  3998. audittradedate:
  3999. description: 审核交易日(yyyyMMdd)
  4000. type: string
  4001. createtime:
  4002. description: 申请时间
  4003. type: string
  4004. curprice:
  4005. description: 当前市场价
  4006. type: number
  4007. curstock:
  4008. description: 期末库存量 = 采购总量 - 销售总量
  4009. type: number
  4010. deliverygoodsid:
  4011. description: 现货品种ID
  4012. type: integer
  4013. enddate:
  4014. description: 完成日期
  4015. type: string
  4016. endtradedate:
  4017. description: 完成交易日
  4018. type: string
  4019. enumdicname:
  4020. description: 单位
  4021. type: string
  4022. exeamount:
  4023. description: 执行市价总额
  4024. type: number
  4025. exeavgprice:
  4026. description: 执行市场均价= 执行市价总额 / 执行现货量
  4027. type: number
  4028. execontractamount:
  4029. description: 执行定价总额
  4030. type: number
  4031. exeqty:
  4032. description: 执行现货量
  4033. type: number
  4034. exerestamount:
  4035. description: 执行剩余市价总额【现货贸易】
  4036. type: number
  4037. futurefloatpl:
  4038. description: 期货浮动损益
  4039. type: number
  4040. futurehedgepl:
  4041. description: 期货实际损益
  4042. type: number
  4043. futurehedgeplchange:
  4044. description: 期货实际损益变动
  4045. type: number
  4046. futurepl:
  4047. description: 期货套期损益
  4048. type: number
  4049. futureplchange:
  4050. description: 期货套期损益变动
  4051. type: number
  4052. hedgeamount:
  4053. description: 套期市价总额
  4054. type: number
  4055. hedgecontractamount:
  4056. description: 套期定价总额 【定价采购合同】【现货贸易】
  4057. type: number
  4058. hedgeditemid:
  4059. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4060. type: string
  4061. hedgeditemname:
  4062. description: 项目名称
  4063. type: string
  4064. hedgeditemnum:
  4065. description: 项目编号
  4066. type: string
  4067. hedgeditemstatus:
  4068. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4069. type: integer
  4070. hedgedtype:
  4071. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4072. type: integer
  4073. hedgeqty:
  4074. description: 套期现货量
  4075. type: number
  4076. hedgerate:
  4077. description: 套保比率
  4078. type: number
  4079. hedgerestamount:
  4080. description: 套期剩余市价总额【现货贸易】
  4081. type: number
  4082. hedgesumpl:
  4083. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4084. type: number
  4085. middlegoodslist:
  4086. description: 套期商品列表
  4087. items:
  4088. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4089. type: array
  4090. oriavgprice:
  4091. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4092. type: number
  4093. orifuturehedgepl:
  4094. description: 期初期货实际损益
  4095. type: number
  4096. orifuturepl:
  4097. description: 期初期货套期损益
  4098. type: number
  4099. orispothedgepl:
  4100. description: 期初现货实际损益
  4101. type: number
  4102. orispotpl:
  4103. description: 期初现货套期损益
  4104. type: number
  4105. planenddate:
  4106. description: 计划结束日期
  4107. type: string
  4108. planstartdate:
  4109. description: 计划开始日期
  4110. type: string
  4111. remark:
  4112. description: 备注
  4113. type: string
  4114. spotbookamount:
  4115. description: 现货账面总额
  4116. type: number
  4117. spotfloatpl:
  4118. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4119. type: number
  4120. spothedgepl:
  4121. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4122. type: number
  4123. spothedgeplchange:
  4124. description: 现货实际损益变动
  4125. type: number
  4126. spotpl:
  4127. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4128. type: number
  4129. spotplchange:
  4130. description: 现货套期损益变动
  4131. type: number
  4132. spottradepl:
  4133. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4134. type: number
  4135. sumobspl:
  4136. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4137. type: number
  4138. tradeuserid:
  4139. description: 交易用户ID
  4140. type: integer
  4141. unexeqty:
  4142. description: 未执行现货量 = 套期现货量 - 执行现货量
  4143. type: number
  4144. updatetime:
  4145. description: 更新时间
  4146. type: string
  4147. vatpl:
  4148. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4149. type: number
  4150. vatrate:
  4151. description: 增值税
  4152. type: number
  4153. wrstandardid:
  4154. description: 现货商品ID
  4155. type: integer
  4156. wrstandardname:
  4157. description: 商品名称
  4158. type: string
  4159. type: object
  4160. models.Ermcp2hedgeditemspot:
  4161. properties:
  4162. areauserid:
  4163. description: 企业ID
  4164. type: integer
  4165. createtime:
  4166. description: 创建时间
  4167. type: string
  4168. customeruserid:
  4169. description: 对手方 【3:采购合同 4:销售合同】
  4170. type: integer
  4171. deliverygoodsid:
  4172. description: 现货品种ID
  4173. type: integer
  4174. enumdicname:
  4175. description: 单位
  4176. type: string
  4177. hedgeditemid:
  4178. description: 被套期项目ID
  4179. type: string
  4180. hedgeditemspotid:
  4181. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4182. type: string
  4183. hedgedtype:
  4184. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4185. type: integer
  4186. hedgeplanno:
  4187. description: 计划编号
  4188. type: string
  4189. oriavgprice:
  4190. description: 期初市场价[当初市场价]
  4191. type: number
  4192. relatedamount:
  4193. description: 市价总额 = 关联数量 * 期初市场价
  4194. type: number
  4195. relatedhedgeplanid:
  4196. description: 关联计划ID 【1:采购计划 2:销售计划】
  4197. type: integer
  4198. relatedqty:
  4199. description: 关联数量[数量]
  4200. type: number
  4201. relatedspotcontractid:
  4202. description: 关联合同ID 【3:采购合同 4:销售合同】
  4203. type: integer
  4204. relatedtype:
  4205. description: 关联类型 - 1:套期关联 2:执行关联
  4206. type: integer
  4207. spotgoodsbrandid:
  4208. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4209. type: integer
  4210. spotpricedamount:
  4211. description: 定价总额
  4212. type: number
  4213. spotpricedavgprice:
  4214. description: 现货均价 = 定价总额 / 关联数量
  4215. type: number
  4216. spottype:
  4217. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4218. type: integer
  4219. tradeuserid:
  4220. description: 交易用户ID
  4221. type: integer
  4222. wrstandardid:
  4223. description: 现货商品ID
  4224. type: integer
  4225. wrstandardname:
  4226. description: 现货商品
  4227. type: string
  4228. required:
  4229. - hedgeditemid
  4230. type: object
  4231. models.Ermcp2hedgeditemspotDetail:
  4232. properties:
  4233. accountname:
  4234. description: 对手方
  4235. type: string
  4236. areauserid:
  4237. description: 企业ID
  4238. type: integer
  4239. brandname:
  4240. description: 品牌
  4241. type: string
  4242. contractno:
  4243. description: 合同编号
  4244. type: string
  4245. createtime:
  4246. description: 创建时间
  4247. type: string
  4248. customeruserid:
  4249. description: 对手方 【3:采购合同 4:销售合同】
  4250. type: integer
  4251. deliverygoodsid:
  4252. description: 现货品种ID
  4253. type: integer
  4254. enumdicname:
  4255. description: 单位
  4256. type: string
  4257. hedgeditemid:
  4258. description: 被套期项目ID
  4259. type: string
  4260. hedgeditemspotid:
  4261. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4262. type: string
  4263. hedgedtype:
  4264. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4265. type: integer
  4266. oriavgprice:
  4267. description: 期初市场价[当初市场价]
  4268. type: number
  4269. relatedamount:
  4270. description: 市价总额 = 关联数量 * 期初市场价
  4271. type: number
  4272. relatedhedgeplanid:
  4273. description: 关联计划ID 【1:采购计划 2:销售计划】
  4274. type: integer
  4275. relatedqty:
  4276. description: 关联数量[数量]
  4277. type: number
  4278. relatedspotcontractid:
  4279. description: 关联合同ID 【3:采购合同 4:销售合同】
  4280. type: integer
  4281. relatedtype:
  4282. description: 关联类型 - 1:套期关联 2:执行关联
  4283. type: integer
  4284. spotgoodsbrandid:
  4285. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4286. type: integer
  4287. spotpricedamount:
  4288. description: 定价总额[金额]
  4289. type: number
  4290. spotpricedavgprice:
  4291. description: 现货均价 = 定价总额 / 关联数量
  4292. type: number
  4293. spottype:
  4294. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4295. type: integer
  4296. tradeuserid:
  4297. description: 交易用户ID
  4298. type: integer
  4299. wrstandardid:
  4300. description: 现货商品ID
  4301. type: integer
  4302. wrstandardname:
  4303. description: 现货商品
  4304. type: string
  4305. required:
  4306. - hedgeditemid
  4307. type: object
  4308. models.Ermcp2himiddlegoods:
  4309. properties:
  4310. futurehedgeqty:
  4311. description: 期货持仓套期量
  4312. type: number
  4313. hedgeditemid:
  4314. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4315. type: integer
  4316. hiexpsoure:
  4317. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4318. type: number
  4319. middlegoodscode:
  4320. description: 套保商品代码
  4321. type: string
  4322. middlegoodsid:
  4323. description: 套保品种ID
  4324. type: integer
  4325. middlegoodsname:
  4326. description: 套保商品名称
  4327. type: string
  4328. unexehedgeqty:
  4329. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4330. type: number
  4331. required:
  4332. - hedgeditemid
  4333. - middlegoodsid
  4334. type: object
  4335. models.Ermcp3AreaSpot:
  4336. properties:
  4337. areauserid:
  4338. description: 所属机构
  4339. type: integer
  4340. convertratio:
  4341. description: 套保系数
  4342. type: number
  4343. decreaseqty:
  4344. description: 减少数量=-(销售已定价数量+采购计划数量)
  4345. type: number
  4346. enumdicname:
  4347. description: 单位名称
  4348. type: string
  4349. increaseqty:
  4350. description: 增加数量=销售计划数量+采购已定价数量
  4351. type: number
  4352. oritoalspotqty:
  4353. description: 昨日数量
  4354. type: number
  4355. totalspotqty:
  4356. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4357. type: number
  4358. unitid:
  4359. description: 现货商品单位id
  4360. type: integer
  4361. updatetime:
  4362. description: 更新时间
  4363. type: string
  4364. wrstandardcode:
  4365. description: 现货商品代码
  4366. type: string
  4367. wrstandardid:
  4368. description: 现货商品ID(SEQ_WRSTANDARD)
  4369. type: integer
  4370. wrstandardname:
  4371. description: 现货商品名称
  4372. type: string
  4373. type: object
  4374. models.Ermcp3AreaSpotDetail:
  4375. properties:
  4376. contracttype:
  4377. description: 合同类型 1-采购 -1-销售
  4378. type: integer
  4379. createtime:
  4380. description: 创建时间
  4381. type: string
  4382. enumdicname:
  4383. description: 现货商品单位名称
  4384. type: string
  4385. logtype:
  4386. description: 记录类型 1-套保 2-现货合同
  4387. type: integer
  4388. qty:
  4389. description: 数量
  4390. type: number
  4391. recordname:
  4392. description: 类型名称
  4393. type: string
  4394. relatedid:
  4395. description: 套保计划ID/现货合同ID
  4396. type: string
  4397. relatedno:
  4398. description: 编号
  4399. type: string
  4400. strtime:
  4401. description: 时间
  4402. type: string
  4403. wrstandardcode:
  4404. description: 现货商品代码
  4405. type: string
  4406. wrstandardid:
  4407. description: 现货商品ID(SEQ_WRSTANDARD)
  4408. type: integer
  4409. wrstandardname:
  4410. description: 现货商品名称
  4411. type: string
  4412. type: object
  4413. models.Ermcp3AreaSpotPLReport:
  4414. properties:
  4415. accountid:
  4416. description: 期货账户ID (作废, 默认为0)
  4417. type: integer
  4418. accountname:
  4419. description: 机构名称
  4420. type: string
  4421. actualpl:
  4422. description: 现货损益
  4423. type: number
  4424. areauserid:
  4425. description: 所属机构\交易用户ID
  4426. type: integer
  4427. begindate:
  4428. description: 开始交易日
  4429. type: string
  4430. biztype:
  4431. description: 业务类型 - 1:套保 2:套利
  4432. type: integer
  4433. brandname:
  4434. description: 品牌名称
  4435. type: string
  4436. curamount:
  4437. description: 期末额
  4438. type: number
  4439. curaverageprice:
  4440. description: 期末均价
  4441. type: number
  4442. curbuyamount:
  4443. description: 期末采购总额
  4444. type: number
  4445. curbuyqty:
  4446. description: 期末采购总量
  4447. type: number
  4448. curmarketvalue:
  4449. description: 参考市值(期末市值)
  4450. type: number
  4451. curqty:
  4452. description: 期末量
  4453. type: number
  4454. currencyid:
  4455. description: 结算币种ID【原值】
  4456. type: integer
  4457. currencyname:
  4458. description: 币种名称
  4459. type: string
  4460. cursellamount:
  4461. description: 期末销售总额
  4462. type: number
  4463. cursellqty:
  4464. description: 期末销售总量
  4465. type: number
  4466. curspotprice:
  4467. description: 参考市价(最新价)
  4468. type: number
  4469. cycletime:
  4470. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4471. type: string
  4472. cycletype:
  4473. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4474. type: integer
  4475. deliverygoodscode:
  4476. description: 现货品种代码
  4477. type: string
  4478. deliverygoodsid:
  4479. description: 现货品种ID
  4480. type: integer
  4481. deliverygoodsname:
  4482. description: 现货品种名称
  4483. type: string
  4484. enddate:
  4485. description: 结束交易日
  4486. type: string
  4487. enumdicname:
  4488. description: 现货品种单位名称(作废)
  4489. type: string
  4490. floatpl:
  4491. description: 浮动损益
  4492. type: number
  4493. goodsunitid:
  4494. description: 现货品种单位id(作废)
  4495. type: integer
  4496. oriamount:
  4497. description: 期初额
  4498. type: number
  4499. oriaverageprice:
  4500. description: 期初均价
  4501. type: number
  4502. oribuyamount:
  4503. description: 期初采购总额
  4504. type: number
  4505. oribuyqty:
  4506. description: 期初采购总量
  4507. type: number
  4508. oriqty:
  4509. description: 期初量
  4510. type: number
  4511. orisellamount:
  4512. description: 期初销售总额
  4513. type: number
  4514. orisellqty:
  4515. description: 期初销售总量
  4516. type: number
  4517. reckondate:
  4518. description: 日照时期(yyyyMMdd)
  4519. type: string
  4520. spotgoodsbrandid:
  4521. description: 现货品牌ID
  4522. type: integer
  4523. todaybuyamount:
  4524. description: 今日采购额(今采购额)
  4525. type: number
  4526. todaybuyaverageprice:
  4527. description: 今日采购均价
  4528. type: number
  4529. todaybuyqty:
  4530. description: 今日采购量(今采购量)
  4531. type: number
  4532. todayinqty:
  4533. description: 今日入库量(今入库量)
  4534. type: number
  4535. todayoutqty:
  4536. description: 今日出库量(今出库量)
  4537. type: number
  4538. todaysellamount:
  4539. description: 今日销售额(今销售额)
  4540. type: number
  4541. todaysellaverageprice:
  4542. description: 今日销售均价
  4543. type: number
  4544. todaysellqty:
  4545. description: 今日销售量(今销售量)
  4546. type: number
  4547. unitid:
  4548. description: 品类单位id
  4549. type: integer
  4550. unitidname:
  4551. description: 品类单位名称
  4552. type: string
  4553. updatetime:
  4554. description: 更新时间
  4555. type: string
  4556. wrfactortypeid:
  4557. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4558. type: integer
  4559. wrstandardcode:
  4560. description: 现货商品(品类)代码
  4561. type: string
  4562. wrstandardid:
  4563. description: 现货品类ID
  4564. type: integer
  4565. wrstandardname:
  4566. description: 现货商品(品类)名称
  4567. type: string
  4568. type: object
  4569. models.Ermcp3AreaStock:
  4570. properties:
  4571. brandname:
  4572. description: 品牌名称
  4573. type: string
  4574. curstock:
  4575. description: 期末库存量(今日量)
  4576. type: number
  4577. deliverygoodscode:
  4578. description: 现货品种代码
  4579. type: string
  4580. deliverygoodsid:
  4581. description: 现货品种id
  4582. type: integer
  4583. deliverygoodsname:
  4584. description: 现货品种名称
  4585. type: string
  4586. enumdicname:
  4587. description: 单位名称
  4588. type: string
  4589. goodsunitid:
  4590. description: 现货商品单位id
  4591. type: integer
  4592. oristock:
  4593. description: 期初库存量(昨日量)
  4594. type: number
  4595. spotgoodsbrandid:
  4596. description: 现货品牌ID
  4597. type: integer
  4598. todaybuyinqty:
  4599. description: 今日采购入库量
  4600. type: number
  4601. todayproduceinqty:
  4602. description: 今日生产入库量
  4603. type: number
  4604. todayproduceoutqty:
  4605. description: 今日生产出库量
  4606. type: number
  4607. todayselloutqty:
  4608. description: 今日销售出库量
  4609. type: number
  4610. unitid:
  4611. description: 单位id
  4612. type: integer
  4613. updatetime:
  4614. description: 更新时间
  4615. type: string
  4616. userid:
  4617. description: 机构ID
  4618. type: integer
  4619. username:
  4620. description: 机构名称
  4621. type: string
  4622. warehousecode:
  4623. description: 仓库代码
  4624. type: string
  4625. warehouseinfoid:
  4626. description: 仓库ID
  4627. type: string
  4628. warehousename:
  4629. description: 仓库名称
  4630. type: string
  4631. warehousetype:
  4632. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4633. type: integer
  4634. wrstandardcode:
  4635. description: 品类代码
  4636. type: string
  4637. wrstandardid:
  4638. description: 品类ID
  4639. type: string
  4640. wrstandardname:
  4641. description: 品类名称
  4642. type: string
  4643. required:
  4644. - userid
  4645. type: object
  4646. models.Ermcp3AreaStockApply:
  4647. properties:
  4648. applyid:
  4649. description: 申请人
  4650. type: integer
  4651. applyname:
  4652. description: 申请人名称
  4653. type: string
  4654. applyremark:
  4655. description: 申请备注
  4656. type: string
  4657. applysrc:
  4658. description: 申请来源 - 1:管理端 2:终端
  4659. type: integer
  4660. applystatus:
  4661. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4662. type: integer
  4663. applytime:
  4664. description: 申请时间
  4665. type: string
  4666. auditid:
  4667. description: 审核人
  4668. type: integer
  4669. auditname:
  4670. description: 审核人名称
  4671. type: string
  4672. auditremark:
  4673. description: 审核备注
  4674. type: string
  4675. auditsrc:
  4676. description: 审核来源 - 1:管理端 2:终端
  4677. type: integer
  4678. audittime:
  4679. description: 审核时间
  4680. type: string
  4681. audittradedate:
  4682. description: 审核交易日(yyyyMMdd)
  4683. type: string
  4684. brandname:
  4685. description: 品牌名称
  4686. type: string
  4687. buynickname:
  4688. description: 采购方昵称
  4689. type: string
  4690. buyuserid:
  4691. description: 采购方userid
  4692. type: integer
  4693. buyusername:
  4694. description: 采购方名称
  4695. type: string
  4696. contractno:
  4697. description: 合同编号
  4698. type: string
  4699. contractqty:
  4700. description: 合同量
  4701. type: number
  4702. contracttype:
  4703. description: 现货合同类型 - 1:采购 -1:销售
  4704. type: integer
  4705. deliverygoodscode:
  4706. description: 现货品种代码
  4707. type: string
  4708. deliverygoodsid:
  4709. description: 现货品种id
  4710. type: integer
  4711. deliverygoodsname:
  4712. description: 现货品种名称
  4713. type: string
  4714. detailjson:
  4715. description: 明细数据
  4716. type: string
  4717. enumdicname:
  4718. description: 现货商品单位名称
  4719. type: string
  4720. inoutapplyid:
  4721. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4722. type: string
  4723. inouttype:
  4724. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4725. type: integer
  4726. pricetype:
  4727. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4728. type: integer
  4729. qty:
  4730. description: 数量
  4731. type: number
  4732. sellnickname:
  4733. description: 销售方昵称
  4734. type: string
  4735. selluserid:
  4736. description: 销售方userid
  4737. type: integer
  4738. sellusername:
  4739. description: 销售方名称
  4740. type: string
  4741. spotcontractid:
  4742. description: 关联现货合同ID
  4743. type: string
  4744. spotgoodsbrandid:
  4745. description: 现货品牌ID
  4746. type: integer
  4747. unitid:
  4748. description: 单位id
  4749. type: integer
  4750. userid:
  4751. description: 机构ID
  4752. type: integer
  4753. warehousecode:
  4754. description: 仓库代码
  4755. type: string
  4756. warehouseinfoid:
  4757. description: 现货仓库ID
  4758. type: string
  4759. warehousename:
  4760. description: 仓库名称
  4761. type: string
  4762. warehousetype:
  4763. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4764. type: integer
  4765. wrstandardcode:
  4766. description: 品类代码
  4767. type: string
  4768. wrstandardid:
  4769. description: 品类ID
  4770. type: integer
  4771. wrstandardname:
  4772. description: 品类名称
  4773. type: string
  4774. type: object
  4775. models.Ermcp3AreaStockApplySum:
  4776. properties:
  4777. brandname:
  4778. description: 品牌名称
  4779. type: string
  4780. inouttype:
  4781. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4782. type: integer
  4783. spotcontractid:
  4784. description: 关联现货合同ID
  4785. type: string
  4786. spotgoodsbrandid:
  4787. description: 品牌id
  4788. type: integer
  4789. totalqty:
  4790. description: 总数量
  4791. type: number
  4792. wrstandardid:
  4793. description: 品类id
  4794. type: integer
  4795. wrstandardname:
  4796. description: 品类名称
  4797. type: string
  4798. type: object
  4799. models.Ermcp3AreaStockReportEx:
  4800. properties:
  4801. begindate:
  4802. description: 开始交易日
  4803. type: string
  4804. brandname:
  4805. description: 品牌名称
  4806. type: string
  4807. curstock:
  4808. description: 期末库存量
  4809. type: number
  4810. cycletime:
  4811. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4812. type: string
  4813. cycletype:
  4814. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4815. type: integer
  4816. deliverygoodscode:
  4817. description: 现货品种代码
  4818. type: string
  4819. deliverygoodsid:
  4820. description: 现货品种id
  4821. type: integer
  4822. deliverygoodsname:
  4823. description: 现货品种名称
  4824. type: string
  4825. diffqty:
  4826. description: 库存变化量 = 期末 - 期初
  4827. type: number
  4828. enddate:
  4829. description: 结束交易日
  4830. type: string
  4831. enumdicname:
  4832. description: 单位名称
  4833. type: string
  4834. goodsunitid:
  4835. description: 现货单位id
  4836. type: integer
  4837. oristock:
  4838. description: 期初库存量
  4839. type: number
  4840. reckondate:
  4841. description: 日照时期(yyyyMMdd)
  4842. type: string
  4843. spotgoodsbrandid:
  4844. description: 现货品牌ID
  4845. type: integer
  4846. todaybuyinqty:
  4847. description: 今采购入库量
  4848. type: number
  4849. todayproduceinqty:
  4850. description: 今内部入库量
  4851. type: number
  4852. todayproduceoutqty:
  4853. description: 今内部出库量
  4854. type: number
  4855. todayselloutqty:
  4856. description: 今销售出库量
  4857. type: number
  4858. unbuyinqty:
  4859. description: 采购未入库量(数据库未找到相关字段?)
  4860. type: number
  4861. unitid:
  4862. description: 品类单位id
  4863. type: integer
  4864. unselloutqty:
  4865. description: 销售未出库量(数据库未找到相关字段?)
  4866. type: number
  4867. updatetime:
  4868. description: 更新时间
  4869. type: string
  4870. userid:
  4871. description: 机构ID
  4872. type: integer
  4873. username:
  4874. description: 机构名称
  4875. type: string
  4876. warehousecode:
  4877. description: 仓库代码
  4878. type: string
  4879. warehouseinfoid:
  4880. description: 仓库ID
  4881. type: string
  4882. warehousename:
  4883. description: 仓库名称
  4884. type: string
  4885. warehousetype:
  4886. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4887. type: integer
  4888. wrstandardcode:
  4889. description: 品类代码
  4890. type: string
  4891. wrstandardid:
  4892. description: 品类ID
  4893. type: integer
  4894. wrstandardname:
  4895. description: 品类名称
  4896. type: string
  4897. type: object
  4898. models.Ermcp3ArealSumPL:
  4899. properties:
  4900. accountname:
  4901. description: 机构名称
  4902. type: string
  4903. areauserid:
  4904. description: 所属机构\交易用户ID
  4905. type: integer
  4906. begindate:
  4907. description: 开始交易日
  4908. type: string
  4909. currencyid:
  4910. description: 结算币种ID
  4911. type: integer
  4912. currencyname:
  4913. description: 币种名称
  4914. type: string
  4915. cycletime:
  4916. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4917. type: string
  4918. cycletype:
  4919. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4920. type: integer
  4921. enddate:
  4922. description: 结束交易日
  4923. type: string
  4924. enumdicname:
  4925. description: 单位名称(套保品种)
  4926. type: string
  4927. futureactualpl:
  4928. description: 期货损益
  4929. type: number
  4930. futurefloatpl:
  4931. description: 期货浮动损益
  4932. type: number
  4933. futurespotratio:
  4934. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4935. type: number
  4936. goodsunitid:
  4937. description: 套保品种单位id
  4938. type: integer
  4939. hedgeexposurepl:
  4940. description: 套保敞口损益
  4941. type: number
  4942. middlegoodscode:
  4943. description: 套保品种代码
  4944. type: string
  4945. middlegoodsid:
  4946. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4947. type: integer
  4948. middlegoodsname:
  4949. description: 套保品种名称
  4950. type: string
  4951. reckondate:
  4952. description: 日照时期(yyyyMMdd)
  4953. type: string
  4954. spotactualpl:
  4955. description: 现货损益
  4956. type: number
  4957. spotfloatpl:
  4958. description: 现货浮动损益
  4959. type: number
  4960. sumactualpl:
  4961. description: 实际损益 = (ActualPL + FutureActualPL)
  4962. type: number
  4963. sumpl:
  4964. description: 总敞口损益 | 汇总损益
  4965. type: number
  4966. totalfutureqty:
  4967. description: 期货头寸总量
  4968. type: number
  4969. totalneedhedgeqty:
  4970. description: 应套保总量
  4971. type: number
  4972. totalspotqty:
  4973. description: 现货头寸总量
  4974. type: number
  4975. updatetime:
  4976. description: 更新时间
  4977. type: string
  4978. type: object
  4979. models.Ermcp3Brand:
  4980. properties:
  4981. areauserid:
  4982. description: 用户id
  4983. type: integer
  4984. brandid:
  4985. description: 品牌id
  4986. type: integer
  4987. brandname:
  4988. description: 品牌名称
  4989. type: string
  4990. deliverygoodsid:
  4991. description: 品种ID
  4992. type: integer
  4993. isvalid:
  4994. description: 是否有效
  4995. type: integer
  4996. type: object
  4997. models.Ermcp3Contract:
  4998. properties:
  4999. accountid:
  5000. description: 期货账户id
  5001. type: string
  5002. amount:
  5003. description: 金额 [1:一口价、3:暂定价]
  5004. type: number
  5005. attachment:
  5006. description: 附件
  5007. type: string
  5008. auditremark:
  5009. description: 审核意见
  5010. type: string
  5011. audittime:
  5012. description: 审核时间
  5013. type: string
  5014. biztype:
  5015. description: 业务类型 1-套保 2-套利
  5016. type: integer
  5017. brandname:
  5018. description: 品牌名称
  5019. type: string
  5020. buynickname:
  5021. description: 销售方昵称
  5022. type: string
  5023. buyuserid:
  5024. description: 采购方ID
  5025. type: integer
  5026. buyusername:
  5027. description: 采购方名称
  5028. type: string
  5029. contracctstatus:
  5030. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5031. type: integer
  5032. contractmargin:
  5033. description: 合同保证金
  5034. type: number
  5035. contractno:
  5036. description: 现货合同编号
  5037. type: string
  5038. contracttype:
  5039. description: 现货合同类型 - 1:采购 -1:销售
  5040. type: integer
  5041. convertfactor:
  5042. description: 标仓系数(品类)
  5043. type: number
  5044. createtime:
  5045. description: 创建时间
  5046. type: string
  5047. currencyid:
  5048. description: 币种id
  5049. type: integer
  5050. currencyname:
  5051. description: 币种名称
  5052. type: string
  5053. deliveryenddate:
  5054. description: 交收期(结束)
  5055. type: string
  5056. deliverygoodscode:
  5057. description: 现货品种代码
  5058. type: string
  5059. deliverygoodsid:
  5060. description: 现货品种ID
  5061. type: integer
  5062. deliverygoodsname:
  5063. description: 现货品种名称
  5064. type: string
  5065. deliverystartdate:
  5066. description: 交收期(开始)
  5067. type: string
  5068. enddate:
  5069. description: 点价结束日期 [2:点价 3:暂定价]
  5070. type: string
  5071. enumdicname:
  5072. description: 单位名称
  5073. type: string
  5074. goodscode:
  5075. description: 点价合约代码
  5076. type: string
  5077. goodsid:
  5078. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5079. type: integer
  5080. goodsname:
  5081. description: 点价商品名称
  5082. type: string
  5083. margin:
  5084. description: 当前保证金
  5085. type: number
  5086. meruserid:
  5087. description: 跟单员id
  5088. type: integer
  5089. meruserlogincode:
  5090. description: 跟单员登录代码
  5091. type: string
  5092. merusername:
  5093. description: 跟单员名称
  5094. type: string
  5095. pointdesc:
  5096. description: 点价备注
  5097. type: string
  5098. price:
  5099. description: 价格\暂定价 [1:一口价、3:暂定价]
  5100. type: number
  5101. pricemove:
  5102. description: 升贴水 [2:点价 3:暂定价]
  5103. type: number
  5104. pricetype:
  5105. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5106. type: integer
  5107. producttype:
  5108. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5109. type: integer
  5110. qty:
  5111. description: 数量
  5112. type: number
  5113. remark:
  5114. description: 备注
  5115. type: string
  5116. saleuserid:
  5117. description: 业务员id
  5118. type: integer
  5119. saleuserlogincode:
  5120. description: 业务员登录代码
  5121. type: string
  5122. saleusername:
  5123. description: 业务员名称
  5124. type: string
  5125. sellnickname:
  5126. description: 采购方昵称
  5127. type: string
  5128. selluserid:
  5129. description: 销售方ID
  5130. type: integer
  5131. sellusername:
  5132. description: 销售方名称
  5133. type: string
  5134. spotcontractid:
  5135. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5136. type: string
  5137. spotgoodsbrandid:
  5138. description: 现货品牌ID(DGFactoryItem表的ID)
  5139. type: integer
  5140. spotgoodsdesc:
  5141. description: 商品型号
  5142. type: string
  5143. startdate:
  5144. description: 点价开始日期 [2:点价 3:暂定价]
  5145. type: string
  5146. subjectid:
  5147. description: 交易主体ID
  5148. type: integer
  5149. subjectname:
  5150. description: 交易主体名称
  5151. type: string
  5152. tradeuserid:
  5153. description: 交易员id
  5154. type: integer
  5155. tradeuserlogincode:
  5156. description: 交易员登录代码
  5157. type: string
  5158. tradeusername:
  5159. description: 交易员名称
  5160. type: string
  5161. unitid:
  5162. description: 单位id(取品类上的单位id)
  5163. type: integer
  5164. updatetime:
  5165. description: 更新时间
  5166. type: string
  5167. userid:
  5168. description: 所属机构ID
  5169. type: integer
  5170. vatrate:
  5171. description: 增值税率
  5172. type: number
  5173. wrstandardcode:
  5174. description: 品类代码
  5175. type: string
  5176. wrstandardid:
  5177. description: 品类ID
  5178. type: integer
  5179. wrstandardname:
  5180. description: 品类名称
  5181. type: string
  5182. type: object
  5183. models.Ermcp3ContractMiddleGoodsCfg:
  5184. properties:
  5185. agreeunit:
  5186. description: 合约乘数
  5187. type: number
  5188. convertratio:
  5189. description: 期货品种系数
  5190. type: number
  5191. covertqty:
  5192. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5193. type: integer
  5194. middlegoodsid:
  5195. description: 套保品种ID
  5196. type: integer
  5197. middlegoodspricedqty3:
  5198. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5199. example: "0"
  5200. type: string
  5201. pendingpricedqty:
  5202. description: 待点价量
  5203. example: "0"
  5204. type: string
  5205. relatedmiddlegoodsqty:
  5206. description: 已关联量(套保品种-期货)
  5207. example: "0"
  5208. type: string
  5209. spotcontractid:
  5210. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5211. type: string
  5212. type: object
  5213. models.Ermcp3ExposureContractDetail:
  5214. properties:
  5215. biztype:
  5216. description: 业务类型 1-套保 2-套利
  5217. type: integer
  5218. brandname:
  5219. description: 品牌名称
  5220. type: string
  5221. buyuserid:
  5222. description: 采购方id
  5223. type: integer
  5224. buyusername:
  5225. description: 采购方名称
  5226. type: string
  5227. contractno:
  5228. description: 合同编号
  5229. type: string
  5230. contracttype:
  5231. description: 现货合同类型 - 1:采购 -1:销售
  5232. type: integer
  5233. convertfactor:
  5234. description: 标仓系数
  5235. type: number
  5236. convertratio:
  5237. description: 折算系数(套保品种)
  5238. type: number
  5239. curqty:
  5240. description: 今定价量
  5241. type: number
  5242. deliverygoodscode:
  5243. description: 现货品种代码
  5244. type: string
  5245. deliverygoodsid:
  5246. description: 现货品种id
  5247. type: integer
  5248. deliverygoodsname:
  5249. description: 现货品种名称
  5250. type: string
  5251. diffhedgeqty:
  5252. description: 套保变动量
  5253. type: number
  5254. diffneedhedgeqty:
  5255. description: 应套保变动量
  5256. type: number
  5257. diffqty:
  5258. description: 套保品种今变动量
  5259. type: number
  5260. enumdicname:
  5261. description: 单位名称
  5262. type: string
  5263. mgunitname:
  5264. description: 套保品种单位名称
  5265. type: string
  5266. middlegoodscode:
  5267. description: 套保品种代码
  5268. type: string
  5269. middlegoodsid:
  5270. description: 套保品种id
  5271. type: integer
  5272. middlegoodsname:
  5273. description: 套保品种名称
  5274. type: string
  5275. needarbitrageratio:
  5276. description: 应套利比例
  5277. type: number
  5278. needhedgeratio:
  5279. description: 应套保比例
  5280. type: number
  5281. pricedqty:
  5282. description: 已定价量
  5283. type: number
  5284. qty:
  5285. description: 合同量
  5286. type: number
  5287. reckondate:
  5288. description: 交易日(reckondate)
  5289. type: string
  5290. selluserid:
  5291. description: 销售方id
  5292. type: integer
  5293. sellusername:
  5294. description: 销售方名称
  5295. type: string
  5296. spotcontractid:
  5297. description: 合同id
  5298. type: string
  5299. todaypricedqty:
  5300. description: 今定价量
  5301. type: number
  5302. tradedate:
  5303. description: 交易日
  5304. type: string
  5305. unitid:
  5306. description: 品类单位id
  5307. type: integer
  5308. userid:
  5309. description: 机构id
  5310. type: integer
  5311. username:
  5312. description: 交易用户
  5313. type: string
  5314. wrstandardcode:
  5315. description: 现货商品代码
  5316. type: string
  5317. wrstandardid:
  5318. description: 现货商品id
  5319. type: integer
  5320. wrstandardname:
  5321. description: 现货商品名称
  5322. type: string
  5323. type: object
  5324. models.Ermcp3ExposureDetail:
  5325. properties:
  5326. areauserid:
  5327. description: 机构ID
  5328. type: integer
  5329. changeQty:
  5330. description: 套保变动量
  5331. type: number
  5332. contracttype:
  5333. description: 现货合同类型 - 1:采购 -1:销售
  5334. type: integer
  5335. convertfactor:
  5336. description: 标仓系数
  5337. type: number
  5338. convertratio:
  5339. description: 折算系数
  5340. type: number
  5341. createtime:
  5342. description: 时间
  5343. type: string
  5344. enumdicname:
  5345. description: 现货商品单位名称
  5346. type: string
  5347. logtype:
  5348. description: 类型 - 1:套保计划 2:现货合同
  5349. type: integer
  5350. mgunitid:
  5351. description: 套保品种单位id
  5352. type: integer
  5353. mgunitidname:
  5354. description: 套保品种单位名称
  5355. type: string
  5356. middlegoodsId:
  5357. description: 套保商品id
  5358. type: integer
  5359. middlegoodscode:
  5360. description: 套保商品代码
  5361. type: string
  5362. middlegoodsname:
  5363. description: 套保商品名称
  5364. type: string
  5365. qty:
  5366. description: 数量
  5367. type: number
  5368. relateNo:
  5369. description: 现货合同/套保计划编号
  5370. type: string
  5371. unitid:
  5372. description: 现货商品单位id
  5373. type: integer
  5374. wrstandardcode:
  5375. description: 现货商品代码
  5376. type: string
  5377. wrstandardid:
  5378. description: 现货商品ID(SEQ_WRSTANDARD)
  5379. type: integer
  5380. wrstandardname:
  5381. description: 现货商品名称
  5382. type: string
  5383. type: object
  5384. models.Ermcp3ExposureFutuDetail:
  5385. properties:
  5386. accountid:
  5387. description: 交易账户id
  5388. type: integer
  5389. accountname:
  5390. description: 交易账户
  5391. type: string
  5392. begindate:
  5393. description: 开始交易日
  5394. type: string
  5395. buyorsell:
  5396. description: 方向 0-买 1-卖
  5397. type: integer
  5398. diffmgqty:
  5399. description: 套保品种今变化量
  5400. type: number
  5401. diffneedqty:
  5402. description: 应套保总量变化量
  5403. type: number
  5404. difftradeqty:
  5405. description: 交易品种今变化量
  5406. type: number
  5407. enddate:
  5408. description: 结束交易日
  5409. type: string
  5410. enumdicname:
  5411. description: 单位名称
  5412. type: string
  5413. goodscode:
  5414. description: 商品代码
  5415. type: string
  5416. goodsid:
  5417. description: 商品id
  5418. type: integer
  5419. goodsname:
  5420. description: 商品名称
  5421. type: string
  5422. holdqty:
  5423. description: 期末持仓量
  5424. type: number
  5425. middlegoodscode:
  5426. description: 套保商品代码
  5427. type: string
  5428. middlegoodsid:
  5429. description: 套保商品id
  5430. type: integer
  5431. middlegoodsname:
  5432. description: 套保商品名称
  5433. type: string
  5434. oriholdqty:
  5435. description: 期初持仓量
  5436. type: number
  5437. reckondate:
  5438. description: 交易日(RECKONDATE)
  5439. type: string
  5440. todaycloseqty:
  5441. description: 今平仓量
  5442. type: number
  5443. todayopenqty:
  5444. description: 今开仓量
  5445. type: number
  5446. tradedate:
  5447. description: 交易日(RECKONDATE)
  5448. type: string
  5449. username:
  5450. description: 用户名称(交易用户)
  5451. type: string
  5452. type: object
  5453. models.Ermcp3ExposureHedgeplanDetail:
  5454. properties:
  5455. biztype:
  5456. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5457. type: integer
  5458. changqty:
  5459. description: 应套保总量变化量
  5460. type: number
  5461. contracttype:
  5462. description: 计划类型 - 1:采购 -1:销售
  5463. type: integer
  5464. convertratio:
  5465. description: 折算系数(套保品种)
  5466. type: number
  5467. deliverygoodscode:
  5468. description: 现货商品代码
  5469. type: string
  5470. deliverygoodsid:
  5471. description: 现货商品id
  5472. type: integer
  5473. deliverygoodsname:
  5474. description: 现货商吕名称
  5475. type: string
  5476. dgunitid:
  5477. description: 现货商品单位id
  5478. type: integer
  5479. dgunitidname:
  5480. description: 单位名称(现货商品)
  5481. type: string
  5482. diffqty:
  5483. description: 套保品种今变动量
  5484. type: number
  5485. enumdicname:
  5486. description: 单位名称(品类)
  5487. type: string
  5488. hedgeplanid:
  5489. description: 套保计划id
  5490. type: string
  5491. hedgeplanno:
  5492. description: 套保计划名称
  5493. type: string
  5494. hedgeplanstatus:
  5495. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5496. type: integer
  5497. mgunitidname:
  5498. description: 单位名称(套保商品)
  5499. type: string
  5500. middlegoodscode:
  5501. description: 套保品种代码
  5502. type: string
  5503. middlegoodsid:
  5504. description: 套保品种id
  5505. type: integer
  5506. middlegoodsname:
  5507. description: 套保品种名称
  5508. type: string
  5509. needarbitrageratio:
  5510. description: 应套利比例
  5511. type: number
  5512. needhedgeratio:
  5513. description: 应套保比例
  5514. type: number
  5515. pricedqty:
  5516. description: 已定价量
  5517. type: number
  5518. qty:
  5519. description: 合同量
  5520. type: number
  5521. reckondate:
  5522. description: 交易日(reckondate)
  5523. type: string
  5524. tradedate:
  5525. description: 交易日(登记日)
  5526. type: string
  5527. unitid:
  5528. description: 品类单位id
  5529. type: integer
  5530. userid:
  5531. description: 机构id
  5532. type: integer
  5533. wrstandardcode:
  5534. description: 品类代码
  5535. type: string
  5536. wrstandardid:
  5537. description: 品类id
  5538. type: integer
  5539. wrstandardname:
  5540. description: 品类名称
  5541. type: string
  5542. type: object
  5543. models.Ermcp3ExposureParamChLog:
  5544. properties:
  5545. accountid:
  5546. description: 期货账户ID (作废, 默认为0)
  5547. type: integer
  5548. aftervalue:
  5549. description: 应套保\套利量变更后(调整后应套保总量)
  5550. type: number
  5551. areauserid:
  5552. description: 所属机构\交易用户ID
  5553. type: integer
  5554. beforevalue:
  5555. description: 应套保\套利量变更前(调整前应套保总量)
  5556. type: number
  5557. begindate:
  5558. description: 开始交易日
  5559. type: string
  5560. changelogtype:
  5561. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5562. type: integer
  5563. curvalue:
  5564. description: 当前套保\套利量(套保总量|套利总量)
  5565. type: number
  5566. diffvalue:
  5567. description: 应套保总量变化量
  5568. type: number
  5569. enddate:
  5570. description: 结束交易日
  5571. type: string
  5572. logdatetime:
  5573. description: 流水日期
  5574. type: string
  5575. logid:
  5576. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5577. type: string
  5578. middlegoodscode:
  5579. description: 套保品种代码
  5580. type: string
  5581. middlegoodsid:
  5582. description: 套保品种
  5583. type: integer
  5584. middlegoodsname:
  5585. description: 套保品种名称
  5586. type: string
  5587. paramaftervalue:
  5588. description: 参数变更后(调整后参数值)
  5589. type: number
  5590. parambeforevalue:
  5591. description: 参数变更前(调整前参数值)
  5592. type: number
  5593. reckondate:
  5594. description: 交易日(reckondate)
  5595. type: string
  5596. tradedate:
  5597. description: 交易日(yyyyMMdd)
  5598. type: string
  5599. type: object
  5600. models.Ermcp3ExpourseReport:
  5601. properties:
  5602. accountid:
  5603. description: 期货账户ID (作废, 默认为0)
  5604. type: integer
  5605. accountname:
  5606. description: 机构名称
  5607. type: string
  5608. arbitrageqty:
  5609. description: 套利量
  5610. type: number
  5611. areauserid:
  5612. description: 所属机构\交易用户ID
  5613. type: integer
  5614. begindate:
  5615. description: 开始交易日
  5616. type: string
  5617. buyfutureqty:
  5618. description: 买入期货数量
  5619. type: number
  5620. buyplanqty:
  5621. description: 采购计划数量
  5622. type: number
  5623. buypricedqty:
  5624. description: 采购合同已定价数量
  5625. type: number
  5626. cycletime:
  5627. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5628. type: string
  5629. cycletype:
  5630. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5631. type: integer
  5632. diffexposure:
  5633. description: 变动量(套保敞口)
  5634. type: number
  5635. difffutuqty:
  5636. description: 变动量(期货)
  5637. type: number
  5638. diffhedgeqty:
  5639. description: 变动量(现货应套保总量)
  5640. type: number
  5641. diffmgqtya:
  5642. description: 套保变动量
  5643. type: number
  5644. diffmgqtyb:
  5645. description: 套利变动量
  5646. type: number
  5647. diffneedqty:
  5648. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5649. type: number
  5650. diffqty:
  5651. description: 变动量(总敞口)
  5652. type: number
  5653. diffspotqty:
  5654. description: 变动量(现货) | 除税变动量
  5655. type: number
  5656. enddate:
  5657. description: 结束交易日
  5658. type: string
  5659. enumdicname:
  5660. description: 单位名称
  5661. type: string
  5662. hedgeqty:
  5663. description: 套保量
  5664. type: number
  5665. mgneedhedgeratio:
  5666. description: 套保比例(套保品的)
  5667. type: number
  5668. middlegoodsid:
  5669. description: 套保品种ID
  5670. type: integer
  5671. middlegoodsname:
  5672. description: 套保商品名称
  5673. type: string
  5674. middlgoodscode:
  5675. description: 套保商品代码
  5676. type: string
  5677. needarbitrageqty:
  5678. description: 应套利量
  5679. type: number
  5680. needarbitrageratio:
  5681. description: 套利比例(套保品的)
  5682. type: number
  5683. needhedgeexposoure:
  5684. description: 应套保敞口(套保敞口)
  5685. type: number
  5686. needhedgeqty:
  5687. description: 应套保量
  5688. type: number
  5689. needhedgeratio:
  5690. description: 应套保敞口比例
  5691. type: number
  5692. needqty:
  5693. description: 应套总量 = 应套保量 + 应套利量
  5694. type: number
  5695. oriarbitrageqty:
  5696. description: 期初套利量
  5697. type: number
  5698. oribuyfutureqty:
  5699. description: 期初买入期货数量
  5700. type: number
  5701. oribuyplanqty:
  5702. description: 期初采购计划数量
  5703. type: number
  5704. oribuypricedqty:
  5705. description: 期初采购合同已定价数量
  5706. type: number
  5707. orihedgeqty:
  5708. description: 期初套保量
  5709. type: number
  5710. orineedarbitrageqty:
  5711. description: 期初应套利量
  5712. type: number
  5713. orineedhedgeexposoure:
  5714. description: 期初应套保敞口
  5715. type: number
  5716. orineedhedgeqty:
  5717. description: 期初应套保量
  5718. type: number
  5719. orisellfutureqty:
  5720. description: 期初卖出期货数量
  5721. type: number
  5722. orisellplanqty:
  5723. description: 期初销售计划数量
  5724. type: number
  5725. orisellpricedqty:
  5726. description: 期初销售合同已定价数量
  5727. type: number
  5728. oritotalexposure:
  5729. description: 期初实时总敞口
  5730. type: number
  5731. oritotalfutureqty:
  5732. description: 期初期货头寸总量
  5733. type: number
  5734. oritotalneedhedgeqty:
  5735. description: 期初应套保总量
  5736. type: number
  5737. oritotalspotqty:
  5738. description: 期初现货头寸总量
  5739. type: number
  5740. reckondate:
  5741. description: 日照时期(yyyyMMdd)
  5742. type: string
  5743. sellfutureqty:
  5744. description: 卖出期货数量
  5745. type: number
  5746. sellplanqty:
  5747. description: 销售计划数量
  5748. type: number
  5749. sellpricedqty:
  5750. description: 销售合同已定价数量
  5751. type: number
  5752. totalexposure:
  5753. description: 实时总敞口(总敞口)
  5754. type: number
  5755. totalfutureqty:
  5756. description: 期货头寸总量(期货总量)
  5757. type: number
  5758. totalhedgeratio:
  5759. description: 敞口比例
  5760. type: number
  5761. totalneedhedgeqty:
  5762. description: 应套保总量(现货应套保总量)
  5763. type: number
  5764. totalspotqty:
  5765. description: 现货头寸总量 | 除税总量
  5766. type: number
  5767. unitid:
  5768. description: 单位id
  5769. type: integer
  5770. updatetime:
  5771. description: 更新时间
  5772. type: string
  5773. type: object
  5774. models.Ermcp3FinanceReport:
  5775. properties:
  5776. accountname:
  5777. description: 机构名称
  5778. type: string
  5779. areauserid:
  5780. description: 所属机构\交易用户ID
  5781. type: integer
  5782. begindate:
  5783. description: 开始交易日
  5784. type: string
  5785. biztype:
  5786. description: 业务类型 - 1:套保 2:套利
  5787. type: integer
  5788. brandname:
  5789. description: 品牌名称
  5790. type: string
  5791. buypreinvoicedamount:
  5792. description: 采购预收票额(预收票额)
  5793. type: number
  5794. buyprepaidamount:
  5795. description: 采购预付款额(预付货款额)
  5796. type: number
  5797. buytodayinvoiceamount:
  5798. description: 采购今收票额(今收票额)
  5799. type: number
  5800. buytodayrefundamount:
  5801. description: 采购今收退款额(今收退款额)
  5802. type: number
  5803. buytodaysettleamount:
  5804. description: 采购今付款额(今付货款额)
  5805. type: number
  5806. buyuninvoicedamount:
  5807. description: 采购应收票额(应收票额)
  5808. type: number
  5809. buyunpaidamount:
  5810. description: 采购应付款额(应付货款额)
  5811. type: number
  5812. currencyid:
  5813. description: 结算币种ID
  5814. type: integer
  5815. currencyname:
  5816. description: 币种名称
  5817. type: string
  5818. cycletime:
  5819. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5820. type: string
  5821. cycletype:
  5822. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5823. type: integer
  5824. deliverygoodscode:
  5825. description: 现货品种代码
  5826. type: string
  5827. deliverygoodsid:
  5828. description: 现货品种ID
  5829. type: integer
  5830. deliverygoodsname:
  5831. description: 现货品种名称
  5832. type: string
  5833. enddate:
  5834. description: 结束交易日
  5835. type: string
  5836. reckondate:
  5837. description: 日照时期(yyyyMMdd)
  5838. type: string
  5839. sellpreinvoicedamount:
  5840. description: 销售预开票额(预开票额)
  5841. type: number
  5842. sellprepaidamount:
  5843. description: 销售预收款额(预收货款额)
  5844. type: number
  5845. selltodayinvoiceamount:
  5846. description: 销售今开票额(今开票额)
  5847. type: number
  5848. selltodayrefundamount:
  5849. description: 销售今付退款额(今付退款额)
  5850. type: number
  5851. selltodaysettleamount:
  5852. description: 销售今收款额(今收货款额)
  5853. type: number
  5854. selluninvoicedamount:
  5855. description: 销售应开票额(应开票额)
  5856. type: number
  5857. sellunpaidamount:
  5858. description: 销售应收款额(应收货款额)
  5859. type: number
  5860. spotgoodsbrandid:
  5861. description: 现货品牌ID
  5862. type: integer
  5863. todaypaysum:
  5864. description: 今付款合计
  5865. type: number
  5866. todayreceivesum:
  5867. description: 今收款合计
  5868. type: number
  5869. updatetime:
  5870. description: 更新时间
  5871. type: string
  5872. wrfactortypeid:
  5873. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5874. type: integer
  5875. wrstandardcode:
  5876. description: 品类代码
  5877. type: string
  5878. wrstandardid:
  5879. description: 现货商品ID
  5880. type: integer
  5881. wrstandardname:
  5882. description: 品类名称
  5883. type: string
  5884. type: object
  5885. models.Ermcp3GoodsGroup:
  5886. properties:
  5887. agreeunit:
  5888. description: 合约单位
  5889. type: number
  5890. areauserid:
  5891. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5892. type: integer
  5893. canshort:
  5894. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5895. type: integer
  5896. closepricemode:
  5897. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5898. type: integer
  5899. createtime:
  5900. description: 创建时间
  5901. type: string
  5902. creatorid:
  5903. description: 创建人
  5904. type: integer
  5905. currencyid:
  5906. description: 报价货币ID
  5907. type: integer
  5908. decimalplace:
  5909. description: 报价小数位
  5910. type: integer
  5911. enumdicname:
  5912. description: 单位名称
  5913. type: string
  5914. exchangefullname:
  5915. description: 交易所全称
  5916. type: string
  5917. excludecfg:
  5918. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5919. type: integer
  5920. exexchangecode:
  5921. description: 交易所代码
  5922. type: string
  5923. exexchangeid:
  5924. description: 外部交易所ID[通道交易]
  5925. type: integer
  5926. exexchangename:
  5927. description: 交易所名称
  5928. type: string
  5929. goodsgroupid:
  5930. description: 商品组ID(自增ID)
  5931. type: integer
  5932. goodsgroupname:
  5933. description: 商品组名称
  5934. type: string
  5935. goodsgroupstatus:
  5936. description: 商品组状态 - 1:正常 2:注销
  5937. type: integer
  5938. goodunitid:
  5939. description: 报价单位ID
  5940. type: integer
  5941. groupcategroyid:
  5942. description: 品种分类ID
  5943. type: integer
  5944. innerdealmode:
  5945. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5946. type: integer
  5947. marketid:
  5948. description: 所属市场ID
  5949. type: integer
  5950. modifierid:
  5951. description: 修改人
  5952. type: integer
  5953. modifytime:
  5954. description: 修改时间
  5955. type: string
  5956. outerdealmode:
  5957. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5958. type: integer
  5959. outergroupcode:
  5960. description: 外部商品组代码[通道交易]
  5961. type: string
  5962. quoteminunit:
  5963. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5964. type: integer
  5965. quotesourcegroupid:
  5966. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5967. type: integer
  5968. syncgoodsqty:
  5969. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5970. type: integer
  5971. required:
  5972. - areauserid
  5973. type: object
  5974. models.Ermcp3HPMiddleGoods:
  5975. properties:
  5976. biztype:
  5977. description: 业务类型 1:套保 2:套利
  5978. type: integer
  5979. contracttype:
  5980. description: 合同类型 1:采购 -1:销售
  5981. type: integer
  5982. convertratio:
  5983. description: 折算系数
  5984. type: number
  5985. customername:
  5986. description: 对手手名称
  5987. type: string
  5988. customeruserid:
  5989. description: 对手id
  5990. type: integer
  5991. enumdicname:
  5992. description: 现货单位名称
  5993. type: string
  5994. hedgeplanid:
  5995. description: 计划id
  5996. type: string
  5997. hedgeplanno:
  5998. description: 计划编号
  5999. type: string
  6000. middlegoodsid:
  6001. description: 套保品种ID
  6002. type: integer
  6003. middlegoodsplanqty3:
  6004. description: 应套保计划量
  6005. type: number
  6006. needhedgeratio:
  6007. description: 套保比例
  6008. type: number
  6009. pricedqty:
  6010. description: 已定价量
  6011. type: number
  6012. relatedmiddlegoodsqty:
  6013. description: 已关联量(套保品种)(期货)
  6014. type: number
  6015. unitid:
  6016. description: 现货单位id
  6017. type: integer
  6018. userid:
  6019. description: 用户id
  6020. type: integer
  6021. vatrate:
  6022. description: 增值税率
  6023. type: number
  6024. wrstandardcode:
  6025. description: 现货商品代码
  6026. type: string
  6027. wrstandardid:
  6028. description: 现货商品id
  6029. type: integer
  6030. wrstandardname:
  6031. description: 现货商品名称
  6032. type: string
  6033. type: object
  6034. models.Ermcp3HedgePlan:
  6035. properties:
  6036. accountid:
  6037. description: 资金账号
  6038. type: integer
  6039. areauserid:
  6040. description: 用户ID
  6041. type: integer
  6042. auditid:
  6043. description: 审核id
  6044. type: integer
  6045. auditname:
  6046. description: 审核人名称
  6047. type: string
  6048. auditremark:
  6049. description: 审核备注
  6050. type: string
  6051. auditsrc:
  6052. description: 审核来源 1-管理端 2-终端
  6053. type: integer
  6054. audittime:
  6055. description: 审核时间
  6056. type: string
  6057. contracttype:
  6058. description: 计划类型 - 1:采购 -1:销售
  6059. type: integer
  6060. convertfactor:
  6061. description: 标仓系数
  6062. type: number
  6063. createtime:
  6064. description: 创建时间
  6065. type: string
  6066. currencyid:
  6067. description: 币种id
  6068. type: integer
  6069. currencyname:
  6070. description: 币种名称
  6071. type: string
  6072. deliverygoodscode:
  6073. description: 现货品种代码
  6074. type: string
  6075. deliverygoodsid:
  6076. description: 现货品种ID
  6077. type: integer
  6078. deliverygoodsname:
  6079. description: 现货品种名称
  6080. type: string
  6081. enumdicname:
  6082. description: 单位名称(现货商品)
  6083. type: string
  6084. hedgeplanid:
  6085. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6086. type: string
  6087. hedgeplanno:
  6088. description: 套保计划编号(名称)
  6089. type: string
  6090. hedgeplanstatus:
  6091. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6092. type: integer
  6093. planqty:
  6094. description: 计划数量
  6095. type: number
  6096. plantime:
  6097. description: 计划时间
  6098. type: string
  6099. producttype:
  6100. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6101. type: integer
  6102. remark:
  6103. description: 备注
  6104. type: string
  6105. spotgoodsdesc:
  6106. description: 商品型号
  6107. type: string
  6108. taaccountname:
  6109. description: 资金账号名称
  6110. type: string
  6111. tradeuserid:
  6112. description: 交易用户id
  6113. type: integer
  6114. tradeusername:
  6115. description: 交易用户名称
  6116. type: string
  6117. unitid:
  6118. description: 单位id(现货商品)
  6119. type: integer
  6120. updatetime:
  6121. description: 更新时间
  6122. type: string
  6123. vatrate:
  6124. description: 增值税率
  6125. type: number
  6126. wrstandardcode:
  6127. description: 品类代码
  6128. type: string
  6129. wrstandardid:
  6130. description: 品类id
  6131. type: integer
  6132. wrstandardname:
  6133. description: 品类名称
  6134. type: string
  6135. wrunitid:
  6136. description: 品类单位id
  6137. type: integer
  6138. wrunitidame:
  6139. description: 品类单位名称
  6140. type: string
  6141. type: object
  6142. models.Ermcp3InnerTradeLink:
  6143. properties:
  6144. accountid:
  6145. description: 期货账号代码 | 资金账号ID
  6146. type: integer
  6147. buyorsell:
  6148. description: 方向 - 0:买 1:卖
  6149. type: integer
  6150. channelbuildtype:
  6151. description: 委托单据类型 0:无 1:建仓 2:平仓
  6152. type: integer
  6153. currencyid:
  6154. description: 币种id
  6155. type: integer
  6156. currencyname:
  6157. description: 结算币种 名称
  6158. type: string
  6159. goodscode:
  6160. description: 商品代码
  6161. type: string
  6162. goodsid:
  6163. description: 商品ID
  6164. type: integer
  6165. goodsname:
  6166. description: 商品名称
  6167. type: string
  6168. outtradeid:
  6169. description: 外部成交单号
  6170. type: string
  6171. taname:
  6172. description: 期货账户名称
  6173. type: string
  6174. tradeid:
  6175. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6176. type: string
  6177. tradeprice:
  6178. description: 成交价格
  6179. type: number
  6180. tradeqty:
  6181. description: 期货成交数量
  6182. type: integer
  6183. tradetime:
  6184. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6185. type: string
  6186. username:
  6187. description: 用户名称
  6188. type: string
  6189. type: object
  6190. models.Ermcp3OutTradeLink:
  6191. properties:
  6192. buyorsell:
  6193. description: 买卖方向 - 0:买 1:卖
  6194. type: integer
  6195. channelbuildtype:
  6196. description: 开平标志- 0:无 1:建仓 2:平仓
  6197. type: integer
  6198. currencyname:
  6199. description: 币种名称
  6200. type: string
  6201. exexchangecode:
  6202. description: 交易所代码
  6203. type: string
  6204. exexchangename:
  6205. description: 交易所名称
  6206. type: string
  6207. goodscode:
  6208. description: 合约代码
  6209. type: string
  6210. goodsid:
  6211. description: 合约id
  6212. type: integer
  6213. goodsname:
  6214. description: 合约名称
  6215. type: string
  6216. hasinnerorder:
  6217. description: 是否有内部单关联 - 0:无 1:有
  6218. type: integer
  6219. hedgeaccountcode:
  6220. description: 外部账号 | 对冲账号
  6221. type: string
  6222. outtradeid:
  6223. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6224. type: string
  6225. tradeprice:
  6226. description: 成交价格
  6227. type: number
  6228. tradeqty:
  6229. description: 成交数量
  6230. type: integer
  6231. tradetime:
  6232. description: 成交时间
  6233. type: string
  6234. type: object
  6235. models.Ermcp3PaAreaAuditCfg:
  6236. properties:
  6237. areauserid:
  6238. description: 用户ID
  6239. type: integer
  6240. buyinauditflag:
  6241. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6242. type: integer
  6243. costratioauditflag:
  6244. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6245. type: integer
  6246. customerauditflag:
  6247. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6248. type: integer
  6249. deliveryauditflag:
  6250. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6251. type: integer
  6252. invoiceauditflag:
  6253. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6254. type: integer
  6255. mgneedhedgeratioauditflag:
  6256. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6257. type: integer
  6258. moneyauditflag:
  6259. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6260. type: integer
  6261. operatorid:
  6262. description: 操作人
  6263. type: integer
  6264. operatorsrc:
  6265. description: 操作来源 - 1:管理端 2:终端
  6266. type: integer
  6267. pointpriceauditflag:
  6268. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6269. type: integer
  6270. produceinauditflag:
  6271. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6272. type: integer
  6273. produceoutauditflag:
  6274. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6275. type: integer
  6276. selloutauditflag:
  6277. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6278. type: integer
  6279. sgconvertratioauditflag:
  6280. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6281. type: integer
  6282. sgvtaratioauditflag:
  6283. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6284. type: integer
  6285. spotcontractauditflag:
  6286. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6287. type: integer
  6288. updatetime:
  6289. description: 更新时间
  6290. type: string
  6291. type: object
  6292. models.Ermcp3PaAreaSubject:
  6293. properties:
  6294. areauserid:
  6295. description: 所属机构
  6296. type: integer
  6297. canmodify:
  6298. description: 是否可修改 - 0:否 1:是
  6299. type: integer
  6300. createtime:
  6301. description: 创建时间
  6302. type: string
  6303. creatorid:
  6304. description: 创建人ID
  6305. type: string
  6306. creatorsrc:
  6307. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6308. type: integer
  6309. modifierid:
  6310. description: 修改人
  6311. type: string
  6312. modifiersrc:
  6313. description: 修改人来源 - 1:管理端 2:终端
  6314. type: integer
  6315. modifytime:
  6316. description: 修改时间
  6317. type: string
  6318. parentsubjectid:
  6319. description: 上级主体ID
  6320. type: string
  6321. remark:
  6322. description: 备注
  6323. type: string
  6324. subjectid:
  6325. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6326. type: integer
  6327. subjectname:
  6328. description: 主体名称
  6329. type: string
  6330. subjectstatus:
  6331. description: '主体状态 - 1:正常 2: 停用'
  6332. type: integer
  6333. subjecttype:
  6334. description: 主体类型 - 1:交易主体 2:业务部门
  6335. type: integer
  6336. type: object
  6337. models.Ermcp3PaTradeLink:
  6338. properties:
  6339. accountid:
  6340. description: 期货账户代码 | 账号ID
  6341. type: integer
  6342. agreeunit:
  6343. description: 合约乘数
  6344. type: number
  6345. buyorsell:
  6346. description: 方向 - 0:买 1:卖
  6347. type: integer
  6348. channelbuildtype:
  6349. description: 委托单据类型 0:无 1:建仓 2:平仓
  6350. type: integer
  6351. charge:
  6352. description: 手续费
  6353. type: number
  6354. closepl:
  6355. description: 平仓盈亏
  6356. type: number
  6357. closetype:
  6358. description: 平仓方式 - 0:无 1:平今 2:平昨
  6359. type: integer
  6360. convertratio:
  6361. description: 折算系数
  6362. type: number
  6363. enumdicname:
  6364. description: 单位名称
  6365. type: string
  6366. executeprice:
  6367. description: 执行价 [期权]
  6368. type: integer
  6369. goodscode:
  6370. description: 合约代码
  6371. type: string
  6372. goodsgroupid:
  6373. description: 对冲品种ID[期货合约商品组ID]
  6374. type: integer
  6375. goodsid:
  6376. description: 商品ID
  6377. type: integer
  6378. goodsname:
  6379. description: 合约名称
  6380. type: string
  6381. goodunitid:
  6382. description: 单位id
  6383. type: integer
  6384. hedgeflag:
  6385. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6386. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6387. type: integer
  6388. marketid:
  6389. description: 市场ID
  6390. type: integer
  6391. middlegoodsid:
  6392. description: 套保品种ID
  6393. type: integer
  6394. middlegoodsqty:
  6395. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6396. type: number
  6397. optioncode:
  6398. description: 期权代码 [期权]
  6399. type: string
  6400. ordertype:
  6401. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6402. type: integer
  6403. ordertypename:
  6404. description: 订单类型
  6405. type: string
  6406. parentaccountid:
  6407. description: 所属母账户
  6408. type: integer
  6409. premium:
  6410. description: 权利金 [期权]
  6411. type: number
  6412. relatedlot:
  6413. description: 已关联数量(已关联数量手) | db:关联手数
  6414. type: number
  6415. relatedouttradeid:
  6416. description: 关联外部成交单ID
  6417. type: string
  6418. relatedqty:
  6419. description: 关联数量
  6420. type: number
  6421. spotcontractid:
  6422. description: 现货合同ID [4:套期保值\10\11]
  6423. type: string
  6424. taname:
  6425. description: 期货账户名称
  6426. type: string
  6427. tradeamount:
  6428. description: 成交金额(账户)
  6429. type: number
  6430. tradedate:
  6431. description: 交易日(yyyyMMdd)
  6432. type: string
  6433. tradeid:
  6434. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6435. type: string
  6436. tradelot:
  6437. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6438. type: integer
  6439. tradeprice:
  6440. description: 成交价格
  6441. type: number
  6442. tradetime:
  6443. description: 时间 | db:成交时间
  6444. type: string
  6445. tradetype:
  6446. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6447. type: integer
  6448. userid:
  6449. description: 所属机构 - 所属母账户的UserID
  6450. type: string
  6451. username:
  6452. description: 用户名称
  6453. type: string
  6454. type: object
  6455. models.Ermcp3ParamChangeApp:
  6456. properties:
  6457. aftervalue:
  6458. description: 变更后
  6459. type: number
  6460. applicationid:
  6461. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6462. type: string
  6463. applyid:
  6464. description: 申请人
  6465. type: string
  6466. applyname:
  6467. description: 申请人名称(代码)
  6468. type: string
  6469. applyremark:
  6470. description: 申请备注
  6471. type: string
  6472. applysrc:
  6473. description: 申请来源 - 1:管理端 2:终端
  6474. type: integer
  6475. applystatus:
  6476. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6477. type: integer
  6478. applytime:
  6479. description: 申请时间
  6480. type: string
  6481. areauserid:
  6482. description: 所属机构用户ID
  6483. type: integer
  6484. auditid:
  6485. description: 审核人
  6486. type: string
  6487. auditname:
  6488. description: 审核人名称(代码)
  6489. type: string
  6490. auditremark:
  6491. description: 审核备注
  6492. type: string
  6493. auditsrc:
  6494. description: 审核来源 - 1:管理端 2:终端
  6495. type: integer
  6496. audittime:
  6497. description: 审核时间
  6498. type: string
  6499. audittradedate:
  6500. description: 审核交易日(yyyyMMdd)
  6501. type: string
  6502. beforevalue:
  6503. description: 变更前
  6504. type: number
  6505. deliverygoodscode:
  6506. description: 品种代码
  6507. type: string
  6508. deliverygoodsid:
  6509. description: 品种id
  6510. type: integer
  6511. deliverygoodsname:
  6512. description: 品种名称
  6513. type: string
  6514. middlegoodscode:
  6515. description: 套保品种代码
  6516. type: string
  6517. middlegoodsid:
  6518. description: 套保品种ID [ParamChangeType = 2,3,4]
  6519. type: integer
  6520. middlegoodsname:
  6521. description: 套保品种名称
  6522. type: string
  6523. operatetype:
  6524. description: 操作类型 - 1:新增 2:修改
  6525. type: integer
  6526. paramchangetype:
  6527. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6528. type: integer
  6529. wrstandardcode:
  6530. description: 现货商品代码
  6531. type: string
  6532. wrstandardid:
  6533. description: 现货商品ID [ParamChangeType = 1,2,3]
  6534. type: integer
  6535. wrstandardname:
  6536. description: 现货商品名称
  6537. type: string
  6538. type: object
  6539. models.Ermcp3RootUserAccount:
  6540. properties:
  6541. accountname:
  6542. description: 账户名称(机构名称)
  6543. type: string
  6544. accountstatus:
  6545. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6546. type: integer
  6547. applysrc:
  6548. description: 申请来源 - 1:管理端 2:终端
  6549. type: integer
  6550. auditremark:
  6551. description: 审核备注
  6552. type: string
  6553. auditsrc:
  6554. description: 审核来源 - 1:管理端 2:终端
  6555. type: integer
  6556. audittime:
  6557. description: 审核时间
  6558. type: string
  6559. audituserid:
  6560. description: 审核人
  6561. type: integer
  6562. broker:
  6563. description: 所属经纪人ID
  6564. type: integer
  6565. canceltime:
  6566. description: 销户时间
  6567. type: string
  6568. canceluserid:
  6569. description: 销户人
  6570. type: integer
  6571. canrecommend:
  6572. description: 是否可推荐 - 0:不可 1;可
  6573. type: integer
  6574. createtime:
  6575. description: 创建时间
  6576. type: string
  6577. creatorid:
  6578. description: 创建人
  6579. type: integer
  6580. hasauth:
  6581. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6582. type: integer
  6583. isanonymous:
  6584. description: 是否匿名下单 - 0:否 1:是
  6585. type: integer
  6586. maxinvestornum:
  6587. description: 最大用户数(经纪会员下投资者个数)
  6588. type: integer
  6589. memberuserid:
  6590. description: 所属会员ID
  6591. type: integer
  6592. modifierid:
  6593. description: 修改人
  6594. type: integer
  6595. modifyremark:
  6596. description: 变更备注
  6597. type: string
  6598. modifystatus:
  6599. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6600. type: integer
  6601. modifytime:
  6602. description: 修改时间
  6603. type: string
  6604. nickname:
  6605. description: 昵称
  6606. type: string
  6607. parenttopuser:
  6608. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6609. type: string
  6610. parentuserid:
  6611. description: 所属机构ID
  6612. type: integer
  6613. reckonaccountid:
  6614. description: 默认结算资金账号ID(机构分润使用) 作废
  6615. type: integer
  6616. refercount:
  6617. description: 推荐总人数
  6618. type: integer
  6619. refereeuserid:
  6620. description: 推荐人ID
  6621. type: integer
  6622. refernum:
  6623. description: 推荐码
  6624. type: string
  6625. rootuserid:
  6626. description: 根用户ID
  6627. type: integer
  6628. subaccountlevel:
  6629. description: 子账户层数
  6630. type: integer
  6631. subarealevelpath:
  6632. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6633. type: string
  6634. userid:
  6635. description: 用户ID
  6636. type: integer
  6637. usertype:
  6638. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6639. type: integer
  6640. type: object
  6641. models.Ermcp3SCMiddleGoods:
  6642. properties:
  6643. biztype:
  6644. description: 业务类型 1:套保 2:套利
  6645. type: integer
  6646. contractno:
  6647. description: 合同编号
  6648. type: string
  6649. contracttype:
  6650. description: 合同类型 1:采购 -1:销售
  6651. type: integer
  6652. convertratio:
  6653. description: 折算系数
  6654. type: number
  6655. customername:
  6656. description: 对手手名称
  6657. type: string
  6658. customeruserid:
  6659. description: 对手id
  6660. type: integer
  6661. deliverygoodscode:
  6662. description: 现货品种代码
  6663. type: string
  6664. deliverygoodsid:
  6665. description: 现货品种ID
  6666. type: integer
  6667. deliverygoodsname:
  6668. description: 现货品种名称
  6669. type: string
  6670. enumdicname:
  6671. description: 现货单位名称
  6672. type: string
  6673. middlegoodsid:
  6674. description: 套保品种ID
  6675. type: integer
  6676. middlegoodspricedqty3:
  6677. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6678. type: number
  6679. needhedgeratio:
  6680. description: 套保比例
  6681. type: number
  6682. pricedqty:
  6683. description: 已定价量
  6684. type: number
  6685. relatedmiddlegoodsqty:
  6686. description: 已关联量(套保品种)(期货)
  6687. type: number
  6688. spotcontractid:
  6689. description: 合同编号
  6690. type: string
  6691. unitid:
  6692. description: 现货单位id
  6693. type: integer
  6694. userid:
  6695. description: 用户id
  6696. type: integer
  6697. vatrate:
  6698. description: 增值税率
  6699. type: number
  6700. wrstandardcode:
  6701. description: 现货商品代码
  6702. type: string
  6703. wrstandardid:
  6704. description: 现货商品id
  6705. type: integer
  6706. wrstandardname:
  6707. description: 现货商品名称
  6708. type: string
  6709. type: object
  6710. models.Ermcp3SCMiddleGoodsReport:
  6711. properties:
  6712. begindate:
  6713. description: 开始交易日
  6714. type: string
  6715. contractno:
  6716. description: 合同编号
  6717. type: string
  6718. contracttype:
  6719. description: 合同类型 1:采购 -1:销售
  6720. type: integer
  6721. convertratio:
  6722. description: 折算系数
  6723. type: number
  6724. cycletime:
  6725. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6726. type: string
  6727. cycletype:
  6728. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6729. type: integer
  6730. deliverygoodscode:
  6731. description: 品种代码
  6732. type: string
  6733. deliverygoodsid:
  6734. description: 现货品种ID
  6735. type: integer
  6736. deliverygoodsname:
  6737. description: 品种名称
  6738. type: string
  6739. diffprice:
  6740. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6741. type: number
  6742. diffqty:
  6743. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6744. type: number
  6745. enddate:
  6746. description: 结束交易日
  6747. type: string
  6748. hedgeplanqty:
  6749. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6750. type: number
  6751. matchname:
  6752. description: 交易对手方(个人:用户名称 企业:简称)
  6753. type: string
  6754. matchnickname:
  6755. description: 交易对手方昵称
  6756. type: string
  6757. middlegoodscode:
  6758. description: 套保品种代码
  6759. type: string
  6760. middlegoodsid:
  6761. description: 套保品种ID
  6762. type: integer
  6763. middlegoodsname:
  6764. description: 套保品种名称
  6765. type: string
  6766. middlegoodspricedqty:
  6767. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6768. type: number
  6769. middlegoodspricedqty2:
  6770. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6771. type: number
  6772. middlegoodspricedqty3:
  6773. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6774. type: number
  6775. needhedgeratio:
  6776. description: 套保系数
  6777. type: number
  6778. pricedamount:
  6779. description: 已定价额(现货)
  6780. type: number
  6781. pricedamount2:
  6782. description: 已定价额(现货-基价额)
  6783. type: number
  6784. pricedqty:
  6785. description: 已定价量(现货)
  6786. type: number
  6787. reckondate:
  6788. description: 日照时期(yyyyMMdd)
  6789. type: string
  6790. relatedmiddlegoodsamount:
  6791. description: 已关联额(期货)
  6792. type: number
  6793. relatedmiddlegoodsqty:
  6794. description: 已关联量(套保品种)(期货)
  6795. type: number
  6796. spotcontractid:
  6797. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6798. type: string
  6799. todayavgfutuprice:
  6800. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6801. type: number
  6802. todayavgprice:
  6803. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6804. type: number
  6805. todayavgprice2:
  6806. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6807. type: number
  6808. todaypricedamount:
  6809. description: 今日定价额(现货)
  6810. type: number
  6811. todaypricedamount2:
  6812. description: 今日定价额(现货-基价额)
  6813. type: number
  6814. todaypricedqty:
  6815. description: 今日定价量(现货)
  6816. type: number
  6817. todayrelatedfutureqty:
  6818. description: 今日关联量(期货)
  6819. type: number
  6820. todayrelatedmiddlegoodsamount:
  6821. description: 今日关联额(期货)
  6822. type: number
  6823. todayrelatedmiddlegoodsqty:
  6824. description: 今日关联量(套保品-期货)
  6825. type: number
  6826. updatetime:
  6827. description: 更新时间
  6828. type: string
  6829. userid:
  6830. description: 合同所属用户id
  6831. type: integer
  6832. vatrate:
  6833. description: 增值税率
  6834. type: number
  6835. wrstandardcode:
  6836. description: 商品(品类) 代码
  6837. type: string
  6838. wrstandardid:
  6839. description: 现货商品ID
  6840. type: integer
  6841. wrstandardname:
  6842. description: 商品(品类) 名称
  6843. type: string
  6844. type: object
  6845. models.Ermcp3SellBuyContract:
  6846. properties:
  6847. accountid:
  6848. description: 期货账户id
  6849. type: string
  6850. accountname:
  6851. description: 账户名称
  6852. type: string
  6853. attachment:
  6854. description: 附件
  6855. type: string
  6856. audittime:
  6857. description: 审核时间
  6858. type: string
  6859. bizsubjectid:
  6860. description: 归属业务部门ID - SubjectID
  6861. type: integer
  6862. biztype:
  6863. description: 业务类型 1-套保 2-套利
  6864. type: integer
  6865. brandname:
  6866. description: 品牌名称
  6867. type: string
  6868. contracctstatus:
  6869. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6870. type: integer
  6871. contractmargin:
  6872. description: 合同保证金
  6873. type: number
  6874. contractno:
  6875. description: 合同编号
  6876. type: string
  6877. contracttype:
  6878. description: 合同类型 1-采购, -1-销售
  6879. type: integer
  6880. convertfactor:
  6881. description: 标仓系数(品类)
  6882. type: number
  6883. createtime:
  6884. description: 创建时间
  6885. type: string
  6886. currencyid:
  6887. description: 币种id
  6888. type: integer
  6889. currencyname:
  6890. description: 币种名称
  6891. type: string
  6892. daikaiamount:
  6893. description: 应收(开)票额 | 未收票额
  6894. type: number
  6895. deliveryenddate:
  6896. description: 交割结束日
  6897. type: string
  6898. deliverygoodscode:
  6899. description: 现货品种代码
  6900. type: string
  6901. deliverygoodsid:
  6902. description: 现货商品ID
  6903. type: integer
  6904. deliverygoodsname:
  6905. description: 现货品种名称
  6906. type: string
  6907. deliverystartdate:
  6908. description: 交割开始日
  6909. type: string
  6910. enddate:
  6911. description: 点价结束日
  6912. type: string
  6913. enumdicname:
  6914. description: 单位名称
  6915. type: string
  6916. goodscode:
  6917. description: 点价商品代码
  6918. type: string
  6919. goodsgroupid:
  6920. description: 点价商品组id
  6921. type: integer
  6922. goodsid:
  6923. description: 点价商品ID
  6924. type: integer
  6925. goodsname:
  6926. description: 点价商品名称
  6927. type: string
  6928. invoiceamount:
  6929. description: 已开票额
  6930. type: number
  6931. loanamount:
  6932. description: 贷款总额=已定价额+调整金额
  6933. type: number
  6934. margin:
  6935. description: 保证金
  6936. type: number
  6937. meruserid:
  6938. description: 跟单员id
  6939. type: integer
  6940. meruserlogincode:
  6941. description: 跟单员登录代码
  6942. type: string
  6943. merusername:
  6944. description: 跟单员名称
  6945. type: string
  6946. nickname:
  6947. description: 账户昵称
  6948. type: string
  6949. orireckonrealqty:
  6950. description: 应交收量
  6951. type: number
  6952. payamount:
  6953. description: 已收付额(收款或付款)
  6954. type: number
  6955. preinvoiceamount:
  6956. description: 预收(开)票额
  6957. type: number
  6958. prepayamount:
  6959. description: 预收付额
  6960. type: number
  6961. price:
  6962. description: 价格
  6963. type: number
  6964. pricedamount:
  6965. description: 已定价额
  6966. type: number
  6967. pricedavg:
  6968. description: 已点均价
  6969. type: number
  6970. pricedqty:
  6971. description: 已定价量
  6972. type: number
  6973. pricemove:
  6974. description: 升贴水
  6975. type: number
  6976. pricetype:
  6977. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6978. type: integer
  6979. producttype:
  6980. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6981. type: integer
  6982. qty:
  6983. description: 合同量
  6984. type: number
  6985. reckonadjustamount:
  6986. description: 调整金额
  6987. type: number
  6988. reckonedamount:
  6989. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6990. type: number
  6991. reckonotheramount:
  6992. description: 其它费用
  6993. type: number
  6994. reckonrealqty:
  6995. description: 已交收量
  6996. type: number
  6997. remark:
  6998. description: 备注
  6999. type: string
  7000. saleuserid:
  7001. description: 业务员id
  7002. type: integer
  7003. saleuserlogincode:
  7004. description: 业务员登录代码
  7005. type: string
  7006. saleusername:
  7007. description: 业务员名称
  7008. type: string
  7009. spotcontractid:
  7010. description: 合同ID
  7011. type: string
  7012. spotgoodsbrandid:
  7013. description: 现货品牌ID(DGFactoryItem表的ID)
  7014. type: integer
  7015. spotgoodsdesc:
  7016. description: 商品型号(商品规格)
  7017. type: string
  7018. startdate:
  7019. description: 点价开始日
  7020. type: string
  7021. subjectid:
  7022. description: 交易主体ID
  7023. type: integer
  7024. subjectname:
  7025. description: 交易主体名称
  7026. type: string
  7027. totalamount:
  7028. description: 合计总额
  7029. type: number
  7030. tradeuserid:
  7031. description: 交易员id
  7032. type: integer
  7033. tradeuserlogincode:
  7034. description: 交易员登录代码
  7035. type: string
  7036. tradeusername:
  7037. description: 交易员名称
  7038. type: string
  7039. unpayamount:
  7040. description: 应收付款额(应支付或应收款) | 未付款额
  7041. type: number
  7042. unpricedqty:
  7043. description: 未定价量
  7044. type: number
  7045. unsureqty:
  7046. description: 未确定量 | 未交收量
  7047. type: number
  7048. userid:
  7049. description: 机构ID
  7050. type: integer
  7051. vatrate:
  7052. description: 增值税率
  7053. type: number
  7054. wrstandardcode:
  7055. description: 品类代码
  7056. type: string
  7057. wrstandardid:
  7058. description: 品类ID
  7059. type: integer
  7060. wrstandardname:
  7061. description: 品类名称
  7062. type: string
  7063. type: object
  7064. models.Ermcp3SpotGoodsPrice:
  7065. properties:
  7066. areauserid:
  7067. description: 所属机构id
  7068. type: integer
  7069. brandname:
  7070. description: 品牌名称
  7071. type: string
  7072. currencyid:
  7073. description: 报价货币ID
  7074. type: integer
  7075. currencyname:
  7076. description: 币种名称
  7077. type: string
  7078. deliverygoodscode:
  7079. description: 现货商品代码
  7080. type: string
  7081. deliverygoodsid:
  7082. description: 现货商品id
  7083. type: integer
  7084. deliverygoodsname:
  7085. description: 现货商品名称
  7086. type: string
  7087. enumdicname:
  7088. description: 现货商品单位名称
  7089. type: string
  7090. gbenumdicname:
  7091. description: 品类单位名称
  7092. type: string
  7093. gmunitid:
  7094. description: 品类单位id
  7095. type: integer
  7096. isvalid:
  7097. description: 是否有效 - 0:无效 1:有效
  7098. type: integer
  7099. operateid:
  7100. description: 最后操作人
  7101. type: integer
  7102. operatesrc:
  7103. description: 最后操作来源 - 1:管理端 2:终端
  7104. type: integer
  7105. operatetime:
  7106. description: 最后操作时间
  7107. type: string
  7108. operatorname:
  7109. description: 操作人名称
  7110. type: string
  7111. spotgoodsbrandid:
  7112. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7113. type: integer
  7114. spotgoodsprice:
  7115. description: 现货价格
  7116. type: number
  7117. tradedate:
  7118. description: 交易日(yyyyMMdd)
  7119. type: string
  7120. unitid:
  7121. description: 现货商品单位id
  7122. type: integer
  7123. wrstandardcode:
  7124. description: 品类代码
  7125. type: string
  7126. wrstandardid:
  7127. description: 现货品类ID(通用则为0)
  7128. type: integer
  7129. wrstandardname:
  7130. description: 品类名称
  7131. type: string
  7132. type: object
  7133. models.Ermcp3SpotGoodsPriceLog:
  7134. properties:
  7135. areauserid:
  7136. description: 所属机构id
  7137. type: integer
  7138. brandname:
  7139. description: 品牌名称
  7140. type: string
  7141. currencyid:
  7142. description: 报价货币ID
  7143. type: integer
  7144. deliverygoodscode:
  7145. description: 现货商品代码
  7146. type: string
  7147. deliverygoodsid:
  7148. description: 现货商品id
  7149. type: integer
  7150. deliverygoodsname:
  7151. description: 现货商品名称
  7152. type: string
  7153. enumdicname:
  7154. description: 现货商品单位名称
  7155. type: string
  7156. gbenumdicname:
  7157. description: 品类单位名称
  7158. type: string
  7159. gmunitid:
  7160. description: 品类单位id
  7161. type: integer
  7162. logid:
  7163. description: 日志id
  7164. type: integer
  7165. operateid:
  7166. description: 最后操作人
  7167. type: integer
  7168. operatesrc:
  7169. description: 最后操作来源 - 1:管理端 2:终端
  7170. type: integer
  7171. operatetime:
  7172. description: 最后操作时间
  7173. type: string
  7174. operatorname:
  7175. description: 操作人名称
  7176. type: string
  7177. spotgoodsbrandid:
  7178. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7179. type: integer
  7180. spotgoodsprice:
  7181. description: 现货价格
  7182. type: number
  7183. tradedate:
  7184. description: 交易日(yyyyMMdd)
  7185. type: string
  7186. unitid:
  7187. description: 现货商品单位id
  7188. type: integer
  7189. wrstandardcode:
  7190. description: 品类代码
  7191. type: string
  7192. wrstandardid:
  7193. description: 现货品类ID(通用则为0)
  7194. type: integer
  7195. wrstandardname:
  7196. description: 品类名称
  7197. type: string
  7198. type: object
  7199. models.Ermcp3SubTaaccount:
  7200. properties:
  7201. accountid:
  7202. description: 资金账户ID
  7203. type: integer
  7204. parentaccountcode:
  7205. description: 所属根账号代码(母账号代码)
  7206. type: string
  7207. parentaccountid:
  7208. description: 所属根账号(母账号)
  7209. type: integer
  7210. taname:
  7211. description: 资金账号名称
  7212. type: string
  7213. tradestatus:
  7214. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7215. type: integer
  7216. username:
  7217. description: 交易用户
  7218. type: string
  7219. type: object
  7220. models.Ermcp3TaFutuReDataReport:
  7221. properties:
  7222. accountid:
  7223. description: 交易账户
  7224. type: integer
  7225. accountname:
  7226. description: 交易账号名称
  7227. type: string
  7228. agreeunit:
  7229. description: 商品合约单位
  7230. type: number
  7231. begindate:
  7232. description: 开始交易日
  7233. type: string
  7234. buyorsell:
  7235. description: 持仓方向
  7236. type: integer
  7237. charge:
  7238. description: 手续费
  7239. type: number
  7240. closeavgprice:
  7241. description: 平仓均价
  7242. type: number
  7243. closepl:
  7244. description: 平仓损益
  7245. type: number
  7246. currencyid:
  7247. description: 结算币种ID
  7248. type: integer
  7249. currencyname:
  7250. description: 币种名称
  7251. type: string
  7252. cycletime:
  7253. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7254. type: string
  7255. cycletype:
  7256. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7257. type: integer
  7258. enddate:
  7259. description: 结束交易日
  7260. type: string
  7261. enumdicname:
  7262. description: 单位名称
  7263. type: string
  7264. floatpl:
  7265. description: 浮动损益
  7266. type: number
  7267. goodscode:
  7268. description: 交易合约代码
  7269. type: string
  7270. goodsgroupid:
  7271. description: 交易品种
  7272. type: integer
  7273. goodsgroupname:
  7274. description: 交易品种名称
  7275. type: string
  7276. goodsgroupspotqty:
  7277. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7278. type: number
  7279. goodsid:
  7280. description: 交易合约
  7281. type: integer
  7282. goodsname:
  7283. description: 交易合约名称
  7284. type: string
  7285. goodunitid:
  7286. description: 交易合约单位id
  7287. type: integer
  7288. holdamount:
  7289. description: 期末持仓额
  7290. type: number
  7291. holdqty:
  7292. description: 期末持仓量
  7293. type: number
  7294. lastholdamount:
  7295. description: 当前持仓额
  7296. type: number
  7297. lastprice:
  7298. description: 最新价
  7299. type: number
  7300. middlegoodsid:
  7301. description: 套保品种id
  7302. type: integer
  7303. middlegoodsname:
  7304. description: 套保商品名称
  7305. type: string
  7306. middlegoodsqty:
  7307. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7308. type: number
  7309. middlgoodscode:
  7310. description: 套保商品代码
  7311. type: string
  7312. openamount:
  7313. description: 期末开仓额
  7314. type: number
  7315. openavgprice:
  7316. description: 开仓均价
  7317. type: number
  7318. oriholdamount:
  7319. description: 期初持仓额
  7320. type: number
  7321. oriholdqty:
  7322. description: 期初持仓量
  7323. type: number
  7324. oriopenamount:
  7325. description: 期初开仓额
  7326. type: number
  7327. outergroupcode:
  7328. description: 交易品种代码
  7329. type: string
  7330. qtydecimalplace:
  7331. description: 成交量小数位
  7332. type: integer
  7333. reckondate:
  7334. description: 日照时期(yyyyMMdd)
  7335. type: string
  7336. reckonholdamount:
  7337. description: 结算持仓额
  7338. type: number
  7339. reckonpl:
  7340. description: 结算损益
  7341. type: number
  7342. reckonpl2:
  7343. description: 结算逐笔盈亏
  7344. type: number
  7345. reckonprice:
  7346. description: 结算价
  7347. type: number
  7348. relateduserid:
  7349. description: 账户关联用户ID
  7350. type: integer
  7351. todaycloseamount:
  7352. description: 今平仓额
  7353. type: number
  7354. todaycloseqty:
  7355. description: 今平仓量
  7356. type: number
  7357. todaygoodsgroupspotqty:
  7358. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7359. type: number
  7360. todaymiddlegoodsqty:
  7361. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7362. type: number
  7363. todayopenamount:
  7364. description: 今开仓额
  7365. type: number
  7366. todayopenqty:
  7367. description: 今开仓量
  7368. type: number
  7369. userid:
  7370. description: 账户所属用户ID
  7371. type: integer
  7372. type: object
  7373. models.Ermcp3TradeLinkDetail:
  7374. properties:
  7375. accountid:
  7376. description: 资金账号
  7377. type: integer
  7378. agreeunit:
  7379. description: 合约乘数
  7380. type: number
  7381. areauserid:
  7382. description: 所属机构
  7383. type: string
  7384. bizsubjectid:
  7385. description: 归属业务部门ID - SubjectID
  7386. type: string
  7387. buyorsell:
  7388. description: 方向 - 0:买 1:卖
  7389. type: integer
  7390. channelbuildtype:
  7391. description: 委托单据类型 0:无 1:建仓 2:平仓
  7392. type: integer
  7393. contractno:
  7394. description: 现货编号 (合同编号)
  7395. type: string
  7396. convertratio:
  7397. description: 折算系数
  7398. type: number
  7399. createtime:
  7400. description: 关联时间 | 创建时间
  7401. type: string
  7402. creatorid:
  7403. description: 创建人ID
  7404. type: string
  7405. creatorsrc:
  7406. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7407. type: integer
  7408. enumdicname:
  7409. description: 单位名称
  7410. type: string
  7411. goodscode:
  7412. description: 合约代码
  7413. type: string
  7414. goodsgroupid:
  7415. description: 对冲品种ID[期货合约商品组ID]
  7416. type: integer
  7417. goodsid:
  7418. description: 商品ID
  7419. type: integer
  7420. goodsname:
  7421. description: 合约名称
  7422. type: string
  7423. hedgeflag:
  7424. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7425. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7426. type: integer
  7427. linkdetailid:
  7428. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7429. type: string
  7430. linkstatus:
  7431. description: 关联状态 - 1:成功 2:失败 3:解绑
  7432. type: integer
  7433. middlegoodscode:
  7434. description: 套保品种代码
  7435. type: string
  7436. middlegoodsid:
  7437. description: 套保品种ID
  7438. type: integer
  7439. middlegoodsname:
  7440. description: 套保品种名称
  7441. type: string
  7442. relatedlot:
  7443. description: 关联手数
  7444. type: number
  7445. relatedmode:
  7446. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7447. type: integer
  7448. relatedqty:
  7449. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7450. type: number
  7451. retcode:
  7452. description: 返回码
  7453. type: integer
  7454. saleuserid:
  7455. description: 业务员ID
  7456. type: string
  7457. spotcontractid:
  7458. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7459. type: string
  7460. taname:
  7461. description: 期货账户
  7462. type: string
  7463. tradedate:
  7464. description: 关联交易日(yyyyMMdd)
  7465. type: string
  7466. tradeid:
  7467. description: 期货订单号 | 内部成交单ID
  7468. type: string
  7469. tradelot:
  7470. description: 成交数量 | 成交手数
  7471. type: integer
  7472. tradeprice:
  7473. description: 成交价格
  7474. type: number
  7475. tradetime:
  7476. description: 期货成交时间
  7477. type: string
  7478. tradetradedate:
  7479. description: 成交交易日(yyyyMMdd)
  7480. type: string
  7481. username:
  7482. description: 用户名称
  7483. type: string
  7484. type: object
  7485. models.Ermcp3Wrstandard:
  7486. properties:
  7487. areauserid:
  7488. description: 所属机构
  7489. type: integer
  7490. cantrade:
  7491. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7492. type: integer
  7493. convertfactor:
  7494. description: 标仓系数
  7495. type: number
  7496. createtime:
  7497. description: 创建时间
  7498. type: string
  7499. creatorid:
  7500. description: 创建人
  7501. type: integer
  7502. deliverygoodsid:
  7503. description: 现货品种ID
  7504. type: integer
  7505. enumdicname:
  7506. description: 品类单位名称
  7507. type: string
  7508. isvalid:
  7509. description: 是否有效 0-无效(停用) 1-有效(正常)
  7510. type: integer
  7511. minivalue:
  7512. description: 最小变动值
  7513. type: integer
  7514. minivaluedp:
  7515. description: 最小变动值小数位
  7516. type: integer
  7517. realminivalue:
  7518. description: 实际最小变动值
  7519. type: integer
  7520. realminivaluedp:
  7521. description: 实际最小变动值小数位
  7522. type: integer
  7523. remark:
  7524. description: 备注
  7525. type: string
  7526. unitid:
  7527. description: 品类单位ID
  7528. type: integer
  7529. updatetime:
  7530. description: 更新时间
  7531. type: string
  7532. wrstandardcode:
  7533. description: 品类代码
  7534. type: string
  7535. wrstandardid:
  7536. description: 品类ID(SEQ_WRSTANDARD)
  7537. type: integer
  7538. wrstandardname:
  7539. description: 品类名称
  7540. type: string
  7541. type: object
  7542. models.Ermcp8EnableHedgeditem:
  7543. properties:
  7544. accountname:
  7545. description: 套期主体
  7546. type: string
  7547. hedgeditemid:
  7548. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7549. type: integer
  7550. hedgeditemname:
  7551. description: 项目名称
  7552. type: string
  7553. hedgeditemnum:
  7554. description: 项目编号
  7555. type: string
  7556. hedgedtype:
  7557. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7558. type: integer
  7559. planenddate:
  7560. description: 计划结束日期
  7561. type: string
  7562. planstartdate:
  7563. description: 计划开始日期
  7564. type: string
  7565. type: object
  7566. models.Ermcp8HedgeditemReport:
  7567. properties:
  7568. accountname:
  7569. description: 套期主体
  7570. type: string
  7571. areauserid:
  7572. description: 企业ID
  7573. type: integer
  7574. curprice:
  7575. description: '[当日现货市场价]当前市场价'
  7576. type: number
  7577. enumdicname:
  7578. description: 单位
  7579. type: string
  7580. exeamount:
  7581. description: '[执行现货金额]执行市价总额'
  7582. type: number
  7583. exeavgprice:
  7584. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7585. type: number
  7586. exeqty:
  7587. description: '[执行数量]执行现货量'
  7588. type: number
  7589. futurehedgepl:
  7590. description: 期货实际损益
  7591. type: number
  7592. futurehedgeplchange:
  7593. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7594. type: number
  7595. futurepl:
  7596. description: 期货套期损益
  7597. type: number
  7598. futureplchange:
  7599. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7600. type: number
  7601. hedgeamount:
  7602. description: '[套期现货金额]套期市价总额'
  7603. type: number
  7604. hedgeditemnum:
  7605. description: 项目编号,模糊查询
  7606. type: string
  7607. hedgeditemstatus:
  7608. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7609. type: integer
  7610. hedgedtype:
  7611. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7612. type: integer
  7613. hedgeqty:
  7614. description: '[套期数量]套期现货量'
  7615. type: number
  7616. oriavgprice:
  7617. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7618. type: number
  7619. orifuturehedgepl:
  7620. description: 期初期货实际损益
  7621. type: number
  7622. orifuturepl:
  7623. description: 期初期货套期损益
  7624. type: number
  7625. orispothedgepl:
  7626. description: 期初现货实际损益
  7627. type: number
  7628. orispotpl:
  7629. description: 期初现货套期损益
  7630. type: number
  7631. planenddate:
  7632. description: 计划结束日期
  7633. type: string
  7634. planstartdate:
  7635. description: 计划开始日期
  7636. type: string
  7637. spothedgepl:
  7638. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7639. type: number
  7640. spothedgeplchange:
  7641. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7642. type: number
  7643. spotpl:
  7644. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7645. type: number
  7646. spotplchange:
  7647. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7648. type: number
  7649. tradeuserid:
  7650. description: 交易用户ID
  7651. type: integer
  7652. unexeqty:
  7653. description: 未执行现货量 = 套期现货量 - 执行现货量
  7654. type: number
  7655. wrstandardcode:
  7656. description: 现货品类代码
  7657. type: string
  7658. wrstandardid:
  7659. description: 现货商品ID
  7660. type: integer
  7661. wrstandardname:
  7662. description: '[现货商品]现货品类名称'
  7663. type: string
  7664. type: object
  7665. models.Ermcp8RunningHedgeditem:
  7666. properties:
  7667. accountname:
  7668. description: 套期主体
  7669. type: string
  7670. applyid:
  7671. description: 申请人
  7672. type: integer
  7673. applysrc:
  7674. description: 申请来源 - 1:管理端 2:终端
  7675. type: integer
  7676. areauserid:
  7677. description: 企业ID
  7678. type: integer
  7679. auditid:
  7680. description: 审核人
  7681. type: integer
  7682. auditremark:
  7683. description: 审核备注
  7684. type: string
  7685. auditsrc:
  7686. description: 审核来源 - 1:管理端 2:终端
  7687. type: integer
  7688. audittime:
  7689. description: 审核时间
  7690. type: string
  7691. audittradedate:
  7692. description: 审核交易日(yyyyMMdd)
  7693. type: string
  7694. createtime:
  7695. description: 申请时间
  7696. type: string
  7697. curprice:
  7698. description: 当前市场价
  7699. type: number
  7700. curstock:
  7701. description: 期末库存量 = 采购总量 - 销售总量
  7702. type: number
  7703. deliverygoodsid:
  7704. description: 现货品种ID
  7705. type: integer
  7706. enddate:
  7707. description: 完成日期
  7708. type: string
  7709. endtradedate:
  7710. description: 完成交易日
  7711. type: string
  7712. enumdicname:
  7713. description: 单位
  7714. type: string
  7715. exeamount:
  7716. description: 执行市价总额
  7717. type: number
  7718. exeavgprice:
  7719. description: 执行市场均价= 执行市价总额 / 执行现货量
  7720. type: number
  7721. execontractamount:
  7722. description: 执行定价总额
  7723. type: number
  7724. exeqty:
  7725. description: 执行现货量
  7726. type: number
  7727. exerestamount:
  7728. description: 执行剩余市价总额【现货贸易】
  7729. type: number
  7730. futurefloatpl:
  7731. description: 期货浮动损益
  7732. type: number
  7733. futurehedgepl:
  7734. description: 期货实际损益
  7735. type: number
  7736. futurehedgeplchange:
  7737. description: 期货实际损益变动
  7738. type: number
  7739. futurepl:
  7740. description: 期货套期损益
  7741. type: number
  7742. futureplchange:
  7743. description: 期货套期损益变动
  7744. type: number
  7745. hedgeamount:
  7746. description: 套期市价总额
  7747. type: number
  7748. hedgecontractamount:
  7749. description: 套期定价总额 【定价采购合同】【现货贸易】
  7750. type: number
  7751. hedgeditemid:
  7752. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7753. type: string
  7754. hedgeditemname:
  7755. description: 项目名称
  7756. type: string
  7757. hedgeditemnum:
  7758. description: 项目编号
  7759. type: string
  7760. hedgeditemstatus:
  7761. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7762. type: integer
  7763. hedgedtype:
  7764. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7765. type: integer
  7766. hedgeqty:
  7767. description: 套期现货量
  7768. type: number
  7769. hedgerate:
  7770. description: 套保比率
  7771. type: number
  7772. hedgerestamount:
  7773. description: 套期剩余市价总额【现货贸易】
  7774. type: number
  7775. hedgesumpl:
  7776. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  7777. type: number
  7778. middlegoodslist:
  7779. description: 套期商品列表
  7780. items:
  7781. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  7782. type: array
  7783. oriavgprice:
  7784. description: 期初市场均价 = 套期市价总额 / 套期现货量
  7785. type: number
  7786. orifuturehedgepl:
  7787. description: 期初期货实际损益
  7788. type: number
  7789. orifuturepl:
  7790. description: 期初期货套期损益
  7791. type: number
  7792. orispothedgepl:
  7793. description: 期初现货实际损益
  7794. type: number
  7795. orispotpl:
  7796. description: 期初现货套期损益
  7797. type: number
  7798. planenddate:
  7799. description: 计划结束日期
  7800. type: string
  7801. planstartdate:
  7802. description: 计划开始日期
  7803. type: string
  7804. remark:
  7805. description: 备注
  7806. type: string
  7807. spotbookamount:
  7808. description: 现货账面总额
  7809. type: number
  7810. spotfloatpl:
  7811. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7812. type: number
  7813. spothedgepl:
  7814. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7815. type: number
  7816. spothedgeplchange:
  7817. description: 现货实际损益变动
  7818. type: number
  7819. spotpl:
  7820. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7821. type: number
  7822. spotplchange:
  7823. description: 现货套期损益变动
  7824. type: number
  7825. spottradepl:
  7826. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  7827. type: number
  7828. sumobspl:
  7829. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  7830. type: number
  7831. tradeuserid:
  7832. description: 交易用户ID
  7833. type: integer
  7834. unexeqty:
  7835. description: 未执行现货量 = 套期现货量 - 执行现货量
  7836. type: number
  7837. updatetime:
  7838. description: 更新时间
  7839. type: string
  7840. vatpl:
  7841. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  7842. type: number
  7843. vatrate:
  7844. description: 增值税
  7845. type: number
  7846. wrstandardid:
  7847. description: 现货商品ID
  7848. type: integer
  7849. wrstandardname:
  7850. description: 商品名称
  7851. type: string
  7852. type: object
  7853. models.ErmcpBizGroupEx:
  7854. properties:
  7855. acclist:
  7856. description: 账号列表
  7857. items:
  7858. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7859. type: array
  7860. bizgroupid:
  7861. description: 业务分组id
  7862. type: integer
  7863. biztype:
  7864. description: 业务类型 1-套保 2-套利
  7865. type: integer
  7866. wrlist:
  7867. description: 现货商品表
  7868. items:
  7869. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7870. type: array
  7871. type: object
  7872. models.ErmcpBizGroupSpotGoods:
  7873. properties:
  7874. areauserid:
  7875. description: 所属机构id
  7876. type: integer
  7877. bizgroupid:
  7878. description: 分组id
  7879. type: integer
  7880. biztype:
  7881. description: 业务类型 1-套保 2-套利
  7882. type: integer
  7883. deliverygoodscode:
  7884. description: 现货商品代码
  7885. type: string
  7886. deliverygoodsid:
  7887. description: 现货商品id
  7888. type: integer
  7889. deliverygoodsname:
  7890. description: 现货商品名称
  7891. type: string
  7892. unitid:
  7893. description: 现货商品单位id
  7894. type: integer
  7895. type: object
  7896. models.ErmcpBizGroupTaAccount:
  7897. properties:
  7898. accountid:
  7899. description: 账号id
  7900. type: integer
  7901. accountname:
  7902. description: 账号名称
  7903. type: string
  7904. areauserid:
  7905. description: 所属机构id
  7906. type: integer
  7907. bizgroupid:
  7908. description: 业务分组id
  7909. type: integer
  7910. ismain:
  7911. description: 是否主账号 1-是 0-否
  7912. type: integer
  7913. type: object
  7914. models.ErmcpDGFactoryItem:
  7915. properties:
  7916. areauserid:
  7917. description: 用户id
  7918. type: integer
  7919. deliverygoodsid:
  7920. description: 现货品种ID
  7921. type: integer
  7922. dgfactoryitemid:
  7923. description: 选择项ID(SEQ_DGFACTORYITEM)
  7924. type: integer
  7925. dgfactoryitemtypeid:
  7926. description: 要素项类型
  7927. type: integer
  7928. dgfactoryitemvalue:
  7929. description: 要素项值(类型为仓库时填写仓库名称)
  7930. type: string
  7931. isvalid:
  7932. description: 是否有效 - 0:无效 1:有效
  7933. type: integer
  7934. orderindex:
  7935. description: 顺序
  7936. type: integer
  7937. warehouseid:
  7938. description: 仓库ID(类型为仓库时填写)
  7939. type: integer
  7940. type: object
  7941. models.ErmcpDeliveryGoods:
  7942. properties:
  7943. agreeunit:
  7944. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7945. type: integer
  7946. areauserid:
  7947. description: 所属机构
  7948. type: integer
  7949. auditflag:
  7950. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7951. type: integer
  7952. categoryid:
  7953. description: 类别ID(SEQ_WRCATEGORY)
  7954. type: integer
  7955. deliverygoodscode:
  7956. description: 现货品种代码
  7957. type: string
  7958. deliverygoodsid:
  7959. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7960. type: integer
  7961. deliverygoodsname:
  7962. description: 现货品种名称
  7963. type: string
  7964. deliverygoodstype:
  7965. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7966. type: integer
  7967. dgstatus:
  7968. description: 品种状态 - 作废 - 0:未激活 1:正常
  7969. type: integer
  7970. enumdicname:
  7971. description: 现货品种单位名称
  7972. type: string
  7973. goodsunitid:
  7974. description: 现货品种单位ID
  7975. type: integer
  7976. isvalid:
  7977. description: 是否有效 - 0:无效 1:有效
  7978. type: integer
  7979. qtydecimalplace:
  7980. description: 成交量小数位
  7981. type: integer
  7982. remark:
  7983. description: 备注
  7984. type: string
  7985. standardqty:
  7986. description: 标准数量(库位数量) [标准品特有]
  7987. type: integer
  7988. standardqtyrange:
  7989. description: 标准数量偏差范围 [标准品特有]
  7990. type: integer
  7991. type: object
  7992. models.ErmcpFuturesCompany:
  7993. properties:
  7994. brokerid:
  7995. description: 经纪公司代码
  7996. type: string
  7997. channeladdress:
  7998. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7999. type: string
  8000. channelid:
  8001. description: 对冲渠道ID
  8002. type: string
  8003. createtime:
  8004. description: 创建时间
  8005. type: string
  8006. creatorid:
  8007. description: 创建人
  8008. type: string
  8009. fcid:
  8010. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8011. type: integer
  8012. fcname:
  8013. description: 期货公司名称
  8014. type: string
  8015. isvalid:
  8016. description: 是否有效 - 0:无效 1:有效
  8017. type: integer
  8018. mhpaddress:
  8019. description: MHP服务地址(IP:Port)
  8020. type: string
  8021. riskrulegroupid:
  8022. description: 风控规则组ID
  8023. type: string
  8024. tradefeetmpid:
  8025. description: 手续费模板ID[TradeConfigTmpType为2]
  8026. type: string
  8027. trademargintmpid:
  8028. description: 保证金模板ID [TradeConfigTmpType为1]
  8029. type: string
  8030. traderatetmpid:
  8031. description: 汇率模板ID[TradeConfigTmpType为3]
  8032. type: string
  8033. updatetime:
  8034. description: 更新时间
  8035. type: string
  8036. updatorid:
  8037. description: 更新人
  8038. type: string
  8039. type: object
  8040. models.ErmcpGGConvertCfg:
  8041. properties:
  8042. convertratio:
  8043. description: 折算系数
  8044. type: number
  8045. destgoodsgroupid:
  8046. description: 目标品种ID
  8047. type: integer
  8048. dstcode:
  8049. description: 目录品种代码
  8050. type: string
  8051. dstexchangecode:
  8052. description: 目标期货交易所
  8053. type: string
  8054. dstname:
  8055. description: 目标品种名称
  8056. type: string
  8057. dstunitid:
  8058. description: 目标品种单位ID
  8059. type: integer
  8060. dstunitidname:
  8061. description: 目标品种单位名称
  8062. type: string
  8063. modifytime:
  8064. description: 修改时间
  8065. type: string
  8066. srccode:
  8067. description: 源品种代码
  8068. type: string
  8069. srcexchangecode:
  8070. description: 源期货交易所
  8071. type: string
  8072. srcgoodsgroupid:
  8073. description: 源品种ID
  8074. type: integer
  8075. srcname:
  8076. description: 源品种名称
  8077. type: string
  8078. srcunitid:
  8079. description: 源品种单位ID
  8080. type: integer
  8081. srcunitidname:
  8082. description: 源品种单位名称
  8083. type: string
  8084. type: object
  8085. models.ErmcpGoods:
  8086. properties:
  8087. agreeunit:
  8088. description: 合约单位
  8089. type: number
  8090. areauserid:
  8091. description: 所属机构
  8092. type: integer
  8093. auditaccountid:
  8094. description: 审核操作员账号
  8095. type: integer
  8096. audittime:
  8097. description: 审核时间
  8098. type: string
  8099. cancelaccountid:
  8100. description: 注销操作员账号
  8101. type: integer
  8102. canceltime:
  8103. description: 注销时间
  8104. type: string
  8105. closepricemode:
  8106. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8107. type: integer
  8108. closepriceparam:
  8109. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8110. type: number
  8111. createtime:
  8112. description: 创建时间
  8113. type: string
  8114. creatorid:
  8115. description: 创建人
  8116. type: integer
  8117. currencyid:
  8118. description: 报价货币ID
  8119. type: integer
  8120. cutmode:
  8121. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8122. type: integer
  8123. decimalplace:
  8124. description: 报价小数位
  8125. type: integer
  8126. delistingdate:
  8127. description: 商品退市时间(状态:退市) -- 已作废
  8128. type: string
  8129. delistingmode:
  8130. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8131. type: integer
  8132. deliveryflag:
  8133. description: 交割标志 - 0:不可交割 1:可交割
  8134. type: integer
  8135. enumdicname:
  8136. description: 单位名称
  8137. type: string
  8138. forceclosemode:
  8139. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8140. type: integer
  8141. forceclosevalue:
  8142. description: 定期强平参数 [收益权]
  8143. type: integer
  8144. goodscode:
  8145. description: 商品代码(内部)
  8146. type: string
  8147. goodscurrencyid:
  8148. description: 合约货币ID
  8149. type: integer
  8150. goodsgroupid:
  8151. description: 所属商品组ID
  8152. type: integer
  8153. goodsid:
  8154. description: 商品ID(自增ID SEQ_GOODS)
  8155. type: integer
  8156. goodsname:
  8157. description: 商品名称
  8158. type: string
  8159. goodsquotetype:
  8160. description: '合约报价类型: 1-直接报价 2-间接报价'
  8161. type: integer
  8162. goodsstatus:
  8163. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8164. type: integer
  8165. goodstradetype:
  8166. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8167. type: integer
  8168. goodunitid:
  8169. description: 报价单位ID
  8170. type: integer
  8171. hasquoter:
  8172. description: 是否有报价商 - 0:无报价商 1:有报价商
  8173. type: integer
  8174. hqprotecttime:
  8175. description: 行情保护时间(秒)
  8176. type: integer
  8177. innerdealmode:
  8178. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8179. type: integer
  8180. isbuylimited:
  8181. description: 是否限制建仓量 - 0:不限制 1:限制
  8182. type: integer
  8183. isvisible:
  8184. description: 游客是否可见 - 0:不可见 1:可见
  8185. type: integer
  8186. lasttradedate:
  8187. description: 最后交易日期(状态:待退市)
  8188. type: string
  8189. listingdate:
  8190. description: 交易开始日期
  8191. type: string
  8192. marketid:
  8193. description: 所属市场ID
  8194. type: integer
  8195. modifierid:
  8196. description: 修改人
  8197. type: integer
  8198. modifystatus:
  8199. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8200. type: integer
  8201. modifytime:
  8202. description: 修改时间
  8203. type: string
  8204. outerdealmode:
  8205. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8206. type: integer
  8207. outgoodscode:
  8208. description: 商品代码(外部)
  8209. type: string
  8210. pictureurl:
  8211. description: 商品图片
  8212. type: string
  8213. qtydecimalplace:
  8214. description: 成交量小数位
  8215. type: integer
  8216. quotegear:
  8217. description: 行情档位(1-10)
  8218. type: integer
  8219. quoteminunit:
  8220. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8221. type: integer
  8222. quoteshowtype:
  8223. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8224. type: integer
  8225. quoteshowtypeinterval:
  8226. description: 行情报价间隔时间(秒)(成交价时为0)
  8227. type: integer
  8228. relatedgoodsid:
  8229. description: 关联参考商品ID
  8230. type: integer
  8231. remark:
  8232. description: 备注
  8233. type: string
  8234. trademode:
  8235. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8236. 21:竞拍-大宗式 22:受托竞价
  8237. type: integer
  8238. required:
  8239. - goodscode
  8240. - goodsid
  8241. - goodsname
  8242. - marketid
  8243. type: object
  8244. models.ErmcpGoodsBrand:
  8245. properties:
  8246. areauserid:
  8247. description: 所属机构
  8248. type: integer
  8249. brandid:
  8250. description: BrandID(SEQ_SPOTGOODSBRAND)
  8251. type: integer
  8252. brandname:
  8253. description: 品牌名称
  8254. type: string
  8255. createtime:
  8256. description: 创建时间
  8257. type: string
  8258. creatorid:
  8259. description: 创建人
  8260. type: integer
  8261. creatorsrc:
  8262. description: 创建人来源 - 1:管理端 2:终端
  8263. type: integer
  8264. deliverygoodsid:
  8265. description: 现货品种ID
  8266. type: integer
  8267. isvalid:
  8268. description: 是否有效 - 0:无效 1:有效
  8269. type: integer
  8270. updatetime:
  8271. description: 更新时间
  8272. type: string
  8273. updatorid:
  8274. description: 更新人
  8275. type: integer
  8276. updatorsrc:
  8277. description: 更新人来源 - 1:管理端 2:终端
  8278. type: integer
  8279. wrstandardid:
  8280. description: 现货商品ID
  8281. type: integer
  8282. type: object
  8283. models.ErmcpGoodsModel:
  8284. properties:
  8285. areauserid:
  8286. description: 所属机构
  8287. type: integer
  8288. convertfactor:
  8289. description: 标仓系数
  8290. type: number
  8291. createtime:
  8292. description: 创建时间
  8293. type: string
  8294. creatorid:
  8295. description: 创建人
  8296. type: integer
  8297. creatorsrc:
  8298. description: 创建人来源 - 1:管理端 2:终端
  8299. type: integer
  8300. deliverygoodsid:
  8301. description: 现货品种ID
  8302. type: integer
  8303. isvalid:
  8304. description: 是否有效 - 0:无效 1:有效
  8305. type: integer
  8306. modelid:
  8307. description: ModelID(SEQ_SPOTGOODSMODEL)
  8308. type: integer
  8309. modelname:
  8310. description: 型号名称
  8311. type: string
  8312. updatetime:
  8313. description: 更新时间
  8314. type: string
  8315. updatorid:
  8316. description: 更新人
  8317. type: integer
  8318. updatorsrc:
  8319. description: 更新人来源 - 1:管理端 2:终端
  8320. type: integer
  8321. wrstandardid:
  8322. description: 现货商品ID
  8323. type: integer
  8324. type: object
  8325. models.ErmcpHisExposure:
  8326. properties:
  8327. needhedgeexposoure:
  8328. description: 应套保敞口
  8329. type: number
  8330. reckondate:
  8331. description: 日照时期(yyyyMMdd)
  8332. type: string
  8333. totalexposure:
  8334. description: 总敞口
  8335. type: number
  8336. type: object
  8337. models.ErmcpLoginTaAccount:
  8338. properties:
  8339. accountid:
  8340. description: 账号id
  8341. type: integer
  8342. accountname:
  8343. description: 账号名称
  8344. type: string
  8345. type: object
  8346. models.ErmcpLoginUser:
  8347. properties:
  8348. acclist:
  8349. description: 关联资金账号
  8350. items:
  8351. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8352. type: array
  8353. accountname:
  8354. description: 用户名称
  8355. type: string
  8356. clientroleid:
  8357. description: 角色id(usertype=2)
  8358. type: integer
  8359. createtime:
  8360. description: 创建时间
  8361. type: string
  8362. logincode:
  8363. description: 登录代码
  8364. type: string
  8365. loginid:
  8366. description: 登录id(LOGINID)
  8367. type: integer
  8368. loginname:
  8369. description: 登录名称(loginaccount表中的accountname字段)
  8370. type: string
  8371. loginstatus:
  8372. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8373. type: integer
  8374. memberuserid:
  8375. description: 所属会员id
  8376. type: integer
  8377. mobile:
  8378. description: 手机号
  8379. type: string
  8380. modifytime:
  8381. description: 修改时间
  8382. type: string
  8383. password:
  8384. description: 密码(不可解密)
  8385. type: string
  8386. rolename:
  8387. description: 角色名称
  8388. type: string
  8389. rolestatus:
  8390. description: 角色状态 1-启用 2-停用
  8391. type: integer
  8392. roletype:
  8393. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8394. type: string
  8395. userid:
  8396. description: 用户id
  8397. type: integer
  8398. usertype:
  8399. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8400. type: integer
  8401. type: object
  8402. models.ErmcpLoginUserEx:
  8403. properties:
  8404. accountstatus:
  8405. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8406. type: integer
  8407. mobile:
  8408. description: 手机号
  8409. type: string
  8410. querytype:
  8411. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8412. type: integer
  8413. roleid:
  8414. description: 角色id(交易账户->用户id)
  8415. type: integer
  8416. rolename:
  8417. description: 角色名称(交易账户->用户名称)
  8418. type: string
  8419. userlist:
  8420. description: 用户列表
  8421. items:
  8422. $ref: '#/definitions/models.ErmcpLoginUser'
  8423. type: array
  8424. usertype:
  8425. description: 用户类型 2-机构 7-企业成员(云平台)
  8426. type: integer
  8427. type: object
  8428. models.ErmcpMiddleGoodsModel:
  8429. properties:
  8430. areauserid:
  8431. description: 机构用户ID
  8432. type: integer
  8433. createtime:
  8434. description: 修改时间
  8435. type: string
  8436. enumdicname:
  8437. description: 单位名称
  8438. type: string
  8439. evaluateratio:
  8440. description: 估价系数
  8441. type: number
  8442. goodsgroupid:
  8443. description: 关联期货品种ID
  8444. type: integer
  8445. goodsunitid:
  8446. description: 单位ID
  8447. type: integer
  8448. isvalid:
  8449. description: 状态 0-无效(停用) 1-有效(正常)
  8450. type: integer
  8451. middlegoodscode:
  8452. description: 套保品种代码
  8453. type: string
  8454. middlegoodsid:
  8455. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8456. type: integer
  8457. middlegoodsname:
  8458. description: 套保品种名称
  8459. type: string
  8460. modifytime:
  8461. description: 修改时间
  8462. type: string
  8463. needarbitrageratio:
  8464. description: 套利比例
  8465. type: number
  8466. needhedgeratio:
  8467. description: 套保比率
  8468. type: number
  8469. qtydecimalplace:
  8470. description: 数量小数位
  8471. type: integer
  8472. relatedgoodsid:
  8473. description: 关联交易商品ID
  8474. type: integer
  8475. relatedgoodstype:
  8476. description: 关联商品类型 - 1:期货合约 2:现货品种
  8477. type: integer
  8478. remark:
  8479. description: 备注
  8480. type: string
  8481. type: object
  8482. models.ErmcpMiddlegoodsRelateGoods:
  8483. properties:
  8484. agreeunit:
  8485. description: 合约乘数
  8486. type: number
  8487. convertratio:
  8488. description: 折算系数
  8489. type: number
  8490. enumdicname:
  8491. description: 单位名称(交易商品)
  8492. type: string
  8493. goodscode:
  8494. description: 交易商品代码
  8495. type: string
  8496. goodsgroupid:
  8497. description: 交易品种id
  8498. type: integer
  8499. goodsid:
  8500. description: 商品Id
  8501. type: integer
  8502. goodsname:
  8503. description: 交易商品名称
  8504. type: string
  8505. goodunitid:
  8506. description: 交易商品单位id
  8507. type: integer
  8508. middlegoodsid:
  8509. description: 套保商品id
  8510. type: integer
  8511. middlegoodsname:
  8512. description: 套保商品名称
  8513. type: string
  8514. middlegoodsswcode:
  8515. description: 套保商品代码
  8516. type: string
  8517. needarbitrageratio:
  8518. description: 应套利比例
  8519. type: number
  8520. needhedgeratio:
  8521. description: 应套保比例
  8522. type: number
  8523. type: object
  8524. models.ErmcpRole:
  8525. properties:
  8526. areauserid:
  8527. description: 所属机构
  8528. type: integer
  8529. autoid:
  8530. description: 角色ID(自增ID)
  8531. type: integer
  8532. modifierid:
  8533. description: 修改人(创建人)
  8534. type: integer
  8535. modifiername:
  8536. description: 修改人名称
  8537. type: string
  8538. modifytime:
  8539. description: 修改时间(创建时间)
  8540. type: string
  8541. rolename:
  8542. description: 角色名称
  8543. type: string
  8544. rolestatus:
  8545. description: 角色状态 - 1:启用 2:停用
  8546. type: integer
  8547. roletype:
  8548. description: 角色类型 - 1- 管理端 2- 交易端
  8549. type: integer
  8550. type: object
  8551. models.ErmcpRoleMenu:
  8552. properties:
  8553. iconame:
  8554. description: 菜单图标
  8555. type: string
  8556. ishadrole:
  8557. description: 是否有权限
  8558. type: boolean
  8559. menutype:
  8560. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8561. type: integer
  8562. parentcode:
  8563. description: 上级资源代码
  8564. type: string
  8565. remark:
  8566. description: 菜单备注
  8567. type: string
  8568. resourcecode:
  8569. description: 菜单代码
  8570. type: string
  8571. resourcelevel:
  8572. description: 级别
  8573. type: integer
  8574. resourcename:
  8575. description: 菜单名称
  8576. type: string
  8577. roleid:
  8578. description: 角色id
  8579. type: integer
  8580. sort:
  8581. description: 排序
  8582. type: integer
  8583. url:
  8584. description: URL
  8585. type: string
  8586. userid:
  8587. description: 用户id
  8588. type: integer
  8589. type: object
  8590. models.ErmcpRoleMenuEx:
  8591. properties:
  8592. menu:
  8593. $ref: '#/definitions/models.ErmcpRoleMenu'
  8594. description: 父级菜单
  8595. subMenu:
  8596. description: 子级菜单
  8597. items:
  8598. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8599. type: array
  8600. type: object
  8601. models.ErmcpSpotContractModelEx:
  8602. properties:
  8603. accountname:
  8604. description: 套期主体
  8605. type: string
  8606. amount:
  8607. description: 金额 [1:一口价、3:暂定价]
  8608. type: number
  8609. attachment:
  8610. description: 附件
  8611. type: string
  8612. auditremark:
  8613. description: 审核意见
  8614. type: string
  8615. audittime:
  8616. description: 审核时间
  8617. type: string
  8618. avgprice:
  8619. description: 定价均价 = 已定价金额 / 已定价量
  8620. type: number
  8621. brandname:
  8622. description: 品牌名称
  8623. type: string
  8624. buyuserid:
  8625. description: 采购方ID
  8626. type: integer
  8627. buyusername:
  8628. description: 采购方名称
  8629. type: string
  8630. contracctstatus:
  8631. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8632. type: integer
  8633. contractmargin:
  8634. description: 合同保证金
  8635. type: number
  8636. contractno:
  8637. description: '[合同编号]现货合同编号'
  8638. type: string
  8639. contracttype:
  8640. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8641. type: integer
  8642. convertfactor:
  8643. description: 标仓系数
  8644. type: number
  8645. createtime:
  8646. description: 创建时间
  8647. type: string
  8648. customername:
  8649. description: 对手方
  8650. type: string
  8651. customeruserid:
  8652. description: 客户ID
  8653. type: integer
  8654. deliveryenddate:
  8655. description: 交收期(结束)
  8656. type: string
  8657. deliverygoodscode:
  8658. description: 现货品种代码
  8659. type: string
  8660. deliverygoodsid:
  8661. description: 现货品种ID
  8662. type: integer
  8663. deliverygoodsname:
  8664. description: 现货品种名称
  8665. type: string
  8666. deliverystartdate:
  8667. description: 交收期(开始)
  8668. type: string
  8669. enddate:
  8670. description: 点价结束日期 [2:点价 3:暂定价]
  8671. type: string
  8672. enumdicname:
  8673. description: 单位名称
  8674. type: string
  8675. goodscode:
  8676. description: 点价合约代码
  8677. type: string
  8678. goodsid:
  8679. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  8680. type: integer
  8681. goodsname:
  8682. description: 点价商品名称
  8683. type: string
  8684. isrelated:
  8685. description: 是否已关联计划项目 - 0:否 1:是
  8686. type: integer
  8687. isrelated2:
  8688. description: 是否已关联现货项目 - 0:否 1:是
  8689. type: integer
  8690. margin:
  8691. description: 当前保证金
  8692. type: number
  8693. modelname:
  8694. description: 型号名称
  8695. type: string
  8696. price:
  8697. description: 价格\暂定价 [1:一口价、3:暂定价]
  8698. type: number
  8699. pricedamount:
  8700. description: 已定价金额 = (点价价格+升贴水) * 数量
  8701. type: number
  8702. pricedqty:
  8703. description: 已定价量
  8704. type: number
  8705. pricemove:
  8706. description: 升贴水 [2:点价 3:暂定价]
  8707. type: number
  8708. pricetype:
  8709. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  8710. type: integer
  8711. producttype:
  8712. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  8713. type: integer
  8714. qty:
  8715. description: '[合同数量]数量'
  8716. type: number
  8717. remark:
  8718. description: 备注
  8719. type: string
  8720. selluserid:
  8721. description: 销售方ID
  8722. type: integer
  8723. sellusername:
  8724. description: 销售方名称
  8725. type: string
  8726. spotamount:
  8727. description: 合同现货金额 [不含升贴水]
  8728. type: number
  8729. spotavgprice:
  8730. description: 现货均价 = 合同现货金额 / 已定价量
  8731. type: number
  8732. spotcontractid:
  8733. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  8734. type: string
  8735. spotgoodsbrandid:
  8736. description: 现货品牌ID
  8737. type: integer
  8738. spotgoodsdesc:
  8739. description: 商品型号
  8740. type: string
  8741. spotgoodsmodelid:
  8742. description: 现货型号ID
  8743. type: integer
  8744. startdate:
  8745. description: 点价开始日期 [2:点价 3:暂定价]
  8746. type: string
  8747. tradeuserid:
  8748. description: 交易用户ID
  8749. type: integer
  8750. unpricedqty:
  8751. description: 未定价量 = 合同数量 - 已定价量
  8752. type: number
  8753. updatetime:
  8754. description: 更新时间
  8755. type: string
  8756. userid:
  8757. description: 机构ID
  8758. type: integer
  8759. wrstandardcode:
  8760. description: 现货商品代码
  8761. type: string
  8762. wrstandardid:
  8763. description: 现货商品ID
  8764. type: integer
  8765. wrstandardname:
  8766. description: '[现货商品]现货商品名称'
  8767. type: string
  8768. type: object
  8769. models.ErmcpTaAccount:
  8770. properties:
  8771. accountid:
  8772. description: 账户id
  8773. type: integer
  8774. accountname:
  8775. description: 账户名称
  8776. type: string
  8777. currencyid:
  8778. description: 币种id
  8779. type: integer
  8780. hedgeaccountcode:
  8781. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8782. type: string
  8783. ismain:
  8784. description: 是否主账户 0-否 1-是
  8785. type: integer
  8786. parentaccountid:
  8787. description: 父账户id
  8788. type: integer
  8789. relateduserid:
  8790. description: 关联userid
  8791. type: integer
  8792. tradefeetmpid:
  8793. description: 手续费模板id
  8794. type: integer
  8795. tradefeetmpname:
  8796. description: 手续费模板名称
  8797. type: string
  8798. trademargintmpid:
  8799. description: 保证金模板id
  8800. type: integer
  8801. trademargintmpname:
  8802. description: 保证金模板名称
  8803. type: string
  8804. traderatetmpid:
  8805. description: 汇率模板id
  8806. type: integer
  8807. traderatetmpname:
  8808. description: 汇率模板名称
  8809. type: string
  8810. tradestatus:
  8811. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8812. type: integer
  8813. userid:
  8814. description: 用户id
  8815. type: integer
  8816. type: object
  8817. models.ErmcpTaAccountEx:
  8818. properties:
  8819. mainAcc:
  8820. $ref: '#/definitions/models.ErmcpTaAccountM'
  8821. description: 主账号
  8822. subacclist:
  8823. description: 子账号列表
  8824. items:
  8825. $ref: '#/definitions/models.ErmcpTaAccount'
  8826. type: array
  8827. type: object
  8828. models.ErmcpTaAccountInfo:
  8829. properties:
  8830. accountid:
  8831. description: 资金账户ID
  8832. type: integer
  8833. accountname:
  8834. description: 账户名称
  8835. type: string
  8836. balance:
  8837. description: 期初余额
  8838. type: number
  8839. capitalbalance:
  8840. description: 本金余额[外部子账户实际出入金余额]
  8841. type: number
  8842. closepl:
  8843. description: 今日平仓盈亏
  8844. type: number
  8845. creditdecrease:
  8846. description: 今日授信减少
  8847. type: number
  8848. creditincrease:
  8849. description: 今日授信增加
  8850. type: number
  8851. curdebt:
  8852. description: 期末欠款
  8853. type: number
  8854. currencyid:
  8855. description: 货币ID
  8856. type: integer
  8857. currentbalance:
  8858. description: 期末余额
  8859. type: number
  8860. freezecharge:
  8861. description: 手续费冻结
  8862. type: number
  8863. freezemargin:
  8864. description: 冻结保证金
  8865. type: number
  8866. fromaccountid:
  8867. description: 所属上级账户
  8868. type: integer
  8869. inamount:
  8870. description: 今日入金金额(包括三方入金)
  8871. type: number
  8872. ismain:
  8873. description: 是否母账号 0:不是母账户 1:是母账户
  8874. type: integer
  8875. mortgagecredit:
  8876. description: 授信金额
  8877. type: number
  8878. oridebt:
  8879. description: 期初欠款
  8880. type: number
  8881. orifreezecharge:
  8882. description: 期初手续费冻结
  8883. type: number
  8884. orifreezemargin:
  8885. description: 期初冻结保证金
  8886. type: number
  8887. orimortgagecredit:
  8888. description: 期初授信金额
  8889. type: number
  8890. oriothercredit:
  8891. description: 期初其它授信金额
  8892. type: number
  8893. oriotherfreezemargin:
  8894. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8895. type: number
  8896. orioutamountfreeze:
  8897. description: 期初出金冻结
  8898. type: number
  8899. oriusedmargin:
  8900. description: 期初占用保证金
  8901. type: number
  8902. othercredit:
  8903. description: 其它授信金额
  8904. type: number
  8905. othercreditdecrease:
  8906. description: 今日其它授信减少
  8907. type: number
  8908. othercreditincrease:
  8909. description: 今日其它授信增加
  8910. type: number
  8911. otherfreezemargin:
  8912. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8913. type: number
  8914. outamount:
  8915. description: 今日出金金额(包括三方出金)
  8916. type: number
  8917. outamountfreeze:
  8918. description: 出金冻结
  8919. type: number
  8920. outthreshold:
  8921. description: 出金阈值
  8922. type: number
  8923. parentaccountid:
  8924. description: 所属根账号
  8925. type: integer
  8926. paycharge:
  8927. description: 今日手续费支出
  8928. type: number
  8929. relateduserid:
  8930. description: 关联用户
  8931. type: integer
  8932. signstatus:
  8933. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8934. type: integer
  8935. sublevelpath:
  8936. description: 账号层级路径(逗号分隔,首尾加逗号)
  8937. type: string
  8938. taaccounttype:
  8939. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8940. type: integer
  8941. thirdinamount:
  8942. description: 今日三方入金
  8943. type: number
  8944. thirdoutamount:
  8945. description: 今日三方出金
  8946. type: number
  8947. tradestatus:
  8948. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8949. type: integer
  8950. transferamount:
  8951. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8952. type: number
  8953. usedmargin:
  8954. description: 占用保证金
  8955. type: number
  8956. userid:
  8957. description: 用户ID
  8958. type: integer
  8959. type: object
  8960. models.ErmcpTaAccountM:
  8961. properties:
  8962. accountid:
  8963. description: 账户id
  8964. type: integer
  8965. accountname:
  8966. description: 账户名称
  8967. type: string
  8968. currencyid:
  8969. description: 币种id
  8970. type: integer
  8971. fcid:
  8972. description: 期货公司id
  8973. type: integer
  8974. fcname:
  8975. description: 期货公司代码
  8976. type: string
  8977. hedgeaccountcode:
  8978. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8979. type: string
  8980. ismain:
  8981. description: 是否主账户 0-否 1-是
  8982. type: integer
  8983. parentaccountid:
  8984. description: 父账户id
  8985. type: integer
  8986. relateduserid:
  8987. description: 关联userid
  8988. type: integer
  8989. tradefeetmpid:
  8990. description: 手续费模板id
  8991. type: integer
  8992. tradefeetmpname:
  8993. description: 手续费模板名称
  8994. type: string
  8995. trademargintmpid:
  8996. description: 保证金模板id
  8997. type: integer
  8998. trademargintmpname:
  8999. description: 保证金模板名称
  9000. type: string
  9001. traderatetmpid:
  9002. description: 汇率模板id
  9003. type: integer
  9004. traderatetmpname:
  9005. description: 汇率模板名称
  9006. type: string
  9007. tradestatus:
  9008. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9009. type: integer
  9010. userid:
  9011. description: 用户id
  9012. type: integer
  9013. type: object
  9014. models.ErmcpTradeConfigTMP:
  9015. properties:
  9016. areauserid:
  9017. description: 所属机构
  9018. type: integer
  9019. basiccurrencyid:
  9020. description: 基本币种ID[汇率] - 目标币种
  9021. type: integer
  9022. mainaccountid:
  9023. description: 主账户ID
  9024. type: integer
  9025. modifierid:
  9026. description: 修改人
  9027. type: integer
  9028. remark:
  9029. description: 备注
  9030. type: string
  9031. tradeconfigtmpid:
  9032. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9033. type: integer
  9034. tradeconfigtmpname:
  9035. description: 交易配置模板名称
  9036. type: string
  9037. tradeconfigtmptype:
  9038. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9039. type: integer
  9040. updatetime:
  9041. description: 更新时间
  9042. type: string
  9043. type: object
  9044. models.Ermcpjrlinkpos:
  9045. properties:
  9046. areauserid:
  9047. description: 所属企业
  9048. type: integer
  9049. averageprice:
  9050. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9051. type: number
  9052. closepl:
  9053. description: 总平仓盈亏 [期货损益]
  9054. type: number
  9055. executeprice:
  9056. description: 执行价 - 1:期货单 为 0
  9057. type: integer
  9058. futurehedgeqty:
  9059. description: 期货套期量
  9060. type: number
  9061. goodsid:
  9062. description: 期货合约
  9063. type: integer
  9064. middlegoodscode:
  9065. description: 套保商品代码
  9066. type: string
  9067. middlegoodsname:
  9068. description: 套保商品名称
  9069. type: string
  9070. netqty:
  9071. description: 净头寸
  9072. type: number
  9073. optioncode:
  9074. description: 期权代码
  9075. type: string
  9076. ordertype:
  9077. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9078. type: integer
  9079. reckonpl:
  9080. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9081. type: number
  9082. spotcontractid:
  9083. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9084. type: string
  9085. todayfutureclosepl:
  9086. description: 今日平仓盈亏
  9087. type: number
  9088. totalbuyamount:
  9089. description: 买金额 [期货]
  9090. type: number
  9091. totalbuyholdamount:
  9092. description: 买持仓总金额[期货]
  9093. type: number
  9094. totalbuyqty:
  9095. description: 买数量
  9096. type: number
  9097. totalcharge:
  9098. description: 手续费
  9099. type: number
  9100. totalpremium:
  9101. description: 权利金 [期权]
  9102. type: number
  9103. totalsellamount:
  9104. description: 卖金额 [期货]
  9105. type: number
  9106. totalsellholdamount:
  9107. description: 卖持仓总金额[期货]
  9108. type: number
  9109. totalsellqty:
  9110. description: 卖数量
  9111. type: number
  9112. updatetime:
  9113. description: 更新时间
  9114. type: string
  9115. required:
  9116. - spotcontractid
  9117. type: object
  9118. models.Ermcppatradelinkdetail:
  9119. properties:
  9120. agreeunit:
  9121. description: 合约乘数
  9122. type: number
  9123. amount:
  9124. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9125. type: number
  9126. areauserid:
  9127. description: 所属机构
  9128. type: integer
  9129. bizsubjectid:
  9130. description: 归属业务部门ID - SubjectID
  9131. type: integer
  9132. buyorsell:
  9133. description: 方向 - 0:买 1:卖
  9134. type: integer
  9135. convertratio:
  9136. description: 品种系数
  9137. type: number
  9138. createtime:
  9139. description: 创建时间
  9140. type: string
  9141. creatorid:
  9142. description: 创建人ID
  9143. type: integer
  9144. creatorsrc:
  9145. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9146. type: integer
  9147. goodsgroupid:
  9148. description: 对冲品种ID[期货合约商品组ID]
  9149. type: integer
  9150. goodsid:
  9151. description: 商品ID
  9152. type: integer
  9153. hedgeditemid:
  9154. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9155. type: integer
  9156. hedgeflag:
  9157. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9158. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9159. type: integer
  9160. linkdetailid:
  9161. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9162. type: string
  9163. linkstatus:
  9164. description: 关联状态 - 1:成功 2:失败 3:解绑
  9165. type: integer
  9166. middlegoodsid:
  9167. description: 套保品种ID
  9168. type: integer
  9169. name:
  9170. description: 账户名/子账户
  9171. type: string
  9172. optioncode:
  9173. description: '[期货合约]期权代码 [期权]'
  9174. type: string
  9175. ordertype:
  9176. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9177. type: integer
  9178. relatedlot:
  9179. description: '[数量]关联手数'
  9180. type: number
  9181. relatedmode:
  9182. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9183. type: integer
  9184. relatedqty:
  9185. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9186. type: number
  9187. retcode:
  9188. description: 返回码
  9189. type: integer
  9190. saleuserid:
  9191. description: 业务员ID
  9192. type: integer
  9193. tradedate:
  9194. description: 关联交易日(yyyyMMdd)
  9195. type: string
  9196. tradeid:
  9197. description: '[成交单号]内部成交单ID'
  9198. type: string
  9199. tradelot:
  9200. description: 成交手数
  9201. type: integer
  9202. tradeprice:
  9203. description: '[价格]成交价格'
  9204. type: number
  9205. tradetime:
  9206. description: 日期时间
  9207. type: string
  9208. tradetradedate:
  9209. description: 成交交易日(yyyyMMdd)
  9210. type: string
  9211. required:
  9212. - hedgeditemid
  9213. type: object
  9214. models.Externalexchange:
  9215. properties:
  9216. autoid:
  9217. description: AutoID - SEQ_EXTERNALEXCHANGE
  9218. type: integer
  9219. exchangefullname:
  9220. description: 外部交易所全称
  9221. type: string
  9222. exexchangecode:
  9223. description: 外部交易所代码
  9224. type: string
  9225. exexchangename:
  9226. description: 外部交易所名称(简称)
  9227. type: string
  9228. ismarketprice:
  9229. description: 是否支持市价 - 0:不支持 1:支持
  9230. type: integer
  9231. quotegear:
  9232. description: 行情档位(1-10)
  9233. type: integer
  9234. showbrokerflag:
  9235. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9236. type: integer
  9237. updatetime:
  9238. description: 更新时间
  9239. type: string
  9240. required:
  9241. - autoid
  9242. type: object
  9243. models.Funcmenulist:
  9244. properties:
  9245. iconame:
  9246. description: 菜单图标
  9247. type: string
  9248. menutype:
  9249. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9250. type: integer
  9251. parentcode:
  9252. description: 上级资源代码
  9253. type: string
  9254. remark:
  9255. description: 备注
  9256. type: string
  9257. resourcecode:
  9258. description: 资源代码
  9259. type: string
  9260. resourcelevel:
  9261. description: 级别 1-一级 2-二级 3-三级 4-四级
  9262. type: integer
  9263. resourcename:
  9264. description: 资源名
  9265. type: string
  9266. sort:
  9267. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9268. type: integer
  9269. url:
  9270. description: URL
  9271. type: string
  9272. required:
  9273. - resourcecode
  9274. type: object
  9275. models.Goods:
  9276. properties:
  9277. agreeunit:
  9278. description: 合约单位
  9279. type: number
  9280. areauserid:
  9281. description: 所属机构
  9282. type: integer
  9283. auditaccountid:
  9284. description: 审核操作员账号
  9285. type: integer
  9286. audittime:
  9287. description: 审核时间
  9288. type: string
  9289. cancelaccountid:
  9290. description: 注销操作员账号
  9291. type: integer
  9292. canceltime:
  9293. description: 注销时间
  9294. type: string
  9295. closepricemode:
  9296. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9297. type: integer
  9298. closepriceparam:
  9299. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9300. type: number
  9301. createtime:
  9302. description: 创建时间
  9303. type: string
  9304. creatorid:
  9305. description: 创建人
  9306. type: integer
  9307. currencyid:
  9308. description: 报价货币ID
  9309. type: integer
  9310. cutmode:
  9311. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9312. type: integer
  9313. decimalplace:
  9314. description: 报价小数位
  9315. type: integer
  9316. delistingdate:
  9317. description: 商品退市时间(状态:退市) -- 已作废
  9318. type: string
  9319. delistingmode:
  9320. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9321. type: integer
  9322. deliveryflag:
  9323. description: 交割标志 - 0:不可交割 1:可交割
  9324. type: integer
  9325. forceclosemode:
  9326. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9327. type: integer
  9328. forceclosevalue:
  9329. description: 定期强平参数 [收益权]
  9330. type: integer
  9331. goodscode:
  9332. description: 商品代码(内部)
  9333. type: string
  9334. goodscurrencyid:
  9335. description: 合约货币ID
  9336. type: integer
  9337. goodsgroupid:
  9338. description: 所属商品组ID
  9339. type: integer
  9340. goodsid:
  9341. description: 商品ID(自增ID SEQ_GOODS)
  9342. type: integer
  9343. goodsname:
  9344. description: 商品名称
  9345. type: string
  9346. goodsquotetype:
  9347. description: '合约报价类型: 1-直接报价 2-间接报价'
  9348. type: integer
  9349. goodsstatus:
  9350. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9351. type: integer
  9352. goodstradetype:
  9353. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9354. type: integer
  9355. goodunitid:
  9356. description: 报价单位ID
  9357. type: integer
  9358. hasquoter:
  9359. description: 是否有报价商 - 0:无报价商 1:有报价商
  9360. type: integer
  9361. hqprotecttime:
  9362. description: 行情保护时间(秒)
  9363. type: integer
  9364. innerdealmode:
  9365. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9366. type: integer
  9367. isbuylimited:
  9368. description: 是否限制建仓量 - 0:不限制 1:限制
  9369. type: integer
  9370. isvisible:
  9371. description: 游客是否可见 - 0:不可见 1:可见
  9372. type: integer
  9373. lasttradedate:
  9374. description: 最后交易日期(状态:待退市)
  9375. type: string
  9376. listingdate:
  9377. description: 交易开始日期
  9378. type: string
  9379. marketid:
  9380. description: 所属市场ID
  9381. type: integer
  9382. modifierid:
  9383. description: 修改人
  9384. type: integer
  9385. modifystatus:
  9386. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9387. type: integer
  9388. modifytime:
  9389. description: 修改时间
  9390. type: string
  9391. outerdealmode:
  9392. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9393. type: integer
  9394. outgoodscode:
  9395. description: 商品代码(外部)
  9396. type: string
  9397. pictureurl:
  9398. description: 商品图片
  9399. type: string
  9400. qtydecimalplace:
  9401. description: 成交量小数位
  9402. type: integer
  9403. quotegear:
  9404. description: 行情档位(1-10)
  9405. type: integer
  9406. quoteminunit:
  9407. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9408. type: integer
  9409. quoteshowtype:
  9410. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9411. type: integer
  9412. quoteshowtypeinterval:
  9413. description: 行情报价间隔时间(秒)(成交价时为0)
  9414. type: integer
  9415. remark:
  9416. description: 备注
  9417. type: string
  9418. required:
  9419. - goodscode
  9420. - goodsid
  9421. - goodsname
  9422. - marketid
  9423. type: object
  9424. models.GoodsIDAndName:
  9425. properties:
  9426. goodscode:
  9427. description: 商品代码(内部)
  9428. type: string
  9429. goodsid:
  9430. description: 商品ID(自增ID SEQ_GOODS)
  9431. type: integer
  9432. goodsname:
  9433. description: 商品名称
  9434. type: string
  9435. marketid:
  9436. description: 所属市场ID
  9437. type: integer
  9438. required:
  9439. - goodscode
  9440. - goodsid
  9441. - goodsname
  9442. - marketid
  9443. type: object
  9444. models.Goodsgroup:
  9445. properties:
  9446. agreeunit:
  9447. description: 合约单位
  9448. type: number
  9449. canshort:
  9450. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9451. type: integer
  9452. closepricemode:
  9453. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9454. type: integer
  9455. closepriceparam:
  9456. description: 强平最新价浮动比例 - 方式为2时使用
  9457. type: number
  9458. createtime:
  9459. description: 创建时间
  9460. type: string
  9461. creatorid:
  9462. description: 创建人
  9463. type: integer
  9464. currencyid:
  9465. description: 报价货币ID
  9466. type: integer
  9467. decimalplace:
  9468. description: 报价小数位
  9469. type: integer
  9470. exercisetype:
  9471. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9472. type: integer
  9473. exexchangeid:
  9474. description: 外部交易所ID[通道交易]
  9475. type: integer
  9476. goodsgroupid:
  9477. description: 商品组ID(自增ID)
  9478. type: integer
  9479. goodsgroupname:
  9480. description: 商品组名称
  9481. type: string
  9482. goodsgroupstatus:
  9483. description: 商品组状态 - 1:正常 2:注销
  9484. type: integer
  9485. goodunitid:
  9486. description: 报价单位ID
  9487. type: integer
  9488. innerdealmode:
  9489. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9490. type: integer
  9491. isbuylimited:
  9492. description: 是否限制建仓量 - 0:不限制 1:限制
  9493. type: integer
  9494. marketid:
  9495. description: 所属市场ID
  9496. type: integer
  9497. modifierid:
  9498. description: 修改人
  9499. type: integer
  9500. modifytime:
  9501. description: 修改时间
  9502. type: string
  9503. outerdealmode:
  9504. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9505. type: integer
  9506. outergroupcode:
  9507. description: 外部商品组代码[通道交易]
  9508. type: string
  9509. premiumdecimalplace:
  9510. description: 权利金小数位[场外期权]
  9511. type: integer
  9512. premiumspreadalgorithm:
  9513. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9514. type: integer
  9515. premiumspreadvalue:
  9516. description: 权利金点差值[场外期权]
  9517. type: number
  9518. qtydecimalplace:
  9519. description: 成交量小数位
  9520. type: integer
  9521. quotegear:
  9522. description: 行情档位(1-10)
  9523. type: integer
  9524. quoteminunit:
  9525. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9526. type: integer
  9527. quoterid:
  9528. description: 报价商ID[场外期权]
  9529. type: integer
  9530. quotesourcegroupid:
  9531. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9532. type: integer
  9533. syncgoodsqty:
  9534. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9535. type: integer
  9536. required:
  9537. - goodsgroupid
  9538. - goodsgroupname
  9539. - goodsgroupstatus
  9540. - marketid
  9541. type: object
  9542. models.Goodssortbypreposition:
  9543. properties:
  9544. goodscode:
  9545. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9546. type: string
  9547. goodsgroupcode:
  9548. description: 品种代码
  9549. type: string
  9550. prepositionqty:
  9551. description: 昨持仓量
  9552. type: integer
  9553. sortindex:
  9554. description: 排序
  9555. type: integer
  9556. tradedate:
  9557. description: 交易日
  9558. type: string
  9559. updatetime:
  9560. description: 更新时间
  9561. type: string
  9562. required:
  9563. - goodscode
  9564. - tradedate
  9565. type: object
  9566. models.Hedgeinnerholderdetail:
  9567. properties:
  9568. accountid:
  9569. description: 账号ID
  9570. type: integer
  9571. buyorsell:
  9572. description: 方向 - 0:买 1:卖
  9573. type: integer
  9574. freezeqty:
  9575. description: 冻结数量 - 按单平使用
  9576. type: integer
  9577. goodsid:
  9578. description: 商品ID
  9579. type: integer
  9580. holderamount:
  9581. description: 持仓金额 [商品币种]
  9582. type: number
  9583. holderdays:
  9584. description: 剩余冻结天数
  9585. type: integer
  9586. holderprice:
  9587. description: 持仓价格
  9588. type: number
  9589. holderqty:
  9590. description: 持仓数量
  9591. type: integer
  9592. marketid:
  9593. description: 市场ID
  9594. type: integer
  9595. openprice:
  9596. description: 建仓价格
  9597. type: number
  9598. openqty:
  9599. description: 建仓数量
  9600. type: integer
  9601. parentaccountid:
  9602. description: 所属母账户
  9603. type: integer
  9604. releaseamount:
  9605. description: 释放持仓金额[商品币种]
  9606. type: number
  9607. tradeamount:
  9608. description: 成交金额[账户]
  9609. type: number
  9610. tradedate:
  9611. description: 交易日(yyyyMMdd)
  9612. type: string
  9613. tradeid:
  9614. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9615. type: string
  9616. tradetime:
  9617. description: 交易时间
  9618. type: string
  9619. required:
  9620. - buyorsell
  9621. - tradeid
  9622. type: object
  9623. models.Hedgemarketopenlog:
  9624. properties:
  9625. accountid:
  9626. description: 资金账号[外部母账户]
  9627. type: integer
  9628. fcname:
  9629. description: 期货公司名称
  9630. type: string
  9631. handlestatus:
  9632. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9633. type: integer
  9634. marketid:
  9635. description: 市场ID
  9636. type: integer
  9637. status:
  9638. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9639. type: integer
  9640. tradedate:
  9641. description: 交易日(yyyyMMdd)
  9642. type: string
  9643. updatetime:
  9644. description: 更新时间
  9645. type: string
  9646. required:
  9647. - accountid
  9648. type: object
  9649. models.HsbyBuyMyPayOrder:
  9650. properties:
  9651. agreeunit:
  9652. description: 合约单位
  9653. type: number
  9654. buyaccountid:
  9655. description: 买方账号ID[报价币种]
  9656. type: integer
  9657. buyorderid:
  9658. description: 买方委托单号
  9659. type: string
  9660. createtime:
  9661. description: 创建时间
  9662. type: string
  9663. currencysign:
  9664. description: 货币符号
  9665. type: string
  9666. decimalplace:
  9667. description: 报价小数位
  9668. type: integer
  9669. goodscode:
  9670. description: 商品代码(内部)
  9671. type: string
  9672. goodsid:
  9673. description: 商品ID
  9674. type: integer
  9675. goodsname:
  9676. description: 商品名称
  9677. type: string
  9678. marketid:
  9679. description: 市场ID
  9680. type: integer
  9681. offamount:
  9682. description: 优惠金额
  9683. type: number
  9684. originalamount:
  9685. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  9686. type: number
  9687. payamount:
  9688. description: 支付金额 = TradeAmount + TradeCharge
  9689. type: number
  9690. payflag:
  9691. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9692. type: integer
  9693. paylimitedtime:
  9694. description: 支付期限
  9695. type: string
  9696. paytime:
  9697. description: 付款时间
  9698. type: string
  9699. picurls1:
  9700. description: 预售商品介绍图片[多张用逗号分隔]
  9701. type: string
  9702. picurls2:
  9703. description: 挂牌商品介绍图片[多张用逗号分隔]
  9704. type: string
  9705. sellaccountid:
  9706. description: 卖方账号ID[报价币种]
  9707. type: integer
  9708. sellorderid:
  9709. description: 卖方委托单号
  9710. type: string
  9711. tradeamount:
  9712. description: 成交金额
  9713. type: number
  9714. tradecharge:
  9715. description: 成交手续费(买方)
  9716. type: number
  9717. tradedate:
  9718. description: 交易日(yyyyMMdd)
  9719. type: string
  9720. tradeid:
  9721. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9722. type: string
  9723. trademode:
  9724. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9725. 21:竞拍-大宗式 22:受托竞价
  9726. type: integer
  9727. tradeprice:
  9728. description: 成交价格
  9729. type: number
  9730. tradeqty:
  9731. description: 成交数量
  9732. type: integer
  9733. vendorname1:
  9734. description: 预售商品供应商名称
  9735. type: string
  9736. vendorname2:
  9737. description: 挂牌商品供应商名称
  9738. type: string
  9739. required:
  9740. - goodscode
  9741. - goodsname
  9742. - tradeid
  9743. - trademode
  9744. type: object
  9745. models.HsbyBuyMyTradeDetail:
  9746. properties:
  9747. accountid:
  9748. description: 账户ID[报价币种]
  9749. type: integer
  9750. agreeunit:
  9751. description: 合约单位
  9752. type: number
  9753. amount:
  9754. description: 金额 = 价格 * 数量 * 合约单位
  9755. type: number
  9756. buyorsell:
  9757. description: 买卖 - 0:买 1:卖
  9758. type: integer
  9759. currencysign:
  9760. description: 货币符号
  9761. type: string
  9762. decimalplace:
  9763. description: 报价小数位
  9764. type: integer
  9765. goodscode:
  9766. description: 商品代码(内部)
  9767. type: string
  9768. goodsid:
  9769. description: 商品ID
  9770. type: integer
  9771. goodsname:
  9772. description: 商品名称
  9773. type: string
  9774. marketid:
  9775. description: 市场ID
  9776. type: integer
  9777. orderamount:
  9778. description: 委托金额
  9779. type: number
  9780. orderid:
  9781. description: 单号(成交单号)
  9782. type: string
  9783. picurls1:
  9784. description: 预售商品介绍图片[多张用逗号分隔]
  9785. type: string
  9786. picurls2:
  9787. description: 挂牌商品介绍图片[多张用逗号分隔]
  9788. type: string
  9789. price:
  9790. description: 价格
  9791. type: number
  9792. qty:
  9793. description: 数量
  9794. type: integer
  9795. time:
  9796. description: 时间
  9797. type: string
  9798. trademode:
  9799. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9800. 21:竞拍-大宗式 22:受托竞价
  9801. type: integer
  9802. vendorname1:
  9803. description: 预售商品供应商名称
  9804. type: string
  9805. vendorname2:
  9806. description: 挂牌商品供应商名称
  9807. type: string
  9808. required:
  9809. - accountid
  9810. - buyorsell
  9811. - goodscode
  9812. - goodsid
  9813. - goodsname
  9814. - marketid
  9815. - orderid
  9816. - qty
  9817. - time
  9818. - trademode
  9819. type: object
  9820. models.HsbyGoodsOrderDetail:
  9821. properties:
  9822. buyorsell:
  9823. description: 买卖 - 0:买 1:卖
  9824. type: integer
  9825. currencysign:
  9826. description: 货币符号
  9827. type: string
  9828. customername:
  9829. description: 客户名称(企业名称),已脱敏
  9830. type: string
  9831. enableqty:
  9832. description: 可用数量
  9833. type: integer
  9834. goodunit:
  9835. description: 报价单位
  9836. type: string
  9837. orderid:
  9838. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9839. type: string
  9840. orderprice:
  9841. description: 委托价格
  9842. type: number
  9843. ordertime:
  9844. description: 委托时间
  9845. type: string
  9846. required:
  9847. - buyorsell
  9848. - orderid
  9849. - ordertime
  9850. type: object
  9851. models.HsbyListingGoodsDetail:
  9852. properties:
  9853. agreeunit:
  9854. description: 合约单位
  9855. type: number
  9856. buymaxqty:
  9857. description: 购买上限 [71] - 0为不限
  9858. type: integer
  9859. currency:
  9860. description: 货币
  9861. type: string
  9862. currencysign:
  9863. description: 货币符号
  9864. type: string
  9865. decimalplace:
  9866. description: 报价小数位
  9867. type: integer
  9868. desccityid:
  9869. description: 目的地(市)ID
  9870. type: integer
  9871. descprovinceid:
  9872. description: 目的地(省)ID
  9873. type: integer
  9874. goodscode:
  9875. description: 商品代码(内部)
  9876. type: string
  9877. goodsdesc:
  9878. description: 商品详情
  9879. type: string
  9880. goodsid:
  9881. description: 商品ID(自增ID SEQ_GOODS)
  9882. type: integer
  9883. goodsname:
  9884. description: 商品名称
  9885. type: string
  9886. goodsprice:
  9887. description: 商品价格
  9888. type: number
  9889. hotindex:
  9890. description: 景点热度
  9891. type: integer
  9892. last:
  9893. description: 现价
  9894. type: number
  9895. limitdown:
  9896. description: 跌停价
  9897. type: number
  9898. limitup:
  9899. description: 涨停价
  9900. type: number
  9901. lotsize:
  9902. description: 手数最小变动单位
  9903. type: integer
  9904. marketid:
  9905. description: 所属市场ID
  9906. type: integer
  9907. picurls:
  9908. description: 介绍图片[多张用逗号分隔]
  9909. type: string
  9910. quoteminunit:
  9911. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9912. type: integer
  9913. stepvalue:
  9914. description: 价格最小变动单位
  9915. type: number
  9916. trademode:
  9917. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9918. 21:竞拍-大宗式 22:受托竞价
  9919. type: integer
  9920. vendorattr:
  9921. description: 供应商附件(多张,逗号分隔)
  9922. type: string
  9923. vendorname:
  9924. description: 供应商名称
  9925. type: string
  9926. vendorphone:
  9927. description: 供应商客服电话
  9928. type: string
  9929. videourls:
  9930. description: 介绍视频[多张用逗号分隔]
  9931. type: string
  9932. required:
  9933. - goodscode
  9934. - goodsid
  9935. - goodsname
  9936. - marketid
  9937. - trademode
  9938. type: object
  9939. models.HsbyMarketGoods:
  9940. properties:
  9941. accountid:
  9942. description: 账户ID[报价币种]
  9943. type: integer
  9944. agreeunit:
  9945. description: 合约单位
  9946. type: number
  9947. buyorsell:
  9948. description: 买卖 - 0:买 1:卖
  9949. type: integer
  9950. categoryid:
  9951. description: 类别ID(WRCATEGORY)
  9952. type: integer
  9953. currency:
  9954. description: 货币
  9955. type: string
  9956. currencysign:
  9957. description: 货币符号
  9958. type: string
  9959. customername:
  9960. description: 卖家名称
  9961. type: string
  9962. decimalplace:
  9963. description: 报价小数位
  9964. type: integer
  9965. goodscode:
  9966. description: 商品代码(内部)
  9967. type: string
  9968. goodsid:
  9969. description: 商品ID
  9970. type: integer
  9971. goodsname:
  9972. description: 商品名称
  9973. type: string
  9974. goodsprice:
  9975. description: 商品价格
  9976. type: number
  9977. hascoupon:
  9978. description: 是否可用优惠卷
  9979. type: boolean
  9980. hotindex:
  9981. description: 景点热度
  9982. type: integer
  9983. marketid:
  9984. description: 市场ID
  9985. type: integer
  9986. orderid:
  9987. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9988. type: string
  9989. orderprice:
  9990. description: 委托价格
  9991. type: number
  9992. orderstatus:
  9993. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9994. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9995. 16:成交失败违约(荷兰式竞拍专用)
  9996. type: integer
  9997. picurls:
  9998. description: 介绍图片[多张用逗号分隔]
  9999. type: string
  10000. quoteminunit:
  10001. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10002. type: integer
  10003. sellUserID:
  10004. description: 卖方UserID
  10005. type: integer
  10006. trademode:
  10007. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10008. 21:竞拍-大宗式 22:受托竞价
  10009. type: integer
  10010. videourls:
  10011. description: 介绍视频[多张用逗号分隔]
  10012. type: string
  10013. required:
  10014. - accountid
  10015. - buyorsell
  10016. - goodscode
  10017. - goodsid
  10018. - goodsname
  10019. - marketid
  10020. - orderid
  10021. - trademode
  10022. type: object
  10023. models.HsbyMarketGoodsDetail:
  10024. properties:
  10025. accountid:
  10026. description: 账户ID[报价币种]
  10027. type: integer
  10028. agreeunit:
  10029. description: 合约单位
  10030. type: number
  10031. buymaxqty:
  10032. description: 购买上限 [71] - 0为不限
  10033. type: integer
  10034. buyorsell:
  10035. description: 买卖 - 0:买 1:卖
  10036. type: integer
  10037. cancelqty:
  10038. description: 撤单数量
  10039. type: integer
  10040. categoryid:
  10041. description: 类别ID(WRCATEGORY)
  10042. type: integer
  10043. currency:
  10044. description: 货币
  10045. type: string
  10046. currencysign:
  10047. description: 货币符号
  10048. type: string
  10049. customername:
  10050. description: 卖家名称
  10051. type: string
  10052. decimalplace:
  10053. description: 报价小数位
  10054. type: integer
  10055. goodscode:
  10056. description: 商品代码(内部)
  10057. type: string
  10058. goodsdesc:
  10059. description: 商品详情
  10060. type: string
  10061. goodsid:
  10062. description: 商品ID
  10063. type: integer
  10064. goodsname:
  10065. description: 商品名称
  10066. type: string
  10067. goodsprice:
  10068. description: 商品价格
  10069. type: number
  10070. hotindex:
  10071. description: 景点热度
  10072. type: integer
  10073. lotsize:
  10074. description: 手数最小变动单位
  10075. type: integer
  10076. marketid:
  10077. description: 市场ID
  10078. type: integer
  10079. orderid:
  10080. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10081. type: string
  10082. orderprice:
  10083. description: 委托价格
  10084. type: number
  10085. orderqty:
  10086. description: 委托数量
  10087. type: integer
  10088. orderstatus:
  10089. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10090. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10091. 16:成交失败违约(荷兰式竞拍专用)
  10092. type: integer
  10093. picurls:
  10094. description: 介绍图片[多张用逗号分隔]
  10095. type: string
  10096. quoteminunit:
  10097. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10098. type: integer
  10099. sellUserID:
  10100. description: 卖方UserID
  10101. type: integer
  10102. trademode:
  10103. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10104. 21:竞拍-大宗式 22:受托竞价
  10105. type: integer
  10106. tradeqty:
  10107. description: 成交数量
  10108. type: integer
  10109. vendorattr:
  10110. description: 供应商附件(多张,逗号分隔)
  10111. type: string
  10112. vendorname:
  10113. description: 供应商名称
  10114. type: string
  10115. vendorphone:
  10116. description: 供应商客服电话
  10117. type: string
  10118. videourls:
  10119. description: 介绍视频[多张用逗号分隔]
  10120. type: string
  10121. required:
  10122. - accountid
  10123. - buyorsell
  10124. - goodscode
  10125. - goodsid
  10126. - goodsname
  10127. - marketid
  10128. - orderid
  10129. - orderqty
  10130. - trademode
  10131. type: object
  10132. models.HsbyMarketInfo:
  10133. properties:
  10134. marketid:
  10135. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10136. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10137. type: integer
  10138. marketname:
  10139. description: 市场名称
  10140. type: string
  10141. marketstatus:
  10142. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10143. type: integer
  10144. trademode:
  10145. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10146. 21:竞拍-大宗式 22:受托竞价
  10147. type: integer
  10148. required:
  10149. - marketid
  10150. - marketstatus
  10151. - trademode
  10152. type: object
  10153. models.HsbyMyGoods:
  10154. properties:
  10155. accountid:
  10156. description: 账号Id
  10157. type: integer
  10158. agreeunit:
  10159. description: 合约单位
  10160. type: number
  10161. buyaverageprice:
  10162. description: 持仓均价
  10163. type: number
  10164. buycurholderamount:
  10165. description: 买当前持仓总金额[商品币种]
  10166. type: number
  10167. buycurpositionqty:
  10168. description: 买当前持仓总数量
  10169. type: integer
  10170. buymaxqty:
  10171. description: 购买上限 [71] - 0为不限
  10172. type: integer
  10173. currencysign:
  10174. description: 货币符号
  10175. type: string
  10176. decimalplace:
  10177. description: 报价小数位
  10178. type: integer
  10179. enableqty:
  10180. description: 可用数量
  10181. type: integer
  10182. goodscode:
  10183. description: 商品代码(内部)
  10184. type: string
  10185. goodsid:
  10186. description: 商品Id
  10187. type: integer
  10188. goodsname:
  10189. description: 商品名称
  10190. type: string
  10191. goodsprice:
  10192. description: 商品价格
  10193. type: number
  10194. goodsstatus:
  10195. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10196. type: integer
  10197. last:
  10198. description: 现价(仅使用于挂牌点选)
  10199. type: number
  10200. limitdown:
  10201. description: 跌停价(仅使用于挂牌点选)
  10202. type: number
  10203. limitup:
  10204. description: 涨停价(仅使用于挂牌点选)
  10205. type: number
  10206. lotsize:
  10207. description: 手数最小变动单位
  10208. type: integer
  10209. marketid:
  10210. description: 所属市场ID
  10211. type: integer
  10212. picurls:
  10213. description: 介绍图片[多张用逗号分隔]
  10214. type: string
  10215. quoteminunit:
  10216. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10217. type: integer
  10218. stepvalue:
  10219. description: 价格最小变动单位
  10220. type: number
  10221. trademode:
  10222. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10223. 21:竞拍-大宗式 22:受托竞价
  10224. type: integer
  10225. required:
  10226. - accountid
  10227. - goodscode
  10228. - goodsid
  10229. - goodsname
  10230. - marketid
  10231. - trademode
  10232. type: object
  10233. models.HsbyMyPackage:
  10234. properties:
  10235. accountid:
  10236. description: 账户ID
  10237. type: integer
  10238. address:
  10239. description: 提货人详细地址
  10240. type: string
  10241. agreeunit:
  10242. description: 合约单位
  10243. type: number
  10244. amount:
  10245. description: 提货金额
  10246. type: number
  10247. auditer:
  10248. description: 审核人
  10249. type: integer
  10250. audittime:
  10251. description: 审核时间
  10252. type: string
  10253. averageprice:
  10254. description: 均价
  10255. type: number
  10256. cardnum:
  10257. description: 提货人证件号码
  10258. type: string
  10259. cardtypeid:
  10260. description: 提货人证件类型
  10261. type: integer
  10262. checkremark:
  10263. description: 审核备注
  10264. type: string
  10265. currencysign:
  10266. description: 货币符号
  10267. type: string
  10268. decimalplace:
  10269. description: 报价小数位
  10270. type: integer
  10271. goodscode:
  10272. description: 商品代码(内部)
  10273. type: string
  10274. goodsid:
  10275. description: 商品ID
  10276. type: integer
  10277. goodsname:
  10278. description: 商品名称
  10279. type: string
  10280. handlestatus:
  10281. description: 处理状态
  10282. type: integer
  10283. marketid:
  10284. description: 市场ID
  10285. type: integer
  10286. phonenum:
  10287. description: 提货人联系方式
  10288. type: string
  10289. picurls:
  10290. description: 介绍图片[多张用逗号分隔]
  10291. type: string
  10292. qty:
  10293. description: 提货数量
  10294. type: number
  10295. recivername:
  10296. description: 提货人姓名
  10297. type: string
  10298. reqtime:
  10299. description: 更新时间
  10300. type: string
  10301. takemode:
  10302. description: 提货方式 - 2:自提 3:配送
  10303. type: integer
  10304. takeorderid:
  10305. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10306. type: string
  10307. takeorderstatus:
  10308. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10309. type: integer
  10310. takeremark:
  10311. description: 提货备注
  10312. type: string
  10313. tradedate:
  10314. description: 交易日(yyyyMMdd)
  10315. type: string
  10316. trademode:
  10317. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10318. 21:竞拍-大宗式 22:受托竞价
  10319. type: integer
  10320. userid:
  10321. description: 用户ID
  10322. type: integer
  10323. vendorname:
  10324. description: 供应商名称
  10325. type: string
  10326. required:
  10327. - goodscode
  10328. - goodsname
  10329. - takeorderid
  10330. - trademode
  10331. type: object
  10332. models.HsbyPreGoods:
  10333. properties:
  10334. agreeunit:
  10335. description: 合约单位
  10336. type: number
  10337. currency:
  10338. description: 货币
  10339. type: string
  10340. currencysign:
  10341. description: 货币符号
  10342. type: string
  10343. decimalplace:
  10344. description: 报价小数位
  10345. type: integer
  10346. desccityid:
  10347. description: 目的地(市)
  10348. type: integer
  10349. descprovinceid:
  10350. description: 目的地(省)
  10351. type: integer
  10352. enableqty:
  10353. description: 剩余数量
  10354. type: integer
  10355. goodscode:
  10356. description: 商品代码(内部)
  10357. type: string
  10358. goodsid:
  10359. description: 商品ID(自增ID SEQ_GOODS)
  10360. type: integer
  10361. goodsname:
  10362. description: 商品名称
  10363. type: string
  10364. goodsstatus:
  10365. description: 商品状态- 2:未上市 3:上市
  10366. type: integer
  10367. lasttradedate:
  10368. description: 最后交易日期(状态:待退市)
  10369. type: string
  10370. listingdate:
  10371. description: 交易开始日期
  10372. type: string
  10373. marketid:
  10374. description: 所属市场ID
  10375. type: integer
  10376. picurls:
  10377. description: 介绍图片[多张用逗号分隔]
  10378. type: string
  10379. presaledqty:
  10380. description: 已预售量(预售结束时更新)
  10381. type: integer
  10382. presaleqty:
  10383. description: 预售数量
  10384. type: integer
  10385. quoteminunit:
  10386. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10387. type: integer
  10388. refprice:
  10389. description: 参考价格[一口价]
  10390. type: number
  10391. relatedgoodsid:
  10392. description: 关联交易合约ID
  10393. type: integer
  10394. trademode:
  10395. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10396. 21:竞拍-大宗式 22:受托竞价
  10397. type: integer
  10398. videourls:
  10399. description: 介绍视频[多张用逗号分隔]
  10400. type: string
  10401. required:
  10402. - goodscode
  10403. - goodsid
  10404. - goodsname
  10405. - marketid
  10406. - trademode
  10407. type: object
  10408. models.HsbyPreGoodsDetail:
  10409. properties:
  10410. agreeunit:
  10411. description: 合约单位
  10412. type: number
  10413. buymaxqty:
  10414. description: 购买上限 [71] - 0为不限
  10415. type: integer
  10416. currency:
  10417. description: 货币
  10418. type: string
  10419. currencysign:
  10420. description: 货币符号
  10421. type: string
  10422. customername:
  10423. description: 发行单位
  10424. type: string
  10425. decimalplace:
  10426. description: 报价小数位
  10427. type: integer
  10428. desccityid:
  10429. description: 目的地(市)ID
  10430. type: integer
  10431. descprovinceid:
  10432. description: 目的地(省)ID
  10433. type: integer
  10434. enableqty:
  10435. description: 剩余数量
  10436. type: integer
  10437. goodscode:
  10438. description: 商品代码(内部)
  10439. type: string
  10440. goodsdesc:
  10441. description: 商品详情
  10442. type: string
  10443. goodsid:
  10444. description: 商品ID(自增ID SEQ_GOODS)
  10445. type: integer
  10446. goodsname:
  10447. description: 商品名称
  10448. type: string
  10449. goodsstatus:
  10450. description: 商品状态- 2:未上市 3:上市
  10451. type: integer
  10452. goodunit:
  10453. description: 报价单位
  10454. type: string
  10455. lasttradedate:
  10456. description: 最后交易日期(状态:待退市)
  10457. type: string
  10458. listingdate:
  10459. description: 交易开始日期
  10460. type: string
  10461. lotsize:
  10462. description: 手数最小变动单位
  10463. type: integer
  10464. marketid:
  10465. description: 所属市场ID
  10466. type: integer
  10467. picurls:
  10468. description: 介绍图片[多张用逗号分隔]
  10469. type: string
  10470. presaledqty:
  10471. description: 已预售量(预售结束时更新)
  10472. type: integer
  10473. presaleqty:
  10474. description: 预售数量
  10475. type: integer
  10476. quoteminunit:
  10477. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10478. type: integer
  10479. refprice:
  10480. description: 参考价格[一口价]
  10481. type: number
  10482. relatedgoodsid:
  10483. description: 关联交易合约ID
  10484. type: integer
  10485. stepvalue:
  10486. description: 价格最小变动单位
  10487. type: number
  10488. trademode:
  10489. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10490. 21:竞拍-大宗式 22:受托竞价
  10491. type: integer
  10492. vendorattr:
  10493. description: 供应商附件(多张,逗号分隔)
  10494. type: string
  10495. vendorname:
  10496. description: 供应商名称
  10497. type: string
  10498. vendorphone:
  10499. description: 供应商客服电话
  10500. type: string
  10501. videourls:
  10502. description: 介绍视频[多张用逗号分隔]
  10503. type: string
  10504. required:
  10505. - goodscode
  10506. - goodsid
  10507. - goodsname
  10508. - marketid
  10509. - trademode
  10510. type: object
  10511. models.HsbySellCollectionOrder:
  10512. properties:
  10513. agreeunit:
  10514. description: 合约单位
  10515. type: number
  10516. buyaccountid:
  10517. description: 买方账号ID[报价币种]
  10518. type: integer
  10519. buyorderid:
  10520. description: 买方委托单号
  10521. type: string
  10522. createtime:
  10523. description: 创建时间
  10524. type: string
  10525. currencysign:
  10526. description: 货币符号
  10527. type: string
  10528. decimalplace:
  10529. description: 报价小数位
  10530. type: integer
  10531. goodscode:
  10532. description: 商品代码(内部)
  10533. type: string
  10534. goodsid:
  10535. description: 商品ID
  10536. type: integer
  10537. goodsname:
  10538. description: 商品名称
  10539. type: string
  10540. marketid:
  10541. description: 市场ID
  10542. type: integer
  10543. offamount:
  10544. description: 优惠金额
  10545. type: number
  10546. payamount:
  10547. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10548. type: number
  10549. payflag:
  10550. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10551. type: integer
  10552. paylimitedtime:
  10553. description: 支付期限
  10554. type: string
  10555. paytime:
  10556. description: 付款时间
  10557. type: string
  10558. picurls:
  10559. description: 商品介绍图片[多张用逗号分隔]
  10560. type: string
  10561. sellaccountid:
  10562. description: 卖方账号ID[报价币种]
  10563. type: integer
  10564. sellorderid:
  10565. description: 卖方委托单号
  10566. type: string
  10567. tradeamount:
  10568. description: 成交金额
  10569. type: number
  10570. tradecharge:
  10571. description: 成交手续费(买方)
  10572. type: number
  10573. tradedate:
  10574. description: 交易日(yyyyMMdd)
  10575. type: string
  10576. tradeid:
  10577. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10578. type: string
  10579. trademode:
  10580. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10581. 21:竞拍-大宗式 22:受托竞价
  10582. type: integer
  10583. tradeprice:
  10584. description: 成交价格
  10585. type: number
  10586. tradeqty:
  10587. description: 成交数量
  10588. type: integer
  10589. required:
  10590. - goodscode
  10591. - goodsname
  10592. - tradeid
  10593. - trademode
  10594. type: object
  10595. models.HsbySellMyDetail:
  10596. properties:
  10597. accountid:
  10598. description: 账户ID[报价币种]
  10599. type: integer
  10600. agreeunit:
  10601. description: 合约单位
  10602. type: number
  10603. buyorsell:
  10604. description: 买卖 - 0:买 1:卖
  10605. type: integer
  10606. currencysign:
  10607. description: 货币符号
  10608. type: string
  10609. decimalplace:
  10610. description: 报价小数位
  10611. type: integer
  10612. goodscode:
  10613. description: 商品代码(内部)
  10614. type: string
  10615. goodsid:
  10616. description: 商品ID
  10617. type: integer
  10618. goodsname:
  10619. description: 商品名称
  10620. type: string
  10621. marketid:
  10622. description: 市场ID
  10623. type: integer
  10624. orderid:
  10625. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10626. type: string
  10627. ordertype:
  10628. description: 单据类型:0 - 发布中, 1 - 已完成
  10629. type: integer
  10630. picurls:
  10631. description: 介绍图片[多张用逗号分隔]
  10632. type: string
  10633. price:
  10634. description: 价格
  10635. type: number
  10636. qty:
  10637. description: 数量
  10638. type: integer
  10639. time:
  10640. description: 时间
  10641. type: string
  10642. trademode:
  10643. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10644. 21:竞拍-大宗式 22:受托竞价
  10645. type: integer
  10646. vendorname:
  10647. description: 供应商名称
  10648. type: string
  10649. required:
  10650. - accountid
  10651. - buyorsell
  10652. - goodscode
  10653. - goodsid
  10654. - goodsname
  10655. - marketid
  10656. - orderid
  10657. - time
  10658. - trademode
  10659. type: object
  10660. models.HsbyTopGoods:
  10661. properties:
  10662. agreeunit:
  10663. description: 合约单位
  10664. type: number
  10665. currency:
  10666. description: 货币
  10667. type: string
  10668. currencysign:
  10669. description: 货币符号
  10670. type: string
  10671. decimalplace:
  10672. description: 报价小数位
  10673. type: integer
  10674. desccityid:
  10675. description: 目的地(市)
  10676. type: integer
  10677. descprovinceid:
  10678. description: 目的地(省)
  10679. type: integer
  10680. goodscode:
  10681. description: 商品代码(内部)
  10682. type: string
  10683. goodsid:
  10684. description: 商品ID(自增ID SEQ_GOODS)
  10685. type: integer
  10686. goodsname:
  10687. description: 商品名称
  10688. type: string
  10689. hotindex:
  10690. description: 景点热度
  10691. type: integer
  10692. last:
  10693. description: 现价
  10694. type: number
  10695. marketid:
  10696. description: 所属市场ID
  10697. type: integer
  10698. picurls:
  10699. description: 介绍图片[多张用逗号分隔]
  10700. type: string
  10701. quoteminunit:
  10702. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10703. type: integer
  10704. trademode:
  10705. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10706. 21:竞拍-大宗式 22:受托竞价
  10707. type: integer
  10708. videourls:
  10709. description: 介绍视频[多张用逗号分隔]
  10710. type: string
  10711. required:
  10712. - goodscode
  10713. - goodsid
  10714. - goodsname
  10715. - marketid
  10716. - trademode
  10717. type: object
  10718. models.HybsMyBuyOrderDetail:
  10719. properties:
  10720. accountid:
  10721. description: 账户ID[报价币种]
  10722. type: integer
  10723. agreeunit:
  10724. description: 合约单位
  10725. type: number
  10726. buyorsell:
  10727. description: 买卖 - 0:买 1:卖
  10728. type: integer
  10729. cancelqty:
  10730. description: 撤单数量
  10731. type: integer
  10732. currencysign:
  10733. description: 货币符号
  10734. type: string
  10735. decimalplace:
  10736. description: 报价小数位
  10737. type: integer
  10738. goodscode:
  10739. description: 商品代码(内部)
  10740. type: string
  10741. goodsid:
  10742. description: 商品ID
  10743. type: integer
  10744. goodsname:
  10745. description: 商品名称
  10746. type: string
  10747. listingselecttype:
  10748. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10749. type: integer
  10750. marketid:
  10751. description: 市场ID
  10752. type: integer
  10753. mybuystatus:
  10754. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  10755. type: integer
  10756. orderamount:
  10757. description: 委托金额
  10758. type: number
  10759. orderid:
  10760. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10761. type: string
  10762. orderprice:
  10763. description: 委托价格
  10764. type: number
  10765. orderqty:
  10766. description: 委托数量
  10767. type: integer
  10768. orderstatus:
  10769. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10770. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10771. 16:成交失败违约(荷兰式竞拍专用)
  10772. type: integer
  10773. ordertime:
  10774. description: 委托时间
  10775. type: string
  10776. picurls1:
  10777. description: 预售商品介绍图片[多张用逗号分隔]
  10778. type: string
  10779. picurls2:
  10780. description: 挂牌商品介绍图片[多张用逗号分隔]
  10781. type: string
  10782. trademode:
  10783. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10784. 21:竞拍-大宗式 22:受托竞价
  10785. type: integer
  10786. tradeqty:
  10787. description: 成交数量
  10788. type: integer
  10789. vendorname1:
  10790. description: 预售商品供应商名称
  10791. type: string
  10792. vendorname2:
  10793. description: 挂牌商品供应商名称
  10794. type: string
  10795. required:
  10796. - accountid
  10797. - buyorsell
  10798. - goodscode
  10799. - goodsid
  10800. - goodsname
  10801. - marketid
  10802. - orderid
  10803. - orderqty
  10804. - ordertime
  10805. - trademode
  10806. type: object
  10807. models.InternalEnableTradeDetail:
  10808. properties:
  10809. areauserid:
  10810. description: 企业ID
  10811. type: integer
  10812. deliverygoodscode:
  10813. description: 现货品种代码
  10814. type: string
  10815. deliverygoodsid:
  10816. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10817. type: integer
  10818. deliverygoodsname:
  10819. description: 现货品种名称
  10820. type: string
  10821. futurehedgeqty:
  10822. description: '[已关联数量]期货持仓套期量'
  10823. type: number
  10824. goodsid:
  10825. description: 期货合约ID
  10826. type: integer
  10827. hedgeditemnum:
  10828. description: 项目编号
  10829. type: string
  10830. unexehedgeqty:
  10831. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10832. type: number
  10833. unexespotqty:
  10834. description: 未执行现货量
  10835. type: number
  10836. wrstandardcode:
  10837. description: 现货品类代码
  10838. type: string
  10839. wrstandardid:
  10840. description: 现货品类ID(SEQ_WRSTANDARD)
  10841. type: integer
  10842. wrstandardname:
  10843. description: 现货品类名称
  10844. type: string
  10845. required:
  10846. - areauserid
  10847. - goodsid
  10848. type: object
  10849. models.InternalUncorrelatedTradeDetail:
  10850. properties:
  10851. accountid:
  10852. description: 账号ID
  10853. type: integer
  10854. accountname:
  10855. description: 套期主体
  10856. type: string
  10857. agreeunit:
  10858. description: 合约乘数
  10859. type: number
  10860. areauserid:
  10861. description: 所属机构
  10862. type: integer
  10863. bizsubjectid:
  10864. description: 归属业务部门ID - SubjectID
  10865. type: integer
  10866. buyorsell:
  10867. description: 方向 - 0:买 1:卖
  10868. type: integer
  10869. channelbuildtype:
  10870. description: 委托单据类型 0:无 1:建仓 2:平仓
  10871. type: integer
  10872. convertratio:
  10873. description: 品种系数
  10874. type: number
  10875. createtime:
  10876. description: 创建时间
  10877. type: string
  10878. creatorid:
  10879. description: 创建人ID
  10880. type: integer
  10881. creatorsrc:
  10882. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10883. type: integer
  10884. enableqty:
  10885. description: 项目可关联手数 = 成交手数 - 关联数量
  10886. type: number
  10887. goodscode:
  10888. description: 合约代码
  10889. type: string
  10890. goodsgroupid:
  10891. description: 对冲品种ID[期货合约商品组ID]
  10892. type: integer
  10893. goodsid:
  10894. description: 商品ID
  10895. type: integer
  10896. goodsname:
  10897. description: 合约名称
  10898. type: string
  10899. hedgeditemid:
  10900. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10901. type: integer
  10902. hedgeflag:
  10903. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10904. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10905. type: integer
  10906. linkdetailid:
  10907. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10908. type: string
  10909. linkstatus:
  10910. description: 关联状态 - 1:成功 2:失败 3:解绑
  10911. type: integer
  10912. middlegoodsid:
  10913. description: 套保品种ID
  10914. type: integer
  10915. relatedlot:
  10916. description: '[数量]关联手数'
  10917. type: number
  10918. relatedmode:
  10919. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10920. type: integer
  10921. relatedqty:
  10922. description: '[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio'
  10923. type: number
  10924. retcode:
  10925. description: 返回码
  10926. type: integer
  10927. saleuserid:
  10928. description: 业务员ID
  10929. type: integer
  10930. tradedate:
  10931. description: 关联交易日(yyyyMMdd)
  10932. type: string
  10933. tradeid:
  10934. description: 成交单号
  10935. type: string
  10936. tradelot:
  10937. description: 成交手数
  10938. type: integer
  10939. tradeprice:
  10940. description: 成交价
  10941. type: number
  10942. tradetime:
  10943. description: 成交时间
  10944. type: string
  10945. tradetradedate:
  10946. description: 成交交易日(yyyyMMdd)
  10947. type: string
  10948. type: object
  10949. models.Loginaccount:
  10950. properties:
  10951. accountname:
  10952. description: 账户名称
  10953. type: string
  10954. canoutin:
  10955. description: 是否可出入金 - 0:不可 1:可
  10956. type: integer
  10957. clientroleid:
  10958. description: 终端角色ID
  10959. type: integer
  10960. haslogined:
  10961. description: 是否已登录 - 0:未登录 1:已登录
  10962. type: integer
  10963. hasupdatedpwd:
  10964. description: 是否已更改密码 - 0:未修改 1:已修改
  10965. type: integer
  10966. lastloginip:
  10967. description: 最新登录地址
  10968. type: string
  10969. lastloginmode:
  10970. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10971. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10972. type: integer
  10973. lastloginremark:
  10974. description: 最新登录描述
  10975. type: string
  10976. lastlogintime:
  10977. description: 最新登录时间
  10978. type: string
  10979. logincode:
  10980. description: 登录代码
  10981. type: string
  10982. loginfailnum:
  10983. description: 连续登录失败次数(登录成功时清零)
  10984. type: integer
  10985. loginid:
  10986. description: 登陆账号
  10987. type: integer
  10988. loginport:
  10989. description: 最新登录端口
  10990. type: integer
  10991. loginstatus:
  10992. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10993. type: integer
  10994. loginusertype:
  10995. description: 登录账号类型 - 1:投资者 2:机构交易员
  10996. type: integer
  10997. mobile:
  10998. description: 手机号码(加密存储)
  10999. type: string
  11000. modifierid:
  11001. description: 修改人
  11002. type: integer
  11003. modifysrc:
  11004. description: 审核来源 - 1:管理端 2:终端
  11005. type: integer
  11006. modifytime:
  11007. description: 修改时间
  11008. type: string
  11009. password:
  11010. description: 登陆密码
  11011. type: string
  11012. pwdwrongcount:
  11013. description: 密码错误次数
  11014. type: integer
  11015. relateduserid:
  11016. description: 关联用户ID(机构)
  11017. type: integer
  11018. taaccountrighttype:
  11019. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11020. type: integer
  11021. unfreezetime:
  11022. description: 账户解冻时间
  11023. type: string
  11024. userid:
  11025. description: 用户ID
  11026. type: integer
  11027. required:
  11028. - loginid
  11029. type: object
  11030. models.MainAccountInfo:
  11031. properties:
  11032. accountid:
  11033. description: 账号id
  11034. type: integer
  11035. accountname:
  11036. description: 账号名称(taaccount表中的名称)
  11037. type: string
  11038. appid:
  11039. description: AppID
  11040. type: string
  11041. authcode:
  11042. description: 授权码
  11043. type: string
  11044. brokerid:
  11045. description: 经纪商id
  11046. type: string
  11047. fcid:
  11048. description: 期货公司id
  11049. type: integer
  11050. fcname:
  11051. description: 期货公司代码
  11052. type: string
  11053. hedgeaccountcode:
  11054. description: 外部账号代码(主账号登录代码)
  11055. type: string
  11056. hedgeaccountpwd:
  11057. description: 密码
  11058. type: string
  11059. ismain:
  11060. description: 是否主账号
  11061. type: integer
  11062. relateduserid:
  11063. description: 关联用户id
  11064. type: integer
  11065. userid:
  11066. description: 关联用户id
  11067. type: integer
  11068. type: object
  11069. models.Market:
  11070. properties:
  11071. auctionwrtype:
  11072. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11073. type: integer
  11074. canacceptquote:
  11075. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11076. type: integer
  11077. cangoodsexercise:
  11078. description: '[期权]是否可现货行权- 0:否 1:是'
  11079. type: integer
  11080. cangoodsexercisetype:
  11081. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11082. type: integer
  11083. canmanualquotestrike:
  11084. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11085. type: integer
  11086. canmutistage:
  11087. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11088. type: integer
  11089. canpreexercise:
  11090. description: '[期权]是否可预申报- 0:否 1:是'
  11091. type: integer
  11092. clearinterval:
  11093. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11094. type: integer
  11095. contracttmp:
  11096. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11097. type: string
  11098. exchareaid:
  11099. description: 所属交易所,可以没有
  11100. type: integer
  11101. goodstype:
  11102. description: 商品类型 - 1:交易商品 2:仓单商品
  11103. type: integer
  11104. hasrebate:
  11105. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11106. type: integer
  11107. hastradecredit:
  11108. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11109. type: integer
  11110. haswr:
  11111. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11112. type: integer
  11113. isdeductmargin:
  11114. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11115. type: integer
  11116. isrecordsource:
  11117. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11118. type: integer
  11119. isreleasemargin:
  11120. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11121. type: integer
  11122. marginformula:
  11123. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11124. type: integer
  11125. marginformula2:
  11126. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11127. type: integer
  11128. marketid:
  11129. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11130. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11131. type: integer
  11132. marketname:
  11133. description: 市场名称
  11134. type: string
  11135. marketserviceid:
  11136. description: 市场服务ID
  11137. type: integer
  11138. marketstatus:
  11139. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11140. type: integer
  11141. markettype:
  11142. description: 市场类型- 1:非交易服务 2:交易服务
  11143. type: integer
  11144. matchermode:
  11145. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11146. type: integer
  11147. openmethod:
  11148. description: 开盘模式 - 0 自动 1手动
  11149. type: integer
  11150. otcuserid:
  11151. description: 场外期权做市商[场外期权]
  11152. type: integer
  11153. outersynctime:
  11154. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11155. type: string
  11156. pendingflag:
  11157. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11158. type: integer
  11159. pendingtime:
  11160. description: 待开市时间[通道交易-对冲](HH:mm)
  11161. type: string
  11162. performancetempid:
  11163. description: 履约计划模板ID - 作废
  11164. type: integer
  11165. premiumquotemode:
  11166. description: 权利金报价方式 - 1:自动 2:手动
  11167. type: integer
  11168. rebateratio:
  11169. description: 返利比率[竞价式]
  11170. type: number
  11171. reckonorder:
  11172. description: 结算顺序
  11173. type: integer
  11174. reckonpricealgorithm:
  11175. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11176. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11177. type: integer
  11178. reckonpriceparam:
  11179. description: 结算价参数
  11180. type: integer
  11181. reckontime:
  11182. description: 结算时间[通道交易-对冲](HH:mm)
  11183. type: string
  11184. roleprioritytype:
  11185. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11186. type: integer
  11187. selllistingauditflag:
  11188. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11189. type: integer
  11190. trademarkettype:
  11191. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11192. type: integer
  11193. trademode:
  11194. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11195. 21:竞拍-大宗式 22:受托竞价
  11196. type: integer
  11197. tradeproperty:
  11198. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11199. 8:场外期权
  11200. type: integer
  11201. tradetype:
  11202. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11203. type: integer
  11204. required:
  11205. - marketid
  11206. - marketstatus
  11207. - openmethod
  11208. - reckonpricealgorithm
  11209. - trademode
  11210. - tradeproperty
  11211. type: object
  11212. models.Marketrun:
  11213. properties:
  11214. afternexttradedate:
  11215. description: 下下交易日
  11216. type: string
  11217. clearquoteflag:
  11218. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11219. type: integer
  11220. lastreckondate:
  11221. description: 最新交易日(结算成功)
  11222. type: string
  11223. machinedate:
  11224. description: 机器时间
  11225. type: string
  11226. manualflag:
  11227. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11228. type: integer
  11229. marketid:
  11230. description: 市场ID
  11231. type: integer
  11232. nexttradedate:
  11233. description: 下一交易日
  11234. type: string
  11235. pretradedate:
  11236. description: 上一交易日
  11237. type: string
  11238. reckonflag:
  11239. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11240. type: integer
  11241. runstatus:
  11242. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11243. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11244. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11245. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11246. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11247. 62.今日免清算
  11248. type: integer
  11249. sectionid:
  11250. description: 时间段号[多时段时用]
  11251. type: integer
  11252. tradedate:
  11253. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11254. type: string
  11255. tradedate2:
  11256. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11257. type: string
  11258. updatetime:
  11259. description: 更新时间
  11260. type: string
  11261. required:
  11262. - marketid
  11263. - nexttradedate
  11264. - reckonflag
  11265. - runstatus
  11266. - tradedate
  11267. - tradedate2
  11268. type: object
  11269. models.Messageboard:
  11270. properties:
  11271. contactnum:
  11272. description: 联系电话
  11273. type: string
  11274. createtime:
  11275. description: 创建时间
  11276. type: string
  11277. message:
  11278. description: 留言信息
  11279. type: string
  11280. messageboardid:
  11281. description: 留言簿ID(SEQ_MessageBoard)
  11282. type: integer
  11283. userid:
  11284. description: 用户ID
  11285. type: integer
  11286. required:
  11287. - messageboardid
  11288. type: object
  11289. models.MyCoupon:
  11290. properties:
  11291. accountid:
  11292. description: 资金账户ID
  11293. type: integer
  11294. areauserid:
  11295. description: 所属机构
  11296. type: integer
  11297. conditionvalue:
  11298. description: 条件阈值(可为0)
  11299. type: number
  11300. couponcategroy:
  11301. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11302. type: integer
  11303. couponname:
  11304. description: 优惠券名称
  11305. type: string
  11306. coupontypeid:
  11307. description: 优惠券类型ID
  11308. type: string
  11309. couponvalue:
  11310. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11311. type: number
  11312. curfreezeqty:
  11313. description: 期末冻结数量
  11314. type: integer
  11315. curqty:
  11316. description: 期末数量
  11317. type: integer
  11318. isgeneral:
  11319. description: 是否通用券 - 0:否 1:是
  11320. type: integer
  11321. isunusable:
  11322. description: 是否不可用
  11323. type: boolean
  11324. limitedflag:
  11325. description: 是否指定商品 - 0:不限 1:限制
  11326. type: integer
  11327. limitedgoodsids:
  11328. description: 指定商品IDs[逗号分隔,前后加逗号]
  11329. type: string
  11330. orifreezeqty:
  11331. description: 期初冻结数量
  11332. type: integer
  11333. oriqty:
  11334. description: 期初数量
  11335. type: integer
  11336. reasontype:
  11337. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11338. type: integer
  11339. todaydecrease:
  11340. description: 今日减少
  11341. type: integer
  11342. todayincrease:
  11343. description: 今日增加
  11344. type: integer
  11345. userid:
  11346. description: 用户ID
  11347. type: integer
  11348. userscope:
  11349. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11350. type: string
  11351. required:
  11352. - accountid
  11353. - coupontypeid
  11354. type: object
  11355. models.MyCouponHold:
  11356. properties:
  11357. accountid:
  11358. description: 资金账户ID
  11359. type: integer
  11360. conditionvalue:
  11361. description: 条件阈值(可为0)
  11362. type: number
  11363. couponcategroy:
  11364. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11365. type: integer
  11366. couponholdid:
  11367. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11368. type: string
  11369. couponname:
  11370. description: 优惠券名称
  11371. type: string
  11372. coupontypeid:
  11373. description: 优惠券类型ID - SEQ_COUPONTYPE
  11374. type: string
  11375. couponvalue:
  11376. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11377. type: number
  11378. createtime:
  11379. description: 创建时间
  11380. type: string
  11381. enddate:
  11382. description: 结束日期
  11383. type: string
  11384. giveapplyid:
  11385. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11386. type: integer
  11387. holdstatus:
  11388. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11389. type: integer
  11390. isgeneral:
  11391. description: 是否通用券 - 0:否 1:是
  11392. type: integer
  11393. limitedflag:
  11394. description: 是否指定商品 - 0:不限 1:限制
  11395. type: integer
  11396. limitedgoodsids:
  11397. description: 指定商品IDs[逗号分隔]
  11398. type: string
  11399. qty:
  11400. description: 数量(按1平铺)
  11401. type: integer
  11402. startdate:
  11403. description: 开始日期
  11404. type: string
  11405. userid:
  11406. description: 用户ID
  11407. type: integer
  11408. userscope:
  11409. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11410. type: string
  11411. required:
  11412. - couponholdid
  11413. type: object
  11414. models.MyUsedCoupon:
  11415. properties:
  11416. accountid:
  11417. description: 资金账户ID(买方)
  11418. type: integer
  11419. conditionvalue:
  11420. description: 条件阈值(可为0)
  11421. type: number
  11422. couponcategroy:
  11423. description: 种类 - 1:现金券 2:折扣券
  11424. type: integer
  11425. couponname:
  11426. description: 优惠券名称
  11427. type: string
  11428. coupontypeid:
  11429. description: 优惠券类型ID(买方)
  11430. type: string
  11431. couponvalue:
  11432. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11433. type: number
  11434. createtime:
  11435. description: 创建时间
  11436. type: string
  11437. goodsid:
  11438. description: 商品ID
  11439. type: integer
  11440. handlestatus:
  11441. description: 处理状态
  11442. type: integer
  11443. marketid:
  11444. description: 市场ID
  11445. type: integer
  11446. offamount:
  11447. description: 优惠金额
  11448. type: number
  11449. orderid:
  11450. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11451. type: string
  11452. sellaccountid:
  11453. description: 资金账户ID(卖方)
  11454. type: integer
  11455. tradeamount:
  11456. description: 成交金额
  11457. type: number
  11458. tradeid:
  11459. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11460. type: string
  11461. usedqty:
  11462. description: 使用数量
  11463. type: integer
  11464. required:
  11465. - coupontypeid
  11466. - orderid
  11467. type: object
  11468. models.OperationPrimaryMenu:
  11469. properties:
  11470. Children:
  11471. description: 二级功能菜单
  11472. items:
  11473. $ref: '#/definitions/models.OperationSecondaryMenu'
  11474. type: array
  11475. Key:
  11476. description: 菜单KEY
  11477. type: string
  11478. Label:
  11479. description: 菜单标题
  11480. type: string
  11481. type: object
  11482. models.OperationSecondaryMenu:
  11483. properties:
  11484. Key:
  11485. description: 菜单KEY
  11486. type: string
  11487. Label:
  11488. description: 菜单标题
  11489. type: string
  11490. TabList:
  11491. description: 三级功能菜单
  11492. items:
  11493. $ref: '#/definitions/models.OperationTabMenu'
  11494. type: array
  11495. type: object
  11496. models.OperationTabMenu:
  11497. properties:
  11498. Key:
  11499. description: 菜单KEY
  11500. type: string
  11501. Label:
  11502. description: 菜单标题
  11503. type: string
  11504. type: object
  11505. models.QhjAccountOutInApply:
  11506. properties:
  11507. accountcode:
  11508. description: 资金账号
  11509. type: string
  11510. accountname:
  11511. description: 用户名称(名称)
  11512. type: string
  11513. accountpwd:
  11514. description: 资金密码
  11515. type: string
  11516. accountticket:
  11517. description: 最新账户服务流水号
  11518. type: string
  11519. amount:
  11520. description: 金额
  11521. type: number
  11522. applyremark:
  11523. description: 申请备注
  11524. type: string
  11525. applystatus:
  11526. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11527. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11528. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11529. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11530. type: integer
  11531. auditid:
  11532. description: 审核人
  11533. type: integer
  11534. audittime:
  11535. description: 审核时间
  11536. type: string
  11537. bank_apply_ticket:
  11538. description: 银行申请流水
  11539. type: string
  11540. bankaccountname:
  11541. description: 银行账户名
  11542. type: string
  11543. bankaccountno:
  11544. description: 银行卡号
  11545. type: string
  11546. bankid:
  11547. description: 银行编号
  11548. type: string
  11549. bankticket:
  11550. description: 银行流水
  11551. type: string
  11552. branchbankid:
  11553. description: 银行支行号
  11554. type: string
  11555. branchbankname:
  11556. description: 银行支行名称
  11557. type: string
  11558. capamountout:
  11559. description: 出金(劣后本金) - 外部子账户
  11560. type: number
  11561. certificatephotourl:
  11562. description: 凭证地址
  11563. type: string
  11564. charge:
  11565. description: 手续费
  11566. type: number
  11567. checkerrorflag:
  11568. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11569. type: integer
  11570. currency:
  11571. description: 币种
  11572. type: string
  11573. cusbankid:
  11574. description: 托管银行编号
  11575. type: string
  11576. exchticket:
  11577. description: 银行服务流水号
  11578. type: string
  11579. executetype:
  11580. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11581. 7:外部子账户:入金 8:外部子账户:出金'
  11582. type: integer
  11583. extendinfo:
  11584. description: 扩展信息
  11585. type: string
  11586. extoperateid:
  11587. description: 交易服务流水号
  11588. type: integer
  11589. infamount:
  11590. description: 劣后金额(自有)
  11591. type: number
  11592. logincode:
  11593. description: 登录账号(账号)
  11594. type: string
  11595. netaddr:
  11596. description: 调转网址
  11597. type: string
  11598. priamount:
  11599. description: 优先金额(授信)
  11600. type: number
  11601. reauditid:
  11602. description: 复审人
  11603. type: integer
  11604. reauditremark:
  11605. description: 复审备注
  11606. type: string
  11607. reaudittime:
  11608. description: 复审时间
  11609. type: string
  11610. relatedorderid:
  11611. description: 三方关联ID
  11612. type: string
  11613. remark:
  11614. description: 备注
  11615. type: string
  11616. remark2:
  11617. description: 备注(失败原因)
  11618. type: string
  11619. soucreamount:
  11620. description: 原始出入金金额
  11621. type: number
  11622. soucrecurrencyid:
  11623. description: 原始出入金币种
  11624. type: integer
  11625. tradedate:
  11626. description: 交易日(yyyyMMdd)
  11627. type: string
  11628. updatetime:
  11629. description: 更新时间(申请时间)
  11630. type: string
  11631. userid:
  11632. description: 用户id
  11633. type: integer
  11634. userinfotype:
  11635. description: 账户类型 1-个人 2-企业
  11636. type: integer
  11637. type: object
  11638. models.QhjAgreementChangeLog:
  11639. properties:
  11640. agreementcontent:
  11641. description: 协议内容
  11642. type: string
  11643. agreementfrequency:
  11644. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11645. type: integer
  11646. agreementid:
  11647. description: 协议ID
  11648. type: integer
  11649. agreementname:
  11650. description: 协议名称
  11651. type: string
  11652. agreementno:
  11653. description: 协议编号
  11654. type: string
  11655. agreementtype:
  11656. description: 协议类型 - 1:注册 2:登录 3:交易
  11657. type: integer
  11658. agreementversion:
  11659. description: 协议版本号
  11660. type: integer
  11661. logid:
  11662. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  11663. type: integer
  11664. reviserid:
  11665. description: 修改人
  11666. type: integer
  11667. revisersrc:
  11668. description: 修改来源 - 1:管理端 2:终端
  11669. type: integer
  11670. updatetime:
  11671. description: 更新时间
  11672. type: string
  11673. type: object
  11674. models.QhjAgreementConfig:
  11675. properties:
  11676. agreementcontent:
  11677. description: 协议内容
  11678. type: string
  11679. agreementfrequency:
  11680. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11681. type: integer
  11682. agreementid:
  11683. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  11684. type: integer
  11685. agreementname:
  11686. description: 协议名称
  11687. type: string
  11688. agreementno:
  11689. description: 协议编号
  11690. type: string
  11691. agreementtype:
  11692. description: 协议类型 - 1:注册 2:登录 3:交易
  11693. type: integer
  11694. agreementversion:
  11695. description: 协议版本号(从1开始每次修改加1)
  11696. type: integer
  11697. createtime:
  11698. description: 创建时间
  11699. type: string
  11700. creatorid:
  11701. description: 创建人
  11702. type: integer
  11703. creatorsrc:
  11704. description: 创建来源 - 1:管理端 2:终端
  11705. type: integer
  11706. isvalid:
  11707. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  11708. type: integer
  11709. reviserid:
  11710. description: 修改人
  11711. type: integer
  11712. revisersrc:
  11713. description: 修改来源 - 1:管理端 2:终端
  11714. type: integer
  11715. updatetime:
  11716. description: 更新时间
  11717. type: string
  11718. type: object
  11719. models.QhjAreaFinanceConfig:
  11720. properties:
  11721. additionalratio:
  11722. description: 追加款比例
  11723. type: number
  11724. advanceratio:
  11725. description: 预付款比例
  11726. type: number
  11727. alarmratio:
  11728. description: 告警比例
  11729. type: number
  11730. consumptiondirectreward:
  11731. description: 消费直推奖励值
  11732. type: number
  11733. consumptionenabled:
  11734. description: 是否启用消费奖励 - 0:不启用 1:启用
  11735. type: integer
  11736. consumptionindirectreward:
  11737. description: 消费间推奖励值
  11738. type: number
  11739. consumptionmodel:
  11740. description: 消费奖励方式 - 1:比率 2:固定
  11741. type: integer
  11742. customerservicenum:
  11743. description: 客服电话
  11744. type: string
  11745. dayinterestrate:
  11746. description: 日利率
  11747. type: number
  11748. disableconsumptiontips:
  11749. description: 关闭消费奖励提示
  11750. type: string
  11751. modifierid:
  11752. description: 修改人ID
  11753. type: integer
  11754. modifysrc:
  11755. description: 审核来源 - 1:管理端 2:终端
  11756. type: integer
  11757. modifytime:
  11758. description: 修改时间
  11759. type: string
  11760. promotionvalue:
  11761. description: 推广奖励值(固定)
  11762. type: number
  11763. scoreconfigvalue1:
  11764. description: 提货积分配置1
  11765. type: integer
  11766. scoreconfigvalue2:
  11767. description: 提货积分配置2
  11768. type: integer
  11769. userid:
  11770. description: 机构用户ID其他做市关系,都设置为 1
  11771. type: integer
  11772. username:
  11773. description: 用户名称
  11774. type: string
  11775. type: object
  11776. models.QhjBankAccountSign:
  11777. properties:
  11778. accountcode:
  11779. description: 资金账号
  11780. type: string
  11781. accountname:
  11782. description: 资金账号对应的账号名(UserName)
  11783. type: string
  11784. accountname2:
  11785. description: 资金账号对应的账号名(UserName) - 密文
  11786. type: string
  11787. accounttype:
  11788. description: 账户类型(UserType)
  11789. type: integer
  11790. applicationtime:
  11791. description: 最后一次更新的时间
  11792. type: string
  11793. applyexchticket:
  11794. description: 申请流水
  11795. type: string
  11796. auditid:
  11797. description: 审核人
  11798. type: integer
  11799. audittime:
  11800. description: 审核时间
  11801. type: string
  11802. bankaccountname:
  11803. description: 签约银行卡账号名
  11804. type: string
  11805. bankaccountname2:
  11806. description: 签约银行卡账号名 - 密文
  11807. type: string
  11808. bankaccountno:
  11809. description: 银行卡号
  11810. type: string
  11811. bankaccountno2:
  11812. description: 银行卡号 - 密文
  11813. type: string
  11814. bankaccounttype:
  11815. description: 银行账户类型 - 1-对私; 2-对公
  11816. type: integer
  11817. bankcardtype:
  11818. description: 银行卡类型
  11819. type: integer
  11820. bankchildaccount:
  11821. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  11822. type: string
  11823. bankcity:
  11824. description: 开户行城市
  11825. type: string
  11826. bankid:
  11827. description: 签约银行ID
  11828. type: string
  11829. bankname:
  11830. description: 签约银行名称
  11831. type: string
  11832. bankprovince:
  11833. description: 开户行省份
  11834. type: string
  11835. branchbankid:
  11836. description: 签约银行支行号
  11837. type: string
  11838. branchbankname:
  11839. description: 签约银行支行名称
  11840. type: string
  11841. cardno:
  11842. description: 证件号码
  11843. type: string
  11844. cardno2:
  11845. description: 证件号码 - 密文
  11846. type: string
  11847. cardtype:
  11848. description: 证件类型
  11849. type: string
  11850. currency:
  11851. description: 币种
  11852. type: string
  11853. cusbankid:
  11854. description: 托管银行编号
  11855. type: string
  11856. direct:
  11857. description: 方向(可以判断那方先发起的签约)
  11858. type: integer
  11859. exchticket:
  11860. description: 最后一次签约成功的流水号
  11861. type: string
  11862. extendinfo:
  11863. description: 扩展信息(JSON字符串)
  11864. type: string
  11865. mobilephone:
  11866. description: 手机号
  11867. type: string
  11868. mobilephone2:
  11869. description: 手机号 - 密文
  11870. type: string
  11871. netaddr:
  11872. description: 调转网址
  11873. type: string
  11874. relateduserid:
  11875. description: 关联使用者userid
  11876. type: integer
  11877. signstatus:
  11878. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  11879. 10:审核拒绝 11:换签待审核
  11880. type: integer
  11881. updatetime:
  11882. description: 更新时间(签解约更新时间)
  11883. type: string
  11884. type: object
  11885. models.QhjBankInfo:
  11886. properties:
  11887. bankid:
  11888. description: 银行ID
  11889. type: string
  11890. bankname:
  11891. description: 银行名称
  11892. type: string
  11893. clearbankno:
  11894. description: 清算系统银行编号
  11895. type: string
  11896. orderindex:
  11897. description: 排序顺序
  11898. type: integer
  11899. status:
  11900. description: 状态 - 0:正常 1:注销
  11901. type: integer
  11902. type: object
  11903. models.QhjBrokerApply:
  11904. properties:
  11905. applicantid:
  11906. description: 申请人
  11907. type: integer
  11908. applysrc:
  11909. description: 申请来源 - 1:管理端 2:终端
  11910. type: integer
  11911. applystatus:
  11912. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11913. type: integer
  11914. applytime:
  11915. description: 申请时间
  11916. type: string
  11917. auditorid:
  11918. description: 审核人
  11919. type: integer
  11920. auditremark:
  11921. description: 审核备注
  11922. type: string
  11923. auditsrc:
  11924. description: 审核来源 - 1:管理端 2:终端
  11925. type: integer
  11926. audittime:
  11927. description: 审核时间
  11928. type: string
  11929. audittradedate:
  11930. description: 审核交易日(yyyyMMdd)
  11931. type: string
  11932. brokerapplyid:
  11933. description: 申请ID(SEQ_BROKERAPPLY)
  11934. type: integer
  11935. cardbackphotourl:
  11936. description: 证件背面图片地址
  11937. type: string
  11938. cardfrontphotourl:
  11939. description: 证件正面图片地址
  11940. type: string
  11941. cardnum:
  11942. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11943. type: string
  11944. customername:
  11945. description: 姓名
  11946. type: string
  11947. logincode:
  11948. description: 登录代码
  11949. type: string
  11950. mobile:
  11951. description: 手机号码
  11952. type: string
  11953. parentuserid:
  11954. description: 所属机构id
  11955. type: integer
  11956. parentusername:
  11957. description: 所属机构名称
  11958. type: string
  11959. refereeuserid:
  11960. description: 推荐人id(经纪人)
  11961. type: integer
  11962. refernum:
  11963. description: 推荐码
  11964. type: string
  11965. remark:
  11966. description: 备注
  11967. type: string
  11968. subarealevelpath:
  11969. description: 层级路径
  11970. type: string
  11971. tradedate:
  11972. description: 交易日(yyyyMMdd)
  11973. type: string
  11974. userid:
  11975. description: 申请人用户ID
  11976. type: integer
  11977. userinfotype:
  11978. description: 用户类型 1-个人 2-企业
  11979. type: integer
  11980. username:
  11981. description: 用户名称
  11982. type: string
  11983. type: object
  11984. models.QhjBrokerApplyEx:
  11985. properties:
  11986. applylist:
  11987. description: 经纪人申请记录(只返回最新一条)
  11988. items:
  11989. $ref: '#/definitions/models.QhjBrokerApply'
  11990. type: array
  11991. canrecommend:
  11992. description: 是否经纪人 0-不是 1-是
  11993. type: integer
  11994. refernum:
  11995. description: 推荐码
  11996. type: string
  11997. userid:
  11998. description: 用户id
  11999. type: integer
  12000. userinfotype:
  12001. description: 用户类型 1-个人 2-企业
  12002. type: integer
  12003. type: object
  12004. models.QhjBrokerRewardLog:
  12005. properties:
  12006. accountid:
  12007. description: 资金账号ID
  12008. type: integer
  12009. createtime:
  12010. description: 创建时间(时间)
  12011. type: string
  12012. handlestatus:
  12013. description: 处理状态
  12014. type: integer
  12015. logid:
  12016. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12017. type: string
  12018. marketid:
  12019. description: 市场ID
  12020. type: integer
  12021. mmaccountid:
  12022. description: 做市商资金账号ID
  12023. type: string
  12024. mmuserid:
  12025. description: 做市商用户ID
  12026. type: string
  12027. rewardamount:
  12028. description: 奖励金额
  12029. type: number
  12030. rewardmodel:
  12031. description: 消费奖励方式 - 1:比率 2:固定
  12032. type: integer
  12033. rewardtype:
  12034. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12035. type: integer
  12036. rewardvalue:
  12037. description: 配置奖励值
  12038. type: number
  12039. srcamount:
  12040. description: 成交金额 [消费奖励] (金额)
  12041. type: number
  12042. srcgoodsid:
  12043. description: 来源商品ID [消费奖励]
  12044. type: string
  12045. srctime:
  12046. description: 来源时间 (成交时间) [消费奖励]
  12047. type: string
  12048. srctradeid:
  12049. description: 来源成交单ID [消费奖励] - 排除提货成交
  12050. type: string
  12051. srcuserid:
  12052. description: 来源用户ID(推广账户)
  12053. type: string
  12054. srcusername:
  12055. description: 推广账户名称
  12056. type: string
  12057. tradedate:
  12058. description: 交易日(yyyyMMdd)
  12059. type: string
  12060. userid:
  12061. description: 经纪人用户ID
  12062. type: integer
  12063. type: object
  12064. models.QhjContract:
  12065. properties:
  12066. contractconfirmtime:
  12067. description: 合同确认时间(时间)
  12068. type: string
  12069. currisklevel:
  12070. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12071. type: integer
  12072. decimalplace:
  12073. description: 商品报价小数位
  12074. type: integer
  12075. enumdicname:
  12076. description: 单位名称
  12077. type: string
  12078. goodscode:
  12079. description: 商品代码
  12080. type: string
  12081. goodsid:
  12082. description: 商品ID [5:融资单]
  12083. type: integer
  12084. goodsname:
  12085. description: 商品名称
  12086. type: string
  12087. goodunitid:
  12088. description: 商品单位id
  12089. type: integer
  12090. initmargin:
  12091. description: 初始保证金(首付款)
  12092. type: number
  12093. lenderamount:
  12094. description: 贷款金额(总额|订单总额)
  12095. type: number
  12096. marginratio:
  12097. description: 保证金比率(首付比例)
  12098. type: number
  12099. payamount:
  12100. description: 已付(已付货款)
  12101. type: number
  12102. reckonrecovermargin:
  12103. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12104. type: number
  12105. recoveredmargin:
  12106. description: 已追缴保证金
  12107. type: number
  12108. remainamount:
  12109. description: 合同剩余金额(融资额)
  12110. type: number
  12111. scfcontractid:
  12112. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12113. type: string
  12114. scfcontractstatus:
  12115. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12116. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12117. type: integer
  12118. scfcontracttype:
  12119. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12120. type: integer
  12121. totalinterest:
  12122. description: 已计总利息(利息)
  12123. type: number
  12124. tradeprice:
  12125. description: 成交价格(成本价格)
  12126. type: number
  12127. userid:
  12128. description: 用户ID
  12129. type: integer
  12130. username:
  12131. description: 用户名称
  12132. type: string
  12133. wrqty:
  12134. description: 仓单数量(数量)
  12135. type: number
  12136. type: object
  12137. models.QhjContractLog:
  12138. properties:
  12139. amount:
  12140. description: 支付金额
  12141. type: number
  12142. amounttype:
  12143. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12144. type: integer
  12145. logid:
  12146. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12147. type: string
  12148. remainamount:
  12149. description: 剩余货款
  12150. type: number
  12151. scfcontractid:
  12152. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12153. type: integer
  12154. updatetime:
  12155. description: 更新时间
  12156. type: string
  12157. type: object
  12158. models.QhjCusBankSignBankEx:
  12159. properties:
  12160. banklst:
  12161. description: 银行列表
  12162. items:
  12163. $ref: '#/definitions/models.QhjBankInfo'
  12164. type: array
  12165. canallot:
  12166. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12167. type: integer
  12168. canallotquery:
  12169. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12170. type: integer
  12171. canbindcard:
  12172. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12173. type: integer
  12174. caninamount:
  12175. description: 是否可入金 - 0:不可 1:可以
  12176. type: integer
  12177. caninamount2:
  12178. description: 是否可入金(网银端) - 0:不可 1:可以
  12179. type: integer
  12180. canmodifybankcard:
  12181. description: 是否可修改银行卡号 - 0:不可 1:可以
  12182. type: integer
  12183. canmodifyphone:
  12184. description: 是否可修改手机号 - 0:不可 1:可以
  12185. type: integer
  12186. canmodifysigninfo:
  12187. description: 是否可修改签约信息 - 0:不可 1:可以
  12188. type: integer
  12189. canoutamount:
  12190. description: 是否可出金 - 0:不可 1:可以
  12191. type: integer
  12192. canoutamount2:
  12193. description: 是否可出金(网银端) - 0:不可 1:可以
  12194. type: integer
  12195. canrelease:
  12196. description: 是否可解约 - 0:不可 1:可以
  12197. type: integer
  12198. canrelease2:
  12199. description: 是否可解约(网银端) - 0:不可 1:可以
  12200. type: integer
  12201. cansign:
  12202. description: 是否可签约 - 0:不可 1:可以
  12203. type: integer
  12204. cansign2:
  12205. description: 是否可签约(网银端) - 0:不可 1:可以
  12206. type: integer
  12207. currency:
  12208. description: 币种
  12209. type: string
  12210. cusbankid:
  12211. description: 托管银行编号(对应清算中心TRAN_NO)
  12212. type: string
  12213. cusbankname:
  12214. description: 银行业务名称
  12215. type: string
  12216. cusbankshortname:
  12217. description: 银行业务简称
  12218. type: string
  12219. exchbankid:
  12220. description: 交易所开户银行ID
  12221. type: string
  12222. exchpaybankaccname:
  12223. description: 交易所支出结算账户户名
  12224. type: string
  12225. exchpaybankaccno:
  12226. description: 交易所支出结算账户
  12227. type: string
  12228. isneedcheck:
  12229. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12230. type: integer
  12231. isneedclear:
  12232. description: 是否需要清算 - 0:不需要 1:需要
  12233. type: integer
  12234. lastcheckstatus:
  12235. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12236. type: integer
  12237. lastchecktime:
  12238. description: 最后对账时间
  12239. type: string
  12240. lastclearstatus:
  12241. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12242. type: integer
  12243. lastcleartime:
  12244. description: 最后清算时间
  12245. type: string
  12246. lastsignintime:
  12247. description: 最后签到时间
  12248. type: string
  12249. lastsignouttime:
  12250. description: 最后签退时间
  12251. type: string
  12252. riskinfo:
  12253. description: 签约风险提示书
  12254. type: string
  12255. signstatus:
  12256. description: 当前签到/签退状态 - 1:签到 2:签退
  12257. type: integer
  12258. tradedate:
  12259. description: 交易日(yyyyMMdd)
  12260. type: string
  12261. updatetime:
  12262. description: 当前签到/签退更新时间
  12263. type: string
  12264. type: object
  12265. models.QhjCustomer:
  12266. properties:
  12267. address:
  12268. description: 通讯地址
  12269. type: string
  12270. attachment1:
  12271. description: 附件1
  12272. type: string
  12273. attachment2:
  12274. description: 附件2
  12275. type: string
  12276. audittime:
  12277. description: 审核时间
  12278. type: string
  12279. cardbackphotourl:
  12280. description: 证件反面图片地址
  12281. type: string
  12282. cardfrontphotourl:
  12283. description: 证件正面图片地址
  12284. type: string
  12285. cardnum:
  12286. description: 证件号码
  12287. type: string
  12288. cardtype:
  12289. description: 证件类型
  12290. type: integer
  12291. cardtypename:
  12292. description: 证件类型名称
  12293. type: string
  12294. cityid:
  12295. description: 市
  12296. type: integer
  12297. cityname:
  12298. description: 城市名称
  12299. type: string
  12300. contactname:
  12301. description: 联系人
  12302. type: string
  12303. countryid:
  12304. description: 国家
  12305. type: integer
  12306. countryname:
  12307. description: 国家名称
  12308. type: string
  12309. createtime:
  12310. description: 创建时间
  12311. type: string
  12312. customername:
  12313. description: 客户名称
  12314. type: string
  12315. districtid:
  12316. description: 区域
  12317. type: integer
  12318. districtname:
  12319. description: 地区名称
  12320. type: string
  12321. email:
  12322. description: 邮件
  12323. type: string
  12324. legalpersonname:
  12325. description: 法人姓名(企业)
  12326. type: string
  12327. logincode:
  12328. description: 登录账号(代码)
  12329. type: string
  12330. memberuserid:
  12331. description: 所属机构ID(所属会员)
  12332. type: integer
  12333. memberusername:
  12334. description: 所属会员名称
  12335. type: string
  12336. mobile:
  12337. description: 手机号码
  12338. type: string
  12339. modifytime:
  12340. description: 修改时间
  12341. type: string
  12342. nickname:
  12343. description: 昵称
  12344. type: string
  12345. parentuserid:
  12346. description: 上级机构(所属机构)
  12347. type: integer
  12348. parentusername:
  12349. description: 所属机构名称
  12350. type: string
  12351. provinceid:
  12352. description: 省
  12353. type: integer
  12354. provincename:
  12355. description: 省名称
  12356. type: string
  12357. proxystatementurl:
  12358. description: 授权委托书
  12359. type: string
  12360. remark:
  12361. description: 备注
  12362. type: string
  12363. status:
  12364. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12365. type: integer
  12366. statusdesc:
  12367. description: 账户状态中文描述
  12368. type: string
  12369. taxpayernum:
  12370. description: 纳税人识别号
  12371. type: string
  12372. telphone:
  12373. description: 联系电话
  12374. type: string
  12375. userid:
  12376. description: 用户ID
  12377. type: integer
  12378. userinfotype:
  12379. description: 客户类型 1-个人 2-企业
  12380. type: integer
  12381. username:
  12382. description: 用户名称
  12383. type: string
  12384. type: object
  12385. models.QhjCustomerSignLog:
  12386. properties:
  12387. agreementcontent:
  12388. description: 协议内容
  12389. type: string
  12390. agreementid:
  12391. description: 协议ID
  12392. type: integer
  12393. agreementname:
  12394. description: 协议名称
  12395. type: string
  12396. agreementno:
  12397. description: 协议编号
  12398. type: string
  12399. agreementtype:
  12400. description: 协议类型 - 1:注册 2:登录 3:交易
  12401. type: integer
  12402. agreementversion:
  12403. description: 协议版本号
  12404. type: integer
  12405. createtime:
  12406. description: 创建时间
  12407. type: string
  12408. goodscode:
  12409. description: 商品代码
  12410. type: string
  12411. goodsid:
  12412. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12413. type: integer
  12414. goodsname:
  12415. description: 商品名称
  12416. type: string
  12417. logid:
  12418. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  12419. type: integer
  12420. nodetype:
  12421. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12422. type: integer
  12423. signadressurl:
  12424. description: 签约文件地址
  12425. type: string
  12426. signtimestamp:
  12427. description: 签约状态时间戳
  12428. type: string
  12429. userid:
  12430. description: 客户ID
  12431. type: integer
  12432. username:
  12433. description: 客户名称
  12434. type: string
  12435. type: object
  12436. models.QhjCustomerSignStatus:
  12437. properties:
  12438. createtime:
  12439. description: 创建时间
  12440. type: string
  12441. goodscode:
  12442. description: 商品代码
  12443. type: string
  12444. goodsid:
  12445. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12446. type: integer
  12447. goodsname:
  12448. description: 商品名称
  12449. type: string
  12450. nodetype:
  12451. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  12452. type: integer
  12453. signtimestamp:
  12454. description: 签约状态时间戳
  12455. type: string
  12456. tradedate:
  12457. description: 创建交易日(yyyyMMdd)
  12458. type: string
  12459. updatetime:
  12460. description: 更新时间
  12461. type: string
  12462. userid:
  12463. description: 客户ID
  12464. type: integer
  12465. username:
  12466. description: 客户名称
  12467. type: string
  12468. type: object
  12469. models.QhjMgrAccountOutInApply:
  12470. properties:
  12471. accountcode:
  12472. description: 资金账号
  12473. type: string
  12474. accountname:
  12475. description: 用户名称(名称)
  12476. type: string
  12477. accountpwd:
  12478. description: 资金密码
  12479. type: string
  12480. accountticket:
  12481. description: 最新账户服务流水号
  12482. type: string
  12483. amount:
  12484. description: 金额
  12485. type: number
  12486. applyremark:
  12487. description: 申请备注
  12488. type: string
  12489. applystatus:
  12490. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12491. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12492. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12493. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12494. type: integer
  12495. auditid:
  12496. description: 审核人
  12497. type: integer
  12498. audittime:
  12499. description: 审核时间
  12500. type: string
  12501. bank_apply_ticket:
  12502. description: 银行申请流水
  12503. type: string
  12504. bankaccountname:
  12505. description: 银行账户名
  12506. type: string
  12507. bankaccountno:
  12508. description: 银行卡号
  12509. type: string
  12510. bankid:
  12511. description: 银行编号
  12512. type: string
  12513. bankname:
  12514. description: 银行名称
  12515. type: string
  12516. bankticket:
  12517. description: 银行流水
  12518. type: string
  12519. branchbankid:
  12520. description: 银行支行号
  12521. type: string
  12522. branchbankname:
  12523. description: 银行支行名称
  12524. type: string
  12525. capamountout:
  12526. description: 出金(劣后本金) - 外部子账户
  12527. type: number
  12528. certificatephotourl:
  12529. description: 凭证地址
  12530. type: string
  12531. charge:
  12532. description: 手续费
  12533. type: number
  12534. checkerrorflag:
  12535. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12536. type: integer
  12537. currency:
  12538. description: 币种
  12539. type: string
  12540. cusbankid:
  12541. description: 托管银行编号
  12542. type: string
  12543. exchticket:
  12544. description: 银行服务流水号
  12545. type: string
  12546. executetype:
  12547. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12548. 7:外部子账户:入金 8:外部子账户:出金'
  12549. type: integer
  12550. extendinfo:
  12551. description: 扩展信息
  12552. type: string
  12553. extoperateid:
  12554. description: 交易服务流水号
  12555. type: integer
  12556. infamount:
  12557. description: 劣后金额(自有)
  12558. type: number
  12559. logincode:
  12560. description: 登录账号(账号)
  12561. type: string
  12562. netaddr:
  12563. description: 调转网址
  12564. type: string
  12565. priamount:
  12566. description: 优先金额(授信)
  12567. type: number
  12568. reauditid:
  12569. description: 复审人
  12570. type: integer
  12571. reauditremark:
  12572. description: 复审备注
  12573. type: string
  12574. reaudittime:
  12575. description: 复审时间
  12576. type: string
  12577. relatedorderid:
  12578. description: 三方关联ID
  12579. type: string
  12580. remark:
  12581. description: 备注
  12582. type: string
  12583. remark2:
  12584. description: 备注(失败原因)
  12585. type: string
  12586. soucreamount:
  12587. description: 原始出入金金额
  12588. type: number
  12589. soucrecurrencyid:
  12590. description: 原始出入金币种
  12591. type: integer
  12592. tradedate:
  12593. description: 交易日(yyyyMMdd)
  12594. type: string
  12595. updatetime:
  12596. description: 更新时间(申请时间)
  12597. type: string
  12598. userid:
  12599. description: 用户id
  12600. type: integer
  12601. userinfotype:
  12602. description: 账户类型 1-个人 2-企业
  12603. type: integer
  12604. type: object
  12605. models.QhjMgrBrokerApply:
  12606. properties:
  12607. applicantid:
  12608. description: 申请人
  12609. type: integer
  12610. applysrc:
  12611. description: 申请来源 - 1:管理端 2:终端
  12612. type: integer
  12613. applystatus:
  12614. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12615. type: integer
  12616. applytime:
  12617. description: 申请时间
  12618. type: string
  12619. auditorid:
  12620. description: 审核人
  12621. type: integer
  12622. auditremark:
  12623. description: 审核备注
  12624. type: string
  12625. auditsrc:
  12626. description: 审核来源 - 1:管理端 2:终端
  12627. type: integer
  12628. audittime:
  12629. description: 审核时间
  12630. type: string
  12631. audittradedate:
  12632. description: 审核交易日(yyyyMMdd)
  12633. type: string
  12634. brokerapplyid:
  12635. description: 申请ID(SEQ_BROKERAPPLY)
  12636. type: integer
  12637. cardbackphotourl:
  12638. description: 证件背面图片地址
  12639. type: string
  12640. cardfrontphotourl:
  12641. description: 证件正面图片地址
  12642. type: string
  12643. cardnum:
  12644. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12645. type: string
  12646. customername:
  12647. description: 姓名
  12648. type: string
  12649. filterstatus:
  12650. description: 筛选条件
  12651. type: string
  12652. logincode:
  12653. description: 登录代码
  12654. type: string
  12655. mobile:
  12656. description: 手机号码
  12657. type: string
  12658. parentuserid:
  12659. description: 所属机构id
  12660. type: integer
  12661. parentusername:
  12662. description: 所属机构名称
  12663. type: string
  12664. refereeuserid:
  12665. description: 推荐人id(经纪人)
  12666. type: integer
  12667. refernum:
  12668. description: 推荐码
  12669. type: string
  12670. remark:
  12671. description: 备注
  12672. type: string
  12673. subarealevelpath:
  12674. description: 层级路径
  12675. type: string
  12676. tradedate:
  12677. description: 交易日(yyyyMMdd)
  12678. type: string
  12679. userid:
  12680. description: 申请人用户ID
  12681. type: integer
  12682. userinfotype:
  12683. description: 用户类型 1-个人 2-企业
  12684. type: integer
  12685. username:
  12686. description: 用户名称
  12687. type: string
  12688. type: object
  12689. models.QhjMgrBrokerRewardReport:
  12690. properties:
  12691. createtime:
  12692. description: 创建时间(注册时间)
  12693. type: string
  12694. cycletime:
  12695. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  12696. type: string
  12697. cycletype:
  12698. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  12699. type: integer
  12700. directtotalnum:
  12701. description: 直推总人数【期末】
  12702. type: integer
  12703. indirecttotalnum:
  12704. description: 间推总人数【期末】
  12705. type: integer
  12706. mobile:
  12707. description: 电话号码
  12708. type: string
  12709. refereeuserid:
  12710. description: 推荐人id(经纪人id)
  12711. type: integer
  12712. refereeusername:
  12713. description: 推荐人名称(经纪人) 上级经纪人名称
  12714. type: string
  12715. refernum:
  12716. description: 推荐码
  12717. type: string
  12718. subarealevelpath:
  12719. description: 用户层级路径
  12720. type: string
  12721. todayrewardamount:
  12722. description: 奖励总金额【汇总】
  12723. type: number
  12724. updatetime:
  12725. description: 更新时间
  12726. type: string
  12727. userid:
  12728. description: 经纪人用户ID
  12729. type: integer
  12730. userinfotype:
  12731. description: 用户类型 1-个人 2-企业
  12732. type: integer
  12733. username:
  12734. description: 用户名称
  12735. type: string
  12736. type: object
  12737. models.QhjMgrContract:
  12738. properties:
  12739. contractconfirmtime:
  12740. description: 合同确认时间(时间)
  12741. type: string
  12742. currisklevel:
  12743. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12744. type: integer
  12745. decimalplace:
  12746. description: 商品报价小数位
  12747. type: integer
  12748. enumdicname:
  12749. description: 单位名称
  12750. type: string
  12751. goodscode:
  12752. description: 商品代码
  12753. type: string
  12754. goodsid:
  12755. description: 商品ID [5:融资单]
  12756. type: integer
  12757. goodsname:
  12758. description: 商品名称
  12759. type: string
  12760. goodunitid:
  12761. description: 商品单位id
  12762. type: integer
  12763. initmargin:
  12764. description: 初始保证金(首付款)
  12765. type: number
  12766. lenderamount:
  12767. description: 贷款金额(总额|订单总额)
  12768. type: number
  12769. logincode:
  12770. description: 账号(登录代码)
  12771. type: string
  12772. marginratio:
  12773. description: 保证金比率(首付比例)
  12774. type: number
  12775. mobile:
  12776. description: 电话号码(用户资料里的电话)
  12777. type: string
  12778. payamount:
  12779. description: 已付(已付货款)
  12780. type: number
  12781. reckonrecovermargin:
  12782. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12783. type: number
  12784. recoveredmargin:
  12785. description: 已追缴保证金
  12786. type: number
  12787. remainamount:
  12788. description: 合同剩余金额(融资额)
  12789. type: number
  12790. scfcontractid:
  12791. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12792. type: string
  12793. scfcontractstatus:
  12794. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12795. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12796. type: integer
  12797. scfcontracttype:
  12798. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12799. type: integer
  12800. totalinterest:
  12801. description: 已计总利息(利息)
  12802. type: number
  12803. tradedate:
  12804. description: 交易日
  12805. type: string
  12806. tradeprice:
  12807. description: 成交价格(成本价格)
  12808. type: number
  12809. userid:
  12810. description: 用户ID
  12811. type: integer
  12812. userinfotype:
  12813. description: 用户类型 1-个人 2-企业
  12814. type: integer
  12815. username:
  12816. description: 用户名称
  12817. type: string
  12818. wrqty:
  12819. description: 仓单数量(数量)
  12820. type: number
  12821. type: object
  12822. models.QhjMgrCustomer:
  12823. properties:
  12824. address:
  12825. description: 通讯地址
  12826. type: string
  12827. attachment1:
  12828. description: 附件1
  12829. type: string
  12830. audittime:
  12831. description: 审核时间
  12832. type: string
  12833. birthday:
  12834. description: 生日
  12835. type: string
  12836. brokerid:
  12837. description: 所属客户经理id
  12838. type: integer
  12839. brokername:
  12840. description: 所属客户经理名称
  12841. type: string
  12842. cardbackphotourl:
  12843. description: 证件反面图片地址
  12844. type: string
  12845. cardfrontphotourl:
  12846. description: 证件正面图片地址
  12847. type: string
  12848. cardnum:
  12849. description: 证件号码
  12850. type: string
  12851. cardtype:
  12852. description: 证件类型
  12853. type: integer
  12854. cardtypename:
  12855. description: 证件类型名称
  12856. type: string
  12857. cityid:
  12858. description: 市
  12859. type: integer
  12860. cityname:
  12861. description: 城市名称
  12862. type: string
  12863. contactname:
  12864. description: 联系人
  12865. type: string
  12866. countryid:
  12867. description: 国家
  12868. type: integer
  12869. countryname:
  12870. description: 国家名称
  12871. type: string
  12872. createtime:
  12873. description: 创建时间
  12874. type: string
  12875. customername:
  12876. description: 客户名称
  12877. type: string
  12878. districtid:
  12879. description: 区域
  12880. type: integer
  12881. districtname:
  12882. description: 地区名称
  12883. type: string
  12884. email:
  12885. description: 邮件
  12886. type: string
  12887. legalpersonname:
  12888. description: 法人姓名(企业)
  12889. type: string
  12890. logincode:
  12891. description: 登录账号(代码)
  12892. type: string
  12893. memberuserid:
  12894. description: 所属机构ID(所属会员)
  12895. type: integer
  12896. memberusername:
  12897. description: 所属会员名称
  12898. type: string
  12899. mobile:
  12900. description: 手机号码
  12901. type: string
  12902. modifytime:
  12903. description: 修改时间
  12904. type: string
  12905. nickname:
  12906. description: 昵称
  12907. type: string
  12908. parentuserid:
  12909. description: 上级机构(所属机构)
  12910. type: integer
  12911. parentusername:
  12912. description: 所属机构名称
  12913. type: string
  12914. provinceid:
  12915. description: 省
  12916. type: integer
  12917. provincename:
  12918. description: 省名称
  12919. type: string
  12920. proxystatementurl:
  12921. description: 授权委托书
  12922. type: string
  12923. querytype:
  12924. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  12925. type: integer
  12926. remark:
  12927. description: 备注
  12928. type: string
  12929. sex:
  12930. description: 性别 0-女 1-男
  12931. type: integer
  12932. status:
  12933. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  12934. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  12935. type: integer
  12936. statusdesc:
  12937. description: 账户状态中文描述
  12938. type: string
  12939. taxpayernum:
  12940. description: 纳税人识别号
  12941. type: string
  12942. telphone:
  12943. description: 联系电话
  12944. type: string
  12945. userid:
  12946. description: 用户ID
  12947. type: integer
  12948. userinfotype:
  12949. description: 客户类型 1-个人 2-企业
  12950. type: integer
  12951. username:
  12952. description: 用户名称
  12953. type: string
  12954. type: object
  12955. models.QhjMgrPickGoods:
  12956. properties:
  12957. enumdicname:
  12958. description: 单位名称(提货商品)
  12959. type: string
  12960. goodsid:
  12961. description: 商品id
  12962. type: integer
  12963. imageaddress:
  12964. description: 图片
  12965. type: string
  12966. modifierid:
  12967. description: 修改人
  12968. type: integer
  12969. modifiername:
  12970. description: 修改人名称
  12971. type: string
  12972. modifysrc:
  12973. description: 修改来源 - 1:管理端 2:终端
  12974. type: integer
  12975. pickupgoodsagreeunit:
  12976. description: 合约乘数
  12977. type: number
  12978. pickupgoodsdesc:
  12979. description: 描述
  12980. type: string
  12981. pickupgoodsid:
  12982. description: 提货商品ID
  12983. type: string
  12984. pickupgoodsname:
  12985. description: 提货商品名称
  12986. type: string
  12987. pickupgoodsstatus:
  12988. description: 状态 - 1:正常 2:停用 3:注销
  12989. type: integer
  12990. pickupgoodsunitid:
  12991. description: 单位ID
  12992. type: integer
  12993. pickupratio:
  12994. description: 提货系数
  12995. type: number
  12996. preparedays:
  12997. description: 备货期(天)
  12998. type: integer
  12999. remark:
  13000. description: 备注
  13001. type: string
  13002. updatetime:
  13003. description: 更新时间
  13004. type: string
  13005. type: object
  13006. models.QhjMgrPositionRsp:
  13007. properties:
  13008. accountid:
  13009. description: 账号Id
  13010. type: integer
  13011. accountname:
  13012. description: 用户名称
  13013. type: string
  13014. agreeunit:
  13015. description: 合约乘数
  13016. type: number
  13017. averageprice:
  13018. description: 均价
  13019. type: number
  13020. avialqty:
  13021. description: 可用数量
  13022. type: number
  13023. decimalplace:
  13024. description: 报价小数位
  13025. type: integer
  13026. enumdicname:
  13027. description: 单位名称(商品)
  13028. type: string
  13029. frozenqty:
  13030. description: 冻结数量
  13031. type: number
  13032. goodscode:
  13033. description: 商品代码(内部)
  13034. type: string
  13035. goodsid:
  13036. description: 商品Id
  13037. type: integer
  13038. goodsname:
  13039. description: 商品名称
  13040. type: string
  13041. goodunitid:
  13042. description: 报价单位ID
  13043. type: integer
  13044. holderamount:
  13045. description: 金额
  13046. type: number
  13047. holderqty:
  13048. description: 持有数量
  13049. type: number
  13050. holdertype:
  13051. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13052. type: integer
  13053. logincode:
  13054. description: 登录代码(账户)
  13055. type: string
  13056. marketid:
  13057. description: 市场id
  13058. type: integer
  13059. qtydecimalplace:
  13060. description: 成交量小数位
  13061. type: integer
  13062. trademode:
  13063. description: 交易模式
  13064. type: integer
  13065. userid:
  13066. description: 用户id
  13067. type: integer
  13068. userinfotype:
  13069. description: 账户类型 1-个人 2-企业
  13070. type: integer
  13071. type: object
  13072. models.QhjMgrSubArea:
  13073. properties:
  13074. accountname:
  13075. description: 账户名称(机构名称)
  13076. type: string
  13077. memberuserid:
  13078. description: 所属会员ID
  13079. type: integer
  13080. parenttopuser:
  13081. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13082. type: string
  13083. parentuserid:
  13084. description: 所属机构ID
  13085. type: integer
  13086. rootuserid:
  13087. description: 根用户ID
  13088. type: string
  13089. subaccountlevel:
  13090. description: 子账户层数
  13091. type: integer
  13092. subarealevelpath:
  13093. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13094. type: string
  13095. userid:
  13096. description: 用户ID
  13097. type: integer
  13098. usertype:
  13099. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13100. type: integer
  13101. type: object
  13102. models.QhjMgrTradeDetailRsp:
  13103. properties:
  13104. accountid:
  13105. description: 资金账号
  13106. type: integer
  13107. accountname:
  13108. description: 用户名称
  13109. type: string
  13110. agreeunit:
  13111. description: 合约乘数
  13112. type: number
  13113. buyorsell:
  13114. description: 成交类型(方向) 0:买 1:卖
  13115. type: integer
  13116. decimalplace:
  13117. description: 报价小数位
  13118. type: integer
  13119. enumdicname:
  13120. description: 单位名称(商品)
  13121. type: string
  13122. goodscode:
  13123. description: 商品代码(内部)
  13124. type: string
  13125. goodsid:
  13126. description: 商品id
  13127. type: integer
  13128. goodsname:
  13129. description: 商品名称
  13130. type: string
  13131. goodunitid:
  13132. description: 报价单位ID
  13133. type: integer
  13134. logincode:
  13135. description: 登录代码(账户)
  13136. type: string
  13137. marketid:
  13138. description: 市场id
  13139. type: integer
  13140. orderid:
  13141. description: 关联委托单号
  13142. type: string
  13143. qtydecimalplace:
  13144. description: 成交量小数位
  13145. type: integer
  13146. tradeamount:
  13147. description: 金额
  13148. type: number
  13149. tradedate:
  13150. description: 交易日
  13151. type: string
  13152. tradeid:
  13153. description: 成交单号
  13154. type: string
  13155. trademode:
  13156. description: 交易模式
  13157. type: integer
  13158. tradeprice:
  13159. description: 价格
  13160. type: number
  13161. tradeqty:
  13162. description: 数量
  13163. type: number
  13164. tradetime:
  13165. description: 成交时间
  13166. type: string
  13167. userid:
  13168. description: 用户id
  13169. type: integer
  13170. userinfotype:
  13171. description: 账户类型 1-个人 2-企业
  13172. type: integer
  13173. type: object
  13174. models.QhjMgrTradeOrderDetailRsp:
  13175. properties:
  13176. accountid:
  13177. description: 资金账号
  13178. type: integer
  13179. accountname:
  13180. description: 用户名称
  13181. type: string
  13182. agreeunit:
  13183. description: 合约乘数
  13184. type: number
  13185. amount:
  13186. description: 金额
  13187. type: number
  13188. decimalplace:
  13189. description: 报价小数位
  13190. type: integer
  13191. enumdicname:
  13192. description: 单位名称(商品)
  13193. type: string
  13194. goodscode:
  13195. description: 商品代码(内部)
  13196. type: string
  13197. goodsid:
  13198. description: 商品id
  13199. type: integer
  13200. goodsname:
  13201. description: 商品名称
  13202. type: string
  13203. goodunitid:
  13204. description: 报价单位ID
  13205. type: integer
  13206. logincode:
  13207. description: 登录代码(账户)
  13208. type: string
  13209. marketid:
  13210. description: 市场id
  13211. type: integer
  13212. orderid:
  13213. description: 关联委托单号
  13214. type: string
  13215. orderprice:
  13216. description: 价格
  13217. type: number
  13218. orderqty:
  13219. description: 数量
  13220. type: number
  13221. orderstatus:
  13222. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13223. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13224. 16:成交失败违约(荷兰式竞拍专用)
  13225. type: integer
  13226. ordertime:
  13227. description: 委托时间
  13228. type: string
  13229. qtydecimalplace:
  13230. description: 成交量小数位
  13231. type: integer
  13232. tradedate:
  13233. description: 交易日
  13234. type: string
  13235. trademode:
  13236. description: 交易模式
  13237. type: integer
  13238. userid:
  13239. description: 用户id
  13240. type: integer
  13241. userinfotype:
  13242. description: 账户类型 1-个人 2-企业
  13243. type: integer
  13244. type: object
  13245. models.QhjMgrTradePayOrder:
  13246. properties:
  13247. accountname:
  13248. description: 用户名称
  13249. type: string
  13250. advanceratio:
  13251. description: 首付比率
  13252. type: number
  13253. agreeunit:
  13254. description: 合约乘数
  13255. type: number
  13256. buyaccountid:
  13257. description: 买方账号ID[报价币种]
  13258. type: integer
  13259. buyorderid:
  13260. description: 买方委托单号(关联单号)
  13261. type: string
  13262. createtime:
  13263. description: 创建时间
  13264. type: string
  13265. decimalplace:
  13266. description: 报价小数位
  13267. type: integer
  13268. enumdicname:
  13269. description: 单位名称(商品)
  13270. type: string
  13271. goodscode:
  13272. description: 商品代码(内部)
  13273. type: string
  13274. goodsid:
  13275. description: 商品ID
  13276. type: integer
  13277. goodsname:
  13278. description: 商品名称
  13279. type: string
  13280. goodunitid:
  13281. description: 报价单位ID
  13282. type: integer
  13283. logincode:
  13284. description: 登录代码(账户)
  13285. type: string
  13286. marketid:
  13287. description: 市场id
  13288. type: integer
  13289. offamount:
  13290. description: 优惠金额
  13291. type: number
  13292. operatetype:
  13293. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13294. type: integer
  13295. payamount:
  13296. description: 支付金额(金额)
  13297. type: number
  13298. payflag:
  13299. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13300. type: integer
  13301. paylimitedtime:
  13302. description: 支付期限
  13303. type: string
  13304. paytime:
  13305. description: 付款时间
  13306. type: string
  13307. qtydecimalplace:
  13308. description: 成交量小数位
  13309. type: integer
  13310. sellaccountid:
  13311. description: 卖方账号ID[报价币种]
  13312. type: integer
  13313. sellorderid:
  13314. description: 卖方委托单号
  13315. type: string
  13316. tradeamount:
  13317. description: 成交金额(优惠后金额)
  13318. type: number
  13319. tradecharge:
  13320. description: 成交手续费(买方)
  13321. type: number
  13322. tradedate:
  13323. description: 交易日(yyyyMMdd)
  13324. type: string
  13325. tradeid:
  13326. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13327. type: string
  13328. trademode:
  13329. description: 交易模式
  13330. type: integer
  13331. tradeprice:
  13332. description: 成交价格(价格)
  13333. type: number
  13334. tradeqty:
  13335. description: 成交数量(数量)
  13336. type: number
  13337. tradetime:
  13338. description: 成交时间
  13339. type: string
  13340. userid:
  13341. description: 用户id
  13342. type: integer
  13343. userinfotype:
  13344. description: 账户类型 1-个人 2-企业
  13345. type: integer
  13346. type: object
  13347. models.QhjMyTeamEx:
  13348. properties:
  13349. accountname:
  13350. description: 用户名称
  13351. type: string
  13352. accountstatus:
  13353. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13354. type: integer
  13355. createtime:
  13356. description: 创建时间
  13357. type: string
  13358. mobile:
  13359. description: 手机号码
  13360. type: string
  13361. refereeuserid:
  13362. description: 推荐人id
  13363. type: integer
  13364. refernum:
  13365. description: 推荐码
  13366. type: string
  13367. subList:
  13368. items:
  13369. $ref: '#/definitions/models.QhjMyTeamEx'
  13370. type: array
  13371. userid:
  13372. description: 用户id
  13373. type: integer
  13374. userinfotype:
  13375. description: 用户类型 1-个人 2-企业
  13376. type: integer
  13377. type: object
  13378. models.QhjNodeAgreementConfig:
  13379. properties:
  13380. agreementcontent:
  13381. description: 协议内容
  13382. type: string
  13383. agreementid:
  13384. description: 协议ID
  13385. type: integer
  13386. agreementname:
  13387. description: 协议名称
  13388. type: string
  13389. agreementno:
  13390. description: 协议编号
  13391. type: string
  13392. agreementtype:
  13393. description: 协议类型 - 1:注册 2:登录 3:交易
  13394. type: integer
  13395. agreementversion:
  13396. description: 协议版本号
  13397. type: integer
  13398. configid:
  13399. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13400. type: integer
  13401. createtime:
  13402. description: 创建时间
  13403. type: string
  13404. goodsid:
  13405. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13406. type: integer
  13407. nodetype:
  13408. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13409. type: integer
  13410. type: object
  13411. models.QhjParentAreaList:
  13412. properties:
  13413. accountname:
  13414. description: 账户名称(机构名称)
  13415. type: string
  13416. userid:
  13417. description: 用户ID
  13418. type: integer
  13419. usertype:
  13420. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13421. type: integer
  13422. type: object
  13423. models.QhjPayOrder:
  13424. properties:
  13425. advanceratio:
  13426. description: 首付比率
  13427. type: number
  13428. buyaccountid:
  13429. description: 买方账号ID[报价币种]
  13430. type: integer
  13431. buyorderid:
  13432. description: 买方委托单号
  13433. type: string
  13434. createtime:
  13435. description: 创建时间
  13436. type: string
  13437. decimalplace:
  13438. description: 商品报价小数位
  13439. type: integer
  13440. enumdicname:
  13441. description: 单位名称
  13442. type: string
  13443. goodscode:
  13444. description: 商品代码
  13445. type: string
  13446. goodsid:
  13447. description: 商品ID
  13448. type: integer
  13449. goodsname:
  13450. description: 商品名称
  13451. type: string
  13452. goodunitid:
  13453. description: 商品单位id
  13454. type: integer
  13455. marketid:
  13456. description: 市场ID
  13457. type: integer
  13458. offamount:
  13459. description: 优惠金额
  13460. type: number
  13461. operatetype:
  13462. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13463. type: integer
  13464. payamount:
  13465. description: 支付金额
  13466. type: number
  13467. payflag:
  13468. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13469. type: integer
  13470. paylimitedtime:
  13471. description: 支付期限
  13472. type: string
  13473. paytime:
  13474. description: 付款时间
  13475. type: string
  13476. qtydecimalplace:
  13477. description: 成交量小数位
  13478. type: integer
  13479. sellaccountid:
  13480. description: 卖方账号ID[报价币种]
  13481. type: integer
  13482. sellorderid:
  13483. description: 卖方委托单号
  13484. type: string
  13485. tradeamount:
  13486. description: 成交金额(优惠后金额)
  13487. type: number
  13488. tradecharge:
  13489. description: 成交手续费(买方)
  13490. type: number
  13491. tradedate:
  13492. description: 交易日(yyyyMMdd)
  13493. type: string
  13494. tradeid:
  13495. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13496. type: string
  13497. tradeprice:
  13498. description: 成交价格
  13499. type: number
  13500. tradeqty:
  13501. description: 成交数量
  13502. type: number
  13503. type: object
  13504. models.QhjPickArea:
  13505. properties:
  13506. address:
  13507. description: 详细地址
  13508. type: string
  13509. cityid:
  13510. description: 市
  13511. type: integer
  13512. cityname:
  13513. description: 城市名称
  13514. type: string
  13515. countryid:
  13516. description: 国家
  13517. type: integer
  13518. countryname:
  13519. description: 国家名称
  13520. type: string
  13521. districtid:
  13522. description: 地区
  13523. type: integer
  13524. districtname:
  13525. description: 地区名称
  13526. type: string
  13527. fromuserid:
  13528. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  13529. type: integer
  13530. fromusername:
  13531. description: 所属机构名称
  13532. type: string
  13533. provinceid:
  13534. description: 省
  13535. type: integer
  13536. provincename:
  13537. description: 省名称
  13538. type: string
  13539. suborgtype:
  13540. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  13541. type: integer
  13542. userid:
  13543. description: 机构用户ID 其他做市关系,都设置为 1
  13544. type: integer
  13545. username:
  13546. description: 机构用户名称(门店门称)
  13547. type: string
  13548. type: object
  13549. models.QhjPickGoods:
  13550. properties:
  13551. enumdicname:
  13552. description: 单位名称(提货商品)
  13553. type: string
  13554. goodsid:
  13555. description: 商品id
  13556. type: integer
  13557. imageaddress:
  13558. description: 图片
  13559. type: string
  13560. modifierid:
  13561. description: 修改人
  13562. type: integer
  13563. modifiername:
  13564. description: 修改人名称
  13565. type: string
  13566. modifysrc:
  13567. description: 修改来源 - 1:管理端 2:终端
  13568. type: integer
  13569. pickupgoodsagreeunit:
  13570. description: 合约乘数
  13571. type: number
  13572. pickupgoodsdesc:
  13573. description: 描述
  13574. type: string
  13575. pickupgoodsid:
  13576. description: 提货商品ID
  13577. type: string
  13578. pickupgoodsname:
  13579. description: 提货商品名称
  13580. type: string
  13581. pickupgoodsstatus:
  13582. description: 状态 - 1:正常 2:停用 3:注销
  13583. type: integer
  13584. pickupgoodsunitid:
  13585. description: 单位ID
  13586. type: integer
  13587. pickupratio:
  13588. description: 提货系数
  13589. type: number
  13590. preparedays:
  13591. description: 备货期(天)
  13592. type: integer
  13593. remark:
  13594. description: 备注
  13595. type: string
  13596. updatetime:
  13597. description: 更新时间
  13598. type: string
  13599. type: object
  13600. models.QhjRSTriggerLog:
  13601. properties:
  13602. accountid:
  13603. description: 用户资金账户
  13604. type: integer
  13605. accountname:
  13606. description: 账号名称(ACCOUNTID对应的名称)
  13607. type: string
  13608. currencyid:
  13609. description: 币种id
  13610. type: integer
  13611. currencyname:
  13612. description: 币种名称
  13613. type: string
  13614. decimalplace:
  13615. description: 商品报价小数位
  13616. type: integer
  13617. enumdicname:
  13618. description: 单位名称
  13619. type: string
  13620. goodscode:
  13621. description: 定投商品代码
  13622. type: string
  13623. goodsid:
  13624. description: 定投商品ID
  13625. type: integer
  13626. goodsname:
  13627. description: 定投商品名称
  13628. type: string
  13629. goodunitid:
  13630. description: 定投商品单位id
  13631. type: integer
  13632. logid:
  13633. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  13634. type: string
  13635. logincode:
  13636. description: 账号(登录代码)
  13637. type: string
  13638. qtydecimalplace:
  13639. description: 成交量小数位
  13640. type: integer
  13641. regularlycycle:
  13642. description: 定投频率 - 1:每周 2:每月
  13643. type: integer
  13644. regularlycyclevalue:
  13645. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13646. type: string
  13647. regularlymode:
  13648. description: 定投方式 - 1:按数量 2:按金额
  13649. type: integer
  13650. regularlymodevalue:
  13651. description: 定投方式值 - 数量或金额
  13652. type: number
  13653. regularlystrategyid:
  13654. description: 定投策略ID
  13655. type: integer
  13656. retcode:
  13657. description: 错误码
  13658. type: string
  13659. tradeid:
  13660. description: 成交单ID
  13661. type: string
  13662. triggeramount:
  13663. description: 触发金额
  13664. type: number
  13665. triggerqty:
  13666. description: 触发数量
  13667. type: number
  13668. triggerstatus:
  13669. description: 触发状态 - 1:成功 2:失败
  13670. type: integer
  13671. triggertime:
  13672. description: 触发时间
  13673. type: string
  13674. triggertradedate:
  13675. description: 触发交易日
  13676. type: string
  13677. userid:
  13678. description: 所属用户ID
  13679. type: integer
  13680. userinfotype:
  13681. description: 用户类型 1-个人 2-企业
  13682. type: integer
  13683. username:
  13684. description: 用户名称(userid对应的名称)
  13685. type: string
  13686. type: object
  13687. models.QhjRStrategy:
  13688. properties:
  13689. accountid:
  13690. description: 用户资金账户
  13691. type: integer
  13692. accountname:
  13693. description: 账号名称(ACCOUNTID对应的名称)
  13694. type: string
  13695. currencyid:
  13696. description: 币种id
  13697. type: integer
  13698. currencyname:
  13699. description: 币种名称
  13700. type: string
  13701. decimalplace:
  13702. description: 商品报价小数位
  13703. type: integer
  13704. enumdicname:
  13705. description: 单位名称
  13706. type: string
  13707. goodscode:
  13708. description: 定投商品代码
  13709. type: string
  13710. goodsid:
  13711. description: 定投商品ID
  13712. type: integer
  13713. goodsname:
  13714. description: 定投商品名称
  13715. type: string
  13716. goodunitid:
  13717. description: 定投商品单位id
  13718. type: integer
  13719. lasteffecttradedate:
  13720. description: 最新生效交易日
  13721. type: string
  13722. laststoptradedate:
  13723. description: 最新暂停交易日
  13724. type: string
  13725. lasttriggertradedate:
  13726. description: 最新触发交易日
  13727. type: string
  13728. logincode:
  13729. description: 账号(登录代码)
  13730. type: string
  13731. nexttriggeramount:
  13732. description: 下次触发金额
  13733. type: number
  13734. nexttriggerdate:
  13735. description: 下次触发日期
  13736. type: string
  13737. nexttriggerqty:
  13738. description: 下次触发数量 [按小数位放大值]
  13739. type: number
  13740. qtydecimalplace:
  13741. description: 成交量小数位
  13742. type: integer
  13743. regularlycycle:
  13744. description: 定投频率 - 1:每周 2:每月
  13745. type: integer
  13746. regularlycyclevalue:
  13747. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13748. type: string
  13749. regularlymode:
  13750. description: 定投方式 - 1:按数量 2:按金额
  13751. type: integer
  13752. regularlymodevalue:
  13753. description: 定投方式值 - 数量或金额
  13754. type: number
  13755. regularlystrategyid:
  13756. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  13757. type: integer
  13758. regularlystrategystatus:
  13759. description: 策略状态 - 1:正常 2:暂停 3:终止
  13760. type: integer
  13761. remark:
  13762. description: 备注
  13763. type: string
  13764. triggersuccesstimes:
  13765. description: 累计定投成功次数
  13766. type: string
  13767. triggertotalamount:
  13768. description: 累计定投金额(成功)
  13769. type: number
  13770. triggertotalqty:
  13771. description: 累计定投数量(成功) [按小数位放大值]
  13772. type: number
  13773. triggertotaltimes:
  13774. description: 累计定投总次数
  13775. type: string
  13776. updatesrc:
  13777. description: 更新来源 - 1:管理端 2:终端
  13778. type: integer
  13779. updatetime:
  13780. description: 更新时间
  13781. type: string
  13782. updatorid:
  13783. description: 更新人
  13784. type: string
  13785. userid:
  13786. description: 所属用户ID
  13787. type: integer
  13788. userinfotype:
  13789. description: 用户类型 1-个人 2-企业
  13790. type: integer
  13791. username:
  13792. description: 用户名称(userid对应的名称)
  13793. type: string
  13794. type: object
  13795. models.QhjReckonPriceLog:
  13796. properties:
  13797. decimalplace:
  13798. description: 商品报价小数位
  13799. type: integer
  13800. goodscode:
  13801. description: 商品代码
  13802. type: string
  13803. goodsid:
  13804. description: 商品ID
  13805. type: integer
  13806. goodsname:
  13807. description: 商品名称
  13808. type: string
  13809. lastreckonprice:
  13810. description: 上日结算价
  13811. type: number
  13812. nextdnlimitprice:
  13813. description: 下个交易日跌停价
  13814. type: number
  13815. nexttrade:
  13816. description: 下个交易日
  13817. type: string
  13818. nextuplimitprice:
  13819. description: 下个交易日涨停价
  13820. type: number
  13821. reckonprice:
  13822. description: 今日结算价(定投价)
  13823. type: number
  13824. reckontime:
  13825. description: 结算时间
  13826. type: string
  13827. totalholderqty:
  13828. description: 总持仓数
  13829. type: integer
  13830. totalstock:
  13831. description: 总库存
  13832. type: integer
  13833. tradedate:
  13834. description: 交易日
  13835. type: string
  13836. updowncount:
  13837. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  13838. type: integer
  13839. updownflag:
  13840. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  13841. type: integer
  13842. updownrate:
  13843. description: 今日涨跌幅
  13844. type: number
  13845. updownrate_2d:
  13846. description: 连续两日涨跌幅
  13847. type: number
  13848. updownrate_3d:
  13849. description: 连续三日涨跌幅
  13850. type: number
  13851. type: object
  13852. models.QhjScoreLog:
  13853. properties:
  13854. accountid:
  13855. description: 账户ID
  13856. type: integer
  13857. createtime:
  13858. description: 创建时间(时间)
  13859. type: string
  13860. goodsid:
  13861. description: 商品ID
  13862. type: integer
  13863. hasuploaded:
  13864. description: 是否已同步(千海金) 0:未同步 1;已同步
  13865. type: integer
  13866. logid:
  13867. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13868. type: string
  13869. marketid:
  13870. description: 市场ID
  13871. type: integer
  13872. relatedamount:
  13873. description: 关联金额
  13874. type: number
  13875. relatedorderid:
  13876. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  13877. type: string
  13878. scoreconfigvalue1:
  13879. description: 积分配置1
  13880. type: integer
  13881. scoreconfigvalue2:
  13882. description: 积分配置1
  13883. type: integer
  13884. scoretype:
  13885. description: 积分类型 - 1:提货积分
  13886. type: integer
  13887. scorevalue:
  13888. description: 积分
  13889. type: number
  13890. tradedate:
  13891. description: 交易日(yyyyMMdd)
  13892. type: string
  13893. uploadedtime:
  13894. description: 同步时间
  13895. type: string
  13896. userid:
  13897. description: 用户ID
  13898. type: integer
  13899. type: object
  13900. models.QhjSiteColumnDetail:
  13901. properties:
  13902. author:
  13903. description: 作者
  13904. type: string
  13905. brief:
  13906. description: 简介
  13907. type: string
  13908. columnid:
  13909. description: 所属栏目
  13910. type: integer
  13911. context:
  13912. description: 内容
  13913. type: string
  13914. coverimage:
  13915. description: 封面图片
  13916. type: string
  13917. creaedate:
  13918. description: 创建时间
  13919. type: string
  13920. creatorid:
  13921. description: 创建人
  13922. type: integer
  13923. hits:
  13924. description: 点击数
  13925. type: integer
  13926. id:
  13927. description: ID(SEQ_SITE_COLUMNDETAIL)
  13928. type: integer
  13929. isshow:
  13930. description: 是否展示 - 0:不展示 1:展示
  13931. type: integer
  13932. istop:
  13933. description: 是否置顶 - 0:不置 1:置顶
  13934. type: integer
  13935. modifierid:
  13936. description: 操作人
  13937. type: integer
  13938. publishdate:
  13939. description: 发布日期
  13940. type: string
  13941. status:
  13942. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  13943. type: integer
  13944. title:
  13945. description: 标题
  13946. type: string
  13947. updatedate:
  13948. description: 修改时间
  13949. type: string
  13950. userid:
  13951. description: 用户ID(默认为0, 核心为为机构用户ID)
  13952. type: integer
  13953. username:
  13954. description: 用户名称
  13955. type: string
  13956. type: object
  13957. models.QhjTeamOrder:
  13958. properties:
  13959. accountid:
  13960. description: 账户ID[报价币种]
  13961. type: integer
  13962. accountname:
  13963. description: 账户名称
  13964. type: string
  13965. agreeunit:
  13966. description: 合约乘数
  13967. type: number
  13968. buyorsell:
  13969. description: 方向 - 0:买 1:卖
  13970. type: integer
  13971. decimalplace:
  13972. description: 报价小数位
  13973. type: integer
  13974. enumdicname:
  13975. description: 单位名称
  13976. type: string
  13977. goodscode:
  13978. description: 商品代码(内部)
  13979. type: string
  13980. goodsid:
  13981. description: 商品ID
  13982. type: integer
  13983. goodsname:
  13984. description: 商品名称
  13985. type: string
  13986. goodunitid:
  13987. description: 报价单位ID
  13988. type: integer
  13989. marketid:
  13990. description: 市场ID
  13991. type: integer
  13992. marketname:
  13993. description: 市场名称
  13994. type: string
  13995. qtydecimalplace:
  13996. description: 成交量小数位
  13997. type: integer
  13998. refereeuserid:
  13999. description: 推荐人ID
  14000. type: integer
  14001. tradeamount:
  14002. description: 成交金额[账户币种,用于所有权]
  14003. type: number
  14004. tradedate:
  14005. description: 交易日(yyyyMMdd)
  14006. type: string
  14007. trademode:
  14008. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14009. 21:竞拍-大宗式 22:受托竞价
  14010. type: integer
  14011. tradeprice:
  14012. description: 成交价格
  14013. type: number
  14014. tradeqty:
  14015. description: 成交数量
  14016. type: number
  14017. tradetime:
  14018. description: 成交时间
  14019. type: string
  14020. userid:
  14021. description: 用户ID
  14022. type: integer
  14023. type: object
  14024. models.QhjTradeGoodsPickup:
  14025. properties:
  14026. accountid:
  14027. description: 账户ID
  14028. type: integer
  14029. address:
  14030. description: 提货人详细地址
  14031. type: string
  14032. amount:
  14033. description: 提货金额
  14034. type: number
  14035. artradedate:
  14036. description: 自动收货交易日(yyyyMMdd)
  14037. type: string
  14038. auditer:
  14039. description: 审核人
  14040. type: integer
  14041. auditsrc:
  14042. description: 更新来源 - 1:管理端 2:终端
  14043. type: integer
  14044. audittime:
  14045. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14046. type: string
  14047. audittradedate:
  14048. description: 审核交易日(yyyyMMdd)
  14049. type: string
  14050. cardnum:
  14051. description: 提货人证件号码
  14052. type: string
  14053. cardtypeid:
  14054. description: 提货人证件类型
  14055. type: integer
  14056. checkremark:
  14057. description: 审核备注
  14058. type: string
  14059. cityid:
  14060. description: 市
  14061. type: integer
  14062. cityname:
  14063. description: 城市名称
  14064. type: string
  14065. confirmtime:
  14066. description: 取货时间 或 收货时间
  14067. type: string
  14068. countryid:
  14069. description: 国家
  14070. type: integer
  14071. countryname:
  14072. description: 国家名称
  14073. type: string
  14074. decimalplace:
  14075. description: 商品报价小数位
  14076. type: integer
  14077. districtid:
  14078. description: 地区
  14079. type: integer
  14080. districtname:
  14081. description: 地区名称
  14082. type: string
  14083. enumdicname:
  14084. description: 单位名称(提货商品)
  14085. type: string
  14086. expresscompany:
  14087. description: 物流公司
  14088. type: string
  14089. expressnum:
  14090. description: 物流单号
  14091. type: string
  14092. goodsagreeunit:
  14093. description: 交易商品乘数
  14094. type: number
  14095. goodscode:
  14096. description: 商品代码
  14097. type: string
  14098. goodsid:
  14099. description: 商品ID
  14100. type: integer
  14101. goodsname:
  14102. description: 商品名称
  14103. type: string
  14104. goodsqty:
  14105. description: 交易商品手数(69模式按成交量小数位放大取整)
  14106. type: number
  14107. handlestatus:
  14108. description: 处理状态
  14109. type: integer
  14110. logincode:
  14111. description: 账号(登录代码, 有可能为空)
  14112. type: string
  14113. marketid:
  14114. description: 市场ID
  14115. type: integer
  14116. phonenum:
  14117. description: 提货人联系方式
  14118. type: string
  14119. pickupgoodsagreeunit:
  14120. description: 提货商品合约乘数
  14121. type: number
  14122. pickupgoodsid:
  14123. description: 提货商品ID
  14124. type: string
  14125. pickupgoodsname:
  14126. description: 提货商品名称
  14127. type: string
  14128. pickupgoodsqty:
  14129. description: 提货商品手数(数量)
  14130. type: number
  14131. pickupgoodsunitid:
  14132. description: 单位ID(提货商品)
  14133. type: integer
  14134. pickupratio:
  14135. description: 提货系数
  14136. type: number
  14137. preparedays:
  14138. description: 备货期(天)-提货单明细表
  14139. type: integer
  14140. provinceid:
  14141. description: 省
  14142. type: integer
  14143. provincename:
  14144. description: 省名称
  14145. type: string
  14146. qty:
  14147. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14148. type: number
  14149. qtydecimalplace:
  14150. description: 商品数量小数位
  14151. type: integer
  14152. recivername:
  14153. description: 提货人姓名
  14154. type: string
  14155. reqtime:
  14156. description: 提货申请时间
  14157. type: string
  14158. storeuserid:
  14159. description: 门店用户ID (千海金)
  14160. type: integer
  14161. storeusername:
  14162. description: 门店用户名称
  14163. type: string
  14164. takemode:
  14165. description: 提货方式 - 2:自提 3:配送(邮寄)
  14166. type: integer
  14167. takeorderid:
  14168. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14169. type: string
  14170. takeorderstatus:
  14171. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14172. 7:已拒绝 8:已撤销
  14173. type: integer
  14174. takeremark:
  14175. description: 提货备注
  14176. type: string
  14177. tradedate:
  14178. description: 交易日(yyyyMMdd)
  14179. type: string
  14180. updatetime:
  14181. description: 更新时间
  14182. type: string
  14183. userid:
  14184. description: 用户ID
  14185. type: integer
  14186. userinfotype:
  14187. description: 客户类型 1-个人 2-企业
  14188. type: integer
  14189. username:
  14190. description: 用户名称
  14191. type: string
  14192. type: object
  14193. models.QhjUserNodeCfgAndStatus:
  14194. properties:
  14195. agreementcontent:
  14196. description: 协议内容
  14197. type: string
  14198. agreementid:
  14199. description: 协议ID
  14200. type: integer
  14201. agreementname:
  14202. description: 协议名称
  14203. type: string
  14204. agreementno:
  14205. description: 协议编号
  14206. type: string
  14207. agreementtype:
  14208. description: 协议类型 - 1:注册 2:登录 3:交易
  14209. type: integer
  14210. agreementversion:
  14211. description: 协议版本号
  14212. type: integer
  14213. configid:
  14214. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14215. type: integer
  14216. createtime:
  14217. description: 创建时间
  14218. type: string
  14219. goodsid:
  14220. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14221. type: integer
  14222. nodetype:
  14223. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14224. type: integer
  14225. signtimestamp:
  14226. description: 签约状态时间戳(最近一次)
  14227. type: string
  14228. tradedate:
  14229. description: 签约交易日(yyyyMMdd)
  14230. type: string
  14231. userid:
  14232. description: 客户ID
  14233. type: integer
  14234. type: object
  14235. models.Qhjgoodsex:
  14236. properties:
  14237. canfinance:
  14238. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14239. type: integer
  14240. canregularlybuy:
  14241. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14242. type: integer
  14243. defaulttradeuserid:
  14244. description: 默认交易用户ID
  14245. type: integer
  14246. deliverygoodsid:
  14247. description: 现货品种ID
  14248. type: integer
  14249. goodsid:
  14250. description: 商品ID(自增ID SEQ_GOODS)
  14251. type: integer
  14252. minamount:
  14253. description: 最小购买金额
  14254. type: number
  14255. regularlybuyminamount:
  14256. description: 定投最小金额
  14257. type: number
  14258. regularlybuyminqty:
  14259. description: 定投最小数量
  14260. type: number
  14261. spotgoodsbrandid:
  14262. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14263. type: integer
  14264. visibilityforenterprise:
  14265. description: 企业客户是否可见 - 0:不可见 1:可见
  14266. type: integer
  14267. visibilityforpersonal:
  14268. description: 个人客户是否可见 - 0:不可见 1:可见
  14269. type: integer
  14270. wrstandardid:
  14271. description: 现货商品ID
  14272. type: integer
  14273. type: object
  14274. models.QueryErrorInfosRsp:
  14275. properties:
  14276. description:
  14277. description: 异常描述
  14278. type: string
  14279. errorcode:
  14280. description: 异常代码
  14281. type: string
  14282. errorid:
  14283. description: 异常ID
  14284. type: integer
  14285. modulecode:
  14286. description: 所属模块
  14287. type: string
  14288. operatecode:
  14289. description: 所属操作
  14290. type: string
  14291. rownumber:
  14292. description: 行号
  14293. type: string
  14294. required:
  14295. - errorid
  14296. type: object
  14297. models.QueryHedgeOrderDetailRsp:
  14298. properties:
  14299. accountid:
  14300. description: 账户ID
  14301. type: integer
  14302. buyorsell:
  14303. description: 买卖 - 0:买 1:卖
  14304. type: integer
  14305. cancellogincode:
  14306. description: 撤单人
  14307. type: string
  14308. channelbuildtype:
  14309. description: 开平标志 - 0:无 1:建仓 2:平仓
  14310. type: integer
  14311. channelinnerorderstatus:
  14312. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14313. 9:全部成交
  14314. type: integer
  14315. channeloperatetype:
  14316. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14317. type: integer
  14318. closetype:
  14319. description: 平仓方式 - 0:无 1:平今 2:平昨
  14320. type: integer
  14321. curexchangerate:
  14322. description: 当前汇率
  14323. type: number
  14324. decimalplace:
  14325. description: 商品报价小数位
  14326. type: integer
  14327. exchangefullname:
  14328. description: 外部交易所全称
  14329. type: string
  14330. goodscode:
  14331. description: 商品代码(内部)
  14332. type: string
  14333. goodsid:
  14334. description: 商品ID
  14335. type: integer
  14336. goodsname:
  14337. description: 商品名称
  14338. type: string
  14339. marketid:
  14340. description: 市场ID
  14341. type: integer
  14342. openfreezemargin:
  14343. description: 冻结保证金(冻结交易金额)
  14344. type: number
  14345. orderid:
  14346. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14347. type: string
  14348. orderlogincode:
  14349. description: 委托人
  14350. type: string
  14351. orderprice:
  14352. description: 委托价格(账户)
  14353. type: number
  14354. orderqty:
  14355. description: 委托数量
  14356. type: integer
  14357. ordertime:
  14358. description: 委托时间
  14359. type: string
  14360. pricemode:
  14361. description: '取价方式 - 1:市价 2: 限价'
  14362. type: integer
  14363. tradedate:
  14364. description: 交易日(yyyyMMdd)
  14365. type: string
  14366. tradeqty:
  14367. description: 成交数量
  14368. type: integer
  14369. type: object
  14370. models.QueryHedgeTradeDetailRsp:
  14371. properties:
  14372. accountid:
  14373. description: 账号ID
  14374. type: integer
  14375. buyorsell:
  14376. description: 方向 - 0:买 1:卖
  14377. type: integer
  14378. channelbuildtype:
  14379. description: 委托单据类型 0:无 1:建仓 2:平仓
  14380. type: integer
  14381. closecharge:
  14382. description: 平仓手续费(账户)
  14383. type: number
  14384. closecharge2:
  14385. description: 平仓手续费(商品)
  14386. type: number
  14387. closepl:
  14388. description: 平仓盈亏(账户)
  14389. type: number
  14390. closepl2:
  14391. description: 平仓盈亏(商品)
  14392. type: number
  14393. closepl3:
  14394. description: 平仓盈亏(账户)(逐笔)
  14395. type: number
  14396. closepl4:
  14397. description: 平仓盈亏(商品)(逐笔)
  14398. type: number
  14399. closetype:
  14400. description: 平仓方式 - 0:无 1:平今 2:平昨
  14401. type: integer
  14402. curexchangerate:
  14403. description: 当前汇率
  14404. type: number
  14405. decimalplace:
  14406. description: 商品报价小数位
  14407. type: integer
  14408. exchangefullname:
  14409. description: 外部交易所全称
  14410. type: string
  14411. goodscode:
  14412. description: 商品代码(内部)
  14413. type: string
  14414. goodsid:
  14415. description: 商品ID
  14416. type: integer
  14417. goodsname:
  14418. description: 商品名称
  14419. type: string
  14420. marketid:
  14421. description: 市场ID
  14422. type: integer
  14423. opencharge:
  14424. description: 建仓手续费(账户)
  14425. type: number
  14426. opencharge2:
  14427. description: 建仓手续费(商品)
  14428. type: number
  14429. orderid:
  14430. description: 委托单号
  14431. type: string
  14432. orderlogincode:
  14433. description: 委托人
  14434. type: string
  14435. tradeamount:
  14436. description: 成交金额(账户)
  14437. type: number
  14438. tradedate:
  14439. description: 交易日(yyyyMMdd)
  14440. type: string
  14441. tradeid:
  14442. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14443. type: string
  14444. tradeprice:
  14445. description: 成交价格
  14446. type: number
  14447. tradeqty:
  14448. description: 成交数量
  14449. type: integer
  14450. tradetime:
  14451. description: 成交时间
  14452. type: string
  14453. tradetype:
  14454. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  14455. type: integer
  14456. type: object
  14457. models.QuotePrimaryMenu:
  14458. properties:
  14459. Index:
  14460. description: 序号
  14461. type: integer
  14462. Key:
  14463. description: 键名
  14464. type: string
  14465. Name:
  14466. description: 菜单名称
  14467. type: string
  14468. SubMenus:
  14469. description: 子菜单
  14470. items:
  14471. $ref: '#/definitions/models.QuoteSecondaryMenu'
  14472. type: array
  14473. SubTitleType:
  14474. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  14475. type: integer
  14476. TradeModes:
  14477. description: 包含市场交易类型
  14478. type: string
  14479. type: object
  14480. models.QuoteSecondaryMenu:
  14481. properties:
  14482. ExExchangeCode:
  14483. description: 外部交易所代码
  14484. type: string
  14485. ExExchangeID:
  14486. description: 外部交易所ID
  14487. type: integer
  14488. GoodsGroupIDs:
  14489. description: 商品组ID列表
  14490. items:
  14491. type: integer
  14492. type: array
  14493. Index:
  14494. description: 序号
  14495. type: integer
  14496. MarketID:
  14497. description: 市场ID
  14498. type: integer
  14499. MenuTitle:
  14500. description: 菜单标题(市场名称或外部交易所名称)
  14501. type: string
  14502. TradeMode:
  14503. description: 交易模式
  14504. type: integer
  14505. type: object
  14506. models.RelatedTaAccount:
  14507. properties:
  14508. accountid:
  14509. description: 资金账户ID
  14510. type: integer
  14511. type: object
  14512. models.RoleMenu:
  14513. properties:
  14514. hasright:
  14515. description: 是否有权限 0-没有权限 1-有权限
  14516. type: integer
  14517. iconame:
  14518. description: 菜单图标
  14519. type: string
  14520. menutype:
  14521. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  14522. type: integer
  14523. parentcode:
  14524. description: 上级资源代码
  14525. type: string
  14526. remark:
  14527. description: 菜单备注
  14528. type: string
  14529. resourcecode:
  14530. description: 菜单代码
  14531. type: string
  14532. resourcelevel:
  14533. description: 级别
  14534. type: integer
  14535. resourcename:
  14536. description: 菜单名称
  14537. type: string
  14538. roleid:
  14539. description: 角色id
  14540. type: integer
  14541. sort:
  14542. description: 排序
  14543. type: integer
  14544. subMenu:
  14545. description: 子级菜单(结构同上层一样, swag解析不出来)
  14546. items:
  14547. $ref: '#/definitions/models.RoleMenu'
  14548. type: array
  14549. url:
  14550. description: URL
  14551. type: string
  14552. userid:
  14553. description: 用户id
  14554. type: integer
  14555. type: object
  14556. models.SearchGoods:
  14557. properties:
  14558. goodscode:
  14559. description: 商品代码(内部)
  14560. type: string
  14561. goodsid:
  14562. description: 商品ID(自增ID SEQ_GOODS)
  14563. type: integer
  14564. goodsname:
  14565. description: 商品名称
  14566. type: string
  14567. marketid:
  14568. description: 所属市场ID
  14569. type: integer
  14570. marketname:
  14571. description: 市场名称
  14572. type: string
  14573. trademode:
  14574. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14575. 21:竞拍-大宗式 22:受托竞价
  14576. type: integer
  14577. required:
  14578. - goodscode
  14579. - goodsid
  14580. - goodsname
  14581. - marketid
  14582. - trademode
  14583. type: object
  14584. models.Systemparam:
  14585. properties:
  14586. loginid:
  14587. description: 更新用户账号,登录账号
  14588. type: string
  14589. modifyflag:
  14590. description: 修改标志0 不允许修改 1 允许修改
  14591. type: integer
  14592. paramcode:
  14593. description: 参数代码
  14594. type: string
  14595. paramname:
  14596. description: 参数名
  14597. type: string
  14598. paramtype:
  14599. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  14600. type: integer
  14601. paramvalue:
  14602. description: 参数值
  14603. type: string
  14604. paramvalue2:
  14605. description: 参数值(CLOB)
  14606. type: string
  14607. regexpress:
  14608. description: 正则表达式
  14609. type: string
  14610. remark:
  14611. description: 备注
  14612. type: string
  14613. serverip:
  14614. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  14615. type: string
  14616. showflag:
  14617. description: 是否显示0 不显示 1 显示
  14618. type: integer
  14619. updatetime:
  14620. description: 更新时间
  14621. type: string
  14622. userid:
  14623. description: 更新用户ID
  14624. type: integer
  14625. required:
  14626. - paramcode
  14627. type: object
  14628. models.Szdz3convertconfig:
  14629. properties:
  14630. canin:
  14631. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  14632. type: integer
  14633. canout:
  14634. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  14635. type: integer
  14636. converttype:
  14637. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14638. 6:交易转花生米(不设置)
  14639. type: integer
  14640. createtime:
  14641. description: 创建时间
  14642. type: string
  14643. creatorid:
  14644. description: 创建人
  14645. type: integer
  14646. daymaxvalue:
  14647. description: 当日最大转入限制
  14648. type: number
  14649. freezedays:
  14650. description: 冻结天数 [5:花生米转交易]
  14651. type: integer
  14652. innergoodsid:
  14653. description: 内部商品ID[交易]
  14654. type: integer
  14655. inratio:
  14656. description: 目标值
  14657. type: integer
  14658. modifierid:
  14659. description: 修改人
  14660. type: integer
  14661. modifytime:
  14662. description: 修改时间
  14663. type: string
  14664. outergoodscode:
  14665. description: 外部商品代码[JD\PD]
  14666. type: string
  14667. outratio:
  14668. description: 源值
  14669. type: integer
  14670. pddecimalplace:
  14671. description: PD小数位
  14672. type: integer
  14673. timemaxvalue:
  14674. description: 单次最大转入限制
  14675. type: number
  14676. timeminvalue:
  14677. description: 单次最小转入限制
  14678. type: number
  14679. required:
  14680. - converttype
  14681. - innergoodsid
  14682. - outergoodscode
  14683. type: object
  14684. models.Szdz3searchwhitelist:
  14685. properties:
  14686. createtime:
  14687. description: 创建时间
  14688. type: string
  14689. creatorid:
  14690. description: 创建人
  14691. type: integer
  14692. modifierid:
  14693. description: 修改人
  14694. type: integer
  14695. modifytime:
  14696. description: 修改时间
  14697. type: string
  14698. userid:
  14699. description: 用户ID
  14700. type: integer
  14701. required:
  14702. - userid
  14703. type: object
  14704. models.TBGoods:
  14705. properties:
  14706. agreeunit:
  14707. description: 合约乘数
  14708. type: number
  14709. enumdicname:
  14710. description: 单位名称
  14711. type: string
  14712. goodscode:
  14713. description: 商品代码(内部)
  14714. type: string
  14715. goodsid:
  14716. description: 商品ID(自增ID SEQ_GOODS)
  14717. type: integer
  14718. goodsname:
  14719. description: 商品名称
  14720. type: string
  14721. type: object
  14722. models.TBGoodsGroup:
  14723. properties:
  14724. GDLST:
  14725. description: 商品列表
  14726. items:
  14727. $ref: '#/definitions/models.TBGoods'
  14728. type: array
  14729. convertratio:
  14730. description: 折算系数
  14731. type: number
  14732. enumdicname:
  14733. description: 单位名称
  14734. type: string
  14735. exexchangecode:
  14736. description: 交易所代码
  14737. type: string
  14738. exexchangename:
  14739. description: 交易所名称
  14740. type: string
  14741. goodsgroupid:
  14742. description: 商品组ID(自增ID)
  14743. type: integer
  14744. goodsgroupname:
  14745. description: 商品组名称
  14746. type: string
  14747. goodunitid:
  14748. description: 报价单位ID
  14749. type: integer
  14750. type: object
  14751. models.TBMiddleGoods:
  14752. properties:
  14753. GPLST:
  14754. description: 期货品种列表
  14755. items:
  14756. $ref: '#/definitions/models.TBGoodsGroup'
  14757. type: array
  14758. WDLST:
  14759. description: 商品信息列表(现货品类)
  14760. items:
  14761. $ref: '#/definitions/models.TBWrstandard'
  14762. type: array
  14763. areauserid:
  14764. description: 机构用户ID
  14765. type: integer
  14766. enumdicname:
  14767. description: 单位名称
  14768. type: string
  14769. goodsunitid:
  14770. description: 套保品种单位id
  14771. type: integer
  14772. middlegoodscode:
  14773. description: 套保品种代码
  14774. type: string
  14775. middlegoodsid:
  14776. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  14777. type: integer
  14778. middlegoodsname:
  14779. description: 套保品种名称
  14780. type: string
  14781. needarbitrageratio:
  14782. description: 套利比率
  14783. type: number
  14784. needhedgeratio:
  14785. description: 套保比率
  14786. type: number
  14787. type: object
  14788. models.TBWrstandard:
  14789. properties:
  14790. convertratio:
  14791. description: 折算系数
  14792. type: number
  14793. deliverygoodsname:
  14794. description: 品种名称
  14795. type: string
  14796. enumdicname:
  14797. description: 单位名称
  14798. type: string
  14799. vatrate:
  14800. description: 增值税率
  14801. type: number
  14802. wrstandardcode:
  14803. description: 现货商品代码
  14804. type: string
  14805. wrstandardid:
  14806. description: 现货商品ID(SEQ_WRSTANDARD)
  14807. type: integer
  14808. wrstandardname:
  14809. description: 现货商品名称
  14810. type: string
  14811. type: object
  14812. models.Taaccount:
  14813. properties:
  14814. accountflag:
  14815. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  14816. type: integer
  14817. accountid:
  14818. description: 资金账户ID
  14819. type: integer
  14820. accountname:
  14821. description: 账户名称
  14822. type: string
  14823. balance:
  14824. description: 期初余额
  14825. type: number
  14826. capitalbalance:
  14827. description: 本金余额[外部子账户实际出入金余额]
  14828. type: number
  14829. changeflag:
  14830. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  14831. type: integer
  14832. changetime:
  14833. description: 账户状态变更时间
  14834. type: string
  14835. closepl:
  14836. description: 今日平仓盈亏
  14837. type: number
  14838. creditdecrease:
  14839. description: 今日授信减少
  14840. type: number
  14841. creditincrease:
  14842. description: 今日授信增加
  14843. type: number
  14844. curamount:
  14845. description: 总市值(从持仓中统计)
  14846. type: number
  14847. currencyid:
  14848. description: 货币ID
  14849. type: integer
  14850. currentbalance:
  14851. description: 期末余额
  14852. type: number
  14853. freezecharge:
  14854. description: 手续费冻结
  14855. type: number
  14856. freezemargin:
  14857. description: 冻结保证金
  14858. type: number
  14859. fromaccountid:
  14860. description: 所属上级账户
  14861. type: integer
  14862. inamount:
  14863. description: 今日入金金额(包括三方入金)
  14864. type: number
  14865. ismain:
  14866. description: 是否母账号 0:不是母账户 1:是母账户
  14867. type: integer
  14868. ismarketaccount:
  14869. description: 是否机构接单账号 0:不是 1:是
  14870. type: integer
  14871. isreckonaccount:
  14872. description: 是否机构分润账号 0:不是 1:是
  14873. type: integer
  14874. mortgagecredit:
  14875. description: 授信金额
  14876. type: number
  14877. orifreezecharge:
  14878. description: 期初手续费冻结
  14879. type: number
  14880. orifreezemargin:
  14881. description: 期初冻结保证金
  14882. type: number
  14883. orimortgagecredit:
  14884. description: 期初授信金额
  14885. type: number
  14886. oriothercredit:
  14887. description: 期初其它授信金额
  14888. type: number
  14889. oriotherfreezemargin:
  14890. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  14891. type: number
  14892. orioutamountfreeze:
  14893. description: 期初出金冻结
  14894. type: number
  14895. oriusedmargin:
  14896. description: 期初占用保证金
  14897. type: number
  14898. othercredit:
  14899. description: 其它授信金额
  14900. type: number
  14901. othercreditdecrease:
  14902. description: 今日其它授信减少
  14903. type: number
  14904. othercreditincrease:
  14905. description: 今日其它授信增加
  14906. type: number
  14907. otherfreezemargin:
  14908. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  14909. type: number
  14910. otherincome:
  14911. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  14912. type: number
  14913. otherpay:
  14914. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  14915. type: number
  14916. outamount:
  14917. description: 今日出金金额(包括三方出金)
  14918. type: number
  14919. outamountfreeze:
  14920. description: 出金冻结
  14921. type: number
  14922. outthreshold:
  14923. description: 出金阈值
  14924. type: number
  14925. parentaccountid:
  14926. description: 所属根账号
  14927. type: integer
  14928. paycharge:
  14929. description: 今日手续费支出
  14930. type: number
  14931. relatedaccountstatus:
  14932. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  14933. type: integer
  14934. relateduserid:
  14935. description: 关联用户
  14936. type: integer
  14937. remainamount:
  14938. description: 融资额(从融资合同中统计)
  14939. type: number
  14940. serivcegroup:
  14941. description: 服务分组
  14942. type: integer
  14943. signstatus:
  14944. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14945. type: integer
  14946. sublevelpath:
  14947. description: 账号层级路径(逗号分隔,首尾加逗号)
  14948. type: string
  14949. taaccounttype:
  14950. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  14951. type: integer
  14952. thirdinamount:
  14953. description: 今日三方入金
  14954. type: number
  14955. thirdoutamount:
  14956. description: 今日三方出金
  14957. type: number
  14958. tradestatus:
  14959. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  14960. type: integer
  14961. tradestatuschangetime:
  14962. description: 激活时间
  14963. type: string
  14964. transferamount:
  14965. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  14966. type: number
  14967. usedmargin:
  14968. description: 占用保证金
  14969. type: number
  14970. userid:
  14971. description: 用户ID
  14972. type: integer
  14973. required:
  14974. - accountid
  14975. - userid
  14976. type: object
  14977. models.Tablecolumnconfig:
  14978. properties:
  14979. aligntype:
  14980. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  14981. type: integer
  14982. autoid:
  14983. description: AutoID
  14984. type: integer
  14985. columnfield:
  14986. description: 列字段
  14987. type: string
  14988. columntitle:
  14989. description: 列Title
  14990. type: string
  14991. columnwidth:
  14992. description: 列宽
  14993. type: string
  14994. formatterstring:
  14995. description: 格式化字符
  14996. type: string
  14997. formattertype:
  14998. description: 格式化类型
  14999. type: string
  15000. groupname:
  15001. description: 表头分组名称
  15002. type: string
  15003. isshow:
  15004. description: 是否显示 - 0:不显示 1:显示
  15005. type: integer
  15006. needsummary:
  15007. description: 是否需要汇总 - 0:不需要 1:需要
  15008. type: integer
  15009. orderindex:
  15010. description: 顺序
  15011. type: integer
  15012. remark:
  15013. description: 备注
  15014. type: string
  15015. summarytype:
  15016. description: 汇总类型 - 1:加总 2:最后一个
  15017. type: integer
  15018. tablekey:
  15019. description: 列表Key
  15020. type: string
  15021. required:
  15022. - autoid
  15023. type: object
  15024. models.TjmdHolderDetailTradeInfo:
  15025. properties:
  15026. agreeunit:
  15027. description: 合约乘数
  15028. type: number
  15029. buyaccountid:
  15030. description: 买方账户
  15031. type: string
  15032. buyusername:
  15033. description: 买方
  15034. type: string
  15035. delistingdate:
  15036. description: 最后结算日
  15037. type: string
  15038. expiredate:
  15039. description: 到期结算价定价日
  15040. type: string
  15041. exprieprice:
  15042. description: 到期清算价格
  15043. type: string
  15044. goodscode:
  15045. description: 商品代码
  15046. type: string
  15047. goodsid:
  15048. description: 商品ID
  15049. type: integer
  15050. goodsname:
  15051. description: 商品名称(交易标的)
  15052. type: string
  15053. lasttradedate:
  15054. description: 最后交易日
  15055. type: string
  15056. listingdate:
  15057. description: 开始交易日
  15058. type: string
  15059. openprice:
  15060. description: 成交价
  15061. type: number
  15062. openqty:
  15063. description: 交易数量
  15064. type: integer
  15065. sellaccountid:
  15066. description: 卖方账户
  15067. type: string
  15068. sellusername:
  15069. description: 卖方
  15070. type: string
  15071. tradeamount:
  15072. description: 初始名义价值
  15073. type: number
  15074. tradedate:
  15075. description: 成交日期
  15076. type: string
  15077. tradeid:
  15078. description: 成交编号
  15079. type: string
  15080. type: object
  15081. models.TjmdMarketSection:
  15082. properties:
  15083. marketsectionid:
  15084. description: 市场版块ID(SEQ_MARKETSECTION)
  15085. type: integer
  15086. marketsectionname:
  15087. description: 市场版块名称
  15088. type: string
  15089. mlist:
  15090. description: 市场列表(板块下面有多少个市场)
  15091. items:
  15092. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  15093. type: array
  15094. orderindex:
  15095. description: 排序
  15096. type: integer
  15097. pictureurl:
  15098. description: 图片url, 规格(90*90)
  15099. type: string
  15100. remark:
  15101. description: 备注
  15102. type: string
  15103. type: object
  15104. models.TjmdMarketSectionConfig:
  15105. properties:
  15106. auctionwrtype:
  15107. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  15108. type: integer
  15109. canacceptquote:
  15110. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  15111. type: integer
  15112. cangoodsexercise:
  15113. description: '[期权]是否可现货行权- 0:否 1:是'
  15114. type: integer
  15115. cangoodsexercisetype:
  15116. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  15117. type: integer
  15118. canmanualquotestrike:
  15119. description: 是否可手动报行权价- 0:否 1:是 [期权]
  15120. type: integer
  15121. canmutistage:
  15122. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  15123. type: integer
  15124. canpreexercise:
  15125. description: '[期权]是否可预申报- 0:否 1:是'
  15126. type: integer
  15127. clearinterval:
  15128. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  15129. type: integer
  15130. contracttmp:
  15131. description: 合同模板[荷兰式][竞价式][仓单贸易]
  15132. type: string
  15133. exchareaid:
  15134. description: 所属交易所,可以没有
  15135. type: integer
  15136. financemarketid:
  15137. description: 融资回购市场ID [仓单贸易]
  15138. type: integer
  15139. goodstype:
  15140. description: 商品类型 - 1:交易商品 2:仓单商品
  15141. type: integer
  15142. hasrebate:
  15143. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  15144. type: integer
  15145. hastradecredit:
  15146. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  15147. type: integer
  15148. haswr:
  15149. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  15150. type: integer
  15151. isdeductmargin:
  15152. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  15153. type: integer
  15154. isrecordsource:
  15155. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  15156. type: integer
  15157. isreleasemargin:
  15158. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  15159. type: integer
  15160. isupdatereckonprice:
  15161. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  15162. type: integer
  15163. listingmode:
  15164. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15165. type: integer
  15166. marginformula:
  15167. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15168. type: integer
  15169. marginformula2:
  15170. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15171. type: integer
  15172. marketid:
  15173. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  15174. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  15175. type: integer
  15176. marketname:
  15177. description: 市场名称
  15178. type: string
  15179. marketsectionid:
  15180. description: 市场版块ID(SEQ_MARKETSECTION)
  15181. type: integer
  15182. marketserviceid:
  15183. description: 市场服务ID
  15184. type: integer
  15185. marketstatus:
  15186. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  15187. type: integer
  15188. markettype:
  15189. description: 市场类型- 1:非交易服务 2:交易服务
  15190. type: integer
  15191. matchermode:
  15192. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  15193. type: integer
  15194. nowrquotaflag:
  15195. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  15196. type: integer
  15197. openmethod:
  15198. description: 开盘模式 - 0 自动 1手动
  15199. type: integer
  15200. orderindex:
  15201. description: 排序
  15202. type: integer
  15203. otcuserid:
  15204. description: 场外期权做市商[场外期权]
  15205. type: integer
  15206. outersynctime:
  15207. description: 外部同步时间点(h24:mi:ss)[场外期权]
  15208. type: string
  15209. paylaterflag:
  15210. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  15211. type: integer
  15212. pendingflag:
  15213. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  15214. type: integer
  15215. pendingtime:
  15216. description: 待开市时间[通道交易-对冲](HH:mm)
  15217. type: string
  15218. performancetempid:
  15219. description: 履约计划模板ID - 作废
  15220. type: integer
  15221. premiumquotemode:
  15222. description: 权利金报价方式 - 1:自动 2:手动
  15223. type: integer
  15224. rebateratio:
  15225. description: 返利比率[竞价式]
  15226. type: number
  15227. reckonorder:
  15228. description: 结算顺序
  15229. type: integer
  15230. reckonpricealgorithm:
  15231. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  15232. 6.卖一价 7.买一卖一均价 8.外部结算价'
  15233. type: integer
  15234. reckonpriceparam:
  15235. description: 结算价参数
  15236. type: integer
  15237. reckontime:
  15238. description: 结算时间[通道交易-对冲](HH:mm)
  15239. type: string
  15240. roleprioritytype:
  15241. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  15242. type: integer
  15243. selllistingauditflag:
  15244. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  15245. type: integer
  15246. trademarkettype:
  15247. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  15248. type: integer
  15249. trademode:
  15250. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15251. 21:竞拍-大宗式 22:受托竞价
  15252. type: integer
  15253. tradeproperty:
  15254. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  15255. 8:场外期权
  15256. type: integer
  15257. tradetype:
  15258. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  15259. type: integer
  15260. updatereckonpriceinterval:
  15261. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  15262. type: integer
  15263. type: object
  15264. models.TjmdQuoteGoods:
  15265. properties:
  15266. buyqty:
  15267. description: 买量(暂不做, 无值, 保留字段)
  15268. type: number
  15269. decimalplace:
  15270. description: 报价小数位
  15271. type: integer
  15272. goodscode:
  15273. description: 合约代码
  15274. type: string
  15275. goodsgroupid:
  15276. description: 商品组ID(自增ID)
  15277. type: integer
  15278. goodsgroupname:
  15279. description: 商品组名称
  15280. type: string
  15281. goodsid:
  15282. description: 合约id
  15283. type: integer
  15284. goodsname:
  15285. description: 合约名称
  15286. type: string
  15287. refgoodscode:
  15288. description: 标的合约代码
  15289. type: string
  15290. refgoodsid:
  15291. description: 标的合约id
  15292. type: integer
  15293. refgoodsname:
  15294. description: 标的合约名称
  15295. type: string
  15296. sellqty:
  15297. description: 卖量(暂不做, 无值, 保留字段)
  15298. type: number
  15299. type: object
  15300. models.TjmdTodayAccountMargin:
  15301. properties:
  15302. accountid:
  15303. description: 账号ID
  15304. type: integer
  15305. goodsid:
  15306. description: 商品ID
  15307. type: integer
  15308. infoc:
  15309. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  15310. description: 配置参数
  15311. marketid:
  15312. description: 市场ID
  15313. type: integer
  15314. type: object
  15315. models.TjmdTradeOrderDetail:
  15316. properties:
  15317. buyorsell:
  15318. description: 买卖方向 0-买 1-卖
  15319. type: integer
  15320. goodsid:
  15321. description: 商品id
  15322. type: integer
  15323. marketmaxsub:
  15324. description: 市价最大偏移范围 [浮动价 - 点差]
  15325. type: number
  15326. orderid:
  15327. description: 委托单号
  15328. type: string
  15329. orderprice:
  15330. description: 委托价格
  15331. type: number
  15332. orderqty:
  15333. description: 委托数量
  15334. type: integer
  15335. pricemode:
  15336. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  15337. type: integer
  15338. userid:
  15339. description: 用户id
  15340. type: integer
  15341. username:
  15342. description: 用户名称(已脱敏)
  15343. type: string
  15344. type: object
  15345. models.TjmdTransferApply:
  15346. properties:
  15347. applyid:
  15348. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  15349. type: integer
  15350. applystatus:
  15351. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  15352. type: integer
  15353. applytime:
  15354. description: 申请时间(时间)
  15355. type: string
  15356. auditremark:
  15357. description: 审核备注(拒绝原因?)
  15358. type: string
  15359. begindate:
  15360. description: 开始交易日(yyyymmdd)
  15361. type: string
  15362. buyorsell:
  15363. description: 买卖 - 0:买 1:卖
  15364. type: integer
  15365. enddate:
  15366. description: 结束交易日(yyyymmdd)
  15367. type: string
  15368. goodscode:
  15369. description: 商品代码
  15370. type: string
  15371. goodsid:
  15372. description: 商品ID
  15373. type: integer
  15374. goodsname:
  15375. description: 商品名称
  15376. type: string
  15377. marketid:
  15378. description: 市场ID
  15379. type: integer
  15380. qty:
  15381. description: 转让数量(数量)
  15382. type: number
  15383. tradeid:
  15384. description: 成交单号(关联持仓)
  15385. type: string
  15386. transferamount:
  15387. description: 转让总金额(金额)
  15388. type: number
  15389. transferprice:
  15390. description: 转让价格(协议价格)
  15391. type: number
  15392. type: object
  15393. models.TradeHolderDetail:
  15394. properties:
  15395. accountid:
  15396. description: 账号ID
  15397. type: integer
  15398. agreeunit:
  15399. description: 合约乘数
  15400. type: number
  15401. buyorsell:
  15402. description: 方向 - 0:买 1:卖
  15403. type: integer
  15404. currencyid:
  15405. description: 商品币种id
  15406. type: integer
  15407. currencyname:
  15408. description: 币种名称
  15409. type: string
  15410. decimalplace:
  15411. description: 商品价格小数位
  15412. type: integer
  15413. enumdicname:
  15414. description: 商品单位名称
  15415. type: string
  15416. expirecycle:
  15417. description: 行权周期(天) - 1:滚动行权时填写
  15418. type: integer
  15419. expiredate:
  15420. description: 行权日(yyyyMMdd) - 到期日
  15421. type: string
  15422. expiretype:
  15423. description: 行权日类型 - 1:滚动行权 2:固定日行权
  15424. type: integer
  15425. freezeqty:
  15426. description: 冻结数量
  15427. type: number
  15428. goodscode:
  15429. description: 商品代码
  15430. type: string
  15431. goodsid:
  15432. description: 商品ID
  15433. type: integer
  15434. goodsname:
  15435. description: 商品名称
  15436. type: string
  15437. goodunitid:
  15438. description: 商品单位id
  15439. type: integer
  15440. holderamount:
  15441. description: 持仓金额
  15442. type: number
  15443. holdercredit:
  15444. description: 持仓授信金额
  15445. type: number
  15446. holderdays:
  15447. description: 剩余冻结天数
  15448. type: integer
  15449. holderprice:
  15450. description: 持仓价格
  15451. type: number
  15452. holderqty:
  15453. description: 持仓数量
  15454. type: number
  15455. isconfirmexercise:
  15456. description: 是否确认行权- 0:否 1:是
  15457. type: integer
  15458. ispreexercise:
  15459. description: 是否预申报- 0:否 1:是 2:不可行权
  15460. type: integer
  15461. marketid:
  15462. description: 市场id
  15463. type: integer
  15464. marketname:
  15465. description: 市场名称
  15466. type: string
  15467. openprice:
  15468. description: 建仓价格
  15469. type: number
  15470. openqty:
  15471. description: 建仓数量
  15472. type: number
  15473. optiontype:
  15474. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15475. type: integer
  15476. preexerciseprice:
  15477. description: 预申报价格
  15478. type: number
  15479. premium:
  15480. description: 权利金
  15481. type: number
  15482. qtydecimalplace:
  15483. description: 商品成交量小数位
  15484. type: integer
  15485. refgoodscode:
  15486. description: 标的合约代码
  15487. type: string
  15488. refgoodsid:
  15489. description: 标的合约id
  15490. type: integer
  15491. releaseamount:
  15492. description: 释放持仓金额
  15493. type: number
  15494. releaseholdercredit:
  15495. description: 释放持仓授信金额
  15496. type: number
  15497. taname:
  15498. description: 资金账号名称
  15499. type: string
  15500. tradeamount:
  15501. description: 成交金额
  15502. type: number
  15503. tradedate:
  15504. description: 交易日(yyyyMMdd)
  15505. type: string
  15506. tradeid:
  15507. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15508. type: string
  15509. trademode:
  15510. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15511. 21:竞拍-大宗式 22:受托竞价 46:掉期
  15512. type: integer
  15513. tradeproperty:
  15514. description: 交易属性
  15515. type: integer
  15516. tradetime:
  15517. description: 交易时间
  15518. type: string
  15519. userid:
  15520. description: 用户id
  15521. type: integer
  15522. username:
  15523. description: 用户名称
  15524. type: string
  15525. type: object
  15526. models.UserCollectConfig:
  15527. properties:
  15528. accountstatus:
  15529. description: 账户状态 - 1:正常 2:停用 3:注销
  15530. type: integer
  15531. collectaccountname:
  15532. description: 收款人账户名称
  15533. type: string
  15534. collectaccountno:
  15535. description: 收款人账户
  15536. type: string
  15537. collectbankname:
  15538. description: 收款人开户行
  15539. type: string
  15540. collectbranchbankname:
  15541. description: 收款人开户支行
  15542. type: string
  15543. collectconfigid:
  15544. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  15545. type: string
  15546. remark:
  15547. description: 备注
  15548. type: string
  15549. userid:
  15550. description: 收款人用户ID
  15551. type: integer
  15552. type: object
  15553. models.UserReceiveInfo:
  15554. properties:
  15555. address:
  15556. description: 提货人详细地址
  15557. type: string
  15558. autoid:
  15559. description: AutoID
  15560. type: integer
  15561. cardnum:
  15562. description: 证件号码(加密存储)
  15563. type: string
  15564. cardtypeid:
  15565. description: 证件类型
  15566. type: integer
  15567. cityid:
  15568. description: 市
  15569. type: integer
  15570. cityname:
  15571. description: 城市名称
  15572. type: string
  15573. countryid:
  15574. description: 国家
  15575. type: integer
  15576. countryname:
  15577. description: 国家名称
  15578. type: string
  15579. districtid:
  15580. description: 地区
  15581. type: integer
  15582. districtname:
  15583. description: 地区名称
  15584. type: string
  15585. hasencrypt:
  15586. description: 数据是否已加密 - 0:未加密 1:已加密
  15587. type: integer
  15588. isdefault:
  15589. description: 是否默认地址 - 0:否 1:是
  15590. type: integer
  15591. phonenum:
  15592. description: 提货人联系方式(加密存储)
  15593. type: string
  15594. provinceid:
  15595. description: 省
  15596. type: integer
  15597. provincename:
  15598. description: 省名称
  15599. type: string
  15600. receivername:
  15601. description: 提货人姓名
  15602. type: string
  15603. takeremark:
  15604. description: 提货备注
  15605. type: string
  15606. userid:
  15607. description: 用户ID
  15608. type: integer
  15609. type: object
  15610. models.Useraccount:
  15611. properties:
  15612. accountname:
  15613. description: 账户名称(机构名称)
  15614. type: string
  15615. accountstatus:
  15616. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  15617. type: integer
  15618. applysrc:
  15619. description: 申请来源 - 1:管理端 2:终端
  15620. type: integer
  15621. auditremark:
  15622. description: 审核备注
  15623. type: string
  15624. auditsrc:
  15625. description: 审核来源 - 1:管理端 2:终端
  15626. type: integer
  15627. audittime:
  15628. description: 审核时间
  15629. type: string
  15630. audituserid:
  15631. description: 审核人
  15632. type: integer
  15633. broker:
  15634. description: 所属经纪人ID
  15635. type: integer
  15636. canceltime:
  15637. description: 销户时间
  15638. type: string
  15639. canceluserid:
  15640. description: 销户人
  15641. type: integer
  15642. canrecommend:
  15643. description: 是否可推荐 - 0:不可 1;可
  15644. type: integer
  15645. createtime:
  15646. description: 创建时间
  15647. type: string
  15648. creatorid:
  15649. description: 创建人
  15650. type: integer
  15651. hasauth:
  15652. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  15653. type: integer
  15654. isanonymous:
  15655. description: 是否匿名下单 - 0:否 1:是
  15656. type: integer
  15657. maxinvestornum:
  15658. description: 最大用户数(经纪会员下投资者个数)
  15659. type: integer
  15660. memberuserid:
  15661. description: 所属会员ID
  15662. type: integer
  15663. modifierid:
  15664. description: 修改人
  15665. type: integer
  15666. modifyremark:
  15667. description: 变更备注
  15668. type: string
  15669. modifystatus:
  15670. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  15671. type: integer
  15672. modifytime:
  15673. description: 修改时间
  15674. type: string
  15675. parenttopuser:
  15676. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  15677. type: string
  15678. parentuserid:
  15679. description: 所属机构ID
  15680. type: integer
  15681. reckonaccountid:
  15682. description: 默认结算资金账号ID(机构分润使用) 作废
  15683. type: integer
  15684. refercount:
  15685. description: 推荐总人数
  15686. type: integer
  15687. refereeuserid:
  15688. description: 推荐人ID
  15689. type: integer
  15690. refernum:
  15691. description: 推荐码
  15692. type: string
  15693. rootuserid:
  15694. description: 根用户ID
  15695. type: integer
  15696. subaccountlevel:
  15697. description: 子账户层数
  15698. type: integer
  15699. subarealevelpath:
  15700. description: 子机构层级路径(逗号分隔,首尾加逗号)
  15701. type: string
  15702. userid:
  15703. description: 用户ID
  15704. type: integer
  15705. usertype:
  15706. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  15707. type: integer
  15708. required:
  15709. - userid
  15710. type: object
  15711. models.Userfavoritegoods:
  15712. properties:
  15713. goodsid:
  15714. description: 商品ID
  15715. type: integer
  15716. required:
  15717. - goodsid
  15718. type: object
  15719. models.Userinfo:
  15720. properties:
  15721. address:
  15722. description: 地址
  15723. type: string
  15724. attachment1:
  15725. description: 附件1
  15726. type: string
  15727. attachment2:
  15728. description: 附件2
  15729. type: string
  15730. bankaccount:
  15731. description: 银行帐号 (加密存储)
  15732. type: string
  15733. bankaccountname:
  15734. description: 收款人名称
  15735. type: string
  15736. bankcardfrontphotourl:
  15737. description: 银行卡正面照地址
  15738. type: string
  15739. bankid:
  15740. description: 银行编码
  15741. type: string
  15742. bankname:
  15743. description: 银行名称
  15744. type: string
  15745. biznature:
  15746. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15747. type: integer
  15748. bizscope:
  15749. description: 企业经营范围(企业)
  15750. type: string
  15751. cardbackphotourl:
  15752. description: 证件背面图片地址
  15753. type: string
  15754. cardfrontphotourl:
  15755. description: 证件正面图片地址
  15756. type: string
  15757. cardnum:
  15758. description: 证件号码(加密存储)
  15759. type: string
  15760. cardtypeid:
  15761. description: 证件类型ID
  15762. type: integer
  15763. cityid:
  15764. description: 市
  15765. type: integer
  15766. company:
  15767. description: 公司(个人)
  15768. type: string
  15769. contactname:
  15770. description: 联系人
  15771. type: string
  15772. countryid:
  15773. description: 国家
  15774. type: integer
  15775. createtime:
  15776. description: 创建时间
  15777. type: string
  15778. creatorid:
  15779. description: 创建人
  15780. type: integer
  15781. customername:
  15782. description: 客户名称(企业名称)
  15783. type: string
  15784. districtid:
  15785. description: 地区
  15786. type: integer
  15787. email:
  15788. description: 邮件(加密存储)
  15789. type: string
  15790. fax:
  15791. description: 传真(加密存储)
  15792. type: string
  15793. halfbodyphotourl:
  15794. description: 半身照地址
  15795. type: string
  15796. hasencrypt:
  15797. description: 数据是否已加密 - 0:未加密 1:已加密
  15798. type: integer
  15799. headurl:
  15800. description: 头像地址
  15801. type: string
  15802. legalcardbackphotourl:
  15803. description: 法人身份证背面照地址
  15804. type: string
  15805. legalcardfrontphotourl:
  15806. description: 法人身份证正面照地址
  15807. type: string
  15808. legalpersonname:
  15809. description: 法人姓名(企业)
  15810. type: string
  15811. mobile:
  15812. description: 手机号码(加密存储)
  15813. type: string
  15814. mobile2:
  15815. description: 手机号码[明文-尚志]
  15816. type: string
  15817. modifierid:
  15818. description: 修改人
  15819. type: integer
  15820. modifiertime:
  15821. description: 修改时间
  15822. type: string
  15823. needinvoice:
  15824. description: 是否需要发票 - 0:不需要 1:需要
  15825. type: integer
  15826. nickname:
  15827. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15828. type: string
  15829. openmode:
  15830. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  15831. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  15832. type: integer
  15833. otherurl:
  15834. description: 其它图片地址[使用分号分隔]
  15835. type: string
  15836. postalcode:
  15837. description: 邮政编码
  15838. type: string
  15839. provinceid:
  15840. description: 省
  15841. type: integer
  15842. qq:
  15843. description: QQ(加密存储
  15844. type: string
  15845. remark:
  15846. description: 备注
  15847. type: string
  15848. sex:
  15849. description: '用户性别 0: 女 1: 男'
  15850. type: integer
  15851. signpdfurl:
  15852. description: 签约pdf文件
  15853. type: string
  15854. telphone:
  15855. description: 联系电话(加密存储)
  15856. type: string
  15857. userid:
  15858. description: 用户ID
  15859. type: integer
  15860. userinfotype:
  15861. description: 用户信息类型 - 1:个人 2:企业
  15862. type: integer
  15863. userstatus:
  15864. description: 用户状态 - 1:正常 2:注销
  15865. type: integer
  15866. usertype:
  15867. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  15868. type: integer
  15869. wechat:
  15870. description: 微信(加密存储)
  15871. type: string
  15872. wskhinfo:
  15873. description: 开户申请信息(JSON)
  15874. type: string
  15875. required:
  15876. - userid
  15877. type: object
  15878. models.WRSConverTDetail:
  15879. properties:
  15880. convertratio:
  15881. description: 套保系数
  15882. type: number
  15883. deliverygoodscode:
  15884. description: 现货商品代码
  15885. type: string
  15886. deliverygoodsid:
  15887. description: 现货品种ID
  15888. type: integer
  15889. deliverygoodsname:
  15890. description: 现货商品名称
  15891. type: string
  15892. enumdicname:
  15893. description: 单位名称
  15894. type: string
  15895. goodsunitid:
  15896. description: 套保品种单位id
  15897. type: integer
  15898. middlegoodscode:
  15899. description: 套保品种代码
  15900. type: string
  15901. middlegoodsid:
  15902. description: 套保品种ID
  15903. type: integer
  15904. middlegoodsname:
  15905. description: 套保品种名称
  15906. type: string
  15907. modifytime:
  15908. description: 修改时间
  15909. type: string
  15910. wrstandardid:
  15911. description: 品类ID
  15912. type: integer
  15913. type: object
  15914. models.WRStandardInfo:
  15915. properties:
  15916. areauserid:
  15917. description: 所属机构
  15918. type: integer
  15919. convertfactor:
  15920. description: 标仓系数
  15921. type: number
  15922. createtime:
  15923. description: 创建时间
  15924. type: string
  15925. creatorid:
  15926. description: 创建人
  15927. type: integer
  15928. deliverygoodsid:
  15929. description: 品种ID
  15930. type: integer
  15931. deliverygoodsname:
  15932. description: 交割商品名称
  15933. type: string
  15934. factoryitemjson:
  15935. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  15936. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  15937. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  15938. 逗号分隔'
  15939. type: string
  15940. isvalid:
  15941. description: 是否有效 - 0:无效 1:有效
  15942. type: integer
  15943. minivalue:
  15944. description: 最小变动值
  15945. type: integer
  15946. minivaluedp:
  15947. description: 最小变动值小数位
  15948. type: integer
  15949. realminivalue:
  15950. description: 实际最小变动值
  15951. type: integer
  15952. realminivaluedp:
  15953. description: 实际最小变动值小数位
  15954. type: integer
  15955. remark:
  15956. description: 备注
  15957. type: string
  15958. unitid:
  15959. description: 单位ID
  15960. type: integer
  15961. unitname:
  15962. description: 单位
  15963. type: string
  15964. updatetime:
  15965. description: 更新时间
  15966. type: string
  15967. updatorid:
  15968. description: 更新人
  15969. type: integer
  15970. wrsstatus:
  15971. description: 状态 - 作废 - 0:未激活 1:正常
  15972. type: integer
  15973. wrstandardcode:
  15974. description: 现货品类代码
  15975. type: string
  15976. wrstandardid:
  15977. description: 现货品类ID(SEQ_WRSTANDARD)
  15978. type: integer
  15979. wrstandardname:
  15980. description: 现货品类名称
  15981. type: string
  15982. required:
  15983. - wrstandardid
  15984. type: object
  15985. models.WRTradeBargainApply:
  15986. properties:
  15987. accountid:
  15988. description: 摘牌资金账号
  15989. type: integer
  15990. applyprice:
  15991. description: 申请价格(议价价格)
  15992. type: string
  15993. applyqty:
  15994. description: 摘牌数量(议价数量)
  15995. type: number
  15996. applyremark:
  15997. description: 申请备注
  15998. type: string
  15999. applystatus:
  16000. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  16001. type: integer
  16002. applytime:
  16003. description: 申请时间(议价时间)
  16004. type: string
  16005. begindate:
  16006. description: 开始交易日(yyyymmdd)
  16007. type: string
  16008. buyorsell:
  16009. description: 买卖(挂牌类型) - 0:买 1:卖
  16010. type: integer
  16011. confirmremark:
  16012. description: 确认备注
  16013. type: string
  16014. confirmtime:
  16015. description: 确认时间
  16016. type: string
  16017. confirmuserid:
  16018. description: 确认人
  16019. type: integer
  16020. deliverygoodscode:
  16021. description: 品种代码
  16022. type: string
  16023. deliverygoodsid:
  16024. description: 品种ID
  16025. type: integer
  16026. deliverygoodsname:
  16027. description: 品种名称
  16028. type: string
  16029. deliverymonth:
  16030. description: 交收月
  16031. type: string
  16032. enddate:
  16033. description: 结束交易日(yyyymmdd)
  16034. type: string
  16035. enumdicname:
  16036. description: 单位名称
  16037. type: string
  16038. fixedprice:
  16039. description: 挂牌价格
  16040. type: number
  16041. handlestatus:
  16042. description: 处理状态
  16043. type: integer
  16044. marginvalue:
  16045. description: 履约保证金比例
  16046. type: number
  16047. marketid:
  16048. description: 市场ID
  16049. type: integer
  16050. matchaccountid:
  16051. description: 挂牌方资金账号
  16052. type: integer
  16053. matchuserid:
  16054. description: 挂牌方用户id
  16055. type: integer
  16056. matchusername:
  16057. description: 挂牌方用户名称(已脱敏)
  16058. type: string
  16059. minivalue:
  16060. description: 现货商品最小变动值
  16061. type: integer
  16062. optioncompare:
  16063. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16064. type: string
  16065. orderqty:
  16066. description: 挂牌数量
  16067. type: integer
  16068. refprice:
  16069. description: 参考价格
  16070. type: string
  16071. retcode:
  16072. description: 委托返回代码
  16073. type: integer
  16074. templatename:
  16075. description: 履约方式(履约模板名称)
  16076. type: string
  16077. tradedate:
  16078. description: 交易日(yyyyMMdd)
  16079. type: string
  16080. userid:
  16081. description: 摘牌人用户ID(议价人ID)
  16082. type: integer
  16083. username:
  16084. description: 议价人名字(已脱敏)
  16085. type: string
  16086. validtime:
  16087. description: 有效期限
  16088. type: string
  16089. warehouseid:
  16090. description: 仓库ID
  16091. type: integer
  16092. warehousename:
  16093. description: 仓库名称
  16094. type: string
  16095. wrbargainid:
  16096. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  16097. type: string
  16098. wrfactortypeid:
  16099. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16100. type: string
  16101. wrfactortypename:
  16102. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16103. type: string
  16104. wrstandardcode:
  16105. description: 现货商品代码
  16106. type: string
  16107. wrstandardid:
  16108. description: 现货商品ID
  16109. type: integer
  16110. wrstandardname:
  16111. description: 商品名称
  16112. type: string
  16113. wrtradeorderid:
  16114. description: 关联委托单ID
  16115. type: string
  16116. wrtypename:
  16117. description: 商品
  16118. type: string
  16119. type: object
  16120. models.Warehouseinfo:
  16121. properties:
  16122. address:
  16123. description: 详细地址
  16124. type: string
  16125. areauserid:
  16126. description: 所属机构
  16127. type: integer
  16128. autoid:
  16129. description: 自增ID
  16130. type: integer
  16131. cityid:
  16132. description: 市
  16133. type: integer
  16134. contactname:
  16135. description: 联系人
  16136. type: string
  16137. contactnum:
  16138. description: 联系电话
  16139. type: string
  16140. countryid:
  16141. description: 国家
  16142. type: integer
  16143. createtime:
  16144. description: 创建时间
  16145. type: string
  16146. districtid:
  16147. description: 区
  16148. type: integer
  16149. hasvideo:
  16150. description: 是否有视频 - 0:无 1:有
  16151. type: integer
  16152. provinceid:
  16153. description: 省
  16154. type: integer
  16155. remark:
  16156. description: 审核备注
  16157. type: string
  16158. videourl:
  16159. description: 视频地址
  16160. type: string
  16161. warehousecode:
  16162. description: 仓库代码
  16163. type: string
  16164. warehousename:
  16165. description: 仓库名称
  16166. type: string
  16167. warehousestatus:
  16168. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  16169. type: integer
  16170. warehousetype:
  16171. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  16172. type: integer
  16173. required:
  16174. - autoid
  16175. - warehousecode
  16176. type: object
  16177. models.WrAverageTradePrice:
  16178. properties:
  16179. averageprice:
  16180. description: 成交均价
  16181. type: number
  16182. tradedate:
  16183. description: 交易日yyyymm
  16184. type: string
  16185. type: object
  16186. models.WrBrandAndYears:
  16187. properties:
  16188. brandlst:
  16189. description: 品牌列表
  16190. items:
  16191. $ref: '#/definitions/models.DgFactoryItem'
  16192. type: array
  16193. yearslst:
  16194. description: 年份列表
  16195. items:
  16196. $ref: '#/definitions/models.DgFactoryItem'
  16197. type: array
  16198. type: object
  16199. models.WrBsGoodsInfo:
  16200. properties:
  16201. buyorsell:
  16202. description: 买卖方向 0-买 1-卖
  16203. type: integer
  16204. goodsid:
  16205. description: 交易合约ID
  16206. type: integer
  16207. lstitem:
  16208. description: 商品信息项
  16209. items:
  16210. $ref: '#/definitions/models.WrTypeItem'
  16211. type: array
  16212. lststep:
  16213. description: 履约规则
  16214. items:
  16215. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16216. type: array
  16217. type: object
  16218. models.WrBuybackDetail:
  16219. properties:
  16220. buybackamount:
  16221. description: 回购金额
  16222. type: number
  16223. buybackqty:
  16224. description: 回购数量
  16225. type: number
  16226. buybackreleasemargin:
  16227. description: 回购释放保证金
  16228. type: number
  16229. buybacktime:
  16230. description: 回购时间
  16231. type: string
  16232. errordesc:
  16233. description: 错误描述
  16234. type: string
  16235. handlestatus:
  16236. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  16237. type: integer
  16238. relatedwrid:
  16239. description: 关联仓单ID
  16240. type: integer
  16241. scfcontractid:
  16242. description: SCF合同ID
  16243. type: string
  16244. scfwrbuybackid:
  16245. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  16246. type: integer
  16247. tradedate:
  16248. description: 交易日(yyyyMMdd)
  16249. type: string
  16250. type: object
  16251. models.WrClientAdSpaceConfig:
  16252. properties:
  16253. adspaceid:
  16254. description: 广告位ID
  16255. type: integer
  16256. adspacename:
  16257. description: 广告位名称
  16258. type: string
  16259. adspacetype:
  16260. description: 广告位类型 - 1:固定广告位
  16261. type: integer
  16262. areauserid:
  16263. description: 所属机构ID
  16264. type: integer
  16265. createdate:
  16266. description: 创建时间
  16267. type: string
  16268. imagepath:
  16269. description: 图片
  16270. type: string
  16271. modifierid:
  16272. description: 操作人
  16273. type: integer
  16274. recsize:
  16275. description: 推荐尺寸
  16276. type: string
  16277. title:
  16278. description: 标题
  16279. type: string
  16280. updatedate:
  16281. description: 更新时间
  16282. type: string
  16283. urlcontent:
  16284. description: 链接(地址\商品ID\功能菜单Key\appid)
  16285. type: string
  16286. urltype:
  16287. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  16288. type: integer
  16289. type: object
  16290. models.WrDeliveryAvalidHoldLB:
  16291. properties:
  16292. accountid:
  16293. description: 资金账号
  16294. type: integer
  16295. avalidqty:
  16296. description: 数量(可点选数量)
  16297. type: number
  16298. deliverygoodsid:
  16299. description: 品种id
  16300. type: integer
  16301. enumdicname:
  16302. description: 单位名称
  16303. type: string
  16304. goodsid:
  16305. description: x合约商品id
  16306. type: integer
  16307. ladingbillid:
  16308. description: 提单id
  16309. type: string
  16310. pgoodscode:
  16311. description: p商品代码(点价合约)
  16312. type: string
  16313. pgoodsid:
  16314. description: p商品id(点价合约)
  16315. type: integer
  16316. pgoodsname:
  16317. description: p商品名称(点价合约)
  16318. type: string
  16319. pricemove:
  16320. description: 升贴水
  16321. type: number
  16322. subnum:
  16323. description: 提单子id
  16324. type: integer
  16325. userid:
  16326. description: 用户id
  16327. type: integer
  16328. username:
  16329. description: 仓单持有人
  16330. type: string
  16331. warehousecode:
  16332. description: 仓库代码
  16333. type: string
  16334. warehouseid:
  16335. description: 仓库id
  16336. type: integer
  16337. warehousename:
  16338. description: 仓库名称
  16339. type: string
  16340. wrfactortypeid:
  16341. description: 仓单要素id
  16342. type: string
  16343. wrstandardcode:
  16344. description: 品代码
  16345. type: string
  16346. wrstandardid:
  16347. description: 品类d
  16348. type: integer
  16349. wrstandardname:
  16350. description: 品类名称
  16351. type: string
  16352. wrtypename:
  16353. description: 商品
  16354. type: string
  16355. xgoodscode:
  16356. description: x合约代码
  16357. type: string
  16358. xgoodsname:
  16359. description: x合约名称
  16360. type: string
  16361. type: object
  16362. models.WrDeliveryDetail:
  16363. properties:
  16364. accountid:
  16365. description: 账号ID
  16366. type: integer
  16367. averageprice:
  16368. description: 交割均价 = 交割金额 / 交割数量
  16369. type: number
  16370. begindate:
  16371. description: 开始交易日(yyyymmdd)
  16372. type: string
  16373. buyorsell:
  16374. description: 方向 - 0:买 1:卖
  16375. type: integer
  16376. deliveryamount:
  16377. description: 货款金额(X总货款+P总货款)
  16378. type: number
  16379. deliveryid:
  16380. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  16381. type: string
  16382. deliveryorderid:
  16383. description: 申报单号
  16384. type: string
  16385. deliverypricemove:
  16386. description: 升贴水(升贴水总额)
  16387. type: number
  16388. deliveryqty:
  16389. description: 交收数量(点选数量)
  16390. type: number
  16391. deliverystatus:
  16392. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  16393. type: integer
  16394. deliverytime:
  16395. description: 交割时间
  16396. type: string
  16397. deliverytotalamount:
  16398. description: 交收金额
  16399. type: number
  16400. enddate:
  16401. description: 结束交易日(yyyymmdd)
  16402. type: string
  16403. enumdicname:
  16404. description: 单位名称
  16405. type: string
  16406. matchaccountid:
  16407. description: 对手账号ID
  16408. type: integer
  16409. matchusername:
  16410. description: 对手方名称(仓单持有人)
  16411. type: string
  16412. p1goodsremainamount:
  16413. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  16414. type: number
  16415. pdeliverycloseqty:
  16416. description: p合约平仓数量
  16417. type: number
  16418. pdeliveryprice:
  16419. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  16420. type: number
  16421. pgoodscode:
  16422. description: 商品代码
  16423. type: string
  16424. pgoodsid:
  16425. description: p点选合约id
  16426. type: integer
  16427. pgoodsname:
  16428. description: 商品名称
  16429. type: string
  16430. ppricemode:
  16431. description: 点价价格方式 - 1:商品价 2:固定值
  16432. type: integer
  16433. tradedate:
  16434. description: 交易日(yyyymmdd)
  16435. type: string
  16436. userid:
  16437. description: 用户id
  16438. type: integer
  16439. username:
  16440. description: 用户名称
  16441. type: string
  16442. warehousename:
  16443. description: 仓库名称
  16444. type: string
  16445. wrfactortypeid:
  16446. description: 仓单要素类型ID
  16447. type: string
  16448. wrtypename:
  16449. description: 商品
  16450. type: string
  16451. xdeliverycloseqty:
  16452. description: 合约数量
  16453. type: number
  16454. xgoodsamount:
  16455. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  16456. type: number
  16457. xgoodscode:
  16458. description: 商品代码
  16459. type: string
  16460. xgoodsid:
  16461. description: x交易合约ID
  16462. type: integer
  16463. xgoodsname:
  16464. description: 商品名称
  16465. type: string
  16466. type: object
  16467. models.WrDeliveryGoodsSection:
  16468. properties:
  16469. dglst:
  16470. description: 板块商品列表
  16471. items:
  16472. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  16473. type: array
  16474. imagepath:
  16475. description: 图片地址
  16476. type: string
  16477. orderindex:
  16478. description: 排序
  16479. type: integer
  16480. sectionid:
  16481. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  16482. = 1的版块1 - 云融指数
  16483. type: integer
  16484. sectionname:
  16485. description: 版块名称
  16486. type: string
  16487. sectiontype:
  16488. description: 版块类型 - 1:指数版块 2:普通版块
  16489. type: integer
  16490. type: object
  16491. models.WrDeliveryGoodsSectionConfig:
  16492. properties:
  16493. deliverygoodscode:
  16494. description: 现货商品代码
  16495. type: string
  16496. deliverygoodsid:
  16497. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16498. type: integer
  16499. deliverygoodsname:
  16500. description: 现货商品名称
  16501. type: string
  16502. orderindex:
  16503. description: 排序
  16504. type: integer
  16505. type: object
  16506. models.WrDraftUserInfo:
  16507. properties:
  16508. address:
  16509. description: 地址
  16510. type: string
  16511. attachment1:
  16512. description: 附件1
  16513. type: string
  16514. attachment2:
  16515. description: 附件2
  16516. type: string
  16517. attachment3:
  16518. description: 附件3
  16519. type: string
  16520. attachment4:
  16521. description: 附件4
  16522. type: string
  16523. attachment5:
  16524. description: 附件5
  16525. type: string
  16526. bankaccount:
  16527. description: 银行帐号 (加密存储)
  16528. type: string
  16529. bankaccountname:
  16530. description: 收款人名称
  16531. type: string
  16532. bankcardfrontphotourl:
  16533. description: 银行卡正面照地址
  16534. type: string
  16535. bankid:
  16536. description: 银行编码
  16537. type: string
  16538. bankname:
  16539. description: 银行名称
  16540. type: string
  16541. birthday:
  16542. description: 生日(个人:年月日)
  16543. type: string
  16544. biznature:
  16545. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16546. type: integer
  16547. bizscope:
  16548. description: 企业经营范围(企业)
  16549. type: string
  16550. biztype:
  16551. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  16552. type: integer
  16553. cardbackphotourl:
  16554. description: 证件背面图片地址
  16555. type: string
  16556. cardfrontphotourl:
  16557. description: 证件正面图片地址
  16558. type: string
  16559. cardnum:
  16560. description: 证件号码(加密存储)
  16561. type: string
  16562. cardtypeid:
  16563. description: 证件类型ID
  16564. type: integer
  16565. cityid:
  16566. description: 市
  16567. type: integer
  16568. company:
  16569. description: 公司(个人)
  16570. type: string
  16571. contactcardbackphotourl:
  16572. description: 联系人证件背面图片地址
  16573. type: string
  16574. contactcardfrontphotourl:
  16575. description: 联系人证件正面图片地址
  16576. type: string
  16577. contactname:
  16578. description: 联系人
  16579. type: string
  16580. countryid:
  16581. description: 国家
  16582. type: integer
  16583. createtime:
  16584. description: 创建时间
  16585. type: string
  16586. creatorid:
  16587. description: 创建人
  16588. type: integer
  16589. creditquota:
  16590. description: 授信额度(金瑞)
  16591. type: number
  16592. customername:
  16593. description: 客户名称(企业名称)
  16594. type: string
  16595. districtid:
  16596. description: 地区
  16597. type: integer
  16598. email:
  16599. description: 邮件(加密存储)
  16600. type: string
  16601. fax:
  16602. description: 传真(加密存储)
  16603. type: string
  16604. halfbodyphotourl:
  16605. description: 半身照地址
  16606. type: string
  16607. hasencrypt:
  16608. description: 数据是否已加密 - 0:未加密 1:已加密
  16609. type: integer
  16610. headurl:
  16611. description: 头像地址
  16612. type: string
  16613. legalcardbackphotourl:
  16614. description: 法人身份证背面照地址
  16615. type: string
  16616. legalcardfrontphotourl:
  16617. description: 法人身份证正面照地址
  16618. type: string
  16619. legalpersonname:
  16620. description: 法人姓名(企业)
  16621. type: string
  16622. mobile:
  16623. description: 手机号码(加密存储)
  16624. type: string
  16625. mobile2:
  16626. description: 手机号码[明文-尚志]
  16627. type: string
  16628. modifierid:
  16629. description: 修改人
  16630. type: integer
  16631. modifiertime:
  16632. description: 修改时间
  16633. type: string
  16634. needinvoice:
  16635. description: 是否需要发票 - 0:不需要 1:需要
  16636. type: integer
  16637. nickname:
  16638. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16639. type: string
  16640. openmode:
  16641. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  16642. 6:苹果手机端注册 7:PC交易端注册"
  16643. type: integer
  16644. otherurl:
  16645. description: 其它图片地址[使用分号分隔]
  16646. type: string
  16647. postalcode:
  16648. description: 邮政编码
  16649. type: string
  16650. provinceid:
  16651. description: 省
  16652. type: integer
  16653. proxystatementurl:
  16654. description: 授权委托书
  16655. type: string
  16656. qq:
  16657. description: QQ(加密存储
  16658. type: string
  16659. remark:
  16660. description: 备注
  16661. type: string
  16662. sex:
  16663. description: '用户性别 0: 女 1: 男'
  16664. type: integer
  16665. signpdfurl:
  16666. description: 签约pdf文件
  16667. type: string
  16668. taxpayernum:
  16669. description: 纳税人识别号
  16670. type: string
  16671. telphone:
  16672. description: 联系电话(加密存储)
  16673. type: string
  16674. userid:
  16675. description: 用户ID
  16676. type: integer
  16677. userinfotype:
  16678. description: 用户信息类型 - 1:个人 2:企业
  16679. type: integer
  16680. userstatus:
  16681. description: 用户状态 - 1:正常 2:注销
  16682. type: integer
  16683. usertype:
  16684. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  16685. type: integer
  16686. wechat:
  16687. description: 微信(加密存储)
  16688. type: string
  16689. wskhinfo:
  16690. description: 开户申请信息(JSON)
  16691. type: string
  16692. type: object
  16693. models.WrFAProductDetail:
  16694. properties:
  16695. accountid:
  16696. description: 资金账号
  16697. type: integer
  16698. areauserid:
  16699. description: 金融机构ID
  16700. type: integer
  16701. financingdays:
  16702. description: 天数(天)
  16703. type: integer
  16704. interestminlen:
  16705. description: 最小起息天数
  16706. type: integer
  16707. interestrate:
  16708. description: 利率
  16709. type: number
  16710. interestratemode:
  16711. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16712. type: integer
  16713. interestsettlemode:
  16714. description: 结息方式 - 1:按日结息 3:按月结息
  16715. type: integer
  16716. interestsettlevalue:
  16717. description: 结息方式值
  16718. type: integer
  16719. isautoloan:
  16720. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  16721. type: integer
  16722. loantag:
  16723. description: '放款标识: "放款快" 或者为空'
  16724. type: string
  16725. marginratio:
  16726. description: 保证金比率质押率 - [仓单质押]
  16727. type: number
  16728. productdetailid:
  16729. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  16730. type: integer
  16731. productid:
  16732. description: 金融产品ID
  16733. type: integer
  16734. productname:
  16735. description: 产品名称
  16736. type: string
  16737. updatetime:
  16738. description: 更新时间
  16739. type: string
  16740. username:
  16741. description: 融出方
  16742. type: string
  16743. type: object
  16744. models.WrFactorTypeInfo:
  16745. properties:
  16746. deliverygoodscode:
  16747. description: 品种代码
  16748. type: string
  16749. deliverygoodsname:
  16750. description: 品种名称
  16751. type: string
  16752. dgfactoryitemid:
  16753. description: 选择项id
  16754. type: integer
  16755. dgfactoryitemtypeid:
  16756. description: 要素选择项ID (1-仓库 2-品牌)
  16757. type: integer
  16758. dgfactoryitemvalue:
  16759. description: 要素项值
  16760. type: string
  16761. itemtypename:
  16762. description: 要素项名称
  16763. type: string
  16764. optioncompare:
  16765. description: 选择比较串
  16766. type: string
  16767. warehouseid:
  16768. description: 仓库id
  16769. type: integer
  16770. wrfactortypeid:
  16771. description: 仓单要素ID
  16772. type: string
  16773. wrfactortypename:
  16774. description: 要素名称
  16775. type: string
  16776. wrfactortypename2:
  16777. description: 要素名称(不含仓库)
  16778. type: string
  16779. wrstandardcode:
  16780. description: 品类代码
  16781. type: string
  16782. wrstandardid:
  16783. description: 品类id
  16784. type: integer
  16785. wrstandardname:
  16786. description: 品类名称
  16787. type: string
  16788. type: object
  16789. models.WrFilterItem:
  16790. properties:
  16791. itemcode:
  16792. description: 代码
  16793. type: string
  16794. itemid:
  16795. description: 项id
  16796. type: integer
  16797. itemname:
  16798. description: 名称
  16799. type: string
  16800. itemtype:
  16801. description: 类型 1-品种 2-品类(商品) 3-仓库
  16802. type: integer
  16803. type: object
  16804. models.WrFinanceBuyApply:
  16805. properties:
  16806. applydate:
  16807. description: 申请时间
  16808. type: string
  16809. applystatus:
  16810. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  16811. type: integer
  16812. applyuserid:
  16813. description: 申请人
  16814. type: integer
  16815. auditdate:
  16816. description: 审核时间
  16817. type: string
  16818. auditremark:
  16819. description: 审核备注
  16820. type: string
  16821. audituserid:
  16822. description: 审核人
  16823. type: integer
  16824. buyaccountid:
  16825. description: 买方资金账号
  16826. type: integer
  16827. buyorsell:
  16828. description: 买卖 - 0:买 1:卖
  16829. type: integer
  16830. buyuserid:
  16831. description: 买方用户ID
  16832. type: integer
  16833. buyusername:
  16834. description: 买方名称
  16835. type: string
  16836. buywrtradeorderid:
  16837. description: 融资方买委托单ID
  16838. type: string
  16839. deliverygoodscode:
  16840. description: 品种代码
  16841. type: string
  16842. deliverygoodsid:
  16843. description: 品种ID
  16844. type: integer
  16845. deliverygoodsname:
  16846. description: 品种名称
  16847. type: string
  16848. deliverymonth:
  16849. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  16850. type: string
  16851. enumdicname:
  16852. description: 单位名称
  16853. type: string
  16854. financeaccountid:
  16855. description: 融资方资金帐户ID
  16856. type: integer
  16857. financeapplyid:
  16858. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16859. type: string
  16860. financeareauserid:
  16861. description: 融资方用户ID
  16862. type: string
  16863. financename:
  16864. description: 融出方名称
  16865. type: string
  16866. financetype:
  16867. description: 融资类型 1-融资回购
  16868. type: integer
  16869. financingdays:
  16870. description: 天数(天)
  16871. type: integer
  16872. freezebuymargin:
  16873. description: 冻结融资保证金(买方)
  16874. type: number
  16875. handleremark:
  16876. description: 处理备注
  16877. type: string
  16878. handlestatus:
  16879. description: 处理状态
  16880. type: integer
  16881. interestminlen:
  16882. description: 最小起息天数
  16883. type: integer
  16884. interestrate:
  16885. description: 利率
  16886. type: number
  16887. interestratemode:
  16888. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16889. type: integer
  16890. interestsettlemode:
  16891. description: 结息方式 - 1:按日结息 3:按月结息
  16892. type: integer
  16893. interestsettlevalue:
  16894. description: 结息方式值
  16895. type: integer
  16896. isautoloan:
  16897. description: 是否自动放款 - 0:手动 1:自动
  16898. type: integer
  16899. marginratio:
  16900. description: 保证金比率质押率 - [仓单质押]
  16901. type: number
  16902. marketid:
  16903. description: 市场ID
  16904. type: integer
  16905. minivalue:
  16906. description: 现货商品最小变动值
  16907. type: integer
  16908. optioncompare:
  16909. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16910. type: string
  16911. orderqty:
  16912. description: 委托数量(商品数量)
  16913. type: number
  16914. productdetailid:
  16915. description: 产品组合ID
  16916. type: integer
  16917. productid:
  16918. description: 金融产品ID
  16919. type: integer
  16920. productname:
  16921. description: 产品名称
  16922. type: string
  16923. remark:
  16924. description: 备注
  16925. type: string
  16926. scfcontractid:
  16927. description: 仓单回购合同ID
  16928. type: string
  16929. sellaccountid:
  16930. description: 卖方资金账号
  16931. type: integer
  16932. selluserid:
  16933. description: 卖方用户ID
  16934. type: integer
  16935. sellwrtradeorderid:
  16936. description: 卖方委托单ID
  16937. type: string
  16938. tradeamount:
  16939. description: 成交金额(借款金额)
  16940. type: number
  16941. tradedate:
  16942. description: 交易日(yyyyMMdd)
  16943. type: string
  16944. tradeprice:
  16945. description: 成交价格
  16946. type: number
  16947. warehouseid:
  16948. description: 仓库ID
  16949. type: integer
  16950. warehousename:
  16951. description: 仓库名称
  16952. type: string
  16953. wrfactortypeid:
  16954. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16955. type: string
  16956. wrfactortypename:
  16957. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16958. type: string
  16959. wrpricetype:
  16960. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  16961. type: integer
  16962. wrstandardcode:
  16963. description: 现货商品代码
  16964. type: string
  16965. wrstandardid:
  16966. description: 现货商品ID
  16967. type: integer
  16968. wrstandardname:
  16969. description: 商品名称
  16970. type: string
  16971. wrtypename:
  16972. description: 商品
  16973. type: string
  16974. type: object
  16975. models.WrFriendApply:
  16976. properties:
  16977. applicantid:
  16978. description: 申请人
  16979. type: integer
  16980. applyname:
  16981. description: 申请人名称
  16982. type: string
  16983. applysrc:
  16984. description: 申请来源 - 1:管理端 2:终端
  16985. type: integer
  16986. applystatus:
  16987. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16988. type: integer
  16989. applytime:
  16990. description: 申请时间
  16991. type: string
  16992. auditname:
  16993. description: 审核人名称
  16994. type: string
  16995. auditorid:
  16996. description: 审核人
  16997. type: integer
  16998. auditremark:
  16999. description: 审核备注
  17000. type: string
  17001. auditsrc:
  17002. description: 审核来源 - 1:管理端 2:终端
  17003. type: integer
  17004. audittime:
  17005. description: 审核时间
  17006. type: string
  17007. friendapplyid:
  17008. description: 申请ID(SEQ_FRIENDAPPLY)
  17009. type: string
  17010. friendname:
  17011. description: 好友名字(已脱敏)
  17012. type: string
  17013. frienduserid:
  17014. description: 好友用户ID
  17015. type: string
  17016. remark:
  17017. description: 备注
  17018. type: string
  17019. userid:
  17020. description: 申请人用户ID
  17021. type: integer
  17022. type: object
  17023. models.WrFtDeliveryGoods:
  17024. properties:
  17025. deliverygoodscode:
  17026. description: 品种代码
  17027. type: string
  17028. deliverygoodsid:
  17029. description: 品种ID
  17030. type: integer
  17031. deliverygoodsname:
  17032. description: 品种名称
  17033. type: string
  17034. wdlst:
  17035. description: 商品列表
  17036. items:
  17037. $ref: '#/definitions/models.WrFtWrstandard'
  17038. type: array
  17039. type: object
  17040. models.WrFtWrstandard:
  17041. properties:
  17042. enumdicname:
  17043. description: 单位名称
  17044. type: string
  17045. minivalue:
  17046. description: 最小变动值
  17047. type: integer
  17048. wrstandardcode:
  17049. description: 现货商品代码
  17050. type: string
  17051. wrstandardid:
  17052. description: 现货商品ID
  17053. type: integer
  17054. wrstandardname:
  17055. description: 商品名称
  17056. type: string
  17057. type: object
  17058. models.WrGoodsInfo:
  17059. properties:
  17060. haswr:
  17061. description: 0:仓单预售 1:仓单贸易
  17062. type: integer
  17063. lstitem:
  17064. description: 商品信息项
  17065. items:
  17066. $ref: '#/definitions/models.WrTypeItem'
  17067. type: array
  17068. lststep:
  17069. description: 履约规则
  17070. items:
  17071. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17072. type: array
  17073. marketid:
  17074. description: 市场id
  17075. type: integer
  17076. type: object
  17077. models.WrGoodsPerformanceStep:
  17078. properties:
  17079. autoid:
  17080. description: AutoID
  17081. type: integer
  17082. isauto:
  17083. description: 是否自动 - 0:不自动 1:自动
  17084. type: integer
  17085. remark:
  17086. description: 备注
  17087. type: string
  17088. stepdate:
  17089. description: 天数信息(T+N)
  17090. type: string
  17091. stepdays:
  17092. description: 距离上一步天数
  17093. type: integer
  17094. stepindex:
  17095. description: 步骤序号
  17096. type: integer
  17097. stepinfo:
  17098. description: 步骤信息(步骤名称+步骤值)
  17099. type: string
  17100. steptypeid:
  17101. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17102. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17103. type: integer
  17104. steptypename:
  17105. description: 步骤名称
  17106. type: string
  17107. stepvalue:
  17108. description: 步骤值
  17109. type: number
  17110. templateid:
  17111. description: 履约计划模板ID
  17112. type: integer
  17113. type: object
  17114. models.WrHoldLB:
  17115. properties:
  17116. accountid:
  17117. description: 持有人帐户ID
  17118. type: integer
  17119. bannerpicurl:
  17120. description: Banner图
  17121. type: string
  17122. createtime:
  17123. description: 创建时间(过户时间)
  17124. type: string
  17125. deliverygoodscode:
  17126. description: 品种代码
  17127. type: string
  17128. deliverygoodsid:
  17129. description: 品种ID
  17130. type: integer
  17131. deliverygoodsname:
  17132. description: 品种名称
  17133. type: string
  17134. enableqty:
  17135. description: 可用数量
  17136. type: number
  17137. enumdicname:
  17138. description: 单位名称
  17139. type: string
  17140. freezerqty:
  17141. description: 冻结数量
  17142. type: number
  17143. ladingbillid:
  17144. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17145. type: string
  17146. minivalue:
  17147. description: 现货商品最小变动值
  17148. type: integer
  17149. optioncompare:
  17150. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17151. type: string
  17152. parentsubnum:
  17153. description: 拆分父子单号
  17154. type: integer
  17155. pledgeqty:
  17156. description: 质押数量
  17157. type: number
  17158. qty:
  17159. description: 数量
  17160. type: number
  17161. subnum:
  17162. description: 提单子单号
  17163. type: integer
  17164. thumurls:
  17165. description: 缩略图
  17166. type: string
  17167. tradedate:
  17168. description: 交易日(yyyyMMdd)
  17169. type: string
  17170. userid:
  17171. description: 持有人ID
  17172. type: integer
  17173. warehouseid:
  17174. description: 仓库ID
  17175. type: integer
  17176. warehousename:
  17177. description: 仓库名称
  17178. type: string
  17179. wrfactortypeid:
  17180. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17181. type: string
  17182. wrfactortypename:
  17183. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17184. type: string
  17185. wrholdeno:
  17186. description: 仓单编号
  17187. type: string
  17188. wrid:
  17189. description: 仓单变更ID
  17190. type: string
  17191. wrstandardcode:
  17192. description: 现货商品代码
  17193. type: string
  17194. wrstandardid:
  17195. description: 现货商品ID
  17196. type: integer
  17197. wrstandardname:
  17198. description: 商品名称
  17199. type: string
  17200. wrtypename:
  17201. description: 商品
  17202. type: string
  17203. type: object
  17204. models.WrMarketTradeConfig:
  17205. properties:
  17206. basisdownratio:
  17207. description: 浮动价基差下限比例(仓单贸易)
  17208. type: number
  17209. basisupratio:
  17210. description: 浮动价基差上限比例(仓单贸易)
  17211. type: number
  17212. buychargealgorithm:
  17213. description: 买方手续费收取方式 1:比率 2:固定
  17214. type: integer
  17215. buychargealgorithm2:
  17216. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  17217. type: integer
  17218. buychargealgorithmvalue:
  17219. description: 买方手续费设置值(交易所部分)
  17220. type: number
  17221. buychargealgorithmvalue2:
  17222. description: 买方手续费设置值(会员部分)
  17223. type: number
  17224. buychargealgorithmvalue3:
  17225. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  17226. type: number
  17227. buychargealgorithmvalue4:
  17228. description: 回购买方手续费设置值(会员部分) --77:现货商城
  17229. type: number
  17230. buyfirstmarginalgorithm:
  17231. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  17232. type: integer
  17233. buyfirstmarginvalue:
  17234. description: 买方出价保证金设置值 - [竞拍]
  17235. type: number
  17236. buymarginalgorithm:
  17237. description: 买方保证金方式 - 1:比率 2:固定
  17238. type: integer
  17239. buymarginvalue:
  17240. description: 买方保证金设置值
  17241. type: number
  17242. buyreleaseratio:
  17243. description: 买方释放比率[2:分步履约]
  17244. type: number
  17245. executemode:
  17246. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  17247. type: integer
  17248. executeside:
  17249. description: 执行方[2:分步履约] - 1:买方 2:卖方
  17250. type: integer
  17251. failedchargealgorithm:
  17252. description: 流拍手续费收取方式 1:比率 2:固定
  17253. type: integer
  17254. failedchargevalue:
  17255. description: 流拍手续费设置值
  17256. type: number
  17257. failedchargevalue2:
  17258. description: 流拍卖方手续费设置值
  17259. type: number
  17260. holddays:
  17261. description: 合同期限[2:分步履约]
  17262. type: integer
  17263. listingmode:
  17264. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17265. type: integer
  17266. marketid:
  17267. description: 市场ID-仓单贸易、竞拍、预售
  17268. type: integer
  17269. minqty:
  17270. description: 最小执行量[2:分步履约]
  17271. type: number
  17272. modifierid:
  17273. description: 修改人
  17274. type: integer
  17275. nowrquotaflag:
  17276. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  17277. type: integer
  17278. performancetempid:
  17279. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17280. 立即执行(-1)
  17281. type: integer
  17282. performancetempid2:
  17283. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17284. 立即执行
  17285. type: integer
  17286. performancetempid2s:
  17287. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17288. - 履约方式: 立即执行
  17289. type: string
  17290. performancetempids:
  17291. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17292. - 履约方式: 立即执行(-1)
  17293. type: string
  17294. performanceway:
  17295. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  17296. type: integer
  17297. sellchargealgorithm:
  17298. description: 卖方手续费收取方式 1:比率 2:固定
  17299. type: integer
  17300. sellchargealgorithm2:
  17301. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  17302. type: integer
  17303. sellchargealgorithmvalue:
  17304. description: 卖方手续费设置值(交易所部分)
  17305. type: number
  17306. sellchargealgorithmvalue2:
  17307. description: 卖方手续费设置值(会员部分)
  17308. type: number
  17309. sellchargealgorithmvalue3:
  17310. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  17311. type: number
  17312. sellchargealgorithmvalue4:
  17313. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  17314. type: number
  17315. sellmarginalgorithm:
  17316. description: 卖方保证金方式 - 1:比率 2:固定
  17317. type: integer
  17318. sellmarginvalue:
  17319. description: 卖方保证金设置值
  17320. type: number
  17321. sellmarginvalue2:
  17322. description: 卖方保证金设置值(无仓单)
  17323. type: number
  17324. sellreleaseratio:
  17325. description: 卖方释放比率[2:分步履约]
  17326. type: number
  17327. updatetime:
  17328. description: 更新时间
  17329. type: string
  17330. type: object
  17331. models.WrOrderDetail:
  17332. properties:
  17333. accountid:
  17334. description: 交易账号(资金账号)
  17335. type: integer
  17336. allfriendsflag:
  17337. description: 是否全好友可见 - 0:否 1:是
  17338. type: integer
  17339. amount:
  17340. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  17341. type: number
  17342. bannerpicurl:
  17343. description: Banner图
  17344. type: string
  17345. begindate:
  17346. description: 开始交易日(yyyymmdd)
  17347. type: string
  17348. buyorsell:
  17349. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17350. type: integer
  17351. canbargain:
  17352. description: 是否可议价 - 0:不可 1:可
  17353. type: integer
  17354. cancelqty:
  17355. description: 撤销数量
  17356. type: number
  17357. canpart:
  17358. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  17359. type: integer
  17360. delistminqty:
  17361. description: 起摘数量
  17362. type: integer
  17363. deliverygoodscode:
  17364. description: 品种代码
  17365. type: string
  17366. deliverygoodsid:
  17367. description: 品种ID
  17368. type: integer
  17369. deliverygoodsname:
  17370. description: 品种名称
  17371. type: string
  17372. deliverymonth:
  17373. description: 交收月
  17374. type: string
  17375. enddate:
  17376. description: 结束交易日(yyyymmdd)
  17377. type: string
  17378. enumdicname:
  17379. description: 单位名称
  17380. type: string
  17381. fixedprice:
  17382. description: 固定价格 - [挂牌]
  17383. type: number
  17384. freezecharge:
  17385. description: 冻结手续费
  17386. type: number
  17387. freezemargin:
  17388. description: 冻结保证金(保证金)
  17389. type: number
  17390. futupricemove:
  17391. description: 期货升贴水
  17392. type: number
  17393. futushow:
  17394. description: 期货合约/升贴水
  17395. type: string
  17396. goodscode:
  17397. description: 期货合约
  17398. type: string
  17399. goodsid:
  17400. description: 期货商品id
  17401. type: integer
  17402. goodsname:
  17403. description: 商品名称
  17404. type: string
  17405. haswr:
  17406. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17407. type: integer
  17408. isspecified:
  17409. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  17410. type: integer
  17411. ladingbillid:
  17412. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17413. type: string
  17414. marginvalue:
  17415. description: 保证金设置值(履约保证金)
  17416. type: number
  17417. marketid:
  17418. description: 市场ID
  17419. type: integer
  17420. matchusername:
  17421. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  17422. type: string
  17423. minivalue:
  17424. description: 现货商品最小变动值
  17425. type: integer
  17426. optioncompare:
  17427. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17428. type: string
  17429. orderqty:
  17430. description: 委托数量
  17431. type: number
  17432. ordertime:
  17433. description: 委托时间(挂牌时间)
  17434. type: string
  17435. performancetemplateid:
  17436. description: 履约模板id
  17437. type: integer
  17438. pricemove:
  17439. description: 升贴水(浮动价时填写) - [挂牌]
  17440. type: number
  17441. taname:
  17442. description: 交易用户名称(资金账号名称)
  17443. type: string
  17444. thumurls:
  17445. description: 缩略图
  17446. type: string
  17447. tradedate:
  17448. description: 交易日(yyyyMMdd)
  17449. type: string
  17450. tradeprice:
  17451. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17452. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17453. type: number
  17454. tradeqty:
  17455. description: 成交数量
  17456. type: number
  17457. userid:
  17458. description: 用户ID
  17459. type: integer
  17460. validtime:
  17461. description: 挂牌有效期
  17462. type: string
  17463. validtype:
  17464. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17465. type: integer
  17466. warehouseid:
  17467. description: 仓库ID
  17468. type: integer
  17469. warehousename:
  17470. description: 仓库名称
  17471. type: string
  17472. wrfactortypeid:
  17473. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17474. type: string
  17475. wrfactortypename:
  17476. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17477. type: string
  17478. wrpricetype:
  17479. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17480. type: integer
  17481. wrstandardcode:
  17482. description: 现货商品代码
  17483. type: string
  17484. wrstandardid:
  17485. description: 现货商品ID
  17486. type: integer
  17487. wrstandardname:
  17488. description: 商品名称
  17489. type: string
  17490. wrtradeorderid:
  17491. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17492. type: string
  17493. wrtradeorderstatus:
  17494. 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:撤单解冻贷款失败
  17495. type: integer
  17496. wrtradetype:
  17497. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17498. type: integer
  17499. wrtypename:
  17500. description: 商品
  17501. type: string
  17502. type: object
  17503. models.WrOrderQuote:
  17504. properties:
  17505. bannerpicurl:
  17506. description: Banner图
  17507. type: string
  17508. buyprice:
  17509. description: 买价
  17510. type: number
  17511. buypricemove:
  17512. description: 买升贴水(基差)
  17513. type: number
  17514. buyqty:
  17515. description: 买量
  17516. type: number
  17517. deliverygoodscode:
  17518. description: 品种代码
  17519. type: string
  17520. deliverygoodsid:
  17521. description: 品种id
  17522. type: integer
  17523. deliverygoodsname:
  17524. description: 品种名称
  17525. type: string
  17526. deliverymonth:
  17527. description: 交收月
  17528. type: string
  17529. enumdicname:
  17530. description: 单位名称
  17531. type: string
  17532. goodscode:
  17533. description: 商品合约(浮动价列表才有)
  17534. type: string
  17535. goodsid:
  17536. description: 商品id(浮动价列表才有)
  17537. type: integer
  17538. minivalue:
  17539. description: 现货商品最小变动值
  17540. type: integer
  17541. pictureurls:
  17542. description: 详情图片(逗号分隔)
  17543. type: string
  17544. sellprice:
  17545. description: 卖价
  17546. type: number
  17547. sellpricemove:
  17548. description: 卖升贴水(基差)
  17549. type: number
  17550. sellqty:
  17551. description: 卖量
  17552. type: number
  17553. thumurls:
  17554. description: 缩略图片(1:1)(逗号分隔)
  17555. type: string
  17556. warehousecode:
  17557. description: 仓库代码
  17558. type: string
  17559. warehouseid:
  17560. description: 仓库id
  17561. type: integer
  17562. warehousename:
  17563. description: 仓库名称
  17564. type: string
  17565. wrfactortypeid:
  17566. description: 仓单要素id
  17567. type: string
  17568. wrfactortypename:
  17569. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17570. type: string
  17571. wrgoodsname:
  17572. description: 商品(商品名称+仓库要素名称 拼接)
  17573. type: string
  17574. wrstandardcode:
  17575. description: 商品代码
  17576. type: string
  17577. wrstandardid:
  17578. description: 商品id
  17579. type: integer
  17580. wrstandardname:
  17581. description: 商品名称
  17582. type: string
  17583. type: object
  17584. models.WrOrderQuoteDetail:
  17585. properties:
  17586. buyorsell:
  17587. description: 买卖 - 0:买 1:卖
  17588. type: integer
  17589. delistminqty:
  17590. description: 起摘数量
  17591. type: number
  17592. deliverymonth:
  17593. description: 交收月
  17594. type: string
  17595. enumdicname:
  17596. description: 单位名称
  17597. type: string
  17598. fixedprice:
  17599. description: 买(卖)价
  17600. type: number
  17601. marketid:
  17602. description: 市场id
  17603. type: integer
  17604. minivalue:
  17605. description: 现货商品最小变动值
  17606. type: integer
  17607. orderqty:
  17608. description: 买(卖)量(=委托量-成交量)
  17609. type: number
  17610. ordertime:
  17611. description: 委托时间
  17612. type: string
  17613. pricemove:
  17614. description: 买(卖)升贴水- 基差
  17615. type: number
  17616. userid:
  17617. description: 购买方(销售方)用户ID
  17618. type: integer
  17619. username:
  17620. description: 购买方(销售方)
  17621. type: string
  17622. wrtradeorderid:
  17623. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17624. type: string
  17625. type: object
  17626. models.WrOutInApply:
  17627. properties:
  17628. applyid:
  17629. description: 申请单id
  17630. type: string
  17631. applystatus:
  17632. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  17633. 8:已撤销
  17634. type: integer
  17635. applytime:
  17636. description: 申请时间
  17637. type: string
  17638. applytype:
  17639. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  17640. type: integer
  17641. bannerpicurl:
  17642. description: Banner图
  17643. type: string
  17644. begindate:
  17645. description: 开始交易日(yyyymmdd)
  17646. type: string
  17647. deliverygoodscode:
  17648. description: 品种代码
  17649. type: string
  17650. deliverygoodsid:
  17651. description: 品种ID
  17652. type: integer
  17653. deliverygoodsname:
  17654. description: 品种名称
  17655. type: string
  17656. enddate:
  17657. description: 结束交易日(yyyymmdd)
  17658. type: string
  17659. enumdicname:
  17660. description: 单位名称
  17661. type: string
  17662. expresscompany:
  17663. description: 物流公司
  17664. type: string
  17665. expressnum:
  17666. description: 物流单号
  17667. type: string
  17668. minivalue:
  17669. description: 现货商品最小变动值
  17670. type: integer
  17671. optioncompare:
  17672. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17673. type: string
  17674. qty:
  17675. description: 数量
  17676. type: integer
  17677. userid:
  17678. description: 用户id
  17679. type: integer
  17680. warehouseid:
  17681. description: 仓库ID
  17682. type: integer
  17683. warehousename:
  17684. description: 仓库名称
  17685. type: string
  17686. wrfactortypeid:
  17687. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17688. type: string
  17689. wrfactortypename:
  17690. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17691. type: string
  17692. wrstandardcode:
  17693. description: 现货商品代码
  17694. type: string
  17695. wrstandardid:
  17696. description: 现货商品ID
  17697. type: integer
  17698. wrstandardname:
  17699. description: 商品名称
  17700. type: string
  17701. wrtypename:
  17702. description: 商品
  17703. type: string
  17704. type: object
  17705. models.WrPerformancePlan:
  17706. properties:
  17707. activatemonth:
  17708. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  17709. type: string
  17710. amount:
  17711. description: 履约金额(总金额)
  17712. type: number
  17713. begindate:
  17714. description: 开始交易日(yyyymmdd)
  17715. type: string
  17716. buyaccountid:
  17717. description: 买方账号
  17718. type: integer
  17719. buyerfreezeamount:
  17720. description: 履约冻结(买履约)
  17721. type: number
  17722. buyerfreezeamountremain:
  17723. description: 履约冻结剩余(买履约)
  17724. type: number
  17725. buyorsell:
  17726. description: 买卖方向 0-买 1-卖
  17727. type: integer
  17728. buypaidamount:
  17729. description: 买方已冻/已扣金额 (已付金额)
  17730. type: number
  17731. buyusername:
  17732. description: 买方名字
  17733. type: string
  17734. contractid:
  17735. description: 合同ID
  17736. type: integer
  17737. createtime:
  17738. description: 创建时间
  17739. type: string
  17740. creatorid:
  17741. description: 创建人
  17742. type: integer
  17743. curstepdeadline:
  17744. description: 当前步骤到期时间
  17745. type: string
  17746. curstepid:
  17747. description: 当前步骤ID
  17748. type: string
  17749. curstepname:
  17750. description: 当前步骤名称
  17751. type: string
  17752. deliverygoodscode:
  17753. description: 品种代码
  17754. type: string
  17755. deliverygoodsid:
  17756. description: 品种ID
  17757. type: integer
  17758. deliverygoodsname:
  17759. description: 品种名称
  17760. type: string
  17761. enddate:
  17762. description: 结束交易日(yyyymmdd)
  17763. type: string
  17764. enumdicname:
  17765. description: 单位名称
  17766. type: string
  17767. expressfee:
  17768. description: 运费
  17769. type: number
  17770. expressfeeconfirmed:
  17771. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  17772. type: integer
  17773. hasovershort:
  17774. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  17775. type: integer
  17776. haswr:
  17777. description: 类型 0-仓单预售 1-仓单贸易
  17778. type: integer
  17779. marketid:
  17780. description: 市场ID
  17781. type: integer
  17782. middleaccountid:
  17783. description: 中间商资金账号ID
  17784. type: integer
  17785. middleuserid:
  17786. description: 中间商用户ID
  17787. type: integer
  17788. minivalue:
  17789. description: 现货商品最小变动值
  17790. type: integer
  17791. optioncompare:
  17792. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17793. type: string
  17794. overshortamount:
  17795. description: 溢短金额
  17796. type: number
  17797. overshortqty:
  17798. description: 溢短数量
  17799. type: number
  17800. paymenttype:
  17801. description: 付款方式 - 1:冻结 2:扣款
  17802. type: integer
  17803. performanceplanid:
  17804. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  17805. type: string
  17806. performancestatus:
  17807. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  17808. 9:超时待处理 10:超时关闭
  17809. type: integer
  17810. performancetype:
  17811. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  17812. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  17813. type: integer
  17814. qty:
  17815. description: 履约数量
  17816. type: number
  17817. relatedorderid:
  17818. description: 关联单号(履约类型的关联单号)
  17819. type: string
  17820. remark:
  17821. description: 备注
  17822. type: string
  17823. sellaccountid:
  17824. description: 卖方账号
  17825. type: integer
  17826. sellerfreezeamount:
  17827. description: 履约冻结(卖履约)
  17828. type: number
  17829. sellerfreezeamountremain:
  17830. description: 履约冻结剩余(卖履约)
  17831. type: number
  17832. sellreceivedamount:
  17833. description: 卖方已收金额
  17834. type: number
  17835. sellusername:
  17836. description: 卖方名字
  17837. type: string
  17838. shipremark:
  17839. description: 发货备注[物流单号]
  17840. type: string
  17841. starttime:
  17842. description: 开始时间
  17843. type: string
  17844. steptypeid:
  17845. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17846. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17847. type: integer
  17848. typename:
  17849. description: 履约类型 名称
  17850. type: string
  17851. unpaidamount:
  17852. description: 剩余款(待支付金额)
  17853. type: number
  17854. userid:
  17855. description: 用户id
  17856. type: integer
  17857. warehouseid:
  17858. description: 仓库ID
  17859. type: integer
  17860. warehousename:
  17861. description: 仓库名称
  17862. type: string
  17863. wrfactortypeid:
  17864. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17865. type: string
  17866. wrfactortypename:
  17867. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17868. type: string
  17869. wrstandardcode:
  17870. description: 现货商品代码
  17871. type: string
  17872. wrstandardid:
  17873. description: 现货商品ID
  17874. type: integer
  17875. wrstandardname:
  17876. description: 商品名称
  17877. type: string
  17878. wrtransferuserid:
  17879. description: 仓单受让用户
  17880. type: integer
  17881. wrtypename:
  17882. description: 商品
  17883. type: string
  17884. required:
  17885. - userid
  17886. type: object
  17887. models.WrPerformancePlanStep:
  17888. properties:
  17889. delaydays:
  17890. description: 延期申请天数
  17891. type: integer
  17892. deliverygoodscode:
  17893. description: 品种代码
  17894. type: string
  17895. deliverygoodsid:
  17896. description: 品种ID
  17897. type: integer
  17898. deliverygoodsname:
  17899. description: 品种名称
  17900. type: string
  17901. endtime:
  17902. description: 结束日期
  17903. type: string
  17904. enumdicname:
  17905. description: 单位名称
  17906. type: string
  17907. executeside:
  17908. description: 步骤执行方 - 1:买方 2:卖方
  17909. type: integer
  17910. handlestatus:
  17911. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  17912. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  17913. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  17914. type: integer
  17915. isauto:
  17916. description: 是否自动 - 0:不自动 1:自动
  17917. type: integer
  17918. islastreceivestep:
  17919. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  17920. type: integer
  17921. minivalue:
  17922. description: 现货商品最小变动值
  17923. type: integer
  17924. optioncompare:
  17925. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17926. type: string
  17927. overdays:
  17928. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  17929. type: integer
  17930. performancestepid:
  17931. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  17932. type: string
  17933. planid:
  17934. description: 所属履约计划ID
  17935. type: string
  17936. realamount:
  17937. description: 实际完成金额
  17938. type: number
  17939. relatedorderid:
  17940. description: 关联单号
  17941. type: string
  17942. remaindays:
  17943. description: 剩余天数
  17944. type: integer
  17945. remark:
  17946. description: 错误备注
  17947. type: string
  17948. starttime:
  17949. description: 开始日期
  17950. type: string
  17951. stepamount:
  17952. description: 步骤金额
  17953. type: number
  17954. stepdays:
  17955. description: 距离上一步天数(分钟)
  17956. type: integer
  17957. stepindex:
  17958. description: 步骤序号
  17959. type: integer
  17960. steplanchtype:
  17961. description: 步骤启动类型 - 1:系统自动 2:手动
  17962. type: integer
  17963. stepremark:
  17964. description: 步骤备注
  17965. type: string
  17966. stepstatus:
  17967. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  17968. type: integer
  17969. steptypeid:
  17970. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17971. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17972. type: integer
  17973. steptypename:
  17974. description: 步骤名称
  17975. type: string
  17976. stepvalue:
  17977. description: 步骤值
  17978. type: number
  17979. warehouseid:
  17980. description: 仓库ID
  17981. type: integer
  17982. warehousename:
  17983. description: 仓库名称
  17984. type: string
  17985. wrfactortypeid:
  17986. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17987. type: string
  17988. wrfactortypename:
  17989. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17990. type: string
  17991. wrstandardcode:
  17992. description: 现货商品代码
  17993. type: string
  17994. wrstandardid:
  17995. description: 现货商品ID
  17996. type: integer
  17997. wrstandardname:
  17998. description: 商品名称
  17999. type: string
  18000. wrtypename:
  18001. description: 商品
  18002. type: string
  18003. type: object
  18004. models.WrPerformanceStepType:
  18005. properties:
  18006. canauto:
  18007. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  18008. type: integer
  18009. steptypeid:
  18010. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  18011. type: integer
  18012. steptypename:
  18013. description: 步骤类型名称
  18014. type: string
  18015. type: object
  18016. models.WrPerformanceTemplateEx:
  18017. properties:
  18018. autoid:
  18019. description: AutoID 模板id
  18020. type: integer
  18021. createtime:
  18022. description: 创建时间
  18023. type: string
  18024. creatorid:
  18025. description: 创建人
  18026. type: integer
  18027. lstStep:
  18028. description: 步骤信息列表
  18029. items:
  18030. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18031. type: array
  18032. paymenttype:
  18033. description: 支付方式 - 1:冻结 2:扣款
  18034. type: integer
  18035. takemode:
  18036. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  18037. type: integer
  18038. templatename:
  18039. description: 模板名称
  18040. type: string
  18041. templatetype:
  18042. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  18043. (无仓单) 5:挂牌期权 6:竞拍-降价式
  18044. type: integer
  18045. userid:
  18046. description: 所属用户
  18047. type: integer
  18048. type: object
  18049. models.WrPosition:
  18050. properties:
  18051. accountid:
  18052. description: 帐户ID
  18053. type: integer
  18054. buyexcuteqty:
  18055. description: 采购履约中数量
  18056. type: number
  18057. creditcurqty:
  18058. description: 授信当前数量(预售仓单:预售当前量)
  18059. type: number
  18060. creditenableqty:
  18061. description: '授信可用数量(预售仓单: 可用数量)'
  18062. type: number
  18063. creditfreezeqty:
  18064. description: '授信冻结数量(预售仓单: 当前数量)'
  18065. type: number
  18066. credittotalqty:
  18067. description: 授信总数量(预售仓单:预售总量)
  18068. type: number
  18069. credittradeqty:
  18070. description: 授信成交数量(预售仓单:成交总量)
  18071. type: number
  18072. deliverygoodscode:
  18073. description: 品种代码
  18074. type: string
  18075. deliverygoodsid:
  18076. description: 品种ID
  18077. type: integer
  18078. deliverygoodsname:
  18079. description: 品种名称
  18080. type: string
  18081. enalbeqty:
  18082. description: 可用数量
  18083. type: number
  18084. enumdicname:
  18085. description: 单位名称
  18086. type: string
  18087. freezeqty:
  18088. description: 总冻结数量
  18089. type: number
  18090. haswr:
  18091. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18092. type: integer
  18093. minivalue:
  18094. description: 现货商品最小变动值
  18095. type: integer
  18096. modifytime:
  18097. description: 修改时间(过户时间)
  18098. type: string
  18099. optioncompare:
  18100. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18101. type: string
  18102. pledgeqty:
  18103. description: 质押数量
  18104. type: number
  18105. querytype:
  18106. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  18107. type: integer
  18108. sellexcuteqty:
  18109. description: 销售履约中数量
  18110. type: number
  18111. totalqty:
  18112. description: 总数量(库存数量)
  18113. type: number
  18114. warehouseid:
  18115. description: 仓库ID
  18116. type: integer
  18117. warehousename:
  18118. description: 仓库名称
  18119. type: string
  18120. wrfactortypeid:
  18121. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18122. type: string
  18123. wrfactortypename:
  18124. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18125. type: string
  18126. wrpositionid:
  18127. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18128. type: string
  18129. wrpositionno:
  18130. description: 仓单编号
  18131. type: string
  18132. wrstandardcode:
  18133. description: 现货商品代码
  18134. type: string
  18135. wrstandardid:
  18136. description: 现货商品ID
  18137. type: integer
  18138. wrstandardname:
  18139. description: 商品名称
  18140. type: string
  18141. wrtypename:
  18142. description: 商品
  18143. type: string
  18144. wruserid:
  18145. description: 持有人ID
  18146. type: integer
  18147. type: object
  18148. models.WrPreSaleInfo:
  18149. properties:
  18150. bannerpicurl:
  18151. description: Banner图
  18152. type: string
  18153. baseqty:
  18154. description: 中签基数
  18155. type: number
  18156. createtime:
  18157. description: 创建时间
  18158. type: string
  18159. deliverygoodsid:
  18160. description: 现货品种ID
  18161. type: integer
  18162. enddate:
  18163. description: 预售结束日期
  18164. type: string
  18165. enumdicname:
  18166. description: 单位名称
  18167. type: string
  18168. lotteryflag:
  18169. description: 摇号标识 - 0:未摇号 1:已摇号
  18170. type: integer
  18171. lotteryqty:
  18172. description: 摇号总量
  18173. type: number
  18174. luckyqty:
  18175. description: 已中签量
  18176. type: number
  18177. marketid:
  18178. description: 市场ID
  18179. type: integer
  18180. maxbuyqty:
  18181. description: 单人最大申购量
  18182. type: number
  18183. maxluckyqty:
  18184. description: 单人最大中签量
  18185. type: number
  18186. pictureurls:
  18187. description: 详情图片(逗号分隔)
  18188. type: string
  18189. placeqty:
  18190. description: 已配售量
  18191. type: number
  18192. presaleapplyid:
  18193. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18194. example: "0"
  18195. type: string
  18196. presaleqty:
  18197. description: 预售总量
  18198. type: number
  18199. presalestatus:
  18200. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  18201. type: integer
  18202. sellaccountid:
  18203. description: 发行方资金账户ID
  18204. type: integer
  18205. selluserid:
  18206. description: 发行方用户ID
  18207. type: integer
  18208. sellwrtradeorderid:
  18209. description: 发行方卖委托单ID
  18210. type: string
  18211. startdate:
  18212. description: 预售开始日期
  18213. type: string
  18214. takestartdate:
  18215. description: 提货开始日期
  18216. type: string
  18217. thumurls:
  18218. description: 缩略图片(1:1)(逗号分隔)
  18219. type: string
  18220. tradedate:
  18221. description: 交易日
  18222. type: string
  18223. unitid:
  18224. description: 单位ID
  18225. type: integer
  18226. unitprice:
  18227. description: 商品单价
  18228. type: number
  18229. username:
  18230. description: 发行方用户名称
  18231. type: string
  18232. warehousecode:
  18233. description: 仓库代码(仓库简称)
  18234. type: string
  18235. warehouseid:
  18236. description: 仓库ID
  18237. type: integer
  18238. warehousename:
  18239. description: 仓库名称
  18240. type: string
  18241. wrfactortypeid:
  18242. description: 仓单要素类型ID - 根据现货商品\仓库生成
  18243. example: "0"
  18244. type: string
  18245. wrstandardid:
  18246. description: 现货商品ID
  18247. type: integer
  18248. wrstandardname:
  18249. description: 现货商品名称
  18250. type: string
  18251. type: object
  18252. models.WrQuoteOrderMyq:
  18253. properties:
  18254. buyorsell:
  18255. description: 买卖 - 0:买 1:卖
  18256. type: integer
  18257. canbargain:
  18258. description: 是否可议价 - 0:不可 1:可
  18259. type: integer
  18260. canpart:
  18261. description: 是否允许部份摘牌 - 0:不允许 1:允许
  18262. type: integer
  18263. delistminqty:
  18264. description: 起摘数量
  18265. type: number
  18266. deliverygoodscode:
  18267. description: 品种代码
  18268. type: string
  18269. deliverygoodsid:
  18270. description: 品种ID
  18271. type: integer
  18272. deliverygoodsname:
  18273. description: 品种名称
  18274. type: string
  18275. deliverymonth:
  18276. description: 交收月
  18277. type: string
  18278. enumdicname:
  18279. description: 单位名称
  18280. type: string
  18281. fixedprice:
  18282. description: 买(卖)价
  18283. type: number
  18284. goodscode:
  18285. description: 商品合约代码
  18286. type: string
  18287. marginflag:
  18288. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  18289. type: integer
  18290. marginvalue:
  18291. description: 保证金设置值
  18292. type: number
  18293. minivalue:
  18294. description: 现货商品最小变动值
  18295. type: integer
  18296. orderqty:
  18297. description: 买(卖)量(=委托量-成交量)
  18298. type: number
  18299. ordertime:
  18300. description: 委托时间
  18301. type: string
  18302. performancetemplateid:
  18303. description: 履约模板id
  18304. type: integer
  18305. pricemove:
  18306. description: 买(卖)升贴水- 基差
  18307. type: number
  18308. templatename:
  18309. description: 履约模板名称
  18310. type: string
  18311. userid:
  18312. description: 购买方(销售方)用户ID
  18313. type: integer
  18314. username:
  18315. description: 购买方(销售方)
  18316. type: string
  18317. validtime:
  18318. description: 有效期限
  18319. type: string
  18320. validtype:
  18321. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18322. type: integer
  18323. warehousename:
  18324. description: 仓库名称
  18325. type: string
  18326. wrfactortypeid:
  18327. description: 仓单要素id
  18328. type: string
  18329. wrstandardcode:
  18330. description: 现货商品代码
  18331. type: string
  18332. wrstandardid:
  18333. description: 现货商品ID
  18334. type: integer
  18335. wrstandardname:
  18336. description: 商品名称
  18337. type: string
  18338. wrtradeorderid:
  18339. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18340. type: string
  18341. wrtypename:
  18342. description: 商品
  18343. type: string
  18344. type: object
  18345. models.WrReckonSpotGoodsTradeSum:
  18346. properties:
  18347. begindate:
  18348. description: 开始日期(结果含开始日期) yyyymmdd
  18349. type: string
  18350. enddate:
  18351. description: 结束日期(结果含结束日期) yyyymmdd
  18352. type: string
  18353. istoday:
  18354. description: 是否当日
  18355. type: boolean
  18356. marketid:
  18357. description: 市场ID
  18358. type: integer
  18359. price:
  18360. description: 价格 = 日成交金额 / 日成交数量
  18361. type: string
  18362. reckondate:
  18363. description: 日期 格式 yyyymmdd
  18364. type: string
  18365. tradeamount:
  18366. description: 日成交金额(当日单方向成交金额)
  18367. type: number
  18368. tradeqty:
  18369. description: 日成交数量(当日单方向成交数量)
  18370. type: number
  18371. wrstandardid:
  18372. description: 现货商品ID
  18373. type: integer
  18374. type: object
  18375. models.WrScfContract:
  18376. properties:
  18377. borroweruserid:
  18378. description: 借款用户ID
  18379. type: integer
  18380. buybackwrpositionqty:
  18381. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  18382. type: number
  18383. closeinterest:
  18384. description: 已结利息 -> 已结费用
  18385. type: number
  18386. currisklevel:
  18387. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  18388. type: integer
  18389. deadline:
  18390. description: 截止日期(yyyyMMdd) -> 借款到期时间
  18391. type: string
  18392. deliverygoodscode:
  18393. description: 品种代码
  18394. type: string
  18395. deliverygoodsid:
  18396. description: 品种ID
  18397. type: integer
  18398. deliverygoodsname:
  18399. description: 品种名称
  18400. type: string
  18401. enumdicname:
  18402. description: 单位名称
  18403. type: string
  18404. financingdays:
  18405. description: 天数(天)
  18406. type: integer
  18407. initmargin:
  18408. description: 保证金 - [仓单回购]
  18409. type: number
  18410. interestamount:
  18411. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  18412. type: number
  18413. interestdebt:
  18414. description: 利息欠款(记录负数) -> 费用欠款
  18415. type: number
  18416. interestminlen:
  18417. description: 最小起息天数
  18418. type: integer
  18419. interestrate:
  18420. description: 利率
  18421. type: number
  18422. interestratemode:
  18423. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18424. type: integer
  18425. interestsettlemode:
  18426. description: 结息方式 - 1:按日结息 3:按月结息
  18427. type: integer
  18428. interestsettlevalue:
  18429. description: 结息方式值
  18430. type: integer
  18431. isautoloan:
  18432. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  18433. type: integer
  18434. lastcloseinterestday:
  18435. description: 最近结息日(yyyyMMdd)
  18436. type: string
  18437. lenderamount:
  18438. description: 贷款金额 -> 借款金额
  18439. type: number
  18440. lenderuserid:
  18441. description: 贷款方用户ID -> 融出方用户ID
  18442. type: integer
  18443. lenderusername:
  18444. description: 融出方
  18445. type: string
  18446. marginratio:
  18447. description: 保证金比率质押率 - [仓单质押]
  18448. type: number
  18449. marketid:
  18450. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  18451. type: integer
  18452. minivalue:
  18453. description: 现货商品最小变动值
  18454. type: integer
  18455. optioncompare:
  18456. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18457. type: string
  18458. pricemove:
  18459. description: 估值升贴水值
  18460. type: number
  18461. productdetailid:
  18462. description: 产品组合ID
  18463. type: integer
  18464. productid:
  18465. description: 金融产品ID
  18466. type: integer
  18467. productname:
  18468. description: 产品名称
  18469. type: string
  18470. remainamount:
  18471. description: 合同剩余金额 -> 剩余金额
  18472. type: number
  18473. remainwrpositionqty:
  18474. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  18475. type: number
  18476. remark:
  18477. description: 备注
  18478. type: string
  18479. scfcontractid:
  18480. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  18481. type: string
  18482. scfcontractstatus:
  18483. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  18484. 9:违约结束 10:已注销 11:已关闭 99:未提交
  18485. type: integer
  18486. scfcontracttype:
  18487. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  18488. type: integer
  18489. startinterestday:
  18490. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  18491. type: string
  18492. totalinterest:
  18493. description: 已计利息 -> 已计费用
  18494. type: number
  18495. unpaidinterest:
  18496. description: 未结费用
  18497. type: number
  18498. updatetime:
  18499. description: 更新时间
  18500. type: string
  18501. warehouseid:
  18502. description: 仓库ID
  18503. type: integer
  18504. warehousename:
  18505. description: 仓库名称
  18506. type: string
  18507. wrfactortypeid:
  18508. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18509. type: string
  18510. wrfactortypename:
  18511. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18512. type: string
  18513. wrqty:
  18514. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  18515. type: number
  18516. wrstandardcode:
  18517. description: 现货商品代码
  18518. type: string
  18519. wrstandardid:
  18520. description: 现货商品ID
  18521. type: integer
  18522. wrstandardname:
  18523. description: 商品名称
  18524. type: string
  18525. wrtypename:
  18526. description: 商品
  18527. type: string
  18528. type: object
  18529. models.WrScfContractInterest:
  18530. properties:
  18531. closeinterest:
  18532. description: 已结利息
  18533. type: number
  18534. closeintereststatus:
  18535. description: 结息状态 - 1:未结 2:已结
  18536. type: integer
  18537. closetime:
  18538. description: 结息时间
  18539. type: string
  18540. closetradedate:
  18541. description: 结息交易日
  18542. type: string
  18543. creatorid:
  18544. description: 操作人ID
  18545. type: integer
  18546. dayrate:
  18547. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  18548. type: number
  18549. interest:
  18550. description: 利息
  18551. type: number
  18552. interestamount:
  18553. description: 计息金额
  18554. type: number
  18555. interestday:
  18556. description: 计息日(yyyyMMdd)
  18557. type: string
  18558. scfcontractid:
  18559. description: SCF合同ID
  18560. type: string
  18561. scfcontractinterestid:
  18562. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  18563. type: integer
  18564. updatetime:
  18565. description: 更新时间
  18566. type: string
  18567. type: object
  18568. models.WrSearchUser:
  18569. properties:
  18570. userid:
  18571. description: 用户ID
  18572. type: integer
  18573. username:
  18574. description: 用户名称(已脱敏)
  18575. type: string
  18576. username2:
  18577. description: 用户名称(未脱敏)
  18578. type: string
  18579. usertype:
  18580. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  18581. type: integer
  18582. required:
  18583. - username
  18584. type: object
  18585. models.WrSiteColumnDetail:
  18586. properties:
  18587. brief:
  18588. description: 简介
  18589. type: string
  18590. context:
  18591. description: 内容
  18592. type: string
  18593. coverimage:
  18594. description: 封面图片
  18595. type: string
  18596. creaedate:
  18597. description: 创建时间
  18598. type: string
  18599. id:
  18600. description: ID(SEQ_SITE_COLUMNDETAIL)
  18601. type: integer
  18602. istop:
  18603. description: 是否置顶 - 0:不置 1:置顶
  18604. type: integer
  18605. publishdate:
  18606. description: 发布日期
  18607. type: string
  18608. title:
  18609. description: 标题
  18610. type: string
  18611. updatedate:
  18612. description: 修改时间
  18613. type: string
  18614. type: object
  18615. models.WrSpecialMatchOrder:
  18616. properties:
  18617. amount:
  18618. description: 金额 = 数量 * 价格
  18619. type: number
  18620. buyorsell:
  18621. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18622. type: integer
  18623. cancelqty:
  18624. description: 撤销数量
  18625. type: number
  18626. deliverygoodscode:
  18627. description: 品种代码
  18628. type: string
  18629. deliverygoodsid:
  18630. description: 品种ID
  18631. type: integer
  18632. deliverygoodsname:
  18633. description: 品种名称
  18634. type: string
  18635. enumdicname:
  18636. description: 单位名称
  18637. type: string
  18638. fixedprice:
  18639. description: 固定价格(价格)
  18640. type: number
  18641. haswr:
  18642. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18643. type: integer
  18644. isspecified:
  18645. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  18646. type: integer
  18647. marketid:
  18648. description: 市场ID
  18649. type: integer
  18650. matchuserid:
  18651. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  18652. type: integer
  18653. matchusername:
  18654. description: 指定方
  18655. type: string
  18656. minivalue:
  18657. description: 现货商品最小变动值
  18658. type: integer
  18659. optioncompare:
  18660. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18661. type: string
  18662. orderqty:
  18663. description: 委托数量
  18664. type: number
  18665. ordertime:
  18666. description: 委托时间
  18667. type: string
  18668. pricemove:
  18669. description: 升贴水(浮动价时填写) - [挂牌]
  18670. type: number
  18671. tradedate:
  18672. description: 交易日(yyyyMMdd)
  18673. type: string
  18674. tradeprice:
  18675. description: 成交价格
  18676. type: number
  18677. tradeqty:
  18678. description: 成交数量
  18679. type: number
  18680. userid:
  18681. description: 用户ID
  18682. type: integer
  18683. username:
  18684. description: 发起方
  18685. type: string
  18686. warehouseid:
  18687. description: 仓库ID
  18688. type: integer
  18689. warehousename:
  18690. description: 仓库名称
  18691. type: string
  18692. wrfactortypeid:
  18693. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18694. type: string
  18695. wrfactortypename:
  18696. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18697. type: string
  18698. wrpricetype:
  18699. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18700. type: integer
  18701. wrstandardcode:
  18702. description: 现货商品代码
  18703. type: string
  18704. wrstandardid:
  18705. description: 现货商品ID
  18706. type: integer
  18707. wrstandardname:
  18708. description: 商品名称
  18709. type: string
  18710. wrtradeorderid:
  18711. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18712. type: string
  18713. wrtradeorderstatus:
  18714. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  18715. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  18716. type: integer
  18717. wrtradetype:
  18718. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18719. type: integer
  18720. wrtypename:
  18721. description: 商品
  18722. type: string
  18723. type: object
  18724. models.WrSpotGroupTradeSum:
  18725. properties:
  18726. deliverygoodscode:
  18727. description: 现货品种代码
  18728. type: string
  18729. deliverygoodsid:
  18730. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18731. type: integer
  18732. deliverygoodsname:
  18733. description: 现货品种名称
  18734. type: string
  18735. lastavgprice:
  18736. description: 上上个交易日价格(前2天价格)
  18737. type: string
  18738. lastreckondate:
  18739. description: 上上个交易日(前2天交易日)
  18740. type: string
  18741. reckondate:
  18742. description: 上个交易日(前1天交易日)
  18743. type: string
  18744. todayavgprice:
  18745. description: 上个交易日价格(前1天价格)
  18746. type: string
  18747. updown:
  18748. description: 涨跌
  18749. type: string
  18750. updownratio:
  18751. description: 涨幅(已格式化, 直接显示即可)
  18752. type: string
  18753. type: object
  18754. models.WrSpotGroupTradeSumDetail:
  18755. properties:
  18756. deliverygoodsid:
  18757. description: 现货商品id
  18758. type: integer
  18759. price:
  18760. description: 价格
  18761. type: number
  18762. reckondate:
  18763. description: 日期(yyymmdd, 如:20211031)
  18764. type: string
  18765. type: object
  18766. models.WrSpotGroupTradeSumEx:
  18767. properties:
  18768. lst:
  18769. description: 指数列表
  18770. items:
  18771. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  18772. type: array
  18773. prereckondate:
  18774. description: 上上个交易日(yyymmdd)
  18775. type: string
  18776. reckondate:
  18777. description: 上个交易日(yyyymmdd)
  18778. type: string
  18779. type: object
  18780. models.WrStandardFactoryItem:
  18781. properties:
  18782. dgfactoryitemid:
  18783. description: 选择项id
  18784. type: integer
  18785. dgfactoryitemvalue:
  18786. description: 要素项值
  18787. type: string
  18788. warehouseid:
  18789. description: 仓库id
  18790. type: integer
  18791. type: object
  18792. models.WrStandardFactoryItemEx:
  18793. properties:
  18794. dgfactoryitemtypeid:
  18795. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  18796. type: integer
  18797. itemlst:
  18798. description: 要素项列表
  18799. items:
  18800. $ref: '#/definitions/models.WrStandardFactoryItem'
  18801. type: array
  18802. itemtypename:
  18803. description: 要素项类型名称
  18804. type: string
  18805. wrstandardid:
  18806. description: 品类
  18807. type: integer
  18808. type: object
  18809. models.WrTradeDetail:
  18810. properties:
  18811. accountid:
  18812. description: 资金账号
  18813. type: integer
  18814. bannerpicurl:
  18815. description: Banner图
  18816. type: string
  18817. begindate:
  18818. description: 开始交易日(yyyymmdd)
  18819. type: string
  18820. buyorsell:
  18821. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18822. type: integer
  18823. chargevalue:
  18824. description: 手续费
  18825. type: number
  18826. deliverygoodscode:
  18827. description: 品种代码
  18828. type: string
  18829. deliverygoodsid:
  18830. description: 品种ID
  18831. type: integer
  18832. deliverygoodsname:
  18833. description: 品种名称
  18834. type: string
  18835. deliverymonth:
  18836. description: 交收月
  18837. type: string
  18838. enddate:
  18839. description: 结束交易日(yyyymmdd)
  18840. type: string
  18841. enumdicname:
  18842. description: 单位名称
  18843. type: string
  18844. haswr:
  18845. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18846. type: integer
  18847. marketid:
  18848. description: 市场ID
  18849. type: integer
  18850. matchaccountid:
  18851. description: 对手账号
  18852. type: integer
  18853. matchusername:
  18854. description: 对手方
  18855. type: string
  18856. minivalue:
  18857. description: 现货商品最小变动值
  18858. type: integer
  18859. optioncompare:
  18860. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18861. type: string
  18862. thumurls:
  18863. description: 缩略图
  18864. type: string
  18865. tradedate:
  18866. description: 交易日(yyyyMMdd)
  18867. type: string
  18868. tradeprice:
  18869. description: 成交价格
  18870. type: number
  18871. tradeqty:
  18872. description: 成交数量
  18873. type: number
  18874. tradetime:
  18875. description: 成交时间
  18876. type: string
  18877. userid:
  18878. description: 用户ID
  18879. type: integer
  18880. warehouseid:
  18881. description: 仓库ID
  18882. type: integer
  18883. warehousename:
  18884. description: 仓库名称
  18885. type: string
  18886. wrfactortypeid:
  18887. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18888. type: string
  18889. wrfactortypename:
  18890. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18891. type: string
  18892. wrstandardcode:
  18893. description: 现货商品代码
  18894. type: string
  18895. wrstandardid:
  18896. description: 现货商品ID
  18897. type: integer
  18898. wrstandardname:
  18899. description: 商品名称
  18900. type: string
  18901. wrtradedetailid:
  18902. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  18903. type: string
  18904. wrtradetype:
  18905. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18906. type: integer
  18907. wrtypename:
  18908. description: 商品
  18909. type: string
  18910. type: object
  18911. models.WrTradeOrderDetail:
  18912. properties:
  18913. buyorsell:
  18914. description: 买卖方向 0-买 1-卖
  18915. type: integer
  18916. goodsid:
  18917. description: 商品id
  18918. type: integer
  18919. orderid:
  18920. description: 委托单号
  18921. type: string
  18922. orderprice:
  18923. description: 委托价格
  18924. type: number
  18925. orderqty:
  18926. description: 委托数量
  18927. type: integer
  18928. userid:
  18929. description: 用户id
  18930. type: integer
  18931. username:
  18932. description: 用户名称(已脱敏)
  18933. type: string
  18934. type: object
  18935. models.WrTypeItem:
  18936. properties:
  18937. name:
  18938. description: 名称
  18939. type: string
  18940. value:
  18941. description: 值
  18942. type: string
  18943. type: object
  18944. models.WrUserFriend:
  18945. properties:
  18946. friendname:
  18947. description: 朋友名称(已脱敏)
  18948. type: string
  18949. frienduserid:
  18950. description: 朋友id
  18951. type: integer
  18952. isfriend:
  18953. description: 是否好友 0-不是 1-是
  18954. type: integer
  18955. userid:
  18956. description: 用户id
  18957. type: integer
  18958. type: object
  18959. models.WrUserReceiptInfo:
  18960. properties:
  18961. address:
  18962. description: 地址[发票类型:企业]
  18963. type: string
  18964. autoid:
  18965. description: AutoID
  18966. type: integer
  18967. contactinfo:
  18968. description: 联系方式
  18969. type: string
  18970. idnum:
  18971. description: 身份证号码[发票类型:个人]
  18972. type: string
  18973. isdefault:
  18974. description: 是否默认地址 - 0:否 1:是
  18975. type: integer
  18976. receiptaccount:
  18977. description: 发票帐号[发票类型:企业]
  18978. type: string
  18979. receiptbank:
  18980. description: 发票开户行[发票类型:企业]
  18981. type: string
  18982. receipttype:
  18983. description: 发票类型 - 1:个人 2:企业
  18984. type: integer
  18985. taxpayerid:
  18986. description: 纳税人识别号
  18987. type: string
  18988. userid:
  18989. description: 用户ID
  18990. type: integer
  18991. username:
  18992. description: 户名(个人姓名或企业名称)
  18993. type: string
  18994. type: object
  18995. models.XHBRAND:
  18996. properties:
  18997. brandid:
  18998. description: 品牌id
  18999. type: integer
  19000. brandname:
  19001. description: 品牌名称
  19002. type: string
  19003. isvalid:
  19004. description: 是否有效 0-无效 1-有效
  19005. type: integer
  19006. type: object
  19007. models.XHDeliveryGoods:
  19008. properties:
  19009. areauserid:
  19010. description: 所属机构
  19011. type: integer
  19012. bdlst:
  19013. description: 品牌列表
  19014. items:
  19015. $ref: '#/definitions/models.XHBRAND'
  19016. type: array
  19017. deliverygoodscode:
  19018. description: 现货品种代码
  19019. type: string
  19020. deliverygoodsid:
  19021. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19022. type: integer
  19023. deliverygoodsname:
  19024. description: 现货品种名称
  19025. type: string
  19026. dgstatus:
  19027. description: 品种状态 - 作废 - 0:未激活 1:正常
  19028. type: integer
  19029. filterSubEmpty:
  19030. description: 过滤下级为空的
  19031. type: integer
  19032. isvalid:
  19033. description: 是否有效 - 0:无效 1:有效
  19034. type: integer
  19035. remark:
  19036. description: 备注
  19037. type: string
  19038. unitid:
  19039. description: 单位id(目前看,数据库中是空值)
  19040. type: integer
  19041. wdlst:
  19042. description: 品类(现货商品)列表
  19043. items:
  19044. $ref: '#/definitions/models.XHWrstandard'
  19045. type: array
  19046. type: object
  19047. models.XHMiddleGoods:
  19048. properties:
  19049. GPLST:
  19050. description: 期货品种列表
  19051. items:
  19052. $ref: '#/definitions/models.TBGoodsGroup'
  19053. type: array
  19054. convertratio:
  19055. description: 拆算系数
  19056. type: number
  19057. costratio:
  19058. description: 成本权重
  19059. type: number
  19060. deliverygoodsid:
  19061. description: 现货商品id
  19062. type: integer
  19063. enumdicname:
  19064. description: 单位名称
  19065. type: string
  19066. middlegoodscode:
  19067. description: 套保品种代码
  19068. type: string
  19069. middlegoodsid:
  19070. description: 套保品种id
  19071. type: integer
  19072. middlegoodsname:
  19073. description: 套保品种名称
  19074. type: string
  19075. unitid:
  19076. description: 单位id
  19077. type: integer
  19078. type: object
  19079. models.XHWrstandard:
  19080. properties:
  19081. bannerpicurl:
  19082. description: banner图
  19083. type: string
  19084. deliverygoodsid:
  19085. description: 品种ID
  19086. type: integer
  19087. enumdicname:
  19088. description: 单位名称
  19089. type: string
  19090. mglst:
  19091. description: 套保品列表
  19092. items:
  19093. $ref: '#/definitions/models.XHMiddleGoods'
  19094. type: array
  19095. pictureurls:
  19096. description: 详情图片(逗号分隔)
  19097. type: string
  19098. thumurls:
  19099. description: 缩略图片(1:1)(逗号分隔)
  19100. type: string
  19101. unitid:
  19102. description: 单位id
  19103. type: integer
  19104. vatrate:
  19105. description: 增值税率
  19106. type: number
  19107. wrstandardcode:
  19108. description: 现货商品代码
  19109. type: string
  19110. wrstandardid:
  19111. description: 现货商品ID(SEQ_WRSTANDARD)
  19112. type: integer
  19113. wrstandardname:
  19114. description: 现货商品名称
  19115. type: string
  19116. type: object
  19117. models.XhcpSellBackApplyEx:
  19118. properties:
  19119. applyremark:
  19120. description: 申请备注
  19121. type: string
  19122. expirytype:
  19123. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19124. type: integer
  19125. goodsspec:
  19126. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19127. type: integer
  19128. holeflag:
  19129. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19130. type: integer
  19131. isunopened:
  19132. description: 是否原封 - 1:否 2:是
  19133. type: integer
  19134. mpflag:
  19135. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19136. type: integer
  19137. openflag:
  19138. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19139. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19140. type: integer
  19141. phonenum:
  19142. description: 联系电话
  19143. type: string
  19144. userid:
  19145. description: 所属用户ID
  19146. type: integer
  19147. zpflag:
  19148. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19149. type: integer
  19150. required:
  19151. - userid
  19152. type: object
  19153. models.Xhcpsellbackapply:
  19154. properties:
  19155. applyid:
  19156. description: 申请人
  19157. type: integer
  19158. applyremark:
  19159. description: 申请备注
  19160. type: string
  19161. applysrc:
  19162. description: 申请来源 - 1:管理端 2:终端
  19163. type: integer
  19164. applystatus:
  19165. description: 申请状态 - 1:待确认 2:已处理
  19166. type: integer
  19167. applytime:
  19168. description: 申请时间
  19169. type: string
  19170. auditremark:
  19171. description: 审核备注
  19172. type: string
  19173. auditsrc:
  19174. description: 审核来源 - 1:管理端 2:终端
  19175. type: integer
  19176. expirytype:
  19177. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19178. type: integer
  19179. goodsspec:
  19180. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19181. type: integer
  19182. holeflag:
  19183. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19184. type: integer
  19185. isunopened:
  19186. description: 是否原封 - 1:否 2:是
  19187. type: integer
  19188. mpflag:
  19189. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19190. type: integer
  19191. openflag:
  19192. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19193. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19194. type: integer
  19195. phonenum:
  19196. description: 联系电话
  19197. type: string
  19198. sellbackapplyid:
  19199. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  19200. type: string
  19201. userid:
  19202. description: 所属用户ID
  19203. type: integer
  19204. zpflag:
  19205. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19206. type: integer
  19207. required:
  19208. - userid
  19209. type: object
  19210. order.QueryHisTradeDetailRsp:
  19211. properties:
  19212. accountid:
  19213. description: 账户ID[报价币种]
  19214. type: integer
  19215. advanceratio:
  19216. description: 首付比率
  19217. type: number
  19218. buildtype:
  19219. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19220. type: integer
  19221. buyorsell:
  19222. description: 方向 - 0:买 1:卖
  19223. type: integer
  19224. charge:
  19225. description: 手续费
  19226. type: number
  19227. closecharge:
  19228. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19229. type: number
  19230. closeexchagechargevalue:
  19231. description: 平仓交易所手续费设置值
  19232. type: number
  19233. closefeealgorithm:
  19234. description: 平仓手续费收取方式 1:比率 2:固定
  19235. type: integer
  19236. closememberchargevalue:
  19237. description: 平仓会员手续费设置值
  19238. type: number
  19239. closepl:
  19240. description: 平仓盈亏
  19241. type: number
  19242. closepl2:
  19243. description: 平仓盈亏[逐笔]
  19244. type: number
  19245. closeqty:
  19246. description: 平仓数量(先建后平操作 需要记录)
  19247. type: number
  19248. creditamount:
  19249. description: 授信金额
  19250. type: number
  19251. decimalplace:
  19252. description: 商品报价小数位
  19253. type: integer
  19254. enumdicname:
  19255. description: 单位名称
  19256. type: string
  19257. gcaccountid:
  19258. description: 账户ID[合约币种]
  19259. type: integer
  19260. goodscode:
  19261. description: 商品代码
  19262. type: string
  19263. goodsid:
  19264. description: 商品ID
  19265. type: integer
  19266. goodsname:
  19267. description: 商品名称
  19268. type: string
  19269. goodunitid:
  19270. description: 商品单位id
  19271. type: integer
  19272. histradedate:
  19273. description: 历史交易日
  19274. type: string
  19275. intclosepl:
  19276. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19277. type: integer
  19278. isconfirmexercise:
  19279. description: 是否确认行权- 0:否 1:是
  19280. type: integer
  19281. ismain:
  19282. description: 是否主单 - 0:不是 1:是
  19283. type: integer
  19284. ispreexercise:
  19285. description: 是否预申报- 0:否 1:是
  19286. type: integer
  19287. isreckoned:
  19288. description: 是否结算 - 0:未结算 1:已结算
  19289. type: integer
  19290. isvaliddata:
  19291. description: 是否有效 - 0:无效 1:有效
  19292. type: integer
  19293. listingselecttype:
  19294. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19295. type: integer
  19296. marketid:
  19297. description: 市场ID
  19298. type: integer
  19299. marketname:
  19300. description: 市场名称
  19301. type: string
  19302. matchaccountid:
  19303. description: 对手账号id
  19304. type: integer
  19305. memberuserid:
  19306. description: 会员id 个人投资者 需要填写
  19307. type: integer
  19308. opencharge:
  19309. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19310. type: number
  19311. openexchagechargevalue:
  19312. description: 建仓交易所手续费设置值
  19313. type: number
  19314. openfeealgorithm:
  19315. description: 建仓手续费收取方式 1:比率 2:固定
  19316. type: integer
  19317. openmemberchargevalue:
  19318. description: 建仓会员手续费设置值
  19319. type: number
  19320. openqty:
  19321. description: 开仓数量(先建后平操作 需要记录)
  19322. type: number
  19323. optiontype:
  19324. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19325. type: integer
  19326. orderid:
  19327. description: 委托单号
  19328. type: string
  19329. payamount:
  19330. description: 支付金额(付款金额)
  19331. type: number
  19332. performanceplanid:
  19333. description: 履约计划ID[期权]
  19334. type: integer
  19335. performancestatus:
  19336. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19337. type: integer
  19338. preexerciseprice:
  19339. description: 预申报价格
  19340. type: number
  19341. premium:
  19342. description: 权利金 - [持仓单的权利金]
  19343. type: number
  19344. qtydecimalplace:
  19345. description: 商品报价小数位
  19346. type: integer
  19347. recvamount:
  19348. description: 到账金额 = 成交金额 - 手续费
  19349. type: number
  19350. relatedouttradeid:
  19351. description: 关联外部成交单ID
  19352. type: integer
  19353. status:
  19354. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19355. type: integer
  19356. totalamount:
  19357. description: 订单总额 = 成交金额 + 手续费
  19358. type: number
  19359. tradeamount:
  19360. description: 成交金额[账户币种,用于所有权]
  19361. type: number
  19362. tradedate:
  19363. description: 交易日(yyyyMMdd)
  19364. type: string
  19365. tradeid:
  19366. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19367. type: string
  19368. trademode:
  19369. description: 交易模式
  19370. type: integer
  19371. tradeprice:
  19372. description: 成交价格
  19373. type: number
  19374. tradeproperty:
  19375. description: 交易属性
  19376. type: integer
  19377. tradeqty:
  19378. description: 成交数量
  19379. type: number
  19380. tradetime:
  19381. description: 成交时间
  19382. type: string
  19383. tradetype:
  19384. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19385. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19386. type: integer
  19387. required:
  19388. - accountid
  19389. - buyorsell
  19390. - goodsid
  19391. - histradedate
  19392. - marketid
  19393. - memberuserid
  19394. - orderid
  19395. - tradeamount
  19396. - tradedate
  19397. - tradeid
  19398. - tradeprice
  19399. - tradeqty
  19400. - tradetime
  19401. type: object
  19402. order.QueryHisTradeOrderDetailRsp:
  19403. properties:
  19404. accountid:
  19405. description: 账户ID[报价币种]
  19406. type: integer
  19407. buildtype:
  19408. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19409. type: integer
  19410. buyorsell:
  19411. description: 买卖 - 0:买 1:卖
  19412. type: integer
  19413. cancelorderid:
  19414. description: 撤单单号(撤单时填写)
  19415. type: string
  19416. cancelqty:
  19417. description: 撤单数量
  19418. type: number
  19419. clientordertime:
  19420. description: 客户端委托时间
  19421. type: string
  19422. clientticket:
  19423. description: 客户端流水号
  19424. type: string
  19425. clienttype:
  19426. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19427. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19428. type: integer
  19429. closeexchagechargevalue:
  19430. description: 平仓交易所手续费设置值
  19431. type: number
  19432. closefeealgorithm:
  19433. description: 平仓手续费收取方式 1:比率 2:固定
  19434. type: integer
  19435. closefreezecharge:
  19436. description: 平仓冻结手续费(先建后平操作,需要记录)
  19437. type: number
  19438. closememberchargevalue:
  19439. description: 平仓会员手续费设置值
  19440. type: number
  19441. closeqty:
  19442. description: 平仓数量(先建后平操作 需要记录)
  19443. type: number
  19444. closetradeqty:
  19445. description: 平仓成交数量(先建后平操作,需要记录)
  19446. type: number
  19447. closeunfreezecharge:
  19448. description: 平仓解冻手续费(先建后平操作,需要记录)
  19449. type: number
  19450. decimalplace:
  19451. description: 商品报价小数位
  19452. type: integer
  19453. delistingtype:
  19454. description: 摘牌类型 - 1:价格最优 2:点选成交
  19455. type: integer
  19456. enumdicname:
  19457. description: 单位名称
  19458. type: string
  19459. freezecharge:
  19460. description: 冻结手续费
  19461. type: number
  19462. freezemargin:
  19463. description: 冻结保证金(冻结交易金额)
  19464. type: number
  19465. gcaccountid:
  19466. description: 账户ID[合约币种]
  19467. type: integer
  19468. goodscode:
  19469. description: 商品代码
  19470. type: string
  19471. goodsid:
  19472. description: 商品ID
  19473. type: integer
  19474. goodsname:
  19475. description: 商品名称
  19476. type: string
  19477. goodunitid:
  19478. description: 商品单位id
  19479. type: integer
  19480. histradedate:
  19481. description: 历史交易日
  19482. type: string
  19483. isconfirmexercise:
  19484. description: 是否确认行权- 0:否 1:是
  19485. type: integer
  19486. ispreexercise:
  19487. description: 是否预申报- 0:否 1:是
  19488. type: integer
  19489. isvaliddata:
  19490. description: 是否有效 - 0:无效 1:有效
  19491. type: integer
  19492. listingselecttype:
  19493. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19494. type: integer
  19495. marginalgorithm:
  19496. description: 保证金收取方式 1:比率 2:固定
  19497. type: integer
  19498. marginvalue:
  19499. description: 即市保证金设置值
  19500. type: number
  19501. marketid:
  19502. description: 市场ID
  19503. type: integer
  19504. marketmaxsub:
  19505. description: 市价最大偏移范围
  19506. type: number
  19507. marketname:
  19508. description: 市场名称
  19509. type: string
  19510. memberuserid:
  19511. description: 所属会员UserID
  19512. type: integer
  19513. openexchagechargevalue:
  19514. description: 建仓交易所手续费设置值
  19515. type: number
  19516. openfeealgorithm:
  19517. description: 建仓手续费收取方式 1:比率 2:固定
  19518. type: integer
  19519. openfreezecharge:
  19520. description: 开仓冻结手续费(先建后平操作,需要记录)
  19521. type: number
  19522. openmemberchargevalue:
  19523. description: 建仓会员手续费设置值
  19524. type: number
  19525. openqty:
  19526. description: 开仓数量(先建后平操作,需要记录)
  19527. type: number
  19528. opentradeqty:
  19529. description: 开仓成交数量(先建后平操作,需要记录)
  19530. type: number
  19531. openunfreezecharge:
  19532. description: 开仓解冻手续费(先建后平操作,需要记录)
  19533. type: number
  19534. operatetype:
  19535. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19536. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19537. 15:管理端协议转让
  19538. type: integer
  19539. operatorid:
  19540. description: 登录账号(LoginID)
  19541. type: integer
  19542. optiontype:
  19543. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19544. type: integer
  19545. orderid:
  19546. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19547. type: string
  19548. orderprice:
  19549. description: 委托价格
  19550. type: number
  19551. orderqty:
  19552. description: 委托数量
  19553. type: number
  19554. ordersrc:
  19555. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19556. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19557. type: integer
  19558. orderstatus:
  19559. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19560. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  19561. 16:成交失败违约(荷兰式竞拍专用)
  19562. type: integer
  19563. ordertime:
  19564. description: 委托时间
  19565. type: string
  19566. preexerciseprice:
  19567. description: 预申报价格
  19568. type: number
  19569. premium:
  19570. description: 权利金
  19571. type: number
  19572. preorderid:
  19573. description: 关联预埋单号(止盈止损单时填写)
  19574. type: string
  19575. pricemode:
  19576. description: '取价方式 - 1:市价 2: 限价'
  19577. type: integer
  19578. qtydecimalplace:
  19579. description: 成交量小数位
  19580. type: integer
  19581. quoteid:
  19582. description: 报价单ID
  19583. type: integer
  19584. relatedid:
  19585. description: 关联单号(交割单)
  19586. type: string
  19587. retcode:
  19588. description: 错误代码
  19589. type: integer
  19590. sessionid:
  19591. description: 会话ID
  19592. type: integer
  19593. tradedate:
  19594. description: 交易日(yyyyMMdd)
  19595. type: string
  19596. trademode:
  19597. description: 交易模式
  19598. type: integer
  19599. tradeproperty:
  19600. description: 交易属性
  19601. type: integer
  19602. tradeqty:
  19603. description: 成交数量
  19604. type: number
  19605. unfreezecharge:
  19606. description: 解冻手续费
  19607. type: number
  19608. unfreezemargin:
  19609. description: 解冻保证金
  19610. type: number
  19611. updatetime:
  19612. description: 更新时间
  19613. type: string
  19614. uuid:
  19615. description: 发起端唯一id
  19616. type: string
  19617. validtime:
  19618. description: 有效期限
  19619. type: string
  19620. validtype:
  19621. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  19622. type: integer
  19623. volumetype:
  19624. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  19625. type: integer
  19626. required:
  19627. - accountid
  19628. - buildtype
  19629. - buyorsell
  19630. - goodsid
  19631. - histradedate
  19632. - marketid
  19633. - memberuserid
  19634. - operatetype
  19635. - orderid
  19636. - orderqty
  19637. - ordertime
  19638. - pricemode
  19639. - tradedate
  19640. - validtype
  19641. type: object
  19642. order.QueryTradeDetailRsp:
  19643. properties:
  19644. accountid:
  19645. description: 账户ID[报价币种]
  19646. type: integer
  19647. advanceratio:
  19648. description: 首付比率
  19649. type: number
  19650. buildtype:
  19651. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19652. type: integer
  19653. buyorsell:
  19654. description: 方向 - 0:买 1:卖
  19655. type: integer
  19656. charge:
  19657. description: 手续费
  19658. type: number
  19659. closecharge:
  19660. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19661. type: number
  19662. closeexchagechargevalue:
  19663. description: 平仓交易所手续费设置值
  19664. type: number
  19665. closefeealgorithm:
  19666. description: 平仓手续费收取方式 1:比率 2:固定
  19667. type: integer
  19668. closememberchargevalue:
  19669. description: 平仓会员手续费设置值
  19670. type: number
  19671. closepl:
  19672. description: 平仓盈亏
  19673. type: number
  19674. closepl2:
  19675. description: 平仓盈亏[逐笔]
  19676. type: number
  19677. closeqty:
  19678. description: 平仓数量(先建后平操作 需要记录)
  19679. type: number
  19680. creditamount:
  19681. description: 授信金额
  19682. type: number
  19683. decimalplace:
  19684. description: 商品报价小数位
  19685. type: integer
  19686. enumdicname:
  19687. description: 单位名称
  19688. type: string
  19689. gcaccountid:
  19690. description: 账户ID[合约币种]
  19691. type: integer
  19692. goodscode:
  19693. description: 商品代码
  19694. type: string
  19695. goodsid:
  19696. description: 商品ID
  19697. type: integer
  19698. goodsname:
  19699. description: 商品名称
  19700. type: string
  19701. goodunitid:
  19702. description: 商品单位id
  19703. type: integer
  19704. intclosepl:
  19705. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19706. type: integer
  19707. isconfirmexercise:
  19708. description: 是否确认行权- 0:否 1:是
  19709. type: integer
  19710. ismain:
  19711. description: 是否主单 - 0:不是 1:是
  19712. type: integer
  19713. ispreexercise:
  19714. description: 是否预申报- 0:否 1:是
  19715. type: integer
  19716. isreckoned:
  19717. description: 是否结算 - 0:未结算 1:已结算
  19718. type: integer
  19719. listingselecttype:
  19720. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19721. type: integer
  19722. marketid:
  19723. description: 市场ID
  19724. type: integer
  19725. marketname:
  19726. description: 市场名称
  19727. type: string
  19728. matchaccountid:
  19729. description: 对手账号id
  19730. type: integer
  19731. memberuserid:
  19732. description: 会员id 个人投资者 需要填写
  19733. type: integer
  19734. opencharge:
  19735. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19736. type: number
  19737. openexchagechargevalue:
  19738. description: 建仓交易所手续费设置值
  19739. type: number
  19740. openfeealgorithm:
  19741. description: 建仓手续费收取方式 1:比率 2:固定
  19742. type: integer
  19743. openmemberchargevalue:
  19744. description: 建仓会员手续费设置值
  19745. type: number
  19746. openqty:
  19747. description: 开仓数量(先建后平操作 需要记录)
  19748. type: number
  19749. optiontype:
  19750. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19751. type: integer
  19752. orderid:
  19753. description: 委托单号
  19754. type: string
  19755. payamount:
  19756. description: 支付金额(付款金额)
  19757. type: number
  19758. performanceplanid:
  19759. description: 履约计划ID[期权]
  19760. type: integer
  19761. performancestatus:
  19762. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19763. type: integer
  19764. preexerciseprice:
  19765. description: 预申报价格
  19766. type: number
  19767. premium:
  19768. description: 权利金 - [持仓单的权利金]
  19769. type: number
  19770. qtydecimalplace:
  19771. description: 商品报价小数位
  19772. type: integer
  19773. recvamount:
  19774. description: 到账金额 = 成交金额 - 手续费
  19775. type: number
  19776. relatedouttradeid:
  19777. description: 关联外部成交单ID
  19778. type: integer
  19779. status:
  19780. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19781. type: integer
  19782. totalamount:
  19783. description: 订单总额 = 成交金额 + 手续费
  19784. type: number
  19785. tradeamount:
  19786. description: 成交金额[账户币种,用于所有权]
  19787. type: number
  19788. tradedate:
  19789. description: 交易日(yyyyMMdd)
  19790. type: string
  19791. tradeid:
  19792. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19793. type: string
  19794. trademode:
  19795. description: 交易模式
  19796. type: integer
  19797. tradeprice:
  19798. description: 成交价格
  19799. type: number
  19800. tradeproperty:
  19801. description: 交易属性
  19802. type: integer
  19803. tradeqty:
  19804. description: 成交数量
  19805. type: number
  19806. tradetime:
  19807. description: 成交时间
  19808. type: string
  19809. tradetype:
  19810. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19811. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19812. type: integer
  19813. required:
  19814. - accountid
  19815. - buyorsell
  19816. - goodsid
  19817. - marketid
  19818. - memberuserid
  19819. - orderid
  19820. - tradeamount
  19821. - tradedate
  19822. - tradeid
  19823. - tradeprice
  19824. - tradeqty
  19825. - tradetime
  19826. type: object
  19827. order.QueryTradeOrderDetailRsp:
  19828. properties:
  19829. accountid:
  19830. description: 账户ID[报价币种]
  19831. type: integer
  19832. buildtype:
  19833. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19834. type: integer
  19835. buyorsell:
  19836. description: 买卖 - 0:买 1:卖
  19837. type: integer
  19838. cancelorderid:
  19839. description: 撤单单号(撤单时填写)
  19840. type: string
  19841. cancelqty:
  19842. description: 撤单数量
  19843. type: number
  19844. clienttype:
  19845. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19846. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19847. type: integer
  19848. closefreezecharge:
  19849. description: 平仓冻结手续费(先建后平操作,需要记录)
  19850. type: number
  19851. closeqty:
  19852. description: 平仓数量(先建后平操作 需要记录)
  19853. type: number
  19854. closetradeqty:
  19855. description: 平仓成交数量(先建后平操作,需要记录)
  19856. type: number
  19857. closeunfreezecharge:
  19858. description: 平仓解冻手续费(先建后平操作,需要记录)
  19859. type: number
  19860. decimalplace:
  19861. description: 商品报价小数位
  19862. type: integer
  19863. delistingtype:
  19864. description: 摘牌类型 - 1:价格最优 2:点选成交
  19865. type: integer
  19866. enableqty:
  19867. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  19868. type: number
  19869. enumdicname:
  19870. description: 单位名称
  19871. type: string
  19872. freezecharge:
  19873. description: 冻结手续费
  19874. type: number
  19875. freezemargin:
  19876. description: 冻结保证金(冻结交易金额)
  19877. type: number
  19878. goodscode:
  19879. description: 商品代码
  19880. type: string
  19881. goodsid:
  19882. description: 商品ID
  19883. type: integer
  19884. goodsname:
  19885. description: 商品名称
  19886. type: string
  19887. goodunitid:
  19888. description: 商品单位id
  19889. type: integer
  19890. listingselecttype:
  19891. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19892. type: integer
  19893. marketid:
  19894. description: 市场ID
  19895. type: integer
  19896. marketname:
  19897. description: 市场名称
  19898. type: string
  19899. openfreezecharge:
  19900. description: 开仓冻结手续费(先建后平操作,需要记录)
  19901. type: number
  19902. openqty:
  19903. description: 开仓数量(先建后平操作,需要记录)
  19904. type: number
  19905. opentradeqty:
  19906. description: 开仓成交数量(先建后平操作,需要记录)
  19907. type: number
  19908. openunfreezecharge:
  19909. description: 开仓解冻手续费(先建后平操作,需要记录)
  19910. type: number
  19911. operatetype:
  19912. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19913. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19914. 15:管理端协议转让
  19915. type: integer
  19916. operatorid:
  19917. description: 登录账号(LoginID)
  19918. type: integer
  19919. orderid:
  19920. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19921. type: string
  19922. orderprice:
  19923. description: 委托价格
  19924. type: number
  19925. orderqty:
  19926. description: 委托数量
  19927. type: number
  19928. ordersrc:
  19929. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19930. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19931. type: integer
  19932. orderstatus:
  19933. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19934. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  19935. 16:成交失败违约(荷兰式竞拍专用)
  19936. type: integer
  19937. ordertime:
  19938. description: 委托时间
  19939. type: string
  19940. preorderid:
  19941. description: 关联预埋单号(止盈止损单时填写)
  19942. type: string
  19943. pricemode:
  19944. description: '取价方式 - 1:市价 2: 限价'
  19945. type: integer
  19946. qtydecimalplace:
  19947. description: 商品报价小数位
  19948. type: integer
  19949. relatedid:
  19950. description: 关联单号(交割单)
  19951. type: string
  19952. tradedate:
  19953. description: 交易日(yyyyMMdd)
  19954. type: string
  19955. trademode:
  19956. description: 交易模式
  19957. type: integer
  19958. tradeqty:
  19959. description: 成交数量
  19960. type: number
  19961. unfreezecharge:
  19962. description: 解冻手续费
  19963. type: number
  19964. unfreezemargin:
  19965. description: 解冻保证金
  19966. type: number
  19967. validtime:
  19968. description: 有效期限
  19969. type: string
  19970. validtype:
  19971. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  19972. type: integer
  19973. volumetype:
  19974. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  19975. type: integer
  19976. required:
  19977. - accountid
  19978. - buildtype
  19979. - buyorsell
  19980. - goodsid
  19981. - marketid
  19982. - operatetype
  19983. - orderqty
  19984. - ordertime
  19985. - pricemode
  19986. - tradedate
  19987. - validtype
  19988. type: object
  19989. order.QueryTradePositionRsp:
  19990. properties:
  19991. accountid:
  19992. description: 资金账户
  19993. type: integer
  19994. agreeunit:
  19995. description: 合约单位
  19996. type: number
  19997. averageprice:
  19998. description: 持仓均价
  19999. type: number
  20000. buyorsell:
  20001. description: 方向 - 0:买 1:卖
  20002. type: integer
  20003. closetotalqty:
  20004. description: 平仓总数量
  20005. type: number
  20006. curholderamount:
  20007. description: 当前持仓总金额[商品币种]
  20008. type: number
  20009. curpositionqty:
  20010. description: 当前持仓总数量
  20011. type: number
  20012. currencyid:
  20013. description: 报价货币ID
  20014. type: integer
  20015. curtdposition:
  20016. description: 期末今日头寸
  20017. type: number
  20018. decimalplace:
  20019. description: 报价小数位
  20020. type: integer
  20021. enableqty:
  20022. description: 可用量
  20023. type: number
  20024. fretdposition:
  20025. description: 冻结今日头寸
  20026. type: number
  20027. frozenqty:
  20028. description: 持仓冻结数量
  20029. type: number
  20030. goodscode:
  20031. description: 商品代码
  20032. type: string
  20033. goodsid:
  20034. description: 商品Id
  20035. type: integer
  20036. goodsname:
  20037. description: 商品名称
  20038. type: string
  20039. goodunit:
  20040. description: 报价单位
  20041. type: string
  20042. goodunitid:
  20043. description: 报价单位ID
  20044. type: integer
  20045. holderamount:
  20046. description: 期初持仓总金额[商品币种]
  20047. type: number
  20048. lastprice:
  20049. description: 最新价
  20050. type: number
  20051. marketamount:
  20052. description: 市值
  20053. type: number
  20054. marketid:
  20055. description: 所属市场ID
  20056. type: integer
  20057. openreqqty:
  20058. description: 开仓申请数量(用于比较最大持仓数量)
  20059. type: number
  20060. opentotalqty:
  20061. description: 开仓总数量
  20062. type: number
  20063. otherfrozenqty:
  20064. description: 持仓其他冻结数量(交割冻结)
  20065. type: number
  20066. positionpl:
  20067. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  20068. * 合约单位
  20069. type: number
  20070. positionplrate:
  20071. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  20072. type: number
  20073. positionqty:
  20074. description: 期初持仓数量
  20075. type: number
  20076. qtydecimalplace:
  20077. description: 成交量小数位
  20078. type: integer
  20079. refgoodscode:
  20080. description: 参考商品代码
  20081. type: string
  20082. refgoodsid:
  20083. description: 参考商品ID
  20084. type: integer
  20085. tnqty:
  20086. description: T+N冻结总量
  20087. type: number
  20088. tnusedqty:
  20089. description: T+N使用量(可以使用T+N的冻结数量)
  20090. type: number
  20091. trademode:
  20092. description: 交易模式
  20093. type: integer
  20094. tradeproperty:
  20095. description: 交易属性
  20096. type: integer
  20097. usedmargin:
  20098. description: 占用保证金[商品币种]
  20099. type: number
  20100. required:
  20101. - goodsid
  20102. type: object
  20103. pb.GoodsMarginCfgStruct:
  20104. properties:
  20105. CustomerTypeID:
  20106. description: 投资者客户类型
  20107. type: integer
  20108. GoodsID:
  20109. description: 商品ID
  20110. type: integer
  20111. IsDefault:
  20112. description: 是否默认标志位
  20113. type: integer
  20114. LockMarginValue:
  20115. description: 锁仓保证金
  20116. type: number
  20117. MarginAlgorithm:
  20118. description: 保证金计算方式
  20119. type: integer
  20120. MarketMarginValue:
  20121. description: 即市保证金值
  20122. type: number
  20123. RealMarginAlgorithm:
  20124. description: 实付保证金计算方式
  20125. type: integer
  20126. RealMarginValue:
  20127. description: 实付比例
  20128. type: number
  20129. ReckonMarginValue:
  20130. description: 结算保证金值
  20131. type: number
  20132. type: object
  20133. quote.HistoryData:
  20134. properties:
  20135. c:
  20136. description: 收盘价
  20137. type: number
  20138. f:
  20139. description: 是否补充数据
  20140. type: boolean
  20141. h:
  20142. description: 最高价
  20143. type: number
  20144. hv:
  20145. description: 持仓量
  20146. type: integer
  20147. l:
  20148. description: 最低价
  20149. type: number
  20150. o:
  20151. description: 开盘价
  20152. type: number
  20153. s:
  20154. description: 结算价,日线周期(包括)以上才有
  20155. type: number
  20156. ts:
  20157. description: 时间
  20158. type: string
  20159. tt:
  20160. description: 总金额
  20161. type: number
  20162. tv:
  20163. description: 总量(成交量)
  20164. type: integer
  20165. type: object
  20166. quote.HistoryTikData:
  20167. properties:
  20168. AV:
  20169. description: 卖量
  20170. type: integer
  20171. Ask:
  20172. description: 卖价
  20173. type: number
  20174. BV:
  20175. description: 买量
  20176. type: integer
  20177. Bid:
  20178. description: 买价
  20179. type: number
  20180. HI:
  20181. description: 单笔持仓
  20182. type: integer
  20183. HV:
  20184. description: 持仓量
  20185. type: integer
  20186. PE:
  20187. description: 现价
  20188. type: number
  20189. TDR:
  20190. description: 交易方向,0:买 1:卖
  20191. type: integer
  20192. TK:
  20193. description: 交易类型
  20194. type: integer
  20195. TS:
  20196. description: 行情时间文本
  20197. type: string
  20198. TT:
  20199. description: 现金额
  20200. type: number
  20201. Vol:
  20202. description: 现量
  20203. type: integer
  20204. type: object
  20205. quote.QueryQuoteDayRsp:
  20206. properties:
  20207. ask:
  20208. description: 卖1
  20209. type: number
  20210. ask2:
  20211. description: 卖2
  20212. type: number
  20213. ask3:
  20214. description: 卖3
  20215. type: number
  20216. ask4:
  20217. description: 卖4
  20218. type: number
  20219. ask5:
  20220. description: 卖5
  20221. type: number
  20222. ask6:
  20223. description: 卖6
  20224. type: number
  20225. ask7:
  20226. description: 卖7
  20227. type: number
  20228. ask8:
  20229. description: 卖8
  20230. type: number
  20231. ask9:
  20232. description: 卖9
  20233. type: number
  20234. ask10:
  20235. description: 卖10
  20236. type: number
  20237. askorderid:
  20238. description: 卖单号1
  20239. type: integer
  20240. askorderid2:
  20241. description: 卖单号2
  20242. type: integer
  20243. askorderid3:
  20244. description: 卖单号3
  20245. type: integer
  20246. askorderid4:
  20247. description: 卖单号4
  20248. type: integer
  20249. askorderid5:
  20250. description: 卖单号5
  20251. type: integer
  20252. askordervolume:
  20253. description: 卖单量1
  20254. type: integer
  20255. askordervolume2:
  20256. description: 卖单量2
  20257. type: integer
  20258. askordervolume3:
  20259. description: 卖单量3
  20260. type: integer
  20261. askordervolume4:
  20262. description: 卖单量4
  20263. type: integer
  20264. askordervolume5:
  20265. description: 卖单量5
  20266. type: integer
  20267. askordervolume6:
  20268. description: 卖单量6
  20269. type: integer
  20270. askordervolume7:
  20271. description: 卖单量7
  20272. type: integer
  20273. askordervolume8:
  20274. description: 卖单量8
  20275. type: integer
  20276. askordervolume9:
  20277. description: 卖单量9
  20278. type: integer
  20279. askordervolume10:
  20280. description: 卖单量10
  20281. type: integer
  20282. askqueueinfo:
  20283. description: 大利市卖港股用
  20284. type: string
  20285. askvolume:
  20286. description: 卖量1
  20287. type: integer
  20288. askvolume2:
  20289. description: 卖量2
  20290. type: integer
  20291. askvolume3:
  20292. description: 卖量3
  20293. type: integer
  20294. askvolume4:
  20295. description: 卖量4
  20296. type: integer
  20297. askvolume5:
  20298. description: 卖量5
  20299. type: integer
  20300. askvolume6:
  20301. description: 卖量6
  20302. type: integer
  20303. askvolume7:
  20304. description: 卖量7
  20305. type: integer
  20306. askvolume8:
  20307. description: 卖量8
  20308. type: integer
  20309. askvolume9:
  20310. description: 卖量9
  20311. type: integer
  20312. askvolume10:
  20313. description: 卖量10
  20314. type: integer
  20315. averageprice:
  20316. description: 均价
  20317. type: number
  20318. bid:
  20319. description: 买1
  20320. type: number
  20321. bid2:
  20322. description: 买2
  20323. type: number
  20324. bid3:
  20325. description: 买3
  20326. type: number
  20327. bid4:
  20328. description: 买4
  20329. type: number
  20330. bid5:
  20331. description: 买5
  20332. type: number
  20333. bid6:
  20334. description: 买6
  20335. type: number
  20336. bid7:
  20337. description: 买7
  20338. type: number
  20339. bid8:
  20340. description: 买8
  20341. type: number
  20342. bid9:
  20343. description: 买9
  20344. type: number
  20345. bid10:
  20346. description: 买10
  20347. type: number
  20348. bidorderid:
  20349. description: 买单号1
  20350. type: integer
  20351. bidorderid2:
  20352. description: 买单号2
  20353. type: integer
  20354. bidorderid3:
  20355. description: 买单号3
  20356. type: integer
  20357. bidorderid4:
  20358. description: 买单号4
  20359. type: integer
  20360. bidorderid5:
  20361. description: 买单号5
  20362. type: integer
  20363. bidordervolume:
  20364. description: 买单量1
  20365. type: integer
  20366. bidordervolume2:
  20367. description: 买单量2
  20368. type: integer
  20369. bidordervolume3:
  20370. description: 买单量3
  20371. type: integer
  20372. bidordervolume4:
  20373. description: 买单量4
  20374. type: integer
  20375. bidordervolume5:
  20376. description: 买单量5
  20377. type: integer
  20378. bidordervolume6:
  20379. description: 买单量6
  20380. type: integer
  20381. bidordervolume7:
  20382. description: 买单量7
  20383. type: integer
  20384. bidordervolume8:
  20385. description: 买单量8
  20386. type: integer
  20387. bidordervolume9:
  20388. description: 买单量9
  20389. type: integer
  20390. bidordervolume10:
  20391. description: 买单量10
  20392. type: integer
  20393. bidqueueinfo:
  20394. description: 大利市买港股用
  20395. type: string
  20396. bidvolume:
  20397. description: 买量1
  20398. type: integer
  20399. bidvolume2:
  20400. description: 买量2
  20401. type: integer
  20402. bidvolume3:
  20403. description: 买量3
  20404. type: integer
  20405. bidvolume4:
  20406. description: 买量4
  20407. type: integer
  20408. bidvolume5:
  20409. description: 买量5
  20410. type: integer
  20411. bidvolume6:
  20412. description: 买量6
  20413. type: integer
  20414. bidvolume7:
  20415. description: 买量7
  20416. type: integer
  20417. bidvolume8:
  20418. description: 买量8
  20419. type: integer
  20420. bidvolume9:
  20421. description: 买量9
  20422. type: integer
  20423. bidvolume10:
  20424. description: 买量10
  20425. type: integer
  20426. calloptionpremiums:
  20427. description: 认购期权1
  20428. type: integer
  20429. calloptionpremiums2:
  20430. description: 认购期权2
  20431. type: integer
  20432. calloptionpremiums3:
  20433. description: 认购期权3
  20434. type: integer
  20435. calloptionpremiums4:
  20436. description: 认购期权4
  20437. type: integer
  20438. calloptionpremiums5:
  20439. description: 认购期权5
  20440. type: integer
  20441. cleartime:
  20442. description: 清盘时间
  20443. type: integer
  20444. exchangecode:
  20445. description: 交易所代码
  20446. type: integer
  20447. exchangedate:
  20448. description: 交易日
  20449. type: integer
  20450. goodscode:
  20451. description: 商品代码
  20452. type: string
  20453. grepmarketprice:
  20454. description: 暗盘价 港股专用
  20455. type: number
  20456. highest:
  20457. description: 最高价
  20458. type: number
  20459. holdincrement:
  20460. description: 单笔持仓
  20461. type: integer
  20462. holdvolume:
  20463. description: 持仓
  20464. type: integer
  20465. iep:
  20466. description: 平衡价 港股专用
  20467. type: number
  20468. iev:
  20469. description: 平衡量 港股专用
  20470. type: number
  20471. inventory:
  20472. description: 库存
  20473. type: integer
  20474. iscleared:
  20475. description: 是否清盘标志
  20476. type: integer
  20477. issettled:
  20478. description: 是否结算标志
  20479. type: integer
  20480. last:
  20481. description: 最新价
  20482. type: number
  20483. lastlot:
  20484. description: 最新成交手数
  20485. type: integer
  20486. lasttime:
  20487. description: 行情时间(只有现价变化行情时间才变化)
  20488. type: string
  20489. lastturnover:
  20490. description: 最新成交金额
  20491. type: number
  20492. lastvolume:
  20493. description: 最新成交量
  20494. type: integer
  20495. limitdown:
  20496. description: 跌停价
  20497. type: number
  20498. limitup:
  20499. description: 涨停价
  20500. type: number
  20501. lowest:
  20502. description: 最低价
  20503. type: number
  20504. nontotalholdervolume:
  20505. description: 非交易持仓量
  20506. type: integer
  20507. nontotallot:
  20508. description: 非交易总手数
  20509. type: integer
  20510. nontotalturnover:
  20511. description: 非交易总金额
  20512. type: integer
  20513. nontotalvolume:
  20514. description: 非交易总量
  20515. type: integer
  20516. opened:
  20517. description: 开盘价
  20518. type: number
  20519. opentime:
  20520. description: 开盘时间
  20521. type: string
  20522. orderid:
  20523. description: 序号
  20524. type: integer
  20525. preclose:
  20526. description: 昨收
  20527. type: number
  20528. preholdvolume:
  20529. description: 昨持仓
  20530. type: integer
  20531. presettle:
  20532. description: 昨结价
  20533. type: number
  20534. publictradetype:
  20535. description: 公共交易标志类型 港股专用
  20536. type: string
  20537. putoptionpremiums:
  20538. description: 认沽期权1
  20539. type: integer
  20540. putoptionpremiums2:
  20541. description: 认沽期权2
  20542. type: integer
  20543. putoptionpremiums3:
  20544. description: 认沽期权3
  20545. type: integer
  20546. putoptionpremiums4:
  20547. description: 认沽期权4
  20548. type: integer
  20549. putoptionpremiums5:
  20550. description: 认沽期权5
  20551. type: integer
  20552. settle:
  20553. description: 结算价
  20554. type: number
  20555. strikeprice:
  20556. description: 发行价
  20557. type: number
  20558. totalaskvolume:
  20559. description: 内盘
  20560. type: integer
  20561. totalbidvolume:
  20562. description: 外盘
  20563. type: integer
  20564. totallot:
  20565. description: 总手数
  20566. type: integer
  20567. totalturnover:
  20568. description: 总金额
  20569. type: number
  20570. totalvolume:
  20571. description: 总量
  20572. type: integer
  20573. utclasttime:
  20574. description: utc的行情时间
  20575. type: string
  20576. type: object
  20577. quote.QueryTSDataRsp:
  20578. properties:
  20579. Count:
  20580. description: 交易日应有数据个数
  20581. type: integer
  20582. decimalPlace:
  20583. description: 小数位
  20584. type: integer
  20585. endTime:
  20586. description: 结束时间
  20587. type: string
  20588. goodsCode:
  20589. description: 商品代码
  20590. type: string
  20591. historyDatas:
  20592. description: 历史数据
  20593. items:
  20594. $ref: '#/definitions/quote.HistoryData'
  20595. type: array
  20596. outGoodsCode:
  20597. description: 外部商品代码
  20598. type: string
  20599. preSettle:
  20600. description: 昨结价
  20601. type: number
  20602. runSteps:
  20603. description: 交易日开休市计划
  20604. items:
  20605. $ref: '#/definitions/quote.TSDataRunStep'
  20606. type: array
  20607. startTime:
  20608. description: 开始时间
  20609. type: string
  20610. tradeDate:
  20611. description: 交易日
  20612. type: string
  20613. type: object
  20614. quote.TSDataRunStep:
  20615. properties:
  20616. end:
  20617. description: 真实结束时间
  20618. type: string
  20619. endflag:
  20620. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  20621. type: integer
  20622. endtime:
  20623. description: 结束时间(HH:mm)
  20624. type: string
  20625. endweekday:
  20626. description: 结束周几
  20627. type: integer
  20628. groupid:
  20629. description: 分组ID
  20630. type: integer
  20631. runstep:
  20632. description: 运行阶段 - 2:连续交易
  20633. type: integer
  20634. sectionid:
  20635. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  20636. 结束时间=结算时间 结束周几=结算周几
  20637. type: integer
  20638. start:
  20639. description: 真实开始时间
  20640. type: string
  20641. startflag:
  20642. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  20643. type: integer
  20644. starttime:
  20645. description: 起始时间(HH:mm)
  20646. type: string
  20647. startweekday:
  20648. description: 起始周几
  20649. type: integer
  20650. tradeweekday:
  20651. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  20652. type: integer
  20653. type: object
  20654. szdz.QueryConvertLogRsp:
  20655. properties:
  20656. accountid:
  20657. description: 资金账户ID
  20658. type: integer
  20659. clientticket:
  20660. description: 客户端流水号
  20661. type: string
  20662. converttype:
  20663. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  20664. type: integer
  20665. createtime:
  20666. description: 记账时间
  20667. type: string
  20668. daymaxvalue:
  20669. description: 配置当日最大转入限制
  20670. type: number
  20671. daymaxvalue2:
  20672. description: 配置当日最大转入限制(转入)
  20673. type: number
  20674. goodscode:
  20675. description: 商品代码
  20676. type: string
  20677. goodsname:
  20678. description: 商品名称
  20679. type: string
  20680. handlestatus:
  20681. description: 处理状态
  20682. type: integer
  20683. innergoodsid:
  20684. description: 内部商品ID
  20685. type: integer
  20686. inratio:
  20687. description: 配置转入比值
  20688. type: integer
  20689. invalue:
  20690. description: 目标值
  20691. type: number
  20692. logid:
  20693. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20694. type: integer
  20695. mobile:
  20696. description: 手机号码(加密存储)
  20697. type: string
  20698. outergoodscode:
  20699. description: 外部商品代码[JD\PD]
  20700. type: string
  20701. outratio:
  20702. description: 配置转出比值
  20703. type: integer
  20704. outvalue:
  20705. description: 源值
  20706. type: number
  20707. pddecimalplace:
  20708. description: PD小数位
  20709. type: integer
  20710. qty:
  20711. description: 数量
  20712. type: string
  20713. remark:
  20714. description: 备注
  20715. type: string
  20716. sessionid:
  20717. description: 会话ID
  20718. type: integer
  20719. timemaxvalue:
  20720. description: 配置单次最大转入限制
  20721. type: number
  20722. timemaxvalue2:
  20723. description: 配置单次最大转入限制(转入)
  20724. type: number
  20725. timeminvalue:
  20726. description: 配置单次最小数量限制
  20727. type: number
  20728. timeminvalue2:
  20729. description: 配置单次最小数量限制(转入)
  20730. type: number
  20731. tradedate:
  20732. description: 交易日(yyyyMMdd)
  20733. type: string
  20734. userid:
  20735. description: 用户ID
  20736. type: integer
  20737. required:
  20738. - logid
  20739. type: object
  20740. szdz.QueryGoodsPickupRsp:
  20741. properties:
  20742. accountid:
  20743. description: 账户ID
  20744. type: integer
  20745. address:
  20746. description: 提货人详细地址
  20747. type: string
  20748. auditer:
  20749. description: 审核人
  20750. type: integer
  20751. audittime:
  20752. description: 审核时间
  20753. type: string
  20754. cardnum:
  20755. description: 提货人证件号码
  20756. type: string
  20757. cardtypeid:
  20758. description: 提货人证件类型
  20759. type: integer
  20760. checkremark:
  20761. description: 审核备注
  20762. type: string
  20763. goodscode:
  20764. description: 商品代码
  20765. type: string
  20766. goodsid:
  20767. description: 商品ID
  20768. type: integer
  20769. goodsname:
  20770. description: 商品名称
  20771. type: string
  20772. handlestatus:
  20773. description: 处理状态
  20774. type: integer
  20775. marketid:
  20776. description: 市场ID
  20777. type: integer
  20778. phonenum:
  20779. description: 提货人联系方式
  20780. type: string
  20781. qty:
  20782. description: 提货数量
  20783. type: number
  20784. recivername:
  20785. description: 提货人姓名
  20786. type: string
  20787. reqtime:
  20788. description: 更新时间
  20789. type: string
  20790. takemode:
  20791. description: 提货方式 - 2:自提 3:配送
  20792. type: integer
  20793. takeorderid:
  20794. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  20795. type: string
  20796. takeorderstatus:
  20797. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20798. type: integer
  20799. takeremark:
  20800. description: 提货备注
  20801. type: string
  20802. tradedate:
  20803. description: 交易日(yyyyMMdd)
  20804. type: string
  20805. userid:
  20806. description: 用户ID
  20807. type: integer
  20808. required:
  20809. - takeorderid
  20810. type: object
  20811. szdz.QueryRecieptOrderRsp:
  20812. properties:
  20813. accountName:
  20814. description: 所属账号名称(已脱敏)
  20815. type: string
  20816. accountid:
  20817. description: 资金账号
  20818. type: integer
  20819. buyorsell:
  20820. description: 方向 - 0:买 1:卖
  20821. type: integer
  20822. enableqty:
  20823. description: 可摘数量
  20824. type: integer
  20825. goodscode:
  20826. description: 商品代码
  20827. type: string
  20828. goodsid:
  20829. description: 商品ID
  20830. type: integer
  20831. goodsname:
  20832. description: 商品名称
  20833. type: string
  20834. orderid:
  20835. description: 委托单号
  20836. type: string
  20837. orderprice:
  20838. description: 委托价格
  20839. type: number
  20840. ordertime:
  20841. description: 委托时间
  20842. type: string
  20843. tradedate:
  20844. description: 交易日(yyyyMMdd)
  20845. type: string
  20846. required:
  20847. - ordertime
  20848. type: object
  20849. szdz.QuerySZDZTradePositionRsp:
  20850. properties:
  20851. accountid:
  20852. description: 账号Id
  20853. type: integer
  20854. agreeunit:
  20855. description: 合约单位
  20856. type: number
  20857. averageprice:
  20858. description: 持仓均价
  20859. type: number
  20860. buyorsell:
  20861. description: 方向 - 0:买 1:卖
  20862. type: integer
  20863. closetotalqty:
  20864. description: 平仓总数量
  20865. type: integer
  20866. curholderamount:
  20867. description: 当前持仓总金额
  20868. type: number
  20869. curpositionqty:
  20870. description: 当前持仓总数量
  20871. type: integer
  20872. currencyid:
  20873. description: 报价货币ID
  20874. type: integer
  20875. curtdposition:
  20876. description: 期末今日头寸
  20877. type: integer
  20878. decimalplace:
  20879. description: 报价小数位
  20880. type: integer
  20881. enableqty:
  20882. description: 可用量
  20883. type: integer
  20884. fretdposition:
  20885. description: 冻结今日头寸
  20886. type: integer
  20887. frozenqty:
  20888. description: 持仓冻结数量
  20889. type: integer
  20890. goodscode:
  20891. description: 商品代码(内部)
  20892. type: string
  20893. goodsid:
  20894. description: 商品Id
  20895. type: integer
  20896. goodsname:
  20897. description: 商品名称
  20898. type: string
  20899. goodunit:
  20900. description: 报价单位
  20901. type: string
  20902. goodunitid:
  20903. description: 报价单位ID
  20904. type: integer
  20905. holderamount:
  20906. description: 期初持仓总金额
  20907. type: number
  20908. marketid:
  20909. description: 市场ID
  20910. type: integer
  20911. openreqqty:
  20912. description: 开仓申请数量
  20913. type: integer
  20914. opentotalqty:
  20915. description: 开仓总数量
  20916. type: integer
  20917. otherfrozenqty:
  20918. description: 持仓其他冻结数量(交割冻结)
  20919. type: integer
  20920. positionqty:
  20921. description: 期初持仓数量
  20922. type: integer
  20923. szdz3freezqty:
  20924. description: 尚志大宗转换冻结总数量
  20925. type: integer
  20926. tnqty:
  20927. description: T+N冻结总量
  20928. type: integer
  20929. tnusedqty:
  20930. description: T+N使用量
  20931. type: integer
  20932. trademode:
  20933. description: 交易模式
  20934. type: integer
  20935. usedmargin:
  20936. description: 占用保证金
  20937. type: number
  20938. type: object
  20939. taaccount.QueryAmountLogRsp:
  20940. properties:
  20941. OPERATETYPENAME:
  20942. description: 资金操作类型名称
  20943. type: string
  20944. accountid:
  20945. description: 资金账户ID
  20946. type: integer
  20947. agoodscode:
  20948. description: 竞拍商品代码
  20949. type: string
  20950. agoodsname:
  20951. description: 竞拍商品名称
  20952. type: string
  20953. amount:
  20954. description: 资金金额
  20955. type: number
  20956. amountadjusttype:
  20957. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  20958. type: integer
  20959. autoid:
  20960. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  20961. type: integer
  20962. balance:
  20963. description: 期初余额
  20964. type: number
  20965. businesscode:
  20966. description: 业务编号
  20967. type: integer
  20968. createtime:
  20969. description: 发生时间
  20970. type: string
  20971. currencyid:
  20972. description: 币种ID
  20973. type: integer
  20974. currentbalance:
  20975. description: 期末余额(变动后金额)
  20976. type: number
  20977. dgoodscode:
  20978. description: 交割商品代码
  20979. type: string
  20980. dgoodsname:
  20981. description: 交割商品名称
  20982. type: string
  20983. goodscode:
  20984. description: 商品代码
  20985. type: string
  20986. goodsid:
  20987. description: 商品ID
  20988. type: integer
  20989. goodsname:
  20990. description: 商品名称
  20991. type: string
  20992. marketid:
  20993. description: 市场ID
  20994. type: integer
  20995. marketname:
  20996. description: 市场名称
  20997. type: string
  20998. moneyticket:
  20999. description: 资金流水号:银行端流水号
  21000. type: integer
  21001. operatetype:
  21002. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21003. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21004. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21005. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21006. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21007. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21008. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21009. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21010. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21011. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21012. type: integer
  21013. relationorderid:
  21014. description: 关联单号
  21015. type: string
  21016. remark:
  21017. description: 备注
  21018. type: string
  21019. trademode:
  21020. description: 交易模式
  21021. type: integer
  21022. required:
  21023. - accountid
  21024. - amount
  21025. - amountadjusttype
  21026. - autoid
  21027. - balance
  21028. - createtime
  21029. - currentbalance
  21030. - operatetype
  21031. type: object
  21032. taaccount.QueryHisAmountLogRsp:
  21033. properties:
  21034. OPERATETYPENAME:
  21035. description: 资金操作类型名称
  21036. type: string
  21037. accountid:
  21038. description: 资金账户ID
  21039. type: integer
  21040. agoodscode:
  21041. description: 竞拍商品代码
  21042. type: string
  21043. agoodsname:
  21044. description: 竞拍商品名称
  21045. type: string
  21046. amount:
  21047. description: 资金金额
  21048. type: number
  21049. amountadjusttype:
  21050. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21051. type: integer
  21052. autoid:
  21053. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21054. type: integer
  21055. balance:
  21056. description: 期初余额
  21057. type: number
  21058. businesscode:
  21059. description: 业务编号
  21060. type: integer
  21061. createtime:
  21062. description: 发生时间
  21063. type: string
  21064. currencyid:
  21065. description: 币种ID
  21066. type: integer
  21067. currentbalance:
  21068. description: 期末余额(变动后金额)
  21069. type: number
  21070. dgoodscode:
  21071. description: 交割商品代码
  21072. type: string
  21073. dgoodsname:
  21074. description: 交割商品名称
  21075. type: string
  21076. goodscode:
  21077. description: 商品代码
  21078. type: string
  21079. goodsid:
  21080. description: 商品ID
  21081. type: integer
  21082. goodsname:
  21083. description: 商品名称
  21084. type: string
  21085. histradedate:
  21086. description: 历史交易日
  21087. type: string
  21088. isvaliddata:
  21089. description: 是否有效 - 0:无效 1:有效
  21090. type: integer
  21091. marketid:
  21092. description: 市场ID
  21093. type: integer
  21094. marketname:
  21095. description: 市场名称
  21096. type: string
  21097. moneyticket:
  21098. description: 资金流水号:银行端流水号
  21099. type: integer
  21100. operatetype:
  21101. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21102. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21103. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21104. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21105. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21106. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21107. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21108. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21109. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21110. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21111. type: integer
  21112. relationorderid:
  21113. description: 关联单号
  21114. type: string
  21115. remark:
  21116. description: 备注
  21117. type: string
  21118. trademode:
  21119. description: 交易模式
  21120. type: integer
  21121. required:
  21122. - accountid
  21123. - amount
  21124. - amountadjusttype
  21125. - autoid
  21126. - balance
  21127. - createtime
  21128. - currentbalance
  21129. - histradedate
  21130. - operatetype
  21131. type: object
  21132. trade.QueryRecieptOrderRsp:
  21133. properties:
  21134. accountName:
  21135. description: 所属账号名称(已脱敏)
  21136. type: string
  21137. accountid:
  21138. description: 资金账号
  21139. type: integer
  21140. buyorsell:
  21141. description: 方向 - 0:买 1:卖
  21142. type: integer
  21143. enableqty:
  21144. description: 可摘数量
  21145. type: integer
  21146. goodscode:
  21147. description: 商品代码
  21148. type: string
  21149. goodsid:
  21150. description: 商品ID
  21151. type: integer
  21152. goodsname:
  21153. description: 商品名称
  21154. type: string
  21155. orderid:
  21156. description: 委托单号
  21157. type: string
  21158. orderprice:
  21159. description: 委托价格
  21160. type: number
  21161. ordertime:
  21162. description: 委托时间
  21163. type: string
  21164. tradedate:
  21165. description: 交易日(yyyyMMdd)
  21166. type: string
  21167. required:
  21168. - ordertime
  21169. type: object
  21170. user.LoginQueryRsp:
  21171. properties:
  21172. areaRoles:
  21173. description: 所属角色信息
  21174. items:
  21175. $ref: '#/definitions/models.Arearole'
  21176. type: array
  21177. externalExchanges:
  21178. description: 外部交易所
  21179. items:
  21180. $ref: '#/definitions/models.Externalexchange'
  21181. type: array
  21182. goodsgroups:
  21183. description: 商品组
  21184. items:
  21185. $ref: '#/definitions/models.Goodsgroup'
  21186. type: array
  21187. loginAccount:
  21188. $ref: '#/definitions/models.Loginaccount'
  21189. description: 登录账号
  21190. markets:
  21191. description: 市场
  21192. items:
  21193. $ref: '#/definitions/models.Market'
  21194. type: array
  21195. systemParams:
  21196. description: 系统参数
  21197. items:
  21198. $ref: '#/definitions/models.Systemparam'
  21199. type: array
  21200. userAccount:
  21201. $ref: '#/definitions/models.Useraccount'
  21202. description: 用户账号
  21203. userInfo:
  21204. $ref: '#/definitions/models.Userinfo'
  21205. description: 用户信息
  21206. username:
  21207. description: 用户姓名
  21208. type: string
  21209. type: object
  21210. info:
  21211. contact: {}
  21212. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  21213. termsOfService: http://www.muchinfo.cn
  21214. title: MTP2.0 查询服务 API
  21215. version: "1.0"
  21216. paths:
  21217. /CPTrade/QueryCPTradeMyBidInfos:
  21218. get:
  21219. parameters:
  21220. - description: 资金账户
  21221. in: query
  21222. name: accountid
  21223. required: true
  21224. type: integer
  21225. - description: 预售市场ID
  21226. in: query
  21227. name: marketid
  21228. type: integer
  21229. - description: 预售商品ID
  21230. in: query
  21231. name: goodsid
  21232. type: integer
  21233. produces:
  21234. - application/json
  21235. responses:
  21236. "200":
  21237. description: OK
  21238. schema:
  21239. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  21240. "500":
  21241. description: Internal Server Error
  21242. schema:
  21243. $ref: '#/definitions/app.Response'
  21244. security:
  21245. - ApiKeyAuth: []
  21246. summary: 查询产能预售我的出价信息
  21247. tags:
  21248. - 产能预售
  21249. /CPTrade/QueryCPTradeOrderDetail:
  21250. get:
  21251. parameters:
  21252. - description: 预售商品ID
  21253. in: query
  21254. name: goodsid
  21255. type: integer
  21256. - description: 预售市场ID
  21257. in: query
  21258. name: marketid
  21259. type: integer
  21260. - description: 预售商品ID列表 - 格式:1,2,3
  21261. in: query
  21262. name: goodsids
  21263. type: string
  21264. produces:
  21265. - application/json
  21266. responses:
  21267. "200":
  21268. description: OK
  21269. schema:
  21270. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  21271. "500":
  21272. description: Internal Server Error
  21273. schema:
  21274. $ref: '#/definitions/app.Response'
  21275. security:
  21276. - ApiKeyAuth: []
  21277. summary: 查询产能预售委托单信息
  21278. tags:
  21279. - 产能预售
  21280. /CPTrade/QueryMyCPTradeGoods:
  21281. get:
  21282. parameters:
  21283. - description: 资金账户
  21284. in: query
  21285. name: accountid
  21286. required: true
  21287. type: integer
  21288. produces:
  21289. - application/json
  21290. responses:
  21291. "200":
  21292. description: OK
  21293. schema:
  21294. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  21295. "500":
  21296. description: Internal Server Error
  21297. schema:
  21298. $ref: '#/definitions/app.Response'
  21299. security:
  21300. - ApiKeyAuth: []
  21301. summary: 查询我的预售信息
  21302. tags:
  21303. - 产能预售
  21304. /CPTrade/QueryPositionCancel:
  21305. get:
  21306. parameters:
  21307. - description: 账户ID
  21308. in: query
  21309. name: userid
  21310. required: true
  21311. type: integer
  21312. - description: 注销ID
  21313. in: query
  21314. name: cancelid
  21315. type: integer
  21316. - description: 资金账户ID
  21317. in: query
  21318. name: accountid
  21319. type: integer
  21320. produces:
  21321. - application/json
  21322. responses:
  21323. "200":
  21324. description: OK
  21325. schema:
  21326. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  21327. "500":
  21328. description: Internal Server Error
  21329. schema:
  21330. $ref: '#/definitions/app.Response'
  21331. security:
  21332. - ApiKeyAuth: []
  21333. summary: 查询远期订单注销申请信息
  21334. tags:
  21335. - 产能预售
  21336. /CPTrade/QueryPreasleApply:
  21337. get:
  21338. parameters:
  21339. - description: 账户ID
  21340. in: query
  21341. name: userid
  21342. required: true
  21343. type: integer
  21344. - description: 申请ID
  21345. in: query
  21346. name: applyid
  21347. type: integer
  21348. - description: 资金账户ID
  21349. in: query
  21350. name: accountid
  21351. type: integer
  21352. produces:
  21353. - application/json
  21354. responses:
  21355. "200":
  21356. description: OK
  21357. schema:
  21358. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  21359. "500":
  21360. description: Internal Server Error
  21361. schema:
  21362. $ref: '#/definitions/app.Response'
  21363. security:
  21364. - ApiKeyAuth: []
  21365. summary: 查询产能预售申请信息
  21366. tags:
  21367. - 产能预售
  21368. /CPTrade/QueryPresaleGoodsEx:
  21369. get:
  21370. parameters:
  21371. - description: 预售商品ID
  21372. in: query
  21373. name: goodsid
  21374. type: integer
  21375. - description: 预售市场ID
  21376. in: query
  21377. name: marketid
  21378. type: integer
  21379. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  21380. in: query
  21381. name: presalemode
  21382. type: integer
  21383. - description: 预售商品ID列表 - 格式:1,2,3
  21384. in: query
  21385. name: goodsids
  21386. type: string
  21387. - description: 预售商品代码
  21388. in: query
  21389. name: goodscode
  21390. type: string
  21391. produces:
  21392. - application/json
  21393. responses:
  21394. "200":
  21395. description: OK
  21396. schema:
  21397. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  21398. "500":
  21399. description: Internal Server Error
  21400. schema:
  21401. $ref: '#/definitions/app.Response'
  21402. security:
  21403. - ApiKeyAuth: []
  21404. summary: 查询产能预售商品扩展信息
  21405. tags:
  21406. - 产能预售
  21407. /CPTrade/QueryUserGoodsData:
  21408. get:
  21409. parameters:
  21410. - description: 资金账户ID
  21411. in: query
  21412. name: accountid
  21413. required: true
  21414. type: integer
  21415. produces:
  21416. - application/json
  21417. responses:
  21418. "200":
  21419. description: OK
  21420. schema:
  21421. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  21422. "500":
  21423. description: Internal Server Error
  21424. schema:
  21425. $ref: '#/definitions/app.Response'
  21426. security:
  21427. - ApiKeyAuth: []
  21428. summary: 查询远期订单信息
  21429. tags:
  21430. - 产能预售
  21431. /Common/GetAllEnums:
  21432. get:
  21433. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  21434. parameters:
  21435. - description: 起始自增ID
  21436. in: query
  21437. name: autoid
  21438. type: integer
  21439. produces:
  21440. - application/json
  21441. responses:
  21442. "200":
  21443. description: OK
  21444. schema:
  21445. $ref: '#/definitions/models.Enumdicitem'
  21446. "500":
  21447. description: Internal Server Error
  21448. schema:
  21449. $ref: '#/definitions/app.Response'
  21450. summary: 获取所有枚举信息
  21451. tags:
  21452. - 通用服务
  21453. /Common/GetClientMenus:
  21454. get:
  21455. parameters:
  21456. - description: 登录账号
  21457. in: query
  21458. name: loginID
  21459. required: true
  21460. type: integer
  21461. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  21462. in: query
  21463. name: clientType
  21464. type: integer
  21465. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  21466. in: query
  21467. name: name
  21468. type: string
  21469. produces:
  21470. - application/json
  21471. responses:
  21472. "200":
  21473. description: OK
  21474. schema:
  21475. items:
  21476. $ref: '#/definitions/common.ClientMenu'
  21477. type: array
  21478. "500":
  21479. description: Internal Server Error
  21480. schema:
  21481. $ref: '#/definitions/app.Response'
  21482. security:
  21483. - ApiKeyAuth: []
  21484. summary: 获取交易端菜单
  21485. tags:
  21486. - 通用服务
  21487. /Common/GetDivisions:
  21488. get:
  21489. produces:
  21490. - application/json
  21491. responses:
  21492. "200":
  21493. description: OK
  21494. schema:
  21495. $ref: '#/definitions/models.Division'
  21496. "500":
  21497. description: Internal Server Error
  21498. schema:
  21499. $ref: '#/definitions/app.Response'
  21500. summary: 查询区域信息
  21501. tags:
  21502. - 通用服务
  21503. /Common/GetPCWebMenus:
  21504. get:
  21505. parameters:
  21506. - description: 登录账号
  21507. in: query
  21508. name: loginID
  21509. required: true
  21510. type: integer
  21511. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  21512. in: query
  21513. name: name
  21514. type: string
  21515. produces:
  21516. - application/json
  21517. responses:
  21518. "200":
  21519. description: OK
  21520. schema:
  21521. items:
  21522. $ref: '#/definitions/common.PCWebMenu'
  21523. type: array
  21524. "500":
  21525. description: Internal Server Error
  21526. schema:
  21527. $ref: '#/definitions/app.Response'
  21528. security:
  21529. - ApiKeyAuth: []
  21530. summary: 获取PCWeb交易端菜单
  21531. tags:
  21532. - 通用服务
  21533. /Common/GetServerTime:
  21534. get:
  21535. produces:
  21536. - application/json
  21537. responses:
  21538. "200":
  21539. description: OK
  21540. schema:
  21541. $ref: '#/definitions/app.Response'
  21542. "500":
  21543. description: Internal Server Error
  21544. schema:
  21545. $ref: '#/definitions/app.Response'
  21546. summary: 获取服务器时间
  21547. tags:
  21548. - 通用服务
  21549. /Common/NoticeReaded:
  21550. post:
  21551. parameters:
  21552. - description: 登录账号
  21553. in: query
  21554. name: loginID
  21555. required: true
  21556. type: integer
  21557. - description: 通知公告ID
  21558. in: query
  21559. name: noticeID
  21560. required: true
  21561. type: integer
  21562. produces:
  21563. - application/json
  21564. responses:
  21565. "200":
  21566. description: OK
  21567. schema:
  21568. $ref: '#/definitions/app.Response'
  21569. "500":
  21570. description: Internal Server Error
  21571. schema:
  21572. $ref: '#/definitions/app.Response'
  21573. security:
  21574. - ApiKeyAuth: []
  21575. summary: 通知公告设置已读请求
  21576. tags:
  21577. - 通用服务
  21578. /Common/QueryErrorInfos:
  21579. get:
  21580. description: 如果传入rowNumber,则返回此rowNumber后的数据
  21581. parameters:
  21582. - description: 起始行号前索引
  21583. in: query
  21584. name: rowNumber
  21585. type: string
  21586. produces:
  21587. - application/json
  21588. responses:
  21589. "200":
  21590. description: OK
  21591. schema:
  21592. $ref: '#/definitions/models.QueryErrorInfosRsp'
  21593. "500":
  21594. description: Internal Server Error
  21595. schema:
  21596. $ref: '#/definitions/app.Response'
  21597. summary: 获取数据库错误信息
  21598. tags:
  21599. - 通用服务
  21600. /Common/QueryImageConfigs:
  21601. get:
  21602. parameters:
  21603. - description: 用户id
  21604. in: query
  21605. name: userId
  21606. type: integer
  21607. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  21608. in: query
  21609. name: imageType
  21610. type: integer
  21611. produces:
  21612. - application/json
  21613. responses:
  21614. "200":
  21615. description: OK
  21616. schema:
  21617. $ref: '#/definitions/common.QueryImageConfigsRsp'
  21618. "500":
  21619. description: Internal Server Error
  21620. schema:
  21621. $ref: '#/definitions/app.Response'
  21622. summary: 查询轮播图配置信息
  21623. tags:
  21624. - 通用服务
  21625. /Common/QueryNotice:
  21626. get:
  21627. parameters:
  21628. - description: 页码
  21629. in: query
  21630. name: page
  21631. type: integer
  21632. - description: 每页条数
  21633. in: query
  21634. name: pagesize
  21635. type: integer
  21636. - description: 登录账号
  21637. in: query
  21638. name: loginID
  21639. required: true
  21640. type: integer
  21641. - description: 消息类型 - 1:公告通知 2:系统消息
  21642. in: query
  21643. name: msgType
  21644. type: integer
  21645. - description: 是否只获取未读信息
  21646. in: query
  21647. name: onlyUnRead
  21648. type: boolean
  21649. - description: 自增ID,传入后会返回这个ID后面的记录
  21650. in: query
  21651. name: lastID
  21652. type: integer
  21653. produces:
  21654. - application/json
  21655. responses:
  21656. "200":
  21657. description: OK
  21658. schema:
  21659. $ref: '#/definitions/common.QueryNoticeRsp'
  21660. "500":
  21661. description: Internal Server Error
  21662. schema:
  21663. $ref: '#/definitions/app.Response'
  21664. security:
  21665. - ApiKeyAuth: []
  21666. summary: 通知公告系统消息查询
  21667. tags:
  21668. - 通用服务
  21669. /Common/QueryProvincesAndCities:
  21670. get:
  21671. parameters:
  21672. - description: 省ID
  21673. in: query
  21674. name: provinceID
  21675. type: integer
  21676. produces:
  21677. - application/json
  21678. responses:
  21679. "200":
  21680. description: OK
  21681. schema:
  21682. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  21683. "500":
  21684. description: Internal Server Error
  21685. schema:
  21686. $ref: '#/definitions/app.Response'
  21687. summary: 查询省市信息(不包括区)
  21688. tags:
  21689. - 通用服务
  21690. /Common/QueryTableDefine:
  21691. get:
  21692. parameters:
  21693. - description: 表key
  21694. in: query
  21695. name: tableKey
  21696. type: string
  21697. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  21698. in: query
  21699. name: tableType
  21700. type: integer
  21701. produces:
  21702. - application/json
  21703. responses:
  21704. "200":
  21705. description: OK
  21706. schema:
  21707. $ref: '#/definitions/common.QueryTableDefineRsp'
  21708. "500":
  21709. description: Internal Server Error
  21710. schema:
  21711. $ref: '#/definitions/app.Response'
  21712. summary: 查询交易端列表头信息
  21713. tags:
  21714. - 通用服务
  21715. /Common/QueryTraderMenu:
  21716. get:
  21717. parameters:
  21718. - description: 登录账号
  21719. in: query
  21720. name: loginid
  21721. required: true
  21722. type: integer
  21723. produces:
  21724. - application/json
  21725. responses:
  21726. "200":
  21727. description: OK
  21728. schema:
  21729. $ref: '#/definitions/common.QueryTraderMenuRsp'
  21730. "500":
  21731. description: Internal Server Error
  21732. schema:
  21733. $ref: '#/definitions/app.Response'
  21734. summary: 查询交易端菜单
  21735. tags:
  21736. - 通用服务
  21737. /Delivery/QueryDeliveryRelation:
  21738. get:
  21739. parameters:
  21740. - description: 商品ID
  21741. in: query
  21742. name: goodsid
  21743. type: integer
  21744. - description: 品种ID
  21745. in: query
  21746. name: deliverygoodsid
  21747. type: integer
  21748. - description: 市场ID
  21749. in: query
  21750. name: marketid
  21751. type: integer
  21752. produces:
  21753. - application/json
  21754. responses:
  21755. "200":
  21756. description: OK
  21757. schema:
  21758. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  21759. "500":
  21760. description: Internal Server Error
  21761. schema:
  21762. $ref: '#/definitions/app.Response'
  21763. security:
  21764. - ApiKeyAuth: []
  21765. summary: 查询商品交割关系表
  21766. tags:
  21767. - 交割服务
  21768. /Ermcp/GetErmcpGoods:
  21769. get:
  21770. parameters:
  21771. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  21772. in: query
  21773. name: userid
  21774. type: integer
  21775. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21776. in: query
  21777. name: lastUpdateTime
  21778. type: string
  21779. produces:
  21780. - application/json
  21781. responses:
  21782. "200":
  21783. description: OK
  21784. schema:
  21785. $ref: '#/definitions/models.ErmcpGoods'
  21786. "500":
  21787. description: Internal Server Error
  21788. schema:
  21789. $ref: '#/definitions/app.Response'
  21790. security:
  21791. - ApiKeyAuth: []
  21792. summary: 查询企业风管期货商品信息
  21793. tags:
  21794. - 企业风险管理(app)
  21795. /Ermcp/GetErmcpGoodsSortByPosition:
  21796. get:
  21797. parameters:
  21798. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  21799. in: query
  21800. name: sortIndex
  21801. type: string
  21802. produces:
  21803. - application/json
  21804. responses:
  21805. "200":
  21806. description: OK
  21807. schema:
  21808. $ref: '#/definitions/models.Goodssortbypreposition'
  21809. "500":
  21810. description: Internal Server Error
  21811. schema:
  21812. $ref: '#/definitions/app.Response'
  21813. security:
  21814. - ApiKeyAuth: []
  21815. summary: 查询企业风管期货主力、次主力商品信息
  21816. tags:
  21817. - 企业风险管理(app)
  21818. /Ermcp/GetErmcpOutAccountStatus:
  21819. get:
  21820. parameters:
  21821. - description: 登录账号
  21822. in: query
  21823. name: loginID
  21824. required: true
  21825. type: integer
  21826. produces:
  21827. - application/json
  21828. responses:
  21829. "200":
  21830. description: OK
  21831. schema:
  21832. $ref: '#/definitions/models.Hedgemarketopenlog'
  21833. "500":
  21834. description: Internal Server Error
  21835. schema:
  21836. $ref: '#/definitions/app.Response'
  21837. security:
  21838. - ApiKeyAuth: []
  21839. summary: 获取目标登录账号当前对冲账号在线状态
  21840. tags:
  21841. - 企业风险管理(app)
  21842. /Ermcp/GetErmcpRoleFuncMenuLists:
  21843. get:
  21844. parameters:
  21845. - description: 登录账号
  21846. in: query
  21847. name: loginID
  21848. required: true
  21849. type: integer
  21850. produces:
  21851. - application/json
  21852. responses:
  21853. "200":
  21854. description: OK
  21855. schema:
  21856. $ref: '#/definitions/models.Funcmenulist'
  21857. "500":
  21858. description: Internal Server Error
  21859. schema:
  21860. $ref: '#/definitions/app.Response'
  21861. security:
  21862. - ApiKeyAuth: []
  21863. summary: 获取企业风管终端权限
  21864. tags:
  21865. - 企业风险管理(app)
  21866. /Ermcp/QueryAccMgrBizGroupSet:
  21867. get:
  21868. parameters:
  21869. - description: 用户ID
  21870. in: query
  21871. name: userid
  21872. required: true
  21873. type: integer
  21874. - description: 现货商品id
  21875. in: query
  21876. name: deliverygoodsid
  21877. type: integer
  21878. produces:
  21879. - application/json
  21880. responses:
  21881. "200":
  21882. description: OK
  21883. schema:
  21884. items:
  21885. $ref: '#/definitions/models.ErmcpBizGroupEx'
  21886. type: array
  21887. "500":
  21888. description: Internal Server Error
  21889. schema:
  21890. $ref: '#/definitions/app.Response'
  21891. security:
  21892. - ApiKeyAuth: []
  21893. summary: 查询业务类型分组(账户管理/账户设置)
  21894. tags:
  21895. - 企业风险管理(app)
  21896. /Ermcp/QueryAccMgrLoginUser:
  21897. get:
  21898. parameters:
  21899. - description: 用户ID
  21900. in: query
  21901. name: userid
  21902. required: true
  21903. type: integer
  21904. - description: 用户类型 2-机构 7-企业成员
  21905. in: query
  21906. name: usertype
  21907. type: integer
  21908. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  21909. in: query
  21910. name: querytype
  21911. required: true
  21912. type: integer
  21913. produces:
  21914. - application/json
  21915. responses:
  21916. "200":
  21917. description: OK
  21918. schema:
  21919. items:
  21920. $ref: '#/definitions/models.ErmcpLoginUserEx'
  21921. type: array
  21922. "500":
  21923. description: Internal Server Error
  21924. schema:
  21925. $ref: '#/definitions/app.Response'
  21926. security:
  21927. - ApiKeyAuth: []
  21928. summary: 查询账户管理登录账号(账户管理/登录账号)
  21929. tags:
  21930. - 企业风险管理(app)
  21931. /Ermcp/QueryAccMgrMainAccountInfo:
  21932. get:
  21933. parameters:
  21934. - description: 用户ID
  21935. in: query
  21936. name: userid
  21937. type: integer
  21938. - description: 主账号id
  21939. in: query
  21940. name: accountid
  21941. type: integer
  21942. produces:
  21943. - application/json
  21944. responses:
  21945. "200":
  21946. description: OK
  21947. schema:
  21948. items:
  21949. $ref: '#/definitions/models.MainAccountInfo'
  21950. type: array
  21951. "500":
  21952. description: Internal Server Error
  21953. schema:
  21954. $ref: '#/definitions/app.Response'
  21955. security:
  21956. - ApiKeyAuth: []
  21957. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  21958. tags:
  21959. - 企业风险管理(app)
  21960. /Ermcp/QueryAccMgrRole:
  21961. get:
  21962. parameters:
  21963. - description: 用户ID
  21964. in: query
  21965. name: userid
  21966. required: true
  21967. type: integer
  21968. produces:
  21969. - application/json
  21970. responses:
  21971. "200":
  21972. description: OK
  21973. schema:
  21974. items:
  21975. $ref: '#/definitions/models.ErmcpRole'
  21976. type: array
  21977. "500":
  21978. description: Internal Server Error
  21979. schema:
  21980. $ref: '#/definitions/app.Response'
  21981. security:
  21982. - ApiKeyAuth: []
  21983. summary: 查询账户管理角色设置(账户管理/角色设置)
  21984. tags:
  21985. - 企业风险管理(app)
  21986. /Ermcp/QueryAccMgrRoleMenu:
  21987. get:
  21988. parameters:
  21989. - description: 用户ID
  21990. in: query
  21991. name: userid
  21992. required: true
  21993. type: integer
  21994. - description: 角色id(可多个,逗号隔开)
  21995. in: query
  21996. name: roleid
  21997. type: string
  21998. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  21999. in: query
  22000. name: menutype
  22001. type: integer
  22002. produces:
  22003. - application/json
  22004. responses:
  22005. "200":
  22006. description: OK
  22007. schema:
  22008. items:
  22009. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  22010. type: array
  22011. "500":
  22012. description: Internal Server Error
  22013. schema:
  22014. $ref: '#/definitions/app.Response'
  22015. security:
  22016. - ApiKeyAuth: []
  22017. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  22018. tags:
  22019. - 企业风险管理(app)
  22020. /Ermcp/QueryAccMgrTaAccountInfo:
  22021. get:
  22022. parameters:
  22023. - description: 用户ID
  22024. in: query
  22025. name: userid
  22026. required: true
  22027. type: integer
  22028. - description: 账号id
  22029. in: query
  22030. name: accountid
  22031. type: integer
  22032. produces:
  22033. - application/json
  22034. responses:
  22035. "200":
  22036. description: OK
  22037. schema:
  22038. items:
  22039. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  22040. type: array
  22041. "500":
  22042. description: Internal Server Error
  22043. schema:
  22044. $ref: '#/definitions/app.Response'
  22045. security:
  22046. - ApiKeyAuth: []
  22047. summary: 查询账户管理授信(账户管理/账户设置/授信)
  22048. tags:
  22049. - 企业风险管理(app)
  22050. /Ermcp/QueryAccMgrTaaccount:
  22051. get:
  22052. parameters:
  22053. - description: 用户ID
  22054. in: query
  22055. name: userid
  22056. required: true
  22057. type: integer
  22058. produces:
  22059. - application/json
  22060. responses:
  22061. "200":
  22062. description: OK
  22063. schema:
  22064. items:
  22065. $ref: '#/definitions/models.ErmcpTaAccountEx'
  22066. type: array
  22067. "500":
  22068. description: Internal Server Error
  22069. schema:
  22070. $ref: '#/definitions/app.Response'
  22071. security:
  22072. - ApiKeyAuth: []
  22073. summary: 查询账户管理期货账号(账户管理/期货账号)
  22074. tags:
  22075. - 企业风险管理(app)
  22076. /Ermcp/QueryAvaildGoodsGroup:
  22077. get:
  22078. parameters:
  22079. - description: 所属机构ID
  22080. in: query
  22081. name: userid
  22082. required: true
  22083. type: integer
  22084. produces:
  22085. - application/json
  22086. responses:
  22087. "200":
  22088. description: OK
  22089. schema:
  22090. items:
  22091. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  22092. type: array
  22093. "500":
  22094. description: Internal Server Error
  22095. schema:
  22096. $ref: '#/definitions/app.Response'
  22097. security:
  22098. - ApiKeyAuth: []
  22099. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  22100. tags:
  22101. - 企业风险管理(app)
  22102. /Ermcp/QueryBusinessDj:
  22103. get:
  22104. parameters:
  22105. - description: 用户ID
  22106. in: query
  22107. name: UserId
  22108. required: true
  22109. type: integer
  22110. - description: 用户类型 2-机构 7-企业成员
  22111. in: query
  22112. name: usertype
  22113. type: integer
  22114. - description: 现货合同ID, 不填则查所有
  22115. in: query
  22116. name: relatedid
  22117. type: string
  22118. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22119. in: query
  22120. name: applystatus
  22121. type: string
  22122. produces:
  22123. - application/json
  22124. responses:
  22125. "200":
  22126. description: OK
  22127. schema:
  22128. items:
  22129. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  22130. type: array
  22131. "500":
  22132. description: Internal Server Error
  22133. schema:
  22134. $ref: '#/definitions/app.Response'
  22135. security:
  22136. - ApiKeyAuth: []
  22137. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  22138. tags:
  22139. - 企业风险管理(app)
  22140. /Ermcp/QueryBusinessFp:
  22141. get:
  22142. parameters:
  22143. - description: 用户ID
  22144. in: query
  22145. name: UserId
  22146. required: true
  22147. type: integer
  22148. - description: 用户类型 2-机构 7-企业成员
  22149. in: query
  22150. name: usertype
  22151. type: integer
  22152. - description: 现货合同ID, 不填则查所有
  22153. in: query
  22154. name: relatedid
  22155. type: string
  22156. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22157. in: query
  22158. name: applystatus
  22159. type: string
  22160. produces:
  22161. - application/json
  22162. responses:
  22163. "200":
  22164. description: OK
  22165. schema:
  22166. items:
  22167. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  22168. type: array
  22169. "500":
  22170. description: Internal Server Error
  22171. schema:
  22172. $ref: '#/definitions/app.Response'
  22173. security:
  22174. - ApiKeyAuth: []
  22175. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  22176. tags:
  22177. - 企业风险管理(app)
  22178. /Ermcp/QueryBusinessJs:
  22179. get:
  22180. parameters:
  22181. - description: 用户ID
  22182. in: query
  22183. name: UserId
  22184. required: true
  22185. type: integer
  22186. - description: 用户类型 2-机构 7-企业成员
  22187. in: query
  22188. name: usertype
  22189. type: integer
  22190. - description: 现货合同ID, 不填则查所有
  22191. in: query
  22192. name: relatedid
  22193. type: string
  22194. - description: 操作申请id
  22195. in: query
  22196. name: operateapplyid
  22197. type: string
  22198. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22199. in: query
  22200. name: applystatus
  22201. type: string
  22202. produces:
  22203. - application/json
  22204. responses:
  22205. "200":
  22206. description: OK
  22207. schema:
  22208. items:
  22209. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  22210. type: array
  22211. "500":
  22212. description: Internal Server Error
  22213. schema:
  22214. $ref: '#/definitions/app.Response'
  22215. security:
  22216. - ApiKeyAuth: []
  22217. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  22218. tags:
  22219. - 企业风险管理(app)
  22220. /Ermcp/QueryBusinessJsEx:
  22221. get:
  22222. parameters:
  22223. - description: 用户ID
  22224. in: query
  22225. name: UserId
  22226. required: true
  22227. type: integer
  22228. - description: 用户类型 2-机构 7-企业成员
  22229. in: query
  22230. name: usertype
  22231. type: integer
  22232. - description: 现货合同ID, 不填则查所有
  22233. in: query
  22234. name: relatedid
  22235. type: string
  22236. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22237. in: query
  22238. name: applystatus
  22239. type: string
  22240. produces:
  22241. - application/json
  22242. responses:
  22243. "200":
  22244. description: OK
  22245. schema:
  22246. items:
  22247. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  22248. type: array
  22249. "500":
  22250. description: Internal Server Error
  22251. schema:
  22252. $ref: '#/definitions/app.Response'
  22253. security:
  22254. - ApiKeyAuth: []
  22255. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  22256. tags:
  22257. - 企业风险管理(app)
  22258. /Ermcp/QueryBusinessKx:
  22259. get:
  22260. parameters:
  22261. - description: 用户ID
  22262. in: query
  22263. name: UserId
  22264. required: true
  22265. type: integer
  22266. - description: 用户类型 2-机构 7-企业成员
  22267. in: query
  22268. name: usertype
  22269. type: integer
  22270. - description: 现货合同ID, 不填则查所有
  22271. in: query
  22272. name: relatedid
  22273. type: string
  22274. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22275. in: query
  22276. name: applystatus
  22277. type: string
  22278. produces:
  22279. - application/json
  22280. responses:
  22281. "200":
  22282. description: OK
  22283. schema:
  22284. items:
  22285. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  22286. type: array
  22287. "500":
  22288. description: Internal Server Error
  22289. schema:
  22290. $ref: '#/definitions/app.Response'
  22291. security:
  22292. - ApiKeyAuth: []
  22293. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  22294. tags:
  22295. - 企业风险管理(app)
  22296. /Ermcp/QueryChangeLog:
  22297. get:
  22298. parameters:
  22299. - description: 合同ID
  22300. in: query
  22301. name: RelatedId
  22302. required: true
  22303. type: string
  22304. produces:
  22305. - application/json
  22306. responses:
  22307. "200":
  22308. description: OK
  22309. schema:
  22310. items:
  22311. $ref: '#/definitions/ermcp.QryOPLogRsp'
  22312. type: array
  22313. "500":
  22314. description: Internal Server Error
  22315. schema:
  22316. $ref: '#/definitions/app.Response'
  22317. security:
  22318. - ApiKeyAuth: []
  22319. summary: 查询变更记录
  22320. tags:
  22321. - 企业风险管理(app)
  22322. /Ermcp/QueryErmcpHisOrderDetails:
  22323. get:
  22324. parameters:
  22325. - description: 资金账户ID
  22326. in: query
  22327. name: accountID
  22328. required: true
  22329. type: integer
  22330. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22331. in: query
  22332. name: startDate
  22333. type: string
  22334. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22335. in: query
  22336. name: endDate
  22337. type: string
  22338. produces:
  22339. - application/json
  22340. responses:
  22341. "200":
  22342. description: OK
  22343. schema:
  22344. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22345. "500":
  22346. description: Internal Server Error
  22347. schema:
  22348. $ref: '#/definitions/app.Response'
  22349. security:
  22350. - ApiKeyAuth: []
  22351. summary: 获取企业风管期货历史委托单信息
  22352. tags:
  22353. - 企业风险管理(app)
  22354. /Ermcp/QueryErmcpHisTradeDetails:
  22355. get:
  22356. parameters:
  22357. - description: 资金账户ID
  22358. in: query
  22359. name: accountID
  22360. required: true
  22361. type: integer
  22362. - description: 商品ID
  22363. in: query
  22364. name: goodsID
  22365. type: integer
  22366. - description: 买卖方向,0:买 1:卖
  22367. in: query
  22368. name: buyOrSell
  22369. type: integer
  22370. - description: 关联委托单号
  22371. in: query
  22372. name: orderID
  22373. type: integer
  22374. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22375. in: query
  22376. name: startDate
  22377. type: string
  22378. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22379. in: query
  22380. name: endDate
  22381. type: string
  22382. produces:
  22383. - application/json
  22384. responses:
  22385. "200":
  22386. description: OK
  22387. schema:
  22388. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22389. "500":
  22390. description: Internal Server Error
  22391. schema:
  22392. $ref: '#/definitions/app.Response'
  22393. security:
  22394. - ApiKeyAuth: []
  22395. summary: 获取企业风管期货历史成交单信息
  22396. tags:
  22397. - 企业风险管理(app)
  22398. /Ermcp/QueryErmcpInnerHolderDetails:
  22399. get:
  22400. parameters:
  22401. - description: 资金账户ID
  22402. in: query
  22403. name: accountID
  22404. required: true
  22405. type: integer
  22406. - description: 商品ID
  22407. in: query
  22408. name: goodsID
  22409. type: integer
  22410. - description: 买卖方向,0:买 1:卖
  22411. in: query
  22412. name: buyOrSell
  22413. type: integer
  22414. produces:
  22415. - application/json
  22416. responses:
  22417. "200":
  22418. description: OK
  22419. schema:
  22420. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  22421. "500":
  22422. description: Internal Server Error
  22423. schema:
  22424. $ref: '#/definitions/app.Response'
  22425. security:
  22426. - ApiKeyAuth: []
  22427. summary: 获取企业风管期货内部持仓单信息
  22428. tags:
  22429. - 企业风险管理(app)
  22430. /Ermcp/QueryErmcpOrderDetails:
  22431. get:
  22432. parameters:
  22433. - description: 资金账户ID
  22434. in: query
  22435. name: accountID
  22436. required: true
  22437. type: integer
  22438. produces:
  22439. - application/json
  22440. responses:
  22441. "200":
  22442. description: OK
  22443. schema:
  22444. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22445. "500":
  22446. description: Internal Server Error
  22447. schema:
  22448. $ref: '#/definitions/app.Response'
  22449. security:
  22450. - ApiKeyAuth: []
  22451. summary: 获取企业风管期货委托单信息
  22452. tags:
  22453. - 企业风险管理(app)
  22454. /Ermcp/QueryErmcpTradeDetails:
  22455. get:
  22456. parameters:
  22457. - description: 资金账户ID
  22458. in: query
  22459. name: accountID
  22460. required: true
  22461. type: integer
  22462. - description: 商品ID
  22463. in: query
  22464. name: goodsID
  22465. type: integer
  22466. - description: 买卖方向,0:买 1:卖
  22467. in: query
  22468. name: buyOrSell
  22469. type: integer
  22470. - description: 关联委托单号
  22471. in: query
  22472. name: orderID
  22473. type: integer
  22474. produces:
  22475. - application/json
  22476. responses:
  22477. "200":
  22478. description: OK
  22479. schema:
  22480. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22481. "500":
  22482. description: Internal Server Error
  22483. schema:
  22484. $ref: '#/definitions/app.Response'
  22485. security:
  22486. - ApiKeyAuth: []
  22487. summary: 获取企业风管期货成交单信息
  22488. tags:
  22489. - 企业风险管理(app)
  22490. /Ermcp/QueryErmcpTradePosition:
  22491. get:
  22492. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  22493. parameters:
  22494. - description: 资金账户ID
  22495. in: query
  22496. name: accountID
  22497. required: true
  22498. type: integer
  22499. - description: 所属市场ID
  22500. in: query
  22501. name: marketID
  22502. type: integer
  22503. produces:
  22504. - application/json
  22505. responses:
  22506. "200":
  22507. description: OK
  22508. schema:
  22509. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  22510. "500":
  22511. description: Internal Server Error
  22512. schema:
  22513. $ref: '#/definitions/app.Response'
  22514. security:
  22515. - ApiKeyAuth: []
  22516. summary: 获取企业风管期货持仓头寸信息
  22517. tags:
  22518. - 企业风险管理(app)
  22519. /Ermcp/QueryExposureDetail:
  22520. get:
  22521. parameters:
  22522. - description: 所属机构ID
  22523. in: query
  22524. name: areaUserId
  22525. required: true
  22526. type: integer
  22527. - description: 套保商品
  22528. in: query
  22529. name: middleGoodsId
  22530. required: true
  22531. type: integer
  22532. produces:
  22533. - application/json
  22534. responses:
  22535. "200":
  22536. description: OK
  22537. schema:
  22538. items:
  22539. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  22540. type: array
  22541. "500":
  22542. description: Internal Server Error
  22543. schema:
  22544. $ref: '#/definitions/app.Response'
  22545. security:
  22546. - ApiKeyAuth: []
  22547. summary: 查询敞口现货明细
  22548. tags:
  22549. - 企业风险管理(app)
  22550. /Ermcp/QueryExposureGoods:
  22551. get:
  22552. parameters:
  22553. - description: 套保商品id
  22554. in: query
  22555. name: middlegoodsid
  22556. required: true
  22557. type: integer
  22558. produces:
  22559. - application/json
  22560. responses:
  22561. "200":
  22562. description: OK
  22563. schema:
  22564. items:
  22565. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  22566. type: array
  22567. "500":
  22568. description: Internal Server Error
  22569. schema:
  22570. $ref: '#/definitions/app.Response'
  22571. security:
  22572. - ApiKeyAuth: []
  22573. summary: 查询敞口主力合约
  22574. tags:
  22575. - 企业风险管理(app)
  22576. /Ermcp/QueryExposureHedgePosition:
  22577. get:
  22578. parameters:
  22579. - description: 用户id
  22580. in: query
  22581. name: userid
  22582. required: true
  22583. type: integer
  22584. produces:
  22585. - application/json
  22586. responses:
  22587. "200":
  22588. description: OK
  22589. schema:
  22590. items:
  22591. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  22592. type: array
  22593. "500":
  22594. description: Internal Server Error
  22595. schema:
  22596. $ref: '#/definitions/app.Response'
  22597. security:
  22598. - ApiKeyAuth: []
  22599. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  22600. tags:
  22601. - 企业风险管理(app)
  22602. /Ermcp/QueryExposureHedgePositionDetail:
  22603. get:
  22604. parameters:
  22605. - description: 所属机构ID
  22606. in: query
  22607. name: userid
  22608. required: true
  22609. type: integer
  22610. - description: 商品id
  22611. in: query
  22612. name: goodsId
  22613. required: true
  22614. type: integer
  22615. produces:
  22616. - application/json
  22617. responses:
  22618. "200":
  22619. description: OK
  22620. schema:
  22621. items:
  22622. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  22623. type: array
  22624. "500":
  22625. description: Internal Server Error
  22626. schema:
  22627. $ref: '#/definitions/app.Response'
  22628. security:
  22629. - ApiKeyAuth: []
  22630. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  22631. tags:
  22632. - 企业风险管理(app)
  22633. /Ermcp/QueryExposureSpot:
  22634. get:
  22635. parameters:
  22636. - description: 所属机构ID
  22637. in: query
  22638. name: areaUserId
  22639. required: true
  22640. type: integer
  22641. produces:
  22642. - application/json
  22643. responses:
  22644. "200":
  22645. description: OK
  22646. schema:
  22647. items:
  22648. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  22649. type: array
  22650. "500":
  22651. description: Internal Server Error
  22652. schema:
  22653. $ref: '#/definitions/app.Response'
  22654. security:
  22655. - ApiKeyAuth: []
  22656. summary: 查询敞口现货头寸(敞口/现货头寸)
  22657. tags:
  22658. - 企业风险管理(app)
  22659. /Ermcp/QueryExposureSpotDetail:
  22660. get:
  22661. parameters:
  22662. - description: 所属机构ID
  22663. in: query
  22664. name: areaUserId
  22665. required: true
  22666. type: integer
  22667. - description: 现货品种ID
  22668. in: query
  22669. name: wrstandardId
  22670. required: true
  22671. type: integer
  22672. produces:
  22673. - application/json
  22674. responses:
  22675. "200":
  22676. description: OK
  22677. schema:
  22678. items:
  22679. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  22680. type: array
  22681. "500":
  22682. description: Internal Server Error
  22683. schema:
  22684. $ref: '#/definitions/app.Response'
  22685. security:
  22686. - ApiKeyAuth: []
  22687. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22688. tags:
  22689. - 企业风险管理(app)
  22690. /Ermcp/QueryFuturesCompany:
  22691. get:
  22692. produces:
  22693. - application/json
  22694. responses:
  22695. "200":
  22696. description: OK
  22697. schema:
  22698. items:
  22699. $ref: '#/definitions/models.ErmcpFuturesCompany'
  22700. type: array
  22701. "500":
  22702. description: Internal Server Error
  22703. schema:
  22704. $ref: '#/definitions/app.Response'
  22705. security:
  22706. - ApiKeyAuth: []
  22707. summary: 查询期货公司
  22708. tags:
  22709. - 企业风险管理(app)
  22710. /Ermcp/QueryGGConvertConfig:
  22711. get:
  22712. parameters:
  22713. - description: 品种id(不填则查所有)
  22714. in: query
  22715. name: goodsgroupid
  22716. type: integer
  22717. produces:
  22718. - application/json
  22719. responses:
  22720. "200":
  22721. description: OK
  22722. schema:
  22723. items:
  22724. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  22725. type: array
  22726. "500":
  22727. description: Internal Server Error
  22728. schema:
  22729. $ref: '#/definitions/app.Response'
  22730. security:
  22731. - ApiKeyAuth: []
  22732. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  22733. tags:
  22734. - 企业风险管理(app)
  22735. /Ermcp/QueryGoodsBrand:
  22736. get:
  22737. parameters:
  22738. - description: 用户ID
  22739. in: query
  22740. name: userid
  22741. required: true
  22742. type: integer
  22743. - description: 现货商品ID
  22744. in: query
  22745. name: wrstandardid
  22746. type: integer
  22747. produces:
  22748. - application/json
  22749. responses:
  22750. "200":
  22751. description: OK
  22752. schema:
  22753. items:
  22754. $ref: '#/definitions/models.ErmcpGoodsBrand'
  22755. type: array
  22756. "500":
  22757. description: Internal Server Error
  22758. schema:
  22759. $ref: '#/definitions/app.Response'
  22760. security:
  22761. - ApiKeyAuth: []
  22762. summary: 查询商品品牌
  22763. tags:
  22764. - 企业风险管理(app)
  22765. /Ermcp/QueryGoodsModel:
  22766. get:
  22767. parameters:
  22768. - description: 用户ID
  22769. in: query
  22770. name: userid
  22771. required: true
  22772. type: integer
  22773. produces:
  22774. - application/json
  22775. responses:
  22776. "200":
  22777. description: OK
  22778. schema:
  22779. items:
  22780. $ref: '#/definitions/models.ErmcpGoodsModel'
  22781. type: array
  22782. "500":
  22783. description: Internal Server Error
  22784. schema:
  22785. $ref: '#/definitions/app.Response'
  22786. security:
  22787. - ApiKeyAuth: []
  22788. summary: 查询商品型号
  22789. tags:
  22790. - 企业风险管理(app)
  22791. /Ermcp/QueryHisExposure:
  22792. get:
  22793. parameters:
  22794. - description: 用户id
  22795. in: query
  22796. name: userid
  22797. required: true
  22798. type: integer
  22799. - description: 每个品种记录数
  22800. in: query
  22801. name: lastNum
  22802. required: true
  22803. type: integer
  22804. produces:
  22805. - application/json
  22806. responses:
  22807. "200":
  22808. description: OK
  22809. schema:
  22810. items:
  22811. $ref: '#/definitions/ermcp.HisExposureRsp'
  22812. type: array
  22813. "500":
  22814. description: Internal Server Error
  22815. schema:
  22816. $ref: '#/definitions/app.Response'
  22817. security:
  22818. - ApiKeyAuth: []
  22819. summary: 查询历史敞口(菜单:敞口/历史敞口)
  22820. tags:
  22821. - 企业风险管理(app)
  22822. /Ermcp/QueryMiddleGoods:
  22823. get:
  22824. parameters:
  22825. - description: 所属机构ID
  22826. in: query
  22827. name: userid
  22828. required: true
  22829. type: integer
  22830. - description: 状态 0-停用 1-正常
  22831. in: query
  22832. name: status
  22833. required: true
  22834. type: integer
  22835. produces:
  22836. - application/json
  22837. responses:
  22838. "200":
  22839. description: OK
  22840. schema:
  22841. items:
  22842. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  22843. type: array
  22844. "500":
  22845. description: Internal Server Error
  22846. schema:
  22847. $ref: '#/definitions/app.Response'
  22848. security:
  22849. - ApiKeyAuth: []
  22850. summary: 查询套保品种(菜单:套保品种)
  22851. tags:
  22852. - 企业风险管理(app)
  22853. /Ermcp/QueryMiddleGoodsChangeLog:
  22854. get:
  22855. parameters:
  22856. - description: 所属机构ID
  22857. in: query
  22858. name: userid
  22859. required: true
  22860. type: integer
  22861. - description: 套保品种id
  22862. in: query
  22863. name: middlegoodsid
  22864. required: true
  22865. type: integer
  22866. produces:
  22867. - application/json
  22868. responses:
  22869. "200":
  22870. description: OK
  22871. schema:
  22872. items:
  22873. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  22874. type: array
  22875. "500":
  22876. description: Internal Server Error
  22877. schema:
  22878. $ref: '#/definitions/app.Response'
  22879. security:
  22880. - ApiKeyAuth: []
  22881. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  22882. tags:
  22883. - 企业风险管理(app)
  22884. /Ermcp/QueryMiddleGoodsDetail:
  22885. get:
  22886. parameters:
  22887. - description: 所属机构ID
  22888. in: query
  22889. name: userid
  22890. required: true
  22891. type: integer
  22892. - description: 套保品种id
  22893. in: query
  22894. name: middlegoodsid
  22895. type: integer
  22896. produces:
  22897. - application/json
  22898. responses:
  22899. "200":
  22900. description: OK
  22901. schema:
  22902. items:
  22903. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  22904. type: array
  22905. "500":
  22906. description: Internal Server Error
  22907. schema:
  22908. $ref: '#/definitions/app.Response'
  22909. security:
  22910. - ApiKeyAuth: []
  22911. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  22912. tags:
  22913. - 企业风险管理(app)
  22914. /Ermcp/QueryPendingAuditInfo:
  22915. get:
  22916. parameters:
  22917. - description: 用户ID
  22918. in: query
  22919. name: UserId
  22920. required: true
  22921. type: integer
  22922. produces:
  22923. - application/json
  22924. responses:
  22925. "200":
  22926. description: OK
  22927. schema:
  22928. items:
  22929. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  22930. type: array
  22931. "500":
  22932. description: Internal Server Error
  22933. schema:
  22934. $ref: '#/definitions/app.Response'
  22935. security:
  22936. - ApiKeyAuth: []
  22937. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  22938. tags:
  22939. - 企业风险管理(app)
  22940. /Ermcp/QueryRealtimeExposure:
  22941. get:
  22942. parameters:
  22943. - description: 所属机构ID
  22944. in: query
  22945. name: userid
  22946. required: true
  22947. type: integer
  22948. produces:
  22949. - application/json
  22950. responses:
  22951. "200":
  22952. description: OK
  22953. schema:
  22954. items:
  22955. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  22956. type: array
  22957. "500":
  22958. description: Internal Server Error
  22959. schema:
  22960. $ref: '#/definitions/app.Response'
  22961. security:
  22962. - ApiKeyAuth: []
  22963. summary: 查询实时敞口
  22964. tags:
  22965. - 企业风险管理(app)
  22966. /Ermcp/QueryRealtimeExposurePosition:
  22967. get:
  22968. parameters:
  22969. - description: 用户id
  22970. in: query
  22971. name: userid
  22972. required: true
  22973. type: integer
  22974. - description: 套保商品ID
  22975. in: query
  22976. name: middleGoodsId
  22977. required: true
  22978. type: integer
  22979. produces:
  22980. - application/json
  22981. responses:
  22982. "200":
  22983. description: OK
  22984. schema:
  22985. items:
  22986. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  22987. type: array
  22988. "500":
  22989. description: Internal Server Error
  22990. schema:
  22991. $ref: '#/definitions/app.Response'
  22992. security:
  22993. - ApiKeyAuth: []
  22994. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  22995. tags:
  22996. - 企业风险管理(app)
  22997. /Ermcp/QueryRoleMenu:
  22998. get:
  22999. parameters:
  23000. - description: 登录ID
  23001. in: query
  23002. name: loginid
  23003. required: true
  23004. type: integer
  23005. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  23006. in: query
  23007. name: menutype
  23008. type: integer
  23009. produces:
  23010. - application/json
  23011. responses:
  23012. "200":
  23013. description: OK
  23014. schema:
  23015. items:
  23016. $ref: '#/definitions/models.RoleMenu'
  23017. type: array
  23018. "500":
  23019. description: Internal Server Error
  23020. schema:
  23021. $ref: '#/definitions/app.Response'
  23022. security:
  23023. - ApiKeyAuth: []
  23024. summary: 查询角色菜单和权限
  23025. tags:
  23026. - 企业风险管理(app)
  23027. /Ermcp/QueryTradeConfigTMP:
  23028. get:
  23029. parameters:
  23030. - description: 所属机构id
  23031. in: query
  23032. name: areauserid
  23033. type: integer
  23034. produces:
  23035. - application/json
  23036. responses:
  23037. "200":
  23038. description: OK
  23039. schema:
  23040. items:
  23041. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  23042. type: array
  23043. "500":
  23044. description: Internal Server Error
  23045. schema:
  23046. $ref: '#/definitions/app.Response'
  23047. security:
  23048. - ApiKeyAuth: []
  23049. summary: 查询交易模板配置
  23050. tags:
  23051. - 企业风险管理(app)
  23052. /Ermcp/QueryUserInfo:
  23053. get:
  23054. parameters:
  23055. - description: 所属机构用户ID
  23056. in: query
  23057. name: MemberUserID
  23058. required: true
  23059. type: integer
  23060. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  23061. in: query
  23062. name: queryType
  23063. required: true
  23064. type: integer
  23065. produces:
  23066. - application/json
  23067. responses:
  23068. "200":
  23069. description: OK
  23070. schema:
  23071. items:
  23072. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  23073. type: array
  23074. "500":
  23075. description: Internal Server Error
  23076. schema:
  23077. $ref: '#/definitions/app.Response'
  23078. security:
  23079. - ApiKeyAuth: []
  23080. summary: 查询客户资料
  23081. tags:
  23082. - 企业风险管理(app)
  23083. /Ermcp/QueryWarehouseInfo:
  23084. get:
  23085. parameters:
  23086. - description: 用户ID
  23087. in: query
  23088. name: userid
  23089. required: true
  23090. type: integer
  23091. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  23092. in: query
  23093. name: status
  23094. type: string
  23095. produces:
  23096. - application/json
  23097. responses:
  23098. "200":
  23099. description: OK
  23100. schema:
  23101. items:
  23102. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  23103. type: array
  23104. "500":
  23105. description: Internal Server Error
  23106. schema:
  23107. $ref: '#/definitions/app.Response'
  23108. security:
  23109. - ApiKeyAuth: []
  23110. summary: 查询仓库信息
  23111. tags:
  23112. - 企业风险管理(app)
  23113. /Ermcp3/QryAreaExpourseContractDetail:
  23114. get:
  23115. parameters:
  23116. - description: 用户ID
  23117. in: query
  23118. name: userid
  23119. required: true
  23120. type: integer
  23121. - description: 套保商品id
  23122. in: query
  23123. name: middlegoodsid
  23124. required: true
  23125. type: integer
  23126. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23127. in: query
  23128. name: cycletype
  23129. required: true
  23130. type: integer
  23131. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23132. 全(0)【原值】
  23133. in: query
  23134. name: cycletime
  23135. required: true
  23136. type: string
  23137. produces:
  23138. - application/json
  23139. responses:
  23140. "200":
  23141. description: OK
  23142. schema:
  23143. items:
  23144. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  23145. type: array
  23146. "500":
  23147. description: Internal Server Error
  23148. schema:
  23149. $ref: '#/definitions/app.Response'
  23150. security:
  23151. - ApiKeyAuth: []
  23152. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  23153. tags:
  23154. - 企业风险管理v3(app)
  23155. /Ermcp3/QryAreaExpourseFutuDetail:
  23156. get:
  23157. parameters:
  23158. - description: 用户ID
  23159. in: query
  23160. name: userid
  23161. required: true
  23162. type: integer
  23163. - description: 套保商品id
  23164. in: query
  23165. name: middlegoodsid
  23166. required: true
  23167. type: integer
  23168. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23169. in: query
  23170. name: cycletype
  23171. required: true
  23172. type: integer
  23173. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23174. 全(0)【原值】
  23175. in: query
  23176. name: cycletime
  23177. required: true
  23178. type: string
  23179. produces:
  23180. - application/json
  23181. responses:
  23182. "200":
  23183. description: OK
  23184. schema:
  23185. items:
  23186. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  23187. type: array
  23188. "500":
  23189. description: Internal Server Error
  23190. schema:
  23191. $ref: '#/definitions/app.Response'
  23192. security:
  23193. - ApiKeyAuth: []
  23194. summary: 查询敞口期货明细(敞口报表/期货明细)
  23195. tags:
  23196. - 企业风险管理v3(app)
  23197. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  23198. get:
  23199. parameters:
  23200. - description: 用户ID
  23201. in: query
  23202. name: userid
  23203. required: true
  23204. type: integer
  23205. - description: 套保商品id
  23206. in: query
  23207. name: middlegoodsid
  23208. required: true
  23209. type: integer
  23210. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23211. in: query
  23212. name: cycletype
  23213. required: true
  23214. type: integer
  23215. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23216. 全(0)【原值】
  23217. in: query
  23218. name: cycletime
  23219. required: true
  23220. type: string
  23221. produces:
  23222. - application/json
  23223. responses:
  23224. "200":
  23225. description: OK
  23226. schema:
  23227. items:
  23228. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  23229. type: array
  23230. "500":
  23231. description: Internal Server Error
  23232. schema:
  23233. $ref: '#/definitions/app.Response'
  23234. security:
  23235. - ApiKeyAuth: []
  23236. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  23237. tags:
  23238. - 企业风险管理v3(app)
  23239. /Ermcp3/QryAreaExpourseParamChLogDetail:
  23240. get:
  23241. parameters:
  23242. - description: 用户ID
  23243. in: query
  23244. name: userid
  23245. required: true
  23246. type: integer
  23247. - description: 套保商品id
  23248. in: query
  23249. name: middlegoodsid
  23250. required: true
  23251. type: integer
  23252. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23253. in: query
  23254. name: cycletype
  23255. required: true
  23256. type: integer
  23257. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23258. 全(0)【原值】
  23259. in: query
  23260. name: cycletime
  23261. required: true
  23262. type: string
  23263. produces:
  23264. - application/json
  23265. responses:
  23266. "200":
  23267. description: OK
  23268. schema:
  23269. items:
  23270. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  23271. type: array
  23272. "500":
  23273. description: Internal Server Error
  23274. schema:
  23275. $ref: '#/definitions/app.Response'
  23276. security:
  23277. - ApiKeyAuth: []
  23278. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  23279. tags:
  23280. - 企业风险管理v3(app)
  23281. /Ermcp3/QryAreaExpourseReport:
  23282. get:
  23283. parameters:
  23284. - description: 用户ID
  23285. in: query
  23286. name: userid
  23287. required: true
  23288. type: integer
  23289. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  23290. in: query
  23291. name: querytype
  23292. required: true
  23293. type: integer
  23294. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23295. in: query
  23296. name: cycletype
  23297. required: true
  23298. type: integer
  23299. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23300. 全(0)【原值】
  23301. in: query
  23302. name: cycletime
  23303. required: true
  23304. type: string
  23305. produces:
  23306. - application/json
  23307. responses:
  23308. "200":
  23309. description: OK
  23310. schema:
  23311. items:
  23312. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  23313. type: array
  23314. "500":
  23315. description: Internal Server Error
  23316. schema:
  23317. $ref: '#/definitions/app.Response'
  23318. security:
  23319. - ApiKeyAuth: []
  23320. summary: 查询敞口报表
  23321. tags:
  23322. - 企业风险管理v3(app)
  23323. /Ermcp3/QryAreaSpotplReport:
  23324. get:
  23325. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  23326. parameters:
  23327. - description: 用户ID
  23328. in: query
  23329. name: userid
  23330. required: true
  23331. type: integer
  23332. - description: 查询类型 1-报表 2-报表明细
  23333. in: query
  23334. name: querytype
  23335. required: true
  23336. type: integer
  23337. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23338. in: query
  23339. name: cycletype
  23340. required: true
  23341. type: integer
  23342. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23343. 全(0)【原值】
  23344. in: query
  23345. name: cycletime
  23346. required: true
  23347. type: string
  23348. - description: 现货品种id(明细必填)
  23349. in: query
  23350. name: deliverygoodsid
  23351. type: integer
  23352. - description: 币种id(明细必填)
  23353. in: query
  23354. name: currencyid
  23355. type: integer
  23356. - description: 日/周/月报表汇总维度 1:品种+品类
  23357. in: query
  23358. name: sumflag
  23359. type: integer
  23360. produces:
  23361. - application/json
  23362. responses:
  23363. "200":
  23364. description: OK
  23365. schema:
  23366. items:
  23367. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  23368. type: array
  23369. "500":
  23370. description: Internal Server Error
  23371. schema:
  23372. $ref: '#/definitions/app.Response'
  23373. security:
  23374. - ApiKeyAuth: []
  23375. summary: 查询现货报表
  23376. tags:
  23377. - 企业风险管理v3(app)
  23378. /Ermcp3/QryAreaStockReport:
  23379. get:
  23380. parameters:
  23381. - description: 用户ID
  23382. in: query
  23383. name: userid
  23384. required: true
  23385. type: integer
  23386. - description: 查询类型 1-报表 2-报表明细
  23387. in: query
  23388. name: querytype
  23389. required: true
  23390. type: integer
  23391. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23392. in: query
  23393. name: cycletype
  23394. required: true
  23395. type: integer
  23396. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23397. 全(0)【原值】
  23398. in: query
  23399. name: cycletime
  23400. required: true
  23401. type: string
  23402. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  23403. in: query
  23404. name: sumfields
  23405. type: string
  23406. - description: 品种ID
  23407. in: query
  23408. name: deliverygoodsid
  23409. type: integer
  23410. - description: 品类ID
  23411. in: query
  23412. name: wrstandardid
  23413. type: integer
  23414. - description: 品牌ID
  23415. in: query
  23416. name: spotgoodsbrandid
  23417. type: integer
  23418. - description: 仓库ID
  23419. in: query
  23420. name: warehouseinfoid
  23421. type: integer
  23422. produces:
  23423. - application/json
  23424. responses:
  23425. "200":
  23426. description: OK
  23427. schema:
  23428. items:
  23429. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  23430. type: array
  23431. "500":
  23432. description: Internal Server Error
  23433. schema:
  23434. $ref: '#/definitions/app.Response'
  23435. security:
  23436. - ApiKeyAuth: []
  23437. summary: 查询库存报表
  23438. tags:
  23439. - 企业风险管理v3(app)
  23440. /Ermcp3/QryAreaSumPL:
  23441. get:
  23442. parameters:
  23443. - description: 用户ID
  23444. in: query
  23445. name: userid
  23446. required: true
  23447. type: integer
  23448. - description: 查询类型 1-报表 2-报表明细
  23449. in: query
  23450. name: querytype
  23451. required: true
  23452. type: integer
  23453. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23454. in: query
  23455. name: cycletype
  23456. required: true
  23457. type: integer
  23458. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23459. 全(0)【原值】
  23460. in: query
  23461. name: cycletime
  23462. required: true
  23463. type: string
  23464. - description: 币种id(明细必填)
  23465. in: query
  23466. name: currencyid
  23467. type: integer
  23468. produces:
  23469. - application/json
  23470. responses:
  23471. "200":
  23472. description: OK
  23473. schema:
  23474. items:
  23475. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  23476. type: array
  23477. "500":
  23478. description: Internal Server Error
  23479. schema:
  23480. $ref: '#/definitions/app.Response'
  23481. security:
  23482. - ApiKeyAuth: []
  23483. summary: 查询汇总损益表
  23484. tags:
  23485. - 企业风险管理v3(app)
  23486. /Ermcp3/QryFinanceReport:
  23487. get:
  23488. parameters:
  23489. - description: 用户ID
  23490. in: query
  23491. name: userid
  23492. required: true
  23493. type: integer
  23494. - description: 查询类型 1-报表 2-报表明细
  23495. in: query
  23496. name: querytype
  23497. required: true
  23498. type: integer
  23499. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23500. in: query
  23501. name: cycletype
  23502. required: true
  23503. type: integer
  23504. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23505. 全(0)【原值】
  23506. in: query
  23507. name: cycletime
  23508. required: true
  23509. type: string
  23510. - description: 币种id(报表明细必填)
  23511. in: query
  23512. name: currencyid
  23513. type: integer
  23514. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  23515. in: query
  23516. name: sumfields
  23517. type: string
  23518. produces:
  23519. - application/json
  23520. responses:
  23521. "200":
  23522. description: OK
  23523. schema:
  23524. items:
  23525. $ref: '#/definitions/models.Ermcp3FinanceReport'
  23526. type: array
  23527. "500":
  23528. description: Internal Server Error
  23529. schema:
  23530. $ref: '#/definitions/app.Response'
  23531. security:
  23532. - ApiKeyAuth: []
  23533. summary: 查询财务报表
  23534. tags:
  23535. - 企业风险管理v3(app)
  23536. /Ermcp3/QrySCMiddleGoodsReport:
  23537. get:
  23538. parameters:
  23539. - description: 用户ID
  23540. in: query
  23541. name: userid
  23542. required: true
  23543. type: integer
  23544. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23545. in: query
  23546. name: cycletype
  23547. required: true
  23548. type: integer
  23549. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23550. 全(0)【原值】
  23551. in: query
  23552. name: cycletime
  23553. required: true
  23554. type: string
  23555. - description: 合同id
  23556. in: query
  23557. name: spotcontractid
  23558. type: integer
  23559. - description: 套保品种id
  23560. in: query
  23561. name: middlegoodsid
  23562. type: integer
  23563. - description: 现货品种id
  23564. in: query
  23565. name: deliverygoodsid
  23566. type: integer
  23567. - description: 现货商品id
  23568. in: query
  23569. name: wrstandardid
  23570. type: integer
  23571. - description: 合同编号(模糊匹配)
  23572. in: query
  23573. name: contractno
  23574. type: string
  23575. produces:
  23576. - application/json
  23577. responses:
  23578. "200":
  23579. description: OK
  23580. schema:
  23581. items:
  23582. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  23583. type: array
  23584. "500":
  23585. description: Internal Server Error
  23586. schema:
  23587. $ref: '#/definitions/app.Response'
  23588. security:
  23589. - ApiKeyAuth: []
  23590. summary: 查询定价报表
  23591. tags:
  23592. - 企业风险管理v3(app)
  23593. /Ermcp3/QryTaFutureDataReport:
  23594. get:
  23595. parameters:
  23596. - description: 用户ID
  23597. in: query
  23598. name: userid
  23599. required: true
  23600. type: integer
  23601. - description: 查询类型 1-报表 2-报表明细
  23602. in: query
  23603. name: querytype
  23604. required: true
  23605. type: integer
  23606. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23607. in: query
  23608. name: cycletype
  23609. required: true
  23610. type: integer
  23611. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23612. 全(0)【原值】
  23613. in: query
  23614. name: cycletime
  23615. required: true
  23616. type: string
  23617. - description: 币种id(查明细必填)
  23618. in: query
  23619. name: currencyid
  23620. type: integer
  23621. - description: 品种id(查明细必填)
  23622. in: query
  23623. name: goodsgroupid
  23624. type: integer
  23625. - description: 商品id(查明细必填)
  23626. in: query
  23627. name: goodsid
  23628. type: integer
  23629. - description: 买卖方向(查明细必填)
  23630. in: query
  23631. name: buyorsell
  23632. type: integer
  23633. produces:
  23634. - application/json
  23635. responses:
  23636. "200":
  23637. description: OK
  23638. schema:
  23639. items:
  23640. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  23641. type: array
  23642. "500":
  23643. description: Internal Server Error
  23644. schema:
  23645. $ref: '#/definitions/app.Response'
  23646. security:
  23647. - ApiKeyAuth: []
  23648. summary: 查询期货报表
  23649. tags:
  23650. - 企业风险管理v3(app)
  23651. /Ermcp3/QueryAreaStock:
  23652. get:
  23653. parameters:
  23654. - description: 用户ID
  23655. in: query
  23656. name: userid
  23657. required: true
  23658. type: integer
  23659. produces:
  23660. - application/json
  23661. responses:
  23662. "200":
  23663. description: OK
  23664. schema:
  23665. items:
  23666. $ref: '#/definitions/models.Ermcp3AreaStock'
  23667. type: array
  23668. "500":
  23669. description: Internal Server Error
  23670. schema:
  23671. $ref: '#/definitions/app.Response'
  23672. security:
  23673. - ApiKeyAuth: []
  23674. summary: 查询机构库存(库存管理/当前库存)
  23675. tags:
  23676. - 企业风险管理v3(app)
  23677. /Ermcp3/QueryAreaStockApply:
  23678. get:
  23679. parameters:
  23680. - description: 用户ID
  23681. in: query
  23682. name: userid
  23683. required: true
  23684. type: integer
  23685. - description: 用户类型 2-机构 7-企业成员
  23686. in: query
  23687. name: usertype
  23688. type: integer
  23689. - description: 现货商品ID
  23690. in: query
  23691. name: deliverygoodsid
  23692. type: integer
  23693. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  23694. in: query
  23695. name: inouttype
  23696. type: string
  23697. - description: 合同ID
  23698. in: query
  23699. name: spotcontractid
  23700. type: integer
  23701. - description: 品类ID
  23702. in: query
  23703. name: wrstandardid
  23704. type: integer
  23705. - description: 品牌ID
  23706. in: query
  23707. name: spotgoodsbrandid
  23708. type: integer
  23709. - description: 仓库ID
  23710. in: query
  23711. name: warehouseinfoid
  23712. type: integer
  23713. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23714. in: query
  23715. name: applystatus
  23716. type: string
  23717. produces:
  23718. - application/json
  23719. responses:
  23720. "200":
  23721. description: OK
  23722. schema:
  23723. items:
  23724. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  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. - 企业风险管理v3(app)
  23735. /Ermcp3/QueryAreaStockApplySum:
  23736. get:
  23737. parameters:
  23738. - description: 合同ID
  23739. in: query
  23740. name: spotcontractid
  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/models.Ermcp3AreaStockApplySum'
  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. - 企业风险管理v3(app)
  23761. /Ermcp3/QueryDGFactoryItem:
  23762. get:
  23763. parameters:
  23764. - description: 用户id
  23765. in: query
  23766. name: userid
  23767. type: integer
  23768. - description: 用户类型 2-机构 7-企业成员
  23769. in: query
  23770. name: usertype
  23771. type: integer
  23772. - description: 选择项ID(SEQ_DGFACTORYITEM)
  23773. in: query
  23774. name: dgfactoryitemid
  23775. type: integer
  23776. - description: 现货品种ID
  23777. in: query
  23778. name: deliverygoodsid
  23779. type: integer
  23780. - description: 要素项类型
  23781. in: query
  23782. name: dgfactoryitemtypeid
  23783. type: integer
  23784. - description: 顺序
  23785. in: query
  23786. name: orderindex
  23787. type: integer
  23788. produces:
  23789. - application/json
  23790. responses:
  23791. "200":
  23792. description: OK
  23793. schema:
  23794. items:
  23795. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  23796. type: array
  23797. "500":
  23798. description: Internal Server Error
  23799. schema:
  23800. $ref: '#/definitions/app.Response'
  23801. security:
  23802. - ApiKeyAuth: []
  23803. summary: 查询品种要素定义项
  23804. tags:
  23805. - 企业风险管理v3(app)
  23806. /Ermcp3/QueryDeliveryGoods:
  23807. get:
  23808. parameters:
  23809. - description: 用户id
  23810. in: query
  23811. name: userid
  23812. required: true
  23813. type: integer
  23814. - description: 用户类型 2-机构 7-企业成员
  23815. in: query
  23816. name: usertype
  23817. type: integer
  23818. - description: 排除已配置的业务类型商品 1-套保 2-套利
  23819. in: query
  23820. name: excludecfg
  23821. type: integer
  23822. produces:
  23823. - application/json
  23824. responses:
  23825. "200":
  23826. description: OK
  23827. schema:
  23828. items:
  23829. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  23830. type: array
  23831. "500":
  23832. description: Internal Server Error
  23833. schema:
  23834. $ref: '#/definitions/app.Response'
  23835. security:
  23836. - ApiKeyAuth: []
  23837. summary: 查询现货商品
  23838. tags:
  23839. - 企业风险管理v3(app)
  23840. /Ermcp3/QueryDeliveryGoodsDetail:
  23841. get:
  23842. parameters:
  23843. - description: 用户id
  23844. in: query
  23845. name: userid
  23846. required: true
  23847. type: integer
  23848. - description: 用户类型 2-机构 7-企业成员
  23849. in: query
  23850. name: usertype
  23851. type: integer
  23852. - description: 现货商品id
  23853. in: query
  23854. name: deliverygoodsid
  23855. type: integer
  23856. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  23857. in: query
  23858. name: filtersubempty
  23859. type: integer
  23860. produces:
  23861. - application/json
  23862. responses:
  23863. "200":
  23864. description: OK
  23865. schema:
  23866. items:
  23867. $ref: '#/definitions/models.XHDeliveryGoods'
  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. - 企业风险管理v3(app)
  23878. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  23879. get:
  23880. parameters:
  23881. - description: 合同id
  23882. in: query
  23883. name: spotcontractid
  23884. required: true
  23885. type: string
  23886. produces:
  23887. - application/json
  23888. responses:
  23889. "200":
  23890. description: OK
  23891. schema:
  23892. items:
  23893. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  23894. type: array
  23895. "500":
  23896. description: Internal Server Error
  23897. schema:
  23898. $ref: '#/definitions/app.Response'
  23899. security:
  23900. - ApiKeyAuth: []
  23901. summary: 查询现货合同期现配置信息
  23902. tags:
  23903. - 企业风险管理v3(app)
  23904. /Ermcp3/QueryExposureDetail:
  23905. get:
  23906. parameters:
  23907. - description: 用户id
  23908. in: query
  23909. name: userid
  23910. required: true
  23911. type: integer
  23912. - description: 用户类型 2-机构 7-企业成员
  23913. in: query
  23914. name: usertype
  23915. type: integer
  23916. - description: 套保商品
  23917. in: query
  23918. name: middlegoodsid
  23919. required: true
  23920. type: integer
  23921. produces:
  23922. - application/json
  23923. responses:
  23924. "200":
  23925. description: OK
  23926. schema:
  23927. items:
  23928. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  23929. type: array
  23930. "500":
  23931. description: Internal Server Error
  23932. schema:
  23933. $ref: '#/definitions/app.Response'
  23934. security:
  23935. - ApiKeyAuth: []
  23936. summary: 查询敞口现货明细
  23937. tags:
  23938. - 企业风险管理v3(app)
  23939. /Ermcp3/QueryExposureSpot:
  23940. get:
  23941. parameters:
  23942. - description: 用户id
  23943. in: query
  23944. name: userid
  23945. required: true
  23946. type: integer
  23947. - description: 用户类型 2-机构 7-企业成员
  23948. in: query
  23949. name: usertype
  23950. type: integer
  23951. produces:
  23952. - application/json
  23953. responses:
  23954. "200":
  23955. description: OK
  23956. schema:
  23957. items:
  23958. $ref: '#/definitions/models.Ermcp3AreaSpot'
  23959. type: array
  23960. "500":
  23961. description: Internal Server Error
  23962. schema:
  23963. $ref: '#/definitions/app.Response'
  23964. security:
  23965. - ApiKeyAuth: []
  23966. summary: 查询敞口现货头寸(敞口/现货头寸)
  23967. tags:
  23968. - 企业风险管理v3(app)
  23969. /Ermcp3/QueryExposureSpotDetail:
  23970. get:
  23971. parameters:
  23972. - description: 用户id
  23973. in: query
  23974. name: userid
  23975. required: true
  23976. type: integer
  23977. - description: 用户类型 2-机构 7-企业成员
  23978. in: query
  23979. name: usertype
  23980. type: integer
  23981. - description: 现货商品ID
  23982. in: query
  23983. name: wrstandardid
  23984. required: true
  23985. type: integer
  23986. produces:
  23987. - application/json
  23988. responses:
  23989. "200":
  23990. description: OK
  23991. schema:
  23992. items:
  23993. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  23994. type: array
  23995. "500":
  23996. description: Internal Server Error
  23997. schema:
  23998. $ref: '#/definitions/app.Response'
  23999. security:
  24000. - ApiKeyAuth: []
  24001. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24002. tags:
  24003. - 企业风险管理v3(app)
  24004. /Ermcp3/QueryGoodsGroup:
  24005. get:
  24006. parameters:
  24007. - description: 用户id
  24008. in: query
  24009. name: userid
  24010. required: true
  24011. type: integer
  24012. - description: 用户类型 2-机构 7-企业成员
  24013. in: query
  24014. name: usertype
  24015. type: integer
  24016. - description: 排除套保品中已关联的商品组 1-排除
  24017. in: query
  24018. name: excludecfg
  24019. type: integer
  24020. produces:
  24021. - application/json
  24022. responses:
  24023. "200":
  24024. description: OK
  24025. schema:
  24026. items:
  24027. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  24028. type: array
  24029. "500":
  24030. description: Internal Server Error
  24031. schema:
  24032. $ref: '#/definitions/app.Response'
  24033. security:
  24034. - ApiKeyAuth: []
  24035. summary: 查询期货商品组
  24036. tags:
  24037. - 企业风险管理v3(app)
  24038. /Ermcp3/QueryGoodsWrstandard:
  24039. get:
  24040. parameters:
  24041. - description: 用户id
  24042. in: query
  24043. name: userid
  24044. required: true
  24045. type: integer
  24046. - description: 用户类型 2-机构 7-企业成员
  24047. in: query
  24048. name: usertype
  24049. type: integer
  24050. - description: 现货商品id
  24051. in: query
  24052. name: deliverygoodsid
  24053. type: integer
  24054. produces:
  24055. - application/json
  24056. responses:
  24057. "200":
  24058. description: OK
  24059. schema:
  24060. items:
  24061. $ref: '#/definitions/models.Ermcp3Wrstandard'
  24062. type: array
  24063. "500":
  24064. description: Internal Server Error
  24065. schema:
  24066. $ref: '#/definitions/app.Response'
  24067. security:
  24068. - ApiKeyAuth: []
  24069. summary: 查询商品品类
  24070. tags:
  24071. - 企业风险管理v3(app)
  24072. /Ermcp3/QueryGoodsbrand:
  24073. get:
  24074. parameters:
  24075. - description: 用户id
  24076. in: query
  24077. name: userid
  24078. required: true
  24079. type: integer
  24080. - description: 用户类型 2-机构 7-企业成员
  24081. in: query
  24082. name: usertype
  24083. type: integer
  24084. produces:
  24085. - application/json
  24086. responses:
  24087. "200":
  24088. description: OK
  24089. schema:
  24090. items:
  24091. $ref: '#/definitions/models.Ermcp3Brand'
  24092. type: array
  24093. "500":
  24094. description: Internal Server Error
  24095. schema:
  24096. $ref: '#/definitions/app.Response'
  24097. security:
  24098. - ApiKeyAuth: []
  24099. summary: 查询商品品牌
  24100. tags:
  24101. - 企业风险管理v3(app)
  24102. /Ermcp3/QueryHPMiddleGoods:
  24103. get:
  24104. parameters:
  24105. - description: 用户ID(填登录用户的userid)
  24106. in: query
  24107. name: userid
  24108. required: true
  24109. type: integer
  24110. - description: 买卖方向 0-买 1-卖
  24111. in: query
  24112. name: buyorsell
  24113. required: true
  24114. type: integer
  24115. - description: 商品组id
  24116. in: query
  24117. name: goodsgroupid
  24118. required: true
  24119. type: integer
  24120. - description: 套保计划编号(模糊匹配)
  24121. in: query
  24122. name: hedgeplanno
  24123. type: string
  24124. - description: 现货商品名称(模糊匹配)
  24125. in: query
  24126. name: wrstandardname
  24127. type: string
  24128. produces:
  24129. - application/json
  24130. responses:
  24131. "200":
  24132. description: OK
  24133. schema:
  24134. items:
  24135. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  24136. type: array
  24137. "500":
  24138. description: Internal Server Error
  24139. schema:
  24140. $ref: '#/definitions/app.Response'
  24141. security:
  24142. - ApiKeyAuth: []
  24143. summary: 查询可关联套保计划
  24144. tags:
  24145. - 企业风险管理v3(app)
  24146. /Ermcp3/QueryHedgePlan:
  24147. get:
  24148. parameters:
  24149. - description: 用户ID
  24150. in: query
  24151. name: userid
  24152. required: true
  24153. type: integer
  24154. - description: 用户类型 2-机构 7-企业成员
  24155. in: query
  24156. name: usertype
  24157. type: integer
  24158. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24159. in: query
  24160. name: hedgeplanstatus
  24161. required: true
  24162. type: string
  24163. produces:
  24164. - application/json
  24165. responses:
  24166. "200":
  24167. description: OK
  24168. schema:
  24169. items:
  24170. $ref: '#/definitions/models.Ermcp3HedgePlan'
  24171. type: array
  24172. "500":
  24173. description: Internal Server Error
  24174. schema:
  24175. $ref: '#/definitions/app.Response'
  24176. security:
  24177. - ApiKeyAuth: []
  24178. summary: 查询套保计划
  24179. tags:
  24180. - 企业风险管理v3(app)
  24181. /Ermcp3/QueryInnerTradeLink:
  24182. get:
  24183. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  24184. parameters:
  24185. - description: 外部成交单号
  24186. in: query
  24187. name: outtradeid
  24188. required: true
  24189. type: integer
  24190. produces:
  24191. - application/json
  24192. responses:
  24193. "200":
  24194. description: OK
  24195. schema:
  24196. items:
  24197. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  24198. type: array
  24199. "500":
  24200. description: Internal Server Error
  24201. schema:
  24202. $ref: '#/definitions/app.Response'
  24203. security:
  24204. - ApiKeyAuth: []
  24205. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  24206. tags:
  24207. - 企业风险管理v3(app)
  24208. /Ermcp3/QueryMiddleGoodsDetail:
  24209. get:
  24210. parameters:
  24211. - description: 用户id
  24212. in: query
  24213. name: userid
  24214. required: true
  24215. type: integer
  24216. - description: 用户类型 2-机构 7-企业成员
  24217. in: query
  24218. name: usertype
  24219. type: integer
  24220. - description: 套保品种id
  24221. in: query
  24222. name: middlegoodsid
  24223. type: integer
  24224. produces:
  24225. - application/json
  24226. responses:
  24227. "200":
  24228. description: OK
  24229. schema:
  24230. items:
  24231. $ref: '#/definitions/models.TBMiddleGoods'
  24232. type: array
  24233. "500":
  24234. description: Internal Server Error
  24235. schema:
  24236. $ref: '#/definitions/app.Response'
  24237. security:
  24238. - ApiKeyAuth: []
  24239. summary: 查询套保品种详情(套保品种/商品详情)
  24240. tags:
  24241. - 企业风险管理v3(app)
  24242. /Ermcp3/QueryOutTradeLink:
  24243. get:
  24244. description: 页面 app 现货->期现关联->外部成交单关联
  24245. parameters:
  24246. - description: 用户ID(填登录用户的userid)
  24247. in: query
  24248. name: userid
  24249. required: true
  24250. type: integer
  24251. - description: 外部订单号(模糊匹配)
  24252. in: query
  24253. name: outtradeid
  24254. type: string
  24255. - description: 合约名称/代码(模糊匹配)
  24256. in: query
  24257. name: goodsname
  24258. type: string
  24259. - description: 关联状态 0-未关联 1-已关联
  24260. in: query
  24261. name: hasinnerorder
  24262. type: integer
  24263. produces:
  24264. - application/json
  24265. responses:
  24266. "200":
  24267. description: OK
  24268. schema:
  24269. items:
  24270. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  24271. type: array
  24272. "500":
  24273. description: Internal Server Error
  24274. schema:
  24275. $ref: '#/definitions/app.Response'
  24276. security:
  24277. - ApiKeyAuth: []
  24278. summary: 查询外部成交单关联
  24279. tags:
  24280. - 企业风险管理v3(app)
  24281. /Ermcp3/QueryPaAreaAuditCfg:
  24282. get:
  24283. parameters:
  24284. - description: 用户id
  24285. in: query
  24286. name: userid
  24287. required: true
  24288. type: integer
  24289. produces:
  24290. - application/json
  24291. responses:
  24292. "200":
  24293. description: OK
  24294. schema:
  24295. items:
  24296. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  24297. type: array
  24298. "500":
  24299. description: Internal Server Error
  24300. schema:
  24301. $ref: '#/definitions/app.Response'
  24302. security:
  24303. - ApiKeyAuth: []
  24304. summary: 查询审核设置
  24305. tags:
  24306. - 企业风险管理v3(app)
  24307. /Ermcp3/QueryPaAreaSubject:
  24308. get:
  24309. parameters:
  24310. - description: 用户id
  24311. in: query
  24312. name: userid
  24313. required: true
  24314. type: integer
  24315. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  24316. in: query
  24317. name: subjectid
  24318. type: integer
  24319. - description: 主体类型 - 1:交易主体 2:业务部门
  24320. in: query
  24321. name: subjecttype
  24322. type: integer
  24323. - description: '主体状态 - 1:正常 2: 停用'
  24324. in: query
  24325. name: subjectstatus
  24326. type: integer
  24327. produces:
  24328. - application/json
  24329. responses:
  24330. "200":
  24331. description: OK
  24332. schema:
  24333. items:
  24334. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  24335. type: array
  24336. "500":
  24337. description: Internal Server Error
  24338. schema:
  24339. $ref: '#/definitions/app.Response'
  24340. security:
  24341. - ApiKeyAuth: []
  24342. summary: 查询交易主体
  24343. tags:
  24344. - 企业风险管理v3(app)
  24345. /Ermcp3/QueryPaTradeLink:
  24346. get:
  24347. description: 页面 app 现货->期现关联->期现单据关联
  24348. parameters:
  24349. - description: 用户ID
  24350. in: query
  24351. name: userid
  24352. required: true
  24353. type: integer
  24354. produces:
  24355. - application/json
  24356. responses:
  24357. "200":
  24358. description: OK
  24359. schema:
  24360. items:
  24361. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  24362. type: array
  24363. "500":
  24364. description: Internal Server Error
  24365. schema:
  24366. $ref: '#/definitions/app.Response'
  24367. security:
  24368. - ApiKeyAuth: []
  24369. summary: 查询期现单据关联
  24370. tags:
  24371. - 企业风险管理v3(app)
  24372. /Ermcp3/QueryPaTradeLinkDetail:
  24373. get:
  24374. description: 页面 app 现货->期现关联->关联记录
  24375. parameters:
  24376. - description: 用户ID(填登录用户的userid)
  24377. in: query
  24378. name: userid
  24379. required: true
  24380. type: integer
  24381. - description: 关联状态 1:成功 2:失败 3:解绑
  24382. in: query
  24383. name: linkstatus
  24384. type: integer
  24385. - description: 期货订单号(模糊匹配)
  24386. in: query
  24387. name: tradeid
  24388. type: string
  24389. - description: 现货编号(模糊匹配)
  24390. in: query
  24391. name: contractno
  24392. type: string
  24393. - description: 期货账户(模糊匹配)
  24394. in: query
  24395. name: taname
  24396. type: string
  24397. produces:
  24398. - application/json
  24399. responses:
  24400. "200":
  24401. description: OK
  24402. schema:
  24403. items:
  24404. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  24405. type: array
  24406. "500":
  24407. description: Internal Server Error
  24408. schema:
  24409. $ref: '#/definitions/app.Response'
  24410. security:
  24411. - ApiKeyAuth: []
  24412. summary: 查询期现关联记录
  24413. tags:
  24414. - 企业风险管理v3(app)
  24415. /Ermcp3/QueryParamChangeApp:
  24416. get:
  24417. description: |-
  24418. 原型页面:
  24419. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  24420. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  24421. parameters:
  24422. - description: 用户ID
  24423. in: query
  24424. name: userid
  24425. required: true
  24426. type: integer
  24427. - description: 现货品种id
  24428. in: query
  24429. name: deliverygoodsid
  24430. type: integer
  24431. - description: 现货商品id
  24432. in: query
  24433. name: wrstandardid
  24434. type: integer
  24435. - description: 套保商品id
  24436. in: query
  24437. name: middlegoodsid
  24438. type: integer
  24439. - description: 操作类型 1:新增 2:修改
  24440. in: query
  24441. name: operatetype
  24442. type: integer
  24443. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  24444. in: query
  24445. name: paramchangetype
  24446. type: integer
  24447. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24448. in: query
  24449. name: ftstatus
  24450. type: string
  24451. produces:
  24452. - application/json
  24453. responses:
  24454. "200":
  24455. description: OK
  24456. schema:
  24457. items:
  24458. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  24459. type: array
  24460. "500":
  24461. description: Internal Server Error
  24462. schema:
  24463. $ref: '#/definitions/app.Response'
  24464. security:
  24465. - ApiKeyAuth: []
  24466. summary: 查询现货商品参数变更申请(流水)
  24467. tags:
  24468. - 企业风险管理v3(app)
  24469. /Ermcp3/QueryRootUserAccount:
  24470. get:
  24471. parameters:
  24472. - description: 用户ID
  24473. in: query
  24474. name: userid
  24475. required: true
  24476. type: integer
  24477. produces:
  24478. - application/json
  24479. responses:
  24480. "200":
  24481. description: OK
  24482. schema:
  24483. items:
  24484. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  24485. type: array
  24486. "500":
  24487. description: Internal Server Error
  24488. schema:
  24489. $ref: '#/definitions/app.Response'
  24490. security:
  24491. - ApiKeyAuth: []
  24492. summary: 查询顶级用户信息
  24493. tags:
  24494. - 企业风险管理v3(app)
  24495. /Ermcp3/QuerySCMiddleGoods:
  24496. get:
  24497. description: |-
  24498. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  24499. 现货编号 即 合同编号
  24500. parameters:
  24501. - description: 用户ID(填登录用户的userid)
  24502. in: query
  24503. name: userid
  24504. required: true
  24505. type: integer
  24506. - description: 买卖方向 0-买 1-卖
  24507. in: query
  24508. name: buyorsell
  24509. required: true
  24510. type: integer
  24511. - description: 商品组id
  24512. in: query
  24513. name: goodsgroupid
  24514. required: true
  24515. type: integer
  24516. - description: 业务类型 1:套保 2:套利
  24517. in: query
  24518. name: biztype
  24519. type: integer
  24520. - description: 现货编号(模糊匹配)
  24521. in: query
  24522. name: contractno
  24523. type: string
  24524. - description: 对手方(模糊匹配)
  24525. in: query
  24526. name: customername
  24527. type: string
  24528. - description: 现货商品名称(模糊匹配)
  24529. in: query
  24530. name: wrstandardname
  24531. type: string
  24532. produces:
  24533. - application/json
  24534. responses:
  24535. "200":
  24536. description: OK
  24537. schema:
  24538. items:
  24539. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  24540. type: array
  24541. "500":
  24542. description: Internal Server Error
  24543. schema:
  24544. $ref: '#/definitions/app.Response'
  24545. security:
  24546. - ApiKeyAuth: []
  24547. summary: 查询现货订单
  24548. tags:
  24549. - 企业风险管理v3(app)
  24550. /Ermcp3/QuerySpotContract:
  24551. get:
  24552. parameters:
  24553. - description: 用户id(当指定contractid, userid可不填)
  24554. in: query
  24555. name: userid
  24556. required: true
  24557. type: integer
  24558. - description: 用户类型 2-机构 7-企业成员
  24559. in: query
  24560. name: usertype
  24561. type: integer
  24562. - description: 合同类型 1-采购, -1-销售
  24563. in: query
  24564. name: contracttype
  24565. type: integer
  24566. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  24567. in: query
  24568. name: querytype
  24569. type: string
  24570. - description: 合同ID(SpotContractId)
  24571. in: query
  24572. name: contractid
  24573. type: string
  24574. - description: 合同编号(模糊匹配)
  24575. in: query
  24576. name: contractno
  24577. type: string
  24578. - description: 商品名称(模糊匹配)
  24579. in: query
  24580. name: wrstandardname
  24581. type: string
  24582. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  24583. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24584. in: query
  24585. name: status
  24586. type: string
  24587. - description: 是否只查今日的合同 1-查今日合同
  24588. in: query
  24589. name: istoday
  24590. type: integer
  24591. produces:
  24592. - application/json
  24593. responses:
  24594. "200":
  24595. description: OK
  24596. schema:
  24597. items:
  24598. $ref: '#/definitions/models.Ermcp3Contract'
  24599. type: array
  24600. "500":
  24601. description: Internal Server Error
  24602. schema:
  24603. $ref: '#/definitions/app.Response'
  24604. security:
  24605. - ApiKeyAuth: []
  24606. summary: 查询现货合同
  24607. tags:
  24608. - 企业风险管理v3(app)
  24609. /Ermcp3/QuerySpotContractBS:
  24610. get:
  24611. parameters:
  24612. - description: 用户id
  24613. in: query
  24614. name: userid
  24615. required: true
  24616. type: integer
  24617. - description: 用户类型 2-机构 7-企业成员
  24618. in: query
  24619. name: usertype
  24620. type: integer
  24621. - description: 合同类型 1-采购, -1-销售
  24622. in: query
  24623. name: contracttype
  24624. required: true
  24625. type: integer
  24626. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  24627. in: query
  24628. name: querytype
  24629. type: integer
  24630. - description: 合同ID(SpotContractId)
  24631. in: query
  24632. name: contractid
  24633. type: string
  24634. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  24635. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24636. in: query
  24637. name: status
  24638. type: string
  24639. - description: 是否只查今日的合同 1-查今日合同
  24640. in: query
  24641. name: istoday
  24642. type: integer
  24643. produces:
  24644. - application/json
  24645. responses:
  24646. "200":
  24647. description: OK
  24648. schema:
  24649. items:
  24650. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  24651. type: array
  24652. "500":
  24653. description: Internal Server Error
  24654. schema:
  24655. $ref: '#/definitions/app.Response'
  24656. security:
  24657. - ApiKeyAuth: []
  24658. summary: 查询合同(采购/销售)
  24659. tags:
  24660. - 企业风险管理v3(app)
  24661. /Ermcp3/QuerySpotGoodsPrice:
  24662. get:
  24663. parameters:
  24664. - description: 用户ID
  24665. in: query
  24666. name: userid
  24667. required: true
  24668. type: integer
  24669. produces:
  24670. - application/json
  24671. responses:
  24672. "200":
  24673. description: OK
  24674. schema:
  24675. items:
  24676. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  24677. type: array
  24678. "500":
  24679. description: Internal Server Error
  24680. schema:
  24681. $ref: '#/definitions/app.Response'
  24682. security:
  24683. - ApiKeyAuth: []
  24684. summary: 查询现货市价(现货市价)
  24685. tags:
  24686. - 企业风险管理v3(app)
  24687. /Ermcp3/QuerySpotGoodsPriceLog:
  24688. get:
  24689. parameters:
  24690. - description: 用户ID
  24691. in: query
  24692. name: userid
  24693. required: true
  24694. type: integer
  24695. - description: 现货商品ID
  24696. in: query
  24697. name: deliverygoodsid
  24698. required: true
  24699. type: integer
  24700. - description: 品牌ID
  24701. in: query
  24702. name: brandid
  24703. type: integer
  24704. - description: 品类ID
  24705. in: query
  24706. name: wrstandardid
  24707. type: integer
  24708. produces:
  24709. - application/json
  24710. responses:
  24711. "200":
  24712. description: OK
  24713. schema:
  24714. items:
  24715. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  24716. type: array
  24717. "500":
  24718. description: Internal Server Error
  24719. schema:
  24720. $ref: '#/definitions/app.Response'
  24721. security:
  24722. - ApiKeyAuth: []
  24723. summary: 查询现货市价详情(现货市价/详情)
  24724. tags:
  24725. - 企业风险管理v3(app)
  24726. /Ermcp3/QuerySubTaaccount:
  24727. get:
  24728. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  24729. parameters:
  24730. - description: 母账号id
  24731. in: query
  24732. name: parentaccountid
  24733. type: integer
  24734. - description: 母账号代码
  24735. in: query
  24736. name: parentaccountcode
  24737. type: string
  24738. produces:
  24739. - application/json
  24740. responses:
  24741. "200":
  24742. description: OK
  24743. schema:
  24744. items:
  24745. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  24746. type: array
  24747. "500":
  24748. description: Internal Server Error
  24749. schema:
  24750. $ref: '#/definitions/app.Response'
  24751. security:
  24752. - ApiKeyAuth: []
  24753. summary: 查询期货子账户
  24754. tags:
  24755. - 企业风险管理v3(app)
  24756. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  24757. get:
  24758. parameters:
  24759. - description: 套期项目ID
  24760. in: query
  24761. name: hedgeditemid
  24762. required: true
  24763. type: integer
  24764. produces:
  24765. - application/json
  24766. responses:
  24767. "200":
  24768. description: OK
  24769. schema:
  24770. items:
  24771. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  24772. type: array
  24773. "500":
  24774. description: Internal Server Error
  24775. schema:
  24776. $ref: '#/definitions/app.Response'
  24777. security:
  24778. - ApiKeyAuth: []
  24779. summary: 现货成交明细查询
  24780. tags:
  24781. - 企业风险管理v8
  24782. /Ermcp8/QueryERMCP2HedgedItemspot:
  24783. get:
  24784. parameters:
  24785. - description: 套期项目ID
  24786. in: query
  24787. name: hedgeditemid
  24788. required: true
  24789. type: integer
  24790. produces:
  24791. - application/json
  24792. responses:
  24793. "200":
  24794. description: OK
  24795. schema:
  24796. items:
  24797. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  24798. type: array
  24799. "500":
  24800. description: Internal Server Error
  24801. schema:
  24802. $ref: '#/definitions/app.Response'
  24803. security:
  24804. - ApiKeyAuth: []
  24805. summary: 套期计划明细查询
  24806. tags:
  24807. - 企业风险管理v8
  24808. /Ermcp8/QueryERMCPJRLinkPos:
  24809. get:
  24810. parameters:
  24811. - description: 套期项目ID
  24812. in: query
  24813. name: hedgeditemid
  24814. required: true
  24815. type: integer
  24816. produces:
  24817. - application/json
  24818. responses:
  24819. "200":
  24820. description: OK
  24821. schema:
  24822. items:
  24823. $ref: '#/definitions/models.Ermcpjrlinkpos'
  24824. type: array
  24825. "500":
  24826. description: Internal Server Error
  24827. schema:
  24828. $ref: '#/definitions/app.Response'
  24829. security:
  24830. - ApiKeyAuth: []
  24831. summary: 期货持仓明细查询
  24832. tags:
  24833. - 企业风险管理v8
  24834. /Ermcp8/QueryERMCPPatradeLinkDetail:
  24835. get:
  24836. parameters:
  24837. - description: 套期项目ID
  24838. in: query
  24839. name: hedgeditemid
  24840. required: true
  24841. type: integer
  24842. produces:
  24843. - application/json
  24844. responses:
  24845. "200":
  24846. description: OK
  24847. schema:
  24848. items:
  24849. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  24850. type: array
  24851. "500":
  24852. description: Internal Server Error
  24853. schema:
  24854. $ref: '#/definitions/app.Response'
  24855. security:
  24856. - ApiKeyAuth: []
  24857. summary: 期货成交单明细查询
  24858. tags:
  24859. - 企业风险管理v8
  24860. /Ermcp8/QueryErmcp2HedgedItem:
  24861. get:
  24862. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  24863. parameters:
  24864. - description: 用户ID
  24865. in: query
  24866. name: userid
  24867. required: true
  24868. type: string
  24869. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  24870. in: query
  24871. name: hedgedtype
  24872. type: integer
  24873. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24874. in: query
  24875. name: hedgeditemstatus
  24876. type: integer
  24877. produces:
  24878. - application/json
  24879. responses:
  24880. "200":
  24881. description: OK
  24882. schema:
  24883. items:
  24884. $ref: '#/definitions/models.Ermcp2hedgeditem'
  24885. type: array
  24886. "500":
  24887. description: Internal Server Error
  24888. schema:
  24889. $ref: '#/definitions/app.Response'
  24890. security:
  24891. - ApiKeyAuth: []
  24892. summary: 查询被套期项目信息
  24893. tags:
  24894. - 企业风险管理v8
  24895. /Ermcp8/QueryErmcp8EnableHedgeditem:
  24896. get:
  24897. parameters:
  24898. - description: 用户ID
  24899. in: query
  24900. name: userid
  24901. required: true
  24902. type: integer
  24903. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  24904. in: query
  24905. name: spottype
  24906. required: true
  24907. type: integer
  24908. produces:
  24909. - application/json
  24910. responses:
  24911. "200":
  24912. description: OK
  24913. schema:
  24914. items:
  24915. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  24916. type: array
  24917. "500":
  24918. description: Internal Server Error
  24919. schema:
  24920. $ref: '#/definitions/app.Response'
  24921. security:
  24922. - ApiKeyAuth: []
  24923. summary: 可关联项目查询
  24924. tags:
  24925. - 企业风险管理v8
  24926. /Ermcp8/QueryErmcp8HedgeditemReport:
  24927. get:
  24928. parameters:
  24929. - description: 用户ID
  24930. in: query
  24931. name: userid
  24932. required: true
  24933. type: integer
  24934. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24935. in: query
  24936. name: cycletype
  24937. type: integer
  24938. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24939. 全(0)【原值】
  24940. in: query
  24941. name: cycletime
  24942. required: true
  24943. type: string
  24944. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  24945. in: query
  24946. name: hedgedtype
  24947. type: integer
  24948. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24949. in: query
  24950. name: hedgeditemstatus
  24951. type: integer
  24952. - description: 项目编号,模糊查询
  24953. in: query
  24954. name: hedgeditemnum
  24955. type: string
  24956. - description: 现货商品ID
  24957. in: query
  24958. name: wrstandardid
  24959. type: integer
  24960. produces:
  24961. - application/json
  24962. responses:
  24963. "200":
  24964. description: OK
  24965. schema:
  24966. items:
  24967. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  24968. type: array
  24969. "500":
  24970. description: Internal Server Error
  24971. schema:
  24972. $ref: '#/definitions/app.Response'
  24973. security:
  24974. - ApiKeyAuth: []
  24975. summary: 套期项目报表查询
  24976. tags:
  24977. - 企业风险管理v8
  24978. /Ermcp8/QueryErmcp8RunningHedgeditem:
  24979. get:
  24980. parameters:
  24981. - description: 用户ID
  24982. in: query
  24983. name: userid
  24984. required: true
  24985. type: string
  24986. produces:
  24987. - application/json
  24988. responses:
  24989. "200":
  24990. description: OK
  24991. schema:
  24992. items:
  24993. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  24994. type: array
  24995. "500":
  24996. description: Internal Server Error
  24997. schema:
  24998. $ref: '#/definitions/app.Response'
  24999. security:
  25000. - ApiKeyAuth: []
  25001. summary: 查询执行中项目查询信息
  25002. tags:
  25003. - 企业风险管理v8
  25004. /Ermcp8/QueryInternalEnableTradeDetail:
  25005. get:
  25006. parameters:
  25007. - description: 企业ID
  25008. in: query
  25009. name: areauserid
  25010. required: true
  25011. type: integer
  25012. - description: 期货合约ID
  25013. in: query
  25014. name: goodsid
  25015. required: true
  25016. type: integer
  25017. produces:
  25018. - application/json
  25019. responses:
  25020. "200":
  25021. description: OK
  25022. schema:
  25023. items:
  25024. $ref: '#/definitions/models.InternalEnableTradeDetail'
  25025. type: array
  25026. "500":
  25027. description: Internal Server Error
  25028. schema:
  25029. $ref: '#/definitions/app.Response'
  25030. security:
  25031. - ApiKeyAuth: []
  25032. summary: 内部成交单可关联项目查询
  25033. tags:
  25034. - 企业风险管理v8
  25035. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  25036. get:
  25037. parameters:
  25038. - description: 用户编号
  25039. in: query
  25040. name: userid
  25041. required: true
  25042. type: integer
  25043. - description: 起始日期(格式yyyymmdd)
  25044. in: query
  25045. name: begindate
  25046. type: string
  25047. - description: 终止日期(格式yyyymmdd)
  25048. in: query
  25049. name: enddate
  25050. type: string
  25051. - description: 合约代码
  25052. in: query
  25053. name: goodscode
  25054. type: string
  25055. - description: 合约名称
  25056. in: query
  25057. name: goodsname
  25058. type: string
  25059. - description: 成交单号
  25060. in: query
  25061. name: tradeid
  25062. type: integer
  25063. - description: 方向 - 0:买 1:卖
  25064. in: query
  25065. name: buyorsell
  25066. type: integer
  25067. - description: 套期主体
  25068. in: query
  25069. name: accountname
  25070. type: string
  25071. produces:
  25072. - application/json
  25073. responses:
  25074. "200":
  25075. description: OK
  25076. schema:
  25077. items:
  25078. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  25079. type: array
  25080. "500":
  25081. description: Internal Server Error
  25082. schema:
  25083. $ref: '#/definitions/app.Response'
  25084. security:
  25085. - ApiKeyAuth: []
  25086. summary: 内部未关联成交单查询
  25087. tags:
  25088. - 企业风险管理v8
  25089. /Ermcp8/QueryUnLinkSpotContract:
  25090. get:
  25091. parameters:
  25092. - description: 用户ID
  25093. in: query
  25094. name: userid
  25095. required: true
  25096. type: integer
  25097. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  25098. in: query
  25099. name: pricetype
  25100. type: integer
  25101. - description: 合同编号, 模拟查询
  25102. in: query
  25103. name: contractno
  25104. type: string
  25105. - description: 对手方, 模拟查询
  25106. in: query
  25107. name: customername
  25108. type: string
  25109. - description: 项合同类型 - 1:采购 -1:销售
  25110. in: query
  25111. name: contracttype
  25112. type: integer
  25113. produces:
  25114. - application/json
  25115. responses:
  25116. "200":
  25117. description: OK
  25118. schema:
  25119. items:
  25120. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  25121. type: array
  25122. "500":
  25123. description: Internal Server Error
  25124. schema:
  25125. $ref: '#/definitions/app.Response'
  25126. security:
  25127. - ApiKeyAuth: []
  25128. summary: 未关联合同查询
  25129. tags:
  25130. - 企业风险管理v8
  25131. /Erms2/QueryArbitrageStrategy:
  25132. get:
  25133. parameters:
  25134. - description: 账户ID
  25135. in: query
  25136. name: userid
  25137. required: true
  25138. type: integer
  25139. - description: 商品组ID(品种ID)
  25140. in: query
  25141. name: goodsgroupid
  25142. type: string
  25143. produces:
  25144. - application/json
  25145. responses:
  25146. "200":
  25147. description: OK
  25148. schema:
  25149. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  25150. "500":
  25151. description: Internal Server Error
  25152. schema:
  25153. $ref: '#/definitions/app.Response'
  25154. security:
  25155. - ApiKeyAuth: []
  25156. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  25157. tags:
  25158. - 风险管理
  25159. /Erms2/QueryInnerTradeDetail:
  25160. get:
  25161. parameters:
  25162. - description: 资金账户
  25163. in: query
  25164. name: accountid
  25165. required: true
  25166. type: integer
  25167. produces:
  25168. - application/json
  25169. responses:
  25170. "200":
  25171. description: OK
  25172. schema:
  25173. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  25174. "500":
  25175. description: Internal Server Error
  25176. schema:
  25177. $ref: '#/definitions/app.Response'
  25178. security:
  25179. - ApiKeyAuth: []
  25180. summary: 查询内部成交单信息
  25181. tags:
  25182. - 风险管理
  25183. /Erms2/QuerySpotContract:
  25184. get:
  25185. parameters:
  25186. - description: 策略申请ID
  25187. in: query
  25188. name: asapplyid
  25189. required: true
  25190. type: integer
  25191. - description: 现货合同ID
  25192. in: query
  25193. name: spotcontractid
  25194. type: integer
  25195. produces:
  25196. - application/json
  25197. responses:
  25198. "200":
  25199. description: OK
  25200. schema:
  25201. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  25202. "500":
  25203. description: Internal Server Error
  25204. schema:
  25205. $ref: '#/definitions/app.Response'
  25206. security:
  25207. - ApiKeyAuth: []
  25208. summary: 查询现货合同表信息(指定策略ID、未结束的)
  25209. tags:
  25210. - 风险管理
  25211. /Erms3/AddErms2ASApply:
  25212. post:
  25213. parameters:
  25214. - description: 申请参数
  25215. in: body
  25216. name: jsonBody
  25217. required: true
  25218. schema:
  25219. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  25220. produces:
  25221. - application/json
  25222. responses:
  25223. "200":
  25224. description: OK
  25225. schema:
  25226. $ref: '#/definitions/app.Response'
  25227. "500":
  25228. description: Internal Server Error
  25229. schema:
  25230. $ref: '#/definitions/app.Response'
  25231. security:
  25232. - ApiKeyAuth: []
  25233. summary: 新增期现套利业务申请
  25234. tags:
  25235. - 风险管理v3
  25236. /Erms3/AddErms2SpotTradeApply:
  25237. post:
  25238. parameters:
  25239. - description: 申请参数
  25240. in: body
  25241. name: jsonBody
  25242. required: true
  25243. schema:
  25244. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  25245. produces:
  25246. - application/json
  25247. responses:
  25248. "200":
  25249. description: OK
  25250. schema:
  25251. $ref: '#/definitions/app.Response'
  25252. "500":
  25253. description: Internal Server Error
  25254. schema:
  25255. $ref: '#/definitions/app.Response'
  25256. security:
  25257. - ApiKeyAuth: []
  25258. summary: 新增现货贸易业务申请
  25259. tags:
  25260. - 风险管理v3
  25261. /Erms3/AddSpotContractApply:
  25262. post:
  25263. parameters:
  25264. - description: 申请参数
  25265. in: body
  25266. name: jsonBody
  25267. required: true
  25268. schema:
  25269. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  25270. produces:
  25271. - application/json
  25272. responses:
  25273. "200":
  25274. description: OK
  25275. schema:
  25276. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  25277. "500":
  25278. description: Internal Server Error
  25279. schema:
  25280. $ref: '#/definitions/app.Response'
  25281. security:
  25282. - ApiKeyAuth: []
  25283. summary: 新增现货合同申请
  25284. tags:
  25285. - 风险管理v3
  25286. /Erms3/AddUserInfoApply:
  25287. post:
  25288. parameters:
  25289. - description: 用户信息
  25290. in: body
  25291. name: jsonBody
  25292. required: true
  25293. schema:
  25294. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  25295. produces:
  25296. - application/json
  25297. responses:
  25298. "200":
  25299. description: OK
  25300. schema:
  25301. $ref: '#/definitions/app.Response'
  25302. "500":
  25303. description: Internal Server Error
  25304. schema:
  25305. $ref: '#/definitions/app.Response'
  25306. security:
  25307. - ApiKeyAuth: []
  25308. summary: 新增客户申请
  25309. tags:
  25310. - 风险管理v3
  25311. /Erms3/DeleteUserInfoApply:
  25312. get:
  25313. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  25314. parameters:
  25315. - description: 用户ID
  25316. in: query
  25317. name: userID
  25318. required: true
  25319. type: integer
  25320. produces:
  25321. - application/json
  25322. responses:
  25323. "200":
  25324. description: OK
  25325. schema:
  25326. $ref: '#/definitions/app.Response'
  25327. "500":
  25328. description: Internal Server Error
  25329. schema:
  25330. $ref: '#/definitions/app.Response'
  25331. security:
  25332. - ApiKeyAuth: []
  25333. summary: 删除客户申请
  25334. tags:
  25335. - 风险管理v3
  25336. /Erms3/ModifyUserInfoApply:
  25337. post:
  25338. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  25339. int, "userstate": 2 }'
  25340. parameters:
  25341. - description: 用户信息
  25342. in: body
  25343. name: jsonBody
  25344. required: true
  25345. schema:
  25346. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  25347. produces:
  25348. - application/json
  25349. responses:
  25350. "200":
  25351. description: OK
  25352. schema:
  25353. $ref: '#/definitions/app.Response'
  25354. "500":
  25355. description: Internal Server Error
  25356. schema:
  25357. $ref: '#/definitions/app.Response'
  25358. security:
  25359. - ApiKeyAuth: []
  25360. summary: 修改客户申请
  25361. tags:
  25362. - 风险管理v3
  25363. /Erms3/QueryBusinessInfo:
  25364. get:
  25365. parameters:
  25366. - description: 资金账号ID列表,用逗号分隔
  25367. in: query
  25368. name: accountids
  25369. required: true
  25370. type: string
  25371. - description: 状态,0为未结束 1为已结束
  25372. in: query
  25373. name: status
  25374. required: true
  25375. type: integer
  25376. produces:
  25377. - application/json
  25378. responses:
  25379. "200":
  25380. description: OK
  25381. schema:
  25382. items:
  25383. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  25384. type: array
  25385. "500":
  25386. description: Internal Server Error
  25387. schema:
  25388. $ref: '#/definitions/app.Response'
  25389. security:
  25390. - ApiKeyAuth: []
  25391. summary: 查询业务表单数据
  25392. tags:
  25393. - 风险管理v3
  25394. /Erms3/QueryPendingAuditContract:
  25395. get:
  25396. parameters:
  25397. - description: 资金账号ID列表,逗号隔开
  25398. in: query
  25399. name: accountids
  25400. required: true
  25401. type: string
  25402. - description: 合同类型 1-采购 -1-销售
  25403. in: query
  25404. name: contracttype
  25405. required: true
  25406. type: integer
  25407. - description: 合同模式 1-普通 2-回购
  25408. in: query
  25409. name: contractmode
  25410. required: true
  25411. type: integer
  25412. produces:
  25413. - application/json
  25414. responses:
  25415. "200":
  25416. description: OK
  25417. schema:
  25418. items:
  25419. $ref: '#/definitions/erms3.QryAuditContractRsp'
  25420. type: array
  25421. "500":
  25422. description: Internal Server Error
  25423. schema:
  25424. $ref: '#/definitions/app.Response'
  25425. security:
  25426. - ApiKeyAuth: []
  25427. summary: 查询待审核合同
  25428. tags:
  25429. - 风险管理v3
  25430. /Erms3/QueryPendingBusiness:
  25431. get:
  25432. parameters:
  25433. - description: 资金账号ID列表,逗号隔开
  25434. in: query
  25435. name: accountids
  25436. required: true
  25437. type: string
  25438. produces:
  25439. - application/json
  25440. responses:
  25441. "200":
  25442. description: OK
  25443. schema:
  25444. items:
  25445. $ref: '#/definitions/erms3.QryPendingBizRsp'
  25446. type: array
  25447. "500":
  25448. description: Internal Server Error
  25449. schema:
  25450. $ref: '#/definitions/app.Response'
  25451. security:
  25452. - ApiKeyAuth: []
  25453. summary: 查询待审核基差贸易业务
  25454. tags:
  25455. - 风险管理v3
  25456. /Erms3/QuerySpotContractAppleForm:
  25457. get:
  25458. parameters:
  25459. - description: 登录账号
  25460. in: query
  25461. name: loginID
  25462. required: true
  25463. type: integer
  25464. produces:
  25465. - application/json
  25466. responses:
  25467. "200":
  25468. description: OK
  25469. schema:
  25470. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  25471. "500":
  25472. description: Internal Server Error
  25473. schema:
  25474. $ref: '#/definitions/app.Response'
  25475. security:
  25476. - ApiKeyAuth: []
  25477. summary: 查询合同申请表单数据
  25478. tags:
  25479. - 风险管理v3
  25480. /Erms3/QuerySpotContractDetail:
  25481. get:
  25482. parameters:
  25483. - description: 资金账号ID列表,用逗号分隔
  25484. in: query
  25485. name: accountids
  25486. required: true
  25487. type: string
  25488. - description: 合同类型,1为采购合同 -1为销售合同
  25489. in: query
  25490. name: contracttype
  25491. required: true
  25492. type: integer
  25493. - description: 合同模式,1为普通合同 2为回购销售合同
  25494. in: query
  25495. name: contractmode
  25496. required: true
  25497. type: integer
  25498. - description: 状态,0为履约中 1为已完成
  25499. in: query
  25500. name: status
  25501. required: true
  25502. type: integer
  25503. produces:
  25504. - application/json
  25505. responses:
  25506. "200":
  25507. description: OK
  25508. schema:
  25509. items:
  25510. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  25511. type: array
  25512. "500":
  25513. description: Internal Server Error
  25514. schema:
  25515. $ref: '#/definitions/app.Response'
  25516. security:
  25517. - ApiKeyAuth: []
  25518. summary: 查询合同详细信息
  25519. tags:
  25520. - 风险管理v3
  25521. /Erms3/QueryUserInfoApplies:
  25522. get:
  25523. parameters:
  25524. - description: 页码
  25525. in: query
  25526. name: page
  25527. type: integer
  25528. - description: 每页条数
  25529. in: query
  25530. name: pagesize
  25531. type: integer
  25532. - description: 客户名称,支持模糊查询
  25533. in: query
  25534. name: userName
  25535. type: string
  25536. produces:
  25537. - application/json
  25538. responses:
  25539. "200":
  25540. description: OK
  25541. schema:
  25542. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  25543. "500":
  25544. description: Internal Server Error
  25545. schema:
  25546. $ref: '#/definitions/app.Response'
  25547. security:
  25548. - ApiKeyAuth: []
  25549. summary: 客户申请信息查询
  25550. tags:
  25551. - 风险管理v3
  25552. /Erms3/QueryUserInfos:
  25553. get:
  25554. parameters:
  25555. - description: 页码
  25556. in: query
  25557. name: page
  25558. type: integer
  25559. - description: 每页条数
  25560. in: query
  25561. name: pagesize
  25562. type: integer
  25563. - description: 客户名称,支持模糊查询
  25564. in: query
  25565. name: userName
  25566. type: string
  25567. produces:
  25568. - application/json
  25569. responses:
  25570. "200":
  25571. description: OK
  25572. schema:
  25573. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  25574. "500":
  25575. description: Internal Server Error
  25576. schema:
  25577. $ref: '#/definitions/app.Response'
  25578. security:
  25579. - ApiKeyAuth: []
  25580. summary: 客户信息查询
  25581. tags:
  25582. - 风险管理v3
  25583. /HSBY/GetHsbyMyCount:
  25584. get:
  25585. description: 说明: 不包括已完成的数量。
  25586. parameters:
  25587. - description: 资金账户列表,格式:1,2,3
  25588. in: query
  25589. name: accountIDs
  25590. required: true
  25591. type: string
  25592. produces:
  25593. - application/json
  25594. responses:
  25595. "200":
  25596. description: OK
  25597. schema:
  25598. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  25599. "500":
  25600. description: Internal Server Error
  25601. schema:
  25602. $ref: '#/definitions/app.Response'
  25603. security:
  25604. - ApiKeyAuth: []
  25605. summary: 获取我的订单与包裹数量
  25606. tags:
  25607. - 定制【海商报业】
  25608. /HSBY/QueryClientFixedADConfigs:
  25609. get:
  25610. produces:
  25611. - application/json
  25612. responses:
  25613. "200":
  25614. description: OK
  25615. schema:
  25616. $ref: '#/definitions/models.Clientfixedadconfig'
  25617. "500":
  25618. description: Internal Server Error
  25619. schema:
  25620. $ref: '#/definitions/app.Response'
  25621. security:
  25622. - ApiKeyAuth: []
  25623. summary: 获取终端固定广告配置
  25624. tags:
  25625. - 定制【海商报业】
  25626. /HSBY/QueryHsbyBuyMyTradeDetail:
  25627. get:
  25628. parameters:
  25629. - description: 页码
  25630. in: query
  25631. name: page
  25632. type: integer
  25633. - description: 每页条数
  25634. in: query
  25635. name: pagesize
  25636. type: integer
  25637. - description: 资金账户列表,格式:1,2,3
  25638. in: query
  25639. name: accountIDs
  25640. required: true
  25641. type: string
  25642. produces:
  25643. - application/json
  25644. responses:
  25645. "200":
  25646. description: OK
  25647. schema:
  25648. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  25649. "500":
  25650. description: Internal Server Error
  25651. schema:
  25652. $ref: '#/definitions/app.Response'
  25653. security:
  25654. - ApiKeyAuth: []
  25655. summary: 查询"我的订单 - 已完成"单据信息
  25656. tags:
  25657. - 定制【海商报业】
  25658. /HSBY/QueryHsbyGoodsOrderDetails:
  25659. get:
  25660. description: 说明:查询结果已按委托价格和委托时间排序
  25661. parameters:
  25662. - description: 商品ID
  25663. in: query
  25664. name: goodsID
  25665. required: true
  25666. type: integer
  25667. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  25668. in: query
  25669. name: accountIDs
  25670. type: string
  25671. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  25672. in: query
  25673. name: buyOrSell
  25674. type: integer
  25675. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  25676. in: query
  25677. name: price
  25678. type: number
  25679. - description: 档位,不传则默认为3档
  25680. in: query
  25681. name: speed
  25682. type: integer
  25683. produces:
  25684. - application/json
  25685. responses:
  25686. "200":
  25687. description: OK
  25688. schema:
  25689. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  25690. "500":
  25691. description: Internal Server Error
  25692. schema:
  25693. $ref: '#/definitions/app.Response'
  25694. security:
  25695. - ApiKeyAuth: []
  25696. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  25697. tags:
  25698. - 定制【海商报业】
  25699. /HSBY/QueryHsbyListingGoodsDetail:
  25700. get:
  25701. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  25702. parameters:
  25703. - description: 商品ID
  25704. in: query
  25705. name: goodsID
  25706. required: true
  25707. type: integer
  25708. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  25709. in: query
  25710. name: accountID
  25711. type: integer
  25712. produces:
  25713. - application/json
  25714. responses:
  25715. "200":
  25716. description: OK
  25717. schema:
  25718. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  25719. "500":
  25720. description: Internal Server Error
  25721. schema:
  25722. $ref: '#/definitions/app.Response'
  25723. security:
  25724. - ApiKeyAuth: []
  25725. summary: 查询二级市场(挂牌点选)商品信息详情
  25726. tags:
  25727. - 定制【海商报业】
  25728. /HSBY/QueryHsbyMarketGoodsDetail:
  25729. get:
  25730. parameters:
  25731. - description: 委托单号
  25732. in: query
  25733. name: orderID
  25734. required: true
  25735. type: integer
  25736. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  25737. in: query
  25738. name: accountID
  25739. type: integer
  25740. produces:
  25741. - application/json
  25742. responses:
  25743. "200":
  25744. description: OK
  25745. schema:
  25746. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  25747. "500":
  25748. description: Internal Server Error
  25749. schema:
  25750. $ref: '#/definitions/app.Response'
  25751. security:
  25752. - ApiKeyAuth: []
  25753. summary: 查询三级市场(商城)商品信息详情
  25754. tags:
  25755. - 定制【海商报业】
  25756. /HSBY/QueryHsbyMarketGoodses:
  25757. get:
  25758. parameters:
  25759. - description: 页码
  25760. in: query
  25761. name: page
  25762. type: integer
  25763. - description: 每页条数
  25764. in: query
  25765. name: pagesize
  25766. type: integer
  25767. - description: 市场ID列表,格式:1,2,3
  25768. in: query
  25769. name: marketIDs
  25770. required: true
  25771. type: string
  25772. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  25773. in: query
  25774. name: accountID
  25775. required: true
  25776. type: integer
  25777. - description: 类别ID
  25778. in: query
  25779. name: categoryID
  25780. type: integer
  25781. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  25782. in: query
  25783. name: goodsIDs
  25784. type: string
  25785. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  25786. in: query
  25787. name: couponTypeID
  25788. type: integer
  25789. produces:
  25790. - application/json
  25791. responses:
  25792. "200":
  25793. description: OK
  25794. schema:
  25795. $ref: '#/definitions/models.HsbyMarketGoods'
  25796. "500":
  25797. description: Internal Server Error
  25798. schema:
  25799. $ref: '#/definitions/app.Response'
  25800. security:
  25801. - ApiKeyAuth: []
  25802. summary: 查询特卖商品列表(三级商城)
  25803. tags:
  25804. - 定制【海商报业】
  25805. /HSBY/QueryHsbyMarkets:
  25806. get:
  25807. produces:
  25808. - application/json
  25809. responses:
  25810. "200":
  25811. description: OK
  25812. schema:
  25813. $ref: '#/definitions/models.HsbyMarketInfo'
  25814. "500":
  25815. description: Internal Server Error
  25816. schema:
  25817. $ref: '#/definitions/app.Response'
  25818. security:
  25819. - ApiKeyAuth: []
  25820. summary: 查询海商报业相关市场信息
  25821. tags:
  25822. - 定制【海商报业】
  25823. /HSBY/QueryHsbyMyBuyOrderDetails:
  25824. get:
  25825. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  25826. parameters:
  25827. - description: 资金账户列表,格式:1,2,3
  25828. in: query
  25829. name: accountIDs
  25830. required: true
  25831. type: string
  25832. produces:
  25833. - application/json
  25834. responses:
  25835. "200":
  25836. description: OK
  25837. schema:
  25838. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  25839. "500":
  25840. description: Internal Server Error
  25841. schema:
  25842. $ref: '#/definitions/app.Response'
  25843. security:
  25844. - ApiKeyAuth: []
  25845. summary: 查询“我的订单”信息
  25846. tags:
  25847. - 定制【海商报业】
  25848. /HSBY/QueryHsbyMyGoods:
  25849. get:
  25850. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  25851. parameters:
  25852. - description: 资金账户列表,格式:1,2,3
  25853. in: query
  25854. name: accountIDs
  25855. required: true
  25856. type: string
  25857. produces:
  25858. - application/json
  25859. responses:
  25860. "200":
  25861. description: OK
  25862. schema:
  25863. $ref: '#/definitions/models.HsbyMyGoods'
  25864. "500":
  25865. description: Internal Server Error
  25866. schema:
  25867. $ref: '#/definitions/app.Response'
  25868. security:
  25869. - ApiKeyAuth: []
  25870. summary: 查询“我的商品”信息
  25871. tags:
  25872. - 定制【海商报业】
  25873. /HSBY/QueryHsbyMyPackages:
  25874. get:
  25875. parameters:
  25876. - description: 资金账户列表,格式:1,2,3
  25877. in: query
  25878. name: accountIDs
  25879. required: true
  25880. type: string
  25881. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25882. in: query
  25883. name: takeOrderStatus
  25884. type: integer
  25885. produces:
  25886. - application/json
  25887. responses:
  25888. "200":
  25889. description: OK
  25890. schema:
  25891. $ref: '#/definitions/models.HsbyMyPackage'
  25892. "500":
  25893. description: Internal Server Error
  25894. schema:
  25895. $ref: '#/definitions/app.Response'
  25896. security:
  25897. - ApiKeyAuth: []
  25898. summary: 查询我的包裹信息
  25899. tags:
  25900. - 定制【海商报业】
  25901. /HSBY/QueryHsbyPreGoodsDetail:
  25902. get:
  25903. parameters:
  25904. - description: 商品ID
  25905. in: query
  25906. name: goodsID
  25907. required: true
  25908. type: integer
  25909. - description: 资金账户,主要用于获取预售商品购买上限
  25910. in: query
  25911. name: accountID
  25912. type: integer
  25913. produces:
  25914. - application/json
  25915. responses:
  25916. "200":
  25917. description: OK
  25918. schema:
  25919. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  25920. "500":
  25921. description: Internal Server Error
  25922. schema:
  25923. $ref: '#/definitions/app.Response'
  25924. security:
  25925. - ApiKeyAuth: []
  25926. summary: 查询一级市场(预售)商品信息详情
  25927. tags:
  25928. - 定制【海商报业】
  25929. /HSBY/QueryHsbyPreGoodses:
  25930. get:
  25931. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  25932. parameters:
  25933. - description: 页码
  25934. in: query
  25935. name: page
  25936. type: integer
  25937. - description: 每页条数
  25938. in: query
  25939. name: pagesize
  25940. type: integer
  25941. - description: 市场ID列表,格式:1,2,3
  25942. in: query
  25943. name: marketIDs
  25944. required: true
  25945. type: string
  25946. - description: 目的地(省)ID
  25947. in: query
  25948. name: descProvinceID
  25949. type: integer
  25950. - description: 目的地(市)ID
  25951. in: query
  25952. name: descCityID
  25953. type: integer
  25954. produces:
  25955. - application/json
  25956. responses:
  25957. "200":
  25958. description: OK
  25959. schema:
  25960. $ref: '#/definitions/models.HsbyPreGoods'
  25961. "500":
  25962. description: Internal Server Error
  25963. schema:
  25964. $ref: '#/definitions/app.Response'
  25965. security:
  25966. - ApiKeyAuth: []
  25967. summary: 查询新品上市商品列表(一级市场预售)
  25968. tags:
  25969. - 定制【海商报业】
  25970. /HSBY/QueryHsbySellMyDetails:
  25971. get:
  25972. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  25973. parameters:
  25974. - description: 页码
  25975. in: query
  25976. name: page
  25977. type: integer
  25978. - description: 每页条数
  25979. in: query
  25980. name: pagesize
  25981. type: integer
  25982. - description: 资金账户列表,格式:1,2,3
  25983. in: query
  25984. name: accountIDs
  25985. required: true
  25986. type: string
  25987. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  25988. in: query
  25989. name: orderType
  25990. type: integer
  25991. produces:
  25992. - application/json
  25993. responses:
  25994. "200":
  25995. description: OK
  25996. schema:
  25997. $ref: '#/definitions/models.HsbySellMyDetail'
  25998. "500":
  25999. description: Internal Server Error
  26000. schema:
  26001. $ref: '#/definitions/app.Response'
  26002. security:
  26003. - ApiKeyAuth: []
  26004. summary: 查询"我的闲置"单据信息
  26005. tags:
  26006. - 定制【海商报业】
  26007. /HSBY/QueryHsbyTopGoodses:
  26008. get:
  26009. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  26010. parameters:
  26011. - description: 页码
  26012. in: query
  26013. name: page
  26014. type: integer
  26015. - description: 每页条数
  26016. in: query
  26017. name: pagesize
  26018. type: integer
  26019. - description: 市场ID列表,格式:1,2,3
  26020. in: query
  26021. name: marketIDs
  26022. required: true
  26023. type: string
  26024. - description: 目的地(省)ID
  26025. in: query
  26026. name: descProvinceID
  26027. type: integer
  26028. - description: 目的地(市)ID
  26029. in: query
  26030. name: descCityID
  26031. type: integer
  26032. produces:
  26033. - application/json
  26034. responses:
  26035. "200":
  26036. description: OK
  26037. schema:
  26038. $ref: '#/definitions/models.HsbyTopGoods'
  26039. "500":
  26040. description: Internal Server Error
  26041. schema:
  26042. $ref: '#/definitions/app.Response'
  26043. security:
  26044. - ApiKeyAuth: []
  26045. summary: 查询热卖商品列表(二级市场挂牌点选)
  26046. tags:
  26047. - 定制【海商报业】
  26048. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  26049. get:
  26050. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  26051. parameters:
  26052. - description: 商品ID
  26053. in: query
  26054. name: goodsID
  26055. required: true
  26056. type: integer
  26057. produces:
  26058. - application/json
  26059. responses:
  26060. "200":
  26061. description: OK
  26062. schema:
  26063. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26064. "500":
  26065. description: Internal Server Error
  26066. schema:
  26067. $ref: '#/definitions/app.Response'
  26068. security:
  26069. - ApiKeyAuth: []
  26070. summary: 查询游客三级市场(商城)商品信息详情
  26071. tags:
  26072. - 定制【海商报业】
  26073. /HSBY/QueryHsbyVisitorMarketGoodses:
  26074. get:
  26075. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  26076. parameters:
  26077. - description: 页码
  26078. in: query
  26079. name: page
  26080. type: integer
  26081. - description: 每页条数
  26082. in: query
  26083. name: pagesize
  26084. type: integer
  26085. - description: 市场ID列表,格式:1,2,3
  26086. in: query
  26087. name: marketIDs
  26088. required: true
  26089. type: string
  26090. - description: 类别ID
  26091. in: query
  26092. name: categoryID
  26093. type: integer
  26094. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26095. in: query
  26096. name: goodsIDs
  26097. type: string
  26098. produces:
  26099. - application/json
  26100. responses:
  26101. "200":
  26102. description: OK
  26103. schema:
  26104. $ref: '#/definitions/models.HsbyMarketGoods'
  26105. "500":
  26106. description: Internal Server Error
  26107. schema:
  26108. $ref: '#/definitions/app.Response'
  26109. security:
  26110. - ApiKeyAuth: []
  26111. summary: 查询游客特卖商品列表(三级商城)
  26112. tags:
  26113. - 定制【海商报业】
  26114. /HSBY/QueryMyCollectionOrders:
  26115. get:
  26116. parameters:
  26117. - description: 页码
  26118. in: query
  26119. name: page
  26120. type: integer
  26121. - description: 每页条数
  26122. in: query
  26123. name: pagesize
  26124. type: integer
  26125. - description: 资金账户,格式:1,2,3
  26126. in: query
  26127. name: accountIDs
  26128. required: true
  26129. type: string
  26130. produces:
  26131. - application/json
  26132. responses:
  26133. "200":
  26134. description: OK
  26135. schema:
  26136. $ref: '#/definitions/models.HsbySellCollectionOrder'
  26137. "500":
  26138. description: Internal Server Error
  26139. schema:
  26140. $ref: '#/definitions/app.Response'
  26141. security:
  26142. - ApiKeyAuth: []
  26143. summary: 我的闲置中收款信息查询
  26144. tags:
  26145. - 定制【海商报业】
  26146. /HSBY/QueryMyCouponHolds:
  26147. get:
  26148. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  26149. parameters:
  26150. - description: 资金账户列表,格式:1,2,3
  26151. in: query
  26152. name: accountIDs
  26153. required: true
  26154. type: string
  26155. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  26156. in: query
  26157. name: holdStatus
  26158. type: string
  26159. produces:
  26160. - application/json
  26161. responses:
  26162. "200":
  26163. description: OK
  26164. schema:
  26165. $ref: '#/definitions/models.MyCouponHold'
  26166. "500":
  26167. description: Internal Server Error
  26168. schema:
  26169. $ref: '#/definitions/app.Response'
  26170. security:
  26171. - ApiKeyAuth: []
  26172. summary: 我的优惠卷持仓查询
  26173. tags:
  26174. - 定制【海商报业】
  26175. /HSBY/QueryMyCoupons:
  26176. get:
  26177. parameters:
  26178. - description: 资金账户列表,格式:1,2,3
  26179. in: query
  26180. name: accountIDs
  26181. required: true
  26182. type: string
  26183. - description: 商品ID, 一般与sellUserID配套传入
  26184. in: query
  26185. name: goodsID
  26186. type: integer
  26187. - description: 卖方UserID
  26188. in: query
  26189. name: sellUserID
  26190. type: integer
  26191. produces:
  26192. - application/json
  26193. responses:
  26194. "200":
  26195. description: OK
  26196. schema:
  26197. $ref: '#/definitions/models.MyCoupon'
  26198. "500":
  26199. description: Internal Server Error
  26200. schema:
  26201. $ref: '#/definitions/app.Response'
  26202. security:
  26203. - ApiKeyAuth: []
  26204. summary: 我的优惠卷查询
  26205. tags:
  26206. - 定制【海商报业】
  26207. /HSBY/QueryMyPayOrders:
  26208. get:
  26209. parameters:
  26210. - description: 页码
  26211. in: query
  26212. name: page
  26213. type: integer
  26214. - description: 每页条数
  26215. in: query
  26216. name: pagesize
  26217. type: integer
  26218. - description: 资金账户列表,格式:1,2,3
  26219. in: query
  26220. name: accountIDs
  26221. required: true
  26222. type: string
  26223. - description: 买方委托单号
  26224. in: query
  26225. name: buyOrderID
  26226. type: integer
  26227. - description: 卖方委托单号
  26228. in: query
  26229. name: sellOrderID
  26230. type: integer
  26231. produces:
  26232. - application/json
  26233. responses:
  26234. "200":
  26235. description: OK
  26236. schema:
  26237. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  26238. "500":
  26239. description: Internal Server Error
  26240. schema:
  26241. $ref: '#/definitions/app.Response'
  26242. security:
  26243. - ApiKeyAuth: []
  26244. summary: 获取我的订单中待付款信息
  26245. tags:
  26246. - 定制【海商报业】
  26247. /HSBY/QueryMyUsedCoupon:
  26248. get:
  26249. parameters:
  26250. - description: 资金账户列表,格式:1,2,3
  26251. in: query
  26252. name: accountIDs
  26253. required: true
  26254. type: string
  26255. produces:
  26256. - application/json
  26257. responses:
  26258. "200":
  26259. description: OK
  26260. schema:
  26261. $ref: '#/definitions/models.MyUsedCoupon'
  26262. "500":
  26263. description: Internal Server Error
  26264. schema:
  26265. $ref: '#/definitions/app.Response'
  26266. security:
  26267. - ApiKeyAuth: []
  26268. summary: 已使用优惠卷查询
  26269. tags:
  26270. - 定制【海商报业】
  26271. /HSBY/QueryProvincesAndCities:
  26272. get:
  26273. description: 查询结果只包括二级市场商品已关连的省市信息。
  26274. parameters:
  26275. - description: 省ID
  26276. in: query
  26277. name: provinceID
  26278. type: integer
  26279. produces:
  26280. - application/json
  26281. responses:
  26282. "200":
  26283. description: OK
  26284. schema:
  26285. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  26286. "500":
  26287. description: Internal Server Error
  26288. schema:
  26289. $ref: '#/definitions/app.Response'
  26290. security:
  26291. - ApiKeyAuth: []
  26292. summary: 查询省市信息(不包括区)
  26293. tags:
  26294. - 定制【海商报业】
  26295. /HSBY/SetHsbyMyPackagesStatus:
  26296. post:
  26297. parameters:
  26298. - description: 提货单号
  26299. in: query
  26300. name: takeOrderID
  26301. required: true
  26302. type: string
  26303. - description: 资金账号
  26304. in: query
  26305. name: accountID
  26306. required: true
  26307. type: integer
  26308. produces:
  26309. - application/json
  26310. responses:
  26311. "200":
  26312. description: OK
  26313. schema:
  26314. $ref: '#/definitions/app.Response'
  26315. "500":
  26316. description: Internal Server Error
  26317. schema:
  26318. $ref: '#/definitions/app.Response'
  26319. security:
  26320. - ApiKeyAuth: []
  26321. summary: 设置我的包裹已收货状态
  26322. tags:
  26323. - 定制【海商报业】
  26324. /Market/GetAllExExchanges:
  26325. get:
  26326. produces:
  26327. - application/json
  26328. responses:
  26329. "200":
  26330. description: OK
  26331. schema:
  26332. $ref: '#/definitions/models.Goods'
  26333. "500":
  26334. description: Internal Server Error
  26335. schema:
  26336. $ref: '#/definitions/app.Response'
  26337. security:
  26338. - ApiKeyAuth: []
  26339. summary: 获取所有外部交易所信息
  26340. tags:
  26341. - 通用市场
  26342. /Market/QueryGoodsesByLoginID:
  26343. get:
  26344. parameters:
  26345. - description: 登录账号
  26346. in: query
  26347. name: loginID
  26348. required: true
  26349. type: integer
  26350. - description: 市场ID列表,格式:1,2,3
  26351. in: query
  26352. name: marketIDs
  26353. type: string
  26354. produces:
  26355. - application/json
  26356. responses:
  26357. "200":
  26358. description: OK
  26359. schema:
  26360. $ref: '#/definitions/models.Goods'
  26361. "500":
  26362. description: Internal Server Error
  26363. schema:
  26364. $ref: '#/definitions/app.Response'
  26365. security:
  26366. - ApiKeyAuth: []
  26367. summary: 获取登录账号有权限的商品信息
  26368. tags:
  26369. - 通用市场
  26370. /Market/QueryMarketRun:
  26371. get:
  26372. parameters:
  26373. - description: 市场ID,不传返回所有
  26374. in: query
  26375. name: marketID
  26376. type: integer
  26377. produces:
  26378. - application/json
  26379. responses:
  26380. "200":
  26381. description: OK
  26382. schema:
  26383. $ref: '#/definitions/models.Marketrun'
  26384. "500":
  26385. description: Internal Server Error
  26386. schema:
  26387. $ref: '#/definitions/app.Response'
  26388. security:
  26389. - ApiKeyAuth: []
  26390. summary: 查询市场运行信息
  26391. tags:
  26392. - 通用市场
  26393. /Market/QueryMarketsByLoginID:
  26394. get:
  26395. parameters:
  26396. - description: 登录账号
  26397. in: query
  26398. name: loginID
  26399. required: true
  26400. type: integer
  26401. produces:
  26402. - application/json
  26403. responses:
  26404. "200":
  26405. description: OK
  26406. schema:
  26407. $ref: '#/definitions/models.Market'
  26408. "500":
  26409. description: Internal Server Error
  26410. schema:
  26411. $ref: '#/definitions/app.Response'
  26412. security:
  26413. - ApiKeyAuth: []
  26414. summary: 获取登录账号有权限的市场信息
  26415. tags:
  26416. - 通用市场
  26417. /Order/QueryHisTradeDetail:
  26418. get:
  26419. parameters:
  26420. - description: 资金账户 - 格式:1,2,3
  26421. in: query
  26422. name: accountID
  26423. required: true
  26424. type: string
  26425. - description: 成交单号
  26426. in: query
  26427. name: tradeID
  26428. type: integer
  26429. - description: 委托单号
  26430. in: query
  26431. name: orderID
  26432. type: integer
  26433. - description: 商品ID
  26434. in: query
  26435. name: goodsID
  26436. type: integer
  26437. - description: 交易模式 - 格式:1,2,3
  26438. in: query
  26439. name: tradeMode
  26440. type: string
  26441. - description: 委托单据类型
  26442. in: query
  26443. name: buildType
  26444. type: integer
  26445. - description: 成交类别 - 格式:1,2,3
  26446. in: query
  26447. name: tradeType
  26448. type: string
  26449. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26450. in: query
  26451. name: startDate
  26452. type: string
  26453. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26454. in: query
  26455. name: endDate
  26456. type: string
  26457. produces:
  26458. - application/json
  26459. responses:
  26460. "200":
  26461. description: OK
  26462. schema:
  26463. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  26464. "500":
  26465. description: Internal Server Error
  26466. schema:
  26467. $ref: '#/definitions/app.Response'
  26468. security:
  26469. - ApiKeyAuth: []
  26470. summary: 历史成交单查询(合约市场)
  26471. tags:
  26472. - 通用单据
  26473. /Order/QueryHisTradeOrderDetail:
  26474. get:
  26475. parameters:
  26476. - description: 资金账户 - 格式:1,2,3
  26477. in: query
  26478. name: accountID
  26479. required: true
  26480. type: string
  26481. - description: 交易模式 - 格式:1,2,3
  26482. in: query
  26483. name: tradeMode
  26484. type: string
  26485. - description: 委托状态 - 格式:1,2,3
  26486. in: query
  26487. name: orderStatus
  26488. type: string
  26489. - description: 委托单号
  26490. in: query
  26491. name: orderID
  26492. type: integer
  26493. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26494. in: query
  26495. name: startDate
  26496. type: string
  26497. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26498. in: query
  26499. name: endDate
  26500. type: string
  26501. produces:
  26502. - application/json
  26503. responses:
  26504. "200":
  26505. description: OK
  26506. schema:
  26507. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  26508. "500":
  26509. description: Internal Server Error
  26510. schema:
  26511. $ref: '#/definitions/app.Response'
  26512. security:
  26513. - ApiKeyAuth: []
  26514. summary: 历史委托单查询请求(合约市场)
  26515. tags:
  26516. - 通用单据
  26517. /Order/QueryTradeDetail:
  26518. get:
  26519. parameters:
  26520. - description: 资金账户 - 格式:1,2,3
  26521. in: query
  26522. name: accountID
  26523. required: true
  26524. type: string
  26525. - description: 成交单号
  26526. in: query
  26527. name: tradeID
  26528. type: integer
  26529. - description: 委托单号
  26530. in: query
  26531. name: orderID
  26532. type: integer
  26533. - description: 交易模式 - 格式:1,2,3
  26534. in: query
  26535. name: tradeMode
  26536. type: string
  26537. - description: 委托单据类型
  26538. in: query
  26539. name: buildType
  26540. type: integer
  26541. - description: 成交类别 - 格式:1,2,3
  26542. in: query
  26543. name: tradeType
  26544. type: string
  26545. - description: 商品ID
  26546. in: query
  26547. name: goodsID
  26548. type: integer
  26549. produces:
  26550. - application/json
  26551. responses:
  26552. "200":
  26553. description: OK
  26554. schema:
  26555. $ref: '#/definitions/order.QueryTradeDetailRsp'
  26556. "500":
  26557. description: Internal Server Error
  26558. schema:
  26559. $ref: '#/definitions/app.Response'
  26560. security:
  26561. - ApiKeyAuth: []
  26562. summary: 成交单查询(合约市场)
  26563. tags:
  26564. - 通用单据
  26565. /Order/QueryTradeHolderDetail:
  26566. get:
  26567. parameters:
  26568. - description: 用户id
  26569. in: query
  26570. name: userid
  26571. type: integer
  26572. - description: 资金账号, 格式 1,2,3
  26573. in: query
  26574. name: accids
  26575. type: string
  26576. - description: 交易模式, 格式 1,2,3
  26577. in: query
  26578. name: trademodes
  26579. type: string
  26580. - description: 市场id, 格式 1,2,3
  26581. in: query
  26582. name: marketids
  26583. type: string
  26584. - description: 商品id
  26585. in: query
  26586. name: goodsid
  26587. type: integer
  26588. - description: 买卖方向 0-买 1-卖
  26589. in: query
  26590. name: buyorsell
  26591. type: integer
  26592. produces:
  26593. - application/json
  26594. responses:
  26595. "200":
  26596. description: OK
  26597. schema:
  26598. items:
  26599. $ref: '#/definitions/models.TradeHolderDetail'
  26600. type: array
  26601. "500":
  26602. description: Internal Server Error
  26603. schema:
  26604. $ref: '#/definitions/app.Response'
  26605. security:
  26606. - ApiKeyAuth: []
  26607. summary: 查询持仓明细
  26608. tags:
  26609. - 通用单据
  26610. /Order/QueryTradeOrderDetail:
  26611. get:
  26612. parameters:
  26613. - description: 资金账户 - 格式:1,2,3
  26614. in: query
  26615. name: accountID
  26616. required: true
  26617. type: string
  26618. - description: 交易模式 - 格式:1,2,3
  26619. in: query
  26620. name: tradeMode
  26621. type: string
  26622. - description: 委托状态 - 格式:1,2,3
  26623. in: query
  26624. name: orderStatus
  26625. type: string
  26626. - description: 委托单号
  26627. in: query
  26628. name: orderID
  26629. type: integer
  26630. produces:
  26631. - application/json
  26632. responses:
  26633. "200":
  26634. description: OK
  26635. schema:
  26636. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  26637. "500":
  26638. description: Internal Server Error
  26639. schema:
  26640. $ref: '#/definitions/app.Response'
  26641. security:
  26642. - ApiKeyAuth: []
  26643. summary: 委托单查询请求(合约市场)
  26644. tags:
  26645. - 通用单据
  26646. /Order/QueryTradePosition:
  26647. get:
  26648. parameters:
  26649. - description: 资金账户 - 格式:1,2,3
  26650. in: query
  26651. name: accountID
  26652. required: true
  26653. type: string
  26654. - description: 交易模式 - 格式:1,2,3
  26655. in: query
  26656. name: tradeMode
  26657. type: string
  26658. produces:
  26659. - application/json
  26660. responses:
  26661. "200":
  26662. description: OK
  26663. schema:
  26664. $ref: '#/definitions/order.QueryTradePositionRsp'
  26665. "500":
  26666. description: Internal Server Error
  26667. schema:
  26668. $ref: '#/definitions/app.Response'
  26669. security:
  26670. - ApiKeyAuth: []
  26671. summary: 持仓汇总查询(合约市场)
  26672. tags:
  26673. - 通用单据
  26674. /Qhj/QueryAccountInOutApply:
  26675. get:
  26676. parameters:
  26677. - description: 用户ID
  26678. in: query
  26679. name: userid
  26680. required: true
  26681. type: integer
  26682. - description: 申请起始日期(格式yyyymmdd)
  26683. in: query
  26684. name: begindate
  26685. type: string
  26686. - description: 申请截止日期(格式yyyymmdd)
  26687. in: query
  26688. name: enddate
  26689. type: string
  26690. - description: 模糊搜索名称
  26691. in: query
  26692. name: likename
  26693. type: string
  26694. produces:
  26695. - application/json
  26696. responses:
  26697. "200":
  26698. description: OK
  26699. schema:
  26700. items:
  26701. $ref: '#/definitions/models.QhjAccountOutInApply'
  26702. type: array
  26703. "500":
  26704. description: Internal Server Error
  26705. schema:
  26706. $ref: '#/definitions/app.Response'
  26707. security:
  26708. - ApiKeyAuth: []
  26709. summary: 查询充值提现
  26710. tags:
  26711. - 大连千海金
  26712. /Qhj/QueryAreaFinanceConfig:
  26713. get:
  26714. parameters:
  26715. - description: 机构用户ID 其他做市关系,都设置为 1
  26716. in: query
  26717. name: userid
  26718. type: integer
  26719. produces:
  26720. - application/json
  26721. responses:
  26722. "200":
  26723. description: OK
  26724. schema:
  26725. items:
  26726. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  26727. type: array
  26728. "500":
  26729. description: Internal Server Error
  26730. schema:
  26731. $ref: '#/definitions/app.Response'
  26732. security:
  26733. - ApiKeyAuth: []
  26734. summary: 查询企业配置表
  26735. tags:
  26736. - 大连千海金
  26737. /Qhj/QueryBankAccountSign:
  26738. get:
  26739. parameters:
  26740. - description: 用户ID
  26741. in: query
  26742. name: userid
  26743. required: true
  26744. type: integer
  26745. produces:
  26746. - application/json
  26747. responses:
  26748. "200":
  26749. description: OK
  26750. schema:
  26751. items:
  26752. $ref: '#/definitions/models.QhjBankAccountSign'
  26753. type: array
  26754. "500":
  26755. description: Internal Server Error
  26756. schema:
  26757. $ref: '#/definitions/app.Response'
  26758. security:
  26759. - ApiKeyAuth: []
  26760. summary: 查询签约银行信息(提现账户管理)
  26761. tags:
  26762. - 大连千海金
  26763. /Qhj/QueryBankInfo:
  26764. get:
  26765. produces:
  26766. - application/json
  26767. responses:
  26768. "200":
  26769. description: OK
  26770. schema:
  26771. items:
  26772. $ref: '#/definitions/models.QhjBankInfo'
  26773. type: array
  26774. "500":
  26775. description: Internal Server Error
  26776. schema:
  26777. $ref: '#/definitions/app.Response'
  26778. security:
  26779. - ApiKeyAuth: []
  26780. summary: 查询开户行
  26781. tags:
  26782. - 大连千海金
  26783. /Qhj/QueryBrokerApply:
  26784. get:
  26785. parameters:
  26786. - description: 所属机构ID
  26787. in: query
  26788. name: userid
  26789. type: integer
  26790. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26791. in: query
  26792. name: filterstatus
  26793. type: string
  26794. produces:
  26795. - application/json
  26796. responses:
  26797. "200":
  26798. description: OK
  26799. schema:
  26800. items:
  26801. $ref: '#/definitions/models.QhjBrokerApply'
  26802. type: array
  26803. "500":
  26804. description: Internal Server Error
  26805. schema:
  26806. $ref: '#/definitions/app.Response'
  26807. security:
  26808. - ApiKeyAuth: []
  26809. summary: 查询经纪人申请
  26810. tags:
  26811. - 大连千海金
  26812. /Qhj/QueryBrokerApplyEx:
  26813. get:
  26814. parameters:
  26815. - description: 所属机构ID
  26816. in: query
  26817. name: userid
  26818. type: integer
  26819. produces:
  26820. - application/json
  26821. responses:
  26822. "200":
  26823. description: OK
  26824. schema:
  26825. items:
  26826. $ref: '#/definitions/models.QhjBrokerApplyEx'
  26827. type: array
  26828. "500":
  26829. description: Internal Server Error
  26830. schema:
  26831. $ref: '#/definitions/app.Response'
  26832. security:
  26833. - ApiKeyAuth: []
  26834. summary: 查询经纪人信息和申请记录
  26835. tags:
  26836. - 大连千海金
  26837. /Qhj/QueryBrokerRewardLog:
  26838. get:
  26839. parameters:
  26840. - description: 用户ID
  26841. in: query
  26842. name: userid
  26843. required: true
  26844. type: integer
  26845. - description: 开始交易日(yyyymmdd)
  26846. in: query
  26847. name: begindate
  26848. type: string
  26849. - description: 结束交易日(yyyymmdd)
  26850. in: query
  26851. name: enddate
  26852. type: string
  26853. produces:
  26854. - application/json
  26855. responses:
  26856. "200":
  26857. description: OK
  26858. schema:
  26859. items:
  26860. $ref: '#/definitions/models.QhjBrokerRewardLog'
  26861. type: array
  26862. "500":
  26863. description: Internal Server Error
  26864. schema:
  26865. $ref: '#/definitions/app.Response'
  26866. security:
  26867. - ApiKeyAuth: []
  26868. summary: 查询奖励流水(我的奖励)
  26869. tags:
  26870. - 大连千海金
  26871. /Qhj/QueryContract:
  26872. get:
  26873. parameters:
  26874. - description: 用户ID
  26875. in: query
  26876. name: userid
  26877. type: integer
  26878. - description: scf合同id
  26879. in: query
  26880. name: scfcontractid
  26881. type: integer
  26882. produces:
  26883. - application/json
  26884. responses:
  26885. "200":
  26886. description: OK
  26887. schema:
  26888. items:
  26889. $ref: '#/definitions/models.QhjContract'
  26890. type: array
  26891. "500":
  26892. description: Internal Server Error
  26893. schema:
  26894. $ref: '#/definitions/app.Response'
  26895. security:
  26896. - ApiKeyAuth: []
  26897. summary: 查询融资明细(合同)
  26898. tags:
  26899. - 大连千海金
  26900. /Qhj/QueryContractLog:
  26901. get:
  26902. parameters:
  26903. - description: scf合同id
  26904. in: query
  26905. name: scfcontractid
  26906. required: true
  26907. type: integer
  26908. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  26909. in: query
  26910. name: amounttype
  26911. type: string
  26912. produces:
  26913. - application/json
  26914. responses:
  26915. "200":
  26916. description: OK
  26917. schema:
  26918. items:
  26919. $ref: '#/definitions/models.QhjContractLog'
  26920. type: array
  26921. "500":
  26922. description: Internal Server Error
  26923. schema:
  26924. $ref: '#/definitions/app.Response'
  26925. security:
  26926. - ApiKeyAuth: []
  26927. summary: 查询融资明细流水(融资明细详情页中的流水)
  26928. tags:
  26929. - 大连千海金
  26930. /Qhj/QueryCusBankSignBank:
  26931. get:
  26932. produces:
  26933. - application/json
  26934. responses:
  26935. "200":
  26936. description: OK
  26937. schema:
  26938. items:
  26939. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  26940. type: array
  26941. "500":
  26942. description: Internal Server Error
  26943. schema:
  26944. $ref: '#/definitions/app.Response'
  26945. security:
  26946. - ApiKeyAuth: []
  26947. summary: 查询托管银行
  26948. tags:
  26949. - 大连千海金
  26950. /Qhj/QueryCustomerInfo:
  26951. get:
  26952. parameters:
  26953. - description: 用户ID
  26954. in: query
  26955. name: userid
  26956. required: true
  26957. type: integer
  26958. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  26959. in: query
  26960. name: querytype
  26961. required: true
  26962. type: integer
  26963. - description: 客户类型 1-个人 2-企业
  26964. in: query
  26965. name: userinfotype
  26966. type: integer
  26967. - description: 客户名称(模糊匹配)
  26968. in: query
  26969. name: customername
  26970. type: string
  26971. - description: 昵称(模糊匹配)
  26972. in: query
  26973. name: nickname
  26974. type: string
  26975. - description: 是否包含子级 1-包含
  26976. in: query
  26977. name: includesub
  26978. type: integer
  26979. produces:
  26980. - application/json
  26981. responses:
  26982. "200":
  26983. description: OK
  26984. schema:
  26985. items:
  26986. $ref: '#/definitions/models.QhjCustomer'
  26987. type: array
  26988. "500":
  26989. description: Internal Server Error
  26990. schema:
  26991. $ref: '#/definitions/app.Response'
  26992. security:
  26993. - ApiKeyAuth: []
  26994. summary: 查询客户资料
  26995. tags:
  26996. - 大连千海金
  26997. /Qhj/QueryGoodsEx:
  26998. get:
  26999. parameters:
  27000. - description: 商品id
  27001. in: query
  27002. name: goodsid
  27003. type: integer
  27004. produces:
  27005. - application/json
  27006. responses:
  27007. "200":
  27008. description: OK
  27009. schema:
  27010. items:
  27011. $ref: '#/definitions/models.Qhjgoodsex'
  27012. type: array
  27013. "500":
  27014. description: Internal Server Error
  27015. schema:
  27016. $ref: '#/definitions/app.Response'
  27017. security:
  27018. - ApiKeyAuth: []
  27019. summary: 交易商品扩展表
  27020. tags:
  27021. - 大连千海金
  27022. /Qhj/QueryMyTeam:
  27023. get:
  27024. parameters:
  27025. - description: 用户ID
  27026. in: query
  27027. name: userid
  27028. required: true
  27029. type: integer
  27030. produces:
  27031. - application/json
  27032. responses:
  27033. "200":
  27034. description: OK
  27035. schema:
  27036. items:
  27037. $ref: '#/definitions/models.QhjMyTeamEx'
  27038. type: array
  27039. "500":
  27040. description: Internal Server Error
  27041. schema:
  27042. $ref: '#/definitions/app.Response'
  27043. security:
  27044. - ApiKeyAuth: []
  27045. summary: 查询我的团队
  27046. tags:
  27047. - 大连千海金
  27048. /Qhj/QueryMyTeamOrder:
  27049. get:
  27050. parameters:
  27051. - description: 页码
  27052. in: query
  27053. name: page
  27054. type: integer
  27055. - description: 每页条数
  27056. in: query
  27057. name: pagesize
  27058. type: integer
  27059. - description: 用户ID
  27060. in: query
  27061. name: userid
  27062. required: true
  27063. type: integer
  27064. - description: 交易模式
  27065. in: query
  27066. name: trademode
  27067. type: integer
  27068. - description: 名称(模糊搜索账户)
  27069. in: query
  27070. name: filtername
  27071. type: string
  27072. produces:
  27073. - application/json
  27074. responses:
  27075. "200":
  27076. description: OK
  27077. schema:
  27078. items:
  27079. $ref: '#/definitions/models.QhjTeamOrder'
  27080. type: array
  27081. "500":
  27082. description: Internal Server Error
  27083. schema:
  27084. $ref: '#/definitions/app.Response'
  27085. security:
  27086. - ApiKeyAuth: []
  27087. summary: 查询团队订单(我的团队/团队订单)
  27088. tags:
  27089. - 大连千海金
  27090. /Qhj/QueryParentAreaList:
  27091. get:
  27092. parameters:
  27093. - description: 用户ID
  27094. in: query
  27095. name: userid
  27096. required: true
  27097. type: integer
  27098. produces:
  27099. - application/json
  27100. responses:
  27101. "200":
  27102. description: OK
  27103. schema:
  27104. items:
  27105. $ref: '#/definitions/models.QhjParentAreaList'
  27106. type: array
  27107. "500":
  27108. description: Internal Server Error
  27109. schema:
  27110. $ref: '#/definitions/app.Response'
  27111. security:
  27112. - ApiKeyAuth: []
  27113. summary: 查询所属机构列表
  27114. tags:
  27115. - 大连千海金
  27116. /Qhj/QueryPayOrder:
  27117. get:
  27118. parameters:
  27119. - description: 资金账号id
  27120. in: query
  27121. name: accountid
  27122. required: true
  27123. type: integer
  27124. - description: 成交单号
  27125. in: query
  27126. name: tradeid
  27127. type: integer
  27128. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27129. in: query
  27130. name: payflag
  27131. type: string
  27132. produces:
  27133. - application/json
  27134. responses:
  27135. "200":
  27136. description: OK
  27137. schema:
  27138. items:
  27139. $ref: '#/definitions/models.QhjPayOrder'
  27140. type: array
  27141. "500":
  27142. description: Internal Server Error
  27143. schema:
  27144. $ref: '#/definitions/app.Response'
  27145. security:
  27146. - ApiKeyAuth: []
  27147. summary: 查询待付款单据
  27148. tags:
  27149. - 大连千海金
  27150. /Qhj/QueryPickArea:
  27151. get:
  27152. parameters:
  27153. - description: 用户ID
  27154. in: query
  27155. name: userid
  27156. type: integer
  27157. produces:
  27158. - application/json
  27159. responses:
  27160. "200":
  27161. description: OK
  27162. schema:
  27163. items:
  27164. $ref: '#/definitions/models.QhjPickArea'
  27165. type: array
  27166. "500":
  27167. description: Internal Server Error
  27168. schema:
  27169. $ref: '#/definitions/app.Response'
  27170. security:
  27171. - ApiKeyAuth: []
  27172. summary: 查询提货门店
  27173. tags:
  27174. - 大连千海金
  27175. /Qhj/QueryPickGoods:
  27176. get:
  27177. parameters:
  27178. - description: 交易商品id
  27179. in: query
  27180. name: goodsid
  27181. required: true
  27182. type: integer
  27183. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  27184. in: query
  27185. name: status
  27186. type: string
  27187. produces:
  27188. - application/json
  27189. responses:
  27190. "200":
  27191. description: OK
  27192. schema:
  27193. items:
  27194. $ref: '#/definitions/models.QhjPickGoods'
  27195. type: array
  27196. "500":
  27197. description: Internal Server Error
  27198. schema:
  27199. $ref: '#/definitions/app.Response'
  27200. security:
  27201. - ApiKeyAuth: []
  27202. summary: 查询提货商品
  27203. tags:
  27204. - 大连千海金
  27205. /Qhj/QueryRSTriggerLog:
  27206. get:
  27207. parameters:
  27208. - description: 用户ID
  27209. in: query
  27210. name: userid
  27211. type: integer
  27212. - description: 定投策略id
  27213. in: query
  27214. name: regularlystrategyid
  27215. type: integer
  27216. - description: 商品id
  27217. in: query
  27218. name: goodsid
  27219. type: integer
  27220. - description: 开始交易日(yyyymmdd)
  27221. in: query
  27222. name: begindate
  27223. type: string
  27224. - description: 结束交易日(yyyymmdd)
  27225. in: query
  27226. name: enddate
  27227. type: string
  27228. - description: 名称(模糊搜索账户)
  27229. in: query
  27230. name: filtername
  27231. type: string
  27232. produces:
  27233. - application/json
  27234. responses:
  27235. "200":
  27236. description: OK
  27237. schema:
  27238. items:
  27239. $ref: '#/definitions/models.QhjRSTriggerLog'
  27240. type: array
  27241. "500":
  27242. description: Internal Server Error
  27243. schema:
  27244. $ref: '#/definitions/app.Response'
  27245. security:
  27246. - ApiKeyAuth: []
  27247. summary: 查询定投记录(定投管理/详情/定投记录)
  27248. tags:
  27249. - 大连千海金
  27250. /Qhj/QueryRStrategy:
  27251. get:
  27252. parameters:
  27253. - description: 用户ID
  27254. in: query
  27255. name: userid
  27256. type: integer
  27257. - description: 商品id
  27258. in: query
  27259. name: goodsid
  27260. type: integer
  27261. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  27262. in: query
  27263. name: status
  27264. type: string
  27265. - description: 名称(模糊搜索账户)
  27266. in: query
  27267. name: filtername
  27268. type: string
  27269. produces:
  27270. - application/json
  27271. responses:
  27272. "200":
  27273. description: OK
  27274. schema:
  27275. items:
  27276. $ref: '#/definitions/models.QhjRStrategy'
  27277. type: array
  27278. "500":
  27279. description: Internal Server Error
  27280. schema:
  27281. $ref: '#/definitions/app.Response'
  27282. security:
  27283. - ApiKeyAuth: []
  27284. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  27285. tags:
  27286. - 大连千海金
  27287. /Qhj/QueryReckonPriceLog:
  27288. get:
  27289. parameters:
  27290. - description: 商品ID
  27291. in: query
  27292. name: goodsid
  27293. type: integer
  27294. - description: 交易日 格式(yyyymmdd)
  27295. in: query
  27296. name: tradedate
  27297. type: string
  27298. produces:
  27299. - application/json
  27300. responses:
  27301. "200":
  27302. description: OK
  27303. schema:
  27304. items:
  27305. $ref: '#/definitions/models.QhjReckonPriceLog'
  27306. type: array
  27307. "500":
  27308. description: Internal Server Error
  27309. schema:
  27310. $ref: '#/definitions/app.Response'
  27311. security:
  27312. - ApiKeyAuth: []
  27313. summary: 查询定投价(结算价)
  27314. tags:
  27315. - 大连千海金
  27316. /Qhj/QueryScoreLog:
  27317. get:
  27318. parameters:
  27319. - description: 用户ID
  27320. in: query
  27321. name: userid
  27322. required: true
  27323. type: integer
  27324. - description: 开始交易日(yyyymmdd)
  27325. in: query
  27326. name: begindate
  27327. type: string
  27328. - description: 结束交易日(yyyymmdd)
  27329. in: query
  27330. name: enddate
  27331. type: string
  27332. - description: 最近多少条
  27333. in: query
  27334. name: lastnum
  27335. type: integer
  27336. produces:
  27337. - application/json
  27338. responses:
  27339. "200":
  27340. description: OK
  27341. schema:
  27342. items:
  27343. $ref: '#/definitions/models.QhjScoreLog'
  27344. type: array
  27345. "500":
  27346. description: Internal Server Error
  27347. schema:
  27348. $ref: '#/definitions/app.Response'
  27349. security:
  27350. - ApiKeyAuth: []
  27351. summary: 查询积分流水(我的积分)
  27352. tags:
  27353. - 大连千海金
  27354. /Qhj/QuerySiteColumnDetail:
  27355. get:
  27356. parameters:
  27357. - description: 用户ID
  27358. in: query
  27359. name: userid
  27360. required: true
  27361. type: integer
  27362. produces:
  27363. - application/json
  27364. responses:
  27365. "200":
  27366. description: OK
  27367. schema:
  27368. items:
  27369. $ref: '#/definitions/models.QhjSiteColumnDetail'
  27370. type: array
  27371. "500":
  27372. description: Internal Server Error
  27373. schema:
  27374. $ref: '#/definitions/app.Response'
  27375. security:
  27376. - ApiKeyAuth: []
  27377. summary: 查询资讯
  27378. tags:
  27379. - 大连千海金
  27380. /Qhj/QueryTradeGoodsPickup:
  27381. get:
  27382. parameters:
  27383. - description: 用户ID
  27384. in: query
  27385. name: userid
  27386. required: true
  27387. type: integer
  27388. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  27389. 7:已拒绝 8:已撤销
  27390. in: query
  27391. name: takeorderstatus
  27392. type: integer
  27393. produces:
  27394. - application/json
  27395. responses:
  27396. "200":
  27397. description: OK
  27398. schema:
  27399. items:
  27400. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  27401. type: array
  27402. "500":
  27403. description: Internal Server Error
  27404. schema:
  27405. $ref: '#/definitions/app.Response'
  27406. security:
  27407. - ApiKeyAuth: []
  27408. summary: 查询提货
  27409. tags:
  27410. - 大连千海金
  27411. /Qhj/QueryUserCollectConfig:
  27412. get:
  27413. parameters:
  27414. - description: 用户ID
  27415. in: query
  27416. name: userid
  27417. required: true
  27418. type: integer
  27419. produces:
  27420. - application/json
  27421. responses:
  27422. "200":
  27423. description: OK
  27424. schema:
  27425. items:
  27426. $ref: '#/definitions/models.UserCollectConfig'
  27427. type: array
  27428. "500":
  27429. description: Internal Server Error
  27430. schema:
  27431. $ref: '#/definitions/app.Response'
  27432. security:
  27433. - ApiKeyAuth: []
  27434. summary: 查询提现账户设置
  27435. tags:
  27436. - 大连千海金
  27437. /Qhj/QueryUserReceiveInfo:
  27438. get:
  27439. parameters:
  27440. - description: 用户ID
  27441. in: query
  27442. name: userid
  27443. required: true
  27444. type: integer
  27445. produces:
  27446. - application/json
  27447. responses:
  27448. "200":
  27449. description: OK
  27450. schema:
  27451. items:
  27452. $ref: '#/definitions/models.UserReceiveInfo'
  27453. type: array
  27454. "500":
  27455. description: Internal Server Error
  27456. schema:
  27457. $ref: '#/definitions/app.Response'
  27458. security:
  27459. - ApiKeyAuth: []
  27460. summary: 查询收货地址信息
  27461. tags:
  27462. - 大连千海金
  27463. /QhjMgr/QueryAccountInOutApply:
  27464. get:
  27465. parameters:
  27466. - description: 查询类型 1-提现(出金) 2-充值(出金)
  27467. in: query
  27468. name: querytype
  27469. required: true
  27470. type: integer
  27471. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  27472. in: query
  27473. name: applystatus
  27474. type: integer
  27475. - description: 申请起始日期(格式yyyymmdd)
  27476. in: query
  27477. name: begindate
  27478. type: string
  27479. - description: 申请截止日期(格式yyyymmdd)
  27480. in: query
  27481. name: enddate
  27482. type: string
  27483. - description: 模糊搜索名称
  27484. in: query
  27485. name: likename
  27486. type: string
  27487. produces:
  27488. - application/json
  27489. responses:
  27490. "200":
  27491. description: OK
  27492. schema:
  27493. items:
  27494. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  27495. type: array
  27496. "500":
  27497. description: Internal Server Error
  27498. schema:
  27499. $ref: '#/definitions/app.Response'
  27500. security:
  27501. - ApiKeyAuth: []
  27502. summary: 查询充值提现
  27503. tags:
  27504. - 大连千海金(PCWeb)
  27505. /QhjMgr/QueryBrokerApply:
  27506. get:
  27507. parameters:
  27508. - description: 所属机构ID
  27509. in: query
  27510. name: userid
  27511. type: integer
  27512. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27513. in: query
  27514. name: filterstatus
  27515. type: string
  27516. - description: 名称(模糊匹配)
  27517. in: query
  27518. name: filtername
  27519. type: string
  27520. - description: 是否包含子级 1-包含
  27521. in: query
  27522. name: includesub
  27523. type: integer
  27524. produces:
  27525. - application/json
  27526. responses:
  27527. "200":
  27528. description: OK
  27529. schema:
  27530. items:
  27531. $ref: '#/definitions/models.QhjMgrBrokerApply'
  27532. type: array
  27533. "500":
  27534. description: Internal Server Error
  27535. schema:
  27536. $ref: '#/definitions/app.Response'
  27537. security:
  27538. - ApiKeyAuth: []
  27539. summary: 查询经纪人申请
  27540. tags:
  27541. - 大连千海金(PCWeb)
  27542. /QhjMgr/QueryBrokerRewardReport:
  27543. get:
  27544. parameters:
  27545. - description: 所属机构ID
  27546. in: query
  27547. name: userid
  27548. required: true
  27549. type: integer
  27550. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27551. in: query
  27552. name: cycletype
  27553. required: true
  27554. type: integer
  27555. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  27556. in: query
  27557. name: cycletime
  27558. required: true
  27559. type: string
  27560. - description: 名称(模糊匹配)
  27561. in: query
  27562. name: filtername
  27563. type: string
  27564. - description: 是否包含子级 1-包含
  27565. in: query
  27566. name: includesub
  27567. type: integer
  27568. produces:
  27569. - application/json
  27570. responses:
  27571. "200":
  27572. description: OK
  27573. schema:
  27574. items:
  27575. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  27576. type: array
  27577. "500":
  27578. description: Internal Server Error
  27579. schema:
  27580. $ref: '#/definitions/app.Response'
  27581. security:
  27582. - ApiKeyAuth: []
  27583. summary: 查询经纪人奖励报表(废弃)
  27584. tags:
  27585. - 大连千海金(PCWeb)
  27586. /QhjMgr/QueryContract:
  27587. get:
  27588. parameters:
  27589. - description: 用户ID
  27590. in: query
  27591. name: userid
  27592. type: integer
  27593. - description: 商品id
  27594. in: query
  27595. name: goodsid
  27596. type: integer
  27597. - description: 名称(模糊搜索账户)
  27598. in: query
  27599. name: filtername
  27600. type: string
  27601. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  27602. in: query
  27603. name: risklevel
  27604. type: string
  27605. - description: 开始交易日(yyyymmdd)
  27606. in: query
  27607. name: begindate
  27608. type: string
  27609. - description: 结束交易日(yyyymmdd)
  27610. in: query
  27611. name: enddate
  27612. type: string
  27613. produces:
  27614. - application/json
  27615. responses:
  27616. "200":
  27617. description: OK
  27618. schema:
  27619. items:
  27620. $ref: '#/definitions/models.QhjMgrContract'
  27621. type: array
  27622. "500":
  27623. description: Internal Server Error
  27624. schema:
  27625. $ref: '#/definitions/app.Response'
  27626. security:
  27627. - ApiKeyAuth: []
  27628. summary: 查询融资信息(合同)
  27629. tags:
  27630. - 大连千海金(PCWeb)
  27631. /QhjMgr/QueryCustomerInfo:
  27632. get:
  27633. parameters:
  27634. - description: 用户ID
  27635. in: query
  27636. name: userid
  27637. required: true
  27638. type: integer
  27639. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27640. in: query
  27641. name: querytype
  27642. required: true
  27643. type: integer
  27644. - description: 客户类型 1-个人 2-企业
  27645. in: query
  27646. name: userinfotype
  27647. type: integer
  27648. - description: 客户名称(模糊匹配)
  27649. in: query
  27650. name: customername
  27651. type: string
  27652. - description: 昵称(模糊匹配)
  27653. in: query
  27654. name: nickname
  27655. type: string
  27656. - description: 所属客户经理(模糊匹配)
  27657. in: query
  27658. name: brokername
  27659. type: string
  27660. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  27661. 如0503 -5月3日)
  27662. in: query
  27663. name: birthday
  27664. type: string
  27665. - description: 是否包含子级 1-包含
  27666. in: query
  27667. name: includesub
  27668. type: integer
  27669. produces:
  27670. - application/json
  27671. responses:
  27672. "200":
  27673. description: OK
  27674. schema:
  27675. items:
  27676. $ref: '#/definitions/models.QhjMgrCustomer'
  27677. type: array
  27678. "500":
  27679. description: Internal Server Error
  27680. schema:
  27681. $ref: '#/definitions/app.Response'
  27682. security:
  27683. - ApiKeyAuth: []
  27684. summary: 查询客户资料
  27685. tags:
  27686. - 大连千海金(PCWeb)
  27687. /QhjMgr/QueryPickGoods:
  27688. get:
  27689. parameters:
  27690. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  27691. in: query
  27692. name: status
  27693. type: string
  27694. produces:
  27695. - application/json
  27696. responses:
  27697. "200":
  27698. description: OK
  27699. schema:
  27700. items:
  27701. $ref: '#/definitions/models.QhjMgrPickGoods'
  27702. type: array
  27703. "500":
  27704. description: Internal Server Error
  27705. schema:
  27706. $ref: '#/definitions/app.Response'
  27707. security:
  27708. - ApiKeyAuth: []
  27709. summary: 查询提货商品
  27710. tags:
  27711. - 大连千海金(PCWeb)
  27712. /QhjMgr/QuerySubArea:
  27713. get:
  27714. parameters:
  27715. - description: 用户ID
  27716. in: query
  27717. name: userid
  27718. required: true
  27719. type: integer
  27720. produces:
  27721. - application/json
  27722. responses:
  27723. "200":
  27724. description: OK
  27725. schema:
  27726. items:
  27727. $ref: '#/definitions/models.QhjMgrSubArea'
  27728. type: array
  27729. "500":
  27730. description: Internal Server Error
  27731. schema:
  27732. $ref: '#/definitions/app.Response'
  27733. security:
  27734. - ApiKeyAuth: []
  27735. summary: 查询子机构列表
  27736. tags:
  27737. - 大连千海金(PCWeb)
  27738. /QhjMgr/QueryTradeDetail:
  27739. get:
  27740. parameters:
  27741. - description: 用户ID
  27742. in: query
  27743. name: userid
  27744. required: true
  27745. type: integer
  27746. - description: 用户类型 1-个人 2-企业
  27747. in: query
  27748. name: userinfotype
  27749. type: integer
  27750. - description: 交易模式
  27751. in: query
  27752. name: trademode
  27753. type: integer
  27754. - description: 商品id
  27755. in: query
  27756. name: goodsid
  27757. type: integer
  27758. - description: 名称(模糊搜索账户)
  27759. in: query
  27760. name: filtername
  27761. type: string
  27762. - description: 开始交易日(yyyymmdd)
  27763. in: query
  27764. name: begindate
  27765. type: string
  27766. - description: 结束交易日(yyyymmdd)
  27767. in: query
  27768. name: enddate
  27769. type: string
  27770. - description: 是否包含子级 1-包含
  27771. in: query
  27772. name: includesub
  27773. type: integer
  27774. produces:
  27775. - application/json
  27776. responses:
  27777. "200":
  27778. description: OK
  27779. schema:
  27780. items:
  27781. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  27782. type: array
  27783. "500":
  27784. description: Internal Server Error
  27785. schema:
  27786. $ref: '#/definitions/app.Response'
  27787. security:
  27788. - ApiKeyAuth: []
  27789. summary: 查询成交明细
  27790. tags:
  27791. - 大连千海金(PCWeb)
  27792. /QhjMgr/QueryTradeOrderDetail:
  27793. get:
  27794. parameters:
  27795. - description: 用户ID
  27796. in: query
  27797. name: userid
  27798. required: true
  27799. type: integer
  27800. - description: 用户类型 1-个人 2-企业
  27801. in: query
  27802. name: userinfotype
  27803. type: integer
  27804. - description: 交易模式
  27805. in: query
  27806. name: trademode
  27807. type: integer
  27808. - description: 商品id
  27809. in: query
  27810. name: goodsid
  27811. type: integer
  27812. - description: 名称(模糊搜索账户)
  27813. in: query
  27814. name: filtername
  27815. type: string
  27816. - description: 开始交易日(yyyymmdd)
  27817. in: query
  27818. name: begindate
  27819. type: string
  27820. - description: 结束交易日(yyyymmdd)
  27821. in: query
  27822. name: enddate
  27823. type: string
  27824. - description: 是否包含子级 1-包含
  27825. in: query
  27826. name: includesub
  27827. type: integer
  27828. produces:
  27829. - application/json
  27830. responses:
  27831. "200":
  27832. description: OK
  27833. schema:
  27834. items:
  27835. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  27836. type: array
  27837. "500":
  27838. description: Internal Server Error
  27839. schema:
  27840. $ref: '#/definitions/app.Response'
  27841. security:
  27842. - ApiKeyAuth: []
  27843. summary: 查询委托明细
  27844. tags:
  27845. - 大连千海金(PCWeb)
  27846. /QhjMgr/QueryTradePayOrder:
  27847. get:
  27848. parameters:
  27849. - description: 用户ID
  27850. in: query
  27851. name: userid
  27852. required: true
  27853. type: integer
  27854. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27855. in: query
  27856. name: payflag
  27857. type: string
  27858. - description: 用户类型 1-个人 2-企业
  27859. in: query
  27860. name: userinfotype
  27861. type: integer
  27862. - description: 交易模式
  27863. in: query
  27864. name: trademode
  27865. type: integer
  27866. - description: 商品id
  27867. in: query
  27868. name: goodsid
  27869. type: integer
  27870. - description: 名称(模糊搜索账户)
  27871. in: query
  27872. name: filtername
  27873. type: string
  27874. - description: 开始交易日(yyyymmdd)
  27875. in: query
  27876. name: begindate
  27877. type: string
  27878. - description: 结束交易日(yyyymmdd)
  27879. in: query
  27880. name: enddate
  27881. type: string
  27882. - description: 是否包含子级 1-包含
  27883. in: query
  27884. name: includesub
  27885. type: integer
  27886. produces:
  27887. - application/json
  27888. responses:
  27889. "200":
  27890. description: OK
  27891. schema:
  27892. items:
  27893. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  27894. type: array
  27895. "500":
  27896. description: Internal Server Error
  27897. schema:
  27898. $ref: '#/definitions/app.Response'
  27899. security:
  27900. - ApiKeyAuth: []
  27901. summary: 查询待付款单
  27902. tags:
  27903. - 大连千海金(PCWeb)
  27904. /QhjMgr/QueryTradePosition:
  27905. get:
  27906. parameters:
  27907. - description: 用户ID
  27908. in: query
  27909. name: userid
  27910. required: true
  27911. type: integer
  27912. - description: 用户类型 1-个人 2-企业
  27913. in: query
  27914. name: userinfotype
  27915. type: integer
  27916. - description: 交易模式
  27917. in: query
  27918. name: trademode
  27919. type: integer
  27920. - description: 商品id
  27921. in: query
  27922. name: goodsid
  27923. type: integer
  27924. - description: 名称(模糊搜索账户)
  27925. in: query
  27926. name: filtername
  27927. type: string
  27928. - description: 是否包含子级 1-包含
  27929. in: query
  27930. name: includesub
  27931. type: integer
  27932. produces:
  27933. - application/json
  27934. responses:
  27935. "200":
  27936. description: OK
  27937. schema:
  27938. items:
  27939. $ref: '#/definitions/models.QhjMgrPositionRsp'
  27940. type: array
  27941. "500":
  27942. description: Internal Server Error
  27943. schema:
  27944. $ref: '#/definitions/app.Response'
  27945. security:
  27946. - ApiKeyAuth: []
  27947. summary: 查询持仓汇总
  27948. tags:
  27949. - 大连千海金(PCWeb)
  27950. /QhjSys/QueryAgreementChangeLog:
  27951. get:
  27952. parameters:
  27953. - description: 协议ID
  27954. in: query
  27955. name: agreementid
  27956. type: integer
  27957. - description: 协议版本号
  27958. in: query
  27959. name: agreementversion
  27960. type: integer
  27961. - description: 协议类型 - 1:注册 2:登录 3:交易
  27962. in: query
  27963. name: agreementtype
  27964. type: integer
  27965. - description: 协议编号(模糊匹配)
  27966. in: query
  27967. name: agreementno
  27968. type: string
  27969. - description: 协议名称(模糊匹配)
  27970. in: query
  27971. name: agreementname
  27972. type: string
  27973. produces:
  27974. - application/json
  27975. responses:
  27976. "200":
  27977. description: OK
  27978. schema:
  27979. items:
  27980. $ref: '#/definitions/models.QhjAgreementChangeLog'
  27981. type: array
  27982. "500":
  27983. description: Internal Server Error
  27984. schema:
  27985. $ref: '#/definitions/app.Response'
  27986. security:
  27987. - ApiKeyAuth: []
  27988. summary: 查询协议配置变更流水
  27989. tags:
  27990. - 大连千海金(协议和签约信息)
  27991. /QhjSys/QueryAgreementConfig:
  27992. get:
  27993. parameters:
  27994. - description: 协议ID
  27995. in: query
  27996. name: agreementid
  27997. type: integer
  27998. - description: 协议版本号
  27999. in: query
  28000. name: agreementversion
  28001. type: integer
  28002. - description: 协议类型 - 1:注册 2:登录 3:交易
  28003. in: query
  28004. name: agreementtype
  28005. type: integer
  28006. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  28007. in: query
  28008. name: isvalid
  28009. type: integer
  28010. - description: 协议编号(模糊匹配)
  28011. in: query
  28012. name: agreementno
  28013. type: string
  28014. - description: 协议名称(模糊匹配)
  28015. in: query
  28016. name: agreementname
  28017. type: string
  28018. produces:
  28019. - application/json
  28020. responses:
  28021. "200":
  28022. description: OK
  28023. schema:
  28024. items:
  28025. $ref: '#/definitions/models.QhjAgreementConfig'
  28026. type: array
  28027. "500":
  28028. description: Internal Server Error
  28029. schema:
  28030. $ref: '#/definitions/app.Response'
  28031. security:
  28032. - ApiKeyAuth: []
  28033. summary: 查询协议配置
  28034. tags:
  28035. - 大连千海金(协议和签约信息)
  28036. /QhjSys/QueryCustomerSignStatus:
  28037. get:
  28038. parameters:
  28039. - description: 客户ID
  28040. in: query
  28041. name: userid
  28042. type: integer
  28043. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  28044. in: query
  28045. name: nodetype
  28046. type: integer
  28047. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28048. in: query
  28049. name: goodsid
  28050. type: integer
  28051. - description: 创建交易日(yyyyMMdd)
  28052. in: query
  28053. name: tradedate
  28054. type: string
  28055. - description: 用户名称(模糊匹配)
  28056. in: query
  28057. name: username
  28058. type: string
  28059. produces:
  28060. - application/json
  28061. responses:
  28062. "200":
  28063. description: OK
  28064. schema:
  28065. items:
  28066. $ref: '#/definitions/models.QhjCustomerSignStatus'
  28067. type: array
  28068. "500":
  28069. description: Internal Server Error
  28070. schema:
  28071. $ref: '#/definitions/app.Response'
  28072. security:
  28073. - ApiKeyAuth: []
  28074. summary: 查询客户协议签约状态
  28075. tags:
  28076. - 大连千海金(协议和签约信息)
  28077. /QhjSys/QueryNodeAgreementConfig:
  28078. get:
  28079. parameters:
  28080. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28081. in: query
  28082. name: configid
  28083. type: integer
  28084. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28085. in: query
  28086. name: nodetype
  28087. type: integer
  28088. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28089. in: query
  28090. name: goodsid
  28091. type: integer
  28092. - description: 协议ID
  28093. in: query
  28094. name: agreementid
  28095. type: integer
  28096. - description: 协议类型 - 1:注册 2:登录 3:交易
  28097. in: query
  28098. name: agreementtype
  28099. type: integer
  28100. - description: 协议版本号
  28101. in: query
  28102. name: agreementversion
  28103. type: integer
  28104. - description: 协议编号(模糊匹配)
  28105. in: query
  28106. name: agreementno
  28107. type: string
  28108. - description: 协议名称(模糊匹配)
  28109. in: query
  28110. name: agreementname
  28111. type: string
  28112. produces:
  28113. - application/json
  28114. responses:
  28115. "200":
  28116. description: OK
  28117. schema:
  28118. items:
  28119. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  28120. type: array
  28121. "500":
  28122. description: Internal Server Error
  28123. schema:
  28124. $ref: '#/definitions/app.Response'
  28125. security:
  28126. - ApiKeyAuth: []
  28127. summary: 查询协议节点配置
  28128. tags:
  28129. - 大连千海金(协议和签约信息)
  28130. /QhjSys/QueryQhjCustomerSignLog:
  28131. get:
  28132. parameters:
  28133. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  28134. in: query
  28135. name: logid
  28136. type: integer
  28137. - description: 客户ID
  28138. in: query
  28139. name: userid
  28140. type: integer
  28141. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28142. in: query
  28143. name: nodetype
  28144. type: integer
  28145. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28146. in: query
  28147. name: goodsid
  28148. type: integer
  28149. - description: 协议ID
  28150. in: query
  28151. name: agreementid
  28152. type: integer
  28153. - description: 用户名称(模糊匹配)
  28154. in: query
  28155. name: username
  28156. type: string
  28157. - description: 协议编号(模糊匹配)
  28158. in: query
  28159. name: agreementno
  28160. type: string
  28161. - description: 协议名称(模糊匹配)
  28162. in: query
  28163. name: agreementname
  28164. type: string
  28165. produces:
  28166. - application/json
  28167. responses:
  28168. "200":
  28169. description: OK
  28170. schema:
  28171. items:
  28172. $ref: '#/definitions/models.QhjCustomerSignLog'
  28173. type: array
  28174. "500":
  28175. description: Internal Server Error
  28176. schema:
  28177. $ref: '#/definitions/app.Response'
  28178. security:
  28179. - ApiKeyAuth: []
  28180. summary: 查询客户协议签约流水
  28181. tags:
  28182. - 大连千海金(协议和签约信息)
  28183. /QhjSys/QueryUserNodeCfgAndStatus:
  28184. get:
  28185. parameters:
  28186. - description: 客户ID
  28187. in: query
  28188. name: userid
  28189. type: integer
  28190. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28191. in: query
  28192. name: configid
  28193. type: integer
  28194. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28195. in: query
  28196. name: nodetype
  28197. type: string
  28198. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28199. in: query
  28200. name: goodsid
  28201. type: integer
  28202. - description: 协议ID
  28203. in: query
  28204. name: agreementid
  28205. type: integer
  28206. - description: 协议类型 - 1:注册 2:登录 3:交易
  28207. in: query
  28208. name: agreementtype
  28209. type: integer
  28210. - description: 协议版本号
  28211. in: query
  28212. name: agreementversion
  28213. type: integer
  28214. - description: 协议编号(模糊匹配)
  28215. in: query
  28216. name: agreementno
  28217. type: string
  28218. - description: 协议名称(模糊匹配)
  28219. in: query
  28220. name: agreementname
  28221. type: string
  28222. produces:
  28223. - application/json
  28224. responses:
  28225. "200":
  28226. description: OK
  28227. schema:
  28228. items:
  28229. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  28230. type: array
  28231. "500":
  28232. description: Internal Server Error
  28233. schema:
  28234. $ref: '#/definitions/app.Response'
  28235. security:
  28236. - ApiKeyAuth: []
  28237. summary: 查询用户协议节点配置和状态
  28238. tags:
  28239. - 大连千海金(协议和签约信息)
  28240. /Quote/QueryHistoryDatas:
  28241. get:
  28242. parameters:
  28243. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  28244. 日线 12:周线 13:月线 14:年线'
  28245. in: query
  28246. name: cycleType
  28247. required: true
  28248. type: integer
  28249. - description: 商品代码
  28250. in: query
  28251. name: goodsCode
  28252. required: true
  28253. type: string
  28254. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  28255. in: query
  28256. name: startTime
  28257. type: string
  28258. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  28259. in: query
  28260. name: endTime
  28261. type: string
  28262. - description: 条数
  28263. in: query
  28264. name: count
  28265. type: integer
  28266. - description: 是否按时间顺序排序(默认为时间倒序排序)
  28267. in: query
  28268. name: isAsc
  28269. type: boolean
  28270. produces:
  28271. - application/json
  28272. responses:
  28273. "200":
  28274. description: OK
  28275. schema:
  28276. $ref: '#/definitions/quote.HistoryData'
  28277. "500":
  28278. description: Internal Server Error
  28279. schema:
  28280. $ref: '#/definitions/app.Response'
  28281. security:
  28282. - ApiKeyAuth: []
  28283. summary: 查询行情历史数据
  28284. tags:
  28285. - 行情服务
  28286. /Quote/QueryHistoryTikDatas:
  28287. get:
  28288. parameters:
  28289. - description: 商品代码
  28290. in: query
  28291. name: goodsCode
  28292. required: true
  28293. type: string
  28294. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  28295. in: query
  28296. name: startTime
  28297. type: string
  28298. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  28299. in: query
  28300. name: endTime
  28301. type: string
  28302. - description: 条数
  28303. in: query
  28304. name: count
  28305. type: integer
  28306. - description: 是否按时间顺序排序(默认为时间倒序排序)
  28307. in: query
  28308. name: isAsc
  28309. type: boolean
  28310. produces:
  28311. - application/json
  28312. responses:
  28313. "200":
  28314. description: OK
  28315. schema:
  28316. $ref: '#/definitions/quote.HistoryTikData'
  28317. "500":
  28318. description: Internal Server Error
  28319. schema:
  28320. $ref: '#/definitions/app.Response'
  28321. security:
  28322. - ApiKeyAuth: []
  28323. summary: 查询行情Tik数据
  28324. tags:
  28325. - 行情服务
  28326. /Quote/QueryQuoteDay:
  28327. get:
  28328. parameters:
  28329. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  28330. in: query
  28331. name: goodsCodes
  28332. type: string
  28333. produces:
  28334. - application/json
  28335. responses:
  28336. "200":
  28337. description: OK
  28338. schema:
  28339. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  28340. "500":
  28341. description: Internal Server Error
  28342. schema:
  28343. $ref: '#/definitions/app.Response'
  28344. security:
  28345. - ApiKeyAuth: []
  28346. summary: 获取商品盘面信息
  28347. tags:
  28348. - 行情服务
  28349. /Quote/QueryTSData:
  28350. get:
  28351. parameters:
  28352. - description: 商品代码
  28353. in: query
  28354. name: goodsCode
  28355. required: true
  28356. type: string
  28357. produces:
  28358. - application/json
  28359. responses:
  28360. "200":
  28361. description: OK
  28362. schema:
  28363. $ref: '#/definitions/quote.QueryTSDataRsp'
  28364. "500":
  28365. description: Internal Server Error
  28366. schema:
  28367. $ref: '#/definitions/app.Response'
  28368. security:
  28369. - ApiKeyAuth: []
  28370. summary: 分时图数据查询
  28371. tags:
  28372. - 行情服务
  28373. /SZDZ/QueryConvertConfig:
  28374. get:
  28375. parameters:
  28376. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  28377. 6:交易转花生米(不设置)
  28378. in: query
  28379. name: convertType
  28380. type: integer
  28381. - description: 外部商品代码[JD\PD]
  28382. in: query
  28383. name: outerGoodsCode
  28384. type: string
  28385. - description: 内部商品ID列表[交易],格式:1,2,3
  28386. in: query
  28387. name: innerGoodsIDs
  28388. type: string
  28389. produces:
  28390. - application/json
  28391. responses:
  28392. "200":
  28393. description: OK
  28394. schema:
  28395. $ref: '#/definitions/models.Szdz3convertconfig'
  28396. "500":
  28397. description: Internal Server Error
  28398. schema:
  28399. $ref: '#/definitions/app.Response'
  28400. security:
  28401. - ApiKeyAuth: []
  28402. summary: 查询交易系统转换设置
  28403. tags:
  28404. - 定制【尚志大宗】
  28405. /SZDZ/QueryConvertLog:
  28406. get:
  28407. parameters:
  28408. - description: 资金账户 - 格式:1,2,3
  28409. in: query
  28410. name: accountID
  28411. required: true
  28412. type: string
  28413. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  28414. in: query
  28415. name: startDate
  28416. type: string
  28417. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  28418. in: query
  28419. name: endDate
  28420. type: string
  28421. produces:
  28422. - application/json
  28423. responses:
  28424. "200":
  28425. description: OK
  28426. schema:
  28427. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  28428. "500":
  28429. description: Internal Server Error
  28430. schema:
  28431. $ref: '#/definitions/app.Response'
  28432. security:
  28433. - ApiKeyAuth: []
  28434. summary: 交易系统转换流水查询
  28435. tags:
  28436. - 定制【尚志大宗】
  28437. /SZDZ/QueryGoodsPickup:
  28438. get:
  28439. parameters:
  28440. - description: 资金账户 - 格式:1,2,3
  28441. in: query
  28442. name: accountID
  28443. required: true
  28444. type: string
  28445. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  28446. in: query
  28447. name: takeOrderStatus
  28448. type: integer
  28449. produces:
  28450. - application/json
  28451. responses:
  28452. "200":
  28453. description: OK
  28454. schema:
  28455. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  28456. "500":
  28457. description: Internal Server Error
  28458. schema:
  28459. $ref: '#/definitions/app.Response'
  28460. security:
  28461. - ApiKeyAuth: []
  28462. summary: 商品提货单查询
  28463. tags:
  28464. - 定制【尚志大宗】
  28465. /SZDZ/QueryRecieptOrder:
  28466. get:
  28467. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  28468. parameters:
  28469. - description: 页码
  28470. in: query
  28471. name: page
  28472. type: integer
  28473. - description: 每页条数
  28474. in: query
  28475. name: pagesize
  28476. type: integer
  28477. - description: 商品ID
  28478. in: query
  28479. name: goodsID
  28480. required: true
  28481. type: integer
  28482. - description: 所属账户名称
  28483. in: query
  28484. name: accountName
  28485. type: string
  28486. - description: 市场ID
  28487. in: query
  28488. name: marketID
  28489. type: integer
  28490. - description: 方向 - 0:买 1:卖
  28491. in: query
  28492. name: buyorsell
  28493. required: true
  28494. type: integer
  28495. produces:
  28496. - application/json
  28497. responses:
  28498. "200":
  28499. description: OK
  28500. schema:
  28501. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  28502. "500":
  28503. description: Internal Server Error
  28504. schema:
  28505. $ref: '#/definitions/app.Response'
  28506. security:
  28507. - ApiKeyAuth: []
  28508. summary: 点选挂牌委托单据查询(摘牌大厅)
  28509. tags:
  28510. - 定制【尚志大宗】
  28511. /SZDZ/QuerySZDZTradePosition:
  28512. get:
  28513. parameters:
  28514. - description: 资金账户
  28515. in: query
  28516. name: accountID
  28517. required: true
  28518. type: integer
  28519. produces:
  28520. - application/json
  28521. responses:
  28522. "200":
  28523. description: OK
  28524. schema:
  28525. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  28526. "500":
  28527. description: Internal Server Error
  28528. schema:
  28529. $ref: '#/definitions/app.Response'
  28530. security:
  28531. - ApiKeyAuth: []
  28532. summary: 持仓汇总查询(尚志大宗)
  28533. tags:
  28534. - 定制【尚志大宗】
  28535. /SZDZ/SearchWhite:
  28536. get:
  28537. parameters:
  28538. - description: 用户ID
  28539. in: query
  28540. name: userID
  28541. required: true
  28542. type: integer
  28543. produces:
  28544. - application/json
  28545. responses:
  28546. "200":
  28547. description: OK
  28548. schema:
  28549. $ref: '#/definitions/models.Szdz3searchwhitelist'
  28550. "500":
  28551. description: Internal Server Error
  28552. schema:
  28553. $ref: '#/definitions/app.Response'
  28554. security:
  28555. - ApiKeyAuth: []
  28556. summary: 搜索白名单
  28557. tags:
  28558. - 定制【尚志大宗】
  28559. /Search/SearchGoodses:
  28560. get:
  28561. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  28562. parameters:
  28563. - description: 检索内容
  28564. in: query
  28565. name: content
  28566. required: true
  28567. type: string
  28568. - description: 交易模式,格式:1,2,3
  28569. in: query
  28570. name: tradeModes
  28571. type: string
  28572. produces:
  28573. - application/json
  28574. responses:
  28575. "200":
  28576. description: OK
  28577. schema:
  28578. $ref: '#/definitions/models.SearchGoods'
  28579. "500":
  28580. description: Internal Server Error
  28581. schema:
  28582. $ref: '#/definitions/app.Response'
  28583. summary: 检索商品信息
  28584. tags:
  28585. - 检索服务
  28586. /TaAccount/GetTaAccounts:
  28587. get:
  28588. parameters:
  28589. - description: 登录账户
  28590. in: query
  28591. name: loginID
  28592. required: true
  28593. type: integer
  28594. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  28595. in: query
  28596. name: taAccountType
  28597. type: integer
  28598. produces:
  28599. - application/json
  28600. responses:
  28601. "200":
  28602. description: OK
  28603. schema:
  28604. $ref: '#/definitions/models.Taaccount'
  28605. "500":
  28606. description: Internal Server Error
  28607. schema:
  28608. $ref: '#/definitions/app.Response'
  28609. security:
  28610. - ApiKeyAuth: []
  28611. summary: 获取资金账户信息
  28612. tags:
  28613. - 资金账户
  28614. /TaAccount/QueryAmountLog:
  28615. get:
  28616. parameters:
  28617. - description: 页码
  28618. in: query
  28619. name: page
  28620. type: integer
  28621. - description: 每页条数
  28622. in: query
  28623. name: pagesize
  28624. type: integer
  28625. - description: 资金账户 - 格式:1,2,3
  28626. in: query
  28627. name: accountID
  28628. required: true
  28629. type: string
  28630. - description: 资金操作类型 - 格式:1,2,3
  28631. in: query
  28632. name: OperateType
  28633. type: string
  28634. produces:
  28635. - application/json
  28636. responses:
  28637. "200":
  28638. description: OK
  28639. schema:
  28640. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  28641. "500":
  28642. description: Internal Server Error
  28643. schema:
  28644. $ref: '#/definitions/app.Response'
  28645. security:
  28646. - ApiKeyAuth: []
  28647. summary: 资金流水查询(当前)
  28648. tags:
  28649. - 资金账户
  28650. /TaAccount/QueryHisAmountLog:
  28651. get:
  28652. parameters:
  28653. - description: 页码
  28654. in: query
  28655. name: page
  28656. type: integer
  28657. - description: 每页条数
  28658. in: query
  28659. name: pagesize
  28660. type: integer
  28661. - description: 资金账户 - 格式:1,2,3
  28662. in: query
  28663. name: accountID
  28664. required: true
  28665. type: string
  28666. - description: 资金操作类型 - 格式:1,2,3
  28667. in: query
  28668. name: OperateType
  28669. type: string
  28670. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28671. in: query
  28672. name: startDate
  28673. type: string
  28674. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28675. in: query
  28676. name: endDate
  28677. type: string
  28678. produces:
  28679. - application/json
  28680. responses:
  28681. "200":
  28682. description: OK
  28683. schema:
  28684. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  28685. "500":
  28686. description: Internal Server Error
  28687. schema:
  28688. $ref: '#/definitions/app.Response'
  28689. security:
  28690. - ApiKeyAuth: []
  28691. summary: 资金流水查询(历史)
  28692. tags:
  28693. - 资金账户
  28694. /TaAccount/QueryRelatedTaAccount:
  28695. get:
  28696. parameters:
  28697. - description: 关联UserID
  28698. in: query
  28699. name: relateduserid
  28700. required: true
  28701. type: integer
  28702. produces:
  28703. - application/json
  28704. responses:
  28705. "200":
  28706. description: OK
  28707. schema:
  28708. items:
  28709. $ref: '#/definitions/models.RelatedTaAccount'
  28710. type: array
  28711. "500":
  28712. description: Internal Server Error
  28713. schema:
  28714. $ref: '#/definitions/app.Response'
  28715. security:
  28716. - ApiKeyAuth: []
  28717. summary: 查询关联资金账户信息
  28718. tags:
  28719. - 资金账户
  28720. /Tjmd/QueryQuoteGoodsList:
  28721. get:
  28722. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  28723. parameters:
  28724. - description: 用户类型
  28725. in: query
  28726. name: usertype
  28727. required: true
  28728. type: integer
  28729. - description: 市场id, 格式 1,2,3
  28730. in: query
  28731. name: marketids
  28732. type: string
  28733. - description: 商品组id
  28734. in: query
  28735. name: goodsgroupid
  28736. type: integer
  28737. - description: 商品id
  28738. in: query
  28739. name: goodsid
  28740. type: integer
  28741. produces:
  28742. - application/json
  28743. responses:
  28744. "200":
  28745. description: OK
  28746. schema:
  28747. items:
  28748. $ref: '#/definitions/models.TjmdQuoteGoods'
  28749. type: array
  28750. "500":
  28751. description: Internal Server Error
  28752. schema:
  28753. $ref: '#/definitions/app.Response'
  28754. security:
  28755. - ApiKeyAuth: []
  28756. summary: 查询掉期报价列表
  28757. tags:
  28758. - 天津麦顿
  28759. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  28760. get:
  28761. parameters:
  28762. - description: 成交单号
  28763. in: query
  28764. name: tradeid
  28765. required: true
  28766. type: string
  28767. produces:
  28768. - application/json
  28769. responses:
  28770. "200":
  28771. description: OK
  28772. schema:
  28773. items:
  28774. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  28775. type: array
  28776. "500":
  28777. description: Internal Server Error
  28778. schema:
  28779. $ref: '#/definitions/app.Response'
  28780. security:
  28781. - ApiKeyAuth: []
  28782. summary: 掉期商品订单详情(交易确认书)
  28783. tags:
  28784. - 天津麦顿
  28785. /Tjmd/QueryTjmdMarketSection:
  28786. get:
  28787. produces:
  28788. - application/json
  28789. responses:
  28790. "200":
  28791. description: OK
  28792. schema:
  28793. items:
  28794. $ref: '#/definitions/models.TjmdMarketSection'
  28795. type: array
  28796. "500":
  28797. description: Internal Server Error
  28798. schema:
  28799. $ref: '#/definitions/app.Response'
  28800. security:
  28801. - ApiKeyAuth: []
  28802. summary: 查询市场板块
  28803. tags:
  28804. - 天津麦顿
  28805. /Tjmd/QueryTjmdTodayAccountMargin:
  28806. get:
  28807. parameters:
  28808. - description: 市场id
  28809. in: query
  28810. name: marketid
  28811. type: string
  28812. - description: 商品id
  28813. in: query
  28814. name: goodsid
  28815. type: string
  28816. - description: 资金账号
  28817. in: query
  28818. name: accountid
  28819. type: string
  28820. produces:
  28821. - application/json
  28822. responses:
  28823. "200":
  28824. description: OK
  28825. schema:
  28826. items:
  28827. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  28828. type: array
  28829. "500":
  28830. description: Internal Server Error
  28831. schema:
  28832. $ref: '#/definitions/app.Response'
  28833. security:
  28834. - ApiKeyAuth: []
  28835. summary: 查询今日账户保证金配置
  28836. tags:
  28837. - 天津麦顿
  28838. /Tjmd/QueryTjmdTradeOrderDetail:
  28839. get:
  28840. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  28841. parameters:
  28842. - description: 页码
  28843. in: query
  28844. name: page
  28845. type: integer
  28846. - description: 每页条数
  28847. in: query
  28848. name: pagesize
  28849. type: integer
  28850. - description: 用户id
  28851. in: query
  28852. name: userid
  28853. required: true
  28854. type: integer
  28855. - description: 用户类型
  28856. in: query
  28857. name: usertype
  28858. required: true
  28859. type: integer
  28860. - description: 市场id, 格式 1,2,3
  28861. in: query
  28862. name: marketids
  28863. type: string
  28864. - description: 商品id
  28865. in: query
  28866. name: goodsid
  28867. required: true
  28868. type: integer
  28869. - description: 买卖方向 0-买 1-卖
  28870. in: query
  28871. name: buyorsell
  28872. required: true
  28873. type: integer
  28874. produces:
  28875. - application/json
  28876. responses:
  28877. "200":
  28878. description: OK
  28879. schema:
  28880. items:
  28881. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  28882. type: array
  28883. "500":
  28884. description: Internal Server Error
  28885. schema:
  28886. $ref: '#/definitions/app.Response'
  28887. security:
  28888. - ApiKeyAuth: []
  28889. summary: 查询掉期买卖大厅
  28890. tags:
  28891. - 天津麦顿
  28892. /Tjmd/QueryTjmdTransferApply:
  28893. get:
  28894. parameters:
  28895. - description: 类型 1-我的申请 2-对方申请
  28896. in: query
  28897. name: applytype
  28898. required: true
  28899. type: integer
  28900. - description: 市场id, 格式 1,2,3
  28901. in: query
  28902. name: marketids
  28903. type: string
  28904. - description: 资金账号, 格式 25000000001,25000000003
  28905. in: query
  28906. name: accountids
  28907. type: string
  28908. - description: 开始交易日(yyyymmdd)
  28909. in: query
  28910. name: begindate
  28911. type: string
  28912. - description: 结束交易日(yyyymmdd)
  28913. in: query
  28914. name: enddate
  28915. type: string
  28916. produces:
  28917. - application/json
  28918. responses:
  28919. "200":
  28920. description: OK
  28921. schema:
  28922. items:
  28923. $ref: '#/definitions/models.TjmdTransferApply'
  28924. type: array
  28925. "500":
  28926. description: Internal Server Error
  28927. schema:
  28928. $ref: '#/definitions/app.Response'
  28929. security:
  28930. - ApiKeyAuth: []
  28931. summary: 查询掉期协议单
  28932. tags:
  28933. - 天津麦顿
  28934. /Trade/QueryRecieptOrder:
  28935. get:
  28936. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  28937. parameters:
  28938. - description: 页码
  28939. in: query
  28940. name: page
  28941. type: integer
  28942. - description: 每页条数
  28943. in: query
  28944. name: pagesize
  28945. type: integer
  28946. - description: 商品ID
  28947. in: query
  28948. name: goodsID
  28949. required: true
  28950. type: integer
  28951. - description: 所属账户名称
  28952. in: query
  28953. name: accountName
  28954. type: string
  28955. - description: 市场ID
  28956. in: query
  28957. name: marketID
  28958. type: integer
  28959. - description: 方向 - 0:买 1:卖
  28960. in: query
  28961. name: buyorsell
  28962. required: true
  28963. type: integer
  28964. produces:
  28965. - application/json
  28966. responses:
  28967. "200":
  28968. description: OK
  28969. schema:
  28970. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  28971. "500":
  28972. description: Internal Server Error
  28973. schema:
  28974. $ref: '#/definitions/app.Response'
  28975. security:
  28976. - ApiKeyAuth: []
  28977. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  28978. tags:
  28979. - 通用交易
  28980. /User/AddMessageBoard:
  28981. post:
  28982. parameters:
  28983. - description: 用户ID
  28984. in: query
  28985. name: userID
  28986. required: true
  28987. type: integer
  28988. - description: 留言信息
  28989. in: query
  28990. name: message
  28991. required: true
  28992. type: string
  28993. - description: 联系电话
  28994. in: query
  28995. name: contactNum
  28996. required: true
  28997. type: string
  28998. produces:
  28999. - application/json
  29000. responses:
  29001. "200":
  29002. description: OK
  29003. schema:
  29004. $ref: '#/definitions/app.Response'
  29005. "500":
  29006. description: Internal Server Error
  29007. schema:
  29008. $ref: '#/definitions/app.Response'
  29009. security:
  29010. - ApiKeyAuth: []
  29011. summary: 添加用户留言板信息
  29012. tags:
  29013. - 用户信息
  29014. /User/AddUserFavoriteGoods:
  29015. post:
  29016. parameters:
  29017. - description: 用户ID
  29018. in: query
  29019. name: userID
  29020. required: true
  29021. type: integer
  29022. - description: 商品ID
  29023. in: query
  29024. name: goodsID
  29025. required: true
  29026. type: integer
  29027. produces:
  29028. - application/json
  29029. responses:
  29030. "200":
  29031. description: OK
  29032. schema:
  29033. $ref: '#/definitions/app.Response'
  29034. "500":
  29035. description: Internal Server Error
  29036. schema:
  29037. $ref: '#/definitions/app.Response'
  29038. security:
  29039. - ApiKeyAuth: []
  29040. summary: 添加用户商品收藏信息
  29041. tags:
  29042. - 用户信息
  29043. /User/GetLoginID:
  29044. get:
  29045. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  29046. parameters:
  29047. - description: 登录代码
  29048. in: query
  29049. name: username
  29050. required: true
  29051. type: string
  29052. produces:
  29053. - application/json
  29054. responses:
  29055. "200":
  29056. description: OK
  29057. schema:
  29058. $ref: '#/definitions/app.Response'
  29059. "500":
  29060. description: Internal Server Error
  29061. schema:
  29062. $ref: '#/definitions/app.Response'
  29063. summary: 获取登录ID
  29064. tags:
  29065. - 用户信息
  29066. /User/GetUserAccount:
  29067. get:
  29068. parameters:
  29069. - description: 用户ID
  29070. in: query
  29071. name: userID
  29072. required: true
  29073. type: integer
  29074. produces:
  29075. - application/json
  29076. responses:
  29077. "200":
  29078. description: OK
  29079. schema:
  29080. $ref: '#/definitions/models.Useraccount'
  29081. "500":
  29082. description: Internal Server Error
  29083. schema:
  29084. $ref: '#/definitions/app.Response'
  29085. security:
  29086. - ApiKeyAuth: []
  29087. summary: 获取用户账号信息
  29088. tags:
  29089. - 用户信息
  29090. /User/GetUserAuthStatus:
  29091. get:
  29092. parameters:
  29093. - description: 用户ID
  29094. in: query
  29095. name: userID
  29096. required: true
  29097. type: integer
  29098. produces:
  29099. - application/json
  29100. responses:
  29101. "200":
  29102. description: OK
  29103. schema:
  29104. $ref: '#/definitions/app.Response'
  29105. "500":
  29106. description: Internal Server Error
  29107. schema:
  29108. $ref: '#/definitions/app.Response'
  29109. security:
  29110. - ApiKeyAuth: []
  29111. summary: 获取用户实名认证状态
  29112. tags:
  29113. - 用户信息
  29114. /User/LoginQuery:
  29115. get:
  29116. parameters:
  29117. - description: 登录账号
  29118. in: query
  29119. name: loginID
  29120. required: true
  29121. type: integer
  29122. produces:
  29123. - application/json
  29124. responses:
  29125. "200":
  29126. description: OK
  29127. schema:
  29128. $ref: '#/definitions/user.LoginQueryRsp'
  29129. "500":
  29130. description: Internal Server Error
  29131. schema:
  29132. $ref: '#/definitions/app.Response'
  29133. security:
  29134. - ApiKeyAuth: []
  29135. summary: 账户登录后信息查询
  29136. tags:
  29137. - 用户信息
  29138. /User/QueryMessageBoard:
  29139. get:
  29140. parameters:
  29141. - description: 用户ID
  29142. in: query
  29143. name: userID
  29144. required: true
  29145. type: integer
  29146. produces:
  29147. - application/json
  29148. responses:
  29149. "200":
  29150. description: OK
  29151. schema:
  29152. $ref: '#/definitions/models.Messageboard'
  29153. "500":
  29154. description: Internal Server Error
  29155. schema:
  29156. $ref: '#/definitions/app.Response'
  29157. security:
  29158. - ApiKeyAuth: []
  29159. summary: 获取用户留言板信息
  29160. tags:
  29161. - 用户信息
  29162. /User/QueryUserFavoriteGoodses:
  29163. get:
  29164. parameters:
  29165. - description: 用户ID
  29166. in: query
  29167. name: userID
  29168. required: true
  29169. type: integer
  29170. produces:
  29171. - application/json
  29172. responses:
  29173. "200":
  29174. description: OK
  29175. schema:
  29176. $ref: '#/definitions/models.Userfavoritegoods'
  29177. "500":
  29178. description: Internal Server Error
  29179. schema:
  29180. $ref: '#/definitions/app.Response'
  29181. security:
  29182. - ApiKeyAuth: []
  29183. summary: 获取用户商品收藏信息
  29184. tags:
  29185. - 用户信息
  29186. /User/QueryUserInfo:
  29187. get:
  29188. parameters:
  29189. - description: 用户ID
  29190. in: query
  29191. name: userID
  29192. required: true
  29193. type: integer
  29194. - description: 是否解密
  29195. in: query
  29196. name: isDecrypt
  29197. type: boolean
  29198. produces:
  29199. - application/json
  29200. responses:
  29201. "200":
  29202. description: OK
  29203. schema:
  29204. $ref: '#/definitions/models.Userinfo'
  29205. "500":
  29206. description: Internal Server Error
  29207. schema:
  29208. $ref: '#/definitions/app.Response'
  29209. security:
  29210. - ApiKeyAuth: []
  29211. summary: 获取用户信息
  29212. tags:
  29213. - 用户信息
  29214. /User/QueryUserReferNum:
  29215. get:
  29216. parameters:
  29217. - description: 用户ID
  29218. in: query
  29219. name: userID
  29220. required: true
  29221. type: integer
  29222. produces:
  29223. - application/json
  29224. responses:
  29225. "200":
  29226. description: OK
  29227. schema:
  29228. $ref: '#/definitions/app.Response'
  29229. "500":
  29230. description: Internal Server Error
  29231. schema:
  29232. $ref: '#/definitions/app.Response'
  29233. summary: 获取用户邀请码
  29234. tags:
  29235. - 用户信息
  29236. /User/RemoveUserFavoriteGoods:
  29237. post:
  29238. parameters:
  29239. - description: 用户ID
  29240. in: query
  29241. name: userID
  29242. required: true
  29243. type: integer
  29244. - description: 商品ID
  29245. in: query
  29246. name: goodsID
  29247. required: true
  29248. type: integer
  29249. produces:
  29250. - application/json
  29251. responses:
  29252. "200":
  29253. description: OK
  29254. schema:
  29255. $ref: '#/definitions/app.Response'
  29256. "500":
  29257. description: Internal Server Error
  29258. schema:
  29259. $ref: '#/definitions/app.Response'
  29260. security:
  29261. - ApiKeyAuth: []
  29262. summary: 移除用户商品收藏信息
  29263. tags:
  29264. - 用户信息
  29265. /User/UpdateUserAccountStatus:
  29266. post:
  29267. parameters:
  29268. - description: 用户ID
  29269. in: query
  29270. name: userID
  29271. required: true
  29272. type: integer
  29273. - description: 账户状态 - 4:正常 6:注销(停用)
  29274. in: query
  29275. name: accountStatus
  29276. required: true
  29277. type: integer
  29278. produces:
  29279. - application/json
  29280. responses:
  29281. "200":
  29282. description: OK
  29283. schema:
  29284. $ref: '#/definitions/app.Response'
  29285. "500":
  29286. description: Internal Server Error
  29287. schema:
  29288. $ref: '#/definitions/app.Response'
  29289. security:
  29290. - ApiKeyAuth: []
  29291. summary: 更新用户状态
  29292. tags:
  29293. - 用户信息
  29294. /WRTrade/GetAllDeliveryGoods:
  29295. get:
  29296. produces:
  29297. - application/json
  29298. responses:
  29299. "200":
  29300. description: OK
  29301. schema:
  29302. $ref: '#/definitions/app.Response'
  29303. "500":
  29304. description: Internal Server Error
  29305. schema:
  29306. $ref: '#/definitions/app.Response'
  29307. security:
  29308. - ApiKeyAuth: []
  29309. summary: 获取带仓单分类的种类信息
  29310. tags:
  29311. - 仓单贸易
  29312. - 仓单贸易
  29313. /WrTrade2/InsertXhcpSellBackApply:
  29314. post:
  29315. parameters:
  29316. - description: 回收申请
  29317. in: body
  29318. name: jsonBody
  29319. required: true
  29320. schema:
  29321. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  29322. produces:
  29323. - application/json
  29324. responses:
  29325. "200":
  29326. description: OK
  29327. schema:
  29328. $ref: '#/definitions/app.Response'
  29329. "500":
  29330. description: Internal Server Error
  29331. schema:
  29332. $ref: '#/definitions/app.Response'
  29333. security:
  29334. - ApiKeyAuth: []
  29335. summary: 新增回收申请(新会陈皮)
  29336. tags:
  29337. - 仓单贸易v2
  29338. /WrTrade2/QueryDeliveryGoodsSection:
  29339. get:
  29340. produces:
  29341. - application/json
  29342. responses:
  29343. "200":
  29344. description: OK
  29345. schema:
  29346. items:
  29347. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  29348. type: array
  29349. "500":
  29350. description: Internal Server Error
  29351. schema:
  29352. $ref: '#/definitions/app.Response'
  29353. security:
  29354. - ApiKeyAuth: []
  29355. summary: 查询板块(分类)
  29356. tags:
  29357. - 仓单贸易v2
  29358. /WrTrade2/QueryFaProductDetail:
  29359. get:
  29360. description: 页面 买卖大厅 -> 选择融资方案
  29361. parameters:
  29362. - description: 仓单要素id
  29363. in: query
  29364. name: wrfactortypeid
  29365. required: true
  29366. type: integer
  29367. produces:
  29368. - application/json
  29369. responses:
  29370. "200":
  29371. description: OK
  29372. schema:
  29373. items:
  29374. $ref: '#/definitions/models.WrFAProductDetail'
  29375. type: array
  29376. "500":
  29377. description: Internal Server Error
  29378. schema:
  29379. $ref: '#/definitions/app.Response'
  29380. security:
  29381. - ApiKeyAuth: []
  29382. summary: 查询融资产品列表
  29383. tags:
  29384. - 仓单贸易v2
  29385. /WrTrade2/QueryFilterItem:
  29386. get:
  29387. parameters:
  29388. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  29389. in: query
  29390. name: itype
  29391. required: true
  29392. type: string
  29393. produces:
  29394. - application/json
  29395. responses:
  29396. "200":
  29397. description: OK
  29398. schema:
  29399. items:
  29400. $ref: '#/definitions/models.WrFilterItem'
  29401. type: array
  29402. "500":
  29403. description: Internal Server Error
  29404. schema:
  29405. $ref: '#/definitions/app.Response'
  29406. security:
  29407. - ApiKeyAuth: []
  29408. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  29409. tags:
  29410. - 仓单贸易v2
  29411. /WrTrade2/QueryFtDeliveryGoods:
  29412. get:
  29413. produces:
  29414. - application/json
  29415. responses:
  29416. "200":
  29417. description: OK
  29418. schema:
  29419. items:
  29420. $ref: '#/definitions/models.WrFtDeliveryGoods'
  29421. type: array
  29422. "500":
  29423. description: Internal Server Error
  29424. schema:
  29425. $ref: '#/definitions/app.Response'
  29426. security:
  29427. - ApiKeyAuth: []
  29428. summary: 查询品种品类筛选框列表
  29429. tags:
  29430. - 仓单贸易v2
  29431. /WrTrade2/QueryHoldLB:
  29432. get:
  29433. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  29434. parameters:
  29435. - description: 资金账号
  29436. in: query
  29437. name: accountid
  29438. required: true
  29439. type: integer
  29440. - description: 仓库id
  29441. in: query
  29442. name: warehouseid
  29443. type: integer
  29444. - description: 品种id
  29445. in: query
  29446. name: deliverygoodsid
  29447. type: integer
  29448. - description: 品类id
  29449. in: query
  29450. name: wrstandardid
  29451. type: integer
  29452. - description: 仓单要素id
  29453. in: query
  29454. name: wrfactortypeid
  29455. type: integer
  29456. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29457. in: query
  29458. name: dgitemname
  29459. type: string
  29460. produces:
  29461. - application/json
  29462. responses:
  29463. "200":
  29464. description: OK
  29465. schema:
  29466. items:
  29467. $ref: '#/definitions/models.WrHoldLB'
  29468. type: array
  29469. "500":
  29470. description: Internal Server Error
  29471. schema:
  29472. $ref: '#/definitions/app.Response'
  29473. security:
  29474. - ApiKeyAuth: []
  29475. summary: 查询仓单持有记录
  29476. tags:
  29477. - 仓单贸易v2
  29478. /WrTrade2/QueryOrderQuote:
  29479. get:
  29480. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  29481. 唯一确定1条记录
  29482. parameters:
  29483. - description: 页码
  29484. in: query
  29485. name: page
  29486. type: integer
  29487. - description: 每页条数
  29488. in: query
  29489. name: pagesize
  29490. type: integer
  29491. - description: 仓单贸易市场id
  29492. in: query
  29493. name: marketid
  29494. type: integer
  29495. - description: 价格方式 - 1:固定价 2-浮动价
  29496. in: query
  29497. name: wrpricetype
  29498. required: true
  29499. type: integer
  29500. - description: 0:仓单预售 1:仓单贸易
  29501. in: query
  29502. name: haswr
  29503. type: integer
  29504. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29505. in: query
  29506. name: dgitemname
  29507. type: string
  29508. - description: 仓库id(筛选条件)
  29509. in: query
  29510. name: warehouseid
  29511. type: integer
  29512. - description: 品种id
  29513. in: query
  29514. name: deliverygoodsid
  29515. type: integer
  29516. - description: 品类id
  29517. in: query
  29518. name: wrstandardid
  29519. type: integer
  29520. - description: 品牌id(dgfactoryitemid)
  29521. in: query
  29522. name: brandid
  29523. type: integer
  29524. - description: 年份id(dgfactoryitemid)
  29525. in: query
  29526. name: yearsid
  29527. type: integer
  29528. - description: 仓单要素id
  29529. in: query
  29530. name: wrfactortypeid
  29531. type: integer
  29532. - description: 交收月(yyyy-mm) 仓单预售填写
  29533. in: query
  29534. name: deliverymonth
  29535. type: string
  29536. produces:
  29537. - application/json
  29538. responses:
  29539. "200":
  29540. description: OK
  29541. schema:
  29542. items:
  29543. $ref: '#/definitions/models.WrOrderQuote'
  29544. type: array
  29545. "500":
  29546. description: Internal Server Error
  29547. schema:
  29548. $ref: '#/definitions/app.Response'
  29549. security:
  29550. - ApiKeyAuth: []
  29551. summary: 查询大厅行情列表
  29552. tags:
  29553. - 仓单贸易v2
  29554. /WrTrade2/QueryOrderQuoteDetail:
  29555. get:
  29556. parameters:
  29557. - description: 页码
  29558. in: query
  29559. name: page
  29560. type: integer
  29561. - description: 每页条数
  29562. in: query
  29563. name: pagesize
  29564. type: integer
  29565. - description: 仓单贸易市场id
  29566. in: query
  29567. name: marketid
  29568. type: integer
  29569. - description: 价格方式 - 1:固定价 2-浮动价
  29570. in: query
  29571. name: wrpricetype
  29572. required: true
  29573. type: integer
  29574. - description: 0:仓单预售 1:仓单贸易
  29575. in: query
  29576. name: haswr
  29577. type: integer
  29578. - description: 仓单要素id
  29579. in: query
  29580. name: wrfactortypeid
  29581. required: true
  29582. type: integer
  29583. - description: 期货商品id(浮动价方式时填)
  29584. in: query
  29585. name: goodsid
  29586. type: integer
  29587. - description: 买卖方向 0-买 1-卖
  29588. in: query
  29589. name: buyorsell
  29590. required: true
  29591. type: integer
  29592. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  29593. in: query
  29594. name: deliverymonth
  29595. type: string
  29596. produces:
  29597. - application/json
  29598. responses:
  29599. "200":
  29600. description: OK
  29601. schema:
  29602. items:
  29603. $ref: '#/definitions/models.WrOrderQuoteDetail'
  29604. type: array
  29605. "500":
  29606. description: Internal Server Error
  29607. schema:
  29608. $ref: '#/definitions/app.Response'
  29609. security:
  29610. - ApiKeyAuth: []
  29611. summary: 查询买卖大厅
  29612. tags:
  29613. - 仓单贸易v2
  29614. /WrTrade2/QueryOrderQuoteMyq:
  29615. get:
  29616. parameters:
  29617. - description: 页码
  29618. in: query
  29619. name: page
  29620. type: integer
  29621. - description: 每页条数
  29622. in: query
  29623. name: pagesize
  29624. type: integer
  29625. - description: 用户id
  29626. in: query
  29627. name: userid
  29628. required: true
  29629. type: integer
  29630. - description: 仓单贸易市场id
  29631. in: query
  29632. name: marketid
  29633. type: integer
  29634. - description: 0:仓单预售 1:仓单贸易
  29635. in: query
  29636. name: haswr
  29637. type: integer
  29638. - description: 买卖方向 0-买 1-卖
  29639. in: query
  29640. name: buyorsell
  29641. required: true
  29642. type: integer
  29643. - description: 品种id
  29644. in: query
  29645. name: deliverygoodsid
  29646. type: integer
  29647. - description: 品类id
  29648. in: query
  29649. name: wrstandardid
  29650. type: integer
  29651. - description: 交收月(yyyy-mm) 仓单预售填写
  29652. in: query
  29653. name: deliverymonth
  29654. type: string
  29655. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29656. in: query
  29657. name: dgitemname
  29658. type: string
  29659. produces:
  29660. - application/json
  29661. responses:
  29662. "200":
  29663. description: OK
  29664. schema:
  29665. items:
  29666. $ref: '#/definitions/models.WrQuoteOrderMyq'
  29667. type: array
  29668. "500":
  29669. description: Internal Server Error
  29670. schema:
  29671. $ref: '#/definitions/app.Response'
  29672. security:
  29673. - ApiKeyAuth: []
  29674. summary: 查询贸易圈挂牌大厅
  29675. tags:
  29676. - 仓单贸易v2
  29677. /WrTrade2/QueryPerformancePlan:
  29678. get:
  29679. parameters:
  29680. - description: 用户id
  29681. in: query
  29682. name: userid
  29683. required: true
  29684. type: integer
  29685. - description: 买卖方向 0-买 1-卖
  29686. in: query
  29687. name: buyorsell
  29688. required: true
  29689. type: integer
  29690. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  29691. 8:释放冻结失败 9:超时待处理 10:超时关闭
  29692. in: query
  29693. name: status
  29694. type: string
  29695. - description: 开始交易日(yyyymmdd)
  29696. in: query
  29697. name: begindate
  29698. type: string
  29699. - description: 结束交易日(yyyymmdd)
  29700. in: query
  29701. name: enddate
  29702. type: string
  29703. produces:
  29704. - application/json
  29705. responses:
  29706. "200":
  29707. description: OK
  29708. schema:
  29709. items:
  29710. $ref: '#/definitions/models.WrPerformancePlan'
  29711. type: array
  29712. "500":
  29713. description: Internal Server Error
  29714. schema:
  29715. $ref: '#/definitions/app.Response'
  29716. security:
  29717. - ApiKeyAuth: []
  29718. summary: 查询履约信息
  29719. tags:
  29720. - 仓单贸易v2
  29721. /WrTrade2/QueryPermancePlanTmp:
  29722. get:
  29723. description: |-
  29724. 返回指定用户的模板和公共模板(用户id为空)
  29725. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  29726. parameters:
  29727. - description: 用户id
  29728. in: query
  29729. name: userid
  29730. type: integer
  29731. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  29732. (无仓单) 5:挂牌期权 6:竞拍-降价式
  29733. in: query
  29734. name: tmptype
  29735. type: string
  29736. - description: 是否包含公共模板(用户id为空的) 1-包含
  29737. in: query
  29738. name: includepub
  29739. type: integer
  29740. - description: 市场id(天津麦顿指定此参数,其它不用)
  29741. in: query
  29742. name: marketid
  29743. type: integer
  29744. produces:
  29745. - application/json
  29746. responses:
  29747. "200":
  29748. description: OK
  29749. schema:
  29750. items:
  29751. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  29752. type: array
  29753. "500":
  29754. description: Internal Server Error
  29755. schema:
  29756. $ref: '#/definitions/app.Response'
  29757. security:
  29758. - ApiKeyAuth: []
  29759. summary: 查询履约模板
  29760. tags:
  29761. - 仓单贸易v2
  29762. /WrTrade2/QuerySiteColumnDetail:
  29763. get:
  29764. parameters:
  29765. - description: 页码
  29766. in: query
  29767. name: page
  29768. type: integer
  29769. - description: 每页条数
  29770. in: query
  29771. name: pagesize
  29772. type: integer
  29773. - description: 所属栏目id
  29774. in: query
  29775. name: columnid
  29776. type: integer
  29777. produces:
  29778. - application/json
  29779. responses:
  29780. "200":
  29781. description: OK
  29782. schema:
  29783. items:
  29784. $ref: '#/definitions/models.WrSiteColumnDetail'
  29785. type: array
  29786. "500":
  29787. description: Internal Server Error
  29788. schema:
  29789. $ref: '#/definitions/app.Response'
  29790. security:
  29791. - ApiKeyAuth: []
  29792. summary: 查询资讯
  29793. tags:
  29794. - 仓单贸易v2
  29795. /WrTrade2/QuerySpotGroupTradeSum:
  29796. get:
  29797. produces:
  29798. - application/json
  29799. responses:
  29800. "200":
  29801. description: OK
  29802. schema:
  29803. items:
  29804. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  29805. type: array
  29806. "500":
  29807. description: Internal Server Error
  29808. schema:
  29809. $ref: '#/definitions/app.Response'
  29810. security:
  29811. - ApiKeyAuth: []
  29812. summary: 查询指数
  29813. tags:
  29814. - 仓单贸易v2
  29815. /WrTrade2/QuerySpotGroupTradeSumDetail:
  29816. get:
  29817. description: 查询的结果将会按日期 从小到大 排序
  29818. parameters:
  29819. - description: 现货商品id
  29820. in: query
  29821. name: deliverygoodsid
  29822. required: true
  29823. type: integer
  29824. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  29825. in: query
  29826. name: lastnum
  29827. type: integer
  29828. produces:
  29829. - application/json
  29830. responses:
  29831. "200":
  29832. description: OK
  29833. schema:
  29834. items:
  29835. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  29836. type: array
  29837. "500":
  29838. description: Internal Server Error
  29839. schema:
  29840. $ref: '#/definitions/app.Response'
  29841. security:
  29842. - ApiKeyAuth: []
  29843. summary: 查询指数详细(价格走势图)
  29844. tags:
  29845. - 仓单贸易v2
  29846. /WrTrade2/QueryWrAverageTradePrice:
  29847. get:
  29848. parameters:
  29849. - description: 页码
  29850. in: query
  29851. name: page
  29852. type: integer
  29853. - description: 每页条数
  29854. in: query
  29855. name: pagesize
  29856. type: integer
  29857. - description: 0:仓单预售 1:仓单贸易
  29858. in: query
  29859. name: haswr
  29860. required: true
  29861. type: integer
  29862. - description: 仓单要素id
  29863. in: query
  29864. name: wrfactortypeid
  29865. required: true
  29866. type: integer
  29867. produces:
  29868. - application/json
  29869. responses:
  29870. "200":
  29871. description: OK
  29872. schema:
  29873. items:
  29874. $ref: '#/definitions/models.WrAverageTradePrice'
  29875. type: array
  29876. "500":
  29877. description: Internal Server Error
  29878. schema:
  29879. $ref: '#/definitions/app.Response'
  29880. security:
  29881. - ApiKeyAuth: []
  29882. summary: 查询成交价(历史走势)
  29883. tags:
  29884. - 仓单贸易v2
  29885. /WrTrade2/QueryWrBrandAndYears:
  29886. get:
  29887. produces:
  29888. - application/json
  29889. responses:
  29890. "200":
  29891. description: OK
  29892. schema:
  29893. items:
  29894. $ref: '#/definitions/models.WrBrandAndYears'
  29895. type: array
  29896. "500":
  29897. description: Internal Server Error
  29898. schema:
  29899. $ref: '#/definitions/app.Response'
  29900. security:
  29901. - ApiKeyAuth: []
  29902. summary: 查询品牌和年份
  29903. tags:
  29904. - 仓单贸易v2
  29905. /WrTrade2/QueryWrBsGoodsInfo:
  29906. get:
  29907. description: 合约交易/买卖大厅/详情
  29908. parameters:
  29909. - description: 商品id
  29910. in: query
  29911. name: goodsid
  29912. required: true
  29913. type: integer
  29914. produces:
  29915. - application/json
  29916. responses:
  29917. "200":
  29918. description: OK
  29919. schema:
  29920. items:
  29921. $ref: '#/definitions/models.WrBsGoodsInfo'
  29922. type: array
  29923. "500":
  29924. description: Internal Server Error
  29925. schema:
  29926. $ref: '#/definitions/app.Response'
  29927. security:
  29928. - ApiKeyAuth: []
  29929. summary: 查询合约交易买卖大厅详情
  29930. tags:
  29931. - 仓单贸易v2
  29932. /WrTrade2/QueryWrBuybackDetail:
  29933. get:
  29934. parameters:
  29935. - description: 融资合同id
  29936. in: query
  29937. name: scfcontractid
  29938. type: integer
  29939. produces:
  29940. - application/json
  29941. responses:
  29942. "200":
  29943. description: OK
  29944. schema:
  29945. items:
  29946. $ref: '#/definitions/models.WrBuybackDetail'
  29947. type: array
  29948. "500":
  29949. description: Internal Server Error
  29950. schema:
  29951. $ref: '#/definitions/app.Response'
  29952. security:
  29953. - ApiKeyAuth: []
  29954. summary: 查询仓单回购明细
  29955. tags:
  29956. - 仓单贸易v2
  29957. /WrTrade2/QueryWrClientAdSpaceConfig:
  29958. get:
  29959. produces:
  29960. - application/json
  29961. responses:
  29962. "200":
  29963. description: OK
  29964. schema:
  29965. items:
  29966. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  29967. type: array
  29968. "500":
  29969. description: Internal Server Error
  29970. schema:
  29971. $ref: '#/definitions/app.Response'
  29972. security:
  29973. - ApiKeyAuth: []
  29974. summary: 查询固定广告配置
  29975. tags:
  29976. - 仓单贸易v2
  29977. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  29978. get:
  29979. parameters:
  29980. - description: 资金账号
  29981. in: query
  29982. name: accountid
  29983. required: true
  29984. type: integer
  29985. - description: 商品id
  29986. in: query
  29987. name: goodsid
  29988. required: true
  29989. type: integer
  29990. produces:
  29991. - application/json
  29992. responses:
  29993. "200":
  29994. description: OK
  29995. schema:
  29996. items:
  29997. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  29998. type: array
  29999. "500":
  30000. description: Internal Server Error
  30001. schema:
  30002. $ref: '#/definitions/app.Response'
  30003. security:
  30004. - ApiKeyAuth: []
  30005. summary: 查询合约交收可点选仓单
  30006. tags:
  30007. - 仓单贸易v2
  30008. /WrTrade2/QueryWrDeliveryDetail:
  30009. get:
  30010. parameters:
  30011. - description: 用户id
  30012. in: query
  30013. name: userid
  30014. required: true
  30015. type: integer
  30016. - description: 资金账号id
  30017. in: query
  30018. name: accountid
  30019. type: integer
  30020. - description: 开始交易日(yyyymmdd)
  30021. in: query
  30022. name: begindate
  30023. type: string
  30024. - description: 结束交易日(yyyymmdd)
  30025. in: query
  30026. name: enddate
  30027. type: string
  30028. produces:
  30029. - application/json
  30030. responses:
  30031. "200":
  30032. description: OK
  30033. schema:
  30034. items:
  30035. $ref: '#/definitions/models.WrDeliveryDetail'
  30036. type: array
  30037. "500":
  30038. description: Internal Server Error
  30039. schema:
  30040. $ref: '#/definitions/app.Response'
  30041. security:
  30042. - ApiKeyAuth: []
  30043. summary: 查询交收
  30044. tags:
  30045. - 仓单贸易v2
  30046. /WrTrade2/QueryWrDraftUserInfo:
  30047. get:
  30048. parameters:
  30049. - description: 用户ID
  30050. in: query
  30051. name: userid
  30052. required: true
  30053. type: integer
  30054. - description: 用户状态 1:正常 2:注销
  30055. in: query
  30056. name: userstatus
  30057. type: integer
  30058. produces:
  30059. - application/json
  30060. responses:
  30061. "200":
  30062. description: OK
  30063. schema:
  30064. items:
  30065. $ref: '#/definitions/models.WrDraftUserInfo'
  30066. type: array
  30067. "500":
  30068. description: Internal Server Error
  30069. schema:
  30070. $ref: '#/definitions/app.Response'
  30071. security:
  30072. - ApiKeyAuth: []
  30073. summary: 查询实名认证信息
  30074. tags:
  30075. - 仓单贸易v2
  30076. /WrTrade2/QueryWrFactorTypeInfo:
  30077. get:
  30078. parameters:
  30079. - description: 仓单要素id
  30080. in: query
  30081. name: wrfactortypeid
  30082. required: true
  30083. type: integer
  30084. produces:
  30085. - application/json
  30086. responses:
  30087. "200":
  30088. description: OK
  30089. schema:
  30090. items:
  30091. $ref: '#/definitions/models.WrFactorTypeInfo'
  30092. type: array
  30093. "500":
  30094. description: Internal Server Error
  30095. schema:
  30096. $ref: '#/definitions/app.Response'
  30097. security:
  30098. - ApiKeyAuth: []
  30099. summary: 查询仓单要素详细信息
  30100. tags:
  30101. - 仓单贸易v2
  30102. /WrTrade2/QueryWrFactorTypeInfoEx:
  30103. get:
  30104. parameters:
  30105. - description: 仓单要素id
  30106. in: query
  30107. name: wrfactortypeid
  30108. required: true
  30109. type: integer
  30110. produces:
  30111. - application/json
  30112. responses:
  30113. "200":
  30114. description: OK
  30115. schema:
  30116. items:
  30117. $ref: '#/definitions/models.WrTypeItem'
  30118. type: array
  30119. "500":
  30120. description: Internal Server Error
  30121. schema:
  30122. $ref: '#/definitions/app.Response'
  30123. security:
  30124. - ApiKeyAuth: []
  30125. summary: 查询仓单要素详细信息列表项
  30126. tags:
  30127. - 仓单贸易v2
  30128. /WrTrade2/QueryWrFinanceBuyApply:
  30129. get:
  30130. description: 页面 融资信息+ / 申请单
  30131. parameters:
  30132. - description: 用户id
  30133. in: query
  30134. name: userid
  30135. required: true
  30136. type: integer
  30137. produces:
  30138. - application/json
  30139. responses:
  30140. "200":
  30141. description: OK
  30142. schema:
  30143. items:
  30144. $ref: '#/definitions/models.WrFinanceBuyApply'
  30145. type: array
  30146. "500":
  30147. description: Internal Server Error
  30148. schema:
  30149. $ref: '#/definitions/app.Response'
  30150. security:
  30151. - ApiKeyAuth: []
  30152. summary: 查询融资购买申请
  30153. tags:
  30154. - 仓单贸易v2
  30155. /WrTrade2/QueryWrFriendApply:
  30156. get:
  30157. parameters:
  30158. - description: 用户id
  30159. in: query
  30160. name: userid
  30161. required: true
  30162. type: integer
  30163. produces:
  30164. - application/json
  30165. responses:
  30166. "200":
  30167. description: OK
  30168. schema:
  30169. items:
  30170. $ref: '#/definitions/models.WrFriendApply'
  30171. type: array
  30172. "500":
  30173. description: Internal Server Error
  30174. schema:
  30175. $ref: '#/definitions/app.Response'
  30176. security:
  30177. - ApiKeyAuth: []
  30178. summary: 查询好友申请记录
  30179. tags:
  30180. - 仓单贸易v2
  30181. /WrTrade2/QueryWrGoodsInfo:
  30182. get:
  30183. parameters:
  30184. - description: 仓单贸易市场id
  30185. in: query
  30186. name: marketid
  30187. type: integer
  30188. - description: 0:仓单预售 1:仓单贸易
  30189. in: query
  30190. name: haswr
  30191. required: true
  30192. type: integer
  30193. - description: 仓单要素id
  30194. in: query
  30195. name: wrfactortypeid
  30196. required: true
  30197. type: integer
  30198. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  30199. in: query
  30200. name: tmplateid
  30201. type: integer
  30202. produces:
  30203. - application/json
  30204. responses:
  30205. "200":
  30206. description: OK
  30207. schema:
  30208. items:
  30209. $ref: '#/definitions/models.WrGoodsInfo'
  30210. type: array
  30211. "500":
  30212. description: Internal Server Error
  30213. schema:
  30214. $ref: '#/definitions/app.Response'
  30215. security:
  30216. - ApiKeyAuth: []
  30217. summary: 查询仓单商品信息
  30218. tags:
  30219. - 仓单贸易v2
  30220. /WrTrade2/QueryWrMarketTradeConfig:
  30221. get:
  30222. parameters:
  30223. - description: 市场id
  30224. in: query
  30225. name: marketid
  30226. type: integer
  30227. produces:
  30228. - application/json
  30229. responses:
  30230. "200":
  30231. description: OK
  30232. schema:
  30233. items:
  30234. $ref: '#/definitions/models.WrMarketTradeConfig'
  30235. type: array
  30236. "500":
  30237. description: Internal Server Error
  30238. schema:
  30239. $ref: '#/definitions/app.Response'
  30240. security:
  30241. - ApiKeyAuth: []
  30242. summary: 查询市场交易参数配置
  30243. tags:
  30244. - 仓单贸易v2
  30245. /WrTrade2/QueryWrOrderDetail:
  30246. get:
  30247. description: 页面 现货仓单 | 预售仓单 -> 委托单
  30248. parameters:
  30249. - description: 页码
  30250. in: query
  30251. name: page
  30252. type: integer
  30253. - description: 每页条数
  30254. in: query
  30255. name: pagesize
  30256. type: integer
  30257. - description: 用户id
  30258. in: query
  30259. name: userid
  30260. required: true
  30261. type: integer
  30262. - description: 仓单贸易市场id
  30263. in: query
  30264. name: marketid
  30265. type: integer
  30266. - description: 0:仓单预售 1:仓单贸易
  30267. in: query
  30268. name: haswr
  30269. required: true
  30270. type: integer
  30271. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  30272. in: query
  30273. name: bcancel
  30274. type: integer
  30275. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  30276. in: query
  30277. name: wrtradetype
  30278. type: integer
  30279. - description: 开始交易日(yyyymmdd)
  30280. in: query
  30281. name: begindate
  30282. type: string
  30283. - description: 结束交易日(yyyymmdd)
  30284. in: query
  30285. name: enddate
  30286. type: string
  30287. produces:
  30288. - application/json
  30289. responses:
  30290. "200":
  30291. description: OK
  30292. schema:
  30293. items:
  30294. $ref: '#/definitions/models.WrOrderDetail'
  30295. type: array
  30296. "500":
  30297. description: Internal Server Error
  30298. schema:
  30299. $ref: '#/definitions/app.Response'
  30300. security:
  30301. - ApiKeyAuth: []
  30302. summary: 查询仓单委托单
  30303. tags:
  30304. - 仓单贸易v2
  30305. /WrTrade2/QueryWrOutInApply:
  30306. get:
  30307. parameters:
  30308. - description: 用户id
  30309. in: query
  30310. name: userid
  30311. required: true
  30312. type: integer
  30313. - description: 开始交易日(yyyymmdd)
  30314. in: query
  30315. name: begindate
  30316. type: string
  30317. - description: 结束交易日(yyyymmdd)
  30318. in: query
  30319. name: enddate
  30320. type: string
  30321. produces:
  30322. - application/json
  30323. responses:
  30324. "200":
  30325. description: OK
  30326. schema:
  30327. items:
  30328. $ref: '#/definitions/models.WrOutInApply'
  30329. type: array
  30330. "500":
  30331. description: Internal Server Error
  30332. schema:
  30333. $ref: '#/definitions/app.Response'
  30334. security:
  30335. - ApiKeyAuth: []
  30336. summary: 查询提货申请
  30337. tags:
  30338. - 仓单贸易v2
  30339. /WrTrade2/QueryWrPerformancePlanStep:
  30340. get:
  30341. parameters:
  30342. - description: 履约计划id(performanceplanid)
  30343. in: query
  30344. name: planid
  30345. required: true
  30346. type: integer
  30347. - description: 当前步骤id
  30348. in: query
  30349. name: curstepid
  30350. type: integer
  30351. produces:
  30352. - application/json
  30353. responses:
  30354. "200":
  30355. description: OK
  30356. schema:
  30357. items:
  30358. $ref: '#/definitions/models.WrPerformancePlanStep'
  30359. type: array
  30360. "500":
  30361. description: Internal Server Error
  30362. schema:
  30363. $ref: '#/definitions/app.Response'
  30364. security:
  30365. - ApiKeyAuth: []
  30366. summary: 查询履约信息详情
  30367. tags:
  30368. - 仓单贸易v2
  30369. /WrTrade2/QueryWrPerformanceStepType:
  30370. get:
  30371. produces:
  30372. - application/json
  30373. responses:
  30374. "200":
  30375. description: OK
  30376. schema:
  30377. items:
  30378. $ref: '#/definitions/models.WrPerformanceStepType'
  30379. type: array
  30380. "500":
  30381. description: Internal Server Error
  30382. schema:
  30383. $ref: '#/definitions/app.Response'
  30384. security:
  30385. - ApiKeyAuth: []
  30386. summary: 查询履约步骤枚举
  30387. tags:
  30388. - 仓单贸易v2
  30389. /WrTrade2/QueryWrPosition:
  30390. get:
  30391. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  30392. parameters:
  30393. - description: 用户id
  30394. in: query
  30395. name: userid
  30396. required: true
  30397. type: integer
  30398. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  30399. in: query
  30400. name: querytype
  30401. required: true
  30402. type: integer
  30403. - description: 0:仓单预售 1:仓单贸易
  30404. in: query
  30405. name: haswr
  30406. required: true
  30407. type: integer
  30408. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30409. in: query
  30410. name: dgitemname
  30411. type: string
  30412. - description: 仓库id(筛选条件)
  30413. in: query
  30414. name: warehouseid
  30415. type: integer
  30416. - description: 品种id
  30417. in: query
  30418. name: deliverygoodsid
  30419. type: integer
  30420. - description: 品类id
  30421. in: query
  30422. name: wrstandardid
  30423. type: integer
  30424. produces:
  30425. - application/json
  30426. responses:
  30427. "200":
  30428. description: OK
  30429. schema:
  30430. items:
  30431. $ref: '#/definitions/models.WrPosition'
  30432. type: array
  30433. "500":
  30434. description: Internal Server Error
  30435. schema:
  30436. $ref: '#/definitions/app.Response'
  30437. security:
  30438. - ApiKeyAuth: []
  30439. summary: 查询现货(预售)仓单持仓
  30440. tags:
  30441. - 仓单贸易v2
  30442. /WrTrade2/QueryWrPreSaleInfo:
  30443. get:
  30444. parameters:
  30445. - description: 市场id
  30446. in: query
  30447. name: marketid
  30448. type: integer
  30449. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  30450. in: query
  30451. name: presalestatus
  30452. type: string
  30453. - description: 摇号标识 - 0:未摇号 1:已摇号
  30454. in: query
  30455. name: lotteryflag
  30456. type: integer
  30457. - description: 最近多少条记录(按创建时间倒序)
  30458. in: query
  30459. name: lastnum
  30460. type: integer
  30461. produces:
  30462. - application/json
  30463. responses:
  30464. "200":
  30465. description: OK
  30466. schema:
  30467. items:
  30468. $ref: '#/definitions/models.WrPreSaleInfo'
  30469. type: array
  30470. "500":
  30471. description: Internal Server Error
  30472. schema:
  30473. $ref: '#/definitions/app.Response'
  30474. security:
  30475. - ApiKeyAuth: []
  30476. summary: 查询新品发布
  30477. tags:
  30478. - 仓单贸易v2
  30479. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  30480. get:
  30481. parameters:
  30482. - description: 市场id
  30483. in: query
  30484. name: marketid
  30485. required: true
  30486. type: integer
  30487. - description: 现货商品id
  30488. in: query
  30489. name: wrstandardid
  30490. required: true
  30491. type: integer
  30492. - description: 开始交易日(yyyymmdd)
  30493. in: query
  30494. name: begindate
  30495. type: string
  30496. - description: 结束交易日(yyyymmdd)
  30497. in: query
  30498. name: enddate
  30499. type: string
  30500. - description: 最近多少条记录(按交易日倒序)
  30501. in: query
  30502. name: lastnum
  30503. type: integer
  30504. - description: 是否今日
  30505. in: query
  30506. name: istoday
  30507. type: boolean
  30508. produces:
  30509. - application/json
  30510. responses:
  30511. "200":
  30512. description: OK
  30513. schema:
  30514. items:
  30515. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  30516. type: array
  30517. "500":
  30518. description: Internal Server Error
  30519. schema:
  30520. $ref: '#/definitions/app.Response'
  30521. security:
  30522. - ApiKeyAuth: []
  30523. summary: 查询价格走势
  30524. tags:
  30525. - 仓单贸易v2
  30526. /WrTrade2/QueryWrScfContract:
  30527. get:
  30528. parameters:
  30529. - description: 用户id
  30530. in: query
  30531. name: userid
  30532. required: true
  30533. type: integer
  30534. - description: 融资合同id
  30535. in: query
  30536. name: scfcontractid
  30537. type: integer
  30538. produces:
  30539. - application/json
  30540. responses:
  30541. "200":
  30542. description: OK
  30543. schema:
  30544. items:
  30545. $ref: '#/definitions/models.WrScfContract'
  30546. type: array
  30547. "500":
  30548. description: Internal Server Error
  30549. schema:
  30550. $ref: '#/definitions/app.Response'
  30551. security:
  30552. - ApiKeyAuth: []
  30553. summary: 查询仓单贸易融资合同
  30554. tags:
  30555. - 仓单贸易v2
  30556. /WrTrade2/QueryWrScfContractInterest:
  30557. get:
  30558. parameters:
  30559. - description: 融资合同id
  30560. in: query
  30561. name: scfcontractid
  30562. type: integer
  30563. produces:
  30564. - application/json
  30565. responses:
  30566. "200":
  30567. description: OK
  30568. schema:
  30569. items:
  30570. $ref: '#/definitions/models.WrScfContractInterest'
  30571. type: array
  30572. "500":
  30573. description: Internal Server Error
  30574. schema:
  30575. $ref: '#/definitions/app.Response'
  30576. security:
  30577. - ApiKeyAuth: []
  30578. summary: 查询融资合同费用明细
  30579. tags:
  30580. - 仓单贸易v2
  30581. /WrTrade2/QueryWrSearchUser:
  30582. get:
  30583. parameters:
  30584. - description: 用户名称(模糊匹配)
  30585. in: query
  30586. name: username
  30587. required: true
  30588. type: string
  30589. produces:
  30590. - application/json
  30591. responses:
  30592. "200":
  30593. description: OK
  30594. schema:
  30595. items:
  30596. $ref: '#/definitions/models.WrSearchUser'
  30597. type: array
  30598. "500":
  30599. description: Internal Server Error
  30600. schema:
  30601. $ref: '#/definitions/app.Response'
  30602. security:
  30603. - ApiKeyAuth: []
  30604. summary: 查询用户
  30605. tags:
  30606. - 仓单贸易v2
  30607. /WrTrade2/QueryWrSpecialMatchOrder:
  30608. get:
  30609. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  30610. parameters:
  30611. - description: 页码
  30612. in: query
  30613. name: page
  30614. type: integer
  30615. - description: 每页条数
  30616. in: query
  30617. name: pagesize
  30618. type: integer
  30619. - description: 用户id
  30620. in: query
  30621. name: userid
  30622. required: true
  30623. type: integer
  30624. - description: 仓单贸易市场id
  30625. in: query
  30626. name: marketid
  30627. type: integer
  30628. - description: 0:仓单预售 1:仓单贸易
  30629. in: query
  30630. name: haswr
  30631. required: true
  30632. type: integer
  30633. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  30634. in: query
  30635. name: isspecified
  30636. type: integer
  30637. produces:
  30638. - application/json
  30639. responses:
  30640. "200":
  30641. description: OK
  30642. schema:
  30643. items:
  30644. $ref: '#/definitions/models.WrSpecialMatchOrder'
  30645. type: array
  30646. "500":
  30647. description: Internal Server Error
  30648. schema:
  30649. $ref: '#/definitions/app.Response'
  30650. security:
  30651. - ApiKeyAuth: []
  30652. summary: 查询指定成交
  30653. tags:
  30654. - 仓单贸易v2
  30655. /WrTrade2/QueryWrStandardFactoryItem:
  30656. get:
  30657. parameters:
  30658. - description: 品类id
  30659. in: query
  30660. name: wrstandardid
  30661. required: true
  30662. type: integer
  30663. produces:
  30664. - application/json
  30665. responses:
  30666. "200":
  30667. description: OK
  30668. schema:
  30669. items:
  30670. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  30671. type: array
  30672. "500":
  30673. description: Internal Server Error
  30674. schema:
  30675. $ref: '#/definitions/app.Response'
  30676. security:
  30677. - ApiKeyAuth: []
  30678. summary: 查询品类要素定义项
  30679. tags:
  30680. - 仓单贸易v2
  30681. /WrTrade2/QueryWrTradeBargainApply:
  30682. get:
  30683. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  30684. 议价->对方议价 填写matchuserid=登录用户id
  30685. parameters:
  30686. - description: 议价人id(摘牌方)
  30687. in: query
  30688. name: userid
  30689. type: integer
  30690. - description: 挂牌方id(查对方议价时,填写此项)
  30691. in: query
  30692. name: matchuserid
  30693. type: integer
  30694. - description: 关联委托单id
  30695. in: query
  30696. name: wrtradeorderid
  30697. type: integer
  30698. - description: 0:仓单预售 1:仓单贸易
  30699. in: query
  30700. name: haswr
  30701. required: true
  30702. type: integer
  30703. - description: 开始交易日(yyyymmdd)
  30704. in: query
  30705. name: begindate
  30706. type: string
  30707. - description: 结束交易日(yyyymmdd)
  30708. in: query
  30709. name: enddate
  30710. type: string
  30711. produces:
  30712. - application/json
  30713. responses:
  30714. "200":
  30715. description: OK
  30716. schema:
  30717. items:
  30718. $ref: '#/definitions/models.WRTradeBargainApply'
  30719. type: array
  30720. "500":
  30721. description: Internal Server Error
  30722. schema:
  30723. $ref: '#/definitions/app.Response'
  30724. security:
  30725. - ApiKeyAuth: []
  30726. summary: 查询议价单
  30727. tags:
  30728. - 仓单贸易v2
  30729. /WrTrade2/QueryWrTradeDetail:
  30730. get:
  30731. parameters:
  30732. - description: 页码
  30733. in: query
  30734. name: page
  30735. type: integer
  30736. - description: 每页条数
  30737. in: query
  30738. name: pagesize
  30739. type: integer
  30740. - description: 用户id
  30741. in: query
  30742. name: userid
  30743. required: true
  30744. type: integer
  30745. - description: 仓单贸易市场id
  30746. in: query
  30747. name: marketid
  30748. type: integer
  30749. - description: 0:仓单预售 1:仓单贸易
  30750. in: query
  30751. name: haswr
  30752. required: true
  30753. type: integer
  30754. - description: 开始交易日(yyyymmdd)
  30755. in: query
  30756. name: begindate
  30757. type: string
  30758. - description: 结束交易日(yyyymmdd)
  30759. in: query
  30760. name: enddate
  30761. type: string
  30762. produces:
  30763. - application/json
  30764. responses:
  30765. "200":
  30766. description: OK
  30767. schema:
  30768. items:
  30769. $ref: '#/definitions/models.WrTradeDetail'
  30770. type: array
  30771. "500":
  30772. description: Internal Server Error
  30773. schema:
  30774. $ref: '#/definitions/app.Response'
  30775. security:
  30776. - ApiKeyAuth: []
  30777. summary: 查询仓单成交明细
  30778. tags:
  30779. - 仓单贸易v2
  30780. /WrTrade2/QueryWrTradeOrderDetail:
  30781. get:
  30782. parameters:
  30783. - description: 页码
  30784. in: query
  30785. name: page
  30786. type: integer
  30787. - description: 每页条数
  30788. in: query
  30789. name: pagesize
  30790. type: integer
  30791. - description: 商品id
  30792. in: query
  30793. name: goodsid
  30794. required: true
  30795. type: integer
  30796. - description: 买卖方向 0-买 1-卖
  30797. in: query
  30798. name: buyorsell
  30799. required: true
  30800. type: integer
  30801. produces:
  30802. - application/json
  30803. responses:
  30804. "200":
  30805. description: OK
  30806. schema:
  30807. items:
  30808. $ref: '#/definitions/models.WrTradeOrderDetail'
  30809. type: array
  30810. "500":
  30811. description: Internal Server Error
  30812. schema:
  30813. $ref: '#/definitions/app.Response'
  30814. security:
  30815. - ApiKeyAuth: []
  30816. summary: 查询合约交易买卖大厅
  30817. tags:
  30818. - 仓单贸易v2
  30819. /WrTrade2/QueryWrUserFriend:
  30820. get:
  30821. parameters:
  30822. - description: 用户id
  30823. in: query
  30824. name: userid
  30825. required: true
  30826. type: integer
  30827. - description: 新朋友userid, 如果填写了此项则查找新朋友
  30828. in: query
  30829. name: newuserid
  30830. type: integer
  30831. produces:
  30832. - application/json
  30833. responses:
  30834. "200":
  30835. description: OK
  30836. schema:
  30837. items:
  30838. $ref: '#/definitions/models.WrUserFriend'
  30839. type: array
  30840. "500":
  30841. description: Internal Server Error
  30842. schema:
  30843. $ref: '#/definitions/app.Response'
  30844. security:
  30845. - ApiKeyAuth: []
  30846. summary: 查询我的朋友
  30847. tags:
  30848. - 仓单贸易v2
  30849. /WrTrade2/QueryWrUserReceiptInfo:
  30850. get:
  30851. parameters:
  30852. - description: 用户id
  30853. in: query
  30854. name: userid
  30855. type: integer
  30856. - description: 发票类型 - 1:个人 2:企业
  30857. in: query
  30858. name: receipttype
  30859. type: integer
  30860. produces:
  30861. - application/json
  30862. responses:
  30863. "200":
  30864. description: OK
  30865. schema:
  30866. items:
  30867. $ref: '#/definitions/models.WrUserReceiptInfo'
  30868. type: array
  30869. "500":
  30870. description: Internal Server Error
  30871. schema:
  30872. $ref: '#/definitions/app.Response'
  30873. security:
  30874. - ApiKeyAuth: []
  30875. summary: 查询发票信息
  30876. tags:
  30877. - 仓单贸易v2
  30878. /WrTrade2/QueryXhcpSellBackApply:
  30879. get:
  30880. parameters:
  30881. - description: 用户ID
  30882. in: query
  30883. name: userid
  30884. required: true
  30885. type: integer
  30886. produces:
  30887. - application/json
  30888. responses:
  30889. "200":
  30890. description: OK
  30891. schema:
  30892. items:
  30893. $ref: '#/definitions/models.Xhcpsellbackapply'
  30894. type: array
  30895. "500":
  30896. description: Internal Server Error
  30897. schema:
  30898. $ref: '#/definitions/app.Response'
  30899. security:
  30900. - ApiKeyAuth: []
  30901. summary: 查询我的回收申请(新会陈皮)
  30902. tags:
  30903. - 仓单贸易v2
  30904. /ZJ/GetBankTip:
  30905. get:
  30906. produces:
  30907. - application/json
  30908. responses:
  30909. "200":
  30910. description: OK
  30911. schema:
  30912. type: string
  30913. "500":
  30914. description: Internal Server Error
  30915. schema:
  30916. $ref: '#/definitions/app.Response'
  30917. summary: 获取中江网银端出入金提示信息
  30918. tags:
  30919. - 中江
  30920. /ZJ/GetCusBankChannels:
  30921. get:
  30922. produces:
  30923. - application/json
  30924. responses:
  30925. "200":
  30926. description: OK
  30927. schema:
  30928. items:
  30929. type: string
  30930. type: array
  30931. "500":
  30932. description: Internal Server Error
  30933. schema:
  30934. $ref: '#/definitions/app.Response'
  30935. summary: 获取中江出入金渠道显示列表
  30936. tags:
  30937. - 中江
  30938. securityDefinitions:
  30939. ApiKeyAuth:
  30940. in: header
  30941. name: Authorization
  30942. type: apiKey
  30943. swagger: "2.0"